Commit Graph

189 Commits

Author SHA1 Message Date
Nova Maday
930654b097 Refactor gradle files & setup Docker compose (#142)
* Refactor and cleanup gradle - Finally

* Add docker compose and get application running

* Upgrade spring to 2.7.5

Also remove commented out legacy
2022-11-19 12:13:48 -06:00
NovaFox161
99f9374730 Fix restart handler 2022-09-06 20:57:51 -05:00
NovaFox161
6dd23b7c87 All multiple instances of cam for better scaling 2022-08-14 13:28:42 -05:00
NovaFox161
ef8162000b Finish v3 status endpoints 2022-03-18 14:27:11 -05:00
NovaFox161
ac9cf01ff6 Springboot stuffs 2022-03-18 13:10:24 -05:00
NovaFox161
fbff173a8f Correctly set response mimetype 2022-02-15 14:57:35 -06:00
NovaFox161
986b6b3f49 Start work on APIv3 with an invite endpoint 2022-02-15 13:18:13 -06:00
NovaFox161
1d189b98b7 Update global command registrar to use bulk method 2022-02-13 14:14:48 -06:00
NovaFox161
ea5e43c447 This should make it compile now 2022-01-18 09:00:09 -06:00
NovaFox161
00c663e391 Rewrite announcement command to slash command
Still needs plenty of testing and possibly some code optimization,
but its great progress.
2022-01-01 22:54:45 -05:00
NovaFox161
ce516f5cea Fix not updating API uptime stat 2021-11-18 12:22:36 -06:00
NovaFox161
c216340912 Update to d4j 3.2.1 2021-11-17 19:35:03 -06:00
NovaFox161
4ac3e2217c Left a file unchanged on accident 2021-11-11 11:08:02 -06:00
Nova Fox
9d289110c1 Add discal CAM - A centralized authentication source (#118) 2021-11-04 17:08:55 -05:00
NovaFox161
58603f5327 Remove DBL library since it keeps breaking builds 2021-10-15 17:25:10 -05:00
NovaFox161
bbac319745 Move all versions into gradle.properties 2021-10-14 12:36:29 -05:00
NovaFox161
d3d0c95557 More legacy code removal and cleanup 2021-10-13 16:02:22 -05:00
NovaFox161
cd3d985e61 Resolve some more errors + slightly better formatting 2021-10-12 16:31:06 -05:00
NovaFox161
0059496eec Forgot to add filter for restart 2021-10-12 15:26:04 -05:00
Nova Fox
149b73b73a Status tracking rewrite + code cleanup (#116) 2021-10-12 15:10:40 -05:00
Nova Fox
38f44886b5 Convert calendar command to slash command (#115) 2021-10-06 11:11:37 -05:00
Nova Fox
fd1602bc4f Announcement runner rewrite (#114)
Full rewrite of the announcement runner in kotlin and remove several now-unused deprecated methods
2021-10-02 23:01:01 -05:00
NovaFox161
76707f6f45 Maybe I need to explicitly compare choices 2021-10-01 14:58:20 -05:00
NovaFox161
d805e07224 Attempting to see if recursive things are a good idea 2021-10-01 14:35:11 -05:00
NovaFox161
cde28d1a18 Update to latest D4J snapshot 2021-09-21 22:07:03 -05:00
NovaFox161
aae9927af3 command registrar will no longer always update commands on boot 2021-09-16 22:40:51 -05:00
NovaFox161
9b2c9ab98e This should fix compilation errors 2021-09-15 13:25:37 -05:00
NovaFox161
91afc55f3c Convert rsvp command to slash command
Also deprecate most of the java util classes and clean up code in several places that were touched by this change
2021-08-25 15:17:45 -06:00
NovaFox161
75eabd458e Code cleanup
Convert a few event listeners to kotlin

Remove discalChannel as this is no longer needed since slash commands can be restricted by
2021-08-24 12:08:44 -06:00
Nova Fox
b1c12b2788 Convert to Gradle (#112)
Fully convert to using Gradle instead of Maven for dependency management and building.

This change also includes using Jib again as it works properly for multi-module projects with Gradle.

Some files have been relocate to places that semantically make more sense and work will with a proper build system.

Added GitProperties for handling certain variables that need to be set at build time (for example the version name seen by users) as these were previously set through Maven hackery.
2021-08-23 11:13:44 -05:00
NovaFox161
7cc2367ed9 Add settings slash command and rework several things to fit it better
Deprecate several things
2021-08-10 12:04:04 -05:00
NovaFox161
120c0c4a8f Have database migration called by spring rather than manually 2021-08-07 07:49:28 -04:00
NovaFox161
8dfbf29d34 Add events slash command 2021-08-06 15:09:02 -04:00
NovaFox161
44a8bfa5ac Use d4j's object mapper 2021-08-04 17:23:44 -04:00
NovaFox161
379d07e6db Forgot to change this to handle a changed signature 2021-08-04 16:23:03 -04:00
NovaFox161
8bdb23da4b Add link calendar command as slash command
Will be deleting the message based version if this works
2021-08-04 16:15:45 -04:00
NovaFox161
5f3f651e57 Fix another okhttp response object not being closed. 2021-07-30 19:35:34 -05:00
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
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
c8f607e4ff Consolidate a lot of google related code (and abstracted)
Convert exception classes to kotlin
2021-07-27 10:57:09 -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
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
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