Coder Social home page Coder Social logo

devicehive / devicehive-admin-console Goto Github PK

View Code? Open in Web Editor NEW
17.0 17.0 15.0 1016 KB

[DEPRECATED] DeviceHive OLD admin console (For the newest version please follow https://github.com/devicehive/devicehive-admin-panel)

License: Apache License 2.0

CSS 2.52% JavaScript 85.40% HTML 11.97% Shell 0.11%

devicehive-admin-console's People

Contributors

amedviediev avatar apanevin avatar demon-xxi avatar dgrudzynskyi avatar dmitryanansky avatar imlvts avatar jkulagina avatar mshatalov avatar mykytaliashenko avatar natalia-chikina avatar nikolay-kha avatar ogumennyi avatar sitnik avatar sorjef avatar tmatvienko avatar uazure avatar vyrostkov avatar yuryoff avatar zubrabubra avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

devicehive-admin-console's Issues

Long polling timestamp update on command update

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.

Device details screen redirects to login screen for non Admin user

[10/1/2015 12:32:45 PM] Artem Sorokin: Steps to reproduce:

  1. Create user
  2. Create network
  3. Register device in the user network
  4. Go to device details
    [10/1/2015 12:32:55 PM] Artem Sorokin: Actual result:
    User is logged out
    [10/1/2015 12:33:05 PM] Artem Sorokin: Expected result:
    User can see device details

screenshot

Access key permission with an empty array action field is parsed as "Any Action"

Instead of that it should be parsed as "No Actions Permitted". "Any Action" permission is a permission where the "action" field is null.

"Any Action" example

{  
   "id":1,
   "label":"test",
   "key":"exampleKey",
   "expirationDate":null,
   "permissions":[  
      {  
         "domains":null,
         "subnets":null,
         "actions":null,
         "networkIds":null,
         "deviceGuids":null
      }
   ]
}

"No Actions Permitted" example

{  
   "id":1,
   "label":"test",
   "key":"exampleKey",
   "expirationDate":null,
   "permissions":[  
      {  
         "domains":null,
         "subnets":null,
         "actions":[],
         "networkIds":null,
         "deviceGuids":null
      }
   ]
}

Problem when installing this admin console manully

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".

Latest changes from stable branch not published on docker.com

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?

Please add 404 error handling for notifications and commands polling

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.