Beyond coding. We forge. https://forgejo.org
Find a file
Allen Wild c40f5d2d4c api: repos/search: add parameters to control the sort order (#3964)
The backend SearchRepositoryByName function supports several sort order
options, hook these up to the /repos/search API.

New parameters for /repos/search:
    'sort':  alpha, created, updated, size, or id
    'order': asc or desc

'sort' defaults to alpha.
'order' defaults to ascending, and is ignored if 'sort' is not specified.
The overall default behavior is unchanged (alphabetically ascending).

This partially implements issue #3963

Signed-off-by: Allen Wild <allenwild93@gmail.com>
2018-08-02 16:10:02 +08:00
.github Comment help text for issues (#2281) 2017-08-09 12:13:33 +08:00
assets Add task to generate images from SVG and change to new logo (#2194) 2017-07-28 13:51:20 +08:00
cmd Add config path as an optional flag when changing pass via CLI (#4184) 2018-06-09 18:35:14 -04:00
contrib Add a basic SMF manifest for SunOS platforms (#4238) 2018-06-25 00:24:00 +03:00
custom/conf Swagger.v1.json template (#3572) 2018-07-28 03:19:01 +03:00
docker Add missing path in the Docker app.ini template (#2181) 2018-07-03 20:44:46 -04:00
docs Add documentation on how to update Gitea to new version (#4500) 2018-07-30 11:35:05 -04:00
integrations Add ability to delete a token (#4235) 2018-07-06 21:54:30 -04:00
models Fix incorrect MergeWhitelistTeamIDs check in CanUserMerge function (#4519) (#4525) 2018-07-27 22:11:24 +03:00
modules Swagger.v1.json template (#3572) 2018-07-28 03:19:01 +03:00
options [skip ci] Updated translations via Crowdin 2018-07-30 06:05:23 +00:00
public fix status code label for a successful webhook (#4540) 2018-07-30 10:27:31 +03:00
routers api: repos/search: add parameters to control the sort order (#3964) 2018-08-02 16:10:02 +08:00
scripts Updating generate-licenses.go to fetch licenses from maintained repository. (#3484) 2018-02-12 20:20:30 +02:00
snap snap-packaging for gitea (#2568) 2018-05-09 22:52:51 +08:00
templates api: repos/search: add parameters to control the sort order (#3964) 2018-08-02 16:10:02 +08:00
vendor Update xorm to latest version and fix correct user table referencing in sql (#4473) 2018-07-20 10:10:17 +08:00
.changelog.yml Add changelog config file for generate changelog (#2461) 2017-09-04 13:07:57 +03:00
.drone.yml Use correct site id for netlify (#4427) 2018-07-11 23:45:03 +02:00
.editorconfig switch gitter to discord for drone. (#1971) 2017-06-15 10:47:42 +08:00
.gitattributes ignore static files statstics for linguist 2016-12-27 16:49:25 +01:00
.gitignore snap-packaging for gitea (#2568) 2018-05-09 22:52:51 +08:00
.lgtm refactor: ignore LGTM from author of pull request. (#3283) 2018-01-02 06:13:49 -06:00
BSDmakefile Add BSDmakefile to prevent errors when make is called under FreeBSD (#4446) 2018-07-16 20:45:51 +02:00
CHANGELOG.md Update changelog 2018-07-03 23:24:48 +03:00
CONTRIBUTING.md Add security advice to contrib guide (#4187) 2018-06-09 12:03:23 -04:00
DCO follow the advisor: add DCO and some improvements 2016-11-04 16:43:41 +08:00
Dockerfile Fix docker build (#4358) 2018-07-04 12:27:30 +03:00
Gopkg.lock Update xorm to latest version and fix correct user table referencing in sql (#4473) 2018-07-20 10:10:17 +08:00
Gopkg.toml Update xorm to latest version and fix correct user table referencing in sql (#4473) 2018-07-20 10:10:17 +08:00
LICENSE Fix typo 2016-11-08 08:42:05 +01:00
main.go Add csv file render support defaultly (#4105) 2018-07-21 00:08:15 +03:00
MAINTAINERS Add myself as a maintainer (#4345) 2018-07-01 09:02:18 +03:00
Makefile Swagger.v1.json template (#3572) 2018-07-28 03:19:01 +03:00
package-lock.json Update npm dependencies, regenerate CSS (#4415) 2018-07-11 10:54:28 -04:00
package.json Update npm dependencies, regenerate CSS (#4415) 2018-07-11 10:54:28 -04:00
README.md Added question for Gitea hosted Gitea (#4397) 2018-07-08 22:41:31 +02:00
README_ZH.md Fix release tag on README (#3945) 2018-05-10 23:38:57 +03:00

简体中文

Gitea - Git with a cup of tea

Build Status Join the Discord chat at https://discord.gg/NsatcWJ codecov Go Report Card GoDoc GitHub release Help Contribute to Open Source Become a backer/sponsor of gitea

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 since 2016.11 but changed a lot.

Building

From the root of the source tree, run:

make generate all

More info: https://docs.gitea.io/en-us/install-from-source/

Using

./gitea web

NOTE: If you're interested in using our APIs, we have experimental support with documentation.

Contributing

Expected workflow is: Fork -> Patch -> Push -> Pull Request

NOTES:

  1. YOU MUST READ THE CONTRIBUTORS GUIDE BEFORE STARTING TO WORK ON A PULL REQUEST.
  2. If you have found a vulnerability in the project, please write privately to security@gitea.io. Thanks!

Further information

For more information and instructions about how to install Gitea, please look at our documentation. If you have questions that are not covered by the documentation, you can get in contact with us on our Discord server, or forum!

Authors

Backers

Thank you to all our backers! 🙏 [Become a backer]

Sponsors

Support this project by becoming a sponsor. Your logo will show up here with a link to your website. [Become a sponsor]

FAQ

How do you pronounce Gitea?

Gitea is pronounced /ɡɪti:/ as in "gi-tea" with a hard g.

Why is this not hosted on a Gitea instance?

We're working on it.

License

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

Screenshots

Looking for an overview of the interface? Check it out!

Dashboard Repository Commits History
Branches Issues Pull Request View
Releases Activity Wiki
Diff Organization Profile