Commit Graph

1600 Commits

Author SHA1 Message Date
luukas
14665042c6 Add and improve audit logging in the API 2022-05-18 01:34:31 +03:00
luukas
8c8ae652c8 Fix a bug in update_role_advanced
where you could not modify server permissions
2022-05-18 01:25:27 +03:00
luukas
f9e5b9bc5f Fix the duplicated add_server_creation in the API 2022-05-18 01:23:32 +03:00
luukas
8737c15fcf Add a permission matrix to the role add and edit 2022-05-18 01:09:58 +03:00
amcmanu3
e12814d0b0 Appease the linter 2022-05-17 16:01:37 -04:00
luukas
821ed7ef5d Make get_server_obj raise an error
Reason being: There is nothing that checks if it returns False
2022-05-17 21:43:15 +03:00
luukas
42af86b6f7 Merge branch 'dev' into experimental/lukas-cleanup 2022-05-17 21:21:47 +03:00
luukas
5dfd1aae12 Make more places use the check_server_id function. 2022-05-17 20:52:32 +03:00
Iain Powrie
8cca74f355 Merge branch 'translation/italian-updated-alpha-3.5' into 'dev'
Update it_IT lang to 3.5

See merge request crafty-controller/crafty-4!260
2022-05-16 20:55:54 +00:00
Iain Powrie
1c15e6c0a9 Update it_IT lang to 3.5
Thanks Gallu
2022-05-16 20:38:49 +00:00
amcmanu3
a2b711b5ac Add password reset to Crafty Console 2022-05-16 15:39:10 -04:00
luukas
e7e337bea1 Improve the start_server function 2022-05-16 18:16:04 +03:00
luukas
d83b964267 Improve server permission related functions 2022-05-16 18:01:15 +03:00
luukas
cd87a63f1e Improve permission related functions 2022-05-16 17:52:09 +03:00
luukas
d415c27a89 Make add_or_update_user more efficient with upsert 2022-05-16 17:15:46 +03:00
luukas
8d2f4ba32e Make get_all_permission_quantity_list dynamic 2022-05-16 17:10:57 +03:00
luukas
4a2396f45a Make improvements to main.py
* Make propmpt appear earlier (threads)
* Make SIGTERM handler start earlier
* Put task manager on a thread
* Put internet check on a thread
2022-05-16 01:33:31 +03:00
luukas
fbf820fd38 Make some model removals way more efficient 2022-05-16 01:18:08 +03:00
luukas
65ba65a67d Make model *_exists functions way more efficient 2022-05-16 01:12:03 +03:00
luukas
0115421243 Make queries narrower 2022-05-16 01:02:17 +03:00
luukas
27d310e2de Declutter set()s 2022-05-16 00:55:22 +03:00
Andrew
7d8515321b Revert bad changes for schedules 2022-05-15 15:59:55 -05:00
Andrew
39e748c9c4 Merge branch 'tweak/pretzel-files-design-change' into 'dev'
Files design change / Stats Collection on Offline servers

See merge request crafty-controller/crafty-4!257
2022-05-15 20:29:49 +00:00
Andrew
4f6a90eb6a Remove unused import 2022-05-15 14:05:23 -05:00
Andrew
490fc86d4e Cleanup server schedule on delete 2022-05-15 14:00:24 -05:00
Andrew
e161e2cf0b Add cleanup method for server stats on delete 2022-05-15 13:28:02 -05:00
Andrew
0f19c0c787 Realtime server stats all the time 2022-05-15 13:16:28 -05:00
Andrew
984f4cc4d6 Change Files Aesthetic 2022-05-15 12:38:48 -05:00
Andrew
8e9d88b8f9 Merge branch 'bug/pretzel-terminal-spacing' into 'dev'
Term spacing between player name and message

See merge request crafty-controller/crafty-4!256
2022-05-15 02:19:38 +00:00
Andrew
30618c7456 Term spacing between player name and message 2022-05-14 20:53:18 -05:00
Andrew
63ca08e072 Merge branch 'tweak/pretzel-date-uptime' into 'dev'
Add date to uptime calc.

See merge request crafty-controller/crafty-4!255
2022-05-15 00:17:02 +00:00
Andrew
5fa209bf52 Add date to uptime calc.
Big assist from Zedifus
2022-05-14 18:51:05 -05:00
Zedifus
4880950469 Revert GitHub > Gitlab 2022-05-12 00:24:18 +01:00
Craft Breadth
09f363fcda Add LICENSE 2022-05-11 12:26:23 +00:00
Andrew McManus
e25d6222e3
Merge pull request #28 from arcadia-technology/tweak/pretzel-apache-edit
Change apache config path to match crafty4 naming
2022-05-10 20:28:26 -04:00
amcmanu3
4849a348a6 Change apache config path to match crafty4 naming 2022-05-10 20:24:53 -04:00
luukas
930c6936d9 Add more advanced role APIs 2022-05-10 02:08:49 +03:00
Andrew McManus
0a97fd112b
Merge pull request #25 from arcadia-technology/dev_DBManagement
Moving Server Stats DB to Server Folder
2022-05-09 15:22:30 -04:00
Andrew
184e50a825 Fix bug where excluded dir not persistant 2022-05-09 13:34:45 -04:00
luukas
bf59e2de6c Add and fix API v2 and db
* Add basic role routes
* Add API v2 404 handler
* Add API v2 home handler pointing to the wiki
* Add tons more todos
* Add get_*_columns and get_*_column functions for many db models
* Modify and add tons of model and controller functions
2022-05-08 00:07:55 +03:00
Zedifus
c7f35df1bf
Merge pull request #27 from arcadia-technology/devops/windows-macos-pipeline-matrix
Windows pipe conversion and new macOS executable 
2022-05-07 20:42:19 +01:00
Zedifus
e521036c1c Add action matrix for win and mac pipes
Was going to do .app/ and include a .icns
but running with no-console was problematic, but macos works as binary.
Will revisit to make pretty but base support is there.
2022-05-07 20:31:00 +01:00
luukas
721c9cfe12 Add the server creation endpoint 2022-05-05 14:02:23 +03:00
luukas
53459d83dc Merge branch 'feature/api-v2' into merge/api-v2 2022-05-05 03:32:09 +03:00
Silversthorn
84078935e8 Sorry, I forgot this one :/ 2022-04-28 22:40:27 +02:00
Silversthorn
0dcdc8ffc7 pylint happy ? ^^ 2022-04-28 22:40:24 +02:00
Silversthorn
16bbac7fd6 Moving Server Stats DB to Server Folder 2022-04-28 22:40:15 +02:00
Andrew McManus
39a5b89b92
Merge pull request #24 from arcadia-technology/bug/file-size-check
Bug/file size check
2022-04-20 15:43:43 -04:00
Zedifus
521f44bc6e
Merge pull request #23 from arcadia-technology:devops/lint-pipes-to-actions
Add linting pipes
2022-04-20 18:45:30 +01:00
Zedifus
e1e362cc6a Add linting pipes
Also tweaked docker-build naming.
2022-04-20 18:41:35 +01:00