devicehive / devicehive-admin-console Goto Github PK
View Code? Open in Web Editor NEW[DEPRECATED] DeviceHive OLD admin console (For the newest version please follow https://github.com/devicehive/devicehive-admin-panel)
License: Apache License 2.0
[DEPRECATED] DeviceHive OLD admin console (For the newest version please follow https://github.com/devicehive/devicehive-admin-panel)
License: Apache License 2.0
Command long polling logic, in a case when some command has been updated, does not update global timestamp. Therefore the polling flow works like a short polling flow with a lot of requests to the server.
Instead of that it should be parsed as "No Actions Permitted". "Any Action" permission is a permission where the "action" field is null.
{
"id":1,
"label":"test",
"key":"exampleKey",
"expirationDate":null,
"permissions":[
{
"domains":null,
"subnets":null,
"actions":null,
"networkIds":null,
"deviceGuids":null
}
]
}
{
"id":1,
"label":"test",
"key":"exampleKey",
"expirationDate":null,
"permissions":[
{
"domains":null,
"subnets":null,
"actions":[],
"networkIds":null,
"deviceGuids":null
}
]
}
This is needed for playground integration issue devicehive/devicehive-playground#9
If restEndpoint is not configured, resolve it using requestUrl/defaultRelativeUrl. defaultRelativeUrl can be "rest/api" accordingly to this issue
Please, need I install some dependency after modifying nginx.conf and script.js? When I open the web brower, there are so many errors like "Uncaught TypeError: Cannot read property 'config' of undefined".
Right now, change password form requires current non empty password to operate.
We need to allow changing password with current empty, assuming auth token is passed to server.
The latest version of Devicehive-standalone image on hub.docker.com didn't include last fix with remove hard coded domain in config.js. Therefore login into admin console with default dhadmin credentials doesn't work. Could you please publish a new Devicehive-standalone with before mentioned fix?
Steps to reporduce:
Open in browser device notifications/commands,
In other one delete this device
Actual result: admin panel continue tries to poll notification/commands. IIS logs has thousand log lines per sec such as:
2015-01-30 11:27:32 ::1 GET /DeviceHive.API/device/9F21C445-A906-429F-84AF-348947D34791/notification/poll timestamp=2015-01-23T14%3A25%3A42.464000 80 - ::1 Mozilla/5.0+(Windows+NT+6.3;+WOW64)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/40.0.2214.93+Safari/537.36 http://localhost/DeviceHiveAdmin/ 404 0 0 3
And log files sizes highly increased in size up to hundreds of Mb.
Expected result: admin panel stop polling, shows user friendly message
For offline environments would be nice to run console without cdn dependencies.
I recommend adding build tool like webpack and maybe having an option there to download scripts for offline use
A new access key with "Any Action" permission is created
Access key with "No Actions Permitted" permission is created
An order of notifications is mixed up when they have exactly the same timestamp inside the database. Notification id should also be considered as a secondary sort order.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.