CRM for managing members and RFID cards at the Makerspace Leiden
Find a file
2026-06-04 11:09:15 +02:00
.dist-info/sboms chore(deps): update SBOM (#306) 2025-11-12 19:19:27 +00:00
.forgejo/workflows chore(ci): run pre-commit checks earlier 2026-05-06 08:47:55 +02:00
acl test: reduced brittleness of tests 2026-01-27 15:44:11 +01:00
agenda fix: handle IndexError in python-dateutil rrule for invalid recurrence rules 2026-05-21 23:13:11 +02:00
api added tests for reporter name 2026-06-04 09:41:22 +02: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 chore: apply pre-commit tools 2026-05-06 08:49:53 +02:00
mainssensor chore: refactor for django v5 2026-01-09 16:00:05 +01:00
makerspaceleiden feat: introduce support for Olga storage location 2026-05-16 09:58:21 +02:00
memberbox fix: clarify member box wording 2026-05-22 16:21:28 +02:00
memberlist refactor: adopt .active() method 2026-01-13 13:35:59 +01:00
members chore: apply pre-commit tools 2026-05-06 08:49:53 +02: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 chore: apply pre-commit tools 2026-05-06 08:49:53 +02: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 chore: apply pre-commit tools 2026-05-06 08:49:53 +02:00
servicelog fix bug where members without instructor status could not report machine as out of service 2026-05-12 21:55:51 +02:00
spaceapi fix(spaceapi): removes WordPress references 2025-07-08 14:38:47 +02:00
status Simplify URL, remove unneeded cruft 2026-02-26 22:26:50 +01:00
storage fix(storage): update deadline and include D 2026-05-20 13:43:24 +02:00
sumup_connector Add test cases for shorter/v2 form. 2026-02-23 15:55:02 +01:00
terminal feat(terminal): adds a no-op endpoint 2026-02-26 06:33:03 +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 Simplify URL, remove unneeded cruft 2026-02-26 22:26:50 +01:00
.gitignore Merge .gitignore changes 2026-02-25 22:04:06 +01: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: align contributing guide with current release process 2026-04-15 21:32:44 +02: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 fix: handle IndexError in python-dateutil rrule for invalid recurrence rules 2026-05-21 23:13:11 +02: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 fix: handle IndexError in python-dateutil rrule for invalid recurrence rules 2026-05-21 23:13:11 +02: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