Commit Graph

2364 Commits

Author SHA1 Message Date
amcmanu3
4f994ce211 Remove un-needed console log 2023-10-06 14:24:55 -04:00
Zedifus
d10de65c5a Add missing bot_name params in webhook docstrings 2023-10-06 19:20:53 +01:00
amcmanu3
5525413724 Set timeout before calling dir function 2023-10-06 13:33:56 -04:00
Zedifus
baf9b5baa4 Add teams adaptive card webhook provider 2023-10-06 00:22:34 +01:00
Zedifus
74386ad960 Add slack webhook provider 2023-10-05 23:12:38 +01:00
amcmanu3
aa5484e96b Retain provider selection on edit 2023-10-05 18:05:12 -04:00
amcmanu3
7a410a2b0e Fix bug reaction schedule could be child of parent 2023-10-05 17:48:55 -04:00
amcmanu3
447e04cb8e Add log message on restart 2023-10-05 16:22:42 -04:00
amcmanu3
6d938cabc8 Set some stats logging to debug
Add stop server logging
2023-10-04 12:45:23 -04:00
amcmanu3
345bffbab6 Add logging statements to callbacks 2023-10-04 11:45:53 -04:00
Andrew
bfad335495 Comment callback 2023-09-28 20:03:39 -04:00
Andrew
197818c4ac Fix general exception 2023-09-28 20:00:48 -04:00
Andrew
6a6ca166bc Accurately display enabled webhook status 2023-09-28 20:00:38 -04:00
Andrew
e51b2bd0de Add bot_name to send call 2023-09-28 19:26:32 -04:00
Andrew
19d72e5766 Refactor test webhooks with data 2023-09-28 19:26:21 -04:00
Andrew
a62252ed15 Allow custom bot naming 2023-09-28 19:15:01 -04:00
Andrew
6a81a5b337 Add accent color option 2023-09-28 19:07:03 -04:00
Andrew
c410650ae2 Add kill server watcher option 2023-09-28 17:47:36 -04:00
Andrew
4bf77d2e7a Only fire when enabled 2023-09-28 17:47:19 -04:00
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
5cdf114fd5 Add callbacks to method calls 2023-09-28 17:18:07 -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
Zedifus
925f6f6bbb Merge branch 'dev' into bugfix/backups 2023-09-27 21:38:33 +01:00
Zedifus
e1c24ada65 Merge branch 'dev' into enhancement/improve_visibility_wizards_tab 2023-09-27 21:24:34 +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
Andrew
f74194f0e5 Fix backups status not showing up 2023-09-26 21:07:56 -04:00
Silversthorn
4f37d5a7f4 Removed unused style 2023-09-25 20:15:49 +02:00
Silversthorn
0f0cd11058 Use nav-pills instead of nav-tabs 2023-09-25 20:15:17 +02:00
Silversthorn
d0c8d7c27a Fixing Dropdown menu closing while removing notifications 2023-09-24 16:28:23 +02:00
Zedifus
65bea2a11a Merge branch 'dev' into feature/discord-webhooks 2023-09-21 23:42:04 +01:00
Zedifus
d765259808 Merge branch 'dev' into bugfix/service-worker 2023-09-21 23:23:35 +01:00
bobsfriend12
a02f42b0a6 remove unecesarry code from service worker 2023-09-20 19:50:30 -05:00
bobsfriend12
2a53c35df7 fix service worker security issue 2023-09-20 19:45:14 -05:00
Andrew
0c02a1511d Fix players not showing up 2023-09-19 20:31:56 -04: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
Zedifus
b96cf0ec2c Merge branch 'dev' into refractor/replace-bleach 2023-09-19 18:45:44 +01:00
Zedifus
09ca4d508a Merge branch 'dev' into tweak/file-cursor 2023-09-19 18:35:36 +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
Andrew
84cafe664e Make files hover cursor pointer 2023-09-04 23:38:09 -04:00
Andrew
4f7b2aaa95 Add contrast to number 2023-09-04 23:20:49 -04:00
Zedifus
1901bdbecb Reversion release meta and docs tags 2023-09-05 03:54:13 +01: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
9b7d0d83b5 Appease sonar 2023-09-04 21:14:03 -04:00
amcmanu3
6158ea85b5 Appease sonar 2023-09-04 20:49:55 -04:00
amcmanu3
a8af1bcdf0 Adjust front end styling 2023-09-04 20:42:50 -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
Zedifus
e543389ead Merge branch 'dev' into refactor/remote-comms-patch-2 2023-09-05 01:13:50 +01:00
amcmanu3
cdba8c5c69 Appease sonar security 2023-09-04 20:10:00 -04:00
amcmanu3
c1d0902ea5 Appease sonar 2023-09-04 20:05:25 -04:00
amcmanu3
3467c1ccd6 Appease sonar 2023-09-04 19:48:03 -04:00
amcmanu3
097421b34f Appease sonar 2023-09-04 19:45:39 -04:00
amcmanu3
8e1e7f8e11 Appease sonar 2023-09-04 19:43:15 -04:00
amcmanu3
46d7c3eb3c appease sonar 2023-09-04 19:41:59 -04:00
amcmanu3
7134eb2eb8 Appease sonar 2023-09-04 19:40:27 -04:00
amcmanu3
84a24687d0 Appease the linter 2023-09-04 19:38:20 -04:00
amcmanu3
d3df67ba75 Appease Sonar 2023-09-04 19:35:48 -04:00
amcmanu3
9c9f9d3556 Fix file get naming 2023-09-04 19:32:56 -04:00
amcmanu3
fe5e7e8851 Appease sonar 2023-09-04 19:22:32 -04:00
amcmanu3
9d26a8ff8d Make sonar changes 2023-09-04 19:22:11 -04:00
Iain Powrie
81d6357596
Revert "Merge branch 'refractor/remove-bleach' into 'dev'"
This reverts merge request !616
2023-09-04 23:13:13 +00: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
157b066518 Appease sonar security 2023-09-04 18:31:46 -04:00
amcmanu3
b8210b1a07 Remove sonar "bugs" 2023-09-04 18:26:04 -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
4cd8e540f7 Revert "Poll notifications on an hourly schedule"
This reverts commit 98720aa072.
2023-09-04 17:46:22 -04:00
amcmanu3
98720aa072 Poll notifications on an hourly schedule 2023-09-04 17:30:47 -04:00
amcmanu3
bc71e4e5fd Force cache refresh on reload 2023-09-04 14:19:21 -04:00
amcmanu3
6574a557ff Remove ajax handler references 2023-09-04 14:12:27 -04:00
amcmanu3
977da1049d Had to remove a line somewhere 2023-09-04 14:00:34 -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
16e01aed85 Remove ajax notif 2023-09-04 13:31:15 -04:00
amcmanu3
76526916eb Add customize to handlers 2023-09-04 13:31:05 -04:00
amcmanu3
a73063f279 Fix bug on master server dir 2023-09-04 13:30:56 -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
Andrew
13539d83a9 add style 2023-09-03 17:27:09 -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
Andrew
92a9fffafc Make update notif point to release notes 2023-09-03 15:26:13 -04:00
Andrew
859a1737f3 Change link to json 2023-09-03 15:26:04 -04:00
amcmanu3
90905a70f5 General bug fixes/upload support 2023-09-03 13:23:18 -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
amcmanu3
a983cc8868 Squash bugs in java imports/bedrock imports 2023-09-03 13:20:02 -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
a63c2dcf00 Removing saving data realtime => from 5s to 30s 2023-09-02 22:19:17 +02: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
Zedifus
7cad738259 Merge branch 'dev' into tweak/console-get-user 2023-09-02 15:55:48 +01:00
Iain Powrie
2a19e24a82
Merge branch 'refractor/remove-bleach' into 'dev'
Refractor/Replace bleach with nh3

See merge request crafty-controller/crafty-4!616
2023-09-02 14:06:26 +00:00
Zedifus
8569fb6f20 Merge branch 'dev' into bugfix/server-stats 2023-09-02 14:36:36 +01:00
Zedifus
4c7f95675b Merge branch 'dev' into enhancement/better-InApp-doc-display 2023-09-02 14:03:25 +01:00
Zedifus
8f5cb62c25 Merge branch 'dev' into bugfix/public-status-servers 2023-09-02 13:47:34 +01:00
Zedifus
e0b425c659 Merge branch 'dev' into bug-fix/service-worker 2023-09-02 13:28:57 +01:00
Wout Bouckaert
f50efcd6f4
Merge branch 'dev' into refractor/remove-bleach 2023-09-01 20:39:41 -06:00
Andrew
5266e6e098 style ul 2023-09-01 20:38:10 -04: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
f6c61e1764 Add bedrock request for files
TODO: Finish zip imports
2023-08-31 21:35:50 -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
amcmanu3
18252fae0f Fix naming issues with import server 2023-08-27 14:55:10 -04:00
Silversthorn
b67a38574c fixing black 2023-08-27 14:31:51 +02: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
7eb8e2bfd9 Add get users to crafty command 2023-08-24 13:02:44 -04:00