Commit graph

59 commits

Author SHA1 Message Date
redfast00 be9929fd92
Apply timeouts everywhere 2020-02-14 13:21:21 +01:00
redfast00 d37baaec70
Rechtstreeks pushen op master om @mcbloch gelukkig te maken 2020-02-13 13:52:58 +01:00
redfast00 6633de2d3e
That will teach me to deploy without testing 2019-12-27 21:02:24 +01:00
redfast00 014558ccf0
Add space API 2019-12-27 20:56:42 +01:00
Midgard 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
Midgard b5033e8b0c
Correct Dutch
Woop woop, that's the sound of the spelling police
2019-09-23 16:49:19 +02:00
Midgard 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 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
Francis Begyn 7ec2c9d53c
doorkeeper requires JSON data, not HTTP parameters 2019-05-28 01:51:08 +02:00
Midgard c2ede76c51 Fix machine date format 2019-03-28 01:41:08 +01:00
Midgard d435ea4620 Add webfonts 2019-03-28 01:33:23 +01:00
Midgard d80eeb775a Add new quote styling 2019-03-27 23:43:44 +01:00
Midgard 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 f8436cadd9
OK, quotes should not be _that_ big 2019-02-13 23:29:21 +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 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