Commit Graph

915 Commits

Author SHA1 Message Date
Andrew
c1b5dbc090 Add translations (english) 2023-09-28 17:47:03 -04:00
Andrew
89ffd40fd1 Merge branch 'feature/discord-webhooks' of gitlab.com:crafty-controller/crafty-4 into feature/discord-webhooks 2023-09-28 17:19:39 -04:00
Andrew
1b20520ac5 Add support for jar_update, send_command 2023-09-28 17:19:37 -04:00
Andrew
bd1b67e83b Make webhook edit page data method calls 2023-09-28 17:17:49 -04:00
Andrew
f742a5026c Refactor naming to match method calls 2023-09-28 17:17:27 -04:00
Zedifus
60e377a2e1 Refine Mattermost embed formatting 2023-09-28 21:30:48 +01:00
Andrew
9a88563916 Swap server ID for name in send. 2023-09-28 15:54:56 -04:00
Andrew
13214e9e86 Fix authentication issues on webhook get/post 2023-09-28 14:57:18 -04:00
Zedifus
409d7618dd Refactor Webhooks to WebhookFactory
To save having a massive class lets go modular
2023-09-28 19:17:47 +01:00
Zedifus
1ea0d692d0 Add mattermost webhook dispatcher
Refactor common variables abit
2023-09-28 04:00:49 +01:00
Zedifus
2bb5fa4fa2 Refine discord webhook post
To better feedback dispatch outcome
2023-09-28 02:48:22 +01:00
Zedifus
a387c12769 Rework discord webhook dispatcher 2023-09-28 02:08:11 +01:00
Andrew
628c234400 Refactor management classname 2023-09-27 17:35:44 -04:00
Zedifus
f9218ae157 Merge branch 'dev' into feature/discord-webhooks 2023-09-27 21:57:13 +01:00
Andrew
6af4f7b196 Remove print statement 2023-09-27 16:13:02 -04:00
Andrew
6c396fdf11 Fix backup restore 2023-09-26 21:08:11 -04:00
Zedifus
65bea2a11a Merge branch 'dev' into feature/discord-webhooks 2023-09-21 23:42:04 +01:00
Andrew
6c1508f061 Remove extra handler 2023-09-19 18:35:41 -04:00
Silversthorn
1bf8f3bf44 Merge branch 'dev' into bugfix/issue_255_status_page_update 2023-09-19 22:08:49 +02:00
Silversthorn
e9439ca154 Changing history units to hours 2023-09-19 21:46:31 +02:00
Zedifus
c0f07747a5 Merge branch 'dev' into tweak/refresh-handler 2023-09-19 19:24:55 +01:00
Andrew
8c2cfacb4e Use Jar naming schema for refresh 2023-09-08 20:27:47 -04:00
Silversthorn
99ef2db016 Adding host stats to the API 2023-09-06 23:28:46 +02:00
Andrew
096de18c2c Merge branch 'dev' into feature/discord-webhooks 2023-09-05 20:39:20 -04:00
Silversthorn
083e7b2f3f Fixing Little Rename Issue 2023-09-05 23:16:53 +02:00
Silversthorn
618094aa3e Removing useless BaseWebSocketHandler 2023-09-05 23:08:40 +02:00
Silversthorn
a0b069c9ef Reverting Public/Auth websocket 2023-09-05 23:00:52 +02:00
Silversthorn
c7ea7fbc6b Appease Black 2023-09-05 20:37:52 +02:00
Silversthorn
02b7cb8205 appease linter 2023-09-05 20:27:02 +02:00
Silversthorn
2d77c456ca Merge branch 'dev' into bugfix/issue_255_status_page_update 2023-09-05 20:05:12 +02:00
Wout Bouckaert
23ff88e013
🖤 Format 2023-09-04 21:59:24 -06:00
Wout Bouckaert
751beaa7eb
Replace all instances of bleach with nh3.
Using latest version of nh3.
2023-09-04 20:44:44 -06:00
amcmanu3
2c14a3fd2c Appease the linter 2023-09-04 21:39:40 -04:00
amcmanu3
514bf8453f Appease sonar 2023-09-04 21:21:59 -04:00
amcmanu3
3c5560d3e2 Merge branch 'dev' into feature/arcadia-notifications 2023-09-04 20:38:33 -04:00
amcmanu3
4051d98f8f Appease the linter 2023-09-04 20:28:55 -04:00
amcmanu3
84a24687d0 Appease the linter 2023-09-04 19:38:20 -04:00
amcmanu3
9d26a8ff8d Make sonar changes 2023-09-04 19:22:11 -04:00
amcmanu3
3cb18f2da4 Make if more comprehensive 2023-09-04 18:44:17 -04:00
amcmanu3
24f9b64d59 Add default photo variable to appease sonar 2023-09-04 18:42:29 -04:00
amcmanu3
73c4adbdbf Appease the linter 2023-09-04 18:24:10 -04:00
amcmanu3
e716198af4 Appease the linter 2023-09-04 18:19:29 -04:00
amcmanu3
6574a557ff Remove ajax handler references 2023-09-04 14:12:27 -04:00
amcmanu3
52d0d5fc09 Remove ajax handler 2023-09-04 13:54:59 -04:00
amcmanu3
10f696edcc Make server logs call API 2023-09-04 13:54:24 -04:00
amcmanu3
76526916eb Add customize to handlers 2023-09-04 13:31:05 -04:00
amcmanu3
e79f33fcc4 Add login photo to API v2 2023-09-04 13:30:48 -04:00
amcmanu3
61699d6a27 Remove remaining post from AJAX 2023-09-04 13:30:31 -04:00
amcmanu3
78b689b7ec Fix security issue in logical expression 2023-09-04 12:53:06 -04:00
amcmanu3
adaaff3d23 Add master server dir to API v2 2023-09-04 12:34:39 -04:00
amcmanu3
153781c78e Add cache refresh to api v2 2023-09-04 12:12:02 -04:00
amcmanu3
db20d5ea7f Remove post handlers server handler 2023-09-04 11:45:11 -04:00
amcmanu3
a6b7b84b3b Add get/delete functions for api keys 2023-09-04 11:42:07 -04:00
amcmanu3
2f69464e7a Remove remaining get/delete calls in panelhandler 2023-09-04 11:41:45 -04:00
amcmanu3
6a4a9f77d9 Add create new API key from api v2 2023-09-03 23:30:26 -04:00
amcmanu3
cd4bd681d9 Remove antiquaed functions from ajax_handler 2023-09-03 16:17:26 -04:00
amcmanu3
0a99261f5a Remove antiquated file_handler 2023-09-03 16:16:07 -04:00
amcmanu3
afb7b91b7a Add files functions to API v2 2023-09-03 16:15:38 -04:00
amcmanu3
7ff77c598f Add upload support for apiv2
This should get changed once upload handler is gone.
2023-09-03 13:22:48 -04:00
amcmanu3
1898fd1945 Squash upload bug created in commit 27f6c4c 2023-09-03 13:22:17 -04:00
Silversthorn
eb6d9560f8 Implementations of Prometheus Client 2023-09-03 16:04:28 +02:00
Andrew
5e4560c461 Remove from ajax handler 2023-09-02 19:35:25 -04:00
Andrew
ff1ba23830 Add updates to notifs 2023-09-02 19:35:16 -04:00
Silversthorn
af1fdb447a Merge branch 'dev' into bugfix/issue_255_status_page_update 2023-09-02 21:55:51 +02:00
Silversthorn
34fe9c1326 Using API Call for Status Page 2023-09-02 21:51:28 +02:00
Andrew
9d870f0611 Check for valid uuid 2023-09-01 20:15:33 -04:00
Andrew
f03e8d48a2 Appease the linter 2023-09-01 17:04:56 -04:00
Andrew
02df6de6d5 Remove prints. Remove test notif 2023-09-01 14:54:38 -04:00
Andrew
6c1e1b4737 Add Arcadia Notifications to Front end 2023-09-01 14:48:20 -04:00
amcmanu3
27f6c4c926 Add unzip/dir request handler to api v2 2023-08-31 21:35:30 -04:00
amcmanu3
d9e405e56c Add eula to download 2023-08-27 14:55:21 -04:00
Silversthorn
58cdfe9ee5 Fixing Black issues 2023-08-27 14:10:20 +02:00
Silversthorn
29f7399708 Adding API route for history stats
Fixing close db connexion for stats
2023-08-27 13:50:22 +02:00
amcmanu3
4f7d18362c Add download server option for bedrock servers 2023-08-25 13:54:31 -04:00
Andrew
14c0065124 Edit API handler to thread server creation. (Untested) 2023-08-23 20:44:11 -04:00
Andrew
52e44f090e Add audit log end point 2023-08-20 17:03:01 -04:00
Andrew
a8894757cf Rename activity logs 2023-08-20 17:01:32 -04:00
amcmanu3
61057bce81 Remove step 1 handling 2023-08-17 17:18:09 -04:00
amcmanu3
a90dd546a1 Add role detection to creation 2023-08-17 17:14:51 -04:00
amcmanu3
4358a78e93 Require category. Not eula 2023-08-17 15:11:11 -04:00
amcmanu3
134b35b2dd Setup users for API handling 2023-08-16 18:00:00 -04:00
amcmanu3
481eff9486 Remove send_order from ajax handler 2023-08-16 13:41:18 -04:00
amcmanu3
d6dd30b685 Remove delete method from panel handler 2023-08-16 13:38:10 -04:00
amcmanu3
6f535a11b0 Use API to make/edit roles 2023-08-16 13:34:52 -04:00
amcmanu3
36e500fda5 Remove config.json from panel handler 2023-08-15 16:47:55 -04:00
amcmanu3
185702169a Make keywords an array 2023-08-15 16:29:53 -04:00
amcmanu3
93428b2e05 Use API for config.json 2023-08-15 16:09:06 -04:00
Wout Bouckaert
ad9042e88f
Replace bleach with nh3. 2023-08-12 21:53:26 -06:00
Silversthorn
eccac2508d Fix Issue #255
Rework how the websockets are managed
2023-08-09 23:47:53 +02:00
amcmanu3
a1f0e7399f Merge branch 'dev' into feature/discord-webhooks 2023-08-04 15:19:33 -04:00
amcmanu3
4e0743bc1f Merge branch 'dev' into refactor/remote-comms-patch-2 2023-08-04 15:19:04 -04:00
Zedifus
aa0824630a Merge branch 'dev' into refactor/in-file 2023-07-18 21:07:11 +01:00
Andrew
b23a08be5f Add eula agree to api 2023-07-13 10:39:25 -04:00
Andrew
62e1069aeb Merge branch 'dev' into refactor/remote-comms-patch-2 2023-07-13 10:17:19 -04:00
amcmanu3
76e1ee471a Add backups API 2023-07-12 18:01:14 -04:00
amcmanu3
2f509b46ee Merge branch 'refactor/remote-comms-patch-2' of gitlab.com:crafty-controller/crafty-4 into refactor/remote-comms-patch-2 2023-07-12 12:23:52 -04:00
amcmanu3
41411b8c2d Remove unused import 2023-07-12 12:22:46 -04:00
Andrew
4e77611375 Remove ajax call for exclusions 2023-07-05 20:11:27 -04:00
Andrew
6396c3079e Include self in method call 2023-07-04 15:02:47 -04:00
Andrew
45b0264499 Fix enabling schedules from schedule list 2023-07-04 12:10:59 -04:00