Zaid Abdulla
c5553d95c5
Get rid of partial param loading mechanism
...
Simplify device loading for better performance in most case, and the
potential for further optimizations to follow.
2019-06-05 00:17:36 -07:00
Zaid Abdulla
f4c9321d4d
Implement SOAP processor using our new XML parser
2019-06-05 00:17:36 -07:00
Zaid Abdulla
bec74a4995
New XML parser implementation
...
Custom XML parser implementation in pure JS that's orders of magnitude
faster than libxmljs mainly due to the overhead of JS-native calls in
libxmljs.
2019-06-05 00:17:36 -07:00
Zaid Abdulla
c3501debd5
Async/await let's go!
2019-06-05 00:17:36 -07:00
Zaid Abdulla
7e78336141
Implement evaluateAsync for expressions
2019-06-05 00:17:36 -07:00
Zaid Abdulla
c6db1edc5f
Merge branch 'v1.2'
2019-04-04 13:02:01 -07:00
Zaid Abdulla
2c9e7e8e29
Replace auth.js script with config expression
2019-03-15 02:21:46 -07:00
Zaid Abdulla
f878d828eb
Refactor code to use Path class
2019-02-26 01:38:23 -08:00
Zaid Abdulla
006f83a478
Path class
2019-02-24 12:48:27 -08:00
Zaid Abdulla
5d3c81cb23
TypeScript!
2019-02-20 03:36:52 -08:00
Zaid Abdulla
ee8c43747e
Refactor components
...
Implement context mechanism to pass default attributes to descendant
components.
2019-02-12 23:11:27 -08:00
Zaid Abdulla
14013627e2
Move extension-wrapper to bin
2019-02-04 23:47:54 -08:00
Zaid Abdulla
1e41c72d60
Convert backend code to ES modules
...
Bundling code now with Rollup for its flat bundling and tree shaking
support. Front end code still goes through Webpack for browser support.
2019-02-04 23:47:54 -08:00
Zaid Abdulla
824639976f
Remove redis
2019-02-04 23:47:54 -08:00
Zaid Abdulla
655e946406
Fix issue in handling 9005 fault
2019-01-28 18:39:49 -08:00
Zaid Abdulla
8c71640da6
Fix VersionedMap deserialization issue
...
Resolves #334 .
2019-01-28 18:38:40 -08:00
Zaid Abdulla
192ed6b034
Fix subtract and divide in expression.evaluate
2019-01-16 03:11:45 -08:00
Zaid Abdulla
0b59811924
Build script
...
A build process that generates a package with single executable for each
component.
2019-01-04 01:13:47 -08:00
Zaid Abdulla
819e8a52a3
Load config from DB
2018-12-27 22:23:37 -08:00
Zaid Abdulla
4530967b6b
Merge remote-tracking branch 'ui/master'
2018-12-27 22:22:44 -08:00
Zaid Abdulla
cdaad02fff
Convert param value to text when redering
...
False boolean values would otherwise not be rendered correctly.
2018-12-27 01:21:18 -08:00
Zaid Abdulla
b6f2a33b3f
Allow hypen in param name
2018-12-27 01:21:18 -08:00
Zaid Abdulla
a2b402c690
Add delay in all-parameters search
2018-12-27 01:21:18 -08:00
Zaid Abdulla
043b54fdd6
Fix page scroll issue in autocomplete-component
2018-12-27 01:21:18 -08:00
Zaid Abdulla
e1c340f4bc
Fix style issues for long-text elements
2018-12-27 01:21:18 -08:00
Zaid Abdulla
46c1781816
Better chunked-encoding implementation
2018-12-27 01:21:18 -08:00
Zaid Abdulla
16c8871102
Ensure selected filter suggestion remains in view
2018-12-27 01:21:18 -08:00
Zaid Abdulla
3e455d6cbc
Use value attr for textarea
...
Because setting content as child text node seems to confuse Mithril. I
suspect that's because it uses 'value' property to get/set textarea
content.
2018-12-27 01:21:18 -08:00
Zaid Abdulla
aa55dcef8f
Fix sort bug in API
2018-12-27 01:21:18 -08:00
Zaid Abdulla
b1c684fc9f
Fix converting empty like pattern to regex
2018-12-27 01:21:18 -08:00
Zaid Abdulla
18c31ae934
Fix date parsing in flattenDevice
2018-12-27 01:21:18 -08:00
Zaid Abdulla
4e378d4dff
Show fault message and detail in faults page
2018-12-27 01:21:18 -08:00
Zaid Abdulla
44471d5f5e
Fix table width overflow
2018-12-27 01:21:18 -08:00
Zaid Abdulla
f475565365
Save preset weight as int
2018-12-27 01:21:18 -08:00
Zaid Abdulla
dc822cab9b
Make serial in device list into a link
2018-12-27 01:21:18 -08:00
Zaid Abdulla
ed3b7b57c3
Move put form out of components directory
2018-12-27 01:21:18 -08:00
Zaid Abdulla
bae54300a7
Fix bug in param timestamp tooltip
2018-12-27 01:21:18 -08:00
Zaid Abdulla
c702003c32
Add linting rules
2018-12-27 01:21:16 -08:00
Zaid Abdulla
75a5a42296
Optimize CSV download
2018-12-26 00:22:07 -08:00
Zaid Abdulla
4ad416eccd
Small perf improvement in flattenDevice
2018-12-26 00:22:07 -08:00
Zaid Abdulla
cb183d1c56
Fix exception when attempting to push file
2018-12-26 00:22:07 -08:00
Zaid Abdulla
9ccc7b9d24
Change sort symbols
2018-12-26 00:22:07 -08:00
Zaid Abdulla
5b84b1daad
Implement autocomplete and smart queries
2018-12-26 00:22:07 -08:00
Zaid Abdulla
518254aa55
Fix bug in Mongo query conversion
2018-12-26 00:22:07 -08:00
Zaid Abdulla
6ab9ba800c
Add horizontal scrollbar to index table
2018-12-26 00:22:07 -08:00
Zaid Abdulla
41938b4667
Task drawer sexification
2018-12-26 00:22:07 -08:00
Zaid Abdulla
6ae61b2763
Auth refactoring
2018-12-26 00:22:07 -08:00
Zaid Abdulla
c2d6c85e5d
Fix chunked encoding issue
2018-12-26 00:22:07 -08:00
Zaid Abdulla
6266ab5422
Hide null params in parameter-list
2018-12-26 00:22:07 -08:00
Zaid Abdulla
562cbec573
Use pageSize config
2018-12-26 00:22:07 -08:00
Zaid Abdulla
aa14189531
Redirect to login when not authorized
2018-12-26 00:22:07 -08:00
Zaid Abdulla
a49cbc5e40
Implement CSV download
2018-12-26 00:22:07 -08:00
Zaid Abdulla
24b047bd5e
Update dependencies
2018-12-26 00:22:07 -08:00
Zaid Abdulla
afd1a61696
Implement LIKE operator
2018-12-26 00:22:07 -08:00
Zaid Abdulla
9fb2d84324
Use chunked encoding for search response
2018-12-26 00:22:07 -08:00
Zaid Abdulla
b77f98a8cb
Implement query sorting
2018-12-26 00:22:07 -08:00
Zaid Abdulla
db900622a0
Fetch directly from db instead of API
2018-12-26 00:22:07 -08:00
Zaid Abdulla
2319f8d698
Add .gitignore
2018-12-26 00:22:07 -08:00
Zaid Abdulla
c2d13e8364
Replace Filter class with expression structure
...
This is in order to be able to support UPPER() and LOWER() functions in
queries which are needed for case-insensitive search.
2018-12-26 00:22:07 -08:00
Zaid Abdulla
7194fcab44
Move component labels to containers
2018-12-26 00:22:07 -08:00
Zaid Abdulla
30dbf0cf40
Use nested config structure
2018-12-26 00:22:07 -08:00
Zaid Abdulla
581a510960
Implement overlay popup
2018-12-26 00:22:07 -08:00
Zaid Abdulla
99e7c8a14c
Implement download tasks
2018-12-26 00:22:07 -08:00
Zaid Abdulla
cfb62adfe8
Fix GET,HEAD,DELETE 404 bug
2018-12-26 00:22:07 -08:00
Zaid Abdulla
f150d44485
Fix special case filter by tag
2018-12-26 00:22:07 -08:00
Zaid Abdulla
722355ca57
Implement ping component
2018-12-26 00:22:07 -08:00
Zaid Abdulla
8b540c2a97
Format timestamps according to client locale
2018-12-26 00:22:07 -08:00
Zaid Abdulla
d222e488c2
Fix taskQueue premature promise resolution
2018-12-26 00:22:07 -08:00
Zaid Abdulla
12cdc8a6f1
Add functions for DB access
2018-12-26 00:22:07 -08:00
Zaid Abdulla
327cb78f1a
Implement authentication and access control
2018-12-26 00:22:07 -08:00
Zaid Abdulla
e1bdcda191
Support nested parameter tables
2018-12-26 00:22:07 -08:00
Zaid Abdulla
16b10a698b
Implement tags
2018-12-26 00:22:07 -08:00
Zaid Abdulla
8e128500d0
Implement reboot, reset, and delete
2018-12-26 00:22:07 -08:00
Zaid Abdulla
3786f71565
Implement all params component
2018-12-26 00:22:07 -08:00
Zaid Abdulla
957417837e
Some refactoring
2018-12-26 00:22:07 -08:00
Zaid Abdulla
3cfac28fb1
Implement faults page
2018-12-26 00:22:07 -08:00
Zaid Abdulla
b24c3626ac
Implement task queue and notifications
2018-12-26 00:22:07 -08:00
Zaid Abdulla
9b827c5f5e
Generalize store quering functions
2018-12-26 00:22:07 -08:00
Zaid Abdulla
a7e07cbde9
Improve devices page filter
2018-12-26 00:22:05 -08:00
Zaid Abdulla
ea2e3707e3
Support value expressions in filter
2018-12-26 00:20:47 -08:00
Zaid Abdulla
0e6f08b68b
Implement function to stringify query
2018-12-26 00:20:47 -08:00
Zaid Abdulla
9253ffc584
Parse query functions
2018-12-26 00:20:47 -08:00
Zaid Abdulla
ccf548081f
Implement filter in devices page
2018-12-26 00:20:47 -08:00
Zaid Abdulla
eda43083ec
Implement parser for SQL-like queries
2018-12-26 00:20:47 -08:00
Zaid Abdulla
1c9061ab5a
Implement layout and device list page
2018-12-26 00:20:45 -08:00
Zaid Abdulla
85aadf6cb1
Fix bug saving falsy attributes
2018-12-18 02:21:10 -08:00
Zaid Abdulla
e909d783e2
Refactor local cache
2018-12-14 13:24:59 -08:00
Zaid Abdulla
8b18f97d12
Update dependencies and bump version number
2018-12-10 14:51:34 -08:00
Zaid Abdulla
40a39f089f
Apply eqeqeq lint rule
2018-12-10 14:42:45 -08:00
Zaid Abdulla
61ac4d7fa5
Fix bug fetching precondition params
2018-12-06 00:50:32 -08:00
Zaid Abdulla
c5efaacb79
Recover from invalid parameter name faults
...
A fault can happen if a parameter no longer exists. This code attempts
to recover from the fault by refreshing the relavent parameters.
2018-12-03 22:58:42 -08:00
Zaid Abdulla
dfc8928a71
Update MongoDB connector
2018-12-02 02:54:54 -08:00
Zaid Abdulla
ea8273556f
Update CHANGELOG.md
2018-11-30 01:30:25 -08:00
Zaid Abdulla
bbc2853cab
Fix updating tags from script
2018-11-30 00:14:51 -08:00
Zaid Abdulla
b9e30e97d8
More coffee to js fixes
2018-11-13 16:58:15 -08:00
Zaid Abdulla
91626a3de5
Fix a couple of coffee to js conversion blunders
2018-10-31 09:08:50 -07:00
Zaid Abdulla
476532af54
Fix crash when declare timestamps are missing
2018-10-22 15:45:09 -07:00
Zaid Abdulla
1a56915d4b
Defer tail declarations
...
declare() calls that aren't followed by commit() are applied at the end
of the provision script. This change defers those until all provisions
have been executed. This prevents certain cases of preset loop faults.
2018-09-15 00:09:58 -07:00
Zaid Abdulla
ec215ffb82
Optimize XML parsing
...
Using XPath expressions appears to be expensive so that has been
replaced with direct child node access. This seems to have improved
performance by 5%.
A side effect of this change is that XML_IGNORE_NAMESPACE option is
no longer needed as namespaces are ignored by default.
2018-09-08 23:49:34 -07:00
Zaid Abdulla
037aa9786d
Optimize PathSet
...
Performance has not been tested but generally avoiding sparse arrays
should result in better performance.
2018-09-08 23:49:14 -07:00