Commit Graph

142 Commits

Author SHA1 Message Date
NovaFox161
5f3f651e57 Fix another okhttp response object not being closed. 2021-07-30 19:35:34 -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
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
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
9e3dfebaaa Use npm ci instead of npm install for more reproducible builds 2021-07-21 20:43:50 -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
6f5dca1df0 Merge remote-tracking branch 'origin/master' 2021-07-11 20:28:04 -04:00
NovaFox161
208954ac4d Make sure there's no errors on incomplete dash cal page 2021-07-11 20:27:45 -04:00
NovaFox161
66175e5f88 Remove trello messaging 2021-07-08 11:31:17 -05:00
NovaFox161
bd3dec8012 Clean up pom files 2021-07-07 20:48:16 -05:00
NovaFox161
b4395c0af5 Login and dashboard working again (broke due to webflux) 2021-07-06 18:15:56 -05:00
NovaFox161
c347d077f6 Needed to use @Controller not @RestController 2021-07-06 16:30:15 -05:00
NovaFox161
47728a5085 This should fix dashboard login 2021-07-06 13:57:49 -05:00
NovaFox161
7f9eeb93a5 This should fix dashboard login 2021-07-06 13:38:46 -05:00
NovaFox161
d240dc7d82 Fix JS warnings due to multiple elements with same ID 2021-07-06 10:55:24 -05:00
NovaFox161
3642cc4bf9 I don't understand logback, but it works again 2021-07-06 10:31:44 -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
af3740d6c5 Clear up some language on the dashboard pages 2021-06-26 22:54:21 -05:00
NovaFox161
93182a0b32 Am dumb, made typo, should work now 2021-06-23 23:23:29 -05:00
NovaFox161
6a2843b46e Add FQDN for base images to satisfy podman
Also add flag to write events to file rather than journal
2021-06-23 22:21:49 -05:00
NovaFox161
518780c8af This should allow jenkins to build the docker images with podman 2021-06-23 15:46:02 -05:00
NovaFox161
844bb550af I'm getting further, hopefully
Spring might be the cause and it might not be jib, still no idea
2021-06-19 19:27:50 -05:00
NovaFox161
d0686285ce So this issue is all Jib, not an issue with my code.
So, onto figuring that shit out
2021-06-19 15:30:28 -05:00
NovaFox161
0ce8aafade Still working on fixing IllegalSateException on boot 2021-06-19 15:21:04 -05:00
NovaFox161
1b5a964a56 Still working on fixing IllegalSateException on boot 2021-06-19 12:45:52 -05:00
NovaFox161
b9fde5f7c5 Change application.properties to web/client/server.properties
This should fix the issue with loading the application in a container
2021-06-19 12:06:08 -05:00
NovaFox161
93c1d81a7e Container images weren't being built correctly
This should hopefully fix it, but I dunno
2021-06-17 19:14:47 -05:00
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