Zaid Abdulla
|
b80e97b841
|
Fixed crash when not all defined object keys are available in the device object parameter.
|
2013-12-17 09:37:48 +03:00 |
|
Zaid Abdulla
|
823b02e40f
|
Removed no longer needd config code.
|
2013-12-07 01:20:00 +03:00 |
|
Zaid Abdulla
|
1fe72e93a9
|
Fixed bug in getting the configured parameter type. Fixed bug in processing object presets.
|
2013-12-07 01:18:25 +03:00 |
|
Zaid Abdulla
|
6f0d7a747e
|
Fixed bug where setting object parameter values through preset does not take effect.
|
2013-12-06 16:11:55 +03:00 |
|
Zaid Abdulla
|
58a9adaa52
|
Merge branch 'master' of https://github.com/zaidka/genieacs
|
2013-12-02 23:31:23 +03:00 |
|
Zaid Abdulla
|
8c4240f024
|
Support for regular expressions for paths in parameter configuration.
|
2013-12-02 23:31:03 +03:00 |
|
Zaid Abdulla
|
e9d461c898
|
Merge pull request #1 from omar84/master
added setdset function for greenpacket CPE
|
2013-12-02 03:22:04 -08:00 |
|
Zaid Abdulla
|
7695b606c6
|
Use locking to avoid possible unnecessary fetching and caching of presets and objects
|
2013-11-09 00:16:06 +03:00 |
|
Zaid Abdulla
|
3ba1e05c2e
|
Expiring tasks generated from presets.
|
2013-11-05 13:48:05 +03:00 |
|
Zaid Abdulla
|
f01f6fe477
|
Fixed bug causing device preset to be processed twice in some cases.
|
2013-11-05 13:35:54 +03:00 |
|
Zaid Abdulla
|
8414f463ad
|
Bug fixes related to calculation of preset hash expiary.
|
2013-11-04 00:41:14 +03:00 |
|
Zaid Abdulla
|
993472e2ca
|
Added some delay before listening for connection to avoid handling requests before DB connections are established.
|
2013-11-03 23:33:55 +03:00 |
|
Zaid Abdulla
|
2839d27a8e
|
Use ceil instead of floor for cache expiry to avoid 0 seconds cache duration.
|
2013-11-03 09:27:05 +03:00 |
|
Zaid Abdulla
|
fb1247191f
|
Fixed bug caused by older redis versions not accepting float-point expiry.
|
2013-11-03 08:53:00 +03:00 |
|
Zaid Abdulla
|
e77cdd10c8
|
Faulty tasks automatically retried later rather than hold the taks queue.
|
2013-11-03 00:54:22 +03:00 |
|
Zaid Abdulla
|
2e4a524d90
|
Replaced memcached with redis.
|
2013-11-02 20:55:31 +03:00 |
|
Zaid Abdulla
|
5a2648c4d0
|
Saving task fault and session data separately to avoid persistant session data when a fault occures.
|
2013-11-02 15:51:53 +03:00 |
|
Zaid Abdulla
|
fd378d138a
|
Support for task expiry.
|
2013-10-28 11:58:36 +03:00 |
|
Zaid Abdulla
|
823eb162ad
|
Added API to get projected device preset.
|
2013-10-21 09:03:36 +03:00 |
|
Zaid Abdulla
|
59193f38ee
|
Gracefully handle when firmware image is not found in RequestDownload.
|
2013-10-20 11:14:36 +03:00 |
|
Zaid Abdulla
|
8e98b0414e
|
Addes support for RequestDownload for firmware upgrade.
|
2013-10-18 15:25:18 +03:00 |
|
Zaid Abdulla
|
3a56909b4b
|
A couple of preset bug fixes.
|
2013-10-18 14:04:16 +03:00 |
|
Zaid Abdulla
|
a88d2c009d
|
Include filetime in file metadata to be used with download task.
|
2013-10-17 15:09:09 +03:00 |
|
Zaid Abdulla
|
8b2b3f3fbe
|
Fixed bug when serving files having names with special characters.
|
2013-10-17 12:26:35 +03:00 |
|
Zaid Abdulla
|
3fbe297726
|
Major overhaul to how presets are processed, needed in order to expose preset functionality through API.
|
2013-10-16 19:39:20 +03:00 |
|
Zaid Abdulla
|
a22e638e9a
|
Fixed bug in query projection
|
2013-10-16 18:40:28 +03:00 |
|
Zaid Abdulla
|
35e2aad4b3
|
Removed unnecessary nested date creation in sanitizeTask().
|
2013-10-09 20:21:45 +03:00 |
|
Zaid Abdulla
|
4fd719720a
|
Merge branch 'master' of https://github.com/zaidka/genieacs
|
2013-10-09 20:14:40 +03:00 |
|
Zaid Abdulla
|
474dc5c94e
|
Correct timestamp format in task sanitization.
|
2013-10-09 20:12:18 +03:00 |
|
Zaid Abdulla
|
615c8d418b
|
Improved telnet timeout handling.
|
2013-09-16 14:35:55 +03:00 |
|
Zaid Abdulla
|
1586ce92aa
|
Merge branch 'customcommands'
|
2013-09-15 23:14:22 +03:00 |
|
Zaid Abdulla
|
a7d75b42f6
|
Increase telnet timeout for seowon frequencies command.
|
2013-09-15 23:11:07 +03:00 |
|
Zaid Abdulla
|
6b359c8dfb
|
Fixed saving task in addObject. Should be saved after receiving instance number rather than before.
|
2013-09-15 22:35:35 +03:00 |
|
Zaid Abdulla
|
3c1f34b922
|
Fixed bug in refreshObject caused by incorrectly finding device parameters that no longer exist.
|
2013-09-15 19:44:28 +03:00 |
|
Zaid Abdulla
|
7828142391
|
Return error instead of throwing exception when saving task.
|
2013-09-13 19:45:00 +03:00 |
|
Zaid Abdulla
|
82e7c60a5b
|
Fixed possible bug caused by not clearing task cache when saving.
|
2013-09-13 18:29:13 +03:00 |
|
Zaid Abdulla
|
c72705d777
|
Added task status code to force saving task. Used in addObject task to avoid data inconsistency and crashing.
|
2013-09-13 16:23:51 +03:00 |
|
Zaid Abdulla
|
9537bfad0f
|
Do not store available custom commands in device doc, find them from config. No longer having to reinitialize the device after adding a custom command.
|
2013-09-13 13:02:44 +03:00 |
|
Zaid Abdulla
|
86ff19a6e2
|
Timeout handling for seowon_frequencies custom command.
|
2013-09-12 15:15:39 +03:00 |
|
Zaid Abdulla
|
a8ee773a39
|
Minor cleanup on connection request authentication code.
|
2013-09-12 08:56:12 +03:00 |
|
Zaid Abdulla
|
0a2da2fc70
|
Added command file for changing frequencies for Seowon devices.
|
2013-09-11 11:48:14 +03:00 |
|
Zaid Abdulla
|
0bf9125913
|
Implemented preset support for custom commands.
|
2013-09-11 10:41:09 +03:00 |
|
Zaid Abdulla
|
bfd7d70648
|
Added .gitignore file.
|
2013-09-10 15:59:27 +03:00 |
|
Zaid Abdulla
|
ff286080e8
|
Initial implementation of custom commands feature (e.g. telnet).
|
2013-09-10 15:54:09 +03:00 |
|
Zaid Abdulla
|
3c7f554264
|
Renamed sample config files to have -sample suffix.
|
2013-09-08 01:30:07 +03:00 |
|
Zaid Abdulla
|
8fe2f9c4a4
|
Fixed bug in digest authentication in some devices.
|
2013-09-08 01:06:24 +03:00 |
|
Zaid Abdulla
|
e3b184553e
|
Using new mongodb connection string for the file server.
|
2013-09-04 12:50:43 +03:00 |
|
Zaid Abdulla
|
60a4947a69
|
Better memcached configurations.
|
2013-08-25 09:05:53 +03:00 |
|
Zaid Abdulla
|
c0a181ef2b
|
Support for querying with HTTP HEAD requets to fetch only meta info like result count without returning all results.
|
2013-08-19 01:20:38 +03:00 |
|
Zaid Abdulla
|
13da4dc2da
|
Fixed a couple of bugs in AddObject method.
|
2013-08-18 11:02:20 +03:00 |
|
Zaid Abdulla
|
3ad8d08ea9
|
Throwing exceptions in case of database errors.
|
2013-08-18 05:35:03 +03:00 |
|
Zaid Abdulla
|
c3f2f6ea5f
|
Implemented virtual CPE for testing to replace old testing code
|
2013-08-18 04:17:39 +03:00 |
|
Zaid Abdulla
|
ee38347924
|
Fixed wrong hash code being saved for presets.
|
2013-08-17 22:12:07 +03:00 |
|
Zaid Abdulla
|
3a42a297eb
|
Improved conflict handling of add/remove object configurations in presets
|
2013-08-14 02:54:25 +03:00 |
|
Zaid Abdulla
|
199adf5bcd
|
Using the new MongoClient interface
|
2013-08-14 01:39:01 +03:00 |
|
Zaid Abdulla
|
76bc1eff0c
|
Updated dependencies
|
2013-08-14 00:46:47 +03:00 |
|
Zaid Abdulla
|
bb757c6ad6
|
Renamed default database to genieacs.
|
2013-08-08 12:06:56 +03:00 |
|
Zaid Abdulla
|
f4d7104c4f
|
Changed _last_inform parameter to _lastInform for unification.
|
2013-08-08 11:53:12 +03:00 |
|
Zaid Abdulla
|
84d75c4696
|
Handle HTTP related CPE fault requests gracefully.
|
2013-08-08 11:38:44 +03:00 |
|
Zaid Abdulla
|
4c4b1d630b
|
Optimizing overall performance under heavy load by temporarily rejecting new sessions that will likely not finish successfully anyway.
|
2013-08-08 11:24:14 +03:00 |
|
Zaid Abdulla
|
eae6e8b079
|
Work around possible issue in node-memcached where 'get' sometimes returns incorrect values when under heavy load. getMulti works fine.
|
2013-08-08 11:00:50 +03:00 |
|
Zaid Abdulla
|
28f63e8c96
|
Fixed issue where no projection is applied when there's no presets thus affecting performane
|
2013-08-08 10:51:49 +03:00 |
|
Zaid Abdulla
|
c08fb47f18
|
Fixed issue where presets hash is not being cached for as long as it should
|
2013-07-29 23:55:37 +03:00 |
|
Zaid Abdulla
|
b61b746db4
|
Fixed bug where presets don't get applied when there's overlapping field projection in mongodb query
|
2013-07-29 23:40:20 +03:00 |
|
Zaid Abdulla
|
0b596487a5
|
Support for regex queries in presets
|
2013-07-29 21:08:03 +03:00 |
|
Zaid Abdulla
|
1aed17374f
|
Fixed bug in parsing authentication challange header
|
2013-07-28 14:33:59 +03:00 |
|
Zaid Abdulla
|
04ed5aaf0f
|
Fixed wrong username/password in basic authentication
|
2013-07-28 10:16:18 +03:00 |
|
Zaid Abdulla
|
51eeb1be55
|
Missing file from last commit
|
2013-07-28 09:26:04 +03:00 |
|
Zaid Abdulla
|
7fb00c8a31
|
Implemented HTTP authentication for connection requests
|
2013-07-28 09:14:19 +03:00 |
|
Zaid Abdulla
|
a279fb70d3
|
Moving configuration files to config directory
|
2013-07-28 09:06:16 +03:00 |
|
Zaid Abdulla
|
dae71b69ab
|
Set task timestamp when sanitizing only if not given
|
2013-07-23 02:14:31 +03:00 |
|
Zaid Abdulla
|
c268f6a321
|
Fixed bug where addObject task doesn't return response
|
2013-07-23 02:12:55 +03:00 |
|
Zaid Abdulla
|
bcfd56d868
|
Don't delete InternetGatewayDevice tree when reinitializing device
|
2013-07-22 20:32:32 +03:00 |
|
Zaid Abdulla
|
8167c0c6e5
|
Fixed bug in the last commit which caused incomplete objects in init task
|
2013-07-22 19:45:12 +03:00 |
|
Zaid Abdulla
|
9f83c29a93
|
GetParameterNames task now deletes objects that no longer exist from DB
|
2013-07-22 14:30:11 +03:00 |
|
Zaid Abdulla
|
754b2d784f
|
AddObject and DeleteObject tasks no longer require a trailing dot at the end of the path. Added new task type 'refreshObject'.
|
2013-07-21 10:25:56 +03:00 |
|
Zaid Abdulla
|
7da76e0de7
|
Mark object instances in the device doc
|
2013-07-21 10:01:43 +03:00 |
|
Zaid Abdulla
|
690afb3522
|
Updated repo URL. Fixed a few spelling mistakes in readme.
|
2013-06-28 11:50:52 +03:00 |
|
Zaid Abdulla
|
f28fb29ce9
|
Changed package name to genieacs
|
2013-06-28 11:40:26 +03:00 |
|
Zaid Abdulla
|
80a85852cd
|
Created node package and added license
|
2013-06-28 10:54:52 +03:00 |
|
Zaid Abdulla
|
af9ca0c2ae
|
Adding/removing objects from API
|
2013-06-09 14:41:31 +03:00 |
|
Zaid Abdulla
|
abe6cfc3ab
|
Added support for multi-instance objects in presets
|
2013-06-06 10:55:22 +03:00 |
|
Zaid Abdulla
|
44a09a655d
|
Ability to assign instance name when adding object
|
2013-06-03 10:55:42 +03:00 |
|
Zaid Abdulla
|
91e9e47a65
|
Support for adding/deleting tags in presets
|
2013-06-01 19:40:36 +03:00 |
|
Zaid Abdulla
|
913388ab34
|
Cache invalidation in API for presets and presets hash
|
2013-06-01 19:38:47 +03:00 |
|
Zaid Abdulla
|
ea5c92aaa0
|
Reinitialize device on bootstrap event
|
2013-05-28 11:18:01 +03:00 |
|
Zaid Abdulla
|
c91616c914
|
Added Content-Type and Content-Length to firmware downloads
|
2013-05-24 12:18:33 +03:00 |
|
Zaid Abdulla
|
b01cc55cda
|
Implemented addObject and deleteObject CPE functions
|
2013-05-23 15:02:03 +03:00 |
|
Zaid Abdulla
|
65e7b22149
|
Added boot and bootstrap timestamps
|
2013-05-14 14:28:00 +03:00 |
|
Zaid Abdulla
|
9f156c2c88
|
Fixed timestamp not properly set when adding tasks from presets
|
2013-04-12 17:19:03 +03:00 |
|
Zaid Abdulla
|
bf518a5e92
|
Added SSID and PSK to summary parameters
|
2013-04-07 14:33:04 +03:00 |
|
Zaid Abdulla
|
8a26ea5111
|
Support for sorting in query API
|
2013-04-07 11:43:37 +03:00 |
|
Zaid Abdulla
|
3f45c7e887
|
Include xsi:type attribute with SetParameterValues method
|
2013-04-03 09:15:46 +03:00 |
|
Zaid Abdulla
|
5934178d91
|
Serve files without listening to request end event
|
2013-03-31 16:05:51 +03:00 |
|
Zaid Abdulla
|
03e57616f7
|
Improved MAC normalization
|
2013-03-31 14:38:43 +03:00 |
|
Zaid Abdulla
|
eb92d35b51
|
Added support for wildcards and mac
|
2013-03-28 08:51:10 +03:00 |
|
Zaid Abdulla
|
f58c5604c2
|
Fixed bug in task retry
|
2013-03-27 11:24:46 +03:00 |
|
Zaid Abdulla
|
850f0241e5
|
Implemented factory reset
|
2013-03-27 10:43:12 +03:00 |
|
Zaid Abdulla
|
94affab377
|
Expand preset precondition query
|
2013-03-26 22:54:50 +03:00 |
|
Zaid Abdulla
|
b470c3273c
|
Sanitize getParameterValues task before saving
|
2013-03-26 09:36:35 +03:00 |
|