
* [x] Adds a ServiceRequest model for all service types * [x] Pre-define simple service requests to begin with * [x] Django admin for admins to handle requests * [x] Notifications for Matrix * [x] Moved Service Access to `services` app * [x] Auto-create default service requests for new memberships * [x] Most simple kinds of tests added * [x] Fix issue in generating service requests (check for service access firstly) * [ ] Channel and bot account ## Deployment 1. Create a bot account. Get an access token with: ``` curl -XPOST \ -d '{"type":"m.login.password", "user":"<userid>", "password":"<password>"}' \ "https://data.coop/_matrix/client/r0/login" ``` 2. Create an admin room for admins. Add admins + bot. Copy the room ID. 3. Add new environment variables for the setup `MATRIX_ACCESS_TOKEN` and `MATRIX_SERVICE_REQUEST_ADMIN_ROOM` Reviewed-on: https://git.data.coop/data.coop/membersystem/pulls/59 Co-authored-by: bbb <benjamin@overtag.dk> Co-committed-by: bbb <benjamin@overtag.dk>
134 lines
2.7 KiB
Text
134 lines
2.7 KiB
Text
#
|
|
# This file is autogenerated by hatch-pip-compile with Python 3.12
|
|
#
|
|
# - django-allauth~=0.63
|
|
# - django-money~=3.5
|
|
# - django-oauth-toolkit~=2.4
|
|
# - django-ratelimit~=4.1
|
|
# - django-registries==0.0.3
|
|
# - django-stubs-ext~=5.0
|
|
# - django-view-decorator==0.0.4
|
|
# - django-zen-queries~=2.1
|
|
# - django~=5.1
|
|
# - environs[django]<12,>=11
|
|
# - httpx
|
|
# - psycopg[binary]~=3.2
|
|
# - stripe~=10.5
|
|
# - uvicorn~=0.30
|
|
# - whitenoise~=6.7
|
|
#
|
|
|
|
anyio==4.7.0
|
|
# via httpx
|
|
asgiref==3.8.1
|
|
# via django
|
|
babel==2.15.0
|
|
# via py-moneyed
|
|
certifi==2024.7.4
|
|
# via
|
|
# httpcore
|
|
# httpx
|
|
# requests
|
|
cffi==1.16.0
|
|
# via cryptography
|
|
charset-normalizer==3.3.2
|
|
# via requests
|
|
click==8.1.7
|
|
# via uvicorn
|
|
cryptography==43.0.0
|
|
# via jwcrypto
|
|
dj-database-url==2.2.0
|
|
# via environs
|
|
dj-email-url==1.0.6
|
|
# via environs
|
|
django==5.1.4
|
|
# via
|
|
# hatch.envs.default
|
|
# dj-database-url
|
|
# django-allauth
|
|
# django-money
|
|
# django-oauth-toolkit
|
|
# django-registries
|
|
# django-stubs-ext
|
|
# django-view-decorator
|
|
# django-zen-queries
|
|
django-allauth==0.63.6
|
|
# via hatch.envs.default
|
|
django-cache-url==3.4.5
|
|
# via environs
|
|
django-money==3.5.3
|
|
# via hatch.envs.default
|
|
django-oauth-toolkit==2.4.0
|
|
# via hatch.envs.default
|
|
django-ratelimit==4.1.0
|
|
# via hatch.envs.default
|
|
django-registries==0.0.3
|
|
# via hatch.envs.default
|
|
django-stubs-ext==5.0.4
|
|
# via hatch.envs.default
|
|
django-view-decorator==0.0.4
|
|
# via hatch.envs.default
|
|
django-zen-queries==2.1.0
|
|
# via hatch.envs.default
|
|
environs==11.0.0
|
|
# via hatch.envs.default
|
|
h11==0.14.0
|
|
# via
|
|
# httpcore
|
|
# uvicorn
|
|
httpcore==1.0.7
|
|
# via httpx
|
|
httpx==0.28.1
|
|
# via hatch.envs.default
|
|
idna==3.7
|
|
# via
|
|
# anyio
|
|
# httpx
|
|
# requests
|
|
jwcrypto==1.5.6
|
|
# via django-oauth-toolkit
|
|
marshmallow==3.21.3
|
|
# via environs
|
|
oauthlib==3.2.2
|
|
# via django-oauth-toolkit
|
|
packaging==24.1
|
|
# via marshmallow
|
|
psycopg==3.2.1
|
|
# via hatch.envs.default
|
|
psycopg-binary==3.2.1
|
|
# via psycopg
|
|
py-moneyed==3.0
|
|
# via django-money
|
|
pycparser==2.22
|
|
# via cffi
|
|
python-dotenv==1.0.1
|
|
# via environs
|
|
pytz==2024.1
|
|
# via django-oauth-toolkit
|
|
requests==2.32.3
|
|
# via
|
|
# django-oauth-toolkit
|
|
# stripe
|
|
setuptools==72.1.0
|
|
# via django-money
|
|
sniffio==1.3.1
|
|
# via anyio
|
|
sqlparse==0.5.1
|
|
# via django
|
|
stripe==10.6.0
|
|
# via hatch.envs.default
|
|
typing-extensions==4.12.2
|
|
# via
|
|
# anyio
|
|
# dj-database-url
|
|
# django-stubs-ext
|
|
# jwcrypto
|
|
# psycopg
|
|
# py-moneyed
|
|
# stripe
|
|
urllib3==2.2.2
|
|
# via requests
|
|
uvicorn==0.30.5
|
|
# via hatch.envs.default
|
|
whitenoise==6.7.0
|
|
# via hatch.envs.default
|