summaryrefslogtreecommitdiffstats
path: root/docs/content/doc/usage
Commit message (Collapse)AuthorAgeFilesLines
* Make the default PID file compile-time settable (#12485)zeripath2020-08-151-1/+1
| | | | | | | | | | #12391 offered to change the default PID file from /var/run/gitea.pid however in discussion it was decided that this could break users of older systems. An alternative was offered that we could make the PID file compile/link time settable. This PR does this, and changes the name of the setting from CustomPID to simply PIDFile. It also updates the from-source docs to show how to change the compiler settings to do this. Closes #12391 Signed-off-by: Andrew Thornton <art27@cantab.net> Co-authored-by: Florian Klink <flokli@flokli.de>
* Use correct make target for building static assets (#12247)Ben Harris2020-07-141-1/+1
| | | The webpack make target does not build semantic-ui
* Pause, Resume, Release&Reopen, Add and Remove Logging from command line (#11777)zeripath2020-07-051-0/+82
| | | | | | | | | | | | | | | | | | | | | | * Make LogDescriptions race safe * Add manager commands for pausing, resuming, adding and removing loggers Signed-off-by: Andrew Thornton <art27@cantab.net> * Placate lint * Ensure that file logger is run! * Add support for smtp and conn Signed-off-by: Andrew Thornton <art27@cantab.net> * Add release-and-reopen Signed-off-by: Andrew Thornton <art27@cantab.net> Co-authored-by: techknowlogick <techknowlogick@gitea.io> Co-authored-by: Lauris BH <lauris@nix.lv>
* Update Caddy reverse-proxy instructions (#11655)TLZ2020-05-301-2/+21
| | | Co-authored-by: techknowlogick <techknowlogick@gitea.io>
* Add warning to mailer documentation about authentication (#11563)zeripath2020-05-241-0/+6
| | | | | | | | | | | | | | | * Add warning to mailer documentation about authentication References #7966 Signed-off-by: Andrew Thornton <art27@cantab.net> * As per @guillep2k and @mrsdizzie * as per @mrsdizzie Signed-off-by: Andrew Thornton <art27@cantab.net> Co-authored-by: guillep2k <18600385+guillep2k@users.noreply.github.com>
* Add charset handling to backup/restore doc (#11062)maxm1232020-04-132-2/+2
| | | Co-authored-by: guillep2k <18600385+guillep2k@users.noreply.github.com>
* Add docs for gmail (#10995)zeripath2020-04-061-0/+16
| | | | | | | Fix #10971 Signed-off-by: Andrew Thornton <art27@cantab.net> Co-authored-by: Lauris BH <lauris@nix.lv>
* Add IIS Reverse Proxy documentation (#10881)zeripath2020-03-301-0/+56
| | | | | | | | | | | | | | | | * Add IIS Reverse Proxy documentation @mahdiit in #10748 described how to set up IIS as a reverse proxy. This PR adds these to our documentation. Close #10748 Signed-off-by: Andrew Thornton <art27@cantab.net> * Update docs/content/doc/usage/reverse-proxies.en-us.md Co-Authored-By: mrsdizzie <info@mrsdizzie.com> Co-authored-by: mrsdizzie <info@mrsdizzie.com>
* Documentation - updated email setup (#10695)8ctopus2020-03-131-7/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Updated email setup documentation to include sendmail option * Update docs/content/doc/usage/email-setup.en-us.md full path to sendmail Co-Authored-By: mrsdizzie <info@mrsdizzie.com> * Update docs/content/doc/usage/email-setup.en-us.md docker image does not have sendmail Co-Authored-By: Antoine GIRARD <sapk@users.noreply.github.com> * Update docs/content/doc/usage/email-setup.en-us.md Co-Authored-By: Antoine GIRARD <sapk@users.noreply.github.com> * Update docs/content/doc/usage/email-setup.en-us.md Co-Authored-By: James Lakin <jamesorlakin@users.noreply.github.com> * Update docs/content/doc/usage/email-setup.en-us.md Co-Authored-By: James Lakin <jamesorlakin@users.noreply.github.com> Co-authored-by: 8ctopus <hello@octopuslabs.io> Co-authored-by: mrsdizzie <info@mrsdizzie.com> Co-authored-by: zeripath <art27@cantab.net> Co-authored-by: Antoine GIRARD <sapk@users.noreply.github.com> Co-authored-by: James Lakin <jamesorlakin@users.noreply.github.com>
* Add restricted user filter to LDAP authentication (#10600)Lauris BH2020-03-051-1/+5
| | | | | | * Add restricted user filter to LDAP authentification * Fix unit test cases
* Update static resources documentation (#10270)Gary Kim2020-02-161-3/+3
| | | | | | | Signed-off-by: Gary Kim <gary@garykim.dev> Co-authored-by: Lauris BH <lauris@nix.lv> Co-authored-by: zeripath <art27@cantab.net>
* More expansions in template repositories (#10021)John Olheiser2020-01-281-0/+72
| | | | | | | | * Super expansion * Explain which features are in 1.11 vs 1.12 * Move imports Signed-off-by: jolheiser <john.olheiser@gmail.com>
* Explicitly refer to PR in squash-merge commit message in case of external ↵David Svantesson2020-01-181-1/+2
| | | | | | | | | | tracker (#9844) * Explicitly refer to PR in squash-merge commit message in case of external tracker * documentation Co-authored-by: zeripath <art27@cantab.net>
* Add a new command doctor to check if some wrong configurations on gitea ↵Lunny Xiao2020-01-111-0/+25
| | | | | | | | | | | | | | instance (#9095) * add doctor * Add a new command doctor to check if some wrong configurations on gitea instance * fix import * use regex match authorized_keys on doctor * Add documentation
* [Docs] Grammar Edit on Enabling HTTPS Using Reverse Proxy (#9649)Bagas Sanjaya2020-01-081-1/+1
| | | | | | * Use infinitives for accept and pass * Close parentheeses for proxy exposed
* Correct a language error in reverse proxy doc (#9455)Erwan Colin2019-12-271-1/+1
| | | | | | | | | | * Correct a language error in reverse proxy doc * Apply suggestions from code review Co-Authored-By: zeripath <art27@cantab.net> Co-authored-by: zeripath <art27@cantab.net>
* [Docs] Clarify HTTPS Termination Proxy on Using Reverse Proxy to Enable ↵Bagas Sanjaya2019-12-261-2/+1
| | | | | | | | | | | | | | HTTPS (#9491) * Clarification note for HTTPS termination proxy method * Textual grammar edit * Mention ROOT_URL * Apply suggestion by mrsdizzie Co-authored-by: techknowlogick <matti@mdranta.net>
* Apache configuration for Let's Encrypt webroot validation (#9438)NZTim2019-12-201-0/+2
|
* AuthorizedKeysCommand should not query db directly (#9371)zeripath2019-12-161-0/+1
| | | | | | | | * AuthorizedKeysCommand should not query db directly * Update routers/private/internal.go * Fix import order
* Correct port range for cap_net_bind_service (#9306)Justin R. Cutler2019-12-091-1/+1
|
* Redirect issue if repo has configured external tracker. (#9247)David Svantesson2019-12-061-1/+1
| | | | | | | | | | * Redirect issue if repo has configured external tracker. * Handle error * Add tests for redirect * Fix test consistency
* Alternate syntax for cross references (#9116)guillep2k2019-12-011-0/+173
| | | | | | | | | | | | | | | | | | | | * 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
* Fix typo in doc (#8914)Florian Hübner2019-11-101-1/+1
| | | Fix typo in doc fail2ban-setup.md
* Add password reset to FAQ (#8883)John Olheiser2019-11-081-0/+0
| | | | | | | | | | | | | | | | | | | | | | * 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>
* Add migrate command to docs (#8842)John Olheiser2019-11-051-0/+7
| | | | | | | | | | | | | | | | | | * 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>
* Docs: Added instructions for Docker fail2ban configuration. (#8642)Nathaniel Sabanski2019-10-231-3/+19
|
* [assets] configurable URL for static resources (#7911)Jakob Ackermann2019-10-221-0/+68
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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: f2a3abc683ad4b2177b7c7c6160a2c0b4316120a Signed-off-by: Jakob Ackermann <das7pad@outlook.com>
* Doc added how to setup email (#8520)8ctopus2019-10-161-0/+33
|
* Doc recommend to use reverse proxy if Apache/nginx is also running on… (#8384)8ctopus2019-10-101-0/+2
| | | | | | | | * 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>
* Doc added instructions for Git LFS support (#8391)8ctopus2019-10-061-0/+26
|
* Cleanup https support code snippet (#8370)8ctopus2019-10-041-3/+3
|
* Include git-hook regeneration in restore documentation (#8181)W Anders2019-09-151-0/+6
| | | | | | | | | | | | | | * 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>
* Fix regression in reverse proxy documentation (#7634)mrsdizzie2019-07-262-8/+8
| | | | | | | From Apache: AllowEncodedSlashes not allowed in <Proxy> context Move this out of <Proxy> block Fixes #7632
* Specify using AllowEncodedSlashes and nocanon for httpd (#7540)Gary Kim2019-07-202-4/+8
| | | | | | | | | | 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>
* Add CLI commands to manage LDAP authentication source (#6681)ngourdon2019-06-171-0/+88
| | | | | | | | | | | | | | | | | | * 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
* add docs for #6847 (#7132)Lanre Adelowo2019-06-051-0/+1
|
* Add work path CLI option (#6922)zeripath2019-05-141-2/+6
| | | | | Makes it possible to set the work path as a CLI option instead of relying on environment variables which are somewhat opaque
* Rename LFS_JWT_SECRET to include OAUTH2 as well (#6826)techknowlogick2019-05-011-2/+2
|
* Change verbose flag in dump command to avoid colliding with global version ↵John Olheiser2019-05-011-1/+1
| | | | | | | | | flag (#6822) * Change verbose flag to avoid colliding with version flag * Update docs Signed-off-by: jolheiser <john.olheiser@gmail.com>
* Make CustomPath, CustomConf and AppWorkPath configurable at build (#6631)zeripath2019-04-291-14/+8
|
* [FIX] Docs: Backup&Restore: fixed rendering + minor fixes (#6569)0x5c2019-04-101-6/+10
| | | | | | | - 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>
* Add username flag in create-user command (#6534)ngourdon2019-04-091-2/+3
| | | | | | | | | | | | * 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
* Added docker example for backup (#5846)Alexandros Nicolaides2019-04-081-0/+13
| | | | | | | | * Added docker example for backup * Fix using docker command example * Clarify --tempdir as per @lafriks suggestion
* Include custom configuration file in dump (#6516)mrsdizzie2019-04-051-1/+2
| | | | | | | 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
* docs: document setup with read-only config (#6348)nodiscc2019-04-041-0/+0
|
* support custom file name in `gitea dump` command (#6474)glaszig2019-04-011-0/+1
| | | | | | | * support custom file name in `gitea dump` command * simpler approach to handle default dump file name in `gitea dump` command
* fix typos in docs command-line examples (#6466)Ilya2019-03-291-4/+4
| | | Signed-off-by: Ilya Pavlov <ilux@cpan.org>
* Fix headline (#6353)Sandro Jäckel2019-03-181-1/+1
|
* Copyedit docs (#6275)Aidan Fitzgerald2019-03-095-22/+22
|
* update docs (#6032)Lanre Adelowo2019-02-101-1/+1
|