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
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
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
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
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
f4692faed6
Update MongoDB driver
2021-09-16 00:17:19 -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
6cca59c666
Better syntax error message when saving script
2021-01-24 14:17:31 -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
c52ff6f6ec
Support Unicode characters in tags
2020-10-20 15:44:11 -07:00
Zaid Abdulla
0b60406b43
Add lint rule for unhandled promise rejections
2020-09-08 17:33:48 -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
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
Shweelan Samson
6c60ce6457
Restrict tags format
2019-06-05 00:17:36 -07:00
Shweelan Samson
83de65f913
Prevent invalid scripts in provisions and vparams
2019-06-05 00:17:36 -07:00
Shweelan Samson
d5b194b9e8
Salt and hash passwords
2019-03-27 02:17:48 -07:00
Shweelan Samson
edadfe54c8
Convert presets preconditions to use expressions
2019-03-06 20:35:41 -08:00
Shweelan Samson
d70263e798
Fix bugs in resources download
...
Fix a bug caused when downloading with smart query filter on. Also
fix a bug in downloading presets.
2019-03-04 16:12:39 -08:00
Shweelan Samson
3b3369a236
Add Permissions and Users pages
2019-03-04 16:12:29 -08:00
Zaid Abdulla
5d3c81cb23
TypeScript!
2019-02-20 03:36:52 -08:00