Commit Graph

111 Commits

Author SHA1 Message Date
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
3f10c8afaa
fix courseList sorting
All checks were successful
continuous-integration/drone/push Build is passing
closes #15
2020-08-16 19:56:13 +02:00
9de1e295dd
fix reading file from resources
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
2020-08-06 17:27:49 +02:00
6287d4582d
update spring-boot
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
* add TEST_A and TEST_B courses for testing during summer break
2020-08-06 16:31:05 +02:00
7dfa0fc6c4
fix .drone.yml (again)
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
2020-06-26 10:34:56 +02:00
a53b2b8fc1
only publish to docker hub if a release is tagged 2020-06-26 10:32:20 +02:00
36972c9322
fix .drone.yml
All checks were successful
continuous-integration/drone/push Build is passing
2020-06-26 10:26:07 +02:00
7bf2920d17
add docker hub publish to .drone.yml
Some checks failed
continuous-integration/drone/push Build is failing
2020-06-26 10:14:57 +02:00
c30306c163
fix courseList
All checks were successful
continuous-integration/drone/push Build is passing
2020-06-11 17:22:31 +02:00
46c9a61124
remove the workaround introduced in 36acf1a00a and update the Dockerfile
All checks were successful
continuous-integration/drone/push Build is passing
2020-06-08 17:49:38 +02:00
36acf1a00a
add workaround for ssl errors
All checks were successful
continuous-integration/drone/push Build is passing
2020-06-08 11:57:20 +02:00
f9029bf1c3
use HashMap insted of ArrayList to store the timetables
All checks were successful
continuous-integration/drone/push Build is passing
2020-06-06 23:07:23 +02:00
fe72c02562
remove unneeded dependency, use try catch when writing files
All checks were successful
continuous-integration/drone/push Build is passing
2020-06-06 20:53:23 +02:00
8d9fcd3d7c
update gradle to version 6.5
All checks were successful
continuous-integration/drone/push Build is passing
2020-06-05 19:16:39 +02:00
ec7a0a7a64
change some parameters
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
* fixes #13
* use a HashMap for timetableRequests count
* api version 1.2.0
* software version 1.2.3
2020-06-05 18:23:15 +02:00
efd8f9f9f5
update spring
All checks were successful
continuous-integration/drone/push Build is passing
* spring-boot 2.2.7 -> 2.3.0
2020-05-25 11:21:24 +02:00
e2dce9fab3
update gradle, kotlin & coroutines
All checks were successful
continuous-integration/drone/push Build is passing
* gradle 6.1.1 -> 6.4
* kotlin 1.3.71 -> 1.3.72
* coroutines 1.3.5 -> 1.3.6
2020-05-14 17:16:31 +02:00
bbac0d3688 „README.md“ ändern
All checks were successful
continuous-integration/drone/push Build is passing
2020-05-07 20:31:26 +02:00
6114077591
update spring boot, jsoup and kotlin coroutines
All checks were successful
continuous-integration/drone/push Build is passing
* 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
2020-04-13 21:08:01 +02:00