Commit Graph
100 Commits
Author SHA1 Message Date
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
Zaid Abdulla 0934831fa1 Use default normalizer if parameter type isn't specefied in parameter config 2013-03-23 23:54:18 +03:00
Zaid Abdulla e247eaaef8 Updated parameter aliases 2013-03-22 19:35:02 +03:00
Zaid Abdulla 52bbd6c4a0 Fixed invalid json in API query results. Added total count in response header. 2013-03-22 19:33:32 +03:00
Zaid Abdulla bbbe881ca4 Include aliases in device objects when querying 2013-03-22 14:01:55 +03:00
Zaid Abdulla c3eb8c157d Added projection in query API 2013-03-22 13:06:27 +03:00
Zaid Abdulla cc68d3b62e Added options to expire tasks and prevent duplicates. 2013-03-22 00:53:40 +03:00
Zaid Abdulla de2edd0438 Using connection:keep-alive and connection:close headers in response 2013-03-20 22:47:32 +03:00
Zaid Abdulla 6b76e5b0b2 Record number of retries when retrying a task 2013-03-20 19:47:54 +03:00
Zaid Abdulla 238437e516 Fixed bug where writable parameters are not marked as such 2013-03-20 19:47:08 +03:00
Zaid Abdulla e117f9ceb3 Added query API with parameter aliasing. Improvements to parameter value normalization. 2013-03-19 20:45:35 +03:00
Zaid Abdulla 56fa1f03e4 Cleaned up value normalization code 2013-03-15 22:33:25 +03:00
Zaid Abdulla 8f30fc7d09 Added ping functionaltiy 2013-03-02 19:33:11 +03:00
Zaid Abdulla 488afa53bb Changed path for delete, retry actions on tasks 2013-03-01 18:07:33 +03:00
Zaid Abdulla dcfd102f9c Add functionality in API to delete or retry a task 2013-03-01 14:11:08 +03:00
Zaid Abdulla 39a5ff8a9a Firmware upgrade now functional 2013-02-22 22:37:51 +03:00
Zaid Abdulla e15f42a531 Properly unescape device ID in API calls 2013-02-22 22:25:16 +03:00
Zaid Abdulla 20fa79c0a3 Implemented HTTPS support 2013-02-18 14:48:21 +03:00
Zaid Abdulla 85fc5edc8d File server and API fixes 2013-02-18 09:02:04 +03:00
Zaid Abdulla 19570d305f Moved file upload functionality from files.coffee to api.coffee 2013-02-10 12:25:21 +03:00
Zaid Abdulla 3642ced941 A perl script to be used as a reference when specifying default ACS and connection request credentials in firmware 2013-02-08 19:26:32 +03:00
Zaid Abdulla 84418818f8 Percent escaping OUI, serial number, product class in device ID string 2013-02-08 19:19:48 +03:00
Zaid Abdulla 4878d4a312 Added CINR and RSSI paths for Seowon CPEs 2013-02-07 16:01:43 +03:00
Zaid Abdulla 5ba4dce248 Ignore GetParameterValues errors during initialization step 2013-02-07 16:01:08 +03:00
Zaid Abdulla 22ed899657 Changes to how tasks are handled to allow better fault handling 2013-02-07 12:07:02 +03:00
Zaid Abdulla 88c506299c Allow spaces in device ID. Parse xsd:int values. 2013-01-30 00:40:13 +03:00
Zaid Abdulla 49e689f7e9 Initial support for file transfer 2013-01-22 20:23:38 +03:00
Zaid Abdulla 462e9e3afd Major updates paving the road support ACS methods 2013-01-22 11:48:24 +03:00
Zaid Abdulla 3ce097359c Some variable name refactoring 2013-01-21 12:04:02 +03:00
Zaid Abdulla 6fb27bea51 Removed monngodb export from db module 2013-01-20 11:29:51 +03:00
Zaid Abdulla ef765df7e6 Initial implementation of the file download daemon 2013-01-20 10:38:54 +03:00
Zaid Abdulla bdbcbbb193 Instead of saving, only set fault property when receiving fault response. 2013-01-19 00:49:54 +03:00
Zaid Abdulla 5b7e937cd8 Fixed major bug caused by having request variables in the global scope. Add ability to sepecify devices for which requests/responses will be dumped to file. 2013-01-18 16:24:13 +03:00
Zaid Abdulla ece1289ff8 Recognize 'yes' as boolean true whem matching variable types 2013-01-17 01:40:59 +03:00
Zaid Abdulla 46119e1377 Ignore gracefully if task in request cookie doesn't exist 2013-01-16 22:51:18 +03:00
Zaid Abdulla 60bda6921a In case of fault response, store the fault and don't process any new task until fault is cleared. 2013-01-16 15:30:48 +03:00
Zaid Abdulla d739adc32c Handle inavailability of cache gracefully. No longer crashes when memcache is not available. 2013-01-15 22:01:57 +03:00
Zaid Abdulla cd67e50062 In presets, ignore config parameters that don't exist in the device 2013-01-15 16:34:18 +03:00
Zaid Abdulla 77d1c86b86 Added boolean support to type matching 2013-01-15 15:26:56 +03:00
Zaid Abdulla 5c834568ab Match the existing parameter type when applying configuration 2013-01-14 16:17:50 +03:00
Zaid Abdulla c568bb6332 Fixed bug in presets adding invalid setParameterValues task 2013-01-13 16:15:55 +03:00
Zaid Abdulla 2d462eb11a Renamed profiles to presets in API 2013-01-13 12:51:04 +03:00
Zaid Abdulla 04b92945fe Renamed profiles to presets. Added preconditition. 2013-01-12 16:08:15 +03:00
Zaid Abdulla 5d95f6039b Added profile support for refreshing param value 2013-01-07 16:07:41 +03:00
Zaid Abdulla 2b5a1b2ff0 A little bit of cleanups and modifications on profiles 2013-01-07 11:32:15 +03:00
Zaid Abdulla 7eed5cd4d0 Delete cached profiles hash when saving/deleting profiles 2013-01-03 16:26:52 +03:00
Zaid Abdulla 4c0d33f575 Initial profiles support. Needs more testing. 2013-01-03 14:57:30 +03:00
Zaid Abdulla d636c31940 Moved mongo and memcached connection into a separate module 2012-12-27 14:13:48 +03:00
Zaid Abdulla 83d05462bf Bug fixes in ACS 2012-12-26 12:54:20 +03:00
Zaid Abdulla 76758f35b3 Bug fix in API 2012-12-26 12:51:16 +03:00
Zaid Abdulla 813bd836f5 Optimized new device detection 2012-12-25 11:18:54 +03:00
Zaid Abdulla 89a114434a Add or remove devices tags 2012-12-23 18:38:29 +03:00
Zaid Abdulla 07e9fec967 Removed read operations from the API 2012-12-23 16:45:21 +03:00
Zaid Abdulla 658d54fa9c Fixed cache expiration 2012-12-21 00:05:46 +03:00
Zaid Abdulla 20992e8630 Fixed bug causing request/response logs to not be written to disk 2012-12-20 23:52:45 +03:00