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.
SpaWn2KiLl 1f01f53c53 API add/generalize pagination (#9452)
* paginate results

* fixed deadlock

* prevented breaking change

* updated swagger

* go fmt

* fixed find topic

* go mod tidy

* go mod vendor with go1.13.5

* fixed repo find topics

* fixed unit test

* added Limit method to Engine struct; use engine variable when provided; fixed gitignore

* use ItemsPerPage for default pagesize; fix GetWatchers, getOrgUsersByOrgID and GetStargazers; fix GetAllCommits headers; reverted some changed behaviors

* set Page value on Home route

* improved memory allocations

* fixed response headers

* removed logfiles

* fixed import order

* import order

* improved swagger

* added function to get models.ListOptions from context

* removed pagesize diff on unit test

* fixed imports

* removed unnecessary struct field

* fixed go fmt

* scoped PR

* code improvements

* code improvements

* go mod tidy

* fixed import order

* fixed commit statuses session

* fixed files headers

* fixed headers; added pagination for notifications

* go mod tidy

* go fmt

* removed Private from user search options; added setting.UI.IssuePagingNum as default valeu on repo's issues list

* Apply suggestions from code review

Co-Authored-By: 6543 <6543@obermui.de>
Co-Authored-By: zeripath <art27@cantab.net>

* fixed build error

* CI.restart()

* fixed merge conflicts resolve

* fixed conflicts resolve

* improved FindTrackedTimesOptions.ToOptions() method

* added backwards compatibility on ListReleases request; fixed issue tracked time ToSession

* fixed build error; fixed swagger template

* fixed swagger template

* fixed ListReleases backwards compatibility

* added page to user search route

Co-authored-by: techknowlogick <matti@mdranta.net>
Co-authored-by: 6543 <6543@obermui.de>
Co-authored-by: zeripath <art27@cantab.net>
5 years ago
..
pipeline Add basic repository lfs management (#7199) 5 years ago
tests/repos Fix reading git notes from nested trees (#8026) 5 years ago
README.md move code.gitea.io/git to code.gitea.io/gitea/modules/git (#6364) 5 years ago
blame.go Graceful: Cancel Process on monitor pages & HammerTime (#9213) 5 years ago
blame_test.go Monitor all git commands; move blame to git package and replace git as a variable (#6864) 5 years ago
blob.go Expand/Collapse Files and Blob Excerpt while Reviewing/Comparing code (#8924) 5 years ago
blob_test.go Add Close() method to gogitRepository (#8901) 5 years ago
cache.go move code.gitea.io/git to code.gitea.io/gitea/modules/git (#6364) 5 years ago
command.go Add require signed commit for protected branch (#9708) 5 years ago
command_test.go Fix nondeterministic behavior (#9341) 5 years ago
commit.go API add/generalize pagination (#9452) 5 years ago
commit_archive.go Make archive prefixing configurable with a global setting (#9943) 5 years ago
commit_info.go Ensure default gpg settings not nil and found commits have reference to repo (#8604) 5 years ago
commit_info_test.go Add Close() method to gogitRepository (#8901) 5 years ago
commit_reader.go Add require signed commit for protected branch (#9708) 5 years ago
commit_test.go move code.gitea.io/git to code.gitea.io/gitea/modules/git (#6364) 5 years ago
error.go Improve listing performance by using go-git (#6478) 5 years ago
git.go Graceful: Xorm, RepoIndexer, Cron and Others (#9282) 5 years ago
git_test.go Graceful: Xorm, RepoIndexer, Cron and Others (#9282) 5 years ago
hook.go fix 500 when edit hook (#8782) 5 years ago
notes.go Fix reading git notes from nested trees (#8026) 5 years ago
notes_test.go Add Close() method to gogitRepository (#8901) 5 years ago
parse.go Removed unnecessary conversions (#7557) 5 years ago
parse_test.go Improve listing performance by using go-git (#6478) 5 years ago
ref.go move code.gitea.io/git to code.gitea.io/gitea/modules/git (#6364) 5 years ago
repo.go Variable expansion in repository templates (#9163) 5 years ago
repo_attribute.go Make repository management section handle lfs locks (#8726) 5 years ago
repo_blame.go Removed unnecessary conversions (#7557) 5 years ago
repo_blob.go Removed unnecessary conversions (#7557) 5 years ago
repo_blob_test.go Add Close() method to gogitRepository (#8901) 5 years ago
repo_branch.go Add Close() method to gogitRepository (#8901) 5 years ago
repo_branch_test.go Add Close() method to gogitRepository (#8901) 5 years ago
repo_commit.go API add/generalize pagination (#9452) 5 years ago
repo_commit_test.go Add Close() method to gogitRepository (#8901) 5 years ago
repo_commitgraph.go Use gitea forked macaron (#7933) 5 years ago
repo_compare.go Mark PR reviews as stale at push and allow to dismiss stale approvals (#9532) 5 years ago
repo_compare_test.go Remove SavePatch and generate patches on the fly (#9302) 5 years ago
repo_gpg.go Sign merges, CRUD, Wiki and Repository initialisation with gpg key (#7631) 5 years ago
repo_hook.go move code.gitea.io/git to code.gitea.io/gitea/modules/git (#6364) 5 years ago
repo_index.go Be more strict with git arguments (#7715) 5 years ago
repo_object.go Fixes #7292 - API File Contents bug (#7301) 5 years ago
repo_ref.go Removed unnecessary conversions (#7557) 5 years ago
repo_ref_test.go Add Close() method to gogitRepository (#8901) 5 years ago
repo_stats.go Add top author stats to activity page (#9615) 5 years ago
repo_stats_test.go Add top author stats to activity page (#9615) 5 years ago
repo_tag.go Strict name matching for Repository.GetTagID() (#8074) 5 years ago
repo_tag_test.go Add Close() method to gogitRepository (#8901) 5 years ago
repo_test.go Add Close() method to gogitRepository (#8901) 5 years ago
repo_tree.go Sign merges, CRUD, Wiki and Repository initialisation with gpg key (#7631) 5 years ago
sha1.go Improve listing performance by using go-git (#6478) 5 years ago
signature.go Improve listing performance by using go-git (#6478) 5 years ago
submodule.go Refactor submodule URL parsing (#7100) 5 years ago
submodule_test.go Refactor submodule URL parsing (#7100) 5 years ago
tag.go Fixes #2738 - Adds the /git/tags API endpoint (#7138) 5 years ago
tree.go Removed unnecessary conversions (#7557) 5 years ago
tree_blob.go Removed unnecessary conversions (#7557) 5 years ago
tree_entry.go Include "executable" files in the index, as they are not necessarily binary (#7718) 5 years ago
tree_entry_test.go Add Close() method to gogitRepository (#8901) 5 years ago
utils.go Move mirror sync actions to notification (#9022) 5 years ago

README.md

Git Module

This module is merged from https://github.com/go-gitea/git which is a Go module to access Git through shell commands. Now it's a part of gitea's main repository for easier pull request.