You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gitea/models
zeripath d9c18cbba0
Ensure Subkeys are verified (#12155) (#12168)
Backport #12155

When attempting to verify subkeys the email address verification step
requires checking the emails however, these emails are not stored on
subkeys but instead on the primary key.

This PR will obtain the primaryKey and check against these emails too.

Fix #12128

Signed-off-by: Andrew Thornton <art27@cantab.net>

Co-authored-by: techknowlogick <techknowlogick@gitea.io>

Co-authored-by: techknowlogick <techknowlogick@gitea.io>
5 years ago
..
fixtures API: Add pull review endpoints (#11224) 5 years ago
migrations Change language statistics to save size instead of percentage (#11681) (#11690) 5 years ago
access.go Upgrade xorm to v1.0.0 (#10646) 5 years ago
access_test.go Fix "access" fixtures and tests (#10247) 5 years ago
action.go Fix potential bugs (#10513) 5 years ago
action_list.go
action_test.go Add gitea-vet (#10948) 5 years ago
admin.go Refactor Cron and merge dashboard tasks (#10745) 5 years ago
admin_test.go
attachment.go Use google/uuid to instead satori/go.uuid (#11943) (#11946) 5 years ago
attachment_test.go Reading pull attachments should depend on read UnitTypePullRequests (#10346) 5 years ago
avatar.go make avatar lookup occur at image request (#10540) 5 years ago
branches.go Use ID or Where to instead directly use Get when load object from database (#11925) (#11934) 5 years ago
branches_test.go
commit_status.go API add/generalize pagination (#9452) 5 years ago
commit_status_test.go
consistency.go Add doctor check to set IsArchived false if it is null (partial backport #11853) (#11859) 5 years ago
context.go
convert.go
error.go Refactor Cron and merge dashboard tasks (#10745) 5 years ago
error_oauth2.go
external_login_user.go
fixture_generation.go Move fixture generation to contrib and add test (#10277) 5 years ago
fixture_test.go Move fixture generation to contrib and add test (#10277) 5 years ago
gpg_key.go Ensure Subkeys are verified (#12155) (#12168) 5 years ago
gpg_key_test.go
helper.go
helper_directory.go
helper_environment.go Move PushUpdateAddDeleteTags to repository module from models (#10106) 5 years ago
issue.go Increase maximum SQLite variables count to 32766 (#11696) (#11783) 5 years ago
issue_assignees.go Remove Unused Functions (#10516) 5 years ago
issue_assignees_test.go
issue_comment.go Fix commenting on non-utf8 encoded files (#11916) (#11950) 5 years ago
issue_comment_list.go
issue_comment_test.go
issue_dependency.go
issue_dependency_test.go
issue_label.go Use ID or Where to instead directly use Get when load object from database (#11925) (#11934) 5 years ago
issue_label_test.go BugFix: updateLabel can updated not allowed fields #11242 (#11242) 5 years ago
issue_list.go [BugFix] ReviewCount: GetApprovalCounts func sorted wrong (#11086) 5 years ago
issue_list_test.go Add Organization Wide Labels (#10814) 5 years ago
issue_lock.go
issue_milestone.go Refactor Milestone related (#11225) 5 years ago
issue_milestone_test.go Refactor Milestone related (#11225) 5 years ago
issue_reaction.go API add/generalize pagination (#9452) 5 years ago
issue_reaction_test.go
issue_stopwatch.go API add/generalize pagination (#9452) 5 years ago
issue_stopwatch_test.go Add gitea-vet (#10948) 5 years ago
issue_test.go issue search on my related repositories (#9758) 5 years ago
issue_tracked_time.go Fix tracked time issues (#11349) 5 years ago
issue_tracked_time_test.go
issue_user.go
issue_user_test.go
issue_watch.go Add issue subscription check to API (#10967) 5 years ago
issue_watch_test.go API add/generalize pagination (#9452) 5 years ago
issue_xref.go
issue_xref_test.go
lfs.go Add gitea-vet (#10948) 5 years ago
lfs_lock.go
list_options.go Use DEFAULT_PAGING_NUM instead of MAX_RESPONSE_ITEMS in ListOptions (#11831) (#11836) 5 years ago
log.go Upgrade xorm to v1.0.0 (#10646) 5 years ago
login_source.go Use ID or Where to instead directly use Get when load object from database (#11925) (#11934) 5 years ago
main_test.go Add gitea-vet (#10948) 5 years ago
migrate.go [BugFix] remove nil inserts in models (#11096) 5 years ago
models.go Doctor check & fix db consistency (#11111) (#11676) 5 years ago
models_test.go
notification.go Add EventSource support (#11235) 5 years ago
notification_test.go add request review from specific reviewers feature in pull request (#10756) 5 years ago
oauth2.go Changed image of openid-connect logo for better look on arc-green theme (#11312) 5 years ago
oauth2_application.go Use google/uuid to instead satori/go.uuid (#11943) (#11946) 5 years ago
oauth2_application_test.go
org.go Prevent multiple listings of organization when creating a repository (#11303) 5 years ago
org_team.go Automatically remove Watches, Assignments, etc if user loses access due to being removed as collaborator or from a team (#10997) 5 years ago
org_team_test.go API add/generalize pagination (#9452) 5 years ago
org_test.go Ensure DeleteUser is not allowed to Delete Orgs and visa versa (#10134) 5 years ago
pull.go Cache PullRequest Divergence (#10914) 5 years ago
pull_list.go API add/generalize pagination (#9452) 5 years ago
pull_sign.go Display pull request head branch even the branch deleted or repository deleted (#10413) 5 years ago
pull_test.go Display pull request head branch even the branch deleted or repository deleted (#10413) 5 years ago
release.go Add single release page and latest redirect (#11102) 5 years ago
repo.go Rework api/user/repos for pagination (#11827) (#11877) 5 years ago
repo_activity.go
repo_branch.go
repo_collaboration.go Automatically remove Watches, Assignments, etc if user loses access due to being removed as collaborator or from a team (#10997) 5 years ago
repo_collaboration_test.go API add/generalize pagination (#9452) 5 years ago
repo_generate.go API add/generalize pagination (#9452) 5 years ago
repo_generate_test.go
repo_indexer.go Index code and stats only for non-empty repositories (#10251) 5 years ago
repo_issue.go
repo_language_stats.go Change language statistics to save size instead of percentage (#11681) (#11690) 5 years ago
repo_list.go Fix repo-list private and total count bugs (#11500) (#11532) 5 years ago
repo_list_test.go API add/generalize pagination (#9452) 5 years ago
repo_mirror.go
repo_permission.go Automatically remove Watches, Assignments, etc if user loses access due to being removed as collaborator or from a team (#10997) 5 years ago
repo_permission_test.go
repo_redirect.go
repo_redirect_test.go
repo_sign.go Sign: Handle ErrTwoFactorNotEnrolled correctly (#10008) 5 years ago
repo_test.go
repo_unit.go Upgrade xorm to v1.0.0 (#10646) 5 years ago
repo_watch.go Code Refactor of IssueWatch related things (#10401) 5 years ago
repo_watch_test.go API add/generalize pagination (#9452) 5 years ago
review.go API: Add pull review endpoints (#11224) 5 years ago
review_test.go API: Add pull review endpoints (#11224) 5 years ago
ssh_key.go Mulitple Gitea Doctor improvements (#10943) 5 years ago
ssh_key_test.go
star.go API add/generalize pagination (#9452) 5 years ago
star_test.go API add/generalize pagination (#9452) 5 years ago
task.go
test_fixtures.go Upgrade xorm to v1.0.0 (#10646) 5 years ago
token.go Use google/uuid to instead satori/go.uuid (#11943) (#11946) 5 years ago
token_test.go Reject duplicate AccessToken names (#10994) 5 years ago
topic.go Update topics repo count when deleting repository (#10051) 5 years ago
topic_test.go API add/generalize pagination (#9452) 5 years ago
twofactor.go Use ID or Where to instead directly use Get when load object from database (#11925) (#11934) 5 years ago
u2f.go
u2f_test.go Add gitea-vet (#10948) 5 years ago
unit.go
unit_tests.go Upgrade xorm to v1.0.0 (#10646) 5 years ago
update.go Remove Unused Functions (#10516) 5 years ago
upload.go Use google/uuid to instead satori/go.uuid (#11943) (#11946) 5 years ago
user.go Add serviceworker.js to KnownPublicEntries (#11992) (#11994) 5 years ago
user_follow.go
user_follow_test.go Add gitea-vet (#10948) 5 years ago
user_heatmap.go
user_heatmap_test.go
user_mail.go Use ID or Where to instead directly use Get when load object from database (#11925) (#11934) 5 years ago
user_mail_test.go Admin page for managing user e-mail activation (#10557) 5 years ago
user_openid.go Use ID or Where to instead directly use Get when load object from database (#11925) (#11934) 5 years ago
user_openid_test.go
user_test.go Ensure DeleteUser is not allowed to Delete Orgs and visa versa (#10134) 5 years ago
userlist.go API add/generalize pagination (#9452) 5 years ago
userlist_test.go
webhook.go Use google/uuid to instead satori/go.uuid (#11943) (#11946) 5 years ago
webhook_test.go Granular webhook events (#9626) 5 years ago
wiki.go
wiki_test.go