Zaid Abdulla
73baffc3b9
Improve container component
...
Allow passing custom attribute to the HTML element. Implement function
encodeUriComponent for attribute expressions.
2021-10-24 18:14:36 -07:00
Zaid Abdulla
0188ac860b
Handle unsupported ACS methods gracefully
2021-10-15 16:21:08 -07:00
Zaid Abdulla
7f295beeec
Validate host arg passed to ping
...
Fixes remote code execution vulnerability reported by Alex Hordijk.
2021-10-15 16:21:08 -07:00
Zaid Abdulla
2ac536bf8f
Fix ui.pageSize regression
2021-09-22 09:27:11 -07:00
Zaid Abdulla
f63e357b29
Fix synthesized expressions being non-minimal
2021-09-20 12:41:09 -07:00
Zaid Abdulla
ceec3f2cc8
1.2.7
2021-09-18 14:36:19 -07:00
Zaid Abdulla
2b60feb2f4
Changelog for v1.2.7
2021-09-18 14:35:34 -07:00
Zaid Abdulla
9203417686
Fix a couple of regressions in 1.2.6
2021-09-18 14:34:11 -07:00
Zaid Abdulla
8477cd1cfa
1.2.6
2021-09-16 14:25:41 -07:00
Zaid Abdulla
12c958dc03
Changelog for v1.2.6
2021-09-16 14:25:20 -07:00
Zaid Abdulla
fdb81b7a43
Update dependencies
2021-09-16 14:17:39 -07:00
Zaid Abdulla
529386a9b6
Prevent invalid YAML config from bricking the UI
2021-09-16 13:27:37 -07:00
Zaid Abdulla
98698b775c
Update copyright notice in README.md
2021-09-16 13:27:37 -07:00
Zaid Abdulla
9706026ea5
Update Prettier
2021-09-16 13:27:37 -07:00
Zaid Abdulla
9e1d7eca9b
Rename WLAN hosts to LAN hosts in default config
2021-09-16 13:27:37 -07:00
Zaid Abdulla
d48deaaf47
Catch JSON parse exceptions in NBI
2021-09-16 13:27:37 -07:00
Zaid Abdulla
ec770b4e1b
Fix redundant SPV triggered for unknown types
...
Fix issue where declarations against parameters with non-standard value
type trigger an SPV call when the value being declared is a boolean or
a number.
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
ca83704958
Ignore session cookie on Inform
...
Some devices preserve cookies set in a previous session and pass them
on to the next session. The presence of a session cookie in the Inform
request causes an unnecessary DB query and, in some edge cases, an
Invalid Session error.
2021-09-16 13:27:37 -07:00
Zaid Abdulla
bc2d258f9c
Refactor bool exp synthesizer
...
It's now more intelligent about generating IS NULL clauses. For example,
instead of 'LOWER(param) IS NULL' it now generates 'param IS NULL'.
2021-09-16 13:27:37 -07:00
Zaid Abdulla
7ae3bcdc0f
Fix escape char not interpreted in expressions
2021-09-16 00:17:21 -07:00
Zaid Abdulla
53bb4d3552
Fix filters resetting user input on redraw
2021-09-16 00:17:21 -07:00
Zaid Abdulla
595f0eddf1
Fix deprecations
2021-09-16 00:17:21 -07:00
Zaid Abdulla
0861b2db40
Update TypeScript
2021-09-16 00:17:21 -07:00
Zaid Abdulla
f4692faed6
Update MongoDB driver
2021-09-16 00:17:19 -07:00
Zaid Abdulla
cc885e7d04
Update mithril types
2021-08-13 14:36:59 -07:00
Zaid Abdulla
359eca7bbc
Fix upload metadata missing when behind nginx
2021-08-11 13:08:27 -07:00
Zaid Abdulla
088e25cbb0
New config option cwmp.downloadSuccessOnTimeout
...
Workaround for CPEs that neglect to send TransferComplete message after
a successful download.
2021-08-11 12:27:51 -07:00
Zaid Abdulla
1d02893692
Fix repeating downloads if timestamp > now
2021-08-05 01:15:27 -07:00
Zaid Abdulla
da01793ac5
Fix inability to close unsupported preset notif
2021-08-02 14:32:32 -07:00
Zaid Abdulla
cce85e48ed
Fix crash in NBI when device not found
2021-08-02 14:04:06 -07:00
Zaid Abdulla
be90214bf9
Update min Node version in installation guide
2021-08-02 13:14:04 -07:00
Zaid Abdulla
6ce91df127
Display progress bar when uploading file
2021-07-27 14:18:35 -07:00
Zaid Abdulla
1a53a320da
Detect and correct for client side clock skew
2021-07-25 12:48:42 -07:00
Zaid Abdulla
cfe279b511
Tolerate responses with invalid/missing params
2021-07-24 23:18:51 -07:00
Zaid Abdulla
08cfe4171c
Make parsing param paths strict
2021-07-16 13:20:07 -07:00
Zaid Abdulla
6c37e88ab1
Fix crash when CPE sends invalid auth header
2021-07-13 18:45:23 -07:00
Zaid Abdulla
8b27794cc7
Fix crash when passing invalid attrs to declare
2021-07-13 17:00:59 -07:00
Zaid Abdulla
9cf18503ee
Fix exceptions from ext showing as timeout error
2021-07-13 15:34:38 -07:00
Zaid Abdulla
3b36cefbca
Fix UDP conn request promise rejection warning
2021-06-21 18:17:08 -07:00
Zaid Abdulla
02e09dfdab
Add dot to list of encoded chars in tags
2021-06-14 14:06:05 -07:00
Zaid Abdulla
63a75cc765
Fix bug causing lock expired exceptions
2021-06-09 16:32:12 -07:00
Zaid Abdulla
630697a0cb
Ignore UDP connection request errors
2021-04-18 11:24:27 -07:00
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
e4582695b7
1.2.5
2021-03-12 15:36:19 -08:00
Zaid Abdulla
0064c2b951
Changelog for v1.2.5
2021-03-12 15:36:05 -08:00
Zaid Abdulla
47c2d6ee6f
Update dependencies
2021-03-12 15:30:21 -08:00
Zaid Abdulla
f290ce696f
Support custom types for uploaded files
2021-03-12 15:30:13 -08:00
Zaid Abdulla
556424d4d6
Fix missing padding at bottom of page in Chrome
2021-03-12 13:08:45 -08:00
Zaid Abdulla
7e507125c4
Remove --unsafe-perm as it's no longer necessary
2021-03-10 16:56:45 -08: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
478a0af781
1.2.4
2021-02-24 22:46:45 -08:00
Zaid Abdulla
9eab36cd73
Changelog for v1.2.4
2021-02-24 22:45:26 -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
5b17d1b2ca
Shell script to spell check docs
2021-02-23 13:18:40 -08:00
Zaid Abdulla
02dfe4b554
Show warning when task name not recognized
2021-02-17 17:54:21 -08:00
Zaid Abdulla
688811317c
Display spinner animation during loading
2021-02-16 00:09:24 -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
a692dddd50
Remove dump-data-model tool
...
The simulator now accepts CSV files downloaded from the UI.
2021-02-01 14:09:09 -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
995a232387
Use --enable-source-maps in installation guide
2021-01-31 13:22:24 -08:00
Zaid Abdulla
1e6ab38ede
Display xsd:dateTime types as ISO string
2021-01-31 11:39:02 -08:00
Zaid Abdulla
ca36bf1b64
Handle UI component errors gracefully
2021-01-25 16:30:47 -08:00
Zaid Abdulla
79cb0b02d0
Fix jarring outline color
2021-01-25 15:15:32 -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
134ca46dde
Display version number underneath the logo
2021-01-13 14:27:33 -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
edcee33780
Apply Prettier to config and markdown files
2021-01-07 01:29:22 -08:00
Zaid Abdulla
5571ce96b4
Fix exception in ping component
...
The exception happens when ConnectionRequestURL is not a valid URL.
2021-01-06 05:09:09 -08:00
Zaid Abdulla
a40e4b863b
Pipe stdout/stderr from ext to process log
2021-01-05 12:09:12 -08:00
Zaid Abdulla
13ff0724e7
Access logging for genieacs-nbi
2020-12-16 10:29:33 -08:00
Zaid Abdulla
f613ba25c2
Prevent accidentally publishing source to npm
2020-12-11 14:17:33 -08:00
Zaid Abdulla
c950c73e76
Add option to set limit in all-parameters comp.
2020-12-09 18:08:56 -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
60d8dcb682
1.2.3
2020-10-26 23:40:41 -07:00