Commit graph

57 commits

Author SHA1 Message Date
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
Feliciaan De Palmenaer 3d50650d8e Add fancy debugtoolbar when debugging 2015-06-09 22:24:48 +02:00
Tom Naessens c77f9150db Add errbit integration 2015-06-09 16:47:11 +02:00
Lorin Werthen e3daf80ff6 lower case james 2015-04-03 18:51:19 +02:00
Feliciaan De Palmenaer 4c94953059 Hopefully lets werkzeug log 2015-04-02 21:01:18 +02:00
James 24c5da72f6 Merge branch 'master' of github.com:ZeusWPI/James
Conflicts:
	app/app.py
	app/james.py
2015-04-02 12:47:11 +02:00
James 6eb310199a Do stuff on server 2015-04-02 12:45:38 +02:00
Feliciaan De Palmenaer 7ce3642ef8 Added logging 2015-04-02 12:41:19 +02:00
James 6cb9bf067f This is really going to hurt 2015-03-31 20:15:22 +02:00
Tom Naessens 76f7d4c56d Some PEP8, remove insecure_lib 2015-03-31 16:29:28 +02:00