Commit graph

638 commits

Author SHA1 Message Date
mcbloch e8431fcd12 Add share slug and qr code to order page 2022-04-20 02:35:44 +02:00
mcbloch 1e0c8ed17a change url usage to unique 7char slugs 2022-04-20 02:05:10 +02:00
mcbloch 841c3d5fb8 add flag to disable microsoft login 2022-04-20 01:34:19 +02:00
mcbloch da88d807d1 disable printing of user info 2022-04-20 01:28:48 +02:00
mcbloch cc0c271a22 Add working microsoft login flow 2022-04-20 01:27:52 +02:00
Maxime 0ace54a8fd
Merge pull request #185 from ZeusWPI/fix/pylint
Fix pylint on everything
2022-04-19 23:59:47 +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
Maxime fb3e7b95f1
Merge pull request #181 from ZeusWPI/feature/179
Update script to read admins from configuration file
2022-04-19 22:34:41 +02:00
Jan-Pieter Baert d59ad9abba
Add readme documentation about the admin user 2022-04-19 22:34:16 +02:00
Jan-Pieter Baert 492d1ca91c
Update script to read admins from configuration file 2022-04-19 22:34:06 +02:00
Maxime 461664f629
Merge pull request #183 from ZeusWPI/fix/pylint
Fix pylint in haldis
2022-04-19 22:32:35 +02:00
Jan-Pieter Baert 781e4cd45b
Add requirements for running pylint 2022-04-19 22:05:38 +02:00
Jan-Pieter Baert 5e29f2a5f7
Fix formatting 2022-04-19 22:04:49 +02:00
Jan-Pieter Baert 1cdd22c1c0
Add fail-under to pylint 2022-04-19 22:03:34 +02:00
Maxime 33d2fe3b52
Merge pull request #182 from ZeusWPI/cleanup
Cleanup populate-db script
2022-04-19 21:35:38 +02:00
mcbloch 2123d7d1a3 fix the weird copying of files 2022-04-19 21:31:40 +02:00
Jan-Pieter Baert ba1b37f5fe
Update populate-db to be less hacky 2022-04-19 20:40:06 +02:00
Maxime 8350e57cc8
Merge pull request #178 from fbegyn/f-portable-shell-scripts
make shell scripts portable
2022-04-19 20:20:59 +02:00
Maxime 70491f3e5b
Merge pull request #180 from ZeusWPI/python-versions
Fix python version in first-setup script
2022-04-19 20:19:48 +02:00
mcbloch c5e9067d59 use module instead of installed bin 2022-04-19 20:19:23 +02:00
Maxime ee65544031
Update to use the exact server version 2022-04-19 20:10:22 +02:00
Jan-Pieter Baert b573841e49
Fix python version in first-setup script 2022-04-19 19:57:27 +02:00
Francis Begyn 4924f22b48 make shell scripts portable
The current shell scripts call `/bin/bash`. This won't work on certain
systems (`nixos` for example 👀).

By switching to `/usr/bin/env bash` these scripts become portable. As
long as `bash` environment is present on a system, the scripts will
work.
2022-04-19 19:17:27 +02:00
redfast00 1f7ddcdb33
Rip out Airbrake 2022-01-26 07:51:45 +01:00
redfast00 36b55c5171
Merge pull request #176 from ZeusWPI/feat/pwa
Add PWA support
2021-10-28 23:58:52 +02:00
maartenvn c5da63b23e fix(pwa): correct description & theme color 2021-10-28 23:52:21 +02:00
maartenvn 9e3578425f feat(pwa): add PWA support 2021-10-28 23:35:57 +02:00
Midgard 4cbc4473de
Add custom item to each location 2021-09-15 21:14:21 +02:00
Midgard 326b5d6b5f
Set secure and samesite 2021-07-24 17:51:26 +02:00
Midgard 02a82621b7
Improve footer: improve spacing, https URL 2021-07-24 17:51:26 +02:00
Midgard adcc0dd69e
Confine li spacing to .main 2021-07-24 17:51:26 +02:00
Midgard 4a96c0c286
Correct phone URL, add phone URL on location 2021-07-24 17:51:26 +02:00
Midgard e82742eb62
Remove pills introduced in previous commit 2021-07-24 17:51:26 +02:00
Midgard 16bd9243d4
Aggregate comments 2021-07-24 17:51:26 +02:00
Midgard 1ff8ceb521
Improve design
Remove main CSS from shop view page. Make it theme independent and
maximize contrast.

Improve spacing in "add item" list.

Refactor old term "showcase" to "shop_view" in code.
2021-07-24 17:51:25 +02:00
Midgard 58d270e582
HLDS: change :: to double space and require it
Require double space before tags and price, like in the plain text
accounting format of ledger. This makes it easier to differentiate
between prices mentioned in descriptions and the price for the dish.
2021-07-24 17:51:25 +02:00
Midgard 00cdc587b0
Add space at bottom in show view
On big orders the bottom of the page was awkward.
2021-07-24 17:51:25 +02:00
redfast00 90ea53d20e
Change komoot API from .de to .io 2021-07-24 17:45:19 +02:00
Midgard cc9343ccbc
Update dependencies
TatSu 5.5.0 is yanked.

Add Flask constraints because the newer versions changed stuff.
2021-06-19 01:18:30 +02:00
Midgard 65d6de21fa
Change no courier text from "No-one" to "no-one yet" 2021-06-19 01:00:22 +02:00
redfast00 ca2b682dec
Merge pull request #174 from ZeusWPI/first-time-setup
First time setup
2020-12-09 23:32:09 +01:00
redfast00 fad23fbeda
Add option to download menus, make DB creation easier 2020-12-04 20:21:12 +01:00
redfast00 ec7c8ed40b
Update dependencies to fix bug in werkzeug 2020-12-04 20:20:41 +01:00
redfast00 f5a8303362
Don't crash when the theme does not have any options
Hotfix for prod, pushing straight to master
2020-12-04 05:17:34 +01:00
Midgard 787669823c
Improve spacing between items in ordered dishes 2020-10-13 02:27:31 +02:00
Midgard 695331dd1a
Fix margin in ordered dishes, less bold 2020-10-13 02:18:43 +02:00
Midgard 342e94a7bf
Remove aligned price in menu and my_items 2020-10-13 02:10:45 +02:00
Midgard d3e6c1b08c
Use columns in order info faster, align prices in menu 2020-10-13 02:08:52 +02:00
Midgard c23a11bfdb
Fix flow quirks in "order information" section 2020-10-13 02:01:07 +02:00