Commit Graph

92 Commits (081244f692c495722f48272279795f576d6c55b3)

Author SHA1 Message Date
Matt Jankowski 342055cb15
Update `rubocop` to version 1.69.1 (#32967) 2024-12-09 14:52:49 +00:00
Claire c58967c3bd
Add `tootctl feeds vacuum` (#33065) 2024-11-29 14:08:57 +00:00
Claire 2d8fed23e6
Fix `TagFollow` records not being correctly handled in account operations (#33063) 2024-11-25 10:27:58 +00:00
Claire 9d34146aaa
Remove redundant temporary index creation in `tootctl status remove` (#33023) 2024-11-22 14:19:11 +00:00
シュンジョーァ 35683ac154
Remove webauthn credentials on `tootctl accounts modify --disable-2fa` (#29883)
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
2024-11-22 10:04:48 +00:00
Matt Jankowski c0c34d35e2
Move self destruct check to `config_for` and add constant for verifier string (#32943) 2024-11-18 09:57:16 +00:00
Matt Jankowski 62d65504f6
Add `DomainResource` class to wrap MX lookup/normalize (#32864) 2024-11-14 13:47:29 +00:00
Matt Jankowski a6d829e86f
Fix error in CLI EmailDomainBlocks when supplying `--with-dns-records` (#32863) 2024-11-13 08:39:58 +00:00
Matt Jankowski bde0f1239a
Add `InetContainer` with scopes of `containing` and `contained` (#32802) 2024-11-08 10:08:36 +00:00
Matt Jankowski 697947116e
Add `EmailDomainBlock.parents` scope (#31968) 2024-11-07 13:46:20 +00:00
Matt Jankowski e0a44b8317
Use `shell.indent` for list output indentation in CLI area (#31969) 2024-11-07 10:34:13 +00:00
Matt Jankowski 68b545ef33
Add `Status.not_direct_visibility` scope (#32065) 2024-11-07 10:32:33 +00:00
Claire befb44a08c
Fix “uninitialized constant HttpLog” errors in tootctl (#32796) 2024-11-07 09:57:42 +00:00
Claire dfccd207bb
Refactor common checks in `tootctl media remove-orphans` (#32720) 2024-11-04 09:04:55 +00:00
Matt Jankowski b231c3c1bf
Drop support for ruby 3.1 (#32363) 2024-10-31 15:12:08 +00:00
Matt Jankowski 258dce1256
Add `OpenSSL::SSL::SSLError` to http connection errors wrapper (#32307) 2024-10-08 14:59:51 +00:00
Matt Jankowski e8ec6667bd
Extract wrapper constant for `HTTP::*` error classes (#32285) 2024-10-08 13:53:35 +00:00
Matt Jankowski 3cf2d35c49
Reference `IpBlock.severities` keys from CLI option check (#32291) 2024-10-08 13:23:30 +00:00
Matt Jankowski cf28104317
Rename preloaded models constant in cli media (#30531) 2024-10-04 08:30:08 +00:00
Matt Jankowski 52afa94f1c
Use `print_table` to wrap storage output CLI (#32230) 2024-10-03 12:13:54 +00:00
Matt Jankowski c4b09d684e
Extract method for account-referencing in CLI prune task (#31824) 2024-09-10 13:23:55 +00:00
Matt Jankowski be77a1098b
Extract `Account::AUTOMATED_ACTOR_TYPES` for "bot" actor_type values (#31772) 2024-09-06 07:49:38 +00:00
Matt Jankowski 2f0d0fc127
Add coverage for `CLI::Accounts#fix_duplications` task (#30639) 2024-09-03 15:36:59 +00:00
David Roetzel 388d5473e1
Refactor (ruby) redis configuration (#31694) 2024-09-02 14:19:55 +00:00
Matt Jankowski 85e8d1f285
Use rails configuration storage for paperclip path (#31651) 2024-08-30 09:46:09 +00:00
Matt Jankowski 37e4d96b70
Restore `verbose` option to media remove cli (#30536) 2024-06-07 12:39:53 +00:00
Matt Jankowski def6b686ff
Fix `Rails/WhereRange` cop (#30343) 2024-05-20 09:37:36 +00:00
Claire c2ca3d152f
Fix off-by-one in `tootctl media` commands (#30306) 2024-05-15 13:11:13 +00:00
Shlee 40d7a553d2
Minor phrasing on tootcli statuses remove (#30122) 2024-04-30 08:51:39 +00:00
Matt Jankowski 9ae2594726
Add reusable duplicate ID finder methods in maintenance CLI (#28910) 2024-04-17 09:00:08 +00:00
Matt Jankowski 4565015615
Fix `Style/MapIntoArray` cop in cli progress helper (#29884) 2024-04-10 12:46:43 +00:00
Claire d71d26a3c9
Reattribute notification-related records if possible when merging accounts (#29694) 2024-03-22 16:21:53 +00:00
Matt Jankowski 718ee72c80
Use `db_table_exists?` method in new cli/maintenance area (#29677) 2024-03-21 08:32:40 +00:00
Matt Jankowski cdd168f5d3
Update `enum` away from deprecated (#29678) 2024-03-21 08:32:35 +00:00
Claire 44bf7b8128
Add notifications of severed relationships (#27511) 2024-03-20 15:37:21 +00:00
Matt Jankowski 4f4132f1a1
Add diagnostic message for failure during CLI search deploy (#29462) 2024-03-15 14:26:23 +00:00
Matt Jankowski df6086d402
Extract file size sql calc from media storage cli (#29577) 2024-03-14 15:22:52 +00:00
Matt Jankowski 14aa7f1e15
Use `Account.activitypub` generated scope (#28157) 2024-03-14 13:19:20 +00:00
Matt Jankowski 19cbadfbd6
Use enum-generated scope for `IpBlock` in CLI (#28144) 2024-03-14 09:31:15 +00:00
Matt Jankowski adcd693b71
Use existing `MediaAttachment.remote` scope in media CLI (#28912) 2024-01-30 15:29:42 +00:00
Matt Jankowski 0e0a94f483
Handle CLI failure exit status at the top-level script (#28322) 2024-01-26 08:53:44 +00:00
Matt Jankowski 4cdf62e576
Extract `rebuild_index` method in maintenance CLI (#28911) 2024-01-25 15:26:51 +00:00
Matt Jankowski 274a48a9f4
Extract helper methods for db connection and table existence check in `CLI::Maintenance` task (#28281) 2024-01-25 13:49:33 +00:00
Matt Jankowski 7a1f087659
Add `created_before` and `updated_before` scopes to `MediaAttachment` (#28869) 2024-01-24 10:32:54 +00:00
Matt Jankowski d03fe2bdee
N+1 fixes for CLI maintenance command (#28847) 2024-01-23 09:31:59 +00:00
Matt Jankowski 2115bc52e4
Order by sql in `CLI::Maintenance` task (#28289) 2024-01-18 14:53:29 +00:00
Claire 98b5f85f10
Rename and refactor `User#confirm!` to `User#mark_email_as_confirmed!` (#28735) 2024-01-15 18:04:58 +00:00
Matt Jankowski 202951e6d9
Use Arel `in_order_of` method to generate CASE for `DomainBlock.by_severity` (#28617) 2024-01-08 11:15:36 +00:00
Matt Jankowski 1af5c37701
Use heredoc on federation CLI warning strings (#28578) 2024-01-04 09:21:27 +00:00
Matt Jankowski f92d8c654d
Standardize on Thor methods in CLI classes (#28566) 2024-01-03 15:08:08 +00:00