Commit graph

48 commits

Author SHA1 Message Date
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
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
b980376a71
Remove @ if present 2019-06-05 13:28:05 +02:00
7ec2c9d53c
doorkeeper requires JSON data, not HTTP parameters 2019-05-28 01:51:08 +02: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
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
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
93ea3d57fa
Replace / by quotes 2019-02-13 20:36:10 +01:00
Rien Maertens
8492234be4
Merge branch 'quotes' 2019-02-13 20:33:51 +01:00
Rien Maertens
ddfa2d02b2
Add migrations 2019-02-13 20:31:21 +01:00
redfast00
4afcd9dd80
Make it compatible with python 3.5 2018-10-03 16:42:32 +02:00
Robbe Van Herck
488eb7f275
Added /cammiechat 2018-10-03 16:21:02 +02:00
redfast00
e8c86b5a5e
Merge pull request #2 from ZeusWPI/ephemeralephemeral
Made /door ephemeral
2018-10-03 16:16:06 +02:00
Rien Maertens
53d05ef5c5
Attempt to add quotes to mattermore 2018-10-03 01:18:00 +02:00
Rien Maertens
659fad1356
Improve first time installation experience 2018-10-02 01:21:19 +02:00
Robbe Van Herck
4ac4508108
Made /door ephemeral 2018-10-02 01:01:09 +02:00
redfast00
eca4ced3ff
Try out in-channel 2018-09-24 23:09:14 +02:00
redfast00
8d10988004
Changed wording 2018-09-24 23:07:16 +02:00
redfast00
f4c6988a47
Add revoke route 2018-09-24 22:59:30 +02:00
redfast00
f2ae768f76
Batman! 2018-09-24 20:57:36 +02:00