486 Commits

Author SHA1 Message Date
NovaFox161
595d1eeb83 Fix bad date pattern
Used yyy instead of yyyy. ugh.
2021-08-24 08:33:50 -06:00
NovaFox161
044d26fa73 This should fix IllegalArgumentException 2021-08-24 08:18:10 -06:00
NovaFox161
42d1d9efdd Add error message if guild does not have a calendar for range 2021-08-24 08:13:32 -06:00
NovaFox161
5d8780e99c add events range command 2021-08-23 17:52:02 -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
46ecae28a3 Clean up discal slash command 2021-08-19 10:53:26 -05:00
NovaFox161
f64806dd56 Convert discal command to slash command 2021-08-16 21:40:32 -05:00
NovaFox161
d5bbb3016c Add code for new announcement embeds 2021-08-16 17:07:44 -05:00
NovaFox161
ab5cc104da Change wording of some messages to be more informative. 2021-08-12 15:09:04 -05:00
NovaFox161
a71575d090 Remove now-outdated command info 2021-08-11 15:22:12 -05:00
NovaFox161
3e44cc2d54 Attempting to make enum responses correct 2021-08-10 16:20:00 -05:00
NovaFox161
2520607eae Should fix issue regarding getting control role 2021-08-10 15:41:56 -05:00
NovaFox161
456b839ab7 Add explicit arguments for /settings brand command 2021-08-10 14:47:01 -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
9a70ac37cc Add json for settings command 2021-08-09 14:10:38 -05:00
NovaFox161
4905ae84bc Fix various small things 2021-08-06 16:30:26 -04:00
NovaFox161
9cef5e9c87 clean up some response code, remove !events (in favor of only using slash version) 2021-08-06 16:10:42 -04:00
NovaFox161
8dfbf29d34 Add events slash command 2021-08-06 15:09:02 -04:00
NovaFox161
1deec97062 Fix some mistakes of not getting the actual message content 2021-08-06 10:17:09 -04:00
NovaFox161
98a1fd9098 Discord is stupid and doesn't allow ints big enough to be snowflakes 2021-08-05 19:09:01 -04:00
NovaFox161
1063d565aa Convert dev command to slash command
Still needs testing
2021-08-05 18:25:05 -04:00
NovaFox161
44999a7242 Add new i18n files from changes/i18n
Can't merge the two because there's some files I definitely don't want, so just copy/pasting the changes lol
2021-08-05 12:08:28 -04:00
NovaFox161
9b97ec236b Convert !time to slash command, /time [calNumber] respectively 2021-08-05 09:43:15 -04:00
NovaFox161
a23ffb93e8 Delete !linkCal command in favor of the slash command version 2021-08-04 21:33:33 -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
704262316a Should fix event images not displaying 2021-08-02 12:42:15 -05:00
NovaFox161
280addc85b Debugging event images not displaying 2021-08-02 11:49:14 -05:00
NovaFox161
5f3f651e57 Fix another okhttp response object not being closed. 2021-07-30 19:35:34 -05:00
NovaFox161
56526c8c0b Accidentally provided discal version as d4j version in heartbeat 2021-07-30 16:06:02 -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
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
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
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
14d7dc8ba6 Remove joda-time in favor of using java.time 2021-07-21 12:29:10 -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
12da0434fb It now compiles! Also remove unneeded deps 2021-07-05 19:45:46 -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
c6bfd4fcf2 Added debugger options to dockerfile
Working on figuring out what is causing the stalling
2021-07-02 12:04:27 -05:00
NovaFox161
5152a46b23 This completes the fix for announcement editing 2021-06-30 16:45:43 -05:00
NovaFox161
08aa2e0fe1 I am dumb, accidentally used role method not channel method 2021-06-30 16:07:21 -05:00
NovaFox161
9c3c5917f7 Getting closer. Still trying to fix announcement editing 2021-06-30 15:55:53 -05:00
NovaFox161
52d1b9f9a0 Attempting a fix, removed debugging statements 2021-06-30 14:49:23 -05:00
NovaFox161
56b1e6c18f All the debugging! 2021-06-30 13:33:40 -05:00