15 Commits

Author SHA256 Message Date
fishfacegit 68e092b06e Handle closed-time typos from SWP API and update local dev setup (#32)
* updated dependencies, fixed "geschlossen" parsing

* httpretty.core warning patch

---------

Co-authored-by: Hadrian Burkhardt <hadrian.burkhardt@gmx.de>
2026-02-18 23:00:09 +01:00
f4lco cec402bffd Bump dependencies 2024-11-17 10:41:13 +01:00
Hadrian Burkhardt d637d71c8f reimplemented openMensaFeedv2 and fixed linting 2023-12-11 21:05:26 +01:00
Hadrian Burkhardt 58a53e608f builder added, removed old files 2023-12-11 21:05:26 +01:00
f4lco c308118e8f Python 3.11 2022-11-01 23:23:03 +01:00
f4lco 3dabf375c9 Move to CircleCI to continue building 2022-11-01 15:27:27 +01:00
f4lco c957fc5b5e Fix exception type in test_retrieval (#7)
Using json.JSONDecodeError should replace using the 'message'
accessor of exceptions, which Python 3 removed.
This works as long as "simplejson" is not added as project
dependency, because "requests" gives preferential treatment to
simplejson, which ships its own version of JSONDecodeError.
2020-04-23 17:41:50 +02:00
f4lco 342157e465 Add logging for response bodies (#11) 2019-12-28 17:36:44 +01:00
f4lco 8edc5a0ced Set retrieval test result to XFAIL on invalid JSON (#6)
This increases build stability - in case we did not receive
valid JSON in the retrieval test, we cannot exercise the
parser at all.
Disadvantage: if the endpoint stops returning JSON, we will
never know.
2019-06-07 11:22:40 +02:00
f4lco b86284054f Add PyLint 2019-01-27 20:45:51 +01:00
Falco Duersch 57c75b02e5 Integrate pycodestyle 2019-01-27 19:18:53 +01:00
Falco Duersch 8b09b81ba3 Enable retrieval test when executed through Travis cron job 2018-10-23 09:12:11 +02:00
Falco Duersch 472535d898 Fix retrieval test 2018-10-22 09:22:40 +02:00
Kai Fabian 5adf85ab65 feature/metafeeds: Support for canteen meta feeds and index feed (#2)
* feature/metafeeds: Restructured API, splitted menu and meta feed

* feature/metafeeds: add field 'key' to Canteen

* feature/metafeeds: added helper function for reverse urls

* feature/metafeeds: added menu feed url to meta feed

* feature/metafeeds: added missing test

(added: testing meta feed rendering in retrievaltest)

* feature/metafeeds: added feed index page

* whitespace fix

* feature/metafeeds: added alias urls

* feature/metafeeds: moved meta feed default url

* feature/metafeeds: moved index generation to views

* feature/metafeeds: inlined builder instance creation

* feature/metafeeds: removed unused 'menu' parameter

* feature/metafeeds: replaced 'reverse' module with Flask's url_for

* feature/metafeeds: removed unused import

* feature/metafeeds: removed unused function parameters

* feature/metafeeds: moved menu feed url generation to views.py

* feature/metafeeds: cleanup debug prints

removing debug prints that should never have been committed.
2018-10-22 09:16:14 +02:00
Falco Duersch e0b88bbc87 OpenMensa parser for STW Potsdam after canteen website redesign 2018-09-19 17:32:49 +02:00