forgejo/models
Gusted 7d2a7b8559 feat: add validating user password as trace region (#7981)
- Password hashing can take a measurable amount of time, make this more visible in the trace by capturing the computations done in the password hash in their own region.
- Ref: forgejo/forgejo#6470

## Screenshot

![image](/attachments/9834b094-a78f-4ac2-847e-91f221a84833)

The upper part are where the tasks are shown (and nothing else). The bottom part is where the interesting execution tracing happens and the part where the user password hashing happens is now properly indicated/highlighted and does not need to be inferred by looking at the stack traces.

Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/7981
Reviewed-by: Earl Warren <earl-warren@noreply.codeberg.org>
Co-authored-by: Gusted <postmaster@gusted.xyz>
Co-committed-by: Gusted <postmaster@gusted.xyz>
2025-05-28 14:46:23 +02:00
..
actions fix: Add error reporting to PRs with invalid workflows (#7930) 2025-05-22 16:48:48 +02:00
activities fix: include activity needed for entire heatmap (#7893) 2025-05-21 05:25:39 +02:00
admin chore: branding import path (#7337) 2025-03-27 19:40:14 +00:00
asymkey Show if commit is signed in activity feed and unify sha box (#6933) 2025-05-03 10:54:52 +00:00
auth feat: consider WebAuthn & SSH for instance signing (#7693) 2025-04-29 10:34:07 +00:00
avatars chore: branding import path (#7337) 2025-03-27 19:40:14 +00:00
db fix various typos (#7690) 2025-04-28 06:46:29 +00:00
dbfs Update module github.com/golangci/golangci-lint/cmd/golangci-lint to v2 (forgejo) (#7367) 2025-03-28 22:22:21 +00:00
fixtures fix(ui): ensure same width of usercards in grid (#6799) 2025-05-25 13:31:53 +02:00
forgefed add port and schema to federation host (#7203) 2025-04-16 08:07:51 +00:00
forgejo/semver Update module github.com/golangci/golangci-lint/cmd/golangci-lint to v2 (forgejo) (#7367) 2025-03-28 22:22:21 +00:00
forgejo_migrations add port and schema to federation host (#7203) 2025-04-16 08:07:51 +00:00
git chore: merge tests.AddFixtures and unittest.OverrideFixtures (#7648) 2025-04-25 09:14:33 +00:00
issues feat!: Abusive content reporting (#6977) 2025-05-18 08:05:16 +00:00
migrations feat: improved performances when checking for conflicts on pull requests (#7727) 2025-05-16 12:40:38 +00:00
moderation feat!: Abusive content reporting (#6977) 2025-05-18 08:05:16 +00:00
organization chore: merge tests.AddFixtures and unittest.OverrideFixtures (#7648) 2025-04-25 09:14:33 +00:00
packages [gitea] week 2025-16 cherry pick (gitea/main -> forgejo) (#7602) 2025-05-02 18:35:33 +00:00
perm Update module github.com/golangci/golangci-lint/cmd/golangci-lint to v2 (forgejo) (#7367) 2025-03-28 22:22:21 +00:00
project Update module github.com/golangci/golangci-lint/cmd/golangci-lint to v2 (forgejo) (#7367) 2025-03-28 22:22:21 +00:00
pull chore: branding import path (#7337) 2025-03-27 19:40:14 +00:00
quota chore: branding import path (#7337) 2025-03-27 19:40:14 +00:00
repo chore: QoL improvements to tests (#7917) 2025-05-21 15:45:56 +02:00
secret chore: branding import path (#7337) 2025-03-27 19:40:14 +00:00
shared/types chore: branding import path (#7337) 2025-03-27 19:40:14 +00:00
system Update module github.com/golangci/golangci-lint/cmd/golangci-lint to v2 (forgejo) (#7367) 2025-03-28 22:22:21 +00:00
unit chore: branding import path (#7337) 2025-03-27 19:40:14 +00:00
unittest chore: replace github.com/go-testfixtures/testfixtures (#7715) 2025-04-29 19:28:56 +00:00
user feat: add validating user password as trace region (#7981) 2025-05-28 14:46:23 +02:00
webhook fix webhook url (#34186) 2025-04-14 16:10:20 +02:00
error.go chore: branding import path (#7337) 2025-03-27 19:40:14 +00:00
main_test.go chore: branding import path (#7337) 2025-03-27 19:40:14 +00:00
org.go chore: branding import path (#7337) 2025-03-27 19:40:14 +00:00
org_team.go chore: branding import path (#7337) 2025-03-27 19:40:14 +00:00
org_team_test.go Update module github.com/golangci/golangci-lint/cmd/golangci-lint to v2 (forgejo) (#7367) 2025-03-28 22:22:21 +00:00
org_test.go Update module github.com/golangci/golangci-lint/cmd/golangci-lint to v2 (forgejo) (#7367) 2025-03-28 22:22:21 +00:00
repo.go chore: branding import path (#7337) 2025-03-27 19:40:14 +00:00
repo_test.go Update module github.com/golangci/golangci-lint/cmd/golangci-lint to v2 (forgejo) (#7367) 2025-03-28 22:22:21 +00:00
repo_transfer.go chore: branding import path (#7337) 2025-03-27 19:40:14 +00:00
repo_transfer_test.go Update module github.com/golangci/golangci-lint/cmd/golangci-lint to v2 (forgejo) (#7367) 2025-03-28 22:22:21 +00:00