Commit Graph

129 Commits

Author SHA1 Message Date
b2a429cc48 Merge pull request 'Add API for room occupancy' (#29) from room-api into master
Reviewed-on: #29
2023-09-29 12:36:06 +02:00
1a768e1188 Add API for room occupancy 2023-09-25 15:33:42 +02:00
b78d28a6d3 Fix some more typos 2023-09-15 18:59:11 +02:00
954e8ec359 Fix typo in comment about mensa menu update 2023-08-24 23:26:57 +02:00
a5d13629e5 Merge pull request 'CourseListParser: don't replace https with httpss' (#28) from fix-course-list-parser into master
Reviewed-on: #28
2023-06-30 13:18:24 +02:00
a3b3c40d77 CourseListParser: don't replace https with httpss 2023-05-15 14:35:55 +02:00
0f59fb51b4 Merge pull request 'Remove -Xopt-in compiler argument' (#27) from opt-out into master
Reviewed-on: #27
2023-04-05 11:06:34 +02:00
97f32069fa
Remove -Xopt-in compiler argument
We don't need to opt in to the experimental Time class any longer.
2023-04-03 21:17:54 +02:00
9f8ca744bc Merge pull request 'Fix permissions of TCoR volume in Docker container' (#26) from fix-docker-permissions into master
Reviewed-on: #26
2023-02-19 14:23:17 +01:00
14b212dcf8
Fix permissions of TCoR volume in Docker container 2023-01-31 18:53:41 +01:00
be415a8ee4 Merge pull request 'Update year when updating cached timetables' (#25) from fix-year-update into master
Reviewed-on: #25
2023-01-14 12:45:31 +01:00
7f7aaa180a
Update year when updating cached timetables 2023-01-13 20:21:15 +01:00
3e17a788d7
update gradle wrapper to version 7.6 2022-12-22 16:15:17 +01:00
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
2022-12-22 15:56:10 +01:00
7581dc058c Merge pull request 'Replace GlobalScope with CoroutineScope in CacheController' (#22) from feature/CoroutineScope into master
Reviewed-on: #22
2022-12-22 15:47:16 +01:00
a212539366
replace GlobalScope with CoroutineScope in CacheController 2022-12-22 15:42:46 +01:00
dc6c41578a Merge pull request 'Update MensaParser for new Mensa website' (#24) from fix-mensaparser into master
Reviewed-on: #24
2022-12-22 15:38:20 +01:00
a39da6deba
Update MensaParser for new Mensa website 2022-12-19 21:02:50 +01:00
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.
2022-12-19 20:30:14 +01:00
795ddc516d
Deduplicate default values in StartupController 2022-12-19 20:26:45 +01:00
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
2022-04-08 14:54:06 +02:00
f7c8958d20 Merge pull request 'Fix CacheController lookup' (#23) from fix/cache-controller into master
All checks were successful
continuous-integration/woodpecker the build was successful
Reviewed-on: #23
2022-01-14 18:46:24 +01:00
006e962bf1
Fix CacheController lookup
All checks were successful
continuous-integration/woodpecker the build was successful
2022-01-14 15:42:25 +01:00
f49e600613
version 1.3.0
All checks were successful
continuous-integration/woodpecker the build was successful
2021-10-31 22:09:12 +01:00
940a30e9aa Merge pull request 'Parse the year of a timetable' (#21) from hannesbraun/TheCitadelofRicks:feature/parse-year into master
All checks were successful
continuous-integration/woodpecker the build was successful
Reviewed-on: #21
2021-10-24 15:00:13 +02:00
d863f4fb1e
TimetableParser: parse year
All checks were successful
continuous-integration/woodpecker the build was successful
This also adds the parsed year to the meta object included in the timetable response
2021-10-24 14:39:22 +02:00
dc57a0d0c1 Merge pull request 'Various improvements' (#17) from hannesbraun/TheCitadelofRicks:fix/timeout-resilience into master
All checks were successful
continuous-integration/woodpecker the build was successful
Reviewed-on: #17
2021-10-24 14:38:12 +02:00
5ba9dfc263
Better null checks 2021-10-24 14:34:00 +02:00
ca8efdaa85
Only add timetable to cache on success 2021-10-24 14:34:00 +02:00
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).
2021-10-24 14:34:00 +02:00
fb6291792d
Use ConcurrentHashMap for timetableList
Multiple requests may be processed at the same time and could otherwise cause problems (concurrent write operations)
2021-10-24 14:34:00 +02:00
993b8f6a71
Small improvements
- Improve formatting
- Fix some typos
- Mini code improvements
2021-10-24 14:34:00 +02:00
f9cc9b5e14
Make the update scheduling more readable (hopefully) 2021-10-24 14:34:00 +02:00
460d1ee131
StatusController: use properties instead of getters 2021-10-24 14:33:59 +02:00
90847a2730
Also set JVM target to 11 for Java 2021-10-24 14:33:59 +02:00
a292b45fcb
Dependency updates
This also replaces JCenter with Maven Central since JCenter is now read-only
2021-10-24 14:33:59 +02:00
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
2021-10-24 14:33:59 +02:00
ae9bf2a562
Update Kotlin to 1.5.31 2021-10-24 14:33:58 +02:00
6394a7c880
fix secrets (1st try)
All checks were successful
continuous-integration/drone the build was successful
2021-10-16 15:48:34 +02:00
5ab5e850bd
execute the docker build/deploy image with privileged: true
Some checks failed
continuous-integration/drone the build failed
2021-10-16 15:21:01 +02:00
a97a464a83 Merge pull request 'use techknowlogick's drone-docker image' (#20) from fix/docker-build into master
Some checks failed
continuous-integration/drone the build failed
Reviewed-on: #20
2021-10-16 14:39:38 +02:00
2b06efeece
use techknowlogick's drone-docker image
All checks were successful
continuous-integration/drone the build was successful
this should fix the docker build issues
2021-10-16 14:35:37 +02:00
024f2b04ce „README.md“ ändern
All checks were successful
continuous-integration/drone the build was successful
2021-10-13 20:09:46 +02:00
bf71d62dc5
version 1.2.8
Some checks failed
continuous-integration/drone the build failed
2021-10-13 20:03:14 +02:00
7dce2c6cfd Merge pull request 'updated mensa URL' (#16) from fix/mensa_url into master
All checks were successful
continuous-integration/drone the build was successful
Reviewed-on: #16
2021-10-13 19:49:53 +02:00
a1dc5656b8
updated mensa URL, thanks to Hannes B.
All checks were successful
continuous-integration/drone the build was successful
2021-10-13 19:47:38 +02:00
dd4c5259d2 Merge pull request 'move ci config from drone to woodpecker' (#18) from fix/ci into master
Some checks failed
continuous-integration/drone the build failed
Reviewed-on: #18
2021-10-13 19:45:32 +02:00
884aab08ed
move ci config from drone to woodpecker
Some checks failed
continuous-integration/drone the build failed
2021-10-13 19:39:37 +02:00
c64c8779e3
update kotlin to 1.4
All checks were successful
continuous-integration/drone/push Build is passing
* update spring boot 2.3.2 -> 2.3.3
* update gradle wrapper to version 6.6.1
2020-09-16 18:56:24 +02:00
1d614a06c4
version 1.2.7
All checks were successful
continuous-integration/drone/tag Build is passing
continuous-integration/drone/push Build is passing
* update coroutines 1.3.7 -> 1.3.8
2020-08-16 20:03:37 +02:00