about summary refs log tree commit diff
path: root/lib/mastodon
AgeCommit message (Collapse)Author
2020-11-08Add support for reversible suspensions through ActivityPub (#14989)Eugen Rochko
2020-10-12Add IP-based rules (#14963)Eugen Rochko
2020-09-15Change account suspensions to be reversible by default (#14726)Eugen Rochko
2020-09-02Change S3 ACL in "tootctl media remove-orphans --fix-permissions" from fixed ↵Y.Yamashiro
value to environment file's value. (#14715)
2020-09-01Add `--fix-permissions` option to `tootctl media remove-orphans` (#14383)Eugen Rochko
2020-09-01Bump rubocop from 0.86.0 to 0.88.0 (#14412)dependabot[bot]
* Bump rubocop from 0.86.0 to 0.88.0 Bumps [rubocop](https://github.com/rubocop-hq/rubocop) from 0.86.0 to 0.88.0. - [Release notes](https://github.com/rubocop-hq/rubocop/releases) - [Changelog](https://github.com/rubocop-hq/rubocop/blob/master/CHANGELOG.md) - [Commits](https://github.com/rubocop-hq/rubocop/compare/v0.86.0...v0.88.0) Signed-off-by: dependabot[bot] <support@github.com> * Fix for latest RuboCop Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Yamagishi Kazutoshi <ykzts@desire.sh>
2020-08-24Fix an error when file_file_size is nil in tootctl media remove (#14657)Takeshi Umeda
2020-08-12Improve email address validation (#14565)ThibG
* Increase DNS timeout from 1 second to 5 seconds for MX check 1 seconds is rather short when using a recursive DNS resolver which hasn't got a cached result already available. Use 5 seconds instead, which is the timeout value we use for outgoing HTTP queries. * Add more precise error messages for invalid e-mail addresses
2020-08-10Fix `tootctl media` commands not handling snowflake ids for ↵ThibG
media_attachments (#14536)
2020-07-27Bump version to 3.2.0 (#14395)Eugen Rochko
2020-07-24Bump version to 3.2.0rc2 (#14382)Eugen Rochko
2020-07-15Bump version to 3.2.0rc1 (#14312)Eugen Rochko
2020-07-14Change `tootctl search deploy` algorithm (#14300)Eugen Rochko
2020-07-10Bump version to 3.1.5 (#14284)Eugen Rochko
2020-06-29Add customizable thumbnails for audio and video attachments (#14145)Eugen Rochko
- Change audio files to not be stripped of metadata - Automatically extract cover art from audio if it exists - Add `thumbnail` parameter to `POST /api/v1/media`, `POST /api/v2/media` and `PUT /api/v1/media/:id` - Add `icon` to represent it in attachments in ActivityPub - Fix `preview_url` containing URL of missing missing image when there is no thumbnail instead of null - Fix duration of audio not being displayed on public pages until the file is loaded
2020-06-27Remove the terms blacklist and whitelist from UX (#14149)Eugen Rochko
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
2020-06-26Fix help text around `tootctl email_domain_blocks` (#14147)Eugen Rochko
2020-06-25Add tootctl email-domain-blocks (#13589)tateisu
* 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.
2020-05-17Fix `tootctl upgrade storage-schema` S3 ACL (#13768)Stanislas
2020-05-15Fix `tootctl media remove-orphans` choking on unknown files in storage (#13765)Eugen Rochko
Fix #13762 Catch tootctl interrupt to prevent confusing stacktrace
2020-05-15Fix `tootctl upgrade storage-schema` misbehaving (#13761)Eugen Rochko
- 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
2020-05-14Bump version to 3.1.4 (#13750)Eugen Rochko
2020-05-14Fix tootctl media refresh (#13751)Takeshi Umeda
2020-05-09Fix "tootctl media remove-orphans" crashing on “Import” files (#13685)ThibG
* Fix "tootctl media remove-orphans" crashing on “Import” files * Also remove empty directories when removing orphaned media
2020-05-04Fix tootctl upgrade storage-schema failing to delete empty directories (#13593)Hanage999
2020-04-27Add `tootctl emoji export` (#13534)Lerk
* 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
2020-04-26Add separate cache directory for non-local uploads (#12821)Eugen Rochko
2020-04-06Fix regression in `tootctl media remove-orphans` (#13405)Eugen Rochko
Fix #13401
2020-04-05Bump version to 3.1.3 (#13389)Eugen Rochko
2020-04-02Fix `tootctl media remove-orphans` ignoring `PAPERCLIP_ROOT_PATH` (#13375)Eugen Rochko
Fix #13371
2020-03-26Change `tootctl media remove-orphans` to work for all classes (#13316)Eugen Rochko
Change `tootctl media lookup` to not use an interactive prompt
2020-03-08Add `--skip-media-remove` option to `tootctl statuses remove` (#13080)tateisu
* 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>
2020-02-29Fix installation failing when Redis password contains special characters ↵ThibG
(#13156) * Add support for special characters in Redis passwords Fixes #13154 * Refactor
2020-02-27Bump version to 3.1.2 (#13162)Eugen Rochko
2020-02-22Add `--reset-password` option to `tootctl accounts modify` (#13126)ThibG
2020-02-15Do not suggest to login into the GitLab database (#13084)Marcin Cieślak
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
2020-02-10Bump version to 3.1.1 (#13069)Eugen Rochko
2020-02-09Bump version to 3.1.0 (#13053)Eugen Rochko
2020-01-28Bump version to 3.1.0rc2 (#12999)Eugen Rochko
2020-01-24Bump version to 3.1.0rc1 (#12932)Eugen Rochko
2020-01-11Keep statuses bookmarked by local users in tootctl statuses remove (#12818)Gomasy
2020-01-10Add --remote-only option to emoji purge (#12810)ThibG
Fixes #12804
2019-12-17Changes to tootctl statuses remove (#11267)ThibG
* 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
2019-12-12Fix typo in tootctl statuses remove (#12603)trwnh
2019-12-09Fix error handling in `tootctl media remove-orphans` (#12571)Eugen Rochko
2019-12-08Add `tootctl media remove-orphans` (#12568)Eugen Rochko
2019-11-04Add `tootctl media lookup` command (#12283)Nathaniel Suchy
* 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
2019-10-09Bump version to 3.0.1 (#12116)Eugen Rochko
2019-10-08Change `tootctl media refresh` to skip already downloaded attachments (#12118)Eugen Rochko
2019-10-07Add `tootctl media usage` command (#12115)Eugen Rochko