Eugen Rochko
42d2f45db1
Remove the terms blacklist and whitelist from UX ( #14149 )
...
Localization strings:
- "Whitelist mode" -> "Limited federation mode"
- "Blacklist e-mail domain" -> "Block e-mail domain"
- "Whitelist domain" -> "Allow domain for federation"
...And so on
Environment variables (backwards-compatible):
- `WHITELIST_MODE` -> `LIMITED_FEDERATION_MODE`
- `EMAIL_DOMAIN_BLACKLIST` -> `EMAIL_DOMAIN_DENYLIST`
- `EMAIL_DOMAIN_WHITELIST` -> `EMAIL_DOMAIN_ALLOWLIST`
tootctl:
- `tootctl domains purge --whitelist-mode` -> `tootctl domains purge --limited-federation-mode`
Removed badly maintained and no longer relevant .env.production.sample file
4 years ago
Eugen Rochko
85ecbd5527
Fix help text around `tootctl email_domain_blocks` ( #14147 )
4 years ago
tateisu
29ddd0cdf7
Add tootctl email-domain-blocks ( #13589 )
...
* Add tootctl email_domains (block|unblock)
* fix codeclimate issues.
* fix codeclimate issues.
* fix codeclimate issues.
* add list subcommand, remove log_action.
* fix codeclimate issues.
* filter duplicate hostnames,ips before block
* rebase from currnet master branch.
rename email_domains_cli.rb to email_domain_blocks_cli.rb .
rename Mastodon::EmailDomainsCLI to Mastodon::EmailDomainBlocksCLI .
rename command email_domains to email-domain-blocks . (Thor recognizes both of - and _ )
rename subcommand block to add .
rename subcommand unblock to remove .
change the color in list subcommand to while for domain or cyan for childlen.
don't use include() in list subcommand.
suppress console output about succeeded entry.
add console output about count of processed/skipped.
remove capitalization in subcommand description.
remove long_desc in subcommand 'remove'.
remove duplicate where in subcommand 'remove'.
* fix codeclimate issue.
4 years ago
Stanislas
acb71734fb
Fix `tootctl upgrade storage-schema` S3 ACL ( #13768 )
5 years ago
Eugen Rochko
7e7613ec9c
Fix `tootctl media remove-orphans` choking on unknown files in storage ( #13765 )
...
Fix #13762
Catch tootctl interrupt to prevent confusing stacktrace
5 years ago
Eugen Rochko
b2488c3d77
Fix `tootctl upgrade storage-schema` misbehaving ( #13761 )
...
- Fix not moving original files of custom emojis
- Fix command failing to move any files with S3 storage
- Fix command marking records as upgraded when move failed
Fix #13594
5 years ago
Eugen Rochko
5525f6efb7
Bump version to 3.1.4 ( #13750 )
5 years ago
Takeshi Umeda
27a938101c
Fix tootctl media refresh ( #13751 )
5 years ago
ThibG
b7f47014a7
Fix "tootctl media remove-orphans" crashing on “Import” files ( #13685 )
...
* Fix "tootctl media remove-orphans" crashing on “Import” files
* Also remove empty directories when removing orphaned media
5 years ago
Hanage999
190768a28d
Fix tootctl upgrade storage-schema failing to delete empty directories ( #13593 )
5 years ago
Lerk
0dd63eae8e
Add `tootctl emoji export` ( #13534 )
...
* add emoji export command to cli
* fix codeclimate issues
* add error when no matching category was found
* add other suggestions
* exit 1 when no matching category is found
* changes according to suggestions
* 👀
* RubyNein
Y u always autoformat :c
5 years ago
Eugen Rochko
adfb22a9dd
Add separate cache directory for non-local uploads ( #12821 )
5 years ago
Eugen Rochko
ccee0578a4
Fix regression in `tootctl media remove-orphans` ( #13405 )
...
Fix #13401
5 years ago
Eugen Rochko
c7c2a46967
Bump version to 3.1.3 ( #13389 )
5 years ago
Eugen Rochko
7045cb5d5c
Fix `tootctl media remove-orphans` ignoring `PAPERCLIP_ROOT_PATH` ( #13375 )
...
Fix #13371
5 years ago
Eugen Rochko
1cb4645638
Change `tootctl media remove-orphans` to work for all classes ( #13316 )
...
Change `tootctl media lookup` to not use an interactive prompt
5 years ago
tateisu
03ad395296
Add `--skip-media-remove` option to `tootctl statuses remove` ( #13080 )
...
* Add skip_media_remove option to tootctl statuses remove
* Add skip_media_remove option to tootctl statuses remove
Co-authored-by: tateisu <tateisu@juggler.jp>
5 years ago
ThibG
6e937a13a8
Fix installation failing when Redis password contains special characters ( #13156 )
...
* Add support for special characters in Redis passwords
Fixes #13154
* Refactor
5 years ago
Eugen Rochko
1a74ffed23
Bump version to 3.1.2 ( #13162 )
5 years ago
ThibG
5ad9ee92f6
Add `--reset-password` option to `tootctl accounts modify` ( #13126 )
5 years ago
Marcin Cieślak
dc6fbdb6c9
Do not suggest to login into the GitLab database ( #13084 )
...
As pointed out on Discourse:
https://discourse.joinmastodon.org/t/obscure-wtf-error-message-running-migrations-for-3-1/2524
The message the administrators were getting was telling them
to log in to the "GitLab database" and also mentions MySQL
5 years ago
Eugen Rochko
28a4b27a41
Bump version to 3.1.1 ( #13069 )
5 years ago
Eugen Rochko
5cbbe3c3d5
Bump version to 3.1.0 ( #13053 )
5 years ago
Eugen Rochko
6355996c4b
Bump version to 3.1.0rc2 ( #12999 )
5 years ago
Eugen Rochko
35ea75898c
Bump version to 3.1.0rc1 ( #12932 )
5 years ago
Gomasy
b362a77e06
Keep statuses bookmarked by local users in tootctl statuses remove ( #12818 )
5 years ago
ThibG
5fbadcf9df
Add --remote-only option to emoji purge ( #12810 )
...
Fixes #12804
5 years ago
ThibG
0b0f358815
Changes to tootctl statuses remove ( #11267 )
...
* Fix comments in statuses_cli
The comment for the part of query keeping statuses which have replies was
incorrect, explaining the part of the query kept favourited statuses instead
* Keep statuses favourited by local users in tootctl statuses remove
* Do delete old replies that are not direct interactions with local users
* Skip reblogs of local statuses instead of all reblogs
* Optimize some queries
* Keep old statuses with recent reblogs
* Add option to clear toots from followed accounts too
5 years ago
trwnh
5b127ea614
Fix typo in tootctl statuses remove ( #12603 )
5 years ago
Eugen Rochko
fa15a5e9f2
Fix error handling in `tootctl media remove-orphans` ( #12571 )
5 years ago
Eugen Rochko
0769ef8277
Add `tootctl media remove-orphans` ( #12568 )
5 years ago
Nathaniel Suchy
8ae8e9268e
Add `tootctl media lookup` command ( #12283 )
...
* Add a lookup tool to the media cli
* Improved lookup logic
* Clarified wording in the output
* Code style changes
* Code style changes
* Code style changes
* Code style changes
* Add error handling code incase an attachment isn't found
* Code style changes
* Code style changes
* Make requested changes
* Fix styling issues
* Handle other media types
* Remove an inadvertently added log
* Make requested changes
* Make the code safe no matter what the path, S3 or not
* Code style changes
* Code style changes
* Replace select method with Ruby Enumerable grep method
5 years ago
Eugen Rochko
a4969d4b98
Bump version to 3.0.1 ( #12116 )
5 years ago
Eugen Rochko
347c82efed
Change `tootctl media refresh` to skip already downloaded attachments ( #12118 )
5 years ago
Eugen Rochko
c47d7b8abf
Add `tootctl media usage` command ( #12115 )
5 years ago
Eugen Rochko
7e13c7c710
Fix tootctl not allocating enough database connections for main thread ( #12097 )
5 years ago
Eugen Rochko
17c2205247
Fix issues with tootctl's parallelization and progress reporting ( #12093 )
5 years ago
Jeong Arm
9fbb97a0c8
Remove unused option from tootctl accounts cull ( #12074 )
5 years ago
Eugen Rochko
74ddddd3db
Bump version to 3.0.0 ( #12000 )
5 years ago
Eugen Rochko
6edcffbb9f
Bump version to 3.0.0rc3 ( #12063 )
5 years ago
Takeshi Umeda
38d2632b90
Add parallelization to `tootctl search deploy` ( #12051 )
...
* Add parallel gem
* Modify parallel option in tootctl search deploy
* Add paralell option to tootctl search deploy
* Change 1 to false
* Clean up
* Rename --parallel to --processes
5 years ago
Eugen Rochko
36199a7bd6
Change `tootctl domains purge` to accept multiple domains at once ( #12046 )
5 years ago
Eugen Rochko
7918c98190
Bump version to 3.0.0rc2 ( #11999 )
5 years ago
Eugen Rochko
c64f143bf7
Bump version to 3.0.0rc1 ( #11900 )
5 years ago
Eugen Rochko
40d33e780e
Bump version to 2.9.3 ( #11899 )
5 years ago
Eugen Rochko
4291b74031
Change deletes to preserve soft-deleted statuses in unresolved reports ( #11805 )
...
Change all account actions except "none" to resolve all unresolved reports
Refactor `SuspendAccountService` to be more readable
5 years ago
Eugen Rochko
8eab4349b4
Add retry for failed media downloads and `tootctl media refresh` ( #11775 )
5 years ago
Eugen Rochko
666c1a8a06
Change tootctl to use inline parallelization instead of Sidekiq ( #11776 )
...
- Remove --background option
- Add --concurrency(=5) option
- Add progress bars
5 years ago
Eugen Rochko
3f5571301a
Add `tootctl cache recount` command ( #11597 )
5 years ago
Stanislas
d67ad75a56
Limit "tootctl accounts follow" to local accounts ( #11592 )
...
To (somewhat) limit mass remote follow. Fix #11360
5 years ago