Commit Graph

53 Commits

Author SHA1 Message Date
Hannes Braun 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
Jannik 3e17a788d7
update gradle wrapper to version 7.6 2022-12-22 16:15:17 +01:00
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
2022-12-22 15:56:10 +01:00
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.
2022-12-19 20:30:14 +01:00
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
2022-04-08 14:54:06 +02:00
Jannik f49e600613
version 1.3.0
continuous-integration/woodpecker the build was successful Details
2021-10-31 22:09:12 +01:00
Hannes Braun f9cc9b5e14
Make the update scheduling more readable (hopefully) 2021-10-24 14:34:00 +02:00
Hannes Braun 90847a2730
Also set JVM target to 11 for Java 2021-10-24 14:33:59 +02:00
Hannes Braun a292b45fcb
Dependency updates
This also replaces JCenter with Maven Central since JCenter is now read-only
2021-10-24 14:33:59 +02:00
Hannes Braun ae9bf2a562
Update Kotlin to 1.5.31 2021-10-24 14:33:58 +02:00
Jannik 2b06efeece
use techknowlogick's drone-docker image
continuous-integration/drone the build was successful Details
this should fix the docker build issues
2021-10-16 14:35:37 +02:00
Jannik c64c8779e3
update kotlin to 1.4
continuous-integration/drone/push Build is passing Details
* 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
Jannik 1d614a06c4
version 1.2.7
continuous-integration/drone/tag Build is passing Details
continuous-integration/drone/push Build is passing Details
* update coroutines 1.3.7 -> 1.3.8
2020-08-16 20:03:37 +02:00
Jannik 6287d4582d
update spring-boot
continuous-integration/drone/push Build is passing Details
continuous-integration/drone/tag Build is passing Details
* add TEST_A and TEST_B courses for testing during summer break
2020-08-06 16:31:05 +02:00
Jannik c30306c163
fix courseList
continuous-integration/drone/push Build is passing Details
2020-06-11 17:22:31 +02:00
Jannik 36acf1a00a
add workaround for ssl errors
continuous-integration/drone/push Build is passing Details
2020-06-08 11:57:20 +02:00
Jannik fe72c02562
remove unneeded dependency, use try catch when writing files
continuous-integration/drone/push Build is passing Details
2020-06-06 20:53:23 +02:00
Jannik 8d9fcd3d7c
update gradle to version 6.5
continuous-integration/drone/push Build is passing Details
2020-06-05 19:16:39 +02:00
Jannik ec7a0a7a64
change some parameters
continuous-integration/drone/push Build is passing Details
continuous-integration/drone/tag Build is passing Details
* 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
Jannik efd8f9f9f5
update spring
continuous-integration/drone/push Build is passing Details
* spring-boot 2.2.7 -> 2.3.0
2020-05-25 11:21:24 +02:00
Jannik e2dce9fab3
update gradle, kotlin & coroutines
continuous-integration/drone/push Build is passing Details
* 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
Jannik 6114077591
update spring boot, jsoup and kotlin coroutines
continuous-integration/drone/push Build is passing Details
* 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
Jannik 678a97f140
fix MensaParser & update spring boot, kotlin
continuous-integration/drone/push Build is passing Details
continuous-integration/drone/tag Build is passing Details
* 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
2020-03-03 19:31:12 +01:00
Jannik f20279a4b4
updated jsoup 1.12.1 -> 1.12.2
continuous-integration/drone/push Build is passing Details
2020-02-16 15:18:52 +01:00
Jannik f01916b363
updated gradle and spring boot
continuous-integration/drone/push Build is passing Details
* gradle 5.6.2 -> 6.1.1
* spring boot 2.1.11 -> 2.2.4
* junit-jupiter 5.5.1 -> 5.6.0
2020-01-26 17:46:16 +01:00
Jannik a13203c477
use the current directory to store the config.xml and cached timetables
continuous-integration/drone/push Build is passing Details
2020-01-15 13:42:40 +01:00
Jannik d0d5e4b6d1
removed Java legacy code
continuous-integration/drone/push Build is passing Details
the minimum is now Java 11
2019-12-30 01:36:21 +01:00
Jannik 16cb89ca38
update kotlin to 1.3.61
* update coroutines to 1.3.3
2019-12-13 14:06:08 +01:00
Jannik b428840df7
update to spring boot 2.1.11 2019-12-12 14:25:13 +01:00
Jannik 9dd875fcb3
update softwareVersion/version to 1.2.0
continuous-integration/drone/push Build is passing Details
2019-11-21 14:49:22 +01:00
Jannik e2169ba8ab
update to kotlin 1.3.60
continuous-integration/drone/push Build is passing Details
2019-11-14 23:10:40 +01:00
Jannik 697f5e3167
added on disk cache for the timetables
continuous-integration/drone/push Build is passing Details
* update spring-boot 2.1.9 -> 2.1.10
2019-11-14 18:43:00 +01:00
Jannik 3177be1bf0
use a FixedThreadPool to execute the timetable updates
continuous-integration/drone/push Build is passing Details
closes #9
2019-10-27 13:51:08 +01:00
Jannik db57059727
version 1.1.6
continuous-integration/drone/push Build is passing Details
* API version 1.1.4
* added /health, returns 200 (OK, for status checks)
* moved status code to a separate class
* added status.mosad.xyz reporting
2019-10-21 18:46:21 +02:00
Jannik 238947a894
added java 8 support again
* added drone testing for java 8
2019-10-06 12:11:02 +02:00
Jannik 6a687eb297
added more status metrics, api version 1.1.3 (/lesson -> /lessons)
continuous-integration/drone/push Build is failing Details
* updated spring boot 2.1.8 -> 2.1.9
* closes #7
2019-10-05 17:17:26 +02:00
Jannik 715af9987b
updated some libs
continuous-integration/drone/push Build is passing Details
* spring boot2.1.7 -> 2.1.8
* coroutines-core 1.2.2 -> 1.3.2
* print test results (passed, failed, skipped)
2019-09-07 20:44:44 +02:00
Jannik 5e220225f6
parse the week number of the year too 2019-09-06 23:10:35 +02:00
Jannik ea6be1db33
update to kotlin 1.3.50 2019-08-25 22:46:14 +02:00
Jannik a0fceccc2f
added junit test for MensaParser
* updated kotlin 1.3.31 -> 1.3.41
* updated spring boot 2.1.5 -> 2.1.7
* updated coroutines 1.2.1 -> 1.2.2
* reworked MensaParser to make it testable
2019-08-16 13:59:44 +02:00
Jannik 13a55508d0
run the mensamenu update task every hour 2019-06-02 16:55:36 +02:00
Jannik 754c8cb17b
clean up APICOntroller & new CacheController
* added a CacheController to hold all cache variables and clean up the APIController
* more consistent naming of variables
* update mensaMenu and courseList only if the request was successful
2019-05-28 12:49:25 +02:00
Jannik 9efc7fe4b7
cacth all exceptions in MensaParser
there are many things that can go wrong
2019-05-25 20:23:31 +02:00
Jannik 4313c78edf
update to spring boot 2.1.5 & jsoup 1.12.1 2019-05-21 19:21:25 +02:00
Jannik 387a8e0782
update to kotlin 1.3.31 and spring boot 2.1.4 2019-05-03 22:47:16 +02:00
Jannik a3a705d1d7 updated spring_boot 2.1.0 -> 2.1.3 2019-04-03 12:29:06 +02:00
Jannik cf0327bc88 added initial delay for scheduled updates 2019-03-18 16:13:13 +01:00
Jannik 08b6b2603f update to 1.0.1
* added some config lines
2019-03-17 00:33:18 +01:00
Jannik f2c1f2bc58 update all existing courses every 3 hours & some clean up 2019-03-13 19:12:05 +01:00
Jannik 6f2bed65ab added spring and a API specific stuff
this commit adds a fully working API wit /courses, /timetable?courseName=[course] and /mensamenu
2019-03-12 22:06:04 +01:00