Jannik
0f59fb51b4
Merge pull request 'Remove -Xopt-in compiler argument' ( #27 ) from opt-out into master
...
Reviewed-on: #27
2 months ago
Hannes Braun
97f32069fa
Remove -Xopt-in compiler argument
...
We don't need to opt in to the experimental Time class any longer.
2 months ago
Jannik
9f8ca744bc
Merge pull request 'Fix permissions of TCoR volume in Docker container' ( #26 ) from fix-docker-permissions into master
...
Reviewed-on: #26
3 months ago
Hannes Braun
14b212dcf8
Fix permissions of TCoR volume in Docker container
4 months ago
Jannik
be415a8ee4
Merge pull request 'Update year when updating cached timetables' ( #25 ) from fix-year-update into master
...
Reviewed-on: #25
5 months ago
Hannes Braun
7f7aaa180a
Update year when updating cached timetables
5 months ago
Jannik
3e17a788d7
update gradle wrapper to version 7.6
5 months ago
Jannik
fb838f5a32
update dependencies
...
* kotlin 1.6.20 -> 1.7.20
* spring boot 2.6.6 -> 2.7.6
* coroutines 1.6.1 -> 1.6.4
* gson 2.9.0 -> 2.10
5 months ago
Jannik
7581dc058c
Merge pull request 'Replace GlobalScope with CoroutineScope in CacheController' ( #22 ) from feature/CoroutineScope into master
...
Reviewed-on: #22
5 months ago
Jannik
a212539366
replace GlobalScope with CoroutineScope in CacheController
5 months ago
Jannik
dc6c41578a
Merge pull request 'Update MensaParser for new Mensa website' ( #24 ) from fix-mensaparser into master
...
Reviewed-on: #24
5 months ago
Hannes Braun
a39da6deba
Update MensaParser for new Mensa website
5 months ago
Hannes Braun
d457627e00
Update jsoup from 1.14.3 to 1.15.3
...
Version 1.14.3 also included a vulnerability (CVE-2022-36033) that got fixed with 1.15.3.
5 months ago
Hannes Braun
795ddc516d
Deduplicate default values in StartupController
5 months ago
Jannik
e6f09c11ba
update libraries
...
* spring boot 2.5.5 -> 2.6.6
* kotlin 1.5.31 -> 1.6.20
* coroutines 1.5.2 -> 1.6.1
* gson 2.8.8 -> 2.9.0
* gradle wrapper 7.2 -> 7.4.2
1 year ago
Jannik
f7c8958d20
Merge pull request 'Fix CacheController lookup' ( #23 ) from fix/cache-controller into master
...
Reviewed-on: #23
1 year ago
Hannes Braun
006e962bf1
Fix CacheController lookup
1 year ago
Jannik
f49e600613
version 1.3.0
2 years ago
Jannik
940a30e9aa
Merge pull request 'Parse the year of a timetable' ( #21 ) from hannesbraun/TheCitadelofRicks:feature/parse-year into master
...
Reviewed-on: #21
2 years ago
Hannes Braun
d863f4fb1e
TimetableParser: parse year
...
This also adds the parsed year to the meta object included in the timetable response
2 years ago
Jannik
dc57a0d0c1
Merge pull request 'Various improvements' ( #17 ) from hannesbraun/TheCitadelofRicks:fix/timeout-resilience into master
...
Reviewed-on: #17
2 years ago
Hannes Braun
5ba9dfc263
Better null checks
2 years ago
Hannes Braun
ca8efdaa85
Only add timetable to cache on success
2 years ago
Hannes Braun
8e3af696e0
Limit sending timetable requests in parallel to 3
...
Otherwise, the requests may fail (from my experience). Also we don't want to look suspicious (flooding their server with tons of requests at the same time).
2 years ago
Hannes Braun
fb6291792d
Use ConcurrentHashMap for timetableList
...
Multiple requests may be processed at the same time and could otherwise cause problems (concurrent write operations)
2 years ago
Hannes Braun
993b8f6a71
Small improvements
...
- Improve formatting
- Fix some typos
- Mini code improvements
2 years ago
Hannes Braun
f9cc9b5e14
Make the update scheduling more readable (hopefully)
2 years ago
Hannes Braun
460d1ee131
StatusController: use properties instead of getters
2 years ago
Hannes Braun
90847a2730
Also set JVM target to 11 for Java
2 years ago
Hannes Braun
a292b45fcb
Dependency updates
...
This also replaces JCenter with Maven Central since JCenter is now read-only
2 years ago
Hannes Braun
22f17d10e0
Timetable fixes
...
- Only one request is made to get the timetable HTML document for parsing the timetable and the weekNumberYear
- On timeouts or other errors, the cached data won't be overwritten with emptiness anymore
- The scheduled updates will now also update the weekNumberYear
2 years ago
Hannes Braun
ae9bf2a562
Update Kotlin to 1.5.31
2 years ago
Jannik
6394a7c880
fix secrets (1st try)
2 years ago
Jannik
5ab5e850bd
execute the docker build/deploy image with privileged: true
2 years ago
Jannik
a97a464a83
Merge pull request 'use techknowlogick's drone-docker image' ( #20 ) from fix/docker-build into master
...
Reviewed-on: #20
2 years ago
Jannik
2b06efeece
use techknowlogick's drone-docker image
...
this should fix the docker build issues
2 years ago
Jannik
024f2b04ce
„README.md“ ändern
2 years ago
Jannik
bf71d62dc5
version 1.2.8
2 years ago
Jannik
7dce2c6cfd
Merge pull request 'updated mensa URL' ( #16 ) from fix/mensa_url into master
...
Reviewed-on: #16
2 years ago
Hendrik Schutter
a1dc5656b8
updated mensa URL, thanks to Hannes B.
2 years ago
Jannik
dd4c5259d2
Merge pull request 'move ci config from drone to woodpecker' ( #18 ) from fix/ci into master
...
Reviewed-on: #18
2 years ago
Jannik
884aab08ed
move ci config from drone to woodpecker
2 years ago
Jannik
c64c8779e3
update kotlin to 1.4
...
* update spring boot 2.3.2 -> 2.3.3
* update gradle wrapper to version 6.6.1
3 years ago
Jannik
1d614a06c4
version 1.2.7
...
* update coroutines 1.3.7 -> 1.3.8
3 years ago
Jannik
3f10c8afaa
fix courseList sorting
...
closes #15
3 years ago
Jannik
9de1e295dd
fix reading file from resources
3 years ago
Jannik
6287d4582d
update spring-boot
...
* add TEST_A and TEST_B courses for testing during summer break
3 years ago
Jannik
7dfa0fc6c4
fix .drone.yml (again)
3 years ago
Jannik
a53b2b8fc1
only publish to docker hub if a release is tagged
3 years ago
Jannik
36972c9322
fix .drone.yml
3 years ago