Commit graph

104 commits

Author SHA1 Message Date
Justin R. Cutler 2d8a89563d Correct port range for cap_net_bind_service () 2019-12-09 14:20:09 -05:00
David Svantesson 9cb418e623 Redirect issue if repo has configured external tracker. ()
* Redirect issue if repo has configured external tracker.

* Handle error

* Add tests for redirect

* Fix test consistency
2019-12-06 23:21:18 -05:00
guillep2k 6a90c7e3dd Alternate syntax for cross references ()
* Add support for local vs. remote xrefs

* Add doc for references

* Docs: fix cases not currently supported

* One more doc fix

* Doc: mentions for teams and orgs

* Change !num ref concept, no change in functionality

* Fix test

* Improve table of issue reference types

* Fix paragraph mark
2019-12-01 15:57:05 +02:00
Florian Hübner 0e281384b5 Fix typo in doc ()
Fix typo in doc fail2ban-setup.md
2019-11-10 20:33:28 -05:00
John Olheiser fb459f2c2c Add password reset to FAQ ()
* Add password reset to FAQ

Signed-off-by: jolheiser <john.olheiser@gmail.com>

* Add links to email setup docs

Signed-off-by: jolheiser <john.olheiser@gmail.com>

* Add en-us to email setup

Signed-off-by: jolheiser <john.olheiser@gmail.com>

* Update docs/content/doc/help/faq.en-us.md

Co-Authored-By: guillep2k <18600385+guillep2k@users.noreply.github.com>

* Manually merge changes from @guillep2k and add small changes

Signed-off-by: jolheiser <john.olheiser@gmail.com>
2019-11-08 14:44:18 -05:00
John Olheiser 36b8c081f6 Add migrate command to docs ()
* Add migrate command to docs

Signed-off-by: jolheiser <john.olheiser@gmail.com>

* Link to CLI

Signed-off-by: jolheiser <john.olheiser@gmail.com>

* Clarify idempotence

Signed-off-by: jolheiser <john.olheiser@gmail.com>

* Sneak in convert command

Signed-off-by: jolheiser <john.olheiser@gmail.com>
2019-11-05 13:54:54 -05:00
Nathaniel Sabanski c2fca23b2c Docs: Added instructions for Docker fail2ban configuration. () 2019-10-23 15:07:32 +01:00
Jakob Ackermann 00629fea95 [assets] configurable URL for static resources ()
* static url

* add cors support for static resources

* [assets] work on the migration to configurable url for assets

Signed-off-by: Jakob Ackermann <das7pad@outlook.com>

* [misc] fix whitespace

Signed-off-by: Jakob Ackermann <das7pad@outlook.com>

* [assets] fix the loading of the manifest.json

It is generated dynamically, and as such can not be served by the cdn.

Signed-off-by: Jakob Ackermann <das7pad@outlook.com>

* Revert "add cors support for static resources"

This reverts commit 42f964fd181dbb8b139808b9be623470d4f0e40f

Signed-off-by: Jakob Ackermann <das7pad@outlook.com>

* [docs] add the STATIC_URL_PREFIX option

Signed-off-by: Jakob Ackermann <das7pad@outlook.com>

* [docs] reverse-proxy: nginx: add two setups for STATIC_URL_PREFIX

Signed-off-by: Jakob Ackermann <das7pad@outlook.com>

* [assets] migrate the url of a new asset to the static url prefix

REF: f2a3abc683
Signed-off-by: Jakob Ackermann <das7pad@outlook.com>
2019-10-22 20:11:01 +08:00
8ctopus 8f0e63c80a Doc added how to setup email () 2019-10-16 12:34:20 +01:00
8ctopus 628f9da0de Doc recommend to use reverse proxy if Apache/nginx is also running on… ()
* Doc recommend to use reverse proxy if Apache/nginx is also running on server

* Update docs/content/doc/usage/https-support.md

Co-Authored-By: John Olheiser <42128690+jolheiser@users.noreply.github.com>
2019-10-10 00:11:25 +01:00
8ctopus 93e2ce699b Doc added instructions for Git LFS support () 2019-10-06 12:38:09 +08:00
8ctopus 6ea77523bb Cleanup https support code snippet () 2019-10-04 08:54:05 +08:00
W Anders 8b54b58bc5 Include git-hook regeneration in restore documentation ()
* Added admin cmd ref to backup-restore guide

* Clarified reason for command execution

* Include directive for where command should be executed from

Co-Authored-By: guillep2k <18600385+guillep2k@users.noreply.github.com>

* Be direct in consequences

Co-Authored-By: guillep2k <18600385+guillep2k@users.noreply.github.com>
2019-09-15 10:37:09 +08:00
mrsdizzie 700cd346fa Fix regression in reverse proxy documentation ()
From Apache: AllowEncodedSlashes not allowed in <Proxy> context

Move this out of <Proxy> block

Fixes 
2019-07-26 18:09:12 -04:00
Gary Kim cc384d767e Specify using AllowEncodedSlashes and nocanon for httpd ()
When using wiki page names that include a slash
behind a Apache HTTPD reverse proxy,
AllowEncodedSlashes NoDecode
and appending nocanon to the ProxyPass
directive is required. This commit adds that
information to the documentation.

Signed-off-by: Gary Kim <gary@garykim.dev>
2019-07-20 21:44:53 +03:00
ngourdon a618df8d84 Add CLI commands to manage LDAP authentication source ()
* add CLI commands to manage LDAP authentication source

* delete Gogs copyright

* remove unused return value of func parseLoginSource

* fix comment

Co-Authored-By: ngourdon <31291059+ngourdon@users.noreply.github.com>

* remove config flag already present in global flags

* remove config flag from ldap commands in docs

* remove config flag handling
2019-06-17 14:32:20 -04:00
Lanre Adelowo a6fed1542c add docs for () 2019-06-05 17:24:09 +01:00
zeripath e55c874dd2 Add work path CLI option ()
Makes it possible to set the work path as a CLI option instead of
relying on environment variables which are somewhat opaque
2019-05-14 11:20:35 -04:00
techknowlogick 897927690f
Rename LFS_JWT_SECRET to include OAUTH2 as well () 2019-05-01 22:32:06 -04:00
John Olheiser e255df83a6 Change verbose flag in dump command to avoid colliding with global version flag ()
* Change verbose flag to avoid colliding with version flag
* Update docs

Signed-off-by: jolheiser <john.olheiser@gmail.com>
2019-05-01 21:36:09 +01:00
zeripath 8d0d7bc28d Make CustomPath, CustomConf and AppWorkPath configurable at build () 2019-04-29 14:08:21 -04:00
0x5c 66fa092cc8 [FIX] Docs: Backup&Restore: fixed rendering + minor fixes ()
- Fixed a code block inverting the code blocks of the rest of the page
- Fixed various markdown syntax errors
- Fixed some spelling I could notice

Signed-off-by: 0x5c <0x5c.dev@gmail.com>
2019-04-10 09:34:44 -04:00
ngourdon 2b9b3310f6 Add username flag in create-user command ()
* Add username flag in create-user command

* Fix the error message

* Change name to username on flag of create-user command

* Include create-user flags of both versions

* delete deprecated example of create-user command
2019-04-09 11:21:55 -04:00
Alexandros Nicolaides 61b85990a6 Added docker example for backup ()
* Added docker example for backup

* Fix using docker command example

* Clarify --tempdir as per @lafriks suggestion
2019-04-08 15:45:29 +03:00
mrsdizzie e14cad79c9 Include custom configuration file in dump ()
When running the dump command, include the specific configuration file
provided as part of the backup. Currently we only zip up custom/ and this
misses the config file if it is somewhere else, like /etc/gitea/app.ini

Fixes 
2019-04-05 09:24:28 -04:00
nodiscc 0f54f42646 docs: document setup with read-only config () 2019-04-04 10:21:54 -04:00
glaszig dbba46c216 support custom file name in gitea dump command ()
* support custom file name in `gitea dump` command

* simpler approach to handle default dump file name
in `gitea dump` command
2019-04-01 00:31:37 -04:00
Ilya 8c3082bdb4 fix typos in docs command-line examples ()
Signed-off-by: Ilya Pavlov <ilux@cpan.org>
2019-03-29 12:16:07 +00:00
Sandro Jäckel c151682fae Fix headline () 2019-03-18 09:59:46 -04:00
Aidan Fitzgerald f5cf9a8355 Copyedit docs () 2019-03-09 16:15:45 -05:00
Lanre Adelowo c71c28eab8 update docs () 2019-02-10 17:10:00 -05:00
kekero 3568d426fe New Issue ?body= query ()
* New Issue ?body= query

* Override issue template with body query

* Add documentation for issue body query
2019-01-28 10:23:59 -05:00
Lanre Adelowo 9edc829c17 update docs to include THEMES config value ()
* update docs to include THEMES

* Update app.ini.sample

* Update config-cheat-sheet.en-us.md
2019-01-17 14:48:01 -05:00
Zsombor 656456441c Add flag to skip repository dumping () 2019-01-13 16:52:25 -05:00
Lanre Adelowo 530c2b8ad8 document command line flags () 2019-01-09 12:52:10 -05:00
0x5c 0de57fd57c Documentation: Clarity for HTTPS setups ()
[https-setup]
- Made it clearer that HTTP redirection is possible
[config-cheat-sheet]
- Clarified the behavihour of the redirection-related config keys
2019-01-03 16:46:07 +01:00
zeripath 7d9a191a3c Create AuthorizedKeysCommand () 2018-11-01 09:41:07 -04:00
BetaCat 1972383216 ZH-CN translation of Usage part () 2018-10-17 14:19:04 -04:00
techknowlogick e91a2cf2ea
Add/remove/list oauth providers via cli () 2018-09-12 10:46:02 -04:00
Fluf b82c14b3d2 add letsencrypt to Gitea () 2018-08-21 09:56:50 -04:00
Julien Tant 7781e8cef2 Disable merging a WIP Pull request ()
* prevent pull request to be merged when PR is a WIP

* add tests

* add helper to prepend WIP: in PR title

* move default wip prefixes into settings

* use configurable WIP prefixes in javascript and default to first one in templates

* add documentation

* add unit test on pull model

Signed-off-by: Julien Tant <julien@craftyx.fr>
2018-08-13 22:04:39 +03:00
Fluf f54626df0b Add config path as an optional flag when changing pass via CLI () 2018-06-09 18:35:14 -04:00
Jesse Lucas 47f59589c5 Update backup and restore doc usage ()
Edit example of `./gitea dump` to include -c option to pass app.ini

Signed-off-by: Jesse Lucas <jesse@jesselucas.com>
2018-06-09 15:16:16 -04:00
Lunny Xiao ed51aa9c92 improve backup document and add zh-cn backup document () 2018-06-08 19:47:51 -04:00
techknowlogick fa3ceb610d Fix link in HTTPS doc () 2018-06-05 17:36:15 +03:00
Jonas Franz fb1daad13d Add how-to for enabling HTTPS ()
Signed-off-by: Jonas Franz <info@jonasfranz.de>
2018-06-03 09:55:23 +08:00
Fluf 48797e7199 Gitea with Caddy with sub-path documentation. ()
Matches rest of headings
2018-05-24 08:24:04 +08:00
Fluf 416ded5f3e Add documentation for reverse proxies ()
Fixes 
2018-05-23 13:21:17 +08:00
kolaente 0fa07ccf99 Added docs for configuring fail2ban () 2018-05-18 17:16:30 +08:00
techknowlogick 8176345c0e Add cli commands to regen hooks & keys ()
* Add cli commands to regen hooks & keys

* make fmt

* Allow passing path to config as an option

* add docs
2018-05-17 09:35:07 +08:00
techknowlogick 87ebaa97ee Add documentation in regards to issues/pull request templates ()
* Add documentation in regards to issues/pull request templates

Fixes 

* update per suggestion to use list
2018-05-11 08:42:22 +08:00
Lauris BH 6f751409b4 Document generate commands ()
* Document generate commands

Signed-off-by: Lauris Bukšis-Haberkorns <lauris@nix.lv>

* Fix examples and grammar

Signed-off-by: Lauris Bukšis-Haberkorns <lauris@nix.lv>
2018-02-18 21:23:41 -06:00
Michael Lustfield 3ee8be3849 General documentation cleanup ()
* Clean up spelling, grammar, perspective, whitespace, language, markup, etc.
2018-01-08 23:48:42 +01:00
techknowlogick fb5c6b6444 Import docs into main repository ()
* import docs into main repository

Signed-off-by: Matti Ranta <matti@mdranta.net>
2017-11-26 23:44:32 +02:00