5ba49e6ecd
Make /resto deal with vegan and unrecognized kinds
...
Better to show a fallback category if a kind isn't recognized than
nothing at all!
The code is refactored to have a table definition in RESTO_TABLES, this
allows to DRY when recognizing unrecognized meals (hah).
The ** operator is used to copy dicts while being able to amend them:
{**meal, "name": …} is a copy of meal but with a different name.
2019-09-23 16:49:19 +02:00
b5033e8b0c
Correct Dutch
...
Woop woop, that's the sound of the spelling police
2019-09-23 16:49:19 +02:00
a6c3461b04
Change "keuneteetn" to "vegetoarisch" in /resto
...
Not even bunnies would want to eat what they serve in our restos! More
seriously, vegetarians have feelings too.
2019-09-23 16:49:18 +02:00
redfast00
72af74517a
Merge pull request #8 from fbegyn/doorkeeper-feedback
...
Doorkeeper respones
2019-08-24 02:26:43 +02:00
Francis Begyn
af5d84d60c
add the MM drier token config example
2019-08-24 02:16:20 +02:00
Francis Begyn
9c2c38eed5
initial work on making doorkeeper reply to MM
2019-08-23 02:00:14 +02:00
redfast00
1ee37eb100
Remove autodeleting messages
2019-06-12 14:24:36 +02:00
redfast00
253c0f5f3f
Merge remote-tracking branch 'gitlab/quote-styling'
2019-06-05 20:20:53 +02:00
redfast00
167f0f40ae
Update dependencies
2019-06-05 14:57:21 +02:00
redfast00
8fa23b86f1
Merge pull request #6 from ZeusWPI/Jan-PieterBaert-patch-1
...
edit regex so names containing `-` are allowed
2019-06-05 13:32:27 +02:00
redfast00
b980376a71
Remove @ if present
2019-06-05 13:28:05 +02:00
Jan-Pieter Baert
f60e6a545e
edit regex so names containing -
are allowed
2019-06-02 00:19:06 +02:00
redfast00
6913931d4f
Merge pull request #5 from fbegyn/doorkeeper-port
...
Port mattermore for doorkeeper
2019-05-28 21:10:24 +02:00
7ec2c9d53c
doorkeeper requires JSON data, not HTTP parameters
2019-05-28 01:51:08 +02:00
c2ede76c51
Fix machine date format
2019-03-28 01:41:08 +01:00
d435ea4620
Add webfonts
2019-03-28 01:33:23 +01:00
d80eeb775a
Add new quote styling
2019-03-27 23:43:44 +01:00
ccb7ad8086
Add EditorConfig file
2019-03-27 23:38:11 +01:00
2fadfe8a5f
Make files executable
2019-03-27 23:27:39 +01:00
59140c900e
Move static files to static dir
2019-03-27 22:05:56 +01:00
redfast00
6bb2c6e2e5
Add CORS header
2019-03-21 21:35:14 +01:00
Robbe Van Herck
e0ced162f4
Display None when there is none
2019-03-18 11:56:32 +01:00
Robbe Van Herck
25d7d73255
Fix some stuff
2019-03-18 11:46:09 +01:00
Robbe Van Herck
0af464d17e
Testint 2
2019-02-19 19:04:05 +01:00
Robbe Van Herck
dd78efee00
Merge branch 'master' of github.com:ZeusWPI/mattermore
2019-02-19 19:03:10 +01:00
Robbe Van Herck
1d23558a0a
Testint
2019-02-19 19:02:55 +01:00
Rien Maertens
095b043d01
Typo
2019-02-19 18:44:03 +01:00
Rien Maertens
ca741e951e
Beter resto menu
2019-02-19 18:39:33 +01:00
Robbe Van Herck
5e302e3881
HTTP **S** try 2
2019-02-19 18:19:37 +01:00
Robbe Van Herck
6ae9511002
HTTP **S**
2019-02-19 18:16:59 +01:00
Robbe Van Herck
a4453b8265
Merge branch 'master' of github.com:ZeusWPI/mattermore
2019-02-19 14:52:48 +01:00
Robbe Van Herck
16f495ffde
Add possibility to delete messages from non-bestuur
2019-02-19 14:52:38 +01:00
Rien Maertens
85d3ea82e2
Better /resto formattting
2019-02-19 12:36:28 +01:00
Rien Maertens
9683e93cd4
Split /resto in json and plain version
2019-02-19 12:31:00 +01:00
Rien Maertens
01fc365a1e
Add /resto
2019-02-19 12:15:19 +01:00
redfast00
dba7d587b1
Add json API
2019-02-14 20:41:42 +01:00
redfast00
7cddad10a9
Use text instead of html for robots.txt
2019-02-14 20:12:14 +01:00
redfast00
fdf1bc4153
Prevent indexing
2019-02-14 20:07:24 +01:00
redfast00
ff0940a5af
Remove f-strings because python 3.5
2019-02-14 19:55:55 +01:00
redfast00
66fd50743f
Fix quotes
2019-02-14 19:09:08 +01:00
redfast00
9eccc4ae7b
Add detailed instructions about migrations
2019-02-14 04:43:51 +01:00
Rien Maertens
450bcf2040
Add /quote route
2019-02-14 01:04:26 +01:00
Rien Maertens
7ab27fd9ef
Add quote import script
2019-02-14 00:50:38 +01:00
Rien Maertens
8f5a6a6357
Quote using quotation marks
2019-02-13 23:52:39 +01:00
Rien Maertens
fbfdcfcfaf
Respond to /addquote with a message containing the quote
2019-02-13 23:50:48 +01:00
Rien Maertens
f8436cadd9
OK, quotes should not be _that_ big
2019-02-13 23:29:21 +01:00
Rien Maertens
9ff1e97804
Edit migration
2019-02-13 22:58:19 +01:00
Rien Maertens
067c399902
Quotes should not be unique, and may be a bit bigger
2019-02-13 22:55:25 +01:00
Rien Maertens
1d942ce56b
Make Python 3.5 compliant
2019-02-13 22:38:21 +01:00
Rien Maertens
acaea97b1f
Fix deploy.sh part II
2019-02-13 21:46:51 +01:00