Commit Graph
297 Commits
Author SHA1 Message Date
Zaid Abdulla 7072d255c9 Fixed a couple of bugs in Download task. Removed workarounds that are no longer necessary. 2014-02-06 23:51:51 +03:00
Zaid Abdulla d7149430d8 Merge branch 'master' of https://github.com/zaidka/genieacs 2014-02-06 00:00:47 +03:00
Zaid Abdulla 9160d7d84e Modified sample file for parameter configuration to make it more generic. 2014-02-06 00:00:26 +03:00
Zaid Abdulla dda4276015 Added a script to migrate existing data to the recent update which introduced _deviceId object. 2014-02-05 11:48:18 +03:00
Zaid Abdulla 603bae83a2 In RequestDownload method, read manufacturer and product class from _deviceId struct rather than InternetGatewayDevice.DeviceInfo object. 2014-02-04 23:30:35 +03:00
Zaid Abdulla 589d8899cc Changed files meta parameter name from SoftwareVersion to version. All other meta parameters now start with a lower case character too. 2014-02-04 23:06:57 +03:00
Zaid Abdulla 291efc0097 Save DeviceId structure from inform request. 2014-02-04 22:55:27 +03:00
Zaid Abdulla 0dac040b63 Fixed parameter name typo in the virtual test CPE. 2014-02-04 22:54:06 +03:00
Zaid Abdulla 2bd5d7e603 Improved alogirthm of compiling aliases to avoid possible skipping of parameters in certain cases. 2014-02-03 11:06:54 +03:00
Zaid Abdulla 8d06f34c56 Fixed bug in debug logging where inform request is skipped. 2014-01-29 20:45:04 +03:00
Zaid Abdulla e411d5e884 Yet another bug fix related to clearing aliases cache. 2014-01-20 16:30:59 +03:00
Zaid Abdulla 99c60b054e Fixed another bug related to aliases cache clearing. 2014-01-19 16:10:39 +03:00
Zaid Abdulla 55b4770742 Fixed bug where refreshParameter tasks is always added on inform. 2014-01-19 12:15:31 +03:00
Zaid Abdulla edf8f757ed Clear cached aliases as soon as we detect a new previously unseen aliased parameter. Mostly useful for dynamic regex-based aliases. 2014-01-18 21:44:27 +03:00
Zaid Abdulla 8dede7743f Automatically refresh relevant parameter tree when new parameters are detected in informs. This makes init task obsolete and therefore it has been removed. 2014-01-18 02:21:01 +03:00
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
Omar M 7c5a3eaf1f added setdset function for greenpacket CPE 2013-12-02 14:19:13 +03:00
shweelan c47c19dd76 added dset functionality 2013-11-21 12:23:21 +03: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
Omar M bb38c18fb3 added custom-commands for greenpacket 2013-10-06 16:50:22 +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