This is a simple Python CRUD application to manage AETEL members, tools, workshops and more.
- Clone this repo:
git clone https://github.com/aetel/cutrenet
- Change directory:
cd cutrenet
- Install dependencies:
pip install -r requirements.txt
- Launch setup.py, if a database exists it will use that, if not it will create one. When database is fresh it creates a user [email protected]/admin:
python setup.py
- Start the app:
python app.py
- Go to your browser and navigate to 127.0.0.1:5000.
- Settings file: Load settings from a specific file. Email server, webpage name, localised strings, aetelbot settings, sarao mode, etc... This will need to change in the future when the app runs in Docker.
- Logging: Log relevant events
- Admin notifications: via email, telegram?
- Add support for past members & granular admin rights: Give past members a special role and stuff
- Add main page with relevant information: If plain user show info about workshops and calendar; if member show workshops, meeting minutes, tools, votes; if admin show everything.
- Space & tool reservation:
Tools have a page with relevant information such as: mantainer, documentation, manuals, picture, maintainer, etc. Admin can edit said pages.Members can select a piece of equipment from a list and reserve it for a set time. - aetelbot integration & management page: Generate confirmed members list. Edit aetelbot running directory. Edit aetelbot settings file.
- AETEL meeting minutes generation & management: Interface to input order of the day, date, hour, place of the meeting, presiding board and each of the points in markdown format; generates a JSON file with all data. View links to all generated minutes and links to a viewing page. Download in pdf.
- Workshops & formation management:
Admin can create a new workshop. Admin can choose if it's open for everyone or members only, number of people admitted and if it validates any tool usage. Users can join that workshop as long as there are free places. Admin can mark signed up users as paid and/or completed in the workshop page. Users who completed a workshop will show in their profiles. Admin can send an email to the users who signed up for a workshop or users that haven't paid. Show in profile managing workshops and participating workshops. - Voting:
Admin can create new vote with title, time and options. Vote is open for set time. Members can select one of the options. - Email group function:
Admin can send an email to all the members. Admin can send email with attachments to all members.Workshop admin should be able to email subgroups. - Permission System: New permissions can be created and asigned to users. Can be polled via API. Used for current members, access roles, machinery usage, etc. Permissions can be grouped (e.g. a member can have permission to vote, to enter the premises and to attend workshops).
- API: Devices can access the API to check if users are members and have said permissions. Devices should be able to be registered from a user interface, a token is created and the device uses it to access the API.
- Log in with UPM account
- ¿MQTT command zapper? – Maybe too much complexity with no real use?
- Groups for projects, training, current year members
- List groups
- Create new groups
- Add people to groups
- Finish implementing feature set
- Run over code and clean up and rewrite necessary parts
- Check variable names and change them where necessary to keep consistency
- Localise the whole app user side stuff in Spanish
- Check css to make it mobile friendly
Implemented with Python, Flask, SQLite and spectre.css
It's mandatory to install Flask-Security with pip install git+https://github.com/mattupstate/flask-security or else email won't work!
¡cutrenet vive, la lucha sigue!