Claire
852eb6ce7a
Fix sidekiq jobs not triggering Elasticsearch index updates ( #24046 )
2 years ago
9p4
8ca1b0b6fc
Add refreshing many accounts at once with "tootctl accounts refresh" ( #23304 )
2 years ago
Jean byroot Boussier
08c2938b4a
Upgrade to latest redis-rb 4.x and fix deprecations ( #23616 )
...
Co-authored-by: Jean Boussier <jean.boussier@gmail.com>
2 years ago
Claire
cdc026c2fb
Fix tootctl accounts migrate error due to typo ( #23567 )
2 years ago
Nick Schonning
eb6991cee1
Autofix Rubocop Rails/RootPathnameMethods ( #23760 )
2 years ago
Nick Schonning
247bf6e812
Enable Rubocop Style/StringConcatenation defaults ( #23792 )
2 years ago
Nick Schonning
dd63a919f0
Autofix Rubocop Style/RescueStandardError ( #23745 )
2 years ago
Nick Schonning
9b3be79cb5
Autofix Rubocop Style/FormatString ( #23743 )
2 years ago
Nick Schonning
e6312104c7
Autofix Rubocop remaining Layout rules ( #23679 )
2 years ago
Nick Schonning
c0f0c42326
Audofix Rubocop Style/WordArray ( #23739 )
2 years ago
Nick Schonning
be1ec56c6d
Autofix Rubocop Style/StringLiterals ( #23695 )
2 years ago
Nick Schonning
49f1168050
Autofix Rubocop Style/RedundantBegin ( #23703 )
2 years ago
Nick Schonning
3f9d7419d1
Autofix Rubocop Style/Lambda ( #23696 )
2 years ago
Nick Schonning
793f8c7dd5
Autofix Rubocop Style/IfUnlessModifier ( #23697 )
2 years ago
Nick Schonning
5973a58281
Enable Lint/RedundantCopDisableDirective ( #23687 )
2 years ago
Nick Schonning
8fa4163574
Enable Rubocop Style/NumericLiterals ( #23647 )
2 years ago
Claire
20c6a153e4
Bump version to 4.1.0 ( #23471 )
...
* Bump version to 4.1.0
* Editorialize changelog some more and highlight API changes
* Update changelog
2 years ago
Nick Schonning
4eb077fc25
Apply Rubocop Rails/RootPublicPath ( #23447 )
2 years ago
Nick Schonning
67a6f688ca
Apply Rubocop Performance/StringIdentifierArgument ( #23444 )
2 years ago
Claire
c9e86e57e8
Bump version to 4.1.0rc3 ( #23384 )
2 years ago
Claire
b26ab9916d
Bump version to 4.1.0rc2 ( #23220 )
2 years ago
Claire
efa0acc165
Bump version to 4.1.0rc1 ( #23112 )
2 years ago
Claire
908f5f4c6e
Add `tootctl domains purge` options to select subdomains and keep domain blocks ( #22063 )
...
* Add --include-subdomains option to tootctl domains purge
* Add support for '*.' subdomain wildcard patterns in `tootctl domains purge`
* Fix custom emojis deletion not following subdomain and URI options
* Change `tootctl domains purge` to not purge domain blocks unless --purge-domain-blocks is passed
* Refactor `tootctl domains purge`
* Add feedback on deleted domain blocks
2 years ago
Jeong Arm
4fd439e632
Implement tootctl accounts prune ( #18397 )
...
* Implement tootctl accounts prune
* Optimise query
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
2 years ago
Claire
8cb9cfb0ab
Add `tootctl accounts migrate` ( #22330 )
...
* Add tootctl accounts replay-migration
Fixes #22281
* Change `tootctl accounts replay-migration` to `tootctl accounts migrate`
2 years ago
Claire
762efea31f
Add --email and --dry-run options to `tootctl accounts delete` ( #22328 )
2 years ago
Evan
2d3b9084db
Add command to remove avatar and header images of inactive remote accounts from the local database ( #22149 )
...
* Add tootctl subcommand media remove-profile-media
* Trigger workflows
* Correcting external linting
* External linting error
* External linting fix
* Merging with remove command
* Linting
* Correct long option names
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
* Correct long option names
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
* Correct long option names
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
* Remove saving a list of purged accounts
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
2 years ago
Claire
053d3ba6ca
Fix crash and incorrect behavior in tootctl domains crawl ( #19004 )
2 years ago
Claire
56e253553f
Fix deprecation warning in `tootctl accounts rotate` ( #22120 )
2 years ago
Claire
c863f76a62
Add logging for Rails cache timeouts ( #21667 )
...
* Reduce redis cache store connect timeout from default 20 seconds to 5 seconds
* Log cache store errors
2 years ago
Eugen Rochko
a4d1745ffa
Bump version to 4.0.2 ( #20725 )
2 years ago
Eugen Rochko
eb1cb5b6d9
Bump version to 4.0.1 ( #20696 )
2 years ago
Eugen Rochko
4a307df02f
Bump version to 4.0.0 ( #20636 )
2 years ago
Eugen Rochko
c5da82cada
Bump version to 4.0.0rc4 ( #20634 )
2 years ago
Claire
abc0ea76e7
Fix index name in fix-duplicates task ( #20632 )
2 years ago
Claire
ac0ae9c83d
Update fix-duplicates ( #20502 )
...
Fixes #19133
2 years ago
Eugen Rochko
791592c961
Bump version to 4.0.0rc3 ( #20378 )
2 years ago
Eugen Rochko
cdbd1a8bb3
Bump version to 4.0.0rc2 ( #19831 )
2 years ago
Eugen Rochko
79f5e4d088
Bump version to 4.0.0rc1 ( #19473 )
2 years ago
Eugen Rochko
c92e2658e0
Add `--remove-role` option to `tootctl accounts modify` ( #19477 )
...
Fix #19152
2 years ago
Jeong Arm
32efaf0856
Fix Ambiguous SQL error on tootctl media refresh ( #19206 )
2 years ago
luzpaz
45ddea2f0c
Fix typos ( #18604 )
...
* Fix typos
Found via `codespell -q 3 -S ./CHANGELOG.md,./AUTHORS.md,./config/locales,./app/javascript/mastodon/locales -L ba,keypair,medias,pixelx,ro`
* Follow-up typo fix
2 years ago
Eugen Rochko
a0bb5674d9
Add admin API for managing canonical e-mail blocks ( #19067 )
2 years ago
Jeong Arm
8c1ea0976b
Add '--days' option to tootctl media refresh ( #18425 )
...
* Add '--days' option to tootctl media refresh
* Fix undefined scope
2 years ago
Brayd
71f41ca363
Minimal adjustments to the short description ( #18001 )
...
Minimal adjustments have been made to the short description so that it logically follows the long description
2 years ago
Eugen Rochko
e164d6a687
Add customizable user roles ( #18641 )
...
* Add customizable user roles
* Various fixes and improvements
* Add migration for old settings and fix tootctl role management
2 years ago
Eugen Rochko
5b1c0d21ab
Bump version to 3.5.3 ( #18530 )
3 years ago
Eugen Rochko
eda9c41ed8
Change algorithm of `tootctl search deploy` to improve performance ( #18463 )
3 years ago
Claire
ea99b93364
Bump version to 3.5.2 ( #18295 )
...
* Bump version to 3.5.2
* Change some entries to be more clear
* Add some extra notes
* Fix line wrap
Co-authored-by: Eugen Rochko <eugen@zeonfederated.com>
3 years ago
Claire
a6e431baca
Add ability to set approval-based registration through tootctl ( #18248 )
...
Fixes #18235
Add `tootctl settings registrations approved` with
optional `--require-reason` switch.
3 years ago
Eugen Rochko
a8e694233c
Fix opening and closing Redis connections instead of using a pool ( #18171 )
...
* Fix opening and closing Redis connections instead of using a pool
* Fix Redis connections not being returned to the pool in CLI commands
3 years ago
Eugen Rochko
553889bc7c
Fix single Redis connection being used across all threads ( #18135 )
...
* Fix single Redis connection being used across all Sidekiq threads
* Fix tests
3 years ago
Eugen Rochko
23b61a753a
Bump version to 3.5.1 ( #18000 )
3 years ago
Claire
c1b85d1f99
Fix migration error handling ( #17991 )
3 years ago
Claire
2b7d558807
Fix error re-running some migrations if they get interrupted at the wrong moment ( #17989 )
3 years ago
Eugen Rochko
f982d56b4e
Remove sign-in token authentication, instead send e-mail about new sign-in ( #17970 )
3 years ago
Eugen Rochko
a7a8594f2e
Bump version to 3.5.0 ( #17911 )
3 years ago
Eugen Rochko
91dd5ce8b7
Bump version to 3.5.0rc3 ( #17876 )
3 years ago
Eugen Rochko
bd42dab872
Bump version to 3.5.0rc2 ( #17855 )
3 years ago
Claire
ef643e9224
Fix tootctl email_domain_blocks add ( #17842 )
...
Fixes #17831
3 years ago
Claire
b167133918
Fix wrong language code for Kurdish languages ( #17812 )
3 years ago
Eugen Rochko
de14ccc13b
Bump version to 3.5.0rc1 ( #17618 )
...
* Bump version to 3.5.0rc1
* Various fixes and improvements
* Update AUTHORS.md
* Various fixes and improvements
* Update README.md
3 years ago
Claire
503f16a333
Update fix-duplicates maintenance task ( #17731 )
...
* Update fix-duplicates task to 2022_02_10_153119
Also add support for Appeal to AccountMerging#merge_with!
* Update fix-duplicates task to 2022_03_07_094650
* Update fix-duplicates task to 2022_03_09_213005
* Update fix-duplicates task to 2022_03_07_083603
* Update fix-duplicates task to 2022_03_10_060626
* Update fix-duplicates script to 2022_03_07_083603
* Update fix-duplicates task to 2022_03_10_060706
* Update fix-duplicates task to 2022_03_10_060959
* Silence CodeClimate
3 years ago
Eugen Rochko
02d910cf90
Fix null values being included in some indexes ( #17711 )
...
* Fix null values being included in some indexes
* Update lib/mastodon/migration_helpers.rb
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
* Add documentation link to corruption error message
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
3 years ago
Rens Groothuijsen
d99303533e
Enable importing GIF emojis in CLI ( #17706 )
3 years ago
Josh Soref
1c070bd94c
Spelling ( #17705 )
...
* spelling: account
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: affiliated
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: appearance
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: autosuggest
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: cacheable
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: component
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: conversations
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: domain.example
Clarify what's distinct and use RFC friendly domain space.
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: environment
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: exceeds
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: functional
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: inefficiency
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: not
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: notifications
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: occurring
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: position
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: progress
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: promotable
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: reblogging
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: repetitive
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: resolve
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: saturated
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: similar
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: strategies
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: success
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: targeting
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: thumbnails
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: unauthorized
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: unsensitizes
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: validations
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: various
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
Co-authored-by: Josh Soref <jsoref@users.noreply.github.com>
3 years ago
Jeong Arm
c3e00dcda1
Calculate max_id without random vector ( #17623 )
3 years ago
Eugen Rochko
d4e8594b82
Forward-port version bump to 3.4.6 ( #17434 )
3 years ago
Claire
c7083702fa
Bump version to 3.4.5 ( #17402 )
3 years ago
Claire
71862291aa
Fix edge case in migration helpers that caused crash because of PostgreSQL quirks ( #17398 )
3 years ago
Claire
8114f4208f
Remove leftover database columns from Devise::Models::Rememberable ( #17191 )
...
* Remove leftover database columns from Devise::Models::Rememberable
* Update fix-duplication maintenance script
* Improve errors/warnings in the fix-duplicates maintenance script
3 years ago
Claire
d8da1689c1
Add ability for admins to delete canonical email blocks ( #16644 )
...
* Add admin option to remove canonical email blocks from a deleted account
* Add tootctl canonical_email_blocks to inspect and remove canonical email blocks
3 years ago
Takeshi Umeda
6546346818
Add remove orphans to tootctl statuses remove ( #17067 )
...
* Add remove orphans to tootctl statuses remove
* Add REINDEX and change option from vacuum to compression-database
* Changed to extract the deletion target of conversations to a temporary table
* Support progress bar and exceptions when media remove
* Add continue option
* Fix compression to compress
* Remove skip_remove_orphans
3 years ago
Takeshi Umeda
3b1320f817
Fix performance of tootctl statuses remove ( #17052 )
...
* Fix performance of tootctl statuses remove
* Fix model class
3 years ago
Takeshi Umeda
8b87566072
Fix ElasticSearch to Elasticsearch ( #17050 )
3 years ago
OSAMU SATO
20ad635c3c
Add batch_size option to bin/tootctl search deploy ( #17049 )
3 years ago
Eugen Rochko
ad73becf3e
Add trending links ( #16917 )
...
* Add trending links
* Add overriding specific links trendability
* Add link type to preview cards and only trend articles
Change trends review notifications from being sent every 5 minutes to being sent every 2 hours
Change threshold from 5 unique accounts to 15 unique accounts
* Fix tests
3 years ago
Takeshi Umeda
869faf5f87
Bump chewy from 5.2.0 to 7.2.3 (supports Elasticsearch 7.x) ( #16915 )
...
* Bump chewy from 5.2.0 to 7.2.2
* fix style (codeclimate)
* fix style
* fix style
* Bump chewy from 7.2.2 to 7.2.3
3 years ago
Eugen Rochko
8925737d2c
Forward port version bumps to 3.4.2 and 3.4.3 ( #16945 )
...
* Bump version to 3.4.2
* Bump version to 3.4.3
3 years ago
Jeong Arm
a38eceedb1
Skip blocked domains media on tootctl media refresh ( #16914 )
3 years ago
Jeong Arm
5f554f1171
Add optional domain restrict to tootctl accounts cull ( #16511 )
...
* Add optional domain restrict to accounts cull
* Use "unless" - codeclimate
3 years ago
Claire
f940e4871d
Fix `tootctl accounts cull` not excluding domains on timeouts and certificate issues ( #16433 )
...
Fixes #16410
3 years ago
Claire
1fcf310c60
Add feature to automatically delete old toots ( #16529 )
...
* Add account statuses cleanup policy model
* Record last inspected toot to delete to speed up successive calls to statuses_to_delete
* Add service to cleanup a given account's statuses within a budget
* Add worker to go through account policies and delete old toots
* Fix last inspected status id logic
All existing statuses older or equal to last inspected status id must be
kept by the current policy. This is an invariant that must be kept so that
resuming deletion from the last inspected status remains sound.
* Add tests
* Refactor scheduler and add tests
* Add user interface
* Add support for discriminating based on boosts/favs
* Add UI support for min_reblogs and min_favs, rework UI
* Address first round of review comments
* Replace Snowflake#id_at_start with with_random parameter
* Add tests
* Add tests for StatusesCleanupController
* Rework settings page
* Adjust load-avoiding mechanisms
* Please CodeClimate
3 years ago
Claire
ab4c1478b6
Change references to tootsuite/mastodon to mastodon/mastodon ( #16491 )
...
* Change references to tootsuite/mastodon to mastodon/mastodon
* Remove obsolete test fixture
* Replace occurrences of tootsuite/mastodon with mastodon/mastodon in CHANGELOG
And a few other places
3 years ago
Eugen Rochko
34dd743b58
Add ability to skip sign-in token authentication for specific users ( #16427 )
...
Remove "active within last two weeks" exception for sign in token requirement
Change admin reset password to lock access until the password is reset
3 years ago
Claire
45893a757e
Add --by-uri option to `tootctl domains purge` ( #16434 )
...
Fixes #16410
3 years ago
Eugen Rochko
2b38d0f349
Bump version to 3.4.1 ( #16350 )
4 years ago
Claire
273e1258ce
Fix migration script not being able to run if it fails midway ( #16312 )
...
* Fix migration script not being able to run if it fails midway
* Fix old migration script
* Fix old migration script
* Refactor CorruptionError
4 years ago
Claire
2c3a1f32ad
Fix account deletion sometimes failing because of optimistic locks ( #16317 )
...
* Fix account deletion sometimes failing because of optimistic locks
In some rare occasions[1], deleting accounts would fail with a
`StaleObjectError` exception.
Indeed, account deletion manually sets the `AccountStat` values without
handling cases where the optimistic locking on `AccountStat` would fail.
To my knowledge, with the rewrite of account counters in #15913 , the
`DeleteAccountService` is now the only place that changes the counters in
a way that is not atomic.
Since in this specific case, we do not care about the previous values of the
account counters, it appears we don't need locking at all for this table
anymore.
[1]: https://discourse.joinmastodon.org/t/account-cant-be-deleted/3602
* Bump MAX_SUPPORTED_VERSION in maintenance script
4 years ago
Claire
7f6a00ed0a
Fix `tootctl search deploy` on Ruby 3 ( #16346 )
...
Fixes #16344
4 years ago
Eugen Rochko
85740837c6
Bump version to 3.4.0 ( #16239 )
4 years ago
Claire
2934b06a25
Update fix-duplicates maintenance script to support latest migrations ( #16231 )
...
* Update maintenance script to support latest database migrations
* Update Account#merge_with!
4 years ago
Eugen Rochko
cafaf8e783
Bump version to 3.4.0rc2 ( #16206 )
4 years ago
Takeshi Umeda
00f4204d05
Add a Redis environment variable for sidekiq ( #16188 )
4 years ago
Eugen Rochko
0245174bae
Bump version to 3.4.0rc1 ( #16053 )
4 years ago
Claire
bb69774177
Fix older migrations on Ruby 3 ( #16174 )
4 years ago
Takeshi Umeda
7bcd4a83f8
Fix how to change connection pool for rails 6 ( #16158 )
...
* Fix how to change connection pool for rails 6
* Fix to match the code elsewhere
4 years ago
Takeshi Umeda
465434aac8
Fix cache redis not being used ( #16131 )
4 years ago
abcang
57d0cb0002
Fix DB connection pool settings in CLI ( #15983 )
4 years ago
Stanislas
9c85025a11
tootctl emoji import: case insensitive duplicate check ( #15738 )
4 years ago