12 Commits (d6f5ee75ab91eba676e4e200d4e6a98a5aed91ef)

Author SHA1 Message Date
Matt Jankowski 85e8d1f285
Use rails configuration storage for paperclip path (#31651) 2 years ago
Matt Jankowski 37e4d96b70
Restore `verbose` option to media remove cli (#30536) 2 years ago
Claire c2ca3d152f
Fix off-by-one in `tootctl media` commands (#30306) 2 years ago
Matt Jankowski df6086d402
Extract file size sql calc from media storage cli (#29577) 2 years ago
Matt Jankowski adcd693b71
Use existing `MediaAttachment.remote` scope in media CLI (#28912) 2 years ago
Matt Jankowski 0e0a94f483
Handle CLI failure exit status at the top-level script (#28322) 2 years ago
Matt Jankowski 3bc437b99a
Fix `Style/RedundantParentheses` cop (#28176) 2 years ago
Matt Jankowski 1564799952
Add spec coverage for media CLI `refresh` command (#28166) 2 years ago
Misty De Méo 12a6cf569e
Storage: add :azure to remaining callers (#26080) 3 years ago
Matt Jankowski ec9bc7e604
Consistent usage of CLI `dry_run?` method (#25116) 3 years ago
Matt Jankowski 384345b0de
Add CLI Base class for command line code (#25106) 3 years ago
Matt Jankowski b6b4ea4ca5
Move the mastodon/*_cli files to mastodon/cli/* (#24139) 3 years ago
Nick Schonning 99e2e9b81f
Fix minor typos in comments and spec names (#21831) 3 years ago
Matt Jankowski 2c6c398c60
Fix Performance/CollectionLiteralInLoop cop (#24819) 3 years ago
Nick Schonning aa947a143b
Regen rubocop-todo without Max shadowing (#24076) 3 years ago
Nick Schonning 2177daeae9
Autofix Rubocop Style/RedundantBegin (#23703) 3 years ago
Nick Schonning e2a3ebb271
Autofix Rubocop Style/IfUnlessModifier (#23697) 3 years ago
Evan 78ef635980
Add command to remove avatar and header images of inactive remote accounts from the local database (#22149) 3 years ago
Jeong Arm 882e54c786
Fix Ambiguous SQL error on tootctl media refresh (#19206) 4 years ago
Jeong Arm e682975afd
Add '--days' option to tootctl media refresh (#18425) 4 years ago
Jeong Arm 884c60002e
Skip blocked domains media on tootctl media refresh (#16914) 5 years ago
ThibG 54d4e5252b
Use Rails' index_by where it makes sense (#15542) 5 years ago
Y.Yamashiro abc91e5fa6
Change S3 ACL in "tootctl media remove-orphans --fix-permissions" from fixed value to environment file's value. (#14715) 6 years ago
Eugen Rochko 71085987e8
Add `--fix-permissions` option to `tootctl media remove-orphans` (#14383) 6 years ago
Takeshi Umeda 175cd4f8ef
Fix an error when file_file_size is nil in tootctl media remove (#14657) 6 years ago
ThibG decc5b9a78
Fix `tootctl media` commands not handling snowflake ids for media_attachments (#14536) 6 years ago
Eugen Rochko 64aac30733
Add customizable thumbnails for audio and video attachments (#14145) 6 years ago
Eugen Rochko 199bbbcb9f
Fix `tootctl media remove-orphans` choking on unknown files in storage (#13765) 6 years ago
Takeshi Umeda cbfb2c0e71
Fix tootctl media refresh (#13751) 6 years ago
ThibG 34756cc4e0
Fix "tootctl media remove-orphans" crashing on “Import” files (#13685) 6 years ago
Eugen Rochko c3ca3801f2
Add separate cache directory for non-local uploads (#12821) 6 years ago
Eugen Rochko c99bc5d51b
Fix regression in `tootctl media remove-orphans` (#13405) 6 years ago
Eugen Rochko a9a063c0e9
Fix `tootctl media remove-orphans` ignoring `PAPERCLIP_ROOT_PATH` (#13375) 6 years ago
Eugen Rochko 0c8945e5ff
Change `tootctl media remove-orphans` to work for all classes (#13316) 6 years ago
Eugen Rochko d7bcc0930c
Fix error handling in `tootctl media remove-orphans` (#12571) 6 years ago
Eugen Rochko f3d232381d
Add `tootctl media remove-orphans` (#12568) 6 years ago
Nathaniel Suchy 23ed9303b8 Add `tootctl media lookup` command (#12283) 7 years ago
Eugen Rochko 4a98e77d0e
Change `tootctl media refresh` to skip already downloaded attachments (#12118) 7 years ago
Eugen Rochko 0aaa3afc2d
Add `tootctl media usage` command (#12115) 7 years ago
Eugen Rochko 031ca25014
Add retry for failed media downloads and `tootctl media refresh` (#11775) 7 years ago
Eugen Rochko 8674814825
Change tootctl to use inline parallelization instead of Sidekiq (#11776) 7 years ago
mayaeh 8f7e3d3772 Fix "tootctl media remove" can't count the file size (#9288) 8 years ago
Eugen Rochko 16a16f62c7
Fix nil error regression from #9229 in tootctl media remove (#9239) 8 years ago
Eugen Rochko 3ddb460449
Display amount of freed disk space in tootctl media remove (#9229) 8 years ago
Eugen Rochko 6f78500d4f
Do not remove "dead" domains in tootctl accounts cull (#9108) 8 years ago
Sascha b9d7021c1b cli: set exit_on_failure for all CLI classes (#9094) 8 years ago
Eugen Rochko 6a3f9b7e53
Move more tasks to tootctl (#8675) 8 years ago
mayaeh 18eb565755 Add --verbose and --dry-run option to tootctl media remove (#8519) 8 years ago
mayaeh cc26fd71ac Fix CLI interface for removing remote media (#8506) 8 years ago
Eugen Rochko cabdbb7f9c
Add CLI task for rotating keys (#8466) 8 years ago