Commit Graph

57 Commits (master)

Author SHA1 Message Date
palid a991063084
fix: server static on s3 correctly 2024-01-19 22:31:39 +01:00
palid 5bf31f26a1
cleanup: docker-compose and .env.example 2024-01-19 19:22:36 +01:00
Patryk Jakuszew 1bbd28933f Add S3 storage configuration 2024-01-14 23:56:26 +01:00
palid 81417f58be
fix: trusted origins settings.py 2024-01-14 21:46:54 +01:00
palid d36a84e25b
fix: very dumb accidental commit of ALLOWED_HOSTS 2024-01-14 15:21:35 +01:00
palid 67ac858323
fix: missing comma because python 2024-01-14 15:20:04 +01:00
palid fe496e85f8
fix: add csrf config 2024-01-14 15:15:14 +01:00
palid c9be16b76f
fix: missing files config 2024-01-14 00:21:30 +01:00
palid f94e7b3207
fix: use proper uri rewrites 2024-01-12 18:56:27 +01:00
palid d71885d264
Revert "hscloud: Add single address authentication"
This reverts commit f1143dc4f1.
2023-09-19 18:21:11 +02:00
palid f1143dc4f1
hscloud: Add single address authentication 2023-09-19 18:03:57 +02:00
palid 38c7245a3f
auth: cleanup 2023-09-09 19:26:36 +02:00
palid 3c3ba16811
middleware: Fix ordering again 2023-09-09 16:31:49 +02:00
palid f1335f0565
auth: fix auth paths 2023-09-09 15:43:23 +02:00
palid f92635f5f3
Revert "auth: do not automatically staff new members"
This reverts commit 0fa9762bea.
2023-08-25 21:51:09 +02:00
palid 8ce869393e
cache: cache statics 2023-08-25 21:51:04 +02:00
palid 0fa9762bea
auth: do not automatically staff new members 2023-08-25 21:36:19 +02:00
palid 15bf813b04
django: force auth for all requests 2023-08-25 21:06:01 +02:00
palid 820f04cc01
settings: properly order middleware and and gzip 2023-08-25 21:03:55 +02:00
palid c5a9fba034
Add cache 2023-08-25 20:55:17 +02:00
radex cc3fddfd22 settings: fix oauth_redirect_is_http 2023-08-21 21:36:44 +02:00
radex ee9e9becf5 settings: make redirect_is_https configurable separate from prod 2023-08-18 15:28:57 +02:00
radex d615da3a0f add error logging in production 2023-08-18 15:27:33 +02:00
radex ce3f07de5f add whitenoise lib to serve statics in production w/o nginx 2023-08-18 13:00:32 +02:00
palid 9200bdbb3b
authentication: always require if defined env
if SPEJSTORE_REQUIRE_AUTH is 'true' then always require auth
otherwise make it read-only on unauthorized access
2023-08-13 20:10:00 +02:00
palid 2a70d2cb31
Add configurable auth-by-lan values 2023-07-17 23:12:02 +02:00
palid 154e1079da
Make HSLan always authenticated for GET 2023-07-17 21:35:45 +02:00
palid af85d191ad
Force authentication for API usage 2023-07-13 22:37:53 +02:00
palid a20e14a8d3
Add LOGIN_URL to redirect properly 2023-07-13 21:01:41 +02:00
palid b6ce1516d2
Migrate deprecated field in settings 2023-07-13 21:01:17 +02:00
palid b74c1b3c8f
Add inventory.hackerspace.pl to ALLOWED_HOSTS 2023-07-11 23:36:35 +02:00
Dariusz Niemczyk 150c405468
Fix settings 2023-07-11 17:52:38 +02:00
Dariusz Niemczyk 45ad9bf88c
Migrate old django to the newest version
Django 1.x is no longer supported, and the app needed migration to 4.x
A lot of libraries has been unsupported or removed, so there's a few
of unrelated changes, but necessary for the migration process to work.
2023-07-11 17:52:38 +02:00
Dariusz Niemczyk 659f04ce9c
Blackify the code (autoformat) 2023-07-11 15:34:35 +02:00
informatic 83e2afcf06 Check in some random production changes 2020-05-12 20:58:10 +02:00
informatic 5e598d80b4 Pin container versions, simplify initial setup 2020-05-12 20:56:44 +02:00
informatic 43c1c94844 settings: load all relevant options from environment 2019-05-12 15:58:01 +02:00
informatic fedf3dca80 Add apitoken endpoint 2019-02-02 13:21:15 +01:00
informatic 3f58a080f4 settings: Just a bunch of default hostnames 2019-01-10 20:03:03 +01:00
informatic 6b91ed4d25 Fix account associations by email 2019-01-10 13:33:45 +01:00
d42 95694890ea associate_by_email 2018-10-10 21:33:16 +02:00
d42 0df044b267 ldap is no more ['] 2018-10-10 21:28:57 +02:00
d42 9577c2d27d yolo admin login redirect 2018-10-10 21:18:06 +02:00
d42 2ff57e3e0a initial oauth commit 2018-10-10 19:59:54 +02:00
d42 1723535394 rESPONSIVE ADMIN 2018-09-26 22:27:24 +02:00
d42 87db1c4747 vendor me daddy 2018-09-26 22:20:36 +02:00
informatic c1cada3de7 item: Fix label printing 2017-12-13 21:21:13 +01:00
mpts a65c652647 Add Markdown support to item descriptions 2017-10-08 16:58:47 +02:00
informatic e7aa31c6a4 Add missing icons, fix permissions 2017-06-19 15:53:07 +02:00
informatic c4c21e0ec1 Initial label printing integration 2017-05-28 22:00:54 +02:00