Daniel M Brasil
ffb3fef7db
Fix uncaught `ActiveRecord::StatementInvalid` in Mastodon::IpBlocksCLI ( #24861 )
2 years ago
Renaud Chaput
830e6cefae
Add version suffixes to nightly & edge image builds ( #24823 )
2 years ago
Nick Schonning
569b39256b
Bump rubocop-rails 2.19.1 with update .rubocop_todo.yml ( #24469 )
2 years ago
Matt Jankowski
2c6c398c60
Fix Performance/CollectionLiteralInLoop cop ( #24819 )
2 years ago
Matt Jankowski
24491abf6d
Fix Rails/DeprecatedActiveModelErrorsMethods cop ( #24742 )
2 years ago
Claire
1ed0ff30d3
Fix `tootctl accounts cull` crashing when encountering a domain resolving to a private address ( #23378 )
2 years ago
Matt Jankowski
88d33f361f
Fix Lint/DuplicateBranch cop ( #24766 )
2 years ago
Daniel M Brasil
e8fe941015
Fix `tootctl accounts approve --number N` not aproving N earliest registrations ( #24605 )
2 years ago
Matt Jankowski
2e43461100
Fix Rails/Output cop ( #24687 )
2 years ago
Matt Jankowski
60ac9e8634
Fix Rails/SquishedSQLHeredocs cop ( #24694 )
2 years ago
Daniel M Brasil
1d9969fadf
Fix `tootctl accounts create --reattach --force` not working with confirmed accounts ( #24680 )
2 years ago
Claire
528b8e7e3a
Fix crash in `tootctl accounts create --reattach --force` ( #24557 )
2 years ago
Daniel M Brasil
faf657d709
Fix uncaught ActiveRecord::StatementInvalid exception in `Mastodon::AccountsCLI#approve` ( #24590 )
2 years ago
Daniel M Brasil
3afa1fda7a
Fix email confirmation skip option in `tootctl accounts modify USERNAME --email EMAIL --confirm` ( #24578 )
2 years ago
Daniel M Brasil
b0800d602e
tootctl: add --approve option to tootctl accounts create ( #24533 )
2 years ago
Claire
3d8bd093b9
Bump version to v4.1.2 ( #24427 )
2 years ago
Alison Wheeler
2f7c3cb628
Update redis_config.rb to remove warning message ( #24352 )
2 years ago
Matt Jankowski
b9e34ef098
Migration warning helper, and only run in production env ( #24253 )
2 years ago
Claire
7f8e1bede4
Bump version to v4.1.1 ( #24201 )
2 years ago
Claire
bdeb6ff180
Fix crash in `tootctl` commands making use of parallelization when Elasticsearch is enabled ( #24182 )
2 years ago
Nick Schonning
aa947a143b
Regen rubocop-todo without Max shadowing ( #24076 )
2 years ago
Claire
f432db7b9f
Fix sidekiq jobs not triggering Elasticsearch index updates ( #24046 )
2 years ago
9p4
b715bd8e53
Add refreshing many accounts at once with "tootctl accounts refresh" ( #23304 )
2 years ago
Jean byroot Boussier
922837dc96
Upgrade to latest redis-rb 4.x and fix deprecations ( #23616 )
...
Co-authored-by: Jean Boussier <jean.boussier@gmail.com>
2 years ago
Claire
8784498ebf
Fix tootctl accounts migrate error due to typo ( #23567 )
2 years ago
Nick Schonning
8fd3fc404d
Autofix Rubocop Rails/RootPathnameMethods ( #23760 )
2 years ago
Nick Schonning
0cfdd1a401
Enable Rubocop Style/StringConcatenation defaults ( #23792 )
2 years ago
Nick Schonning
59c8d43d94
Autofix Rubocop Style/RescueStandardError ( #23745 )
2 years ago
Nick Schonning
af4c95100c
Autofix Rubocop Style/FormatString ( #23743 )
2 years ago
Nick Schonning
717683d1c3
Autofix Rubocop remaining Layout rules ( #23679 )
2 years ago
Nick Schonning
bf785df9fe
Audofix Rubocop Style/WordArray ( #23739 )
2 years ago
Nick Schonning
81ad6c2e39
Autofix Rubocop Style/StringLiterals ( #23695 )
2 years ago
Nick Schonning
2177daeae9
Autofix Rubocop Style/RedundantBegin ( #23703 )
2 years ago
Nick Schonning
ab7816a414
Autofix Rubocop Style/Lambda ( #23696 )
2 years ago
Nick Schonning
e2a3ebb271
Autofix Rubocop Style/IfUnlessModifier ( #23697 )
2 years ago
Nick Schonning
e2567df860
Enable Lint/RedundantCopDisableDirective ( #23687 )
2 years ago
Nick Schonning
ac59d6f19f
Enable Rubocop Style/NumericLiterals ( #23647 )
2 years ago
Claire
70c0d754a6
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
11557d1c5a
Apply Rubocop Rails/RootPublicPath ( #23447 )
2 years ago
Nick Schonning
203739dd3a
Apply Rubocop Performance/StringIdentifierArgument ( #23444 )
2 years ago
Claire
79ca19e9b2
Bump version to 4.1.0rc3 ( #23384 )
2 years ago
Claire
2f112432e6
Bump version to 4.1.0rc2 ( #23220 )
2 years ago
Claire
8180f7ba19
Bump version to 4.1.0rc1 ( #23112 )
2 years ago
Claire
cb4e28f405
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
0e8f8a1a1c
Implement tootctl accounts prune ( #18397 )
...
* Implement tootctl accounts prune
* Optimise query
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
2 years ago
Claire
745bdb11a0
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
f239d31f23
Add --email and --dry-run options to `tootctl accounts delete` ( #22328 )
2 years ago
Evan
78ef635980
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
55b210b3e5
Fix crash and incorrect behavior in tootctl domains crawl ( #19004 )
2 years ago
Claire
c52263f6f8
Fix deprecation warning in `tootctl accounts rotate` ( #22120 )
2 years ago
Claire
d587a268fd
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
03b0f3ac83
Bump version to 4.0.2 ( #20725 )
2 years ago
Eugen Rochko
4415dd6036
Bump version to 4.0.1 ( #20696 )
2 years ago
Eugen Rochko
fb389bd73c
Bump version to 4.0.0 ( #20636 )
2 years ago
Eugen Rochko
75299a042c
Bump version to 4.0.0rc4 ( #20634 )
2 years ago
Claire
457c37e47a
Fix index name in fix-duplicates task ( #20632 )
2 years ago
Claire
bd806a3090
Update fix-duplicates ( #20502 )
...
Fixes #19133
2 years ago
Eugen Rochko
53028af10e
Bump version to 4.0.0rc3 ( #20378 )
2 years ago
Eugen Rochko
5187e4e758
Bump version to 4.0.0rc2 ( #19831 )
2 years ago
Eugen Rochko
8ae0936ddd
Bump version to 4.0.0rc1 ( #19473 )
2 years ago
Eugen Rochko
d7595adbf4
Add `--remove-role` option to `tootctl accounts modify` ( #19477 )
...
Fix #19152
2 years ago
Jeong Arm
882e54c786
Fix Ambiguous SQL error on tootctl media refresh ( #19206 )
2 years ago
luzpaz
4aa3b9bd01
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
c556c3a0d1
Add admin API for managing canonical e-mail blocks ( #19067 )
2 years ago
Jeong Arm
e682975afd
Add '--days' option to tootctl media refresh ( #18425 )
...
* Add '--days' option to tootctl media refresh
* Fix undefined scope
2 years ago
Brayd
fc46fa8f99
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
44b2ee3485
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
fbcbf7898f
Bump version to 3.5.3 ( #18530 )
3 years ago
Eugen Rochko
a9b64b24d6
Change algorithm of `tootctl search deploy` to improve performance ( #18463 )
3 years ago
Claire
014065913c
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
bc19c083ce
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
7b0fe4aef9
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
3917353645
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
ed5491e5de
Bump version to 3.5.1 ( #18000 )
3 years ago
Claire
cb45c04d26
Fix migration error handling ( #17991 )
3 years ago
Claire
5f0fc639da
Fix error re-running some migrations if they get interrupted at the wrong moment ( #17989 )
3 years ago
Eugen Rochko
6221b36b27
Remove sign-in token authentication, instead send e-mail about new sign-in ( #17970 )
3 years ago
Eugen Rochko
8c7223f4ea
Bump version to 3.5.0 ( #17911 )
3 years ago
Eugen Rochko
d7d049aab7
Bump version to 3.5.0rc3 ( #17876 )
3 years ago
Eugen Rochko
07f8b4d1b1
Bump version to 3.5.0rc2 ( #17855 )
3 years ago
Claire
3afd59df0f
Fix tootctl email_domain_blocks add ( #17842 )
...
Fixes #17831
3 years ago
Claire
b07906bdb0
Fix wrong language code for Kurdish languages ( #17812 )
3 years ago
Eugen Rochko
4bdce2c513
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
642528f455
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
75e33fd08f
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
c439e13e12
Enable importing GIF emojis in CLI ( #17706 )
3 years ago
Josh Soref
b5329e0035
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
3e12abc1fe
Calculate max_id without random vector ( #17623 )
3 years ago
Eugen Rochko
3413f1c44b
Forward-port version bump to 3.4.6 ( #17434 )
3 years ago
Claire
54581d43e7
Bump version to 3.4.5 ( #17402 )
3 years ago
Claire
a99adeaad3
Fix edge case in migration helpers that caused crash because of PostgreSQL quirks ( #17398 )
3 years ago
Claire
8a07ecd377
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
76761d5fc0
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
6c8c031bcd
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
0ac7efdc50
Fix performance of tootctl statuses remove ( #17052 )
...
* Fix performance of tootctl statuses remove
* Fix model class
3 years ago
Takeshi Umeda
06631fdc53
Fix ElasticSearch to Elasticsearch ( #17050 )
3 years ago
OSAMU SATO
53aca8aecf
Add batch_size option to bin/tootctl search deploy ( #17049 )
3 years ago
Eugen Rochko
6e50134a42
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
3419d3ec84
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
2251db42ec
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