Beyond coding. We forge. (Code of Conduct: https://codeberg.org/forgejo/code-of-conduct)
Go to file
Vlad Temian e78786ef39 Writable deploy keys (closes #671) (#3225)
* Add is_writable checkbox to deploy keys interface

* Add writable key option to deploy key form

* Add support for writable ssh keys in the interface

* Rename IsWritable to ReadOnly

* Test: create read-only and read-write deploy keys via api

* Add DeployKey access mode migration

* Update gitea sdk via govendor

* Fix deploykey migration

* Add unittests for writable deploy keys

* Move template text to locale

* Remove implicit column update

* Remove duplicate locales

* Replace ReadOnly field with IsReadOnly method

* Fix deploy_keys related integration test

* Rename v54 migration with v55

* Fix migration hell
2018-01-07 00:55:53 +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 repo-sync-releases admin command (#3254) 2017-12-31 16:45:46 +02:00
contrib Drop unmaintained gogs migration script (#2947) 2017-11-21 08:52:48 +08:00
custom/conf Fixed link to Issue 165 in comment, that was broken by commit 2d68bd1ef9 (index 8110ac85..0f6163c4 100644). (#3267) 2017-12-29 22:19:38 -06:00
docker Enable content trust when building image (#2972) 2017-12-03 18:21:10 +08:00
docs Add defaults to config cheatsheet, and minor language cleanup. (#3290) 2018-01-06 22:15:14 +02:00
integrations Writable deploy keys (closes #671) (#3225) 2018-01-07 00:55:53 +02:00
models Writable deploy keys (closes #671) (#3225) 2018-01-07 00:55:53 +02:00
modules Writable deploy keys (closes #671) (#3225) 2018-01-07 00:55:53 +02:00
options Writable deploy keys (closes #671) (#3225) 2018-01-07 00:55:53 +02:00
public Add Pull Request merge options - Ignore white-space for conflict checking, Rebase, Squash merge (#3188) 2018-01-05 20:56:50 +02:00
routers Writable deploy keys (closes #671) (#3225) 2018-01-07 00:55:53 +02:00
scripts Make sure both scripts/ can live side by side (#1264) 2017-03-15 16:11:26 +01:00
templates Writable deploy keys (closes #671) (#3225) 2018-01-07 00:55:53 +02:00
vendor Writable deploy keys (closes #671) (#3225) 2018-01-07 00:55:53 +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 Move build without gcc step up so that it's binary is not used in docker (#3147) 2017-12-11 10:42:13 +01: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 refactor: ignore LGTM from author of pull request. (#3283) 2018-01-02 06:13:49 -06:00
CHANGELOG.md Backport changelog for 1.3 release (#3120) 2017-12-08 18:20:48 +01:00
CONTRIBUTING.md Update standard copyright header for new year (#3289) 2018-01-02 20:03:24 -06:00
DCO follow the advisor: add DCO and some improvements 2016-11-04 16:43:41 +08:00
Dockerfile Update alpine to 3.7 (#3121) 2017-12-10 10:50:50 +08:00
LICENSE Fix typo 2016-11-08 08:42:05 +01:00
main.go Update hard-coded version to 1.4.0-dev (#2988) 2017-11-27 10:12:45 +08:00
MAINTAINERS Add myself to MAINTAINERS (#3313) 2018-01-06 21:52:57 +02:00
Makefile Add more bench (#3161) 2017-12-24 02:33:34 +02:00
package.json Compress css with nodejs (#2580) 2017-09-24 22:47:10 +03:00
README.md Add build instruction in README, reorganize some sections (#3257) 2018-01-01 15:38:49 +02:00
README_ZH.md update screenshots on README (#2910) 2017-11-14 13:23:55 +02:00

简体中文

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.

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, Matrix room, or forum!

Authors

License

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