/Mensa

eth & uzh mensas in zurich

Primary LanguageKotlinMIT LicenseMIT

Mensa

API version MIT licensed Build Status Quality Gate Status

ETHZ & UZH mensas in zurich.

The app is published in the play store and in the f-droid store.

Overview Mensa View
Screenshot Main Screenshot Mensa
Tablet view
Screenshot Tablet

Update mensa details

Has a new Mensa opened, or are the opening times no longer accurate? Feel free to directly submit a PR!

For UZH, look in uzh/locations_rss.json.The infoUrlSlug must match the homepage slug (e.g. raemi59 for https://www.mensa.uzh.ch/en/standorte/raemi59.html). The idSlug must be the id of the menu plan (e.g. for Rämi 59, the menu plan linked here has the URL https://api.mensaoffice.de/api/PDF/get/509).

For ETH, look in eth/locations.json. The infoUrlSlug must match the hompage slug (e.g. zentrum/clausiusbar for https://ethz.ch/de/campus/erleben/gastronomie-und-einkaufen/gastronomie/restaurants-und-cafeterias/zentrum/clausiusbar.html). The idSlug must be the id of the menu plan (e.g. for Clasiusbar, the menu plan linked here has the URL https://ethz.ch/de/campus/erleben/gastronomie-und-einkaufen/gastronomie/menueplaene/offerDay.html?language=de&date=2022-08-22&id=4).

For implementation details how the links are constructed (to try it out yourself), check out ETHMensaProvider.kt and UZHMensaProvider.kt.

Release Checklist

Release checklist:

  • increase the versionCode and adapt the versionName in app/build.gradle.
  • upload the signed abb to the play store (use assets/keystore.jks with strong PW)
  • generate a signed apk
  • write a changelog in fastlane metadata
  • commit
  • create a new release on github with the versionName and attach the signed apk

The key store can be found in assets/keystore.jks, the name of the key is upload.
The password is the personal strong passord of the author.