Commit Graph

1315 Commits

Author SHA1 Message Date
NovaFox161 277bfa0ab6 Stop leaking OkHTTP response bodies
Why they did it this way, I have no clue, but it should be fixed now
2021-07-29 16:58:09 -05:00
NovaFox161 abf21a4384 Removal all usages of Throwable#printStacktrace()
These should be put into the logger instead
2021-07-29 16:42:21 -05:00
NovaFox161 0467bf3c30 Transition to logback fully with custom appender for discord webhooks
This will be the standard logging we use for now until
the codebase is fully kotlin instead of kotlin/java, in which
time we will switch to klogger (probably)
2021-07-29 16:30:35 -05:00
NovaFox161 53a3f3b0c2 Fix some errors slipping through from image validating.
Thanks random user for finding a neat bug! <3
2021-07-28 18:00:11 -05:00
NovaFox161 50b67414ff Update to d4j 3.2.0-RC2
Other updated deps:
kotlinx serialization 1.2.2
okhttp 4.9.1
org.json 20210307
google-api-client 1.32.1
google-api-services-calendar v3-rev20210708-1.32.1
google-oauth-client-jetty 1.31.5
r2dbc-pool 0.8.7.RELEASE
r2dbc-mysql 0.8.2.RELEASE
thymeleaf & thymeleaf-spring5 3.0.12.RELEASE
thymeleaf-layout-dialect 2.5.3
flyway-core 7.11.2
mysql-connector-java 8.0.25
spring-r2dbc 5.3.9
2021-07-28 15:25:00 -05:00
NovaFox161 2130b0b1cf Rewrite Heartbeat sending in kotlin
Remove @JvmStatic from several functions that are no longer accessed with Java
2021-07-28 14:19:58 -05:00
NovaFox161 de35f67397 Add calendar_number column to certain objects
This way these objects can be focused toward a specific calendar (or all calendars for announcements) once multi-cal support is done
2021-07-27 19:16:37 -05:00
NovaFox161 c8f607e4ff Consolidate a lot of google related code (and abstracted)
Convert exception classes to kotlin
2021-07-27 10:57:09 -05:00
NovaFox161 e9579cf0ec Next development version 2021-07-23 14:50:48 -05:00
NovaFox161 1e162fd305 Release v4.1.1 4.1.1 2021-07-23 13:52:34 -05:00
NovaFox161 6c7d7bfd6b Fix some thread safety issues due to not using thread safe list 2021-07-23 13:38:02 -05:00
NovaFox161 d4aacb4216 Logging for fixing authorization error 2021-07-23 13:31:40 -05:00
NovaFox161 878c12be87 Upgrade to D4J 3.2.0-RC1
This means I redid everything that used Consumer<Spec> and now just Spec

Also cleaned up some other code too. Potentially fix database connection leaking
2021-07-23 11:37:18 -05:00
NovaFox161 855883debb Next development version 2021-07-22 09:19:18 -05:00
NovaFox161 ee02800ecb Release 4.1.0 4.1.0 2021-07-22 09:08:54 -05:00
NovaFox161 6f5fbfb36f Bump max MySQL connection pool limit to 15, from 10 2021-07-21 21:04:27 -05:00
NovaFox161 9e3dfebaaa Use npm ci instead of npm install for more reproducible builds 2021-07-21 20:43:50 -05:00
NovaFox161 a7733fee57 Remove org.jetbrains.annotations dependency
Its no longer needed, it was used for only a single @NotNull and its a redundant annotation at that.
2021-07-21 17:32:37 -05:00
NovaFox161 14d7dc8ba6 Remove joda-time in favor of using java.time 2021-07-21 12:29:10 -05:00
NovaFox161 35c6c37d9e Upgrade kotlin to 1.5.21 2021-07-21 10:39:58 -05:00
NovaFox161 12ca201323 Undo last commit -- it broke everything lol 2021-07-19 13:12:23 -05:00
NovaFox161 2edca34153 Set status to online without activity once ready event is received 2021-07-19 12:55:08 -05:00
NovaFox161 e018fd5bd3 Okay, this should work since [[ is bash-specific 2021-07-19 12:41:44 -05:00
NovaFox161 ac2cba224a Lets try again. Bash on my machine handles the logic correctly... 2021-07-19 12:24:12 -05:00
NovaFox161 fe6dfb54a3 Use 'latest' image tag on snapshot versions
This is so I don't have to keep changing the k8s dev deployments
2021-07-19 12:12:57 -05:00
NovaFox161 6f5dca1df0 Merge remote-tracking branch 'origin/master' 2021-07-11 20:28:04 -04:00
NovaFox161 208954ac4d Make sure there's no errors on incomplete dash cal page 2021-07-11 20:27:45 -04:00
NovaFox161 66175e5f88 Remove trello messaging 2021-07-08 11:31:17 -05:00
NovaFox161 109656295d Upgrade license to GPLv3 2021-07-07 21:08:47 -05:00
NovaFox161 bd3dec8012 Clean up pom files 2021-07-07 20:48:16 -05:00
NovaFox161 130a08f14f Fix invalid error catching 2021-07-07 18:40:38 -05:00
NovaFox161 20bf3ffc16 Fix error when getting guild bot isn't in 2021-07-07 18:29:11 -05:00
NovaFox161 b4395c0af5 Login and dashboard working again (broke due to webflux) 2021-07-06 18:15:56 -05:00
NovaFox161 c347d077f6 Needed to use @Controller not @RestController 2021-07-06 16:30:15 -05:00
NovaFox161 47728a5085 This should fix dashboard login 2021-07-06 13:57:49 -05:00
NovaFox161 7f9eeb93a5 This should fix dashboard login 2021-07-06 13:38:46 -05:00
NovaFox161 d240dc7d82 Fix JS warnings due to multiple elements with same ID 2021-07-06 10:55:24 -05:00
NovaFox161 3642cc4bf9 I don't understand logback, but it works again 2021-07-06 10:31:44 -05:00
NovaFox161 12da0434fb It now compiles! Also remove unneeded deps 2021-07-05 19:45:46 -05:00
NovaFox161 33060c146e Upgrade to d4j 3.2.0-M3 -- incomplete commit mac is being dumb 2021-07-05 19:45:46 -05:00
NovaFox161 66ef70e4cc Fix issues with reactor-netty versioning 2021-07-04 20:24:07 -05:00
NovaFox161 a1e295a426 Update to D4J 3.1.6 2021-07-04 15:29:04 -05:00
NovaFox161 a95c99897b Convert GlobalConst to kotlin + Fix serialization bugs
GlobalConst renamed to GlobalVal
Use global kx serialization json instance
Status changer only changes status every 5 minutes
2021-07-04 15:16:16 -05:00
NovaFox161 37fc990861 Fix database stalling
Turns out something was empty that shouldn't have been
2021-07-02 21:14:39 -05:00
NovaFox161 c6bfd4fcf2 Added debugger options to dockerfile
Working on figuring out what is causing the stalling
2021-07-02 12:04:27 -05:00
NovaFox161 5ec6682ffb Testing theory 1 for timeouts 2021-07-01 21:44:18 -05:00
NovaFox161 c8d0323d83 Debugging API timeouts 2021-07-01 20:49:18 -05:00
NovaFox161 447b9e177b Just cors being cors 2021-07-01 14:52:57 -05:00
NovaFox161 ffbb194f94 Wildcard origin not allowed 2021-07-01 14:12:13 -05:00
NovaFox161 969064b532 Fix CORS, fix incorrect serialization of guild ID in Calendar 2021-07-01 13:37:06 -05:00