Commit Graph

137 Commits

Author SHA1 Message Date
NovaFox161
5ec6682ffb Testing theory 1 for timeouts 2021-07-01 21:44:18 -05:00
NovaFox161
c8d0323d83 Debugging API timeouts 2021-07-01 20:49:18 -05:00
NovaFox161
447b9e177b Just cors being cors 2021-07-01 14:52:57 -05:00
NovaFox161
ffbb194f94 Wildcard origin not allowed 2021-07-01 14:12:13 -05:00
NovaFox161
969064b532 Fix CORS, fix incorrect serialization of guild ID in Calendar 2021-07-01 13:37:06 -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
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
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
f194dbf2c1 Accidentally changed grant types because google is weird 2021-06-16 23:55:28 -05:00
NovaFox161
6b23e6cc6d I am a dumb tonight 2021-06-16 23:42:24 -05:00
NovaFox161
e10fc1f64d Ugh. I think this will do what I want 2021-06-16 23:33:01 -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
064b0d31cf I'm dumb and included logging 2021-05-04 16:14:57 -05:00
NovaFox161
0fc8a7f710 Fixes issues with event entity loading issues 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
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
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
7b5a90f575 Get dashboard and website working with new backend code 2021-02-03 02:04:39 -06:00
NovaFox161
5c3ef03410 This should fix up issues with AuthenticationState breaking 2021-02-01 02:00:13 -06:00
NovaFox161
9a40bafcc9 Debugging new code changes 2021-02-01 01:42:45 -06:00
NovaFox161
9e4f4d3241 More logging!!! 2021-01-31 14:57:14 -06:00
NovaFox161
94d4fefa7a Maybe???????? 2021-01-31 14:08:03 -06:00
NovaFox161
73379399eb I'm legit losing my mind 2021-01-31 13:48:25 -06:00
NovaFox161
5e0879aa46 Still working on getting shit fixed 2021-01-31 13:30:26 -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
NovaFox161
ca2d91acde Add publishable field to announcement related endpoints 2020-12-12 08:46:14 -06:00
NovaFox161
beab99f07a Fix flyway code change due to version update 2020-12-11 09:39:39 -06:00
NovaFox161
263c81652e Update several dependencies 2020-12-11 09:32:39 -06:00
NovaFox161
98a9262f6e Added proper error handling for publishing 2020-12-11 08:52:07 -06:00
NovaFox161
adb991cea6 Fix malformed SQL 2020-12-11 08:52:07 -06:00
NovaFox161
a7b75bcf56 Add endpoint for ongoing events, fix language in ongoing command 2020-12-02 21:50:49 -06:00
NovaFox161
1e7c88949c Working on adding back bot list stat updating
This time for dbots
2020-11-23 23:47:37 -06:00
NovaFox161
c634904008 Working on adding back bot list stat updating 2020-11-23 22:59:23 -06:00
NovaFox161
57bef577e4 Fix some build issues I found before I can deploy 2020-09-04 00:12:55 -05:00
NovaFox161
b2024c2d11 Update several maven dependencies in the project 2020-09-02 13:46:37 -05:00
NovaFox161
1d714e692b Add build number info to help with versioning 2020-08-30 18:39:04 -05:00