Compare commits

...
4 changed files with 13 additions and 5 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
@@ -244,7 +244,7 @@ listener = (request, response) ->
else if TASKS_REGEX.test(urlParts.pathname)
r = TASKS_REGEX.exec(urlParts.pathname)
taskId = mongodb.ObjectID(querystring.unescape(r[1]))
action = try querystring.unescape(r[2])
action = r[2]
if not action? or action is '/'
if request.method == 'DELETE'
db.tasksCollection.remove({'_id' : taskId}, (err, removedCount) ->
+9 -1
View File
@@ -43,6 +43,7 @@ common = require './common'
db = require './db'
mongodb = require 'mongodb'
customCommands = require './custom-commands'
url = require 'url'
exports.STATUS_OK = STATUS_OK = 1
exports.STATUS_FAULT = STATUS_FAULT = 2
@@ -330,11 +331,18 @@ this.download = (task, methodResponse, callback) ->
callback(err)
return
l = {
protocol : if config.get('FS_SSL') then 'https' else 'http',
hostname : config.get('FS_IP'),
port : config.get('FS_PORT'),
pathname : encodeURIComponent(file.filename)
}
methodRequest = {
type : 'Download',
fileType : file.metadata.fileType,
fileSize : file.length,
url : "http://#{config.get('FS_IP')}:#{config.get('FS_PORT')}/#{encodeURIComponent(file.filename)}",
url : url.format(l),
successUrl : task.successUrl,
failureUrl : task.failureUrl
}
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "genieacs",
"version": "1.0.0",
"version": "1.0.3",
"description": "A blazing fast TR-069 auto configuration server (ACS) built with Node.js, Redis, and MongoDB",
"repository": {
"type": "git",