Zaid Humaimidi
0dee9a5f00
Remove license headers and update imports
2023-12-18 19:13:59 -08:00
Zaid Humaimidi
0c9c027a77
Update linting
2023-12-16 19:08:13 -08:00
Zaid Humaimidi
342210faf1
Utilize locks to prevent certain edge case issues
2023-12-06 11:10:23 -08:00
Zaid Humaimidi
c3954c277f
Refactor db and local-cache code
...
Separated cwmp and ui code into distinct files to enhance clarity and
maintainability with varied internal data representations.
2023-09-29 14:55:44 -07:00
Zaid Humaimidi
39bb937f9d
Fix oversight in commit 58488eb
2023-08-29 12:20:53 -07:00
Zaid Humaimidi
58488ebc3d
Refactor DB code to use promises
2023-08-09 19:51:38 -07:00
Zaid Humaimidi
3169e829e7
Refactor expression to Mongo query translation
...
The previous approach was simplistic and could result in inefficient queries
in certain edge cases, notably causing MongoDB to not utilize existing indexes
when querying by last inform timestamps given upper and lower bounds. The new
implementation leverages our existing expression minimizer code and can
therefore generate more efficient queries or at least queries that can take
advantage of existing indexes.
2023-08-09 19:48:49 -07:00
Zaid Abdulla
d1c01e0848
Fix FS drops connection if download is too slow
...
Only happens in HTTPS because seemingly somewhere in the stack up to
50mb of data is being buffered potentially triggering a timeout at a
higher level if not drained fast enough.
This commit also includes other streams related improvements.
2022-11-01 09:13:36 -07:00
Zaid Abdulla
25ea0c8b64
Update dependencies
2022-08-22 09:44:25 -07:00
Divya Jagadish
7ccdbace70
Authenticate ping API
2022-04-08 12:59:32 -07:00
Zaid Abdulla
4b533d0aad
Fix issues caused by invalid xsd:dateTime values
...
Invalid dateTime strings were saved in the DB as NaN causing uncaught
exception in CSV download.
2022-03-11 11:42:10 -08:00
Zaid Abdulla
2b37f11e2e
Clean up MongoDB query projection
...
This prevents potential 'path collision' errors from MongoDB.
2022-02-17 18:14:53 -08:00
Zaid Abdulla
adaf801d6e
Stream query results as they become available
2021-11-29 23:36:27 -08:00
Zaid Abdulla
2c606b268e
Update dependencies
2021-10-27 13:04:34 -07:00
Zaid Abdulla
9706026ea5
Update Prettier
2021-09-16 13:27:37 -07:00
Zaid Abdulla
c3c7ab72b2
Utilize ?. operator and set TypeScript target
2021-09-16 13:27:37 -07:00
Zaid Abdulla
595f0eddf1
Fix deprecations
2021-09-16 00:17:21 -07:00
Zaid Abdulla
f4692faed6
Update MongoDB driver
2021-09-16 00:17:19 -07:00
Zaid Abdulla
359eca7bbc
Fix upload metadata missing when behind nginx
2021-08-11 13:08:27 -07:00
Zaid Abdulla
139dc5410e
Don't crash when ping result can't be parsed
2021-04-01 18:54:44 -07:00
Zaid Abdulla
8f69b74a89
Update dependencies
2021-02-24 22:37:13 -08:00
Zaid Abdulla
540898de21
Add file download link in files page
2021-02-08 15:02:40 -08:00
Zaid Abdulla
2e32b5d2a6
Serialize fault detail property in CSV to YAML
2021-02-02 16:53:22 -08:00
Zaid Abdulla
97ed9797c5
Display timestamps in CSV as ISO string
2021-02-01 13:02:42 -08:00
Zaid Abdulla
1e6ab38ede
Display xsd:dateTime types as ISO string
2021-01-31 11:39:02 -08:00
Zaid Abdulla
6cca59c666
Better syntax error message when saving script
2021-01-24 14:17:31 -08:00
Zaid Abdulla
bded263adf
Refactor HTTP connection requests
2020-12-04 15:33:35 -08:00
Zaid Abdulla
fa1e40e370
Read session lock to detect task completion
2020-11-30 18:11:51 -08:00
Zaid Abdulla
a9b0e3a1f7
Use a single MongoDB client
2020-11-18 00:01:41 -08:00
Zaid Abdulla
e64001cddc
Accept primitive expressions in filter component
2020-11-16 15:20:48 -08:00
Zaid Abdulla
36798cfb5f
Fix confusing 404 for unauthorized requests
2020-10-24 10:24:19 -07:00
Zaid Abdulla
c52ff6f6ec
Support Unicode characters in tags
2020-10-20 15:44:11 -07:00
Zaid Abdulla
5bb6f60c4d
Update dependencies and fix new lint errors
2020-10-02 23:21:07 -07:00
Zaid Abdulla
0b60406b43
Add lint rule for unhandled promise rejections
2020-09-08 17:33:48 -07:00
Zaid Abdulla
dd9cd01681
Fix querying faults in UI showing no results
2020-09-08 00:11:14 -07:00
Zaid Abdulla
bf9517c652
Implement support for Get/SetParameterAttributes
2020-08-17 19:21:13 -07:00
Zaid Abdulla
6cbd59c6ec
Implement CASE operator
...
This also modifies the behavior of AND/OR operators to strictly return
true/false/null whereas previously they could return the value of the
first truthy/false operand. The purpose of this change is to maintain
expression equivalency before and after minimization.
2020-08-15 14:07:45 -07:00
Zaid Abdulla
e3ef177842
Update MongoDB driver
2020-08-11 23:33:59 -07:00
Zaid Abdulla
ac980116bd
Update ESLint and Prettier
2020-07-27 20:30:13 -07:00
Zaid Abdulla
ce955e34c1
Allow PUT to overwrite existing files
2019-12-16 16:05:43 -08:00
Zaid Abdulla
add4c84132
Expose all device params to config expressions
2019-11-27 17:00:03 -08:00
Zaid Abdulla
8533ee7f2e
UI authentication improvements
2019-10-24 17:43:24 -07:00
Zaid Abdulla
77563fc85e
Move ping code to own file
2019-10-21 22:58:22 -07:00
Mirek Laus
0e02b7c7ea
Fix ping on FreeBSD
2019-10-21 22:58:12 -07:00
Zaid Abdulla
306015f022
Fix permission filter not being applied
2019-10-11 12:41:35 -07:00
Zaid Abdulla
ed0aa8ae7a
Fix process shutdown issues
2019-09-23 16:03:08 -07:00
Zaid Abdulla
9d95e57d89
Update copyright notice headers
2019-06-05 00:17:36 -07:00
Zaid Abdulla
f5ccc2f707
Update TypeScript
2019-06-05 00:17:36 -07:00
Zaid Abdulla
bacf4c27f5
Don't reuse task ID
2019-06-05 00:17:36 -07:00
Zaid Abdulla
63876025d2
Maintain types for memoized functions
2019-06-05 00:17:36 -07:00