Commit Graph

200 Commits

Author SHA1 Message Date
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
NovaFox161
ff93db0584 All the debugging! 2021-06-30 13:10:45 -05:00
NovaFox161
b21e60d5aa Debugging announcement editor messages not posting 2021-06-29 13:02:51 -05:00
NovaFox161
cf660011d4 Remove debug statement from testing previous bug 2021-06-26 16:08:40 -05:00
NovaFox161
a74aa3dc65 This should fix issues with calendar wizard messages 2021-06-26 15:52:55 -05:00
NovaFox161
a5653688b7 Testing theory regarding messages not sending 2021-06-25 17:01:48 -05:00
NovaFox161
7c290a5760 This should fix bot status not being updated 2021-06-25 13:59:02 -05:00
NovaFox161
f8e7b22970 This should fix stability issues caused by blocking code 2021-06-24 23:52:26 -05:00
NovaFox161
0e55589a5c Move lang files from client to core module
This fixes langs not being included in the jars properly, but also mimics how the eventual change to a new i18n system will be setup in the core module
2021-06-24 13:17:42 -05:00
NovaFox161
efaaf8054f Remove properties for old restart service
It was never fully realized anyway, hopefully I can make a k8s orchestrator to manage discal bot pods
2021-06-24 12:31:10 -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
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
ed5915c127 Implement custom DataStore for google credentials
Need to switch from file based storage storing them in a database
2021-06-16 15:19:15 -05:00
NovaFox161
e31f116f41 Use env variables for determining shard count/index
Its a really messy way, but k8s is dumb
2021-06-14 23:21:25 -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
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
073e4075cc Upgrade to D4J 3.2.0-SNAPSHOT
This way I can utilize my contrib to d4j that allows easier checking of role permissions on the Rest Client

Also sets explicit intents and updates sass.
2021-03-20 04:47:06 -05:00
NovaFox161
ecf7aef24f Add 'quotaUser' to google cal API requests 2021-03-17 18:34:25 -05:00
NovaFox161
b0ec4a7b82 External cal all day event editing now fixed 2021-03-11 08:30:15 -06:00
NovaFox161
3e0bd5f4f6 Fix issue#40 and clean up event embed code and restyle event embeds 2021-02-11 23:42:03 -06:00
NovaFox161
a2e60f834c Okay, this time for real lol 2021-02-11 14:43:17 -06:00
NovaFox161
1f97873604 Better formatting for event view embed 2021-02-11 14:31:53 -06:00
NovaFox161
476d3e7eed This should fix up some broken logic in the addCal command 2021-02-11 10:47:51 -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
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
d70add51fa Move cal data from guild settings as should have been done before
Some data related to calendars was saved in guild settings,
this commit now moves it to be in calendar data as it should
have been originally.

This commit needs to be tested, specifically the MySQL changes,
and some related changed to authorization checks
2021-01-31 12:28:50 -06:00
NovaFox161
f31e1e166b Convert several more data classes and enums to kotlin 2021-01-19 14:34:56 -06:00
NovaFox161
6c4b2081f2 Adding kotlin
Right now just changing the data classes to proper kotlin data classes, will eventually add more kotlin side-by-side and to replace older code.
2021-01-15 23:52:50 -06:00