Jannik
bf71d62dc5
version 1.2.8
8 months ago
Hendrik Schutter
a1dc5656b8
updated mensa URL, thanks to Hannes B.
8 months 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
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
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
Jannik
1798054580
ci test
2 years ago
Jannik
9a48b1a859
minor fixes
2 years ago
Jannik
2f1f65eba0
count courseList requests seperat
2 years ago
Jannik
be95af43c2
made CacheCOntroller() static
2 years ago
Jannik
f20279a4b4
updated jsoup 1.12.1 -> 1.12.2
2 years ago
Jannik
3aa27dff4a
don't use lateinit in CacheController()
2 years ago
Jannik
a13203c477
use the current directory to store the config.xml and cached timetables
2 years ago
Jannik
d0d5e4b6d1
removed Java legacy code
...
the minimum is now Java 11
2 years ago
Jannik
4ca79e6540
removed invalid TODOs
3 years ago
Jannik
9dd875fcb3
update softwareVersion/version to 1.2.0
3 years ago
Jannik
697f5e3167
added on disk cache for the timetables
...
* update spring-boot 2.1.9 -> 2.1.10
3 years ago
Jannik
dd064d63af
added a configuration via config.xml file
...
* the config file contains the Mensa name and URL, the Cachet Base-URL and API-Key
3 years ago
Jannik
3177be1bf0
use a FixedThreadPool to execute the timetable updates
...
closes #9
3 years ago
Jannik
db57059727
version 1.1.6
...
* 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
3 years ago
Jannik
132cf2df0e
reworked the CacheController Class
3 years ago
Jannik
238947a894
added java 8 support again
...
* added drone testing for java 8
3 years ago
Jannik
6a687eb297
added more status metrics, api version 1.1.3 (/lesson -> /lessons)
...
* updated spring boot 2.1.8 -> 2.1.9
* closes #7
3 years ago
Jannik
3be98f6129
added junit test for TimetableParser
...
* this also is release 1.1.4 (api version 1.1.2)
* closes issue #5
3 years ago
Jannik
5e220225f6
parse the week number of the year too
3 years ago
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
3 years ago
Jannik
e89201c951
added more metrics to the status request
3 years ago
Jannik
a6bb0a7afe
an hour needs to bee an hour
3 years ago
Jannik
13a55508d0
run the mensamenu update task every hour
3 years ago
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
3 years ago
Jannik
9efc7fe4b7
cacth all exceptions in MensaParser
...
there are many things that can go wrong
3 years ago
Jannik
e804774970
cover some timeouts
3 years ago
Jannik
62ad7a3b36
courses is now CourseList, added lessonSubjectList & lesson request
...
closes #1 , #2
3 years ago
Jannik
aa48668af1
fixed wrong lessonID
3 years ago
Jannik
8dd385e52a
removed requestCount from /status
3 years ago
Jannik
cef6e84e37
added request counter
3 years ago
Jannik
cf0327bc88
added initial delay for scheduled updates
3 years ago
Jannik
08b6b2603f
update to 1.0.1
...
* added some config lines
3 years ago
Jannik
f9f0564a91
time is now updateTime
3 years ago
Jannik
ecfc1356ee
the /timetable request needs a week now
3 years ago