Giter Site home page Giter Site logo

android-dashboard's People

Contributors

chmelar avatar cima avatar esumin avatar mosladil avatar msimek avatar tchmelar avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

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

Forkers

xcodez

android-dashboard's Issues

Incorrect values reported in some tiles

This is caused by the fact that webadmin's dashboard combines several values to obtain some value. This is internal knowledge and thus this bug can only be solved by Control developers.

System Status / Intrusion Prevention reports 'Working properly' in spite of disabled IPS (original web admin dashboard reports 'Disabled' as expected.) Other statuses does not match the web based dashboard as well (e.g. System Status -> Antivirs, License info-> Antivirus etc.). The application logic from web admin code was not implemented in the mobile app.

The System tile displays 'Linux' instead of Control box series and actual box serial number when a Control box is added to the app. It works well in web based dashboard.

Indication that tile obtained new data

Indication that dashboard is still working and is not stuck... Some (about 1 sec long) indication, that new data was successfully received and no problem was encountered.

Notifications are missing

Notifications are not visible, neither 'info', 'warning' or 'error' severity. But on some other devices they are OK.

Next notification problem si that they sometimes dissappear from dashboard screen after reload.

This is reported from device Nexus 10 with Android 4.3 (kernel 3.4.39-g446c9cf) build JWR66Y

Only one column of tiles is visible

Default dashboard configuration is rendered incorrectly - half of tiles is missing untiul admin reconfigures the web based dashboard content.

Loading icon after resume

Neverending 'Loading data...' overlay is visible when the app becomes active while some host dashboard is opened (see the screenshot bellow). On the contrary, the loading of dashboard data lacks the 'Loading...' indicator (see bellow).
app-neverending-loading

Wrap JSON request into objects generated by IDL4JSON

This is combined issue. It requires bit refactoing on Autotest's JSON api client so it is not so tightened to to Jabsorb and thus Jabsorb can be interchanged for Android's Json-java maping. Then we can our json-api-client together with objects generated by IDL4JSON. This approach is clean and sustainable. Also it is necessary for API versioning which will be sooner or later necessary.

Impropper session handling

According to the Config log the app opens many web admin sessions without closing them. It seems they are closed by timing out. Every reload creates a new web admin sesion.

This can induce problems with missing/disappearing notifications or slow loading.

Avoid using instanceof operator in Handler-Tile

Change approach so function setData(Object data) is either particular or the data passing is completely different. One possibility is to use Templates from Tile, but com.kerio.dashboard.gui.tiles.Frame composition must be resolved somehow.

Traffic optimalization

For now, every tile sends its own requests via apiclient (which can handle only one request at a time) which couses delays AND redundancy of requested data (two tiles wants the same data, but each of them has to request them itself)

Possible solution would be an object, which will send one batch of requests and store the data and tiles would access the data in there.

Certificate trust management

Current implementation uses trustmanagement that accepts any certificate, which allows man in the middle attack. Propper verification is necessary. Also possibility to add an exception is needed. Finaly it'd be nice if such an exception could be removed.

Remove "typdef" Pairs

Remove typedef com.kerio.dashboard.gui.tiles.TextTile.Pairs and use propper typing such as Map<K,V> and instantiation like HashMap<K,V>.

Antivirus tile

Implement tile that reports status of antivirus on monitored server.

Store password encrypted

Password for server is most probably stored in plain text. There must be system function that will provide password protection using some encryption. Password for firewall is really sensitive information and thus must be protected.

Ask user before deleting server

It is now quite dangerous to edit server settings, because if you accidentally hit delete button, server is immediately removed. The delete button is right above OK and cancel buttons. Enough efficient solution is to insert message box with YES/NO buttons after clicking the delete button.

Menu access from all screens

It'd be nice to be able to access settings menu from all screens (activities), not only from the main screen (main activity).

Invisible allert icon

Inaccessible host has 'red dot' icon, accessible host is indicated by 'green dot' icon, but accessible host with untrusted certificate has strange 'white triangle on white background' icon.
Default system icon is white, so cusotm icon shall be used.

Tile data realtime update

Top Active Hosts data does not update in realtime (it works in other tiles).
VPN Info data does not update in realtime (it works in other tiles).

This is matter of connection handling and particular updater.

Localization of notifications

Implement mechanism for downloading, parsing, caching and using localizations from web admin for notification. It is stored in JSON in webadmin and can be easily parsed into object, which can be reduced and cached in persistent memory for further use. First and last row of downloaded file must be ommitted, because it is part of bigger javascript (not JSON), but it is not a big deal.

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.