Zaid Abdulla
52bec5b46f
Add config option for max commit iterations
2018-03-24 00:41:17 -07:00
Zaid Abdulla
bbe4def5cf
No Basic auth for connection requests by default
...
A fix for a security vulnerability reported by Maximilian Hils.
2018-01-11 06:20:25 -08:00
Zaid Abdulla
ec57131d51
Log only non-default config
2017-11-12 13:01:39 -08:00
Zaid Abdulla
6bfe590b0d
Config to use 1/0 for booleans
2017-11-12 12:56:41 -08:00
Zaid Abdulla
f7c1857b6a
Config to strip milliseconds from dateTime
2017-11-12 12:29:18 -08:00
Zaid Abdulla
b2c5f5ecc9
Handle overload spikes gracefully
2017-09-16 22:43:17 -07:00
Zaid Abdulla
b38b3cf5ab
Default to using Mongo for caching
...
Stress testing shows that after the recent caching optimization there
seems to be no significant difference in performance when using Mongo
for caching as opposed to Redis. Redis is still supported but is now
optional.
Also removed hiredis dependency since as of node_redis 2.6 the default
parser is faster than hiredis.
2017-06-01 16:34:42 -07:00
Spencer Lambert
6338f9f07c
Config for UDP connection request port ( #221 )
2017-03-31 11:14:44 -07:00
Zaid Abdulla
e137645286
Update license headers
2017-03-10 16:04:28 -08:00
Zaid Abdulla
7cfafdcd74
Rename config FS_IP to FS_HOSTNAME
2017-03-09 20:50:39 -08:00
Zaid Abdulla
38e83d8544
Rename some config options
...
Original names are still supported for compatibility.
2017-03-07 11:38:56 -08:00
Zaid Abdulla
5aec919a4e
Worker count defaults to CPU core count
2017-02-19 15:06:49 -08:00
Zaid Abdulla
0097a75cab
Better logging
...
Separated log streams for access log (defaults to stdout) and general
log (defaults to stderr). Added support for writing logs to a file.
Improved formatting and added support for JSON formatted logs.
2017-02-19 10:22:50 -08:00
Zaid Abdulla
595c318720
Configurable connection request timeout
2017-02-12 02:37:00 -08:00
Zaid Abdulla
771917a7a6
Clean up old unused code
2017-01-03 21:18:20 -08:00
Zaid Abdulla
7620628e52
New XML config options
...
Removed unnecessary config options and added new ones for configuring
XML output.
2017-01-03 03:18:00 -08:00
Zaid Abdulla
3e4f4b29ab
Read connection request creds from parameters
2017-01-01 00:14:19 -08:00
Zaid Abdulla
9f85ead558
Turn errors from scripts and extensions into faults
2016-12-04 19:04:22 -08:00
Zaid Abdulla
7ac94a5304
Resolve CONFIG_DIR to absolute path
2016-12-04 18:14:35 -08:00
Zaid Abdulla
e0c1245062
Pass config to extensions as env vars
2016-11-30 21:52:48 -08:00
Zaid Abdulla
3d221afc27
Implement support for download RPC
...
This uses special parameters (Downloads.) to trigger file download
making it poossible to use from scripts declaratively.
Resolves : #171
2016-11-30 16:27:01 -08:00
Zaid Abdulla
739d215a92
Improve paramter set and load routines
2016-09-21 17:26:21 -07:00
Zaid Abdulla
de1a62b481
Remove some old code
2016-09-21 16:52:15 -07:00
Zaid Abdulla
c3a956ad27
Remove obsolete code
2016-03-06 04:41:10 +03:00
Zaid Abdulla
70b0dbad29
Added a config option to set Path attribute in Set-Cookie header.
2014-08-07 00:48:05 +03:00
Zaid Abdulla
ee9a35b9b3
Ability to specify per device, per product class, or per oui configuration. Reimplemented Libxmljs options on the new configuration system.
2014-08-06 00:45:24 +03:00
Zaid Abdulla
d68b9d40ea
Configuring XML parsing options readded after it was temporarily removed in recent config restructuring.
2014-08-01 13:17:34 +03:00
Zaid Abdulla
97700eb6c8
Use OUI instead of manufacturer to identify firmware files.
2014-08-01 00:47:01 +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
5d0f398bf7
Using a single connection URL to configure MongoDB connection.
2014-07-28 18:44:36 +03:00
Zaid Abdulla
1c902af363
Wait for connections to MongoDB and redis to be established on startup. Added configuration option to specify redis DB.
2014-07-19 06:54:09 +03:00
Zaid Abdulla
28394af707
Added an option to configure the number of parameters per request in GetParameterValues and SetParameterValues methods.
2014-07-18 23:36:36 +03:00
Zaid Abdulla
a4f1d0dc2a
Added copyright and permission header to source files.
2014-07-12 23:53:01 +03:00
Zaid Abdulla
bb6e963788
Added abilility to fetch parameter names iteratively to work around some devices' memory limitations. The configuration option GET_PARAMETER_NAMES_DEPTH_THRESHOLD specifies the depth of parameters upto which they're fetched iteratively.
2014-07-09 06:59:48 +03:00
Zaid Abdulla
b41e619a89
Storing session data in redis instead of cookies. Closes #10 . Closes #20 .
2014-06-30 02:35:22 +03:00
Zaid Abdulla
82b02ff175
Added config options to be passed to libxmljs when parsing request XML. Fixes #15 .
2014-06-13 13:01:16 +03:00
Zaid Abdulla
de0774edeb
Added config option (IGNORE_XML_NAMESPACES) to make XML traversal using element local names only as a workaroud for XML namespace issues in some devices. Fixes #7 .
2014-05-10 16:22:40 +03:00
Zaid Abdulla
236a0241ba
Better file structure and naming
2014-03-09 19:59:34 +03:00