Commit Graph

274 Commits

Author SHA1 Message Date
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 d9956c70b1 Quick ass hotfix 2021-10-01 15:41:57 -05:00
NovaFox161 0eed8d713c Add back "view on Google" button but supports more hosts now!! 2021-09-30 12:31:33 -05:00
NovaFox161 08cedb8d4c Upgrade to D4J 3.2.0
It was mostly done, but this finalizes it.
2021-09-26 21:56:11 -05:00
NovaFox161 411ca58264 Improve caching for some objects
This is not full caching for everything, but helps reduce some API calls
with the goal of eventually supporting full caching across the
discal network
2021-09-15 13:09:19 -05:00
NovaFox161 b9bac2fb67 Add /addcal slash command
This is locked to devs only for right now until I finish the full flow that is planned in #113

I also cleaned up some code in a few places while I was messing with some stuff
2021-08-29 19:09:37 -06:00
NovaFox161 b40ff58834 Add help slash command
This literally just sends the user a link to the commands page as I will implement a proper help command later in the future and would rather focus on more important features since the commands page provides pretty good docs regarding commands.
2021-08-26 15:48:28 -06:00
NovaFox161 882bc8f68a Fix a few things to clear up information 2021-08-26 10:18:30 -06:00
NovaFox161 08124ced51 Fix logback! again! 2021-08-25 21:52:59 -06:00
NovaFox161 e0cfe1ba40 Fix logback filter 2021-08-25 15:36:51 -06: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
NovaFox161 86d77d9d2a Fix build numbering 2021-08-23 18:07:28 -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 9fca4e7b50 Completely redo the website's command page. It is now responsive 2021-08-13 18:46:53 -05:00
NovaFox161 ab5cc104da Change wording of some messages to be more informative. 2021-08-12 15:09:04 -05:00
NovaFox161 bbe0d7664f Fix incorrect serialization name 2021-08-11 15:07:06 -05:00
NovaFox161 b13e37661b This should speed up build times on jenkins
Not by much, but hopefully at least a little <3
2021-08-11 12:06:56 -05:00
NovaFox161 e945d911bb Testing something 2021-08-10 18:22:24 -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 1ebdd4d1c8 Discord does not send required if its false 2021-08-06 15:24:19 -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 4114c5a4c6 Was missing some required attributes 2021-08-05 18:41:04 -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 a38e3bd0b6 Fix issues with slash command json 2021-08-04 19:40:09 -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 35473ce8fa This should fix RSVP data getting issues 2021-08-03 11:19:36 -04:00
NovaFox161 436fbd047b Google's library is dumb and throws 4xx codes as exceptions lol 2021-08-03 00:04:25 -04:00
NovaFox161 3a79065c4d Fix behaviors when dealing with deleting/deleted events 2021-08-02 23:48:14 -04:00
NovaFox161 704262316a Should fix event images not displaying 2021-08-02 12:42:15 -05:00
NovaFox161 0df2e6f1f3 Discord wants timestamps in seconds, not milliseconds 2021-08-01 16:37:02 -05:00
NovaFox161 3a67f2c91d Better formatting for webhook logger 2021-08-01 16:35:43 -05:00
NovaFox161 5f3f651e57 Fix another okhttp response object not being closed. 2021-07-30 19:35:34 -05:00
NovaFox161 8c279183d4 Fix up logback configuration
I think I like it this way
2021-07-30 15:46:43 -05:00
NovaFox161 7a288f47b4 Fix some issues with new logging
Just some typos mainly
2021-07-30 14:36:54 -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