Commit graph

47 commits

Author SHA1 Message Date
af11063bd8 fix: Correct major typo that would delete all post-media 2025-02-07 13:23:20 +00:00
f92982f10e chore: Set proper permissions for files 2025-02-06 15:28:53 +00:00
f3ee8fabc6 chore: Add a builder script 2025-02-06 15:00:17 +00:00
a4a4194f41 fix: Remove piping to solve nested shell scope issues 2025-02-06 14:39:52 +00:00
b382a99283 fix: Sort the processes by data complexity 2025-02-06 14:37:49 +00:00
1885f77738 fix: Correct group 2025-02-06 14:36:48 +00:00
59c39a3f6b feat: Add new script to delete old users from the database 2025-02-06 14:36:19 +00:00
04df6ebb75 fix: Remove spurious line 2025-02-06 01:17:30 +00:00
e8701693f9 feat: Parallelize deletions 2025-02-06 01:15:40 +00:00
20b40ca058 fix: Move piping to prevent embedded shell scope issues 2025-02-05 20:18:30 +00:00
e001f8706c fix: Rewrite the logic to better handle the cycle and properly regenerate images; clean with shfmt/shellcheck 2025-02-05 15:03:28 +00:00
39c4369f12 chore: Clean with shfmt/shellcheck 2025-02-05 15:01:42 +00:00
255f98fd18 fix: Use temporary file to store variable, bypass nested shell scope limitations 2025-02-04 15:09:13 +00:00
29d6107bdb fix: Correct syntax of a set of comparisons 2025-02-04 05:35:01 +00:00
a1abf7fd85 fix: Add proper limit tracking through each iteration 2025-02-04 05:30:29 +00:00
8f21626721 fix: Correct some variables 2025-02-03 23:01:36 +00:00
c65c1c2719 feat: Use the last known ID as a checkpoint for further iterations 2025-02-03 18:41:38 +00:00
48c38ea62d fix: Tighten invalid file detection 2025-02-03 17:38:13 +00:00
41a3b86cab fix: Tune large GIF detection algorithms 2025-02-03 17:37:55 +00:00
768db5a057 fix: Roll back an overtuned limit 2025-02-03 17:37:29 +00:00
363189597c fix: Redact default URL 2025-02-03 16:16:20 +00:00
218d44d4d0 feat: Add new script to fix invalid avatars 2025-02-03 16:14:57 +00:00
5f30741e58 fix: Show cleanup phase more clearly, tweak default intervals and limits 2025-02-03 16:14:36 +00:00
7c78b5e6e4 fix: Correct counting of processed items 2025-02-03 06:16:48 +00:00
9f71fbd458 feat: Make each step of the iteration more clear 2025-02-03 04:10:29 +00:00
cec2e6ad73 fix: Correct the syntax for the embedded command 2025-02-03 03:55:53 +00:00
e438ffc4aa feat: Rewrite completely to ensure fewer database locks during each cycle 2025-02-03 03:48:43 +00:00
1cd916e184 fix: Make detections for GIF/WebM more precise 2025-02-03 03:48:12 +00:00
e7b88efe81 fix: Rewrite to make more compliant 2025-02-03 03:47:39 +00:00
2ff422aaef fix: Make defaults more optimal 2025-02-03 03:47:09 +00:00
b1fe5f6698 fix: Implement more Shellcheck suggestions, make display more clear, timeout more lenient 2025-02-02 21:15:23 +00:00
90cdec87b4 fix: Correct default file and folder permissions 2025-02-02 21:14:32 +00:00
4c8fd869f7 fix: Separate each part of the database cleaning to prevent one failure from stopping the rest of the script 2025-02-02 21:13:58 +00:00
f438272e75 feat: Delete the pictures in the avatar folder when deleting non-existing users 2025-02-02 03:25:37 +00:00
7a8aecd64a feat: Make output more clear; add support for MariaDB and MySQL 2025-02-01 23:12:02 +00:00
7e864911ee fix: Correct logic of contact selection, add more details to display 2025-02-01 03:59:59 +00:00
84c8cf23b6 fix: Solve typo in new condition 2025-01-29 16:05:32 +00:00
164641f5f7 fix: Add check for whether a WebP file is animated (cwebp does not support compressing animated files) 2025-01-29 15:55:19 +00:00
badc0d824f fix: Add fallbacks when a file may be deleted in the middle of a size check 2025-01-29 15:06:50 +00:00
403d6a464a feat: Optimize lock times by using temporary tables 2025-01-28 16:46:36 +00:00
bcaf777b20 feat: Optimize parallelization even further 2025-01-28 03:10:46 +00:00
847a6337ad feat: Optimize parallelization 2025-01-28 03:00:57 +00:00
3d08dec903 bug: Fix racing condition in .gif compression algorithm 2025-01-26 04:31:05 +00:00
efe59ecfbf chore: Add even more Shellcheck suggestions 2025-01-24 19:34:48 +00:00
06356b6d1c chore: Add Shellcheck suggestions 2025-01-24 19:27:44 +00:00
7f2b750466 chore: Initial release 2025-01-24 19:16:21 +00:00
d842475857 Initial commit 2025-01-24 18:59:13 +00:00