forgejo/models/fixtures
Lunny Xiao 745b45406d
Fix context cache bug & enable context cache for dashabord commits' authors(#26991) (#27017)
backport #26991

Unfortunately, when a system setting hasn't been stored in the database,
it cannot be cached.
Meanwhile, this PR also uses context cache for push email avatar display
which should avoid to read user table via email address again and again.

According to my local test, this should reduce dashboard elapsed time
from 150ms -> 80ms .

(cherry picked from commit 9df573bddc)
2023-09-20 12:50:46 +02:00
..
access.yml
access_token.yml Implement actions artifacts (#22738) 2023-05-19 21:37:57 +08:00
action.yml Revert "[GITEA] Use join for the deleting issue actions query" 2023-08-21 07:22:17 +02:00
action_run.yml Implement actions artifacts (#22738) 2023-05-19 21:37:57 +08:00
action_run_job.yml Implement actions artifacts (#22738) 2023-05-19 21:37:57 +08:00
action_task.yml Implement actions artifacts (#22738) 2023-05-19 21:37:57 +08:00
attachment.yml
collaboration.yml
comment.yml Revert "[GITEA] Use join for the deleting issue actions query" 2023-08-21 07:22:17 +02:00
commit_status.yml
commit_status_index.yml
deleted_branch.yml
deploy_key.yml
email_address.yml Fix verifyCommits error when push a new branch (#26664) (#26810) 2023-09-08 08:09:18 +02:00
external_login_user.yml
follow.yml
forgejo_blocked_user.yml [MODERATION] user blocking 2023-07-17 00:26:42 +02:00
gpg_key.yml Fix verifyCommits error when push a new branch (#26664) (#26810) 2023-09-08 08:09:18 +02:00
gpg_key_import.yml
hook_task.yml
issue.yml Revert "[GITEA] Use join for the deleting issue actions query" 2023-08-21 07:22:17 +02:00
issue_assignees.yml
issue_index.yml
issue_label.yml
issue_user.yml
issue_watch.yml
label.yml
lfs_meta_object.yml
login_source.yml
milestone.yml
mirror.yml Fix bug of branches API with tests(#25578) (#25579) 2023-07-03 16:17:30 +02:00
notice.yml
notification.yml
oauth2_application.yml
oauth2_authorization_code.yml
oauth2_grant.yml
org_user.yml Revert package access change from #23879 (#25707) (#25785) 2023-07-09 21:00:42 +00:00
project.yml Fix incorrect oldest sort in project list (#25806) (#25835) 2023-07-12 13:22:17 +08:00
project_board.yml
project_issue.yml
protected_branch.yml
public_key.yml
pull_request.yml
reaction.yml
release.yml
renamed_branch.yml
repo_archiver.yml
repo_indexer_status.yml
repo_redirect.yml
repo_topic.yml
repo_transfer.yml
repo_unit.yml
repository.yml [MODERATION] organization blocking a user (#802) 2023-07-17 00:26:42 +02:00
review.yml
star.yml
stopwatch.yml
system_setting.yml Fix context cache bug & enable context cache for dashabord commits' authors(#26991) (#27017) 2023-09-20 12:50:46 +02:00
team.yml Revert package access change from #23879 (#25707) (#25785) 2023-07-09 21:00:42 +00:00
team_repo.yml
team_unit.yml Fix access check for org-level project (#26182) (#26223) 2023-07-30 07:46:19 +02:00
team_user.yml Revert package access change from #23879 (#25707) (#25785) 2023-07-09 21:00:42 +00:00
topic.yml
tracked_time.yml
two_factor.yml
user.yml Fix verifyCommits error when push a new branch (#26664) (#26810) 2023-09-08 08:09:18 +02:00
user_open_id.yml
user_redirect.yml
watch.yml [MODERATION] organization blocking a user (#802) 2023-07-17 00:26:42 +02:00
webauthn_credential.yml
webhook.yml