Commit Graph

63 Commits

Author SHA1 Message Date
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
NovaFox161 5bac8a4c51 Dannie - Parallelize Mono/Database Calls to Improve Response Times 2020-04-03 16:40:52 -05:00
NovaFox161 7729329a0b retool API to handle snowflake IDs as strings instead of longs
This is because they become out of range of JS's `number` type and cause
problems. So, by handling them as strings, and only strings withing the
API, this solves the issue and we should not run into precision issues
anymore.
2020-03-30 01:50:18 -05:00
NovaFox161 5c5b175f30 Start working on implementing calendar dashboard page 2020-03-30 00:13:16 -05:00
NovaFox161 9ddd2befd7 Fix typo causing looping through the wrong array 2020-03-28 19:28:08 -05:00
NovaFox161 e7295031b0 Add support for changing language in dashboard 2020-03-28 19:11:12 -05:00
NovaFox161 ffccb95e69 Remove all packaged files from repo
All packaged files, such as our js, css, and vendor files are removed
from the repository as these should become present at build time, not
during development.
2020-03-28 15:55:34 -05:00
NovaFox161 05d15b102f yellow discord icon is now locally hosted so that https isn't invalid 2020-03-28 15:14:40 -05:00
NovaFox161 7fd5c41b62 Fixing index out of bounds error for dynamic URLs 2020-03-28 15:02:33 -05:00
NovaFox161 cd14461a28 Trying to get dynamic links working with thymeleaf 2020-03-28 14:56:08 -05:00
NovaFox161 1a0b1c1d01 Add showing guild shard on dashboard
This commit adds showing the shard index that the guild is expected to
be on.
2020-03-28 14:00:58 -05:00
NovaFox161 7842ef2380 Change sidebar icons and fix active highlight for selected guild.html
This commit changes the side bar icons of the modules tab to better show
their respective module, as well as fixes the active highlight on the
selected guild in the guilds tab
2020-03-16 22:24:40 -05:00
NovaFox161 b4e61a86c7 I was dumb and made an invalid thymeleaf expression 2020-03-16 21:40:17 -05:00
NovaFox161 e86995800f Start work on additional dashboard modules
This starts work on adding other dashboard modules by defining the page
in data as well as adding in links for the modules and highlighting
active page dynamically (hopefully).
2020-03-16 20:20:47 -05:00
NovaFox161 53203269a0 Add support for changing discal channel on dashboard 2020-03-13 14:09:32 -05:00
NovaFox161 98eda106d4 Last of the styling for dashboard forms 2020-03-13 01:18:41 -05:00
NovaFox161 76529f67d6 Accidentally messed up column sizing, is fixed now 2020-03-13 00:40:32 -05:00
NovaFox161 110db16fff Fix styling for dashboard forms
Dashboard forms now look much nicer now and the labels are properly
visible
2020-03-13 00:32:02 -05:00
NovaFox161 d09e65a365 Fix styling of form labels and loading icon position 2020-03-12 23:57:29 -05:00
NovaFox161 90f674e332 Made a typo resulting in null error 2020-03-12 23:45:21 -05:00
NovaFox161 9fb1d464dd Realize I confused roles and channels
I confused the handling of the control role and discal channel,
so that has now been corrected and it should work properly now
2020-03-12 23:37:45 -05:00
NovaFox161 5d265f7e2a Start work on adding control role update support
This is the initial progress on adding control role updating on the
dashboard. It probably won't work, but its progress.
2020-03-12 23:32:03 -05:00
NovaFox161 26e643f46c Add check for dashboard pages for if user is logged in
If the user is not logged in, spring will redirect the user to the main
dashboard page, instead of the dashboard guild page where it won't work
due to the API key and user info not being provided
2020-03-12 22:33:26 -05:00
NovaFox161 e851c2acce Add missing getter functions 2020-03-12 22:06:38 -05:00
NovaFox161 9e46a85d33 Remove strictPropertyInitialization false from tsconfig.json
This is in an attempt to help reduce/remove the possibility of undefined
errors
2020-03-12 21:56:37 -05:00
NovaFox161 c9c3641653 Trying to get nickname updating working
Seems it isn't picking up the bot nickname and putting it into the
request, I'm not sure exactly what is causing it, but this is an
attempt to fix it.
2020-03-12 20:41:19 -05:00
NovaFox161 7e98659dd1 Hopefully fix issues with handling guild update requests 2020-03-11 19:02:12 -05:00
NovaFox161 0b446abd87 Fix some styling and spacing on guild dashboard page 2020-03-11 18:49:28 -05:00
NovaFox161 1b4ef13ac7 Fix up some handling of guild data transfer
- make sure that secure data is not sent to 3rd parties
- correct the permissions checker
- dashboard guild page should now load correctly
2020-03-11 17:51:55 -05:00
NovaFox161 dfc7db5c89 Fix bot invite link not being provided while logged in 2020-03-11 17:20:52 -05:00
NovaFox161 4139d1bab8 Fix finding guild ID in dashboard page url 2020-03-11 17:02:52 -05:00
NovaFox161 8a9e237d19 Style user info drop down 2020-03-11 12:57:37 -05:00
NovaFox161 9807d36559 Fix a typo in thymeleaf variable 2020-03-10 23:57:24 -05:00
NovaFox161 3d6f6f4abd Show correct text on dashboard page depending on login status 2020-03-10 23:52:18 -05:00
NovaFox161 cb5a8a8d51 Style logout confirmation modal 2020-03-10 23:32:31 -05:00
NovaFox161 c1b656ef53 Get event view modal properly styled 2020-03-08 20:25:00 -05:00
NovaFox161 6b02aba83f Embed calendar now loads the correct events and such on load
This also makes sure styling for the calendar is correct over month
changes, date selections, etc.
2020-03-08 19:10:47 -05:00
NovaFox161 2d22b9a5e6 Fix event list month endpoint using int instead of long
In the process of this, also optimized a few database queries
2020-03-08 18:11:43 -05:00
NovaFox161 5fc4b3b5a5 Fix a ton of styling relating to calendar embed 2020-03-08 16:06:28 -05:00
NovaFox161 57d32054c1 Fix numerous issues on the way to getting calendar embed working
Add inline source mapping for debugging
Fix web calendar's json conversion being incorrect
Start work on getting the calendar styled correctly
2020-03-08 13:32:54 -05:00
NovaFox161 e179123417 Fix accidentally setting the API URL as the API Key 2020-03-07 22:14:02 -06:00
NovaFox161 e8d013a709 Get Typescript working on web + some extras
This commit gets typescript compiling to browser-safe javascript using webpack.
Also fix some issues regarding handling status endpoints, missed debug and error reports, and cleaning some other things up.

Last change involves getting maven to automatically compile typescript and styles for the website without needing to do it in cli before the package
2020-03-07 21:24:11 -06:00
NovaFox161 afc2e1ddfc Move web source files for css and js
Moved web sources files from base-dir/web/src/main/resources/src/* to
base-dir/web/src/main/less and base-dir/web/src/main/javascript for the respective langs
2020-03-03 14:47:37 -06:00
NovaFox161 164a939c8f Make some massive changes to how the website is built and fix several issues
This commit changes a lot of things, the major changes are as follows:
- removed all old web files from server module
- Switched to using Typescript for development of the frontend
- fixed /events/list/list endpoint duplication
- Compile all TS code into a single JS file
- Add automatic gulp building/cleaning on maven steps
- Add object parity in TS for OOP handling
- All relevant API calls have own TS file for request eliminating duplicated code
- Add read-only API key support for embed pages (so that a temp key can be generated for anonymous users without write permissions)
- Fixed several typos and small issues
2020-03-03 14:16:40 -06:00
NovaFox161 4977ade3e1 Complete documentation on API and clean up API code
Completely finished the doc pages on the API,
as well as refined some of the code in the API endpoints
so that everything is nice and standardized,
as well as comprehensive.
2019-12-09 17:45:53 -06:00