Commit Graph

53 Commits

Author SHA1 Message Date
Dariusz Niemczyk a991063084
fix: server static on s3 correctly 2024-01-19 22:31:39 +01:00
Dariusz Niemczyk 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
Dariusz Niemczyk 81417f58be
fix: trusted origins settings.py 2024-01-14 21:46:54 +01:00
Dariusz Niemczyk d36a84e25b
fix: very dumb accidental commit of ALLOWED_HOSTS 2024-01-14 15:21:35 +01:00
Dariusz Niemczyk 67ac858323
fix: missing comma because python 2024-01-14 15:20:04 +01:00
Dariusz Niemczyk fe496e85f8
fix: add csrf config 2024-01-14 15:15:14 +01:00
Dariusz Niemczyk c9be16b76f
fix: missing files config 2024-01-14 00:21:30 +01:00
Dariusz Niemczyk d71885d264
Revert "hscloud: Add single address authentication"
This reverts commit f1143dc4f1.
2023-09-19 18:21:11 +02:00
Dariusz Niemczyk f1143dc4f1
hscloud: Add single address authentication 2023-09-19 18:03:57 +02:00
Dariusz Niemczyk 38c7245a3f
auth: cleanup 2023-09-09 19:26:36 +02:00
Dariusz Niemczyk 3c3ba16811
middleware: Fix ordering again 2023-09-09 16:31:49 +02:00
Dariusz Niemczyk f1335f0565
auth: fix auth paths 2023-09-09 15:43:23 +02:00
Dariusz Niemczyk f92635f5f3
Revert "auth: do not automatically staff new members"
This reverts commit 0fa9762bea.
2023-08-25 21:51:09 +02:00
Dariusz Niemczyk 8ce869393e
cache: cache statics 2023-08-25 21:51:04 +02:00
Dariusz Niemczyk 0fa9762bea
auth: do not automatically staff new members 2023-08-25 21:36:19 +02:00
Dariusz Niemczyk 15bf813b04
django: force auth for all requests 2023-08-25 21:06:01 +02:00
Dariusz Niemczyk 820f04cc01
settings: properly order middleware and and gzip 2023-08-25 21:03:55 +02:00
Dariusz Niemczyk 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
Dariusz Niemczyk 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
Dariusz Niemczyk 2a70d2cb31
Add configurable auth-by-lan values 2023-07-17 23:12:02 +02:00
Dariusz Niemczyk 154e1079da
Make HSLan always authenticated for GET 2023-07-17 21:35:45 +02:00
Dariusz Niemczyk af85d191ad
Force authentication for API usage 2023-07-13 22:37:53 +02:00
Dariusz Niemczyk a20e14a8d3
Add LOGIN_URL to redirect properly 2023-07-13 21:01:41 +02:00
Dariusz Niemczyk b6ce1516d2
Migrate deprecated field in settings 2023-07-13 21:01:17 +02:00
Dariusz Niemczyk 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
Piotr Dobrowolski 83e2afcf06 Check in some random production changes 2020-05-12 20:58:10 +02:00
Piotr Dobrowolski 43c1c94844 settings: load all relevant options from environment 2019-05-12 15:58:01 +02:00
Piotr Dobrowolski fedf3dca80 Add apitoken endpoint 2019-02-02 13:21:15 +01:00
Piotr Dobrowolski 3f58a080f4 settings: Just a bunch of default hostnames 2019-01-10 20:03:03 +01:00
Piotr Dobrowolski 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 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
Piotr Dobrowolski c1cada3de7 item: Fix label printing 2017-12-13 21:21:13 +01:00
Mateusz Piotrowski a65c652647 Add Markdown support to item descriptions 2017-10-08 16:58:47 +02:00
Piotr Dobrowolski e7aa31c6a4 Add missing icons, fix permissions 2017-06-19 15:53:07 +02:00
Piotr Dobrowolski c4c21e0ec1 Initial label printing integration 2017-05-28 22:00:54 +02:00
Piotr Dobrowolski 95b6ac712b Initial public REST API 2017-03-06 16:50:55 +01:00
Piotr Dobrowolski 12a01f5a0a Add LDAP auth, images support 2017-03-01 00:16:10 +01:00
Piotr Dobrowolski 8b539e5926 Make add another default, add select2, remember last parent 2017-02-16 16:14:37 +01:00