Commit Graph
34 Commits
Author SHA1 Message Date
Claire 2e486d29b5 Change new local accounts to use the Keypair model instead of legacy attributes (#39684) 2026-07-03 08:40:58 +00:00
Claire 22600a4091 Fix SecureRandom.hex test stub not returning hexadecimal (#39683) 2026-07-01 14:02:40 +00:00
Claire 7fc19f81aa Change code to use first usable keypairs record for local user for signing, if it exists (#39662) 2026-07-01 12:49:42 +00:00
Emelia Smith 24dcb18013 Merge commit from fork
* Ensure tootctl revokes sessions, access tokens and web push subscriptions

* Fix test coverage
2025-10-13 14:20:23 +02:00
Claire b0ce1ce49d Fix tootctl admin create not bypassing reserved username checks (#35779) 2025-08-14 13:35:19 +00:00
Matt Jankowski f9beecb343 Improve Accounts CLI prune spec (#35302) 2025-07-10 07:23:09 +00:00
Claire 4e2aa78a56 Fix tootctl accounts create failing because of date-of-birth check (#34663) 2025-05-12 09:28:12 +00:00
Matt Jankowski f1003b2560 Enable "zero monkey patching" mode in RSpec (#31614) 2024-09-04 05:12:25 +00:00
Matt Jankowski 2f0d0fc127 Add coverage for CLI::Accounts#fix_duplications task (#30639) 2024-09-03 15:36:59 +00:00
Matt Jankowski 5fbdb2055b Combine repeated subject in cli/accounts spec shared example (#28942) 2024-01-26 16:35:19 +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 9a475ea8b3 Finish up the CLI spec area pattern adoption for CLI::Accounts#refresh specs (#28764) 2024-01-17 13:38:37 +00:00
Matt Jankowski 8a3d8c6c14 Remove the stub_stdout wrapper around CLI specs (#28340) 2023-12-13 10:14:19 +00:00
Matt Jankowski b5a1013ae3 Combine CLI::... spec example subjects (#28285) 2023-12-11 10:23:45 +00:00
Matt Jankowski ad34d33bfd Formalize some patterns in cli specs (#28255) 2023-12-07 13:49:14 +00:00
Matt Jankowski 7753e5f715 Add shared example for CLI command specs (#28165) 2023-12-01 12:00:34 +00:00
Claire c260a68f54 Clean up some Mastodon::CLI::Accounts tests (#27473) 2023-11-20 10:46:02 +00:00
Matt Jankowski 1fabf20a88 Reduce .times usage in lib/mastodon/cli/accounts spec (#27944) 2023-11-20 09:04:46 +00:00
Daniel M Brasil 7bc8f03162 Add test coverage for Mastodon::CLI::Accounts#migrate (#25284) 2023-10-19 16:11:15 +02:00
Daniel M Brasil 091a21e1bc Add test coverage for Mastodon::CLI::Accounts#prune (#25204) 2023-10-18 10:20:50 +02:00
Claire b34a2b1b33 Fix errors in CLI specs (#27399) 2023-10-17 15:30:12 +02:00
Daniel M Brasil eb6f8181e1 Add test coverage for Mastodon::CLI::Accounts#reset_relationships (#25194) 2023-06-06 13:37:09 +02:00
Daniel M Brasil 70cd2d6000 Add test coverage for Mastodon::CLI::Accounts#cull (#25250) 2023-06-05 14:51:25 +02:00
Daniel M Brasil 03a707f6a6 Add test coverage for Mastodon::CLI::Accounts#merge (#25199) 2023-06-05 08:16:12 +02:00
Daniel M Brasil 2a353200ad Add test coverage for Mastodon::CLI::Accounts#rotate (#25212) 2023-06-01 14:29:29 +02:00
Daniel M Brasil f906e21a4f Add test coverage for Mastodon::CLI::Accounts#refresh (#25196) 2023-06-01 10:01:09 +02:00
Daniel M Brasil 3c41547f49 Add test coverage for Mastodon::CLI::Accounts#backup (#25163) 2023-05-31 15:32:37 +02:00
Daniel M Brasil bf9a7ce8e8 Add test coverage for Mastodon::CLI::Accounts#unfollow (#25162) 2023-05-31 09:33:57 +02:00
Daniel M Brasil dbc44be0ca Add test coverage for Mastodon::CLI::Accounts#follow (#25161) 2023-05-30 16:13:29 +02:00
Daniel M Brasil 3d253b9830 Add test coverage for Mastodon::CLI::Accounts#approve (#25160) 2023-05-30 15:00:21 +02:00
Daniel M Brasil bbbcdc083f Add test coverage for Mastodon::CLI::Accounts#delete (#25146) 2023-05-30 11:59:17 +02:00
Daniel M Brasil bdc7548652 Add test coverage for Mastodon::CLI::Accounts#modify (#25145) 2023-05-29 15:31:59 +02:00
Daniel M Brasil 11b8336418 Add test coverage for Mastodon::CLI::Accounts#create (#25143) 2023-05-29 11:43:19 +02:00
Matt Jankowski 384345b0de Add CLI Base class for command line code (#25106) 2023-05-24 11:55:40 +02:00