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
4 months ago
Jannik
f7c8958d20
Merge pull request 'Fix CacheController lookup' ( #23 ) from fix/cache-controller into master
...
Reviewed-on: #23
7 months ago
Hannes Braun
006e962bf1
Fix CacheController lookup
7 months ago
Jannik
f49e600613
version 1.3.0
10 months ago
Jannik
940a30e9aa
Merge pull request 'Parse the year of a timetable' ( #21 ) from hannesbraun/TheCitadelofRicks:feature/parse-year into master
...
Reviewed-on: #21
10 months ago
Hannes Braun
d863f4fb1e
TimetableParser: parse year
...
This also adds the parsed year to the meta object included in the timetable response
10 months ago
Jannik
dc57a0d0c1
Merge pull request 'Various improvements' ( #17 ) from hannesbraun/TheCitadelofRicks:fix/timeout-resilience into master
...
Reviewed-on: #17
10 months ago
Hannes Braun
5ba9dfc263
Better null checks
10 months ago
Hannes Braun
ca8efdaa85
Only add timetable to cache on success
10 months 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).
10 months 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)
10 months ago
Hannes Braun
993b8f6a71
Small improvements
...
- Improve formatting
- Fix some typos
- Mini code improvements
10 months ago
Hannes Braun
f9cc9b5e14
Make the update scheduling more readable (hopefully)
10 months ago
Hannes Braun
460d1ee131
StatusController: use properties instead of getters
10 months ago
Hannes Braun
90847a2730
Also set JVM target to 11 for Java
10 months ago
Hannes Braun
a292b45fcb
Dependency updates
...
This also replaces JCenter with Maven Central since JCenter is now read-only
10 months 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
10 months ago
Hannes Braun
ae9bf2a562
Update Kotlin to 1.5.31
10 months ago
Jannik
6394a7c880
fix secrets (1st try)
10 months ago
Jannik
5ab5e850bd
execute the docker build/deploy image with privileged: true
10 months ago
Jannik
a97a464a83
Merge pull request 'use techknowlogick's drone-docker image' ( #20 ) from fix/docker-build into master
...
Reviewed-on: #20
10 months ago
Jannik
2b06efeece
use techknowlogick's drone-docker image
...
this should fix the docker build issues
10 months ago
Jannik
024f2b04ce
„README.md“ ändern
10 months ago
Jannik
bf71d62dc5
version 1.2.8
10 months ago
Jannik
7dce2c6cfd
Merge pull request 'updated mensa URL' ( #16 ) from fix/mensa_url into master
...
Reviewed-on: #16
10 months ago
Hendrik Schutter
a1dc5656b8
updated mensa URL, thanks to Hannes B.
10 months ago
Jannik
dd4c5259d2
Merge pull request 'move ci config from drone to woodpecker' ( #18 ) from fix/ci into master
...
Reviewed-on: #18
10 months ago
Jannik
884aab08ed
move ci config from drone to woodpecker
10 months 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
2 years ago
Jannik
1d614a06c4
version 1.2.7
...
* update coroutines 1.3.7 -> 1.3.8
2 years ago
Jannik
3f10c8afaa
fix courseList sorting
...
closes #15
2 years ago
Jannik
9de1e295dd
fix reading file from resources
2 years ago
Jannik
6287d4582d
update spring-boot
...
* add TEST_A and TEST_B courses for testing during summer break
2 years ago
Jannik
7dfa0fc6c4
fix .drone.yml (again)
2 years ago
Jannik
a53b2b8fc1
only publish to docker hub if a release is tagged
2 years ago
Jannik
36972c9322
fix .drone.yml
2 years ago
Jannik
7bf2920d17
add docker hub publish to .drone.yml
2 years ago
Jannik
c30306c163
fix courseList
2 years ago
Jannik
46c9a61124
remove the workaround introduced in 36acf1a00a
and update the Dockerfile
2 years ago
Jannik
36acf1a00a
add workaround for ssl errors
2 years ago
Jannik
f9029bf1c3
use HashMap insted of ArrayList to store the timetables
2 years ago
Jannik
fe72c02562
remove unneeded dependency, use try catch when writing files
2 years ago
Jannik
8d9fcd3d7c
update gradle to version 6.5
2 years ago
Jannik
ec7a0a7a64
change some parameters
...
* fixes #13
* use a HashMap for timetableRequests count
* api version 1.2.0
* software version 1.2.3
2 years ago
Jannik
efd8f9f9f5
update spring
...
* spring-boot 2.2.7 -> 2.3.0
2 years ago
Jannik
e2dce9fab3
update gradle, kotlin & coroutines
...
* gradle 6.1.1 -> 6.4
* kotlin 1.3.71 -> 1.3.72
* coroutines 1.3.5 -> 1.3.6
2 years ago
Jannik
bbac0d3688
„README.md“ ändern
2 years ago
Jannik
6114077591
update spring boot, jsoup and kotlin coroutines
...
* kotlin coroutines 1.3.3 -> 1.3.5
* jsoup 1.12.2 -> 1.13.1
* spring boot 2.2.5 -> 2.2.6
* various performance improvements
2 years ago
Jannik
678a97f140
fix MensaParser & update spring boot, kotlin
...
* fixed the MensaParser(), it should now work more reliable
* updated spring boot 2.2.4 -> 2.2.5
* updated kotlin 1.3.61 -> 1.3.70
* clean up MensaParserTest
2 years ago
Jannik
c22f752788
ci test 2
2 years ago