forgejo/modules/structs
Adam Majer d68a613ba8
Add support for sha256 repositories ()
Currently only SHA1 repositories are supported by Gitea. This adds
support for alternate SHA256 with the additional aim of easier support
for additional hash types in the future.

Fixes: 
Limited by: https://github.com/go-git/go-git/issues/899
Depend on: 

<img width="776" alt="图片" src="https://github.com/go-gitea/gitea/assets/81045/5448c9a7-608e-4341-a149-5dd0069c9447">

---------

Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-authored-by: 6543 <6543@obermui.de>
2024-01-19 17:05:02 +01:00
..
activity.go Add activity feeds API () 2023-04-04 21:35:31 +08:00
activitypub.go
admin_user.go chore(api): support ignore password if login source type is LDAP for creating user API () 2023-12-19 02:32:45 +00:00
attachment.go
commit_status.go Restore warning commit status () 2023-10-08 22:16:06 +00:00
commit_status_test.go refactor improve NoBetterThan () 2023-07-26 08:52:07 +00:00
cron.go
doc.go
fork.go
git_blob.go
git_hook.go
hook.go Add branch_filter to hooks API endpoints () 2023-08-21 11:43:52 +00:00
issue.go Replace interface{} with any () 2023-07-04 18:36:08 +00:00
issue_comment.go
issue_label.go Allow to archive labels () 2023-08-14 11:56:14 +02:00
issue_milestone.go
issue_reaction.go
issue_stopwatch.go
issue_test.go
issue_tracked_time.go
lfs_lock.go
mirror.go Fix push mirror, wrong timestamp format () 2023-09-23 12:15:05 +00:00
miscellaneous.go Add API for gitignore templates () 2023-04-27 11:51:20 +08:00
nodeinfo.go
notifications.go
org.go Allow Organisations to have a E-Mail () 2023-07-25 08:26:27 +00:00
org_member.go
org_team.go Doc update swagger doc for POST /orgs/{org}/teams () 2023-07-26 10:22:56 +00:00
package.go Fix package webhook () 2023-10-31 04:43:38 +00:00
pull.go Add the ability to pin Issues () 2023-05-25 15:17:19 +02:00
pull_review.go
release.go add Upload URL to release API () 2023-08-24 10:36:10 +00:00
repo.go Add support for sha256 repositories () 2024-01-19 17:05:02 +01:00
repo_branch.go Add branch protection setting for ignoring stale approvals () 2024-01-15 07:20:01 +00:00
repo_collaborator.go
repo_commit.go Add file status for API "Get a single commit from a repository" () () 2023-07-20 16:35:47 +08:00
repo_file.go Refactor "Content" for file uploading () 2023-07-18 18:14:47 +00:00
repo_key.go
repo_note.go
repo_refs.go
repo_tag.go
repo_topic.go
repo_tree.go
repo_watch.go Replace interface{} with any () 2023-07-04 18:36:08 +00:00
repo_wiki.go
secret.go refactor(API): refactor secret creation and update functionality () 2023-08-28 13:08:19 +08:00
settings.go
status.go
task.go Make repo migration cancelable and fix various bugs () 2023-05-11 08:25:46 +00:00
user.go Add API for changing Avatars () 2023-06-29 23:22:55 +00:00
user_app.go Add scopes to API to create token and display them () 2023-02-20 15:28:44 -06:00
user_email.go add admin API email endpoints () 2023-03-14 03:54:40 -04:00
user_gpgkey.go
user_key.go
visible_type.go