Commit Graph

302 Commits

Author SHA1 Message Date
NovaFox161 ea43f825c9 Fix various issues with event command 2021-10-15 16:32:58 -05:00
Nova Fox 8879d5028d Rewrite event command to slash command (#117)
This rewrites the event command into being a slash command, complete with in-built support for multi-cal and fully abstracted from google code to allow drop-in support for additional hosts

Just needs testing
2021-10-15 15:40:22 -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 3b0ba0e660 Forgot to add calendar to google calendar model instance on update 2021-10-13 12:53:42 -05:00
NovaFox161 2bbe9d13b3 Convert HTML to markdown for discord embeds 2021-10-13 12:52:22 -05:00
NovaFox161 2c4f124220 Improve html code formatting slightly 2021-10-12 17:25:33 -05:00
NovaFox161 4064ee1150 Add information for web/api ram usage 2021-10-12 16:55:10 -05:00
NovaFox161 cd3d985e61 Resolve some more errors + slightly better formatting 2021-10-12 16:31:06 -05:00
NovaFox161 e9036e69f6 Fix errors on status page 2021-10-12 15:56:18 -05:00
Nova Fox 149b73b73a Status tracking rewrite + code cleanup (#116) 2021-10-12 15:10:40 -05:00
NovaFox161 eb5e7fa328 Announcement style "event" is now default 2021-10-09 22:11:36 -05:00
NovaFox161 c47289110c This should fix encoding issues 2021-10-09 21:25:35 -05:00
NovaFox161 c9afbfa416 Fix cal delete issue from recent code changes 2021-10-09 20:36:37 -05:00
NovaFox161 5718360584 Use a common message for unset fields 2021-10-09 15:13:10 -05:00
NovaFox161 98cf88993a Fix use of shouldBeSaved in database code 2021-10-08 19:48:39 -05:00
NovaFox161 98531a2568 Fix edge case for RSVP - not sure if main issue yet 2021-10-08 18:00:12 -05:00
NovaFox161 e97b78ee5f It might actually be a concurrency issue 2021-10-08 17:18:05 -05:00
NovaFox161 0242d2edb7 Still working on RSVP related weirdness 2021-10-08 11:38:50 -05:00
NovaFox161 cb0d691ad1 Working on fixing rsvp bugs 2021-10-07 16:25:49 -05:00
NovaFox161 d42ec7b441 Calendar creation supports multi-cal
This also makes several changes to database stuff:
moves queries to own read-only variables in class
and optimizes the db ops that need to be performed on calendar delete.
2021-10-07 15:22:09 -05:00
NovaFox161 14146c0a00 Fix some potential bugs 2021-10-06 17:41:08 -05:00
NovaFox161 3f897c8384 Remove pending message
Discord actually technically does this for me, one less request for the bot to make!
2021-10-06 17:06:28 -05:00
NovaFox161 1fc33b4647 Trying to fix unexpected empty mono stuff 2021-10-06 15:13:10 -05:00
NovaFox161 e63f6f46a5 Fixing more logic issues 2021-10-06 14:23:33 -05:00
NovaFox161 97f69d4fb4 Always return true on perm check if they are server owner 2021-10-06 12:37:50 -05:00
Nova Fox 38f44886b5 Convert calendar command to slash command (#115) 2021-10-06 11:11:37 -05:00
NovaFox161 1170c02d0f rename option "number" to "calendar" for consistency 2021-10-03 00:18:50 -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 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