Commit Graph
143 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 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
David Roetzel db304735bf Temporary tweak to account background refresh (#39062) 2026-05-18 10:04:28 +00:00
David Roetzel 8bbde181db Use the same condition for stale refresh (#39026) 2026-05-13 14:57:25 +00:00
Claire 6b1e1899fd Change discoverable accounts to only allow followers to feature them if they are locked (#38672) 2026-04-15 15:05:58 +00:00
David Roetzel 62479b7b0a Remove collections_federation feature flag (#38508) 2026-04-01 08:55:41 +00:00
Matt Jankowski b399dc3191 Add coverage for "fields" feature of Account (#38369) 2026-03-25 10:23:45 +00:00
Matt Jankowski c37bc5a8a9 Update model-concern-related spec locations for consistency (#38200) 2026-03-17 09:50:32 +00:00
David Roetzel 51b81b3ce9 Allow remote accounts in Collections (#37989) 2026-02-26 13:31:23 +00:00
Matt Jankowski f861a5cee0 Add action_logs association for account (#36022) 2026-01-28 11:04:00 +00:00
Matt Jankowski 29ec2cd186 Add targeted_account_notes association to simplify usage (#35540) 2026-01-23 16:35:19 +00:00
Matt Jankowski 7b9479239a Typo fix in federation document (#37564) 2026-01-22 13:59:36 +00:00
David Roetzel adf8a3601d Add service to add item to a collection (#37192) 2025-12-10 16:59:21 +00:00
Matt Jankowski 0efb889a9c Extract constant for attribution domains limit in account (#35350) 2025-07-15 13:08:24 +00:00
Matt Jankowski bdffdcb12f Remove unused scopes in Account model (#35276) 2025-07-07 08:07:01 +00:00
Matt Jankowski 0d7f1584bc Move remaining _map method specs from account to mappings spec (#35142) 2025-06-24 07:40:24 +00:00
Matt Jankowski 6463415e06 Update rubocop-rspec to version 3.6.0 (#34497) 2025-04-24 14:56:13 +00:00
Christian Schmidt a3baae0b99 API for updating attribution domains (#32730) 2025-01-17 08:18:55 +00:00
Matt Jankowski 68c9f91ccb Treat non-null but blank account domain as local (#33576) 2025-01-14 17:40:55 +00:00
Matt Jankowski f98972e4eb Use with_options for Account if: :local? validation group (#33529) 2025-01-10 09:00:31 +00:00
Matt Jankowski 9b8d1fb6d1 Add Account#actor_type_application? query method (#33525) 2025-01-09 14:32:48 +00:00
Matt Jankowski ce1501c3a7 Add "Account::Search" shared example for use in Account spec (#33507) 2025-01-09 08:12:48 +00:00
Matt Jankowski f22a2aab40 Add Account#remote? query method (#33508) 2025-01-08 14:28:08 +00:00
Matt Jankowski efcd4ea5de Reference value constants from specs (#33479) 2025-01-06 23:25:13 +00:00
zunda f16fbc069a Use configured limit for number of profile fields (#33463) 2025-01-06 04:47:10 +00:00
Tim Rogers 3bdfa3eb4c Added validator for extra profile field values with empty name (#33421) 2025-01-04 19:42:27 +00:00
Matt Jankowski d033920b7e Move account silence-related methods to concern (#28866) 2024-11-11 08:29:55 +00:00
Matt Jankowski 2e3bbb6861 Move account suspension related coverage to concern spec (#32432) 2024-10-25 07:58:41 +00:00
Matt Jankowski dea6c454fd Contribute more coverage for Account model (#32474) 2024-10-24 12:47:06 +00:00
Matt Jankowski 2f906ed55a Constants for account refresh (#32420) 2024-10-23 13:29:01 +00:00
David Roetzel c1b2c4fd9a Strip protocol from attribution domains (#31900) 2024-09-13 11:37:15 +00:00
Claire ba81e4e019 Fix inability to locally suspend remotely-suspended accounts in moderation interface (#31899) 2024-09-13 09:11:10 +00:00
Eugen Rochko e0c27a5047 Add ability to manage which websites can credit you in link previews (#31819) 2024-09-10 12:00:40 +00:00
Matt Jankowski ba9fd1c32e Add coverage for Account#prepare_contents callback (#31748) 2024-09-05 09:48:33 +00:00
Matt Jankowski 14af5b47ac Add coverage for model normalizations (#31734) 2024-09-04 05:12:40 +00:00
Matt Jankowski 7c26e5e4a1 Add Reviewable model concern (#31152) 2024-09-03 15:37:45 +00:00
Matt Jankowski 67faaf5557 Simplify account model username presence validation spec (#31013) 2024-09-03 15:30:57 +00:00
Adam Niedzielski 337a7fcf30 Fix ß bug in regexp for mentions and tags (#31122) 2024-07-25 14:24:19 +00:00
Matt Jankowski 6e4305de69 Fix spec descriptions around configurable limit values (#31079) 2024-07-22 08:02:31 +00:00
kyori19 3a00f89aa1 Respect Account::DISPLAY_NAME_LENGTH_LIMIT in account spec correctly (#31075) 2024-07-19 15:31:48 +00:00
Matt Jankowski 91ef4a6fc5 Add assertion about key columns to account key generate spec (#30635) 2024-07-15 10:42:18 +00:00
Matt Jankowski 92b3004bf3 Reference constants from account validation specs (#30634) 2024-06-10 15:03:41 +00:00
Matt Jankowski 6262ceeb70 Fix RSpec/DescribedClass cop (#29472) 2024-03-13 15:42:39 +00:00
Matt JankowskiandClaire c09b8a7164 Add Account.without_internal scope (#29559)
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
2024-03-13 14:11:23 +00:00
Matt Jankowski 245064bb98 Move "everyone" role and "instance actor" account magic number IDs to constants (#29260) 2024-02-19 11:09:43 +00:00
Matt Jankowski 95da28d201 Add common ThreadingHelper module for specs (#29116) 2024-02-07 14:53:29 +00:00
Matt Jankowski 18004bf227 Add Account.matches_uri_prefix scope and use in activitypub/followers_synchronizations controller (#28820) 2024-01-22 13:55:37 +00:00
Matt Jankowski 1480573c83 Add Account.auditable scope, fix N+1 in admin/action_logs#index (#28812) 2024-01-19 01:39:30 +00:00
Matt Jankowski 07e10e3747 Combine assertions about same setup in Account#suspend! spec (#28787) 2024-01-18 09:36:59 +00:00
Matt Jankowski cd37048439 Move followable_by coverage to suggestions (#28697) 2024-01-12 09:11:34 +00:00