Commit Graph

110 Commits

Author SHA1 Message Date
NovaFox161 b3e9094a6a Forgot to add creation time to jib 2021-06-17 13:08:27 -05:00
NovaFox161 979231681f This should be all new handling of internal credentials 2021-06-16 21:30:08 -05:00
NovaFox161 0809f9eba1 Use single MySQL connection pool
Also converted DatabaseManager to kotlin,
using resources for langs,
and some other small prep for supporting k8s well
2021-06-14 22:26:41 -05:00
NovaFox161 d9a439c7bc Theoretically, this should allow jib to create images for discal for k8s 2021-06-11 12:42:54 -05:00
NovaFox161 7178533332 Start using Dependency Injection
Starting small for now, will slowly expand it
2021-05-04 18:07:39 -05:00
NovaFox161 af0a19ee5f Change event.summary to event.name in the API 2021-05-04 16:14:57 -05:00
NovaFox161 2aded688b8 Fixes issues with embed calendar links due to changing to webflux 2021-05-04 16:14:57 -05:00
NovaFox161 50e99d201b Migrate over to Spring WebFlux and rewrite API endpoints in Kotlin
API v1 has been discontinued

Add docker-compose for local development testing. Note: This is not persistent, attempting to run this for production will be very very bad
2021-05-04 16:14:57 -05:00
NovaFox161 58625be0a3 Merge branch 'master' of https://github.com/DreamExposure/DisCal-Discord-Bot into feature/rsvp-role 2021-03-21 09:21:09 -05:00
NovaFox161 3483016a92 More clearly document color's 'colour' alias 2021-03-11 10:20:00 -06:00
NovaFox161 4d962305e5 Remove now unused code 2021-02-27 23:02:56 -06:00
NovaFox161 2737652744 Added extended info modal when clicking on events 2021-02-27 23:02:56 -06:00
NovaFox161 07ba20a126 New calendar view added, working on adding additional functionality 2021-02-27 23:02:56 -06:00
NovaFox161 6ac57eaa00 This should fix handling of all day events for the API
This also adds a work around for a currently unknown issue on the calendar embed page.

I really need to just fine a calendar library with styling so I don't have to implement my own janky system
2021-02-13 23:08:00 -06:00
NovaFox161 33a7b443ff This will fix 500 error on status page
Forgot to change a reference when I converted to kotlin, should be fully functioning again
2021-02-11 23:55:25 -06:00
NovaFox161 4600b4c7bf Theoretically this should be everything for rsvp roles
Tho, I do have 1 TODO in there for adding handling of permission hierarchy, but I have to wait until D4J merges my PR
2021-02-10 16:19:17 -06:00
NovaFox161 302b71f3bb Update commands page to include new commands 2021-02-05 20:16:01 -06:00
NovaFox161 a853cbeee8 This should add ability to limit RSVPs 2021-02-04 22:38:49 -06:00
NovaFox161 9f45b5d4af Fully support twenty-four hour time format displays 2021-02-04 18:45:51 -06:00
NovaFox161 7b5a90f575 Get dashboard and website working with new backend code 2021-02-03 02:04:39 -06:00
NovaFox161 5502c0ca5b Working on getting web code updated to new data structures 2021-02-01 12:02:02 -06:00
NovaFox161 f31e1e166b Convert several more data classes and enums to kotlin 2021-01-19 14:34:56 -06:00
NovaFox161 f803a6d9c4 Add documentation for recent API endpoint changes 2020-12-12 09:06:42 -06:00
NovaFox161 08dd4b5d9a Fix issues with resources not being included in web jar 2020-10-14 22:36:44 -05:00
NovaFox161 6caa33f38d This should fix dashboard detection issues 2020-10-14 17:31:05 -05:00
NovaFox161 57bef577e4 Fix some build issues I found before I can deploy 2020-09-04 00:12:55 -05:00
NovaFox161 1d714e692b Add build number info to help with versioning 2020-08-30 18:39:04 -05:00
NovaFox161 81f11c8e6c Get dashboard functioning again
There are still some lingering issues that I am tracking down, but this is huge progress on the issues plaguing the dashboard since the 4.0.0 release.

Hopefully I can narrow down the rest of the major bugs that have popped up and get everything functioning correctly.
2020-08-11 09:02:22 -05:00
NovaFox161 13c31e2197 Fix dashboard login not working
as well as further work on event creation errors
2020-08-11 03:15:16 -05:00
NovaFox161 2471ed7c6c Add some debugging stuff to figure out why discord login is having issues 2020-08-08 00:43:24 -05:00
NovaFox161 0e794f975f Add version info in status tracking since we may end up having multiple versions out across the network for testing 2020-08-03 04:14:48 -05:00
NovaFox161 fea567d73a IntelliJ code cleanup over whole project 2020-08-03 03:56:44 -05:00
NovaFox161 caa300ceca Add package-info to all packages 2020-08-03 00:13:02 -05:00
NovaFox161 f66870307d Start cleaning up some code in preparation for release 2020-08-02 22:00:28 -05:00
NovaFox161 9a65c5ca3f Add expected client count to status page
This should allow better uptime tracking for users so they they can see
if a shard is missing and not connected.
2020-07-21 13:25:59 -05:00
NovaFox161 7d478793c5 Update R2DBC Connection pools dependency
I must have forgotten to update it because it and spring are no longer
getting along. Hopefully its fixed now.

Also changed the indents in the pom files to spaces to match our
guidelines
2020-06-25 08:44:33 -05:00
NovaFox161 79e79fe69d Update several dependencies to the latest versions
Also make plugin version management easier in the main pom
2020-06-22 21:16:53 -05:00
NovaFox161 003dc7130c Add support for multiple credentials for discal
This should be the way to resolve the API rate limit with calendar
creation. By randomly assigning new guilds one of n amount of accounts,
we spread out the calendar creation load onto many accounts. This should
overall fix the API rate limit of calendar creation per account as well
as allow further expansion.
2020-05-29 23:30:47 -05:00
NovaFox161 3ca03e68ac Add Announcement modifier information to the API docs 2020-05-29 17:21:55 -05:00
NovaFox161 a8a6f711d1 Add AnnouncementModifier enum for frontend 2020-05-27 16:47:27 -05:00
NovaFox161 9b7d57034b Add proper handling for dev/patron status on dashboard 2020-05-26 21:50:33 -05:00
NovaFox161 ed9708b6d2 Change calendar embed page link order
Change from /embed/calendar/guild-id/cal-number
to /embed/guild-id/calendar/cal-number

This way we can have event specific embeds and such in the future.
2020-05-25 22:29:10 -05:00
NovaFox161 1c7500a7ec Fix compilation issues due to weird plugin version shenanigans 2020-05-14 18:21:45 -05:00
NovaFox161 f648bf8f96 This should fix some issues with resources not being included 2020-05-08 23:01:47 -05:00
NovaFox161 82367c3a3e Add global constants for discord base URLs since discord changed them 2020-05-05 17:20:39 -05:00
NovaFox161 cd9817b201 Convert to fully reactive, mostly
Okay, so its almost fully reactive. The API is still blocking as of
current. Everything else is reactive now:
- Command system
- All utility methods
- Event listeners
- Announcement Thread
- Google calendar auth

Added simple reactive wrappers for google calendar blocking calls

I have no idea if any of this works, but it *should* work. Time to test!
2020-05-03 17:19:53 -05:00
NovaFox161 65d4cad204 Reformat entire project to using spaces instead of tabs
Finally fucking fixing the formatting after all these years
2020-04-13 18:39:41 -05:00
NovaFox161 9522404c91 Rewrite logger to be async
Completely rewrote our in-house logger so that its completely async.
Also designed the new logger so that we could pull it out of this
project and incorporated into our general utils library for all of our
other projects
2020-04-10 20:50:18 -05:00
NovaFox161 37c7f2d075 Fix several errors that were occurring for various reasons
This fixes an IllegalStateException happening when closing connections,
as well as some null errors caused by some changing of the logging
system.
2020-04-09 22:17:41 -05:00
NovaFox161 ec9d8adbbd Create WebPartialGuild for partial guild data object
Use a partial guild object instead of a full guild object when partial
is all we need so null values are not floating around.
2020-04-04 16:51:15 -05:00