Zaid Humaimidi
0c9c027a77
Update linting
2023-12-16 19:08:13 -08:00
Zaid Humaimidi
7a142a4c08
Close log streams on process shutdown
2023-11-14 01:41:25 -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
a54b2c8cd6
Handle unhandledRejection events
...
Because in Nodejs 12-14 unhandled rejections don't trigger uncaughtException
event by default so the process doesn't exit in case of errors.
2023-08-09 19:51:40 -07:00
Zaid Humaimidi
7b8a49a7ba
Refactor request listeners to use async functions
2023-08-09 19:51:40 -07:00
Zaid Abdulla
c9a4be0475
Deubg log for HTTP and HTTPS client errors
2021-11-08 12:21:02 -08:00
Zaid Abdulla
7594883404
Cache files to improve genieacs-fs performance
...
This also fixes a memory leak issue when the client disconnects before
completing the download. I suspect the leak had something to do with
using pipe() but I'm not sure if it's a bug in MongoDB driver or that
we were lacking proper error handling. Anyway, the pipe is no longer
leaking :)
2021-01-22 16:20:09 -08:00
Zaid Abdulla
a9b0e3a1f7
Use a single MongoDB client
2020-11-18 00:01:41 -08:00
Zaid Abdulla
6ba67c3fb6
Update dependencies
2020-10-26 23:18:37 -07:00
Zaid Abdulla
62849e8081
Fix connection timeout being set incorrectly
2020-10-18 12:52:01 -07:00
Zaid Abdulla
0b60406b43
Add lint rule for unhandled promise rejections
2020-09-08 17:33:48 -07:00
Zaid Abdulla
ac980116bd
Update ESLint and Prettier
2020-07-27 20:30:13 -07:00
Zaid Abdulla
c66739c420
Send Connection: close header on shut down
2019-11-13 19:06:37 -08:00
Zaid Abdulla
ed0aa8ae7a
Fix process shutdown issues
2019-09-23 16:03:08 -07:00
Zaid Abdulla
1c9aa493c6
Fix occasional exceptions on SIGINT and SIGTERM
2019-09-09 02:14:12 -07:00
Zaid Abdulla
6f0e1d66ce
Remove CWMP_KEEP_ALIVE_TIMEOUT
...
This turned out not to be necessary. Will use SESSION_TIMEOUT for
connection timeout.
2019-09-05 17:18:04 -07:00
Zaid Abdulla
e53717cb6b
Add config for server.keepAliveTimeout
2019-07-25 20:36:29 -07:00
Zaid Abdulla
9d95e57d89
Update copyright notice headers
2019-06-05 00:17:36 -07:00
Zaid Abdulla
faa12537e4
Make config file optional
2019-06-05 00:17:36 -07:00
Shweelan Samson
f21ce3053a
Add support for extionsions in auth expressions
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
f878d828eb
Refactor code to use Path class
2019-02-26 01:38:23 -08:00
Zaid Abdulla
5d3c81cb23
TypeScript!
2019-02-20 03:36:52 -08:00
Zaid Abdulla
14013627e2
Move extension-wrapper to bin
2019-02-04 23:47:54 -08:00
Zaid Abdulla
1e41c72d60
Convert backend code to ES modules
...
Bundling code now with Rollup for its flat bundling and tree shaking
support. Front end code still goes through Webpack for browser support.
2019-02-04 23:47:54 -08:00
Shweelan Samson
1cceba3f8b
Move UI configs to DB
2019-01-16 05:22:14 -08:00
Zaid Abdulla
0b59811924
Build script
...
A build process that generates a package with single executable for each
component.
2019-01-04 01:13:47 -08:00
Zaid Abdulla
2ec8addacc
Add missing var keyword
2016-07-20 08:50:11 +03:00
Zaid Abdulla
32c56f8ff1
Accept configuration from environment variables or command line arguments. Unified cluster and HTTP server code for CWMP, NBI, and FS.
2014-07-31 01:44:53 +03:00
Zaid Abdulla
236a0241ba
Better file structure and naming
2014-03-09 19:59:34 +03:00
Zaid Abdulla
c764fcd316
Added executables for acs, api, and files
2014-02-11 17:19:15 +03:00