Sebastian Spaeth
|
55652662ca
|
Fix deleted file calculation
We stupidly just output the total number of files, and not the number
of files that we attempted to delete, which leads to flawed statistics
output.
|
2023-04-20 09:53:41 +02:00 |
|
Sebastian Spaeth
|
e4a190749f
|
Merge branch 'master' of gitlab.com:sspaeth/cleanmedia
|
2023-04-20 09:46:28 +02:00 |
|
Sebastian Spaeth
|
1f3bc1e0c9
|
Add sanity check for thumbnails
Warn in case we have thumbnails in our db that do not refer to an
existing media entry in our db.
|
2023-04-20 09:45:20 +02:00 |
|
Sebastian Spaeth
|
405c207f8c
|
Clean up code comments a little
|
2023-04-19 18:29:50 +02:00 |
|
Sebastian Spaeth
|
1df1a8e74c
|
use correct class for typing hints
|
2023-04-19 18:25:02 +02:00 |
|
Sebastian Spaeth
|
94a643d636
|
mypy: Make the typing checks pass without error
|
2023-04-19 18:19:50 +02:00 |
|
Sebastian Spaeth
|
52484e7351
|
remove todo list from source code
|
2023-04-19 17:52:37 +02:00 |
|
Sebastian Spaeth
|
4fad9fcb0d
|
allow postgresql:// connection string
Due to popular demand ;-), also allow postgresl://
|
2023-02-02 07:42:16 +01:00 |
|
Sebastian Spaeth
|
6f99a37944
|
Add scary warranty disclaimer
|
2023-01-12 14:59:54 +01:00 |
|
Sebastian Spaeth
|
7b6ecf25ac
|
reintroduce correct failure handling
|
2023-01-12 14:53:32 +01:00 |
|
Sebastian Spaeth
|
3914546c92
|
simplify file counting
|
2023-01-12 14:49:39 +01:00 |
|
Sebastian Spaeth
|
d23e16cbee
|
Count deleted files
and report a summary statistic.
|
2023-01-12 14:47:20 +01:00 |
|
Sebastian Spaeth
|
4887745611
|
expand Readme somewhat
|
2022-11-30 10:33:24 +01:00 |
|
Sebastian Spaeth
|
430809c49b
|
Update README
Make it even betta!
|
2022-11-28 15:37:11 +01:00 |
|
Sebastian Spaeth
|
e79563ea6a
|
add license, make retention time configurable
Use 30 days by default, but allow configurability of retention time.
Add a license.
|
2022-11-28 15:13:36 +01:00 |
|
Sebastian Spaeth
|
0e035d47e9
|
Even nicer output on dryrun
and remove an obsolete comment.
|
2022-11-08 19:00:35 +01:00 |
|
Sebastian Spaeth
|
36d392e9b1
|
Better output on dryrun, make clear what we would delete now
|
2022-11-08 18:55:23 +01:00 |
|
Sebastian Spaeth
|
a00ffc258f
|
Demote log to debug
|
2022-11-08 18:51:59 +01:00 |
|
Sebastian Spaeth
|
f96b05f245
|
Use a cached property for fullpath
Instead of recalculating all the time.
|
2022-11-08 18:44:31 +01:00 |
|
Sebastian Spaeth
|
e66eb649d7
|
Move read_config down to the other global function(s)
|
2022-11-08 18:30:49 +01:00 |
|
Sebastian Spaeth
|
c8588634b3
|
Clean up and document a little
|
2022-11-08 18:27:40 +01:00 |
|
Sebastian Spaeth
|
2497e71c3b
|
Need to commit our changes
|
2022-11-08 17:59:43 +01:00 |
|
Sebastian Spaeth
|
7065a5437e
|
Properly delete files
|
2022-11-08 17:53:47 +01:00 |
|
Sebastian Spaeth
|
be6da99c1c
|
Delete db entries too
|
2022-11-08 17:39:21 +01:00 |
|
Sebastian Spaeth
|
8410389d6a
|
Initial commit
|
2022-11-08 17:18:32 +01:00 |
|