Commit Graph

488 Commits (4ce714adea8636f477f3f77aabf525a75c262358)

Author SHA1 Message Date
Claire 4fcc026f0f
Bump version to v4.2.0 () 2023-09-21 16:51:32 +02:00
Claire abcc0b38fa
Fix incorrect PostgreSQL version check () 2023-09-19 17:31:58 +02:00
Claire f4b780ba22
Bump version to v4.2.0-rc2 () 2023-09-19 17:04:23 +02:00
Claire b90383d073
Bump version to v4.2.0-rc1 () 2023-09-14 18:46:00 +02:00
Jeong Arm 59af3c1310
Add PublicStatuses to tootctl search deploy --only option () 2023-09-12 09:59:59 +02:00
Eugen Rochko 3a679844e4
Fix `account_id`, `max_id` and `min_id` params not working in search () 2023-09-08 14:25:00 +02:00
Claire ec48bc3610
Do not truncate backtrace when the `BACKTRACE` env variable is set () 2023-09-06 09:18:10 +02:00
Claire f80f426c57
Bump version to v4.2.0-beta3 () 2023-09-04 21:20:20 +02:00
Claire 16681e0f20
Add admin notifications for new Mastodon versions () 2023-09-01 17:47:07 +02:00
Claire f39847476c
Change the pre-release versioning scheme and associated environment variables () 2023-08-25 18:26:44 +02:00
jsgoldstein 30c191aaa0
Add new public status index ()
Co-authored-by: Eugen Rochko <eugen@zeonfederated.com>
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
2023-08-24 16:40:04 +02:00
Jaehong Kang 2dbbeedc94
Fix: Workaround to load MASTODON_VERSION_* in Docker. ()
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
2023-08-24 13:07:27 +02:00
Claire facfec1ba3
Bump version to v4.2.0-beta2 () 2023-08-21 20:18:49 +02:00
Claire dd049fc37a
Fix ES_PRESET not being applied to Chewy's internal index () 2023-08-14 19:00:56 +02:00
Jeong Arm 496eb6f7a4
Add missing instances option to tootctl search deploy () 2023-08-13 02:06:04 +02:00
Claire dab54ccbba
Prepare v4.2.0-beta1 () 2023-08-08 16:12:12 +02:00
Eugen Rochko 0e2a4d3897
Fix adding column with default value taking longer on Postgres >= 11 () 2023-08-08 09:09:58 +02:00
Claire 425d77f812
Fix crash in `tootctl status remove` and some old migrations () 2023-08-02 20:54:56 +02:00
Claire 51768de16e
Bump version to v4.1.6 () 2023-07-31 21:11:25 +02:00
Misty De Méo 12a6cf569e
Storage: add :azure to remaining callers () 2023-07-27 16:13:45 +02:00
Claire b4e739ff0f
Change interaction modal in web UI ()
Co-authored-by: Eugen Rochko <eugen@zeonfederated.com>
2023-07-27 16:11:17 +02:00
Claire f2c683336b
Bump version to v4.1.5 () 2023-07-21 21:23:14 +02:00
Matt Jankowski f831452037
Refactor `Snowflake` to avoid brakeman sql injection warnings () 2023-07-12 10:44:58 +02:00
Matt Jankowski b8b2470cf8
Fix `Style/SlicingWithRange` cop () 2023-07-12 10:03:06 +02:00
Claire 0051128387
Bump version to v4.1.4 () 2023-07-07 19:42:03 +02:00
Claire 5e1752ce3f
Bump version to v4.1.3 () 2023-07-06 15:14:42 +02:00
Matt Jankowski b5675e265e
Add coverage for `CLI::Feeds` command () 2023-06-10 18:37:36 +02:00
Matt Jankowski 07933db788
Add coverage for `CLI::Cache` command () 2023-06-10 18:36:09 +02:00
Nick Schonning c66250abf1
Autofix Rubocop Regex Style rules ()
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
2023-06-06 14:50:51 +02:00
Matt Jankowski cd4f0feab8
Extract verify options method in search cli () 2023-06-01 14:35:05 +02:00
Matt Jankowski 35c1c3e57a
Add CLI area progress bar helper () 2023-06-01 14:31:24 +02:00
Matt Jankowski dc26140d54
Use thor methods instead of tty prompt in maintenance cli () 2023-05-31 19:40:16 +02:00
Matt Jankowski 1baf40077b
Fix FormatStringToken cop in CLI () 2023-05-30 16:21:53 +02:00
Matt Jankowski 80c7de9984
Fix Rails/WhereExists cop in CLI () 2023-05-30 16:09:57 +02:00
Matt Jankowski b7b96efd17
Extract helper method for error report in cli/accounts command () 2023-05-30 16:09:15 +02:00
Matt Jankowski 2cecb2dc9e
Increment index which was previously not used in maintenance CLI loop () 2023-05-30 16:08:47 +02:00
Matt Jankowski ec9bc7e604
Consistent usage of CLI `dry_run?` method () 2023-05-30 16:07:44 +02:00
Matt Jankowski 55785b1603
Extract methods for user de-duping in maintenance CLI () 2023-05-26 09:42:16 +02:00
Matt Jankowski 384345b0de
Add CLI Base class for command line code () 2023-05-24 11:55:40 +02:00
Matt Jankowski b6b4ea4ca5
Move the mastodon/*_cli files to mastodon/cli/* () 2023-05-23 16:08:26 +02:00
Nick Schonning 99e2e9b81f
Fix minor typos in comments and spec names () 2023-05-19 17:13:29 +02:00
Daniel M Brasil 536dd046d4
Add ability to block sign-ups from IP using the CLI () 2023-05-09 14:46:00 +02:00
Daniel M Brasil ffb3fef7db
Fix uncaught `ActiveRecord::StatementInvalid` in Mastodon::IpBlocksCLI () 2023-05-09 14:45:47 +02:00
Renaud Chaput 830e6cefae
Add version suffixes to nightly & edge image builds () 2023-05-04 13:45:39 +02:00
Nick Schonning 569b39256b
Bump rubocop-rails 2.19.1 with update .rubocop_todo.yml () 2023-05-04 11:56:24 +02:00
Matt Jankowski 2c6c398c60
Fix Performance/CollectionLiteralInLoop cop () 2023-05-04 05:33:55 +02:00
Matt Jankowski 24491abf6d
Fix Rails/DeprecatedActiveModelErrorsMethods cop () 2023-05-02 18:39:22 +02:00
Claire 1ed0ff30d3
Fix `tootctl accounts cull` crashing when encountering a domain resolving to a private address () 2023-05-02 15:10:09 +02:00
Matt Jankowski 88d33f361f
Fix Lint/DuplicateBranch cop () 2023-05-02 12:57:11 +02:00
Daniel M Brasil e8fe941015
Fix `tootctl accounts approve --number N` not aproving N earliest registrations () 2023-04-30 06:50:58 +02:00
Matt Jankowski 2e43461100
Fix Rails/Output cop () 2023-04-30 06:48:16 +02:00
Matt Jankowski 60ac9e8634
Fix Rails/SquishedSQLHeredocs cop () 2023-04-30 06:43:50 +02:00
Daniel M Brasil 1d9969fadf
Fix `tootctl accounts create --reattach --force` not working with confirmed accounts () 2023-04-27 10:15:45 +02:00
Claire 528b8e7e3a
Fix crash in `tootctl accounts create --reattach --force` () 2023-04-23 22:29:31 +02:00
Daniel M Brasil faf657d709
Fix uncaught ActiveRecord::StatementInvalid exception in `Mastodon::AccountsCLI#approve` () 2023-04-20 10:57:11 +02:00
Daniel M Brasil 3afa1fda7a
Fix email confirmation skip option in `tootctl accounts modify USERNAME --email EMAIL --confirm` () 2023-04-18 09:51:24 +02:00
Daniel M Brasil b0800d602e
tootctl: add --approve option to tootctl accounts create () 2023-04-14 14:41:15 +02:00
Claire 3d8bd093b9
Bump version to v4.1.2 () 2023-04-07 09:01:57 +02:00
Alison Wheeler 2f7c3cb628
Update redis_config.rb to remove warning message () 2023-04-02 06:49:37 +02:00
Matt Jankowski b9e34ef098
Migration warning helper, and only run in production env () 2023-03-26 00:39:24 +01:00
Claire 7f8e1bede4
Bump version to v4.1.1 () 2023-03-21 15:04:21 +01:00
Claire bdeb6ff180
Fix crash in `tootctl` commands making use of parallelization when Elasticsearch is enabled () 2023-03-20 20:02:58 +01:00
Nick Schonning aa947a143b
Regen rubocop-todo without Max shadowing () 2023-03-16 12:31:08 +09:00
Claire f432db7b9f
Fix sidekiq jobs not triggering Elasticsearch index updates () 2023-03-12 23:47:55 +01:00
9p4 b715bd8e53
Add refreshing many accounts at once with "tootctl accounts refresh" () 2023-03-08 17:06:53 +01:00
Jean byroot Boussier 922837dc96
Upgrade to latest redis-rb 4.x and fix deprecations ()
Co-authored-by: Jean Boussier <jean.boussier@gmail.com>
2023-03-04 16:38:28 +01:00
Claire 8784498ebf
Fix tootctl accounts migrate error due to typo () 2023-03-03 20:45:12 +01:00
Nick Schonning 8fd3fc404d
Autofix Rubocop Rails/RootPathnameMethods () 2023-02-22 09:57:15 +09:00
Nick Schonning 0cfdd1a401
Enable Rubocop Style/StringConcatenation defaults () 2023-02-22 09:54:36 +09:00
Nick Schonning 59c8d43d94
Autofix Rubocop Style/RescueStandardError () 2023-02-20 11:01:20 +01:00
Nick Schonning af4c95100c
Autofix Rubocop Style/FormatString () 2023-02-20 07:58:33 +01:00
Nick Schonning 717683d1c3
Autofix Rubocop remaining Layout rules () 2023-02-20 06:58:28 +01:00
Nick Schonning bf785df9fe
Audofix Rubocop Style/WordArray () 2023-02-20 06:14:10 +01:00
Nick Schonning 81ad6c2e39
Autofix Rubocop Style/StringLiterals () 2023-02-19 07:38:14 +09:00
Nick Schonning 2177daeae9
Autofix Rubocop Style/RedundantBegin () 2023-02-19 07:09:40 +09:00
Nick Schonning ab7816a414
Autofix Rubocop Style/Lambda () 2023-02-18 12:39:00 +01:00
Nick Schonning e2a3ebb271
Autofix Rubocop Style/IfUnlessModifier () 2023-02-18 12:37:47 +01:00
Nick Schonning e2567df860
Enable Lint/RedundantCopDisableDirective () 2023-02-18 04:30:14 +01:00
Nick Schonning ac59d6f19f
Enable Rubocop Style/NumericLiterals () 2023-02-18 11:05:57 +09:00
Claire 70c0d754a6
Bump version to 4.1.0 ()
* Bump version to 4.1.0

* Editorialize changelog some more and highlight API changes

* Update changelog
2023-02-10 22:21:23 +01:00
Nick Schonning 11557d1c5a
Apply Rubocop Rails/RootPublicPath () 2023-02-08 10:38:07 +01:00
Nick Schonning 203739dd3a
Apply Rubocop Performance/StringIdentifierArgument () 2023-02-08 02:36:20 +01:00
Claire 79ca19e9b2
Bump version to 4.1.0rc3 () 2023-02-03 16:39:38 +01:00
Claire 2f112432e6
Bump version to 4.1.0rc2 () 2023-01-25 16:20:54 +01:00
Claire 8180f7ba19
Bump version to 4.1.0rc1 () 2023-01-20 14:19:12 +01:00
Claire cb4e28f405
Add `tootctl domains purge` options to select subdomains and keep domain blocks ()
* 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
2023-01-18 16:50:50 +01:00
Jeong Arm 0e8f8a1a1c
Implement tootctl accounts prune ()
* Implement tootctl accounts prune

* Optimise query

Co-authored-by: Claire <claire.github-309c@sitedethib.com>
2023-01-13 22:34:16 +01:00
Claire 745bdb11a0
Add `tootctl accounts migrate` ()
* Add tootctl accounts replay-migration

Fixes 

* Change `tootctl accounts replay-migration` to `tootctl accounts migrate`
2023-01-13 17:00:23 +01:00
Claire f239d31f23
Add --email and --dry-run options to `tootctl accounts delete` () 2022-12-15 14:52:50 +01:00
Evan 78ef635980
Add command to remove avatar and header images of inactive remote accounts from the local database ()
* 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>
2022-12-14 19:50:07 +01:00
Claire 55b210b3e5
Fix crash and incorrect behavior in tootctl domains crawl () 2022-12-13 20:02:32 +01:00
Claire c52263f6f8
Fix deprecation warning in `tootctl accounts rotate` () 2022-12-07 14:13:10 +01:00
Claire d587a268fd
Add logging for Rails cache timeouts ()
* Reduce redis cache store connect timeout from default 20 seconds to 5 seconds

* Log cache store errors
2022-11-27 20:37:37 +01:00
Eugen Rochko 03b0f3ac83
Bump version to 4.0.2 () 2022-11-15 03:57:18 +01:00
Eugen Rochko 4415dd6036
Bump version to 4.0.1 () 2022-11-14 22:21:14 +01:00
Eugen Rochko fb389bd73c
Bump version to 4.0.0 () 2022-11-14 20:27:12 +01:00
Eugen Rochko 75299a042c
Bump version to 4.0.0rc4 () 2022-11-14 08:50:14 +01:00
Claire 457c37e47a
Fix index name in fix-duplicates task () 2022-11-14 08:33:48 +01:00
Claire bd806a3090
Update fix-duplicates ()
Fixes 
2022-11-13 21:01:38 +01:00
Eugen Rochko 53028af10e
Bump version to 4.0.0rc3 () 2022-11-11 08:39:38 +01:00