Go to file
Antoine GIRARD d99f4ab003 Git LFS lock api (#2938)
* Implement routes

* move to api/sdk and create model

* Implement add + list

* List return 200 empty list no 404

* Add verify lfs lock api

* Add delete and start implementing auth control

* Revert to code.gitea.io/sdk/gitea vendor

* Apply needed check for all lfs locks route

* Add simple tests

* fix lint

* Improve tests

* Add delete test + fix

* Add lfs ascii header

* Various fixes from review + remove useless code + add more corner case testing

* Remove repo link since only id is needed.

Save a little of memory and cpu time.

* Improve tests

* Use TEXT column format for path + test

* fix mispell

* Use NewRequestWithJSON for POST tests

* Clean path

* Improve DB format

* Revert uniquess repoid+path

* (Re)-setup uniqueness + max path length

* Fixed TEXT in place of VARCHAR

* Settle back to maximum VARCHAR(3072)

* Let place for repoid in key

* Let place for repoid in key

* Let place for repoid in key

* Revert back
2017-11-28 22:58:37 +02: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 external markup render support (#2570) 2017-11-07 08:33:06 +02:00
contrib Drop unmaintained gogs migration script (#2947) 2017-11-21 08:52:48 +08:00
custom/conf Fix fault PR renaming app.ini (#2977) 2017-11-26 18:02:38 +02:00
docker Docker multi-arch base (#1985) 2017-11-16 15:16:40 +02:00
docs Dockerfile for docs copy proper files into image (#2989) 2017-11-27 14:08:25 +02:00
integrations Git LFS lock api (#2938) 2017-11-28 22:58:37 +02:00
models Git LFS lock api (#2938) 2017-11-28 22:58:37 +02:00
modules Git LFS lock api (#2938) 2017-11-28 22:58:37 +02:00
options [skip ci] Updated translations via Crowdin 2017-11-28 09:44:21 +00:00
public Add fingerprint to ssh key endpoints. (#3009) 2017-11-28 17:21:39 +02:00
routers Git LFS lock api (#2938) 2017-11-28 22:58:37 +02:00
scripts Make sure both scripts/ can live side by side (#1264) 2017-03-15 16:11:26 +01:00
templates Various wiki bug fixes (#2996) 2017-11-28 17:43:51 +08:00
vendor Add fingerprint to ssh key endpoints. (#3009) 2017-11-28 17:21:39 +02:00
.changelog.yml Add changelog config file for generate changelog (#2461) 2017-09-04 13:07:57 +03:00
.dockerignore Bug fixed for .dockerignore (#329) 2016-12-01 23:05:28 +08:00
.drone.yml Import docs into main repository (#2874) 2017-11-26 23:44:32 +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 Use standard lessc and minify CSS using Node.js (#2337) 2017-09-21 11:35:11 +08:00
.lgtm
CHANGELOG.md Backport 1.2.x changelog to master (#2904) 2017-11-15 01:39:17 +02:00
CONTRIBUTING.md [ci skip] Fix #2964 Document updated proposal process (#2999) 2017-11-27 09:14:34 +02:00
DCO
Dockerfile Docker multi-arch base (#1985) 2017-11-16 15:16:40 +02:00
LICENSE Fix typo 2016-11-08 08:42:05 +01:00
MAINTAINERS [ci skip] Add @techknowlogick to MAINTAINERS file (#2993) 2017-11-27 11:38:49 +08:00
Makefile Fix coverage reports (#2974) 2017-11-26 20:07:40 +02:00
README.md update screenshots on README (#2910) 2017-11-14 13:23:55 +02:00
README_ZH.md update screenshots on README (#2910) 2017-11-14 13:23:55 +02:00
main.go Update hard-coded version to 1.4.0-dev (#2988) 2017-11-27 10:12:45 +08:00
package.json Compress css with nodejs (#2580) 2017-09-24 22:47:10 +03:00

README.md

简体中文

Gitea - Git with a cup of tea

Build Status Join the Discord chat at https://discord.gg/NsatcWJ Join the Matrix chat at https://matrix.to/#/#gitea:matrix.org codecov Go Report Card GoDoc Release

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

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.

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!
  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 have questions that are not covered by the documentation, you can get in contact with us on our Discord server, Matrix room, or 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.