GoToSocial/internal/processing/account
tobi ab2d063fcb
[feature] Process outgoing Move from clientAPI (#2750)
* prevent moved accounts from taking create-type actions

* update move logic

* federate move out

* indicate on web profile when an account has moved

* [docs] Add migration docs section

* lock while checking + setting move state

* use redirectFollowers func for clientAPI as well

* comment typo

* linter? i barely know 'er!

* Update internal/uris/uri.go

Co-authored-by: Daenney <daenney@users.noreply.github.com>

* add a couple tests for move

* fix little mistake exposed by tests (thanks tests)

* ensure Move marked as successful

* attach shared util funcs to struct

* lock whole account when doing move

* move moving check to after error check

* replace repeated text with error func

* linterrrrrr!!!!

* catch self follow case

---------

Co-authored-by: Daenney <daenney@users.noreply.github.com>
2024-03-13 13:53:29 +01:00
..
account_test.go [feature] Add experimental instance-federation-spam-filter option (#2685) 2024-02-27 12:22:05 +00:00
account.go [feature] Add experimental instance-federation-spam-filter option (#2685) 2024-02-27 12:22:05 +00:00
alias_test.go [bugfix] Prevent URL + URI for same account being used as alias target (#2545) 2024-01-20 12:45:43 +01:00
alias.go [bugfix] Prevent URL + URI for same account being used as alias target (#2545) 2024-01-20 12:45:43 +01:00
block.go stop paged endpoints returning null for empty items (#2597) 2024-02-01 12:45:02 +00:00
bookmarks.go [bugfix] Fix paging for empty items (#2236) 2023-09-29 15:31:10 +02:00
create.go [bugfix] Use custom bluemonday policy to disallow inline img tags (#2100) 2023-08-11 14:40:11 +02:00
delete_test.go [feature] Account alias / move API + db models (#2518) 2024-01-16 16:22:44 +00:00
delete.go [feature] Account alias / move API + db models (#2518) 2024-01-16 16:22:44 +00:00
follow_request.go [feature] add paging to account follows, followers and follow requests endpoints (#2186) 2023-09-12 14:00:35 +01:00
follow_test.go [chore] Use generic pointer function (#2080) 2023-08-07 18:38:11 +01:00
follow.go [feature] add paging to account follows, followers and follow requests endpoints (#2186) 2023-09-12 14:00:35 +01:00
get.go [chore] deinterface the typeutils.Converter and update to use state structure (#2217) 2023-09-23 18:44:11 +02:00
lists.go [chore] deinterface the typeutils.Converter and update to use state structure (#2217) 2023-09-23 18:44:11 +02:00
move_test.go [feature] Process outgoing Move from clientAPI (#2750) 2024-03-13 13:53:29 +01:00
move.go [feature] Process outgoing Move from clientAPI (#2750) 2024-03-13 13:53:29 +01:00
note.go [feature] Support setting private notes on accounts (#1982) 2023-07-27 10:30:39 +02:00
relationships.go [chore] deinterface the typeutils.Converter and update to use state structure (#2217) 2023-09-23 18:44:11 +02:00
rss_test.go [chore] Refactor HTML templates and CSS (#2480) 2023-12-27 11:23:52 +01:00
rss.go [chore] deinterface the typeutils.Converter and update to use state structure (#2217) 2023-09-23 18:44:11 +02:00
statuses.go [feature] Set/show instance language(s); show post language on frontend (#2362) 2023-11-17 11:35:28 +01:00
update_test.go [bugfix] Fix duplicating fields on profile edit (#1788) 2023-05-15 12:52:40 +02:00
update.go [feature] Media attachment placeholders (#2331) 2023-11-10 19:29:26 +01:00