Commit Graph

165 Commits

Author SHA1 Message Date
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 401fcc088d
errors: add cute error pages 2023-08-25 21:04:43 +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 7f19fe7c7a improve readme for docker-compose newbs 2023-08-21 21:38:13 +02:00
radex cc3fddfd22 settings: fix oauth_redirect_is_http 2023-08-21 21:36:44 +02:00
radex 20303a14a7 update readme 2023-08-18 16:39:14 +02:00
radex cc6f00da08 docker-compose: clean up dev-override 2023-08-18 16:38:41 +02:00
radex 23244bdf24 fix colors in light mode 2023-08-18 15:31:53 +02:00
radex ee9e9becf5 settings: make redirect_is_https configurable separate from prod 2023-08-18 15:28:57 +02:00
radex 6cd7ec529b docker-compose: change postgres healthcheck interval to 1s 2023-08-18 15:27:56 +02:00
radex d615da3a0f add error logging in production 2023-08-18 15:27:33 +02:00
radex 4fc47030db docker-compose: build locally 2023-08-18 13:00:53 +02:00
radex ce3f07de5f add whitenoise lib to serve statics in production w/o nginx 2023-08-18 13:00:32 +02:00
radex e3229ffd7e Docker: fix broken build_static 2023-08-17 14:21:10 +02:00
radex d4a305c362 Docker: update dev overrides so that app starts 2023-08-17 14:20:39 +02:00
radex 255e0f0d08 Docker: wait for postgres until starting web container 2023-08-17 14:20:22 +02:00
radex af9cb2db32 Docker: update postgres to 15.4 2023-08-17 14:20:00 +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 d942c99cb9
Fix parent autocompletes 2023-08-04 18:02:08 +02:00
Dariusz Niemczyk e1a22100c4
Remove unused select2 refs 2023-08-04 17:46:08 +02:00
Dariusz Niemczyk 4fc3629dcd
Fix users searchfield not working 2023-08-04 17:26:25 +02:00
Dariusz Niemczyk 875e385f68
WIP new docs 2023-07-23 17:31:46 +02:00
Dariusz Niemczyk 8048fccede
Make paths publically available due to beyondspace 2023-07-23 17:31:37 +02:00
Dariusz Niemczyk 3a286a5bc6
Add autocomplete for users in Admin and fix perms 2023-07-20 14:49:44 +02:00
Dariusz Niemczyk 2a70d2cb31
Add configurable auth-by-lan values 2023-07-17 23:12:02 +02:00
Dariusz Niemczyk ae219a2533
Properly collectstatic on docker build 2023-07-17 23:09:11 +02:00
Dariusz Niemczyk d026e41ac5
Update docker-compose setup 2023-07-17 23:08:24 +02:00
Dariusz Niemczyk a6705a956f
Remove legacy labels from django admin 2023-07-17 23:04:30 +02:00
Dariusz Niemczyk 5012a10298
Hack: admin props combobox works(?) 2023-07-17 23:04:30 +02:00
Dariusz Niemczyk 027bcfcde5
Hack: admin props combobox works(?) 2023-07-17 22:44:44 +02:00
Dariusz Niemczyk 154e1079da
Make HSLan always authenticated for GET 2023-07-17 21:35:45 +02:00
Dariusz Niemczyk 30c3c3eb7a
Deduplicate print function 2023-07-17 20:18:18 +02:00
Dariusz Niemczyk c15f1bb840
Make gunicorn properly report errots 2023-07-17 15:47:29 +02:00
Dariusz Niemczyk f7688262e4
Fix API views 2023-07-17 15:46:00 +02:00
Dariusz Niemczyk d2e25c0801
Add overrides to docker-ignore 2023-07-14 22:38:48 +02:00
Dariusz Niemczyk e2e82b1a2e
Replace docker-compose to gunicorn run 2023-07-14 16:29:47 +02:00
Dariusz Niemczyk 8210381027
Fix docker port to 8000 2023-07-14 16:29:39 +02:00
Dariusz Niemczyk b09016ea3b
Add .env to .gitignore 2023-07-14 16:28:07 +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 a8f7530263
Force authorization for all routes 2023-07-13 21:01:00 +02:00
Dariusz Niemczyk b74c1b3c8f
Add inventory.hackerspace.pl to ALLOWED_HOSTS 2023-07-11 23:36:35 +02:00
Dariusz Niemczyk bfe9d27d71
Make dockerable for hscloud 2023-07-11 23:29:54 +02:00
Dariusz Niemczyk ad73094b67
Fix import for oauth 2023-07-11 23:29:39 +02:00
Dariusz Niemczyk a0c6d87adb
Add missing migration (django unhappy) 2023-07-11 23:29:28 +02:00
Dariusz Niemczyk 5ed4128151
Add terrible dark mode for inventory 2023-07-11 18:34:18 +02:00