Commit graph

66 commits

Author SHA1 Message Date
Maxim De Clercq fbb69c843a
Merge branch 'master' into microsoft-auth-wip 2023-06-25 16:18:32 +02:00
Maxim De Clercq 1ffcdc3ec1
Do not store UGent username since it is not exposed through Graph API 2023-04-19 22:03:40 +02:00
Maxim De Clercq aab522eef9
Merge branch 'master' into feature/microsoft-auth
# Conflicts:
#	app/app.py
#	app/create_database.py
#	app/models/user.py
#	requirements.in
#	requirements.txt
2023-04-19 20:55:35 +02:00
Tibo e86fce0a7e
Merge branch 'master' into patch-1 2023-04-19 19:14:54 +02:00
Charlotte Van Petegem 29afc8db7a
Make sure local dev still works with sentry 2022-10-27 19:47:12 +02:00
Charlotte Van Petegem c0f44ab037
Add glitchtip 2022-10-27 19:38:46 +02:00
Happilands 4e8799eca5
Add robots.txt file
From
https://www.pythonanywhere.com/forums/topic/2899/
2022-10-27 19:29:50 +02:00
Midgard b5202a9de6
Don't crash when rendering None price 2022-05-11 02:43:08 +02:00
mcbloch dfbf1de5a1 wsgi is particular about the app object 2022-05-02 18:25:54 +02:00
mcbloch 841c3d5fb8 add flag to disable microsoft login 2022-04-20 01:34:19 +02:00
mcbloch cc0c271a22 Add working microsoft login flow 2022-04-20 01:27:52 +02:00
mcbloch ae77adc54e Add flask factory to scope app variable 2022-04-19 23:59:23 +02:00
Jan-Pieter Baert e93460743a
Fix pylint on everything
Except hlds related files because that's a mess
2022-04-19 23:20:03 +02:00
Jan-Pieter Baert 5e29f2a5f7
Fix formatting 2022-04-19 22:04:49 +02:00
mcbloch 2123d7d1a3 fix the weird copying of files 2022-04-19 21:31:40 +02:00
redfast00 1f7ddcdb33
Rip out Airbrake 2022-01-26 07:51:45 +01:00
Midgard 65ed818875
Start redesign of order page 2020-08-26 19:29:59 +02:00
Midgard f6753172ec
Polish the admin interface a bit 2020-07-29 23:14:57 +02:00
Midgard aa1cd97773
Revert "Remove admin view"
This reverts commit a62e2bd9f7.
2020-07-29 21:01:47 +02:00
Midgard dc1596ee71
Fix shadowed variable name 2020-07-18 03:38:55 +02:00
Midgard 4f7ffc0e3d
Reformat with black 2020-07-17 11:40:15 +02:00
Midgard fd5b432837
Make Airbrake/Errbit support optional 2020-07-17 11:06:37 +02:00
Midgard d904f3c562
Make Airbrake optional 2020-07-17 10:42:16 +02:00
Midgard 6282eed349
Improve app.py
It should always create and expose the app object for uWSGI.
2020-07-17 10:24:57 +02:00
Midgard 289b36b918
Correct timer behaviour, reload when time up 2020-03-05 00:40:16 +01:00
Midgard 45a110db23
Add price range on location view 2020-02-29 21:56:04 +01:00
Midgard a62e2bd9f7
Remove admin view 2020-02-25 17:51:14 +01:00
Midgard 8ed38f178c
Fix and improve "ordered items" page 2020-01-27 03:01:49 +01:00
Midgard 1d9e7cc170
Refactor loader to parser, remove hlds from app.py 2020-01-26 01:33:08 +01:00
Midgard 303349e376
Load HLDS locations in app 2020-01-24 15:47:29 +01:00
Midgard e6b707e3d7
Make main file executable 2020-01-24 15:38:03 +01:00
kindtanton 40e4bf4fba Changed the way of concatinating strings in app.py 2019-12-06 12:48:37 +01:00
kindtanton ee627b7dfa Plausible fix for internal server error when requesting the css 2019-12-06 12:32:51 +01:00
kindtanton eb61d3286b Styled the home page for the christmas theme + little tweaks 2019-11-22 07:53:24 +01:00
Jan-Pieter Baert f394fb7911
Fix unresolved merge conflict 2019-09-13 16:51:38 +02:00
Midgard 0af72376a1
Increase line length limit to 100
Up from 80.
2019-09-12 20:53:26 +02:00
Jan-Pieter Baert 48641adf90
Fix pylint for Haldis 2019-09-12 20:53:25 +02:00
redfast00 5e2d5e659c
Convert forms to POST requests, fix euro filter, fix user close debt 2019-09-11 16:44:36 +02:00
redfast00 b12bcc882d
Make cookies more secure 2019-09-11 16:43:42 +02:00
Jan-Pieter Baert 15794b06b7
Add typing to general app files 2019-09-08 01:58:21 +02:00
mcbloch d591f846d8
add and run black formatter 2019-09-05 03:33:29 +02:00
mcbloch e660627249
move routes endpoint to debug blueprint 2019-09-04 17:18:11 +02:00
mcbloch e5f16f7292
remove unneeded line 2019-09-03 15:01:44 +02:00
mcbloch d254889f6d
remove old migrations, run via manager 2019-09-03 13:56:13 +02:00
mcbloch d0863325a5
Restructuring the codebase!
But for real, it's a real shitstorm in there.
- Added context by making the init go through a function
  and not implicitly happen via imports
- Fixup all context and contextless function mixups
- splitup the models in sensible different files
- give the dump of view functions in views/__init__.py their own file
- add all routes via blueprints, not half of them
- move the slack notifications function and class to its own file,
    no idea what it was doing in a views file in the first place.
2019-08-28 03:46:04 +02:00
redfast00 b2c637b343
Serve own bootstrap 2019-04-05 23:26:57 +02:00
Feliciaan De Palmenaer 6abd9614ab Fix deprecations 2017-01-06 12:05:31 +01:00
Wout Schellaert 7ca0e36946 Small reformat 2016-09-10 15:49:52 +02:00
Feliciaan De Palmenaer 6eeb7e8018 Remove prefixFix, no longer necessary 2016-02-18 11:26:41 +01:00
Feliciaan De Palmenaer 3cf49c7634 Fix errbit 2015-11-29 15:19:37 +01:00