Commit Graph

222 Commits

Author SHA1 Message Date
luukas
d1f582edfe Full release on stdout fix!
Basically I ditch the ANSI codes and use the old highlighting system.
2021-08-11 23:29:31 +03:00
luukas
4bac56e84a Use stdout for virtual terminal. WebSockets seem to be "laggy". 2021-08-10 23:17:56 +03:00
luukas
7b66cc261e Add cache for if language file exists 2021-08-10 22:36:17 +03:00
luukas
801d79fdca Fix Crafty version string 2021-07-30 22:50:33 +03:00
luukas
f5b6583dbf Remove unnecessary console.debug's 2021-07-30 19:27:48 +03:00
luukas
7acf095463 Make HTTP handler functions not return anything else than None to remove an error in the log. Also make users not log out when visiting a page on the public handler 2021-07-30 19:20:01 +03:00
luukas
3559c0a942 Basic README 2021-07-30 18:37:36 +03:00
luukas
a79f42f4da Escape logfile output, fixes weird formatting and remote code execution vulnerability 2021-06-02 21:47:08 +03:00
luukas
344c2219ec Handle SIGTERM 2021-06-02 21:30:12 +03:00
luukas
5a5cd65d4f Sort server types, I suffered a lot while doing this 2021-06-02 21:17:50 +03:00
luukas
11a004ea74 Handle KeyboardInterrupt in prompt (non-daemon) mode 2021-06-02 19:53:01 +03:00
computergeek125
9dfc6ed449 Merge branch 'lukas-bugfixes' into 'dev'
Bugfixes 🐛 and more

See merge request crafty-controller/crafty-commander!30
2021-05-29 14:09:07 +00:00
luukas
918364d08a Remove accidental line I added in 736924c8 2021-05-27 21:42:43 +03:00
luukas
55d63c1f7a Add translation file caching, show file read error (if any) and fix a typo in the Finnish translation. 2021-05-27 21:39:46 +03:00
luukas
13d8259869 Make sure server name is not empty 2021-05-02 18:57:53 +03:00
luukas
092a8e85f1 Fix not being able to go to credits or contribute page when there are no servers 2021-05-02 18:52:10 +03:00
luukas
db9e6c2fac Move webserver online logging to the right place 2021-05-02 18:15:19 +03:00
luukas
890e0a1925 Fix blank page on wrong password and add spaces to previous login failed redirects 2021-05-02 18:05:14 +03:00
luukas
d13f8aedcb Add better audit log stuff to server creation 2021-04-19 13:36:12 +03:00
luukas
e71b6ce0b1 Fix __init__ being defined 2 times in cmd.py MainPrompt 2021-04-18 13:03:21 +03:00
luukas
23ce45724a Create universal exit function so exiting code can be in one place. 2021-04-18 00:24:54 +03:00
luukas
736924c839 Fix uptime negative time error by saving it as UTC from the start. 2021-04-18 00:20:23 +03:00
luukas
9049e44803 Fix logging on import errors 2021-04-17 23:34:13 +03:00
luukas
500e537b18 Disable "Other" page button on new user page 2021-04-17 23:27:35 +03:00
luukas
b772bcb03e Fix "Server wizard has multiple elements with same ids" 2021-04-17 23:24:34 +03:00
luukas
d5e83c5935 Fix a bunch of errors in API base handler and
add some verbosity to logging in it
2021-04-17 18:19:19 +03:00
luukas
2e2d338c9d Fix static handler 404 error 2021-04-17 18:12:23 +03:00
computergeek125
47305d74d9 Parse fail hotfix on json file 2021-04-04 16:00:27 -05:00
computergeek125
acfcb33bdc Converted to Unix line endings 2021-04-04 15:03:11 -05:00
computergeek125
5a6f09d38f Added patreons (WIP), fixed spelling error 2021-04-04 15:02:35 -05:00
Andrew
f3baedd41d Added term-nav-item class to all nav items in every server navigation in HTML files to fix CSS formatting issues. 2021-04-04 14:34:14 -04:00
luukas
805f51ffb2 One big bug slapping commit
Fix bug where arguments would not have default values and would break editing users (panel handler line 507, 508 and 559), fix major typo (panel handler line 569) and fix autobleach logging (base handler lines 35 and 36)
2021-04-04 21:22:52 +03:00
computergeek125
1e2abff40a Moved server DB code to models, fix autobleach logging, fix redirect bug 2021-04-04 12:48:02 -05:00
computergeek125
33e1f07fa6 Merge branch 'dev' of https://gitlab.com/crafty-controller/crafty-commander into dev 2021-04-04 09:53:10 -05:00
Andrew
49a9bd982c Added temporary fix for index out of range execption thrown when adding a server. 2021-04-03 19:21:05 -04:00
computergeek125
976bf0ff48 should be SIGINT, not SIGTERM (CRAFTY-CONTROLLER-T-89) 2021-04-03 14:12:03 -05:00
computergeek125
d501260ef9 Updated error info per CRAFTY-CONTROLLER-T-57 2021-04-03 13:29:21 -05:00
computergeek125
f3b1d1e87d cleaned up DB commands a bit to resolve the rest of CRAFTY-CONTROLLER-T-81 2021-04-03 13:18:43 -05:00
computergeek125
54b0578e79 Merge branch 'dev' of https://gitlab.com/crafty-controller/crafty-commander into dev 2021-04-03 12:39:25 -05:00
computergeek125
bd6eed118a Resolves CRAFTY-CONTROLLER-T-81 - error when creating new user
Also cleans up the panel and server code to handle other states better
2021-04-03 12:36:01 -05:00
computergeek125
b80ba4f7ef Merge branch 'translations' into 'dev'
One big monster truck merge request

See merge request crafty-controller/crafty-commander!29
2021-04-03 15:39:54 +00:00
luukas
0b3d20ffbe One monster truck commit for
add translation API, add fi_FI and en_EN translations, add C and
.properties file support, check if file is binary before sending and
clean up ajax handler
2021-03-26 15:57:50 +02:00
luukas
85cb28b9ad Fix bug where server wizard would not show 2021-03-22 10:08:58 +02:00
computergeek125
680cb1885e Moved to semver 2021-03-22 00:05:45 -05:00
computergeek125
97558e5828 Whoops forgot to add the credits 2021-03-21 23:54:52 -05:00
computergeek125
5272756240 Merge logo swap 2021-03-21 23:50:38 -05:00
computergeek125
02a05b41c9 quickfix stats 2021-03-21 23:48:06 -05:00
computergeek125
fb08d77a80 General cleanup after merge, hopefully improved roles with backup 2021-03-21 23:44:22 -05:00
computergeek125
c5f8afebb2 whoops forgot to merge something 2021-03-21 23:35:17 -05:00
computergeek125
506c9bb3c3 Merge branch 'backups-and-stuff' into dev 2021-03-21 23:32:48 -05:00