Zaid Abdulla
f9c5272ce0
A number of fixes in sandbox and declaration processing
2016-11-10 07:07:51 -08:00
Zaid Abdulla
3b987cc0cc
Avoid generating RPCs for parameters that don't exist
2016-11-07 00:31:37 -08:00
Zaid Abdulla
b4bbd8f58c
Simplify declare function in scripts
...
Using declare function is made easier by accept a single path and returning
a promise to read parameter attributes.
2016-11-07 00:29:38 -08:00
Zaid Abdulla
044734b567
Some events related fixes
2016-11-03 14:42:38 -07:00
Zaid Abdulla
f9e96fe7f4
Workaround for missing parameters in GPN response
...
Some clients don't report certain parameters in GPN response but report
their descendants only. This patch attemps to add those missing
parameters assuming writable attribute being false.
2016-11-01 18:53:34 -07:00
Zaid Abdulla
60931e2b68
Fix bug where preset preconditions cause unnecessary GPN RPC
...
s
2016-11-01 18:22:35 -07:00
Zaid Abdulla
737266eae5
Replace Mongo query in preset precondition with flat filters
2016-11-01 18:20:19 -07:00
Zaid Abdulla
d50fd3d614
Read/write tags in scripts
2016-11-01 18:14:48 -07:00
Zaid Abdulla
1bbef345e0
Fix bugs related to tracking changes
2016-10-28 16:29:34 -07:00
Zaid Abdulla
7b0ea61596
Load available timestamp for parameters that don't exist
2016-10-28 16:27:40 -07:00
Zaid Abdulla
600ca58b99
Major restructuring and optimization
2016-10-24 18:26:19 -07:00
Zaid Abdulla
6e9bf5a027
Fix exception when generating MongoDB projection from query
2016-10-24 17:31:17 -07:00
Zaid Abdulla
b01f3d394e
Add values iterator in InstanceSet
2016-10-24 17:30:08 -07:00
Zaid Abdulla
15437361e1
Add iterator in PathSet for superset and subset combination
2016-10-24 17:21:46 -07:00
Zaid Abdulla
f24e05b7b6
Performance improvement in PathSet
2016-10-24 17:21:09 -07:00
Zaid Abdulla
739d215a92
Improve paramter set and load routines
2016-09-21 17:26:21 -07:00
Zaid Abdulla
de1a62b481
Remove some old code
2016-09-21 16:52:15 -07:00
Zaid Abdulla
bb55231cbd
Remove obsolete custom commands sample files
2016-09-15 21:55:59 -07:00
Zaid Abdulla
036368172c
Remove obsolete aliasing feature
2016-09-15 20:52:28 -07:00
Zaid Abdulla
b9e17c9add
Some bug fixes in extensions
2016-09-13 13:51:45 -07:00
Zaid Abdulla
f6ad84c885
Some bug fixes in session
2016-09-12 02:28:15 -07:00
Zaid Abdulla
a254ebbe0c
Fix bug where faults in new devices never get saved
2016-09-12 02:26:04 -07:00
Zaid Abdulla
b7370a6fb9
Reimplement and optimize device.set
2016-09-12 02:22:25 -07:00
Zaid Abdulla
f0b7fb3ec0
Some more bug fixes
2016-09-07 01:26:08 -07:00
Zaid Abdulla
942d929476
Implement support for reboot and factory reset methods
2016-09-07 00:07:04 -07:00
Zaid Abdulla
46870db18d
Some bug fixes
2016-09-06 23:53:46 -07:00
Zaid Abdulla
5134f8419c
Use relative depth in refresh task
2016-09-06 03:21:32 -07:00
Zaid Abdulla
b60682bf80
Fix bug in marking params to load on GPN reponse
2016-09-06 02:48:54 -07:00
Zaid Abdulla
7655ffefd9
Fix bug when determining NextLevel in GPN
2016-09-06 02:46:16 -07:00
Zaid Abdulla
ad38a7ccb1
Restructuring and optimization in provision processing
2016-09-06 02:38:08 -07:00
Zaid Abdulla
8e450f6ad0
Save _object field when _value is not available
...
When saving device, some parameters may not have _value field. In
such cases, save _object field (false) to avoid type ambiguity.
2016-09-06 01:55:24 -07:00
Zaid Abdulla
82596ad1fe
Fix occasional duplicate results in PathSet iterator
2016-09-06 01:50:29 -07:00
Zaid Abdulla
67d08ca1ff
Fix potential bug when saving session
2016-08-31 00:31:34 -07:00
Zaid Abdulla
1a66c67061
Fix infinite loading loop in new devices
2016-08-30 02:28:23 -07:00
Zaid Abdulla
4fecaf85f2
Optimize by reusing sync state object across requests
2016-08-30 00:27:43 -07:00
Zaid Abdulla
89e78b1335
Fix bug when fetching entire device data model
2016-08-29 20:00:32 -07:00
Zaid Abdulla
41fb97adef
Use variable to store active sessions
...
Keep session data in process for as long as the TCP connectoin is
open. Use redis if connection closes before the session is over.
2016-08-29 00:17:01 -07:00
Zaid Abdulla
e6aab4229d
A few fixes
2016-08-26 00:14:29 -07:00
Zaid Abdulla
1fe46061e0
Fix bug in GetParameterNames method
2016-08-24 19:00:24 -07:00
Zaid Abdulla
3fe418e0c8
Include channel, events, and schedule when hashing presets
2016-08-23 23:29:19 -07:00
Zaid Abdulla
96286b9d10
Implement API to delete faults
2016-08-23 21:01:56 -07:00
Zaid Abdulla
62fca64268
Include device ID and channel in faults
2016-08-23 21:01:03 -07:00
Zaid Abdulla
b8012c8698
Generic function to sanitize value types in Mongo query
2016-08-23 20:59:12 -07:00
Zaid Abdulla
67bcd7e526
New and improved fault management
...
This introduces the concept of "channel". Presets may belong to different
channels such that if one preset causes a fault, only presets belonging
to the same channel will be paused. Presets in other channels will continue
to be applied.
2016-08-23 01:06:25 -07:00
Zaid Abdulla
0a5697f06a
Implement creating and deleting instances
2016-08-16 13:28:50 -07:00
Zaid Abdulla
ac759e1d04
Clear descendants when a parameter is deleted
2016-08-16 13:17:14 -07:00
Zaid Abdulla
0b70658cd3
Unpacked parameters are now sorted
2016-08-16 13:12:52 -07:00
Zaid Abdulla
12a6cd7d8b
Clear any overlap when using Mongo's $unset operator
2016-08-16 13:12:27 -07:00
Zaid Abdulla
5fd869c6b9
Convert collection name to camel case in query API
2016-07-21 06:14:36 +03:00
Zaid Abdulla
d4ce4afcb3
Bumped version number to 1.1.0-alpha
...
And updated dependencies.
2016-07-20 09:04:58 +03:00