{"id":13557637,"url":"https://github.com/MakerSpaceLeiden/makerspaceleiden-crm","last_synced_at":"2025-04-03T12:30:52.132Z","repository":{"id":46652228,"uuid":"160695427","full_name":"MakerSpaceLeiden/makerspaceleiden-crm","owner":"MakerSpaceLeiden","description":"Simlpe sketch of a CRM for managing members and rfid cards at the Makerspace leiden","archived":false,"fork":false,"pushed_at":"2025-01-13T20:53:51.000Z","size":2830,"stargazers_count":8,"open_issues_count":13,"forks_count":9,"subscribers_count":13,"default_branch":"master","last_synced_at":"2025-01-13T21:21:36.971Z","etag":null,"topics":["access-control","collaboration","crm","django-application","hackspace","makerspace","membership","membership-management","rfid-card","trustees"],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/MakerSpaceLeiden.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-12-06T15:38:18.000Z","updated_at":"2025-01-13T20:18:23.000Z","dependencies_parsed_at":"2023-12-05T14:26:59.162Z","dependency_job_id":"ce1d3aee-6fa3-47f7-8358-5639078e604e","html_url":"https://github.com/MakerSpaceLeiden/makerspaceleiden-crm","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MakerSpaceLeiden%2Fmakerspaceleiden-crm","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MakerSpaceLeiden%2Fmakerspaceleiden-crm/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MakerSpaceLeiden%2Fmakerspaceleiden-crm/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MakerSpaceLeiden%2Fmakerspaceleiden-crm/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MakerSpaceLeiden","download_url":"https://codeload.github.com/MakerSpaceLeiden/makerspaceleiden-crm/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247002140,"owners_count":20867406,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["access-control","collaboration","crm","django-application","hackspace","makerspace","membership","membership-management","rfid-card","trustees"],"created_at":"2024-08-01T12:04:27.769Z","updated_at":"2025-04-03T12:30:49.447Z","avatar_url":"https://github.com/MakerSpaceLeiden.png","language":"Python","funding_links":[],"categories":["Python","others"],"sub_categories":[],"readme":"# Quick test/install\n\n-\tMake sure you have a somewhat recent python version\n\n-   [OPTIONAL] If you want to use `poetry` instead, install [poetry](https://python-poetry.org/docs/#installation)\n    - Add environment variable `POETRY` with the value true. Can be done by running: `cp example.env .env`\n\n-\tsh loaddemo.sh\n\nThen go to\n\n\thttp://localhost:8000/\n\nand login using the accounts created \u0026 shown to you during the loaddemo.sh script.\n\nOr use URLs such as\n\n\tcurl -H \"X-Bearer: Foo\" -F tag=1-2-4 http://127.0.0.1:8000/acl/api/v1/getok4node/foonode\n\nto check  the API (this assumes local.py to contain the Foo password; see debug.py) and some machine\ngiven a node name.\n\n# Committing\n\nMake sure `pre-commit` is installed when committing. This can be done by installing using poetry (pre-commit is a dev dependency) or manually installing pre-commit with the instructions found [here](https://pre-commit.com/#install).\n\nOnce `pre-commit` is installed, you can run `pre-commit install` to install the necessary git hooks. After this you're set to commit!\n\nThere are pipelines running pre-commit is as well to check whether pre-commit was run successfully. If any issues arise in the pipeline, first try to run pre-commit locally using `pre-commit run --all-files`.\n\n# Requirements\n\n## Trustees\n-\tCreate member, progress status from initial to full (i.e. with 24x7 key)\n\n-\tCheckboxes for things such as 'form on file', member-in-good-standing\n\n-\tManagement of groups (e.g. people that can give instruction)\n\n-\tCreation of new machines and groups\n\n-\tOverview rfid cards\n\n-\tReports on bins \u0026 (big/overdue) storage permits.\n\n## API\n\n-\tlists or OK/deny on tag's.\n\t\tbased on just being a member\n\t\tbased on having had instructions\n\t\tbased on an actual permit\n\n## Self service\n\n-\tInitial contact / request membership (no auth)\n\n-\tpassword reset.\n\n-\tactivate (new) card, retire old.\n\n-\trecord whom you have given instruction to.\n\n\n## Self service (bonus)\n\n-\treport accident\n\n- \treport outages\n\tactivate lockout\n\n-\tlocation members bin\n\t\tvisible to all\n\n-\tstorage permits \u0026 durations for things that do not fit in the members bin.\n\t\trequest\n\t\tvisible to all\n\n-\ttrack ordering of spares.\n\n## Non functional requirements\n\n- Very 'standard' approach - so ops and code evolving does not rely on a few skilled people.\n- Some 10's of machines\n- Low 100's of users\n\n## Email 'rules'\n\n- User changes his/her details -\u003e email trustees\n- Someone adds instructions -\u003e email trustees ? deelnemers ?\n- Any mutations on storage space - email deelnemers\n  Email owner separare if the change is made by someone else but the owner.\n  Email trusteeds if \u003e 30 days or extension on a auto-approve 30 days.\n- Box changes - email trusteeds\n  Email owner separare if the change is made by someone else but the owner.\n\n# Current design\n\n- Normal Django users; Members adds a field to that (form on file). May\n\tadd more in the future (e.g. emergency contact).\n\n- Machines\n\tMachines or things that you can interact with (like doors).\n\tMay require instructions\n\tMay require the waiver to be on file.\n\tMay require a 'permit' of a specific type.\n\n- Permits\n\tE.g. allowed to open doors.\n\tMay require a permit to be issued (one deep)\n\n- Entitlements\n\tof a specific permi\n\tAssigned to a user (owner) by an issuer.\n\tissuer must have the entitlement himself.\n\tissuer must ALSO have the permit specified in the permit,\n\ti.e. the instruction permit, if so specified (one deep)\n\n## issues with the current design\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FMakerSpaceLeiden%2Fmakerspaceleiden-crm","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FMakerSpaceLeiden%2Fmakerspaceleiden-crm","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FMakerSpaceLeiden%2Fmakerspaceleiden-crm/lists"}