Commit Graph

  • 4c0c590791 Fixed bug where partial device update from a faulty task gets committed in the next inform. Zaid Abdulla 2014-07-24 03:51:53 +03:00
  • db6eae2aee Queue device updates and commit them using fewer database queries for better performance. Partial updates caused by faulty tasks will no longer be committed in order to avoid messing the device model. Zaid Abdulla 2014-07-24 01:49:04 +03:00
  • 4b244f43e0 Fixed issue where uploaded file not immediatly accessible because upload API responds before the upload has completed. Zaid Abdulla 2014-07-19 06:58:48 +03:00
  • 1c902af363 Wait for connections to MongoDB and redis to be established on startup. Added configuration option to specify redis DB. Zaid Abdulla 2014-07-19 06:54:09 +03:00
  • 28394af707 Added an option to configure the number of parameters per request in GetParameterValues and SetParameterValues methods. Zaid Abdulla 2014-07-18 23:36:36 +03:00
  • 47b0d06493 Crediting Netanel Rubin for his find. Zaid Abdulla 2014-07-14 12:09:58 +03:00
  • 03f9a9e628 Use RegExp objects instead of eval for creating regular expressions to fix code execution vulnerability as pointed out by Shahar Tal and his team from Check Point Software Technologies. Zaid Abdulla 2014-07-14 10:43:02 +03:00
  • a4f1d0dc2a Added copyright and permission header to source files. Zaid Abdulla 2014-07-12 23:53:01 +03:00
  • 2279de3c70 Fixed a couple of connection request issues. Zaid Abdulla 2014-07-12 23:24:13 +03:00
  • ec2dd87693 Set timeout value for TCP connetion based on CWMP session timeout. Handle expired sessions gracefully. Zaid Abdulla 2014-07-10 01:08:54 +03:00
  • bb6e963788 Added abilility to fetch parameter names iteratively to work around some devices' memory limitations. The configuration option GET_PARAMETER_NAMES_DEPTH_THRESHOLD specifies the depth of parameters upto which they're fetched iteratively. Zaid Abdulla 2014-07-09 06:59:48 +03:00
  • 3348139795 Moved detection of removed parameters to updateDevice function plus other organization and optimization changes Zaid Abdulla 2014-07-07 23:32:42 +03:00
  • b41e619a89 Storing session data in redis instead of cookies. Closes #10. Closes #20. Zaid Abdulla 2014-06-30 02:35:22 +03:00
  • 82b02ff175 Added config options to be passed to libxmljs when parsing request XML. Fixes #15. Zaid Abdulla 2014-06-13 13:01:16 +03:00
  • e725ba5be7 Fixed bug where fault response triggers method not supported exception when IGNORE_XML_NAMSPACES config option is enabled. Zaid Abdulla 2014-06-12 23:52:38 +03:00
  • 343520f408 Do not automatically close TCP connection at end of session. The CPE should, as described in the standard. Fixes 12. Zaid Abdulla 2014-06-07 01:26:48 +03:00
  • 2f65ecd3f9 0.9.9 v0.9.9 Zaid Abdulla 2014-05-17 10:28:31 +03:00
  • 70ffd8b653 Support for MongoDB 2.6. Preset precondition is now stored as a JSON string. Zaid Abdulla 2014-05-17 09:35:05 +03:00
  • 5bd7c99eea Allow space characters in quoted values in HTTP authentication header. Fixes #9. Zaid Abdulla 2014-05-16 11:41:28 +03:00
  • bef5d0e4dc 0.9.8 v0.9.8 Zaid Abdulla 2014-05-12 10:07:11 +03:00
  • de0774edeb Added config option (IGNORE_XML_NAMESPACES) to make XML traversal using element local names only as a workaroud for XML namespace issues in some devices. Fixes #7. Zaid Abdulla 2014-05-10 16:22:40 +03:00
  • dfb2e624d9 <string> elements in GetParameterValues and GetRPCMethods should be unqualified Zaid Abdulla 2014-05-09 12:18:29 +03:00
  • 647f5c1647 Encoding cookies with base64 to work around some device quirks Zaid Abdulla 2014-05-09 12:09:30 +03:00
  • c1d5fcce19 Fixed bug in parsing cookie header Zaid Abdulla 2014-05-06 12:46:04 +03:00
  • bf8fc877d4 Support for gzip and deflate content encoding Zaid Abdulla 2014-05-05 01:14:41 +03:00
  • 4048de35d0 Implemented GetPRCMethods ACS method Zaid Abdulla 2014-05-02 19:38:47 +03:00
  • fde4d7b6a9 Accept any CWMP namespace versions. Some code clean ups. Zaid Abdulla 2014-05-02 11:48:03 +03:00
  • 4eb7867695 Remove old pending tasks when the device sends bootstrap event Zaid Abdulla 2014-04-21 23:24:21 +03:00
  • 10be06c619 Avoid invoking mapReduce in complieAliases when database has not been created yet. Fixes #4. Zaid Abdulla 2014-04-21 20:20:27 +03:00
  • 914a470116 Fixed wrong config path for custom commands Zaid Abdulla 2014-03-27 16:37:59 +03:00
  • 89f153de4d Fixed bug in connection request digest authentication caused authentication response being sent over a new connection Zaid Abdulla 2014-03-15 16:45:58 +03:00
  • 13960f9f20 Clear presets hash if needed based on changing inform parameters or bootstrap event Zaid Abdulla 2014-03-14 12:35:40 +03:00
  • febd6f6cd4 Fixed dump directory path Zaid Abdulla 2014-03-10 14:52:01 +03:00
  • 236a0241ba Better file structure and naming Zaid Abdulla 2014-03-09 19:59:34 +03:00
  • 4a28e61cd0 Fixed some generated SOAP messages not following the TR-069 XML schema. Fixes #3. Zaid Abdulla 2014-03-05 21:35:39 +03:00
  • 2e262c7c54 Properly return errors from mapReduce function for alias compliation Zaid Abdulla 2014-02-27 15:05:40 +03:00
  • c5a8a83c53 Fixed corrupted JSON response in API due to variable scoping Zaid Abdulla 2014-02-27 14:08:39 +03:00
  • 72392797d1 0.9.7 Zaid Abdulla 2014-02-12 00:38:36 +03:00
  • 265efd8583 Fixed configure script not working with global installation Zaid Abdulla 2014-02-12 00:38:18 +03:00
  • c764fcd316 Added executables for acs, api, and files Zaid Abdulla 2014-02-11 17:19:15 +03:00
  • 96f094e066 Streamlined installation through npm Zaid Abdulla 2014-02-11 17:11:12 +03:00
  • 99b8a10d71 Using default redis port in sample configuration file Zaid Abdulla 2014-02-11 17:04:07 +03:00
  • 16ab286894 Changed license to AGPL3 Zaid Abdulla 2014-02-10 03:51:59 +03:00
  • 83041dbbab Bumped version number to 0.9.1. Updated README. Zaid Abdulla 2014-02-09 23:20:32 +03:00
  • 8a8ffd3e2a Use current GenieACS version number in response headers Zaid Abdulla 2014-02-09 21:46:49 +03:00
  • aea739ba63 Fixed double urlencoding problem in query API. Zaid Abdulla 2014-02-07 01:05:44 +03:00
  • 7072d255c9 Fixed a couple of bugs in Download task. Removed workarounds that are no longer necessary. Zaid Abdulla 2014-02-06 23:51:51 +03:00
  • d7149430d8 Merge branch 'master' of https://github.com/zaidka/genieacs Zaid Abdulla 2014-02-06 00:00:47 +03:00
  • 9160d7d84e Modified sample file for parameter configuration to make it more generic. Zaid Abdulla 2014-02-06 00:00:26 +03:00
  • dda4276015 Added a script to migrate existing data to the recent update which introduced _deviceId object. Zaid Abdulla 2014-02-05 11:48:18 +03:00
  • 603bae83a2 In RequestDownload method, read manufacturer and product class from _deviceId struct rather than InternetGatewayDevice.DeviceInfo object. Zaid Abdulla 2014-02-04 23:30:35 +03:00
  • 589d8899cc Changed files meta parameter name from SoftwareVersion to version. All other meta parameters now start with a lower case character too. Zaid Abdulla 2014-02-04 23:06:57 +03:00
  • 291efc0097 Save DeviceId structure from inform request. Zaid Abdulla 2014-02-04 22:55:27 +03:00
  • 0dac040b63 Fixed parameter name typo in the virtual test CPE. Zaid Abdulla 2014-02-04 22:54:06 +03:00
  • 2bd5d7e603 Improved alogirthm of compiling aliases to avoid possible skipping of parameters in certain cases. Zaid Abdulla 2014-02-03 11:06:54 +03:00
  • 8d06f34c56 Fixed bug in debug logging where inform request is skipped. Zaid Abdulla 2014-01-29 20:45:04 +03:00
  • e411d5e884 Yet another bug fix related to clearing aliases cache. Zaid Abdulla 2014-01-20 16:30:59 +03:00
  • 99c60b054e Fixed another bug related to aliases cache clearing. Zaid Abdulla 2014-01-19 16:10:39 +03:00
  • 55b4770742 Fixed bug where refreshParameter tasks is always added on inform. Zaid Abdulla 2014-01-19 12:15:31 +03:00
  • edf8f757ed Clear cached aliases as soon as we detect a new previously unseen aliased parameter. Mostly useful for dynamic regex-based aliases. Zaid Abdulla 2014-01-18 21:44:27 +03:00
  • 8dede7743f Automatically refresh relevant parameter tree when new parameters are detected in informs. This makes init task obsolete and therefore it has been removed. Zaid Abdulla 2014-01-18 02:21:01 +03:00
  • b80e97b841 Fixed crash when not all defined object keys are available in the device object parameter. Zaid Abdulla 2013-12-17 09:37:48 +03:00
  • 823b02e40f Removed no longer needd config code. Zaid Abdulla 2013-12-07 01:20:00 +03:00
  • 1fe72e93a9 Fixed bug in getting the configured parameter type. Fixed bug in processing object presets. Zaid Abdulla 2013-12-07 01:18:25 +03:00
  • 6f0d7a747e Fixed bug where setting object parameter values through preset does not take effect. Zaid Abdulla 2013-12-06 16:11:55 +03:00
  • 58a9adaa52 Merge branch 'master' of https://github.com/zaidka/genieacs Zaid Abdulla 2013-12-02 23:31:23 +03:00
  • 8c4240f024 Support for regular expressions for paths in parameter configuration. Zaid Abdulla 2013-12-02 23:31:03 +03:00
  • e9d461c898 Merge pull request #1 from omar84/master Zaid Abdulla 2013-12-02 03:22:04 -08:00
  • 7c5a3eaf1f added setdset function for greenpacket CPE Omar M 2013-12-02 14:19:13 +03:00
  • c47c19dd76 added dset functionality shweelan 2013-11-21 12:23:21 +03:00
  • 7695b606c6 Use locking to avoid possible unnecessary fetching and caching of presets and objects Zaid Abdulla 2013-11-09 00:16:06 +03:00
  • 3ba1e05c2e Expiring tasks generated from presets. Zaid Abdulla 2013-11-05 13:48:05 +03:00
  • f01f6fe477 Fixed bug causing device preset to be processed twice in some cases. Zaid Abdulla 2013-11-05 13:35:54 +03:00
  • 8414f463ad Bug fixes related to calculation of preset hash expiary. Zaid Abdulla 2013-11-04 00:41:14 +03:00
  • 993472e2ca Added some delay before listening for connection to avoid handling requests before DB connections are established. Zaid Abdulla 2013-11-03 23:33:55 +03:00
  • 2839d27a8e Use ceil instead of floor for cache expiry to avoid 0 seconds cache duration. Zaid Abdulla 2013-11-03 09:27:05 +03:00
  • fb1247191f Fixed bug caused by older redis versions not accepting float-point expiry. Zaid Abdulla 2013-11-03 08:53:00 +03:00
  • e77cdd10c8 Faulty tasks automatically retried later rather than hold the taks queue. Zaid Abdulla 2013-11-03 00:54:22 +03:00
  • 2e4a524d90 Replaced memcached with redis. Zaid Abdulla 2013-11-02 20:55:31 +03:00
  • 5a2648c4d0 Saving task fault and session data separately to avoid persistant session data when a fault occures. Zaid Abdulla 2013-11-02 15:51:53 +03:00
  • fd378d138a Support for task expiry. Zaid Abdulla 2013-10-28 11:58:36 +03:00
  • 823eb162ad Added API to get projected device preset. Zaid Abdulla 2013-10-21 09:03:36 +03:00
  • 59193f38ee Gracefully handle when firmware image is not found in RequestDownload. Zaid Abdulla 2013-10-20 11:14:36 +03:00
  • 8e98b0414e Addes support for RequestDownload for firmware upgrade. Zaid Abdulla 2013-10-18 15:25:18 +03:00
  • 3a56909b4b A couple of preset bug fixes. Zaid Abdulla 2013-10-18 14:04:16 +03:00
  • a88d2c009d Include filetime in file metadata to be used with download task. Zaid Abdulla 2013-10-17 15:09:09 +03:00
  • 8b2b3f3fbe Fixed bug when serving files having names with special characters. Zaid Abdulla 2013-10-17 12:26:35 +03:00
  • 3fbe297726 Major overhaul to how presets are processed, needed in order to expose preset functionality through API. Zaid Abdulla 2013-10-16 19:39:20 +03:00
  • a22e638e9a Fixed bug in query projection Zaid Abdulla 2013-10-16 18:40:28 +03:00
  • 35e2aad4b3 Removed unnecessary nested date creation in sanitizeTask(). Zaid Abdulla 2013-10-09 20:21:45 +03:00
  • 4fd719720a Merge branch 'master' of https://github.com/zaidka/genieacs Zaid Abdulla 2013-10-09 20:14:40 +03:00
  • 474dc5c94e Correct timestamp format in task sanitization. Zaid Abdulla 2013-10-09 20:12:18 +03:00
  • bb38c18fb3 added custom-commands for greenpacket Omar M 2013-10-06 16:50:22 +03:00
  • 615c8d418b Improved telnet timeout handling. Zaid Abdulla 2013-09-16 14:35:55 +03:00
  • 1586ce92aa Merge branch 'customcommands' Zaid Abdulla 2013-09-15 23:14:22 +03:00
  • a7d75b42f6 Increase telnet timeout for seowon frequencies command. Zaid Abdulla 2013-09-15 23:11:07 +03:00
  • 6b359c8dfb Fixed saving task in addObject. Should be saved after receiving instance number rather than before. Zaid Abdulla 2013-09-15 22:35:35 +03:00
  • 3c1f34b922 Fixed bug in refreshObject caused by incorrectly finding device parameters that no longer exist. Zaid Abdulla 2013-09-15 19:44:28 +03:00
  • 7828142391 Return error instead of throwing exception when saving task. Zaid Abdulla 2013-09-13 19:45:00 +03:00
  • 82e7c60a5b Fixed possible bug caused by not clearing task cache when saving. Zaid Abdulla 2013-09-13 18:29:13 +03:00