CRM for managing members and RFID cards at the Makerspace Leiden https://mijn.makerspaceleiden.nl
Find a file
Luke-Watts 47ae066351
All checks were successful
Test and Release / tests (push) Successful in 1m33s
Test and Release / deploy (push) Successful in 1s
Merge pull request 'fix: servicelog display correct status for OOO' (#50) from fix/servicelog-display-correct-status-for-ooo into main
Reviewed-on: #50
2026-01-31 17:00:46 +01:00
.dist-info/sboms chore(deps): update SBOM (#306) 2025-11-12 19:19:27 +00:00
.forgejo/workflows test: reverse ordering of tests to validate isolation 2026-01-26 16:34:58 +01:00
acl test: reduced brittleness of tests 2026-01-27 15:44:11 +01:00
agenda refactor: switch away from datetime deprecated methods 2026-01-16 21:40:09 +01:00
api test: reduced brittleness of tests 2026-01-27 15:44:11 +01:00
avatar feat(api): support signed urls for media (#293) 2025-10-17 13:09:18 +00:00
chores refactor: namespace management commands 2026-01-13 11:56:04 +01: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 refactor: adopt django compatible v5 conventions 2026-01-10 19:57:10 +01:00
mainssensor chore: refactor for django v5 2026-01-09 16:00:05 +01:00
makerspaceleiden fix(l10n): adopt format convention 2026-01-19 12:01:17 +01:00
memberbox chore: refactor for django v5 2026-01-09 16:00:05 +01:00
memberlist refactor: adopt .active() method 2026-01-13 13:35:59 +01:00
members test: make assertion less brittle 2026-01-27 15:58:04 +01:00
motd chore: apply formatters 2025-06-23 09:42:12 +02:00
navigation fix: prevent opening in new tab 2026-01-19 14:06:44 +01:00
nodered minor navigation tweaks 2025-06-22 15:03:54 +02:00
pettycash test: create users within transaction boundaries 2026-01-27 16:03:52 +01:00
pettycredit test: create users within transaction boundaries 2026-01-27 16:03:52 +01:00
scripts feat(pettycash): add periodic reports 2026-01-17 16:36:23 +01:00
selfservice test: extend coverage 2026-01-24 21:52:45 +01:00
servicelog fix(servicelog): switch to styled button elements 2026-01-31 16:57:32 +01:00
spaceapi fix(spaceapi): removes WordPress references 2025-07-08 14:38:47 +02:00
storage chore: refactor for django v5 2026-01-09 16:00:05 +01:00
sumup_connector chore: refactor for django v5 2026-01-09 16:00:05 +01:00
terminal test: import fixture 2026-01-19 13:38:27 +01:00
ufo chore: refactor for django v5 2026-01-09 16:00:05 +01:00
ultimaker minor navigation tweaks 2025-06-22 15:03:54 +02:00
unknowntags chore: apply formatting 2026-01-23 21:07:48 +01: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
conftest.py test: use cheaper password hasher 2026-01-23 23:20:20 +01:00
CONTRIBUTING.md docs: add explicit pull step 2025-07-15 09:38:13 +00:00
cron-midnight.sh chore: reorder script invocation 2026-01-13 11:57:14 +01: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 test: reverse ordering of tests to validate isolation 2026-01-26 16:34:58 +01:00
README.md docs: outline deployment workflow 2025-12-12 18:56:53 +01:00
rollout-prod.sh fix: manage permissions .venv 2026-01-10 21:27:21 +01:00
rundemo.sh feat: adds support for generating events 2025-08-25 11:47:33 +02:00
uv.lock test: reverse ordering of tests to validate isolation 2026-01-26 16:34:58 +01: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