summaryrefslogtreecommitdiffstats
path: root/docs
Commit message (Collapse)AuthorAgeFilesLines
* Add Close() method to gogitRepository (#8901) (#8956)zeripath2019-11-131-1/+2
| | | | | | | | | | | Backport #8901 In investigating #7947 it has become clear that the storage component of go-git repositories needs closing. This PR adds this Close function and adds the Close functions as necessary. In TransferOwnership the ctx.Repo.GitRepo is closed if it is open to help prevent the risk of multiple open files. Fixes #7947
* Expose db.SetMaxOpenConns and allow non MySQL dbs to set conn pool params ↵zeripath2019-10-221-2/+6
| | | | | | | | (#8528) (#8618) * Expose db.SetMaxOpenConns and allow other dbs to set their connection params * Add note about port exhaustion Co-Authored-By: guillep2k <18600385+guillep2k@users.noreply.github.com>
* Fix password complexity regex for special characters (backport for v1.10.0) ↵guillep2k2019-10-161-1/+2
| | | | | | | | | | | | | | | | | | | | | | (#8524) * Fix extra space * Fix regular expression * Fix error template name * Simplify check code, fix default values, add test * Fix router tests * Fix fmt * Fix setting and lint * Move cleaning up code to test, improve comments * Tidy up variable declaration
* Password Complexity Checks (#6230)Maxim Tkachenko2019-10-141-0/+5
| | | | | | | | | Add password complexity checks. The default settings require a lowercase, uppercase, number and a special character within passwords. Co-Authored-By: T-M-A <maxim.tkachenko@gmail.com> Co-Authored-By: Lanre Adelowo <adelowomailbox@gmail.com> Co-Authored-By: guillep2k <18600385+guillep2k@users.noreply.github.com> Co-Authored-By: Lauris BH <lauris@nix.lv>
* Update migrated repositories' issues/comments/prs poster id if user has a ↵Lunny Xiao2019-10-142-1/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | github external user saved (#7751) * update migrated issues/comments when login as github * add get userid when migrating or login with github oauth2 * fix lint * add migrations for repository service type * fix build * remove unnecessary dependencies on migrations * add cron task to update migrations poster ids and fix posterid when migrating * fix lint * fix lint * improve code * fix lint * improve code * replace releases publish id to actual author id * fix import * fix bug * fix lint * fix rawdata definition * fix some bugs * fix error message
* Update seek-help.zh-cn.md (#8488)Benson Muite2019-10-131-1/+1
| | | Update link to Mandarin help forum
* Update seek-help.en-us.md (#8487)Benson Muite2019-10-131-1/+1
| | | Update link to Mandarin help
* Move migrating repository from frontend to backend (#6200)Lunny Xiao2019-10-132-0/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * move migrating to backend * add loading image when migrating and fix tests * fix format * fix lint * add redis task queue support and improve docs * add redis vendor * fix vet * add database migrations and fix app.ini sample * add comments for task section on app.ini.sample * Update models/migrations/v84.go Co-Authored-By: lunny <xiaolunwen@gmail.com> * Update models/repo.go Co-Authored-By: lunny <xiaolunwen@gmail.com> * move migrating to backend * add loading image when migrating and fix tests * fix fmt * add redis task queue support and improve docs * fix fixtures * fix fixtures * fix duplicate function on index.js * fix tests * rename repository statuses * check if repository is being create when SSH request * fix lint * fix template * some improvements * fix template * unified migrate options * fix lint * fix loading page * refactor * When gitea restart, don't restart the running tasks because we may have servel gitea instances, that may break the migration * fix js * Update models/repo.go Co-Authored-By: guillep2k <18600385+guillep2k@users.noreply.github.com> * Update docs/content/doc/advanced/config-cheat-sheet.en-us.md Co-Authored-By: guillep2k <18600385+guillep2k@users.noreply.github.com> * fix tests * rename ErrTaskIsNotExist to ErrTaskDoesNotExist * delete release after add one on tests to make it run happy * fix tests * fix tests * improve codes * fix lint * fix lint * fix migrations
* DOCS: add mention of swagger api reference (#8452)pseudocoder2019-10-101-0/+8
| | | It's(swagger api link) mentioned vaguely in the FAQ but IMHO missing from API usage page.
* 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 updated list of supported webhooks and added example (#8388)8ctopus2019-10-091-1/+81
| | | | | | * Doc updated list of supported webhooks and added example * Replaced webhook password verification by signature verification
* Doc added instructions for Git LFS support (#8391)8ctopus2019-10-061-0/+26
|
* Doc config file should not be readable by others as it contains sensitive ↵8ctopus2019-10-051-13/+13
| | | | info (#8385)
* Add buildbot CI (#8378)Km2019-10-041-0/+2
| | | Buildbot can work with Gitea
* Cleanup https support code snippet (#8370)8ctopus2019-10-041-3/+3
|
* typo fix (#8345)helix842019-10-021-2/+2
|
* Add 'make revive' to instructions for checking code (#8314)David Svantesson2019-09-291-4/+4
| | | | | | | | * Add 'make revive' to instructions for checking code This is performed on drone, hacking instructions should contain the same to avoid unnecessary PR builds. * lint is deprecated. Denote revive +vet as code analysis in continuous text.
* [docs] Docker build - ZeroMQ dependency for Jupyter (#8262)Bill Wenrich2019-09-261-2/+2
| | | | | | | | | | | | * doc py3-zmq - ZeroMQ bindings for jupyter #7970 https://github.com/go-gitea/gitea/issues/7970 * rebase Dockerfile to 1.9.x for jupyter * [docs] external-renderers.en-us.md - use templated variable for version Co-Authored-By: techknowlogick <matti@mdranta.net>
* Update hacking-on-gitea.en-us.md (#8275)David Svantesson2019-09-241-1/+1
| | | Fix spelling of misspell in command to validate swagger.
* Remove unnecessary backslash (#8249)John Olheiser2019-09-201-1/+1
|
* update cache item_ttl docs (#8222)Lunny Xiao2019-09-182-3/+5
|
* faq: mention EMAIL_DOMAIN_WHITELIST on allowing email domains (#8198)Mikaela Suomalainen2019-09-171-3/+7
| | | | | | | | | | | | | | | | | | | | | | * faq: mention EMAIL_DOMAIN_WHITELIST on allowing email domains Signed-off-by: Mikaela Suomalainen <mikaela+git@mikaela.info> * faq: separate openid from allow/block email domain Signed-off-by: Mikaela Suomalainen <mikaela+git@mikaela.info> * faq: update ToC Signed-off-by: Mikaela Suomalainen <mikaela+git@mikaela.info> * Update docs/content/doc/help/faq.en-us.md Co-Authored-By: John Olheiser <42128690+jolheiser@users.noreply.github.com> * Update docs/content/doc/help/faq.en-us.md Co-Authored-By: John Olheiser <42128690+jolheiser@users.noreply.github.com>
* 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>
* Git min requirements (#8177)guillep2k2019-09-141-0/+3
| | | | | | | | * Add minimum git requirements. * Added comments about git lfs and commit-graph * Fix capitalization
* update docs to latest version (#8164)techknowlogick2019-09-121-1/+1
|
* Fix downloads url (#8153)Johan Van de Wauw2019-09-111-1/+1
| | | The link without slash is not working
* Restrict repository indexing by glob match (#7767)guillep2k2019-09-112-0/+60
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Restrict repository indexing by file extension * Use REPO_EXTENSIONS_LIST_INCLUDE instead of REPO_EXTENSIONS_LIST_EXCLUDE and have a more flexible extension pattern * Corrected to pass lint gosimple * Add wildcard support to REPO_INDEXER_EXTENSIONS * This reverts commit 72a650c8e42f4abf59d5df7cd5dc27b451494cc6. * Add wildcard support to REPO_INDEXER_EXTENSIONS (no make vendor) * Simplify isIndexable() for better clarity * Add gobwas/glob to vendors * manually set appengine new release * Implement better REPO_INDEXER_INCLUDE and REPO_INDEXER_EXCLUDE * Add unit and integration tests * Update app.ini.sample and reword config-cheat-sheet * Add doc page and correct app.ini.sample * Some polish on the doc * Simplify code as suggested by @lafriks
* Update third-party-tools.en-us.md (#8148)techknowlogick2019-09-111-0/+3
|
* Added AppVeyor to the list of CI/CD working with Gitea (#8104)Feodor Fitsner2019-09-051-0/+1
|
* Fix broken link (#8091)nu_no2019-09-051-1/+1
|
* Propose some references about ci/cd solutions compatibles with gitea (#7996)Km2019-08-292-3/+32
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Propose some references about ci/cd solutions compatibles with gitea * No note about theirs integration level, only a starting point. * Update docs/content/doc/advanced/ci-cd.en-us.md Improve text Co-Authored-By: Lauris BH <lauris@nix.lv> * Improve link to CI solutions Update docs/content/doc/advanced/ci-cd.en-us.md Co-Authored-By: Lauris BH <lauris@nix.lv> * Update docs/content/doc/advanced/ci-cd.en-us.md Typo in name :/ Co-Authored-By: John Olheiser <42128690+jolheiser@users.noreply.github.com> * Remove redundant empty line * Invite user to consult new CI/CD page * Link target CI tools * Jenkins and its plugin * Update docs/content/doc/advanced/third-party-tools.en-us.md Simplify link CI/CD Co-Authored-By: John Olheiser <42128690+jolheiser@users.noreply.github.com> * Update docs/content/doc/advanced/ci-cd.en-us.md Typo Co-Authored-By: John Olheiser <42128690+jolheiser@users.noreply.github.com> * Provide gitea documentation about drone usage Co-Authored-By: John Olheiser <42128690+jolheiser@users.noreply.github.com> * Update docs/content/doc/advanced/ci-cd.en-us.md Co-Authored-By: Lauris BH <lauris@nix.lv> * Apply suggestions from code review Co-Authored-By: Lauris BH <lauris@nix.lv>
* Add Ability for User to Customize Email Notification Frequency (#7813)Gary Kim2019-08-291-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add Backend Logic for Toggling Email Notification This commit adds the backend logic for allowing users to enable or disable email notifications. The implementation ensures that only issue notification emails get disabled and important emails are still sent regardless of the setting. The UI to toggle this setting has not yet been implemented. * Add UI and complete user email notification enable This commit completes the functionality to allow users to disable their own email notifications. Signed-off-by: Gary Kim <gary@garykim.dev> * Add Third Option for Only Email on Mention Signed-off-by: Gary Kim <gary@garykim.dev> * Readd NOT NULL to new preference string Signed-off-by: Gary Kim <gary@garykim.dev> * Add Tests and Rewrite Comment Signed-off-by: Gary Kim <gary@garykim.dev> * Allow admin to set default email frequency Signed-off-by: Gary Kim <gary@garykim.dev> * Add new config option to docs Signed-off-by: Gary Kim <gary@garykim.dev> * Fix a few mistakes Signed-off-by: Gary Kim <gary@garykim.dev> * Only update required columns Signed-off-by: Gary Kim <gary@garykim.dev> * Simplify an error check Signed-off-by: Gary Kim <gary@garykim.dev> * Make email_notification_preference column in DB be VARCHAR(20) Signed-off-by: Gary Kim <gary@garykim.dev> * Handle errors Signed-off-by: Gary Kim <gary@garykim.dev> * Update models/migrations/v93.go Co-Authored-By: Lauris BH <lauris@nix.lv>
* Include description in repository search. (#7942)David Svantesson2019-08-251-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add description in repository search. Signed-off-by: David Svantesson <davidsvantesson@gmail.com> * Refactor SearchRepositoryByName with a general function SearchRepository Signed-off-by: David Svantesson <davidsvantesson@gmail.com> * Allow to specify if description shall be included in API repo search. Signed-off-by: David Svantesson <davidsvantesson@gmail.com> * Add new app.ini setting for whether to search within repo description. Signed-off-by: David Svantesson <davidsvantesson@gmail.com> * Search keyword in description (if setting enabled) on: - Explore page - Organization profile page - User profile page - Admin repo page Do not search keyword in description on: - Any non-keyword search (not relevant) - Incremental search (uses API) Signed-off-by: David Svantesson <davidsvantesson@gmail.com> * Put parameters related to keyword directly after it Signed-off-by: David Svantesson <davidsvantesson@gmail.com> * Add test cases for including (and not including) repository description in search. Signed-off-by: David Svantesson <davidsvantesson@gmail.com> * Rename test function from TestSearchRepositoryByName to TestSearchRepository. Signed-off-by: David Svantesson <davidsvantesson@gmail.com> * Make setting SEARCH_REPO_DESCRIPTION default to true Signed-off-by: David Svantesson <davidsvantesson@gmail.com>
* Add support for DEFAULT_ORG_MEMBER_VISIBLE (#7669)guillep2k2019-08-241-0/+1
| | | | | | | | | | | | * Add support for DEFAULT_ORG_MEMBER_VISIBLE * Correct formatting * Improved description in cheat sheet. * Add test for DefaultOrgMemberVisible * Remove dead code
* Move database settings from models to setting (#7806)Lunny Xiao2019-08-242-0/+4
| | | | | | | | | | | | | | | | | | * move database settings from models to setting * update docs * fix checkout pr * fix tests * fix lint * remove unsupported tidb options * correct wrong variable name * remove tidb totally
* Support SSH_LISTEN_PORT env var in docker app.ini template (#7829)leigh capili2019-08-241-0/+1
| | | Signed-off-by: leigh capili <leigh@null.net>
* Add config option and shortcode for Gitea version (#7940)John Olheiser2019-08-2311-18/+20
| | | Signed-off-by: jolheiser <john.olheiser@gmail.com>
* Display ui time with customize time location (#7792)Lunny Xiao2019-08-152-2/+8
| | | | | | | | | | | | | | | | | | * display ui time with customize time location * fix lint * rename UILocation to DefaultUILocation * move time related functions to modules/timeutil * fix tests * fix tests * fix build * fix swagger
* Import topics during migration (#7851)Antoine GIRARD2019-08-141-0/+1
| | | | | | | | * add GetTopics interface * CreateTopics * remove un-needed comment
* add details for db socket listening (#7830)Antoine GIRARD2019-08-121-1/+1
|
* Add SSH_LISTEN_HOST to the config cheatsheet (#7793)Mason2019-08-081-0/+1
| | | | This was missing before, and this commit adds it with the correct default value and description
* Correct formatting of bullet list (#7794)guillep2k2019-08-081-0/+1
|
* 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 Issue link to feature compare "reject unsigned" (#7465)65432019-07-141-1/+1
| | | | | | * add issue "Reject unsigned commits" #7455 to docu * change issue to orig one
* Support setting cookie domain (#6288)Tamal Saha2019-07-121-0/+1
| | | Signed-off-by: Tamal Saha <tamal@appscode.com>
* Add section about customizing mail (#7419)Sandro Santilli2019-07-111-0/+14
| | | See https://github.com/go-gitea/gitea/issues/6037
* Support git.PATH entry in app.ini (#6772)Mura Li2019-07-071-0/+1
|
* Add additional password hash algorithms (closes #5859) (#6023)EpicCoder2019-07-071-0/+1
|
* Use vendors when go generate (#7340)Lunny Xiao2019-07-062-2/+2
| | | | | | | | * use vendors when go generate * update docs about golang minimal requirement from 1.9 to 1.11 * fix build