Compare commits

...
6 Commits
Author SHA1 Message Date
Zaid Abdulla 3625f26134 1.0.2 2014-09-07 20:46:13 +03:00
Zaid Abdulla c1d486b776 Updated readme file. 2014-09-07 20:45:17 +03:00
Zaid Abdulla ae441beda0 1.0.1 2014-09-05 16:06:45 +03: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
Zaid Abdulla 233daee88f Merge pull request #31 from akcoder/master
Fix SyntaxError on the inform message
2014-09-03 21:10:19 +03:00
Dan Morphis 91417a5c7e Fix parse error on the inform message 2014-09-02 10:14:05 -08:00
4 changed files with 6 additions and 6 deletions

No files matched your search

+2 -2
View File
@@ -54,11 +54,11 @@ You may now proceed with installing [GenieACS GUI front end](https://github.com/
## Support
Documentation is still work in progress. Feel free to contact me if you require any assistance in installation, configuration, or using the APIs.
Documentation is work in progress. Contact <support@genieacs.com> for any inquiry about installation, configuration, or using the API.
You may submit bug reports or feature requests [here](https://github.com/zaidka/genieacs/issues).
For commercial support options, please contact me.
For commercial support options, please visit [genieacs.com](http://genieacs.com).
## Contributing
+1 -1
View File
@@ -232,7 +232,7 @@ acsInform = (xml) ->
parameterList : parameterValueList(xml.get('ParameterList')),
deviceId : traverseXml(xml.get('DeviceId')),
event : event(xml.get('Event')),
retryCount : JSON.parse(xml.get('RetryCount').text())
retryCount : parseInt(xml.get('RetryCount').text())
}
+2 -2
View File
@@ -187,7 +187,7 @@ commitUpdates = (deviceId, deviceUpdates, commitQueue, callback) ->
if presentPaths[p]
recursive(v, "#{p}.")
else
update['$unset'][p] = 1
update['$unset'][p] = 2
# Scan the DB object and remove parameters that no longer exists in device
for path of projection
@@ -202,7 +202,7 @@ commitUpdates = (deviceId, deviceUpdates, commitQueue, callback) ->
recursive(root, rootPath)
else
if not presentPaths[rootPath.slice(0, -1)]?
update['$unset'][rootPath.slice(0, -1)] = 1
update['$unset'][rootPath.slice(0, -1)] = 2
# Remove unnecessary unset updates
for k, v of update['$unset']
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "genieacs",
"version": "1.0.0",
"version": "1.0.2",
"description": "A blazing fast TR-069 auto configuration server (ACS) built with Node.js, Redis, and MongoDB",
"repository": {
"type": "git",