Zaid Abdulla
f6aa444a23
Ignore invalid UDPConnectionRequestAddress
2021-04-17 23:37:40 -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
2ca0caa258
Reimplement foldString without regex
...
Lookbehind in regex is not supported in Safari browsers. This implementation
should be more efficient so why not.
2021-02-26 13:22:58 -08:00
Zaid Abdulla
8f69b74a89
Update dependencies
2021-02-24 22:37:13 -08:00
Zaid Abdulla
fccda8d726
Fix bug in NBI where querying files gives 404
2021-02-23 16:50:28 -08:00
Zaid Abdulla
111cb106d0
Validate task name in API
2021-02-23 13:31:32 -08:00
Zaid Abdulla
02dfe4b554
Show warning when task name not recognized
2021-02-17 17:54:21 -08:00
Zaid Abdulla
4871613c67
Add missing authentication failure logging
2021-02-09 10:37:51 -08:00
Zaid Abdulla
540898de21
Add file download link in files page
2021-02-08 15:02:40 -08:00
Zaid Abdulla
e9a4676f5c
New function ROUND() in expressions
2021-02-07 11:29:44 -08:00
Zaid Abdulla
12197f3b2a
Fault when GPVR doesn't contain expected params
2021-02-05 17:15:21 -08:00
Zaid Abdulla
bdad2f9a32
Implicit fetch of 'writable' attribute
...
The writable attribute may not already be present when attempting to
modify parameters included in the inform message. For other parameters
the writable attrbiute is guarenteed to have already been fetched
during discovery.
2021-02-04 22:54:30 -08:00
Zaid Abdulla
2e32b5d2a6
Serialize fault detail property in CSV to YAML
2021-02-02 16:53:22 -08:00
Zaid Abdulla
51e160560c
Fix handling of 'undefined' in YAML
2021-02-02 16:50:13 -08:00
Zaid Abdulla
a60a212a10
Tweak cache thresholds
2021-02-02 15:32:15 -08:00
Zaid Abdulla
f62a42ada4
Fix edge case bug preventing GPN on root param
2021-02-01 13:05:55 -08:00
Zaid Abdulla
97ed9797c5
Display timestamps in CSV as ISO string
2021-02-01 13:02:42 -08:00
Zaid Abdulla
405f9d6a0f
Fix debug log exception on invalid session
2021-01-31 14:04:13 -08:00
Zaid Abdulla
1e6ab38ede
Display xsd:dateTime types as ISO string
2021-01-31 11:39:02 -08:00
Zaid Abdulla
e3acaf925d
Remove JSBI
...
No longer needed as most browsers have BigInt support now.
2021-01-25 14:44:58 -08:00
Zaid Abdulla
44748e5769
Remove webpack
...
We no longer need webpack to polyfill dynamic imports because the vast
majority of browser now support ES modules and dynamic imports.
2021-01-25 13:16:56 -08:00
Zaid Abdulla
6cca59c666
Better syntax error message when saving script
2021-01-24 14:17:31 -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
cc89fd92d7
New simple implementation for YAML serialization
...
Tiny in size so we don't need to fetch the 80KB yaml package for simple
YAML serializaiton needs in various pages. It's also 8x faster than
yaml package so that's a big plus for debug logging.
2021-01-21 13:03:52 -08:00
Zaid Abdulla
03c3c456eb
Specify compression level for Brotli compression
...
Otherwise the default max quality will be used which is extremely slow.
2021-01-13 14:21:07 -08:00
Zaid Abdulla
a40e4b863b
Pipe stdout/stderr from ext to process log
2021-01-05 12:09:12 -08:00
JonasGhost
5f44f6597c
Fix bug IPv6 ping
2021-01-02 20:29:29 -08:00
Zaid Abdulla
13ff0724e7
Access logging for genieacs-nbi
2020-12-16 10:29:33 -08:00
Zaid Abdulla
d29448e3a7
Fix parsing XML attrs with colon, equal chars
2020-12-08 02:07:34 -08:00
Zaid Abdulla
a91dbe5021
Handle multi-line XML declaration
2020-12-08 02:06:55 -08:00
Zaid Abdulla
63cd8dd2de
Save fault when session terminates unsuccessfully
2020-12-08 00:27:29 -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
30bea8ac57
Save CPE changes in case of session error/timeout
2020-11-19 14:18:05 -08: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
bd55d6f512
Better support for LIKE op in query minimization
2020-11-16 15:23:38 -08:00
Zaid Abdulla
e64001cddc
Accept primitive expressions in filter component
2020-11-16 15:20:48 -08:00
Zaid Abdulla
a43bba2405
Fix deprecations
2020-10-25 23:34:05 -07: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
dfab724515
Add new config cwmp.skipWritableCheck
...
Some CPEs incorrectly report writable parameters as non-writable. This
config option lets us bypass the check and attempt to modify the
parameter even if it reported as read-only.
2020-10-20 13:35:34 -07:00
Zaid Abdulla
4fd919ccfa
Add more XML validations
2020-10-19 13:34:08 -07:00
Zaid Abdulla
62849e8081
Fix connection timeout being set incorrectly
2020-10-18 12:52:01 -07:00
Zaid Abdulla
9f4b421b59
Add Node types to dev dependencies
2020-10-17 20:09:32 -07:00
Zaid Abdulla
44a2fe11ee
Fix invalid expression after minimization
...
In rare edge cases where IS NULL is used the minimization process can
generate an expression that's not equivilant to the original one.
2020-10-16 17:33:29 -07:00
Zaid Abdulla
5bb6f60c4d
Update dependencies and fix new lint errors
2020-10-02 23:21:07 -07:00
Zaid Abdulla
82124d471e
Fix invalid arguments fault in refresh preset
...
Happens when upgrading from v1.1 where genieacs-gui creates refresh
configuration with 'age' passed as a string.
2020-09-23 23:15:00 -07:00
Zaid Abdulla
9286bd6aa0
Fix unhandled promise rejections
2020-09-17 17:00:41 -07:00
Zaid Abdulla
328bfa03e0
Allow refreshObject task on root param
2020-09-15 12:50:02 -07:00