Git with a cup of tea, painless self-hosted git service
Go to file
iszla 3f9016430f Pagination on releases page (#2035)
* Added count to GetReleasesByRepoID so pagination will work

* Separated it out to a new function, can then also leave the API part unaffected

* Remove extra whitespace added in untouched function

* Added comment and corrected name in error handler

* Account for if the user is owner or not in the count

* Also check if repo is draft

* revert back to the correct count in the ReleasesToDisplay loop

* Fixed lint error regarding else with return statement

* Use Cond struct instead of string, corrected name in error handler

* Removed unused return variable names
2017-06-28 22:47:00 +08:00
.github Add link to forum in issue template (#2070) 2017-06-28 09:33:37 +08:00
cmd
conf Setting to disable authorized_keys backup (#1856) 2017-06-28 09:35:35 +08:00
contrib
docker
integrations
models Pagination on releases page (#2035) 2017-06-28 22:47:00 +08:00
modules Make time diff translatable (#2057) 2017-06-28 13:43:28 +08:00
options Make time diff translatable (#2057) 2017-06-28 13:43:28 +08:00
public Fix #1271: Call location.reload after XHR finishes (#2071) 2017-06-28 16:55:28 +08:00
routers Pagination on releases page (#2035) 2017-06-28 22:47:00 +08:00
scripts
templates Fix org hooks UI (#2072) 2017-06-28 16:53:50 +08:00
vendor Update git module (#2074) 2017-06-28 22:43:58 +08:00
.dockerignore
.drone.yml
.drone.yml.sig
.editorconfig
.gitattributes
.gitignore
.lgtm
CHANGELOG.md
CONTRIBUTING.md
DCO
Dockerfile
Dockerfile.aarch64
Dockerfile.rpi
LICENSE
main.go
MAINTAINERS
Makefile
README_ZH.md
README.md

简体中文

Gitea - Git with a cup of tea

Build Status Join the chat at https://img.shields.io/discord/322538954119184384.svg Coverage Status Go Report Card GoDoc Release

Dashboard Repository Commits History
Profile Admin Dashboard Diff
Issues Releases Organization

Purpose

The goal of this project is to make the easiest, fastest, and most painless way of setting up a self-hosted Git service. Using Go, this can be done with an independent binary distribution across all platforms which Go supports, including Linux, macOS, and Windows on x86, amd64, ARM and PowerPC architectures. Want to try it before doing anything else? Do it with the online demo! This project has been forked from Gogs.

Notes

  1. YOU MUST READ THE CONTRIBUTORS GUIDE BEFORE STARTING TO WORK ON A PULL REQUEST.
  2. If you found a vulnerability in the project, please write privately to security@gitea.io. Thanks!
  3. If you're interested in using our APIs, we have experimental support with documentation.

Docs

For more information and instructions about how to install Gitea please look at our documentation. If you cannot find some specific information, then head over to our Discord server to chat with us or use the forum.

Contributing

Fork -> Patch -> Push -> Pull Request

Authors

License

This project is licensed under the MIT License. See the LICENSE file for the full license text.