Zaid Abdulla
6cbd59c6ec
Implement CASE operator
...
This also modifies the behavior of AND/OR operators to strictly return
true/false/null whereas previously they could return the value of the
first truthy/false operand. The purpose of this change is to maintain
expression equivalency before and after minimization.
2020-08-15 14:07:45 -07:00
Zaid Abdulla
e3ef177842
Update MongoDB driver
2020-08-11 23:33:59 -07:00
Zaid Abdulla
00ccf99be6
Minimize store queries
2020-07-29 02:31:31 -07:00
Zaid Abdulla
ac980116bd
Update ESLint and Prettier
2020-07-27 20:30:13 -07:00
Zaid Abdulla
c2c24f5c24
Respect SPV related config in alias declarations
2020-06-30 11:09:58 -07:00
Zaid Abdulla
e516d5338c
Reject param paths containing empty segments
2020-03-13 18:30:53 -07:00
Zaid Abdulla
41f3987db4
Delete code that shouldn't have been checked in
2020-02-10 13:04:19 -08:00
Zaid Abdulla
65bf6d7d6e
Fix bug if fault occurs in precondition stage
2020-02-09 21:39:45 -08:00
Zaid Abdulla
603f5c79ac
Support Forwarded header
2019-12-29 14:50:08 -08:00
Zaid Abdulla
e80109de93
Process inform message before authentication
...
This allows the authentication expression to read events and other
parameters.
2019-12-24 10:47:37 -08:00
Zaid Abdulla
ce955e34c1
Allow PUT to overwrite existing files
2019-12-16 16:05:43 -08:00
Zaid Abdulla
1e6bb5f450
Add parse() and UTC() to SandboxDate
2019-12-12 10:28:45 -08:00
Zaid Abdulla
f301d70339
Use session timestamp when evaluating preconditions
2019-12-06 12:54:35 -08:00
Zaid Abdulla
feb3d7f244
Fix regression from a previous commit
2019-12-03 20:02:00 -08:00
Zaid Abdulla
dd907a67b0
Add types in local-cache.ts
2019-12-03 14:20:34 -08:00
Zaid Abdulla
37d8222479
Memoize authorizer object
2019-12-03 14:11:07 -08:00
Zaid Abdulla
a915b581cc
Use configContextCallback for preconditions
2019-12-03 14:03:46 -08:00
Zaid Abdulla
add4c84132
Expose all device params to config expressions
2019-11-27 17:00:03 -08:00
Zaid Abdulla
f786be7493
Fix deferred declarations in vparams
2019-11-24 12:59:12 -08:00
Zaid Abdulla
07a5c96e2a
Don't throw error if ping fails
2019-11-23 12:36:12 -08:00
Zaid Abdulla
612563f171
Fix regression in timeoutOperations
2019-11-19 13:13:25 -08:00
Zaid Abdulla
27fb235d20
IS NULL should check on value attribute
2019-11-13 19:07:42 -08:00
Zaid Abdulla
140acaa491
Remove libxmljs dependency
2019-11-07 22:45:32 -08:00
Zaid Abdulla
765f0be7bc
Fix download task object validation
2019-10-31 16:10:47 -07:00
Zaid Abdulla
ab27ebfaef
Fix bug in mongoQueryToFilter
2019-10-29 13:01:47 -07:00
Zaid Abdulla
f135be403c
Tag object should not be writable
2019-10-28 19:10:43 -07:00
Zaid Abdulla
c07f57af1f
Missed something in previous commit
2019-10-28 19:08:50 -07:00
Zaid Abdulla
df5e4cf454
Check against invalid args in default provisions
2019-10-28 18:07:33 -07:00
Zaid Abdulla
85b5e12c94
Use alphanumeric characters for con req password
2019-10-24 17:45:39 -07:00
Zaid Abdulla
8533ee7f2e
UI authentication improvements
2019-10-24 17:43:24 -07:00
Zaid Abdulla
77563fc85e
Move ping code to own file
2019-10-21 22:58:22 -07:00
Mirek Laus
0e02b7c7ea
Fix ping on FreeBSD
2019-10-21 22:58:12 -07:00
Zaid Abdulla
306015f022
Fix permission filter not being applied
2019-10-11 12:41:35 -07:00
Zaid Abdulla
20857549d0
Fix download URL when SSL is enabled
2019-10-11 11:58:20 -07:00
gothosting
5c6d85025c
Missed "/" from line 47 for genieacs-ext path
...
I omitted the "/" on the initial commit for the SPAWN error on extensions
2019-10-09 14:30:17 -07:00
Zaid Abdulla
209c0f7620
Fix remoteAddress workaround
...
Tree shaking removed the remoteAddress workaround because property access
should have no side effect. This change prevents that.
2019-09-23 22:12:32 -07:00
Zaid Abdulla
559aa0fd36
Fix filter by tag
2019-09-23 22:02:20 -07:00
Zaid Abdulla
ed0aa8ae7a
Fix process shutdown issues
2019-09-23 16:03:08 -07:00
Zaid Abdulla
5b5346f858
Add missing event code in bootstrap preset
2019-09-12 12:34:01 -07:00
Zaid Abdulla
f57bcae70c
Fix regression in GPN heuristic
2019-09-12 11:16:42 -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
b5efe6c578
Fix session.serialize bug
2019-09-05 17:16:21 -07:00
Shweelan Samson
fd34dd8839
Return null in case of expired cache
2019-08-19 15:28:46 -07:00
Zaid Abdulla
17889cf41c
Fix typo in config option name
2019-08-15 17:41:28 -07:00
Gareth Bow
78eec1b5ca
Fix spawn bin/genieacs-ext
2019-08-13 09:21:05 -07:00
Zaid Abdulla
59cd930b6c
Support more charsets using iconv-lite
2019-08-04 12:40:02 -07:00
Zaid Abdulla
db3736e60b
Fix exception when logging XML parse errors
2019-08-04 12:33:48 -07:00
Zaid Abdulla
58b3e13ecd
Update dependencies
2019-07-29 23:59:41 -07:00
Zaid Abdulla
4aa525754f
Allow setting params having non-standard type
2019-07-27 20:27:41 -07:00