Git Product home page Git Product logo

labadmin's People

Contributors

alacuku avatar alessandromnc94 avatar lorenzoromagnoli avatar mastrolinux avatar matjack1 avatar vongomben avatar xrmx avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

labadmin's Issues

User registration

User should be able to register themselves filling all the user profile fields on a form and then an admin can activate them.

[CL] buying credits

Find a stripe+paypal based solution to update credits

La ricevuta potrebbe essere anche solo aggiornare un google spreadsheet

Cannot delete cards

For some reason we have registered cards with no users associated, when I try to remove them I get this error:
screen shot 2017-06-14 at 12 18 55 2

I tried associating this cards with fake user profiles to then delete them, but still no luck. Cards are still there and sometime they get in conflict with other profiles. Not sure about this last behaviour. Will make some research about it.

Upgrading to a newer version not working

when I run
sudo -H -u labadmin ../venv/bin/pip install https://github.com/OfficineArduinoTorino/LabAdmin/archive/v0.4.0.zip

I get
Traceback (most recent call last): File "../venv/bin/pip", line 11, in <module> sys.exit(main()) File "/var/www/labadmin/venv/lib/python3.5/site-packages/pip/__init__.py", line 215, in main locale.setlocale(locale.LC_ALL, '') File "/usr/lib/python3.5/locale.py", line 594, in setlocale return _setlocale(category, locale) locale.Error: unsupported locale setting

[CL] mail digest

Ogni utente admin o coordinatore può scegliere dal proprio profilo di scegliere o no di ricevere un digest sull'uso di una specifica macchina, di tutte, del consumo di crediti, degli aggiornamento alla variabili (#43), ecc...

L'admin deve poter configurare la frequenza con cui mandare le email.

Potrebbe essere interessante gestire tuttle le notifiche come uno stream di log dove vanno a finire tutte e possono essere filtrate.

BIsogna poter gestire delle soglie per filtrare se far passare un evento o meno, una soluzione economica è filtrare direttamente da template di django.

Una mail standard viene inviata all'utente quando gli viene creato l'account.

[WEB] TODO

Ad una prima vista, il sito é assolutamente ugale a quello proposto (figo).

Alcune richieste

  • l'header dovrebbe essere solido (anche nero, o blu)
  • lo spazio nero tra il priom ed il terzo step si può togliere?
  • index.html, ma anche contacts.html machines.html space.html blog.html hanno dentro hardcodati dei contentui che andrebbero portati fuori, in config.yaml o in posts (se me lo fai per uno posso capirne come riproprolo per gli altri)

[CL] add different roles

Al momento su labadmin ci sono solo utenti admin e utenti normali. Dovremmo creare un utente "coordinatore" con privilegi di visualizzazione e modifica dati di utenti normali, e con la possibilità di creare altri utenti normali con modifica crediti e visualizzazione altri dati.

L'idea è che ci sia una gerarchia di permessi di utenti ed un utente possa creare utenti con un livello di permessi più basso.

creazione di una view per il coordinatore degli utenti normali (diversa dal panello admin di django)

Missing dependency Pillow

After setup.py install, trying to run migrations fails with this message:

$ testSite/manage.py migrate
SystemCheckError: System check identified some issues:

ERRORS:
labAdmin.UserProfile.picture: (fields.E210) Cannot use ImageField because Pillow is not installed.
        HINT: Get Pillow at https://pypi.python.org/pypi/Pillow or run command "pip install Pillow".

Solved by pip install Pillow

[CL] add multiple variables (besides credits) per user

Ogni utente può avere una o più variabili univoche, di tipo boolean, string o interi, aggiornabili da devices, che si comportano come i crediti.

La variabile viene associata ad una macchina ed un utente che ha i permessi per usare la macchina può creare una serie di instanze di aggiornamento di questa variabile.

Le variabili devono essere visualizate dalla pagina di profilo utente.

Helping Users

Allow pro users to help newbies by swiping both cards at once

Telegram Digest

Viene notificato un gruppo o un utente singolo di Telegram con un contenuto simile a quello che riceve nella mail digest #46

Creazione Sito / Landing Page

Per l'evento di Didacta (18-20 Ottobre) é necessario produrre un piccolo sito che aiuti l'utenza (studenti e docenti) a capire la value propostion e le istruzioni per replicare il sistema in loco.

Ho elencato qui in sommi capi le caratteristiche del sito.

  1. realizzazione sitino (labadmin.io) hostato su una github page che di fatto é su questo stesso repository, ma su un altro brach[1]. Il sito é fatto in un sistema di generazione di siti statici [2] con landing page con spiegazione bilingue del progetto, consistente in
    1.1 mappa (italia) su processo di adozione,
    1.2 form per fornire il proprio luogo e dire che si é interessati ad adottarlo o lo si é adottato
    1.3 Tutorial su come installarlo su una PI o su un PC
    1.4 link al Discord per aiutare gli utenti e rafforzare la community
    1.5 gestione commenti: https://disqus.com/
    1.6 piccolo blog

Spero di non aver dimenticato nulla, nel caso aggiungo

Consiglio: date un occhio ai numerosissimi temi per jekyll[3] e hugo[4], i due principali sistemi di generaione statica di html.

[1] https://help.github.com/articles/what-is-github-pages/
[2] https://www.staticgen.com/
[3] http://jekyllthemes.org/
[4] https://themes.gohugo.io/

Support notifications over mqtt

We want to integrate with other tools like home assistant easily, so being able to send notifications for open door by nfc at least. We'll start simple by assuming the mqtt broker is on localhost and so the network is reliable :)

[CL] booking machines

labadmin é in grado di creare eventi su uno specifico google-calendar inibendone la possibilità ha chi no ha quel "device" attivo sul suo profilo.

Deve gestire anche il doppio evento.

il calendario può rimanere pubblico

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.