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 00533d3870 Keys API changes (#4960)
* Add private information to the deploy keys api

This commit adds more information to the deploy keys to allow for back
reference in to the main keys list. It also adds information about the
repository that the key is referring to.

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

* Add private information to the user keys API

This adjusts the keys API to give out private information to user keys if
the current user is the owner or an admin.

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

* Add ability to search keys by fingerprint

This commit adds the functionality to search ssh-keys by fingerprint of
the ssh-key. Deploy keys per repository can also be searched. There is
no current clear API point to allow search of all deploy keys by
fingerprint or keyID.

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

* Add integration test
7 years ago
..
fixtures User action heatmap (#5131) 7 years ago
migrations refactor: err != nil check, just return error instead (#5093) 7 years ago
access.go Refactor and fix incorrect comment (#1247) 8 years ago
access_test.go hide issues from org private repos w/o team assignment (#4034) 7 years ago
action.go Fix bug when repo remained bare if multiple branches pushed (#4923) 7 years ago
action_list.go refactor: reduce sql query in retrieveFeeds (#3547) 7 years ago
action_test.go fix: Add feed for organization (#3594) 7 years ago
admin.go Refactor struct's time to remove unnecessary memory usage (#3142) 7 years ago
admin_test.go Fix tests code to prevent some runtime errors (#2381) 8 years ago
attachment.go Add Size column to attachment (#3734) 7 years ago
attachment_test.go Add Attachment API (#3478) 7 years ago
branches.go Push whitelist now doesn't apply to branch deletion (#4601) (#4607) 7 years ago
branches_test.go Add deleted_branch table fixture (#2832) 8 years ago
consistency.go Fix activity feed (#1779) 8 years ago
error.go Pull request review/approval and comment on code (#3748) 7 years ago
error_oauth2.go gofmt (#1662) 8 years ago
external_login_user.go Add primary key and index to external login user table (#1656) 8 years ago
git_diff.go Fix regex to support optional end line of old section in diff hunk (#5096) 7 years ago
git_diff_test.go Pull request review/approval and comment on code (#3748) 7 years ago
gpg_key.go Fix null pointer dereference in ParseCommitWithSignature (#4962) 7 years ago
gpg_key_test.go Refactor struct's time to remove unnecessary memory usage (#3142) 7 years ago
graph.go Make max commits in graph configurable (#4498) 7 years ago
graph_test.go Accept 'Data:' in commit graph (#4487) 7 years ago
helper.go Add reactions to issues/PR and comments (#2856) 7 years ago
issue.go fix sqlite lock (#5184) 7 years ago
issue_assignees.go Fix failure on creating pull request with assignees (#4419) (#4583) 7 years ago
issue_assignees_test.go Multiple assignees (#3705) 7 years ago
issue_comment.go Hide outdated comments in file view (#5017) 7 years ago
issue_comment_test.go Pull request review/approval and comment on code (#3748) 7 years ago
issue_dependency.go fix sqlite lock (#5184) 7 years ago
issue_dependency_test.go Added dependencies for issues (#2196) (#2531) 7 years ago
issue_indexer.go Reduce repo indexer disk usage (#3452) 7 years ago
issue_label.go Remove check for negative length (#5120) 7 years ago
issue_label_test.go Fix tests code to prevent some runtime errors (#2381) 8 years ago
issue_list.go fix bugs when too many IN variables (#4594) 7 years ago
issue_list_test.go Shows total tracked time in issue and milestone list (#3341) 7 years ago
issue_mail.go Don't disclose emails of all users when sending out emails (#4664) 7 years ago
issue_milestone.go make sure milestone listing is consistent across board (#4987) 7 years ago
issue_milestone_test.go Add more webhooks support and refactor webhook templates directory (#3929) 7 years ago
issue_reaction.go Refactor struct's time to remove unnecessary memory usage (#3142) 7 years ago
issue_reaction_test.go Tests for reactions (#3083) 7 years ago
issue_stopwatch.go Shows total tracked time in issue and milestone list (#3341) 7 years ago
issue_stopwatch_test.go Refactor struct's time to remove unnecessary memory usage (#3142) 7 years ago
issue_test.go Shows total tracked time in issue and milestone list (#3341) 7 years ago
issue_tracked_time.go Shows total tracked time in issue and milestone list (#3341) 7 years ago
issue_tracked_time_test.go Feature: Timetracking (#2211) 8 years ago
issue_user.go Fix some webhooks bugs (#3981) 7 years ago
issue_user_test.go Multiple assignees (#3705) 7 years ago
issue_watch.go Update xorm to latest version and fix correct `user` table referencing in sql (#4473) 7 years ago
issue_watch_test.go Hide unactive on explore users and some refactors (#2741) 8 years ago
lfs.go Refactor struct's time to remove unnecessary memory usage (#3142) 7 years ago
lfs_lock.go Fix SSH auth lfs locks (#3152) 7 years ago
login_source.go Refactor struct's time to remove unnecessary memory usage (#3142) 7 years ago
mail.go Issue content should not be updated when closing with comment (#2833) 8 years ago
main_test.go Unit tests for wiki routers (#3022) 7 years ago
models.go MySQL TLS (#4642) 7 years ago
models_sqlite.go go vet 11 years ago
models_test.go Change parsing of postgresql settings (#4275) 7 years ago
notification.go Fix sqlite lock (#5176) 7 years ago
notification_test.go Add 'mark all read' option to notifications (#3097) 7 years ago
oauth2.go Store OAuth2 session data in database (#3660) 7 years ago
org.go fix sqlite and mssql lock (#5214) 7 years ago
org_team.go Fix sqlite lock (#5176) 7 years ago
org_team_test.go Fix ignored errors when checking if organization, team member (#3177) 7 years ago
org_test.go hide issues from org private repos w/o team assignment (#4034) 7 years ago
pull.go Disable merging a WIP Pull request (#4529) 7 years ago
pull_test.go Disable merging a WIP Pull request (#4529) 7 years ago
release.go fix release creation via API (#5076) 7 years ago
release_test.go fix release creation via API (#5076) 7 years ago
repo.go fix data race on migrate repository (#5224) 7 years ago
repo_activity.go Add issue closed time column to fix activity closed issues list (#3537) 7 years ago
repo_branch.go Create new branch from branch selection dropdown (#2130) 8 years ago
repo_collaboration.go Fix not removed watches on unallowed repositories (#4201) 7 years ago
repo_collaboration_test.go Unit tests for models/repo_collaboration (#1032) 8 years ago
repo_editor.go Code/repo search (#2582) 8 years ago
repo_indexer.go Update code.gitea.io/git (#3482) 7 years ago
repo_issue.go Add EnableTimetracking option to app settings (#3719) 7 years ago
repo_list.go This commit will reduce join star, repo_topic, topic tables on repo search, so that fix extra columns problem on mssql (#5136) 7 years ago
repo_list_test.go This commit will reduce join star, repo_topic, topic tables on repo search, so that fix extra columns problem on mssql (#5136) 7 years ago
repo_mirror.go Add push webhook support for mirrored repositories (#4127) 7 years ago
repo_redirect.go Redirects for renamed repos (#807) 8 years ago
repo_redirect_test.go Unit tests for repo redirects (#961) 8 years ago
repo_test.go Fix repo-transfer-and-team-repo-count bug (#3241) 7 years ago
repo_unit.go Added dependencies for issues (#2196) (#2531) 7 years ago
repo_watch.go Update xorm to latest version and fix correct `user` table referencing in sql (#4473) 7 years ago
repo_watch_test.go Hide unactive on explore users and some refactors (#2741) 8 years ago
review.go Make switch more clear (#5119) 7 years ago
review_test.go Pull request review/approval and comment on code (#3748) 7 years ago
ssh_key.go Keys API changes (#4960) 7 years ago
ssh_key_test.go Use assert in legacy unit tests (#867) 8 years ago
star.go refactor: small optimize for sql query (#940) 8 years ago
star_test.go Fix tests code to prevent some runtime errors (#2381) 8 years ago
status.go Fix race on updatesize (#5190) 7 years ago
status_test.go Fix tests code to prevent some runtime errors (#2381) 8 years ago
test_fixtures.go Increase the retry limit to 20 times and the interval to 200ms (#5134) 7 years ago
token.go Refactor struct's time to remove unnecessary memory usage (#3142) 7 years ago
token_test.go Fix tests code to prevent some runtime errors (#2381) 8 years ago
topic.go Fixed violation of the unique constraint for v68 migration (#4297) 7 years ago
topic_test.go feat(repo): support search repository by topic name (#4505) 7 years ago
twofactor.go Switch plaintext scratch tokens to use hash instead (#4331) 7 years ago
u2f.go Add support for FIDO U2F (#3971) 7 years ago
u2f_test.go Add support for FIDO U2F (#3971) 7 years ago
unit.go Fix implementation of repo Home func (#2601) 8 years ago
unit_tests.go User action heatmap (#5131) 7 years ago
update.go env var GITEA_PUSHER_EMAIL (#4516) 7 years ago
update_test.go Fix tests code to prevent some runtime errors (#2381) 8 years ago
user.go Fix issue where ecdsa and other key types are not synced from LDAP (#5092) (#5094) 7 years ago
user_follow.go Refactor session close as xorm already does everything needed internally (#2020) 8 years ago
user_follow_test.go Move user_follow to separate file (#1210) 8 years ago
user_heatmap.go fix compatibility heatmap with mysql 8 (#5232) 7 years ago
user_heatmap_test.go Fix JSON result of empty array (#5154) 7 years ago
user_mail.go Replace deprecated Id method with ID (#2655) 8 years ago
user_mail_test.go Fix tests code to prevent some runtime errors (#2381) 8 years ago
user_openid.go Fix SQL quoting (#5117) 7 years ago
user_openid_test.go Fix tests code to prevent some runtime errors (#2381) 8 years ago
user_test.go feat(repo): support search repository by topic name (#4505) 7 years ago
webhook.go fix webhook bug of response info is not displayed in UI (#4000) 7 years ago
webhook_dingtalk.go Fix some webhooks bugs (#3981) 7 years ago
webhook_discord.go fix url in discord webhook (#4953) 7 years ago
webhook_slack.go Fix some webhooks bugs (#3981) 7 years ago
webhook_test.go Add more webhooks support and refactor webhook templates directory (#3929) 7 years ago
wiki.go Fix deadlock when sqlite (#5118) 7 years ago
wiki_test.go test: reduce testing time. (#3885) 7 years ago