3371 Commits

Author SHA1 Message Date
Zedifus
0255d17707 Replace echo with printf to account for environment inconsistencies.
Echo was being weird, some environments it was not escaping colour codes,
tried adding the '-e' flag, but this was printed weirdly in compose.
2023-10-08 18:29:28 +01:00
Zedifus
706c30775a Fix xargs, and increase log verbosity
xargs would fail when no files were found, -r resolves this by continuing.

moved repair to function to reduce duplicated code
2023-10-08 18:11:00 +01:00
Zedifus
f39c9c5a28 Move repair operations to batches, and null terminate file names
This will allow chgrp and chmod to operate in batches of 100,
instead of starting a process per file

Also null-terminating filenames
to protect against spaces, newlines,
or other potentially problematic characters.
2023-10-08 16:23:56 +01:00
Zedifus
38855ae70f Update echo's to correctly escape colour codes 2023-10-08 16:15:56 +01:00
Zedifus
9ac8400a90 Update permissions check gate on docker starter sh
This will ensure we fire on files only, not directories ie 'import/upload'
2023-10-08 16:13:38 +01:00
amcmanu3
89b0e1ed02 fix typo for upload dir 2023-10-08 10:57:59 -04:00
amcmanu3
0296b09547 Move Crafty server upload to /import/upload 2023-10-08 10:54:28 -04:00
Iain Powrie
2f65971261 Merge branch 'maintenance/bump-dependencies' into 'dev'
Bump multiple dep versions

See merge request crafty-controller/crafty-4!639
2023-10-07 18:25:21 +00:00
amcmanu3
529b3a159c Appease the linter 2023-10-07 13:55:36 -04:00
Zedifus
77c7264f2b Update changelog !639 2023-10-07 18:32:03 +01:00
amcmanu3
d5225fc6dd Merge branch 'dev' into maintenance/bump-dependencies 2023-10-07 13:15:48 -04:00
amcmanu3
882f241181 Appease black 2023-10-07 13:13:35 -04:00
amcmanu3
42bdf2994d Move callback to unbound 2023-10-07 13:06:26 -04:00
Iain Powrie
0d5b320838 Merge branch 'maintenance/bump-orjson' into 'dev'
Bump orjson to 3.9.7 for python 3.12 support

See merge request crafty-controller/crafty-4!638
2023-10-07 16:12:50 +00:00
Zedifus
c3c00dabc2 Update changelog !638 2023-10-07 17:05:59 +01:00
Zedifus
d48a0daa0a Merge branch 'dev' into maintenance/bump-orjson 2023-10-07 17:03:24 +01:00
amcmanu3
60ae98ef97 Merge branch 'dev' into maintenance/bump-dependencies 2023-10-07 12:02:46 -04:00
Iain Powrie
9c62789d1d Merge branch 'bugfix/gathering-files' into 'dev'
Gathering Files Dialogue

See merge request crafty-controller/crafty-4!637
2023-10-07 16:01:26 +00:00
amcmanu3
f42f4cf2b6 Bump multiple dep versions
Refactor zoneinfonotfounderror
2023-10-07 11:59:46 -04:00
Zedifus
069ff28098 Update changelog !637 2023-10-07 16:50:14 +01:00
Zedifus
ca430f991b Update changelog !637 2023-10-07 16:48:27 +01:00
Iain Powrie
48e659d683 Merge branch 'bugfix/reaction-of-reaction' into 'dev'
Fix bug reaction schedule could be child of parent

See merge request crafty-controller/crafty-4!636
2023-10-07 15:19:36 +00:00
Zedifus
87d81f3ad7 Update changelog !636 2023-10-07 16:11:03 +01:00
Zedifus
66e74b6c04 Merge branch 'dev' into bugfix/reaction-of-reaction 2023-10-07 16:09:32 +01:00
Iain Powrie
3de57ec4b2 Merge branch 'tweak/logging' into 'dev'
Set some stats logging to debug

See merge request crafty-controller/crafty-4!635
2023-10-07 14:50:23 +00:00
Zedifus
d750b29461 Update changelog !635 2023-10-07 15:45:30 +01:00
Zedifus
ecba6f1bf0 Merge branch 'dev' into tweak/logging 2023-10-07 15:42:15 +01:00
amcmanu3
bd76366f3b Bump orjson to 3.9.7 for python 3.12 support 2023-10-06 15:48:05 -04:00
Iain Powrie
4379ba408b Merge branch 'feature/discord-webhooks' into 'dev'
Webhook Functionality

See merge request crafty-controller/crafty-4!594
2023-10-06 18:46:05 +00:00
Zedifus
7738103691 Add discord embed designer to payload construct docstring 2023-10-06 19:25:30 +01:00
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
d6f93368be Update changelog !594 2023-10-06 18:33:37 +01: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