WIP: task-581 #4

Draft
realaravinth wants to merge 6 commits from task-581 into forgejo
Owner
  1. Queries webfinger, if the given query is webfinger-able
  2. Retrieves associated Actor object and saves it in DB (federating host and user, with mapping according to jerger's #3 design in their ADR)
  3. Show result in tab (there's something going on here, doesn't show up immediately after saving. Have to figure out if Go requires DB transactions to commit or something. Shows up when searching/reloading though)
1. Queries webfinger, if the given query is webfinger-able 2. Retrieves associated Actor object and saves it in DB (federating host and user, with mapping according to [jerger's #3 design in their ADR](https://codeberg.org/meissa/forgejo/src/commit/b4bb41e0e3ebe05337d003a8b034be8312ab4a98/docs/unsure-where-to-put/adr-map-federated-person.md#3-map-to-user--federateduser)) 3. Show result in tab (there's something going on here, doesn't show up immediately after saving. Have to figure out if Go requires DB transactions to commit or something. Shows up when searching/reloading though)
realaravinth added 6 commits 2024-03-25 18:44:54 +05:30
realaravinth changed title from task-581 to WIP: task-581 2024-03-28 15:05:12 +05:30
This pull request has changes conflicting with the target branch.
  • models/forgejo_migrations/migrate.go
  • models/forgejo_migrations/v1_22/v7.go
  • models/forgejo_migrations/v1_22/v8.go
  • routers/web/webfinger.go
  • tests/integration/webfinger_test.go
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin task-581:task-581
git checkout task-581

Merge

Merge the changes and update on Forgejo.
git checkout forgejo
git merge --no-ff task-581
git checkout forgejo
git merge --ff-only task-581
git checkout task-581
git rebase forgejo
git checkout forgejo
git merge --no-ff task-581
git checkout forgejo
git merge --squash task-581
git checkout forgejo
git merge --ff-only task-581
git checkout forgejo
git merge task-581
git push origin forgejo
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: realaravinth/forgejo-federation#4
No description provided.