officinearduinotorino / labadmin Goto Github PK
View Code? Open in Web Editor NEWThis project forked from fablabtorino/labadmin
Manage user rights to access the lab and the machines
License: Other
This project forked from fablabtorino/labadmin
Manage user rights to access the lab and the machines
License: Other
User should be able to register themselves filling all the user profile fields on a form and then an admin can activate them.
Find a stripe+paypal based solution to update credits
La ricevuta potrebbe essere anche solo aggiornare un google spreadsheet
For some reason we have registered cards with no users associated, when I try to remove them I get this error:
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.
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
Aggiungere notifiche via mail (io pensavo usando SES) per notificare agli utenti user/password
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.
Credits is not showing up in the user profile page.
Ad una prima vista, il sito é assolutamente ugale a quello proposto (figo).
Alcune richieste
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)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)
Add the search bar in user profiles.
Right now the logs do not display what device made the request. There should also be a special "unknown" device if the token is not recognized.
essenziale per telegram ì, interessante per fb o tw
creazione di una view per il coordinatore degli utenti normali (diversa dal panello admin di django)
Hope the tilte is self-explanatory
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
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.
You should be able to download a script uploaded from the admin interface with the proper token substituted for the selected device.
the (wrong)? url is
/accounts/profile/
The color of the LEDs could warn the users on the latest mantainance
Users with ended subscription still have access to machines / doors
Allow pro users to help newbies by swiping both cards at once
Molta carina la mappa (leaflet + open street maps) di questo sito
Viene notificato un gruppo o un utente singolo di Telegram con un contenuto simile a quello che riceve nella mail digest #46
creare una view in cui posso vedere l'andamento dei consumi di crediti in un determinato time-frame
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.
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/
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 :)
La pagina profilo non ha un campo dove mettere la mail.
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
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.