Zaid Abdulla
75b10bb528
Fix crash in session.deserialize
...
Resolves #243
2017-07-04 02:26:00 -07:00
Zaid Abdulla
f444ff753c
Optimize loadPath function
2017-06-30 05:12:31 -07:00
Zaid Abdulla
9dd6980da2
Further fixes related to the previous commit
2017-06-30 03:55:50 -07:00
Zaid Abdulla
ec1360217b
Some fixes on fetchDevice function
...
Includes a fix for issue where timestamp for nonexisting root params is
not reported which can result in an unnecessary GPN request.
2017-06-27 01:06:02 -07:00
Zaid Abdulla
8743cebb01
Fix add_object preset ignoring non-key params
2017-06-26 00:51:53 -07:00
Zaid Abdulla
ae4526defe
Fix expired tasks not getting deleted
2017-06-20 13:54:42 -07:00
Zaid Abdulla
2cba450128
Fix issue causing unnecessary GPN requests
2017-06-16 12:14:00 -07:00
Zaid Abdulla
b9fd78390f
Fix repeating root GPN requests bug
2017-06-16 12:12:28 -07:00
Zaid Abdulla
9787dd2be7
Fix sync state invalidation bug
2017-06-16 12:10:24 -07:00
Zaid Abdulla
defa0c2d41
Fix parameter change tracking bug
2017-06-16 12:07:14 -07:00
Zaid Abdulla
23da93538e
Fix declaration generated from download task
2017-06-16 12:06:43 -07:00
Zaid Abdulla
63b7a27021
Show fault if invalid vparam return value
2017-06-10 22:36:14 -07:00
Zaid Abdulla
a2f70a8e70
Fix fault code and string in CPE fault log
2017-06-10 22:21:47 -07:00
Zaid Abdulla
480ae5efd6
Fix crash when script throws non-error object
2017-06-05 17:13:52 -07:00
Zaid Abdulla
a735f0d9e7
Commit vparam after its declarations are applied
2017-06-05 10:47:00 -07:00
Zaid Abdulla
eb812e9754
Remove unnecessary character from QUERY_REGEX
2017-06-01 17:37:10 -07:00
Zaid Abdulla
330c6fc720
Encode download file name with encodeURI
2017-06-01 16:53:09 -07:00
Zaid Abdulla
3ebc249ffa
Confirm compatibility with Node 8.x
2017-06-01 16:48:21 -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
Zaid Abdulla
b1ed1f4f2f
Fix Device.ID param missing on first contact
2017-05-31 23:08:35 -07:00
Zaid Abdulla
8f5effe84c
Fix broken path when using nested alias params
...
Resolves #236
2017-05-30 16:23:13 -07:00
Zaid Abdulla
4d255acfc6
Consider all object params as keys if none exists
2017-05-18 14:15:15 -07:00
Zaid Abdulla
7fdd04343b
Fix stack overflow when task name not recognized
2017-05-17 19:14:47 -07:00
Zaid Abdulla
30221f1d4e
Don't attempt to cache sessions after exception
2017-05-17 19:13:43 -07:00
Zaid Abdulla
729a4dc6ae
Generate download requests before reboot
2017-05-14 18:03:48 -07:00
Zaid Abdulla
87007e20c6
Fix no GPN generated for data model root
2017-05-14 17:43:04 -07:00
Zaid Abdulla
549f4f0323
Accept SOAP requests with no cwmp:ID element
...
Resolves #233
2017-05-14 14:34:18 -07:00
Zaid Abdulla
3f72bdd84b
Fix lock timeout bug
2017-05-12 02:43:21 -07:00
Zaid Abdulla
ef8aeda02d
Fix TransferComplete fault not saved
2017-05-11 19:01:23 -07:00
Zaid Abdulla
222f8cd701
Fix exception when Download method faults
2017-05-11 19:01:09 -07:00
Zaid Abdulla
624cf01270
Support caching in MongoDB instead of Redis
2017-05-08 10:44:42 -07:00
Zaid Abdulla
c6328ce2f4
Avoid unnecessary increment of iteration
2017-05-07 23:50:36 -07:00
Zaid Abdulla
5ab49014b0
Pass current attribute values to vparam scripts
2017-05-01 11:15:30 -07:00
Zaid Abdulla
c43933225b
Use args variable in vparam scripts
2017-05-01 11:11:28 -07:00
Zaid Abdulla
4ef216679d
Fix vparam set declarations being ignored
2017-05-01 11:09:46 -07:00
Zaid Abdulla
ca2cce8ab6
Fix exception when adding and removing tags
...
Only happens if adding and removing tags within the same session.
Resolves : #229
2017-04-21 15:05:08 -07:00
Zaid Abdulla
c58f93aeb2
Fix exception when using default provisions
2017-04-19 23:25:57 -07:00
Zaid Abdulla
7e7a2032bb
Missing err arg in insertTasks callback
2017-04-12 11:33:09 -07:00
Zaid Abdulla
0d9ca3486b
Gracefully handle invalid dateTime param values
2017-04-12 11:03:28 -07:00
Zaid Abdulla
dc5c12c8ce
Fix bug where values of vparams get mixed up
2017-04-10 15:26:44 -07:00
Zaid Abdulla
09b3d7cb1c
Fix missing log details
2017-03-31 11:49:07 -07:00
Zaid Abdulla
84e79bda9e
Fix bug in testing preconditions and events
...
The bug occurs when the session was serialized and deserialized as a
result of requests coming through a new TCP connection.
Resolves : #219
2017-03-29 17:28:42 -07:00
Zaid Abdulla
00aacd212b
Fix bug in sandbox's Math.random()
2017-03-23 15:59:33 -07:00
Zaid Abdulla
843d183045
1.1.1
2017-03-23 00:41:32 -07:00
Zaid Abdulla
1cf455540a
Update CHANGELOG
2017-03-23 00:41:00 -07:00
Zaid Abdulla
29d6f5b9d0
Parse datetime string in testFilter
2017-03-22 15:35:40 -07:00
Zaid Abdulla
f639435a09
Missing convert Date to timestamp in fetchDevice
2017-03-22 04:08:08 -07:00
Zaid Abdulla
9db29bb55d
Translate special fields in precondition filter
2017-03-21 15:28:37 -07:00
Zaid Abdulla
48f861a6a5
Fix value parsing issue from last commit
2017-03-20 00:15:44 -07:00
Zaid Abdulla
1a5fd65f4e
Show warning when failing to parse attributes
2017-03-18 22:20:17 -07:00
Zaid Abdulla
475e3fffbe
Fix bug discovering params if path timestamp is 1
2017-03-17 16:14:27 -07:00
Zaid Abdulla
3a178a5744
Avoid crash when missing connection request creds
2017-03-15 16:25:44 -07:00
Zaid Abdulla
ceeb213899
Fix bug declaring instances using wildcard
2017-03-14 22:55:02 -07:00
Zaid Abdulla
38db068c29
Add missing "Registered" event
2017-03-13 13:51:50 -07:00
Zaid Abdulla
6f45042c52
1.1.0
2017-03-10 16:43:45 -08:00
Zaid Abdulla
c7136cbedd
Add CHANGELOG
2017-03-10 16:42:27 -08:00
Zaid Abdulla
d1ef1ae817
Remove development branch warning
2017-03-10 16:33:13 -08:00
Zaid Abdulla
8aeda16b3b
Update README
2017-03-10 16:31:53 -08:00
Zaid Abdulla
233a1bf903
Update dependencies
2017-03-10 16:07:56 -08:00
Zaid Abdulla
e137645286
Update license headers
2017-03-10 16:04:28 -08:00
Zaid Abdulla
366fb2adf0
Remove RequestDownload from GetRPCMethodsResponse
...
Because RequestDownload method is no longer supported.
2017-03-10 15:03:24 -08:00
Zaid Abdulla
7cfafdcd74
Rename config FS_IP to FS_HOSTNAME
2017-03-09 20:50:39 -08:00
Zaid Abdulla
0014af5bd0
Update auth-sample.js
2017-03-09 20:42:06 -08:00
Zaid Abdulla
2e7fb3d40d
Fix bug where GPV is sent with no parameters
2017-03-08 16:07:56 -08:00
Zaid Abdulla
e6b717ef1b
Remove old genie_auth.pl bash script
2017-03-08 01:46:52 -08:00
Zaid Abdulla
ac9cb818ae
Update .gitignore and .npmignore
2017-03-08 01:38:25 -08:00
Zaid Abdulla
acaebc729c
Recognize _instance DB field from v1.0
2017-03-07 21:39:42 -08:00
Zaid Abdulla
9199691903
Add sample extension
2017-03-07 15:33:45 -08:00
Zaid Abdulla
21816ed8ef
Fix duplicate logs from scripts when ext is used
2017-03-07 15:08:23 -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
848894d3e3
Fix sneaky bug causing declaration leakage
...
Resolves : #211
2017-03-04 06:03:38 -08:00
Zaid Abdulla
0788b93350
Simplify implementation of auth header parsing
2017-03-04 01:38:32 -08:00
Zaid Abdulla
ab26ff2058
Fix a few digest authentication issues
...
Resolves : #181
2017-03-02 13:01:17 -08:00
Zaid Abdulla
d06d59e342
Fix regression bug in sandbox
2017-03-02 12:56:25 -08:00
Zaid Abdulla
a9c8bbe21b
Fix crash if invalid UDPConnectionRequestAddress
2017-02-26 17:11:10 -08:00
Zaid Abdulla
cf01cce443
Fix bug when calling commit before declare
2017-02-26 15:18:17 -08:00
Zaid Abdulla
c435a5e8db
Add logging function for scripts
2017-02-26 15:13:00 -08:00
Zaid Abdulla
d92ca4c2bf
Pass sessionContext to sandbox
2017-02-26 05:34:18 -08:00
Zaid Abdulla
59d412155b
Unify currentRequest and sessionData structures
2017-02-25 16:24:53 -08:00
Zaid Abdulla
bdcb856655
Validate scripts before saving
2017-02-22 16:50:21 -08:00
Zaid Abdulla
b342cfd159
Fix linking sessions to sockets when using SSL
2017-02-22 04:22:26 -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
8a33d6934a
Avoid "Unsupported let compound assignment"
...
This Crankshift bailout reason prevents optimizing add() function.
2017-02-17 01:02:37 -08:00
Zaid Abdulla
2d66da7e9b
Remove deprecated MongoClient connection options
2017-02-15 12:01:42 -08:00
Zaid Abdulla
3223e9733a
Optimize PathSet for V8
...
PathSet.find has been rewritten without using ES6 generators in order
to avoid V8's TurboFan/Crankshift optimization bailout.
2017-02-15 02:19:02 -08:00
Zaid Abdulla
a48984b909
Remove old data migration tool
2017-02-12 13:13:44 -08:00
Zaid Abdulla
d2d1ab0a0d
Silently ignore unrecognized TransferComplete
2017-02-12 12:03:25 -08:00
Zaid Abdulla
396a687fa2
Data model dump tool for genieacs-sim
2017-02-12 11:53:56 -08:00
Zaid Abdulla
1e9aff2fdc
Remove simulator code
...
It's now a separate project: https://github.com/zaidka/genieacs-sim
2017-02-12 11:49:16 -08:00
Zaid Abdulla
595c318720
Configurable connection request timeout
2017-02-12 02:37:00 -08:00
Zaid Abdulla
8e34c6a2f6
Support using a callback in auth.js config file
2017-02-12 02:34:55 -08:00
Zaid Abdulla
340016813c
Implicit timestamp when declare()ing values
2017-01-30 07:35:48 -08:00
Zaid Abdulla
e2fb00c38a
Fix bug in passing provision arguments
2017-01-30 07:33:17 -08:00
Zaid Abdulla
5a5fe0bf19
Fix bug in fetching 1_BOOT event from DB
2017-01-30 07:32:21 -08:00
Zaid Abdulla
cd8d217550
Don't remove nonexisting parameters from tasks
2017-01-17 15:11:08 -08:00
Zaid Abdulla
9dd8b26d53
Fix maximum call stack size exceeded error
2017-01-17 13:13:50 -08:00
Zaid Abdulla
2e40ef8622
Better preset loop detection
...
The RPC and iteration counts are now reset for every cycle.
2017-01-12 23:30:27 -08:00
Zaid Abdulla
310114a500
Some fixes in tasks
2017-01-10 01:54:04 -08:00
Zaid Abdulla
c940bba4a3
Trim exception stack trace in faults
2017-01-06 12:50:59 -08:00