Commit Graph

41 Commits

Author SHA1 Message Date
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 5e598d80b4 Pin container versions, simplify initial setup 2020-05-12 20:56:44 +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 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
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 7fc163d5c7 Initial labels support 2017-04-28 14:14:27 +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
Piotr Dobrowolski b653ec8e25 Initial web UI, smart search, book import command 2017-02-16 02:01:36 +01:00
Piotr Dobrowolski 9ac7a56135 Initial tree support using django-tree 2017-02-15 04:01:47 +01:00
Piotr Dobrowolski f8fdb07ad9 Initial commit 2016-09-30 00:04:43 +02:00