mirror of
1
Fork 0
gotosocial/web/template
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
..
404.tmpl [chore] Refactor HTML templates and CSS (#2480) 2023-12-27 11:23:52 +01:00
about.tmpl [feature] Add "what is this" section to index template (#2680) 2024-02-23 15:08:32 +00:00
authorize.tmpl [chore] Refactor HTML templates and CSS (#2480) 2023-12-27 11:23:52 +01:00
confirmed.tmpl [chore] Refactor HTML templates and CSS (#2480) 2023-12-27 11:23:52 +01:00
domain-blocklist.tmpl [chore] Refactor HTML templates and CSS (#2480) 2023-12-27 11:23:52 +01:00
email_confirm.tmpl [feature] Email notifications for new / closed moderation reports (#1628) 2023-03-19 13:11:46 +01:00
email_new_report.tmpl [feature] Email notifications for new / closed moderation reports (#1628) 2023-03-19 13:11:46 +01:00
email_report_closed.tmpl [feature] Email notifications for new / closed moderation reports (#1628) 2023-03-19 13:11:46 +01:00
email_reset.tmpl [feature] Email notifications for new / closed moderation reports (#1628) 2023-03-19 13:11:46 +01:00
email_test.tmpl [feature] Email notifications for new / closed moderation reports (#1628) 2023-03-19 13:11:46 +01:00
error.tmpl [chore] Refactor HTML templates and CSS (#2480) 2023-12-27 11:23:52 +01:00
finalize.tmpl [chore] Refactor HTML templates and CSS (#2480) 2023-12-27 11:23:52 +01:00
index.tmpl [feature] Add "what is this" section to index template (#2680) 2024-02-23 15:08:32 +00:00
index_apps.tmpl [docs] Update Feditext URL (#2568) 2024-01-25 15:29:57 +01:00
index_what_is_this.tmpl [feature] Add "what is this" section to index template (#2680) 2024-02-23 15:08:32 +00:00
oob.tmpl [chore] Refactor HTML templates and CSS (#2480) 2023-12-27 11:23:52 +01:00
page.tmpl [chore] Refactor HTML templates and CSS (#2480) 2023-12-27 11:23:52 +01:00
page_footer.tmpl [chore] Refactor HTML templates and CSS (#2480) 2023-12-27 11:23:52 +01:00
page_header.tmpl [bugfix] Fix wide images being squished when used as instance avatar (#2669) 2024-02-21 14:24:04 +01:00
page_ogmeta.tmpl [chore] Refactor HTML templates and CSS (#2480) 2023-12-27 11:23:52 +01:00
page_stylesheets.tmpl [chore] Refactor HTML templates and CSS (#2480) 2023-12-27 11:23:52 +01:00
profile.tmpl [feature] Process outgoing Move from clientAPI (#2750) 2024-03-13 13:53:29 +01:00
profile_fields.tmpl [chore] Refactor HTML templates and CSS (#2480) 2023-12-27 11:23:52 +01:00
settings.tmpl [chore] Rename frontend.tmpl to settings.tmpl, remove unused "lightgray" class (#2674) 2024-02-21 16:11:11 +01:00
sign-in.tmpl [chore] Refactor HTML templates and CSS (#2480) 2023-12-27 11:23:52 +01:00
status.tmpl [chore] Refactor HTML templates and CSS (#2480) 2023-12-27 11:23:52 +01:00
status_attachments.tmpl [chore] Refactor HTML templates and CSS (#2480) 2023-12-27 11:23:52 +01:00
status_attributes.tmpl [chore] Refactor HTML templates and CSS (#2480) 2023-12-27 11:23:52 +01:00
status_header.tmpl [chore] Refactor HTML templates and CSS (#2480) 2023-12-27 11:23:52 +01:00
status_info.tmpl [chore] Refactor HTML templates and CSS (#2480) 2023-12-27 11:23:52 +01:00
status_poll.tmpl [chore] Refactor HTML templates and CSS (#2480) 2023-12-27 11:23:52 +01:00
tag.tmpl [chore] Refactor HTML templates and CSS (#2480) 2023-12-27 11:23:52 +01:00
thread.tmpl [chore] Refactor HTML templates and CSS (#2480) 2023-12-27 11:23:52 +01:00