Zaid Abdulla
33b01d68ca
Support add/remove objects from presets and tasks
2016-12-29 13:04:11 -08:00
Zaid Abdulla
2ca3ec86a8
Move default provisions to a separate file
...
And reuse the same set of default provisions for presets and tasks.
2016-12-28 16:14:54 -08:00
Zaid Abdulla
ee40a44339
Remove use of domains for error handling
2016-12-23 17:32:08 -08:00
Zaid Abdulla
3d221afc27
Implement support for download RPC
...
This uses special parameters (Downloads.) to trigger file download
making it poossible to use from scripts declaratively.
Resolves : #171
2016-11-30 16:27:01 -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
737266eae5
Replace Mongo query in preset precondition with flat filters
2016-11-01 18:20:19 -07:00
Zaid Abdulla
3fe418e0c8
Include channel, events, and schedule when hashing presets
2016-08-23 23:29:19 -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
a1ce53bf03
Implement preset triggers on device events
2016-07-20 08:47:37 +03:00
Zaid Abdulla
d9f8b1c695
Implement cron-like scheduling for presets
2016-07-20 07:03:24 +03:00
Zaid Abdulla
18e7e9e615
Add missing "new" operator to create Script objects
2016-07-12 04:13:27 +03:00
Zaid Abdulla
7b18cb3bbf
Virtual parameters
...
Implemented support for user-defined parameters driven by Javascript
code. Renamed scripts collection to provisions.
2016-04-17 18:54:48 +03:00
Zaid Abdulla
48d9adbaff
Scripting in presets
...
User defined scripts can now be used in presets allowing dynamic values
and complex provisioning workflow.
2016-03-26 02:16:37 +03:00