dependabot[bot]
38d4a5476e
Bump python from 3.11-alpine to 3.13-alpine ( #28 )
...
* Bump python from 3.11-alpine to 3.13-alpine
Bumps python from 3.11-alpine to 3.13-alpine.
---
updated-dependencies:
- dependency-name: python
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
* Bump dependencies
* Bump dependencies
---------
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: f4lco <github@falcoduersch.com >
2024-11-17 11:57:01 +01:00
f4lco
cddaa0421f
Add dependabot
2024-11-17 10:48:01 +01:00
f4lco
cec402bffd
Bump dependencies
2024-11-17 10:41:13 +01:00
f4lco
576cbf3910
Bump dependencies
2024-11-17 10:32:58 +01:00
f4lco
1bbcd9185a
Fix parser on SWP dev builds
2024-11-17 10:16:57 +01:00
Tobias
afb6ad2593
Fix Breaking Changes Due to Changes in the Mensa Website ( #27 )
...
* Fix opening time parsing, add fallback for incorrectly parsed price
* Reset formatting
* Linting
* Replace too broad catch with more specific None check
2024-10-18 17:14:48 +02:00
Kai Fabian
6e9e0732e9
fix: opening timespec non-compliant to OpenMensa XML schema
2024-01-05 13:12:17 +01:00
f4lco
1bee1c3242
Fix integration test
2023-12-11 21:05:26 +01:00
Hadrian Burkhardt
2d4399c3db
linting short variable names
2023-12-11 21:05:26 +01:00
Hadrian Burkhardt
46fc6ee87b
more linting and availability added.
2023-12-11 21:05:26 +01:00
Hadrian Burkhardt
d637d71c8f
reimplemented openMensaFeedv2 and fixed linting
2023-12-11 21:05:26 +01:00
Hadrian Burkhardt
9e37940334
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
Hadrian Burkhardt
f714fc4c79
update for new parsing url swp_
2023-12-11 21:05:26 +01:00
f4lco
65b75794ab
Upgrade dependencies
2023-05-03 10:06:25 +02:00
f4lco
b6e346a958
Fix lint failure
2023-01-25 22:00:26 +01:00
Felix Auringer
f80ee40f27
Update url and parameters for stw api requests
2023-01-25 21:56:31 +01:00
Felix Auringer
a19e687ee5
Update canteen IDs and cHashes
2023-01-25 21:56:31 +01:00
f4lco
6e73ab1a31
Upgrade dependencies
2022-12-23 13:07:00 +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
5164426548
Fix link to deployment repository
2022-10-20 14:39:00 +02:00
Kai Fabian
cc9756624a
Move from Alpine-bundled uwsgi to pip-installed and compiled uwsgi.
...
Alpine ships uWSGI linked against the most recent Python version,
i. e. currently python3.9. The current deployment uses python3.8
though, so whenever our Python version diverges from Alpine's
stable version, uWSGI will break (aka fail to run the parser).
Switching to installing uWSGI via pip into the pipenv will make sure
that the uWSGI Python module's version will always fit our venv.
2021-08-31 09:25:24 +02:00
f4lco
ea7f3b4e05
Upgrade dependencies to fix Dependabot alerts
2021-07-17 12:37:32 +02:00
SusanneBue
14f9551be2
add new Mensa Filmuniversität
2021-07-17 12:31:59 +02:00
f4lco
d4a984e875
Upgrade dependencies to counter Dependabot alerts
2021-04-25 23:17:45 +02:00
f4lco
9850231c4f
Handle offers without a category
2021-01-27 20:54:48 +01:00
f4lco
4fad78261a
Point Travis badge to build status on travis-ci.com
2020-12-09 13:10:13 +01:00
f4lco
7c70ed61aa
Handle variation in API response: offers can also be a hash
2020-10-20 21:13:31 +02:00
f4lco
ecc23b9e6b
Update Dockerfile to Python 3 ( #7 )
2020-04-23 17:41:50 +02:00
f4lco
45d49b515e
Remove Python 2 from setup instructions ( #7 )
2020-04-23 17:41:50 +02: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
5d7eb5c4cb
Fix str/unicode inconsistencies ( #7 )
2020-04-23 17:41:50 +02:00
f4lco
d2837df10b
Replace werkzeug.contrib.SimpleCache with cachetools ( #7 , fixes #12 )
2020-04-23 17:41:35 +02:00
f4lco
5960dd2ebd
Fix minor Python 3 renames and deprecations ( #7 )
2020-04-23 17:38:29 +02:00
f4lco
89d46ff9b3
Set Travis build to Python 3 ( #7 )
2020-04-23 17:38:20 +02:00
f4lco
5e1adf2ba4
Upgrade dependencies to Python 3 ( #7 )
2020-04-23 17:38:11 +02:00
f4lco
e0079a537f
Support empty menu response
...
In recent weeks many API calls return "null".
Instead of letting the request fail, the parser
now treats "null" as empty menu.
2020-03-28 21:12:17 +01:00
f4lco
0208bffb73
Show full output on test failure (including diff)
2020-03-28 21:09:44 +01:00
f4lco
342157e465
Add logging for response bodies ( #11 )
2019-12-28 17:36:44 +01:00
f4lco
ad5b79ec64
Upgrade dependencies to fix security issues
2019-10-30 22:14:35 +01:00
f4lco
8d37c39821
Switch documentation theme to Alabaster
2019-10-30 21:43:50 +01:00
Falco Duersch
c873ca4a29
Update documentation
2019-10-30 21:43:50 +01:00
Falco Duersch
221d1ab964
Cleanup: remove tiny 'canteen' module, document main entry points
2019-10-30 18:50:54 +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
5ccbf57851
Repair debug entry point after using absolute imports
...
Using absolute imports broke the debug target due to
a Werkzeug bug:
https://github.com/pallets/werkzeug/issues/461
Solution is to avoid running Flask apps using
"python -m", and to use "flask run". This also
gets rid of the coverage exception for
"__main__.py".
2019-01-27 20:47:27 +01:00
f4lco
b86284054f
Add PyLint
2019-01-27 20:45:51 +01:00
f4lco
6ec0c010e5
Add pydocstyle
2019-01-27 19:41:46 +01:00
Falco Duersch
57c75b02e5
Integrate pycodestyle
2019-01-27 19:18:53 +01:00
f4lco
523cc8ba62
Add tests for Flask views
2019-01-27 18:57:41 +01:00