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
Divya Jagadish
02665faa9f
Move locks to their own DB collection
2023-10-08 12:14:06 -07: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 Abdulla
25ea0c8b64
Update dependencies
2022-08-22 09:44:25 -07:00
Zaid Abdulla
5806fe2df6
Better locking in local cache
...
Fixes occassional lock expired errors after updating presets, etc.
2022-08-12 01:11:04 -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
f4692faed6
Update MongoDB driver
2021-09-16 00:17:19 -07:00
Zaid Abdulla
d787f66e3f
Reimplement locking w/o relying on hostInfo cmd
...
Because the hostInfo MongoDB command may not be allowed in some
environments. Also, in sharded deployments the clock skew may differ
between different shards so using hostInfo is not enough. This new
implementation simply assumes the clocks are in sync within a certain
range and throws an error if clocks are found to be out of sync.
2020-11-18 15:06:49 -08:00
Zaid Abdulla
a9b0e3a1f7
Use a single MongoDB client
2020-11-18 00:01:41 -08: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
Shweelan Samson
fd34dd8839
Return null in case of expired cache
2019-08-19 15:28:46 -07:00
Zaid Abdulla
9d95e57d89
Update copyright notice headers
2019-06-05 00:17:36 -07:00
Zaid Abdulla
c3501debd5
Async/await let's go!
2019-06-05 00:17:36 -07:00
Zaid Abdulla
5d3c81cb23
TypeScript!
2019-02-20 03:36:52 -08:00