Coder Social home page Coder Social logo

maximeburri / docslock Goto Github PK

View Code? Open in Web Editor NEW
3.0 3.0 0.0 3.37 MB

Android documents reader for courses or exams, locked and synced by an administrative panel.

License: GNU General Public License v3.0

Java 34.16% TypeScript 18.49% JavaScript 38.09% CSS 1.10% HTML 8.16%
client examens kioskmode-android pdfs server

docslock's People

Contributors

cicciu avatar maximeburri avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

docslock's Issues

Add push notification

To send an notification for the update of the groups (status, is locked, which files, ...), there is Firebase Cloud Message by Google (https://firebase.google.com/docs/cloud-messaging/).

Steps :

Download pdfs

Depend on #27

When notification and lock finished, before lock :

  • Remove all old pdfs files
  • Create function who download list of link of files

Add documentation

  • architecture overview
  • view of client/server/app
  • sequence diagrams of communications
  • use of battery

Application not responding

Step to reproduce :

  1. Lock application
  2. Open status bar -> click on parameter button

By steve (On Samsung Tablet)

Automatic server discovery

When DocsLock is used within an intranet, it should automatically detect the server.
One way to achieve this is through the Zeroconf discovery technology.
A popular implementation of Zeroconf for Linux is Avahi.
This would allow the clients to discover the server by name and automatically receive the corresponding IP address.

Device does not take last state when close application

The state like the lock doesn't take the last state when close application.

Steps :

  1. Put a device in an unlock group
  2. Close app on device
  3. Lock the group
  4. The android app open but the device doesn't lock

Cause :

It is due to the update message only send by the service with onNewIntent. The new intent needs to be processed on onCreate.

Add connection status

Add connection status of device in android application and client application.

With WebSocket, it is possible to see if a device is not connected

Secure roots

In future, think to

  • Add users authentication
  • Secure routes for each users
  • Secure routes for each tablets

Add lock button in group

Add lock group :

  • Send notification to all tablets for lock
  • On tablet, send status when locked/unlocked (other issue)

Update readme, explication and diagram

Diagram with websocket server (without firebase)
Explication of installation

  • private network for security reason (not in https, not authenticated)
  • installation client/server/mongodb/tablet

Put the project in public

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.