Commit Graph

39 Commits

Author SHA1 Message Date
ngourdon
e164486c9d Add CLI commands to manage LDAP authentication source (#6681)
* 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
364ac6b337 add docs for #6847 (#7132) 2019-06-05 17:24:09 +01:00
zeripath
46c89db264 Add work path CLI option (#6922)
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
ada0d7dd5a Rename LFS_JWT_SECRET to include OAUTH2 as well (#6826) 2019-05-01 22:32:06 -04:00
John Olheiser
0e786302b2 Change verbose flag in dump command to avoid colliding with global version flag (#6822)
* 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
fc33eabea7 Make CustomPath, CustomConf and AppWorkPath configurable at build (#6631) 2019-04-29 14:08:21 -04:00
0x5c
55fe7bb682 [FIX] Docs: Backup&Restore: fixed rendering + minor fixes (#6569)
- 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
9d6de48e3e Add username flag in create-user command (#6534)
* 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
696f7ab755 Added docker example for backup (#5846)
* 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
a1960c99c0 Include custom configuration file in dump (#6516)
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 #6034
2019-04-05 09:24:28 -04:00
nodiscc
a768492061 docs: document setup with read-only config (#6348) 2019-04-04 10:21:54 -04:00
glaszig
f6719d45f4 support custom file name in gitea dump command (#6474)
* 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
1dbfb763d8 fix typos in docs command-line examples (#6466)
Signed-off-by: Ilya Pavlov <ilux@cpan.org>
2019-03-29 12:16:07 +00:00
Sandro Jäckel
c46f6ce265 Fix headline (#6353) 2019-03-18 09:59:46 -04:00
Aidan Fitzgerald
9853171de5 Copyedit docs (#6275) 2019-03-09 16:15:45 -05:00
Lanre Adelowo
9becc9b318 update docs (#6032) 2019-02-10 17:10:00 -05:00
kekero
146629f90d New Issue ?body= query (#5851)
* 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
86d673b968 update docs to include THEMES config value (#5752)
* 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
c78ebc87f0 Add flag to skip repository dumping (#5695) 2019-01-13 16:52:25 -05:00
Lanre Adelowo
c87d3e21c1 document command line flags (#5675) 2019-01-09 12:52:10 -05:00
0x5c
fc06fa8a1b Documentation: Clarity for HTTPS setups (#5626)
[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
b55e315c94 Create AuthorizedKeysCommand (#5236) 2018-11-01 09:41:07 -04:00
BetaCat
61f40c0f9d ZH-CN translation of Usage part (#5086) 2018-10-17 14:19:04 -04:00
techknowlogick
edeb25d597 Add/remove/list oauth providers via cli (#4591) 2018-09-12 10:46:02 -04:00
Fluf
964c3c9334 add letsencrypt to Gitea (#4189) 2018-08-21 09:56:50 -04:00
Julien Tant
0729de4657 Disable merging a WIP Pull request (#4529)
* 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
d4bfce7ac0 Add config path as an optional flag when changing pass via CLI (#4184) 2018-06-09 18:35:14 -04:00
Jesse Lucas
aa212aaeab Update backup and restore doc usage (#4165)
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
928ed78456 improve backup document and add zh-cn backup document (#4145) 2018-06-08 19:47:51 -04:00
techknowlogick
f558a25659 Fix link in HTTPS doc (#4135) 2018-06-05 17:36:15 +03:00
Jonas Franz
439774d026 Add how-to for enabling HTTPS (#4101)
Signed-off-by: Jonas Franz <info@jonasfranz.de>
2018-06-03 09:55:23 +08:00
Fluf
ad6968e067 Gitea with Caddy with sub-path documentation. (#4028)
Matches rest of headings
2018-05-24 08:24:04 +08:00
Fluf
232987fc18 Add documentation for reverse proxies (#4022)
Fixes #3904
2018-05-23 13:21:17 +08:00
kolaente
380623595b Added docs for configuring fail2ban (#3949) 2018-05-18 17:16:30 +08:00
techknowlogick
f987e4c83b Add cli commands to regen hooks & keys (#3979)
* 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
cc7de93601 Add documentation in regards to issues/pull request templates (#3942)
* Add documentation in regards to issues/pull request templates

Fixes #3491

* update per suggestion to use list
2018-05-11 08:42:22 +08:00
Lauris BH
f8c89d1f43 Document generate commands (#3532)
* 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
3f7768d4e8 General documentation cleanup (#3317)
* Clean up spelling, grammar, perspective, whitespace, language, markup, etc.
2018-01-08 23:48:42 +01:00
techknowlogick
4b90703858 Import docs into main repository (#2874)
* import docs into main repository

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