CRM for managing members and RFID cards at the Makerspace Leiden https://mijn.makerspaceleiden.nl
Find a file
msladmin 2bf8292d31
All checks were successful
Test and Release / tests (push) Successful in 1m58s
Test and Release / deploy (push) Successful in 1s
Merge pull request 'docs: outline deployment workflow' (#5) from docs/outline-deployment-workflow into main
Reviewed-on: #5
2025-12-12 19:01:44 +01:00
.dist-info/sboms chore(deps): update SBOM (#306) 2025-11-12 19:19:27 +00:00
.forgejo/workflows chore: apply formatting 2025-12-12 18:58:39 +01:00
acl fix(acl): correct Field type (#310) 2025-11-14 20:31:28 +00:00
agenda feat(agenda): send notifications for upcoming events 2025-12-12 10:56:09 +01:00
api feat: add location with checkin (#305) 2025-11-06 15:24:04 +00:00
avatar feat(api): support signed urls for media (#293) 2025-10-17 13:09:18 +00:00
chores fix: avoid updating non-chore events 2025-09-29 20:28:56 +02:00
demo chore: fix line ending 2025-07-09 11:20:26 +02:00
deploy chore: apply formatting 2025-07-02 21:11:41 +02:00
docs Diagram of DB schema. 2019-01-17 23:04:40 +01:00
kwh minor navigation tweaks 2025-06-22 15:03:54 +02:00
mailinglists Quell some python warnings 2025-07-16 20:41:34 +02:00
mainssensor chore: remove unused code using eradicate 2025-07-08 15:18:09 +02:00
makerspaceleiden feat: adds link to source code 2025-12-12 17:32:55 +01:00
memberbox feat: increase image size for large variation (#313) 2025-11-21 12:19:42 +00:00
memberlist fix: correct typos and internal django links 2025-06-22 15:03:55 +02:00
members feat: increase image size for large variation (#313) 2025-11-21 12:19:42 +00:00
motd chore: apply formatters 2025-06-23 09:42:12 +02:00
navigation refactor: move trustees menu to context_processor 2025-07-10 18:03:05 +02:00
nodered minor navigation tweaks 2025-06-22 15:03:54 +02:00
pettycash feat: increase image size for large variation (#313) 2025-11-21 12:19:42 +00:00
pettycredit chore: apply formatter 2025-06-15 14:40:40 +02:00
scripts feat: add location with checkin (#305) 2025-11-06 15:24:04 +00:00
selfservice fix: add location name to empty state 2025-11-16 22:17:28 +01:00
servicelog feat: increase image size for large variation (#313) 2025-11-21 12:19:42 +00:00
spaceapi fix(spaceapi): removes WordPress references 2025-07-08 14:38:47 +02:00
storage feat: increase image size for large variation (#313) 2025-11-21 12:19:42 +00:00
sumup_connector Merge branch 'master' into feat-sumup 2025-10-13 17:22:40 +02:00
terminal Tweaks to push submit into production; show PK in the terminal listing so you can add it to the config of sumup terminals, fix the fee, debug the request, temporarily disable some error trapping that fails on this version of python, replace by generic error, add migration 2025-10-11 18:42:38 +02:00
ufo feat: increase image size for large variation (#313) 2025-11-21 12:19:42 +00:00
ultimaker minor navigation tweaks 2025-06-22 15:03:54 +02:00
unknowntags chore: remove unused code using eradicate 2025-07-08 15:18:09 +02:00
.gitignore fix: drop unused app 2025-10-13 16:28:30 +02:00
.pre-commit-config.yaml feat(agenda): send email when event is created (#308) 2025-11-18 09:52:28 +00:00
.python-version chore(deps): upgrade python 3.13 2025-06-15 13:53:24 +02:00
CONTRIBUTING.md docs: add explicit pull step 2025-07-15 09:38:13 +00:00
cron-midnight.sh chore: trigger recurring event generation 2025-10-13 10:43:44 +02:00
cron-monthly.sh chore: suppress uv output 2025-06-30 23:01:38 +02:00
cron-pre-monthly.sh chore: suppress uv output 2025-06-30 23:01:38 +02:00
cron-weekly.sh chore: suppress uv output 2025-06-30 23:01:38 +02:00
example.env docs: switch to uv 2025-06-02 13:13:59 +02:00
INSTALL.md Document change to none id 2024-08-02 12:08:12 +02:00
LICENSE Initial commit 2018-12-06 16:38:20 +01:00
loaddemo.ps1 chore: migrate loaddemo powershell 2025-06-02 13:37:39 +02:00
loaddemo.sh chore: apply formatting 2025-06-02 13:14:00 +02:00
manage.py fixup! AutoFormat Python code with psf/black push 2021-10-26 15:32:37 +00:00
pyproject.toml feat(agenda): send email when event is created (#308) 2025-11-18 09:52:28 +00:00
README.md docs: outline deployment workflow 2025-12-12 18:56:53 +01:00
rollout-prod.sh chore(deployment): log deployment output to system logs 2025-12-12 14:36:18 +01:00
rundemo.sh feat: adds support for generating events 2025-08-25 11:47:33 +02:00
uv.lock feat(agenda): send email when event is created (#308) 2025-11-18 09:52:28 +00:00

Makerspace Leiden CRM

Welcome to our Makerspace Management System. This software helps our community manage member access, equipment permissions, storage, and more.

Table of Contents

Quick Start Guide

System Requirements

Installation Options

  1. Create environment file: cp example.env .env
  2. Run the demo script: sh loaddemo.sh

Accessing the System

After installation, visit:

http://localhost:8000/

You can log in using the test accounts created during installation. The loaddemo script will output these login details.

Testing the API

You can test the API with commands like:

curl -H "X-Bearer: Foo" -F tag=1-2-4 http://localhost:8000/acl/api/v1/getok4node/foonode

(This assumes your local settings contain the "Foo" password - see debug.py)

For Developers

Please see CONTRIBUTING.md for detailed information on how to contribute to this project, including code style, pre-commit setup, and submission guidelines.

Deployment Process

The deployment process is automated. When code is pushed to the main branch:

  1. Tests run automatically - The system checks:

    • Code quality (pre-commit checks)
    • Database migrations are correct
    • All tests pass
  2. If tests pass - The system automatically deploys to the live server

  3. If tests fail - Deployment is blocked. Fix the issues and try again.

Pull requests are also tested automatically, so you can verify your changes work before merging.

Functional Requirements

For Trustees (Administrators)

  • Manage member progression (from new members to full access with 24/7 key)
  • Track member status (forms completed, standing in community)
  • Manage instruction groups (who can teach others)
  • Create and manage equipment/machines
  • Manage RFID cards
  • Generate reports on storage and permits

API Features

  • Check permissions based on RFID tags
  • Verify basic membership
  • Verify equipment training status
  • Verify specific permits

Self-Service Features

  • New membership requests (no login required)
  • Password reset
  • Manage RFID cards (activate new cards, deactivate old ones)
  • Record when you've given instruction to another member

Self-Service Bonus

  • Report accidents
  • Report equipment problems or activate lockouts
  • Find member storage bins
  • Request storage permits for larger items
  • Track spare parts ordering

Email Notifications

The system automatically sends emails in these situations:

  1. User Detail Changes

    • When users update their personal information
    • Email sent to: Trustees
  2. Training Records

    • When someone adds instruction/training records
    • Email sent to: Trustees and possibly members ("deelnemers")
  3. Storage Space Changes

    • When any changes are made to storage space
    • Email sent to: All members ("deelnemers")
    • Separate email to owner if the change was made by someone else
    • Email to trustees if duration > 30 days or if extending an auto-approved 30-day permit
  4. Storage Box Changes

    • When any changes are made to storage boxes
    • Email sent to: Trustees
    • Separate email to owner if the change was made by someone else

Operational

In addition to the above, the system is designed to be easy to maintain and scale.

  • Standard Django setup for easy maintenance
  • Supports dozens of machines/equipment
  • Handles hundreds of users

System Design

Outline of the current system design.

User Structure

  • Standard Django user system
  • Additional member-specific information (forms on file, emergency contacts)
  • Possible to add more information

Key Components

  1. Machines

    • Equipment and access points (like doors)
    • May require specific training
    • May require signed waivers
    • May require special permits
  2. Permits

    • Access categories (like door access)
    • May build on other permits
  3. Entitlements

    • Specific permissions assigned to users
    • Assigned by authorized members
    • Issuers must have the entitlement themselves
    • Instructors need appropriate permits to grant entitlements