Zaid Abdulla
7ced8fef3d
Fix bug in set value configuration
2016-04-19 13:18:14 +03:00
Zaid Abdulla
27e9882071
Initial implementation of user extensions
2016-04-19 03:18:48 +03:00
Zaid Abdulla
8ac94474aa
Few fixes in RPC generation routines
2016-04-19 03:07:32 +03:00
Zaid Abdulla
7b18cb3bbf
Virtual parameters
...
Implemented support for user-defined parameters driven by Javascript
code. Renamed scripts collection to provisions.
2016-04-17 18:54:48 +03:00
Zaid Abdulla
359ff44819
Use 1 instead of 0 if no declaration timestamp is given
2016-04-17 18:04:53 +03:00
Zaid Abdulla
3ebab84e56
Fix bug in traverse function in device
2016-04-17 18:02:06 +03:00
Zaid Abdulla
48d9adbaff
Scripting in presets
...
User defined scripts can now be used in presets allowing dynamic values
and complex provisioning workflow.
2016-03-26 02:16:37 +03:00
Zaid Abdulla
1bdfef1537
Fix crash caused by wrong variable name
...
Resolves #137 .
2016-03-07 14:53:01 +03:00
Zaid Abdulla
dff95c3c80
Update dependencies
2016-03-06 06:19:50 +03:00
Zaid Abdulla
c3a956ad27
Remove obsolete code
2016-03-06 04:41:10 +03:00
Zaid Abdulla
19fea2ac72
Use the new session implementation
2016-03-06 04:41:10 +03:00
Zaid Abdulla
5acfa206f2
New session implementation
...
A new implementation of a TR-069 session that takes a declarative
approach and makes use of the new data model functions.
2016-03-06 04:41:10 +03:00
Zaid Abdulla
89e323ae7c
Stand-alone functions to fetch/save parameters
2016-03-06 04:41:10 +03:00
Zaid Abdulla
2012004299
Device data model functions
...
A set of functions for efficiently querying and manipulating a data
structure representing a device. The data structure also holds
declarations which are used to indicate what needs to be synced from
and to the device.
2016-03-06 04:41:10 +03:00
Zaid Abdulla
973e82cf94
Fix alias unpacking bug in queries with $ne operator
2016-03-04 22:01:42 +03:00
Richard Platel
cfc04ee77a
Allow downloads from arbitrary URLS
...
If the download task contains a 'url', instruct the device to download
from that URL instead of genieacs-fs.
2016-02-19 18:45:21 +00:00
Zaid Abdulla
2aaec7bde5
Fix sorting bug in API
2016-01-13 18:14:21 +03:00
Zaid Abdulla
f99cf20580
Fix bug preventing saving of boot and bootstrap timestamps
2016-01-06 22:40:24 +03:00
Zaid Abdulla
1beb872710
Fix bug causing constant refreshing of custom commands
2015-12-20 02:16:13 +03:00
Zaid Abdulla
8051181d8d
Fix custom command not found when specifying different config dir
...
Resolves : #123
2015-12-20 02:16:13 +03:00
Zaid Abdulla
9db05e2c66
Show development branch warning message
2015-11-01 01:17:33 +03:00
Zaid Abdulla
2cf31935bc
Return task object including fault details in case of fault. Return reason for connection request failure.
2015-07-09 22:22:18 +03:00
Zaid Abdulla
907d13606c
Fixed error details not being properly saved in fault property of customCommand tasks.
2015-07-05 03:44:59 +03:00
Zaid Abdulla
1c5b100561
Ensure customCommand init tasks triggered by inform run after any refreshObject task.
2015-07-05 01:40:02 +03:00
Zaid Abdulla
acf63a3fd7
Fixed bug where ordering of key parameters in object definition may affect preset behavior.
2015-07-03 01:42:59 +03:00
Zaid Abdulla
c896dd2010
Fixed the incorrect way used to return error resonses in NBI.
2015-07-01 05:13:20 +03:00
Zaid Abdulla
7882f7d9aa
No longer storing or relying on object instance names as that proved to be unnecessary and can potentially cause unpredictable behavior in certain edge cases.
2015-05-31 03:04:38 +03:00
Zaid Abdulla
d20ee72056
Searching by MAC now works regardless of whether the device's MAC is lower or upper case.
2015-05-30 01:42:56 +03:00
Zaid Abdulla
573d38f44a
Implemented a workaround for certain devices dropping connection after digest authentication challege in connection requests.
2015-05-29 14:22:13 +03:00
Zaid Abdulla
6f595b6fc5
Fixed ability to query tasks collection using task ID. Fixes #68 .
2015-05-26 12:58:12 +03:00
Zaid Abdulla
7c8036d8f3
Fixed bug in addObject task where a given parameter value may be set to all descendant parameters wth the same name.
2015-05-26 00:45:04 +03:00
Zaid Abdulla
2bff1cd3fd
Support nested parameters in object configurations in presets.
2015-05-25 11:34:35 +03:00
Dan Morphis
618a24112f
Set the status code to 400 when invalid query params are sent
2015-02-18 09:44:44 -09:00
Dan Morphis
7b2b89bb4a
Don't crash if the query params are invalid json
2015-02-13 12:48:05 -09:00
Zaid Abdulla
57874acbfe
Fixed bug causing only a single preset configuration of custom_command_age and custom_comand_value to take affect.
2015-02-01 20:00:20 +03:00
Zaid Abdulla
5b60416a3e
Fixed 404 error when deleting/retrying a task caused by recent change in node's implementation of querystring.unescape.
2014-11-22 19:11:54 +03:00
Zaid Abdulla
dd6b2a449e
Correctly use https scheme for download RPC when FS_SSL config is set. Fixes #43 .
2014-11-14 17:23:39 +03:00
Dan Morphis
612bc8e414
Return the task object when adding a task
2014-10-14 10:28:23 -08:00
Dan Morphis
e38bf0b0e0
Fix misspelling
2014-10-14 10:28:04 -08:00
Zaid Abdulla
6afe793c52
Fixed bug where refreshObject does not remove from database parameters that don't exist anymore in the device data model.
2014-09-05 16:01:47 +03:00
Dan Morphis
91417a5c7e
Fix parse error on the inform message
2014-09-02 10:14:05 -08:00
Zaid Abdulla
141102908c
Fixed device updates being processed twice potentially impacting performance.
2014-08-20 23:37:07 +03:00
Zaid Abdulla
7d3618a480
Fixed bug where deleting a device doesn't work if device ID contains URL encoded characters.
2014-08-18 22:23:46 +03:00
Zaid Abdulla
faf1e49eb9
Implemented API for deleting a device.
2014-08-16 14:14:38 +03:00
Zaid Abdulla
76b67d9f54
Fixed crash in debug mode caused by incorrect debug directory path.
2014-08-16 09:23:14 +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
3d201981e2
Use Node.js domains to gracefully handle exceptions.
2014-08-02 21:40:49 +03:00
Zaid Abdulla
d5dc7b36df
Flush redis after configuration changes that could affect cache integrity.
2014-08-01 22:30:03 +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