forgejo/services
Gergely Nagy ade7304eea
migrations: Map non-existant external users to Ghost
When performing migrations, and need to remap external users to local
ones, when no local mapping is possible, map the external user to Ghost,
rather than the user who initiated the migration.

Mapping the external user to the migration initiator has the potential
of breaking assumptions elsewhere, like only having one review per pull
request per user. Mapping these migrated, locally unavailable users to
Ghost makes sure these - often hidden - assumptions do not break.

Fixes #3860.

Signed-off-by: Gergely Nagy <forgejo@gergo.csillger.hu>
2024-05-28 12:40:11 +02:00
..
actions fix: hook post-receive for sha256 repos 2024-05-15 16:43:16 +02:00
agit
asymkey Add codespell support and fix a good number of typos with its help (#3270) 2024-05-09 13:49:37 +00:00
attachment
auth
automerge Fix misspelling of mergable (#30896) 2024-05-12 20:03:10 +02:00
context Add codespell support and fix a good number of typos with its help (#3270) 2024-05-09 13:49:37 +00:00
contexttest Move database operations of merging a pull request to post receive hook and add a transaction (#30805) 2024-05-12 20:03:10 +02:00
convert Add codespell support and fix a good number of typos with its help (#3270) 2024-05-09 13:49:37 +00:00
cron
doctor Add codespell support and fix a good number of typos with its help (#3270) 2024-05-09 13:49:37 +00:00
externalaccount
federation federated-star: finalize receive activity (#3871) 2024-05-24 00:25:57 +00:00
feed
forgejo
forms
gitdiff
indexer Update issue indexer after merging a PR (#30715) 2024-05-12 20:03:10 +02:00
issue Add codespell support and fix a good number of typos with its help (#3270) 2024-05-09 13:49:37 +00:00
lfs
mailer Merge pull request 'tests(services/mailer): add tooling and coverage for issues/default.tmpl' (#3816) from earl-warren/forgejo:wip-test-mail into forgejo 2024-05-21 21:46:58 +00:00
markup
migrations migrations: Map non-existant external users to Ghost 2024-05-28 12:40:11 +02:00
mirror
notify
org
packages
pull Move database operations of merging a pull request to post receive hook and add a transaction (#30805) 2024-05-12 20:03:10 +02:00
release
remote Add codespell support and fix a good number of typos with its help (#3270) 2024-05-09 13:49:37 +00:00
repository mysql: use inner join for hook_task deletion 2024-05-24 10:31:41 +02:00
secrets
task
uinotification
user Fix bug on avatar (#31008) 2024-05-19 13:57:52 +02:00
webhook chore: fix typos identified by mispell 2024-05-25 09:43:50 +02:00
wiki feat: wiki search using git-grep 2024-05-20 13:48:50 +00:00