summaryrefslogtreecommitdiffstats
path: root/docs
Commit message (Collapse)AuthorAgeFilesLines
* 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
* Make captcha and password optional for external accounts (#6606)AJ ONeal2019-07-061-1/+6
|
* 1.8.3 release (#7332)Alexandru Bucur2019-06-301-2/+2
|
* [docker] Add LFS_START_SERVER option to control git-lfs support (#7281)Marat Radchenko2019-06-241-0/+1
|
* add 'npm' and 'npm-update' make targets and lockfile (#7246)silverwind2019-06-181-16/+3
| | | | | | | | | | | | | | | | | | * add 'npm' and 'npm-update' make targets and lockfile - `make npm` installs and updates node_modules, triggered automatically on `make css` and `make js` as it completes reasonably fast and ensures consistent modules. - `make npm-update` updates all dependencies to their latest version, regenerates `node_modules` from scratch and updates `package-lock.json`. It uses npm modules `updates` written by yours truly to find the latest version of each dependency. * add suggested make dependencies * remove package-lock.json during npm-update * regenerate package-lock.json
* Fix relref link in docs (#7233)Antoine GIRARD2019-06-171-1/+1
|
* Add docs for `INTERNAL_TOKEN_URI` (#7234)techknowlogick2019-06-171-0/+2
|
* 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
|
* Repository avatar fallback configuration (#7087)Mario Lubenka2019-06-021-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Only show repository avatar in list when one was selected Signed-off-by: Mario Lubenka <mario.lubenka@googlemail.com> * Adds fallback configuration option for repository avatar Signed-off-by: Mario Lubenka <mario.lubenka@googlemail.com> * Implements repository avatar fallback Signed-off-by: Mario Lubenka <mario.lubenka@googlemail.com> * Adds admin task for deleting generated repository avatars Signed-off-by: Mario Lubenka <mario.lubenka@googlemail.com> * Solve linting issues Signed-off-by: Mario Lubenka <mario.lubenka@googlemail.com> * Save avatar before updating database * Linting * Update models/repo.go Co-Authored-By: zeripath <art27@cantab.net>
* Move serv hook functionality & drop GitLogger (#6993)zeripath2019-06-011-16/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Move hook functionality internally * Internalise serv logic * Remove old internal paths * finally remove the gitlogger * Disallow push on archived repositories * fix lint error * Update modules/private/key.go * Update routers/private/hook.go * Update routers/private/hook.go * Update routers/private/hook.go * Updated routers/private/serv.go * Fix LFS Locks over SSH * rev-list needs to be run by the hook process * fixup * Improve git test * Ensure that the lfs files are created with a different prefix * Reduce the replication in git_test.go * slight refactor * Remove unnecessary "/" * Restore ensureAnonymousClone * Restore ensureAnonymousClone * Run rev-list on server side * Try passing in the alternative directories instead * Mark test as skipped * Improve git test * Ensure that the lfs files are created with a different prefix * Reduce the replication in git_test.go * Remove unnecessary "/"
* Repository avatars (#6986)Sergey Dryabzhinsky2019-05-291-1/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Repository avatars - first variant of code from old work for gogs - add migration 87 - add new option in app.ini - add en-US locale string - add new class in repository.less * Add changed index.css, remove unused template name * Update en-us doc about configuration options * Add comments to new functions, add new option to docker app.ini * Add comment for lint * Remove variable, not needed * Fix formatting * Update swagger api template * Check if avatar exists * Fix avatar link/path checks * Typo * TEXT column can't have a default value * Fixes: - remove old avatar file on upload - use ID in name of avatar file - users may upload same files - add simple tests * Fix fmt check * Generate PNG instead of "static" GIF * More informative comment * Fix error message * Update avatar upload checks: - add file size check - add new option - update config docs - add new string to en-us locale * Fixes: - use FileHEader field for check file size - add new test - upload big image * Fix formatting * Update comments * Update log message * Removed wrong style - not needed * Use Sync2 to migrate * Update repos list view - bigger avatar - fix html blocks alignment * A little adjust avatar size * Use small icons for explore/repo list * Use new cool avatar preparation func by @lafriks * Missing changes for new function * Remove unused import, move imports * Missed new option definition in app.ini Add file size check in user/profile avatar upload * Use smaller field length for Avatar * Use session to update repo DB data, update DeleteAvatar - use session too * Fix err variable definition * As suggested @lafriks - return as soon as possible, code readability
* when git version >= 2.18, git command could run with git wire protocol ↵Lunny Xiao2019-05-262-0/+2
| | | | version 2 param if enabled (#7047)
* Update config-cheat-sheet.en-us.md (#7046)Tekaoh2019-05-261-2/+2
|
* Add support of utf8mb4 for mysql (#6992)Lunny Xiao2019-05-242-1/+3
|
* Added Note about arm7 version to doc (#6983)suisseWalter2019-05-231-0/+9
| | | | Appended the Troubleshooting section with a subsection about the problems with the arm7 version and the recommendation to switch to arm6.
* Fix documentation on Oauth2.Enable flag (#7011)Monty Taylor2019-05-211-1/+1
| | | | | | | | | * Fix documentation on Oauth2.Enable flag The docs list this as ENABLED, but in the source code it's ENABLE, meaning following the docs leads to confusion. * Update sample config for oauth2.ENABLE
* add make targets for js and css, add js linter (#6952)silverwind2019-05-161-13/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * add make targets for js,css, add javascript linter - add `make js`, deprecating `make javascripts` - add `make css`, deprecating `make generate-stylesheets` and `make stylesheets-check` - changed the unclean css check to only run on CI - add JS linting via eslint with basic configuration and fixed discovered issues - changed autoprefixer to use official `postcss-cli` avoiding the need to loop in the makefile - moved browserslist to package.json so other future tools can use it too. - update documentation for new make targets and added JS section * fix indentation * move functions used in html to 'exported' list * Run lessc binary without having to install anything to node_modules * use relative paths to node bin scripts, removing npx * Revert "use relative paths to node bin scripts, removing npx" This reverts commit 119b725525a8430b32ee7a6e6009b4ece544e39b. * fix lessc and postcss plugins * check for node_modules and use actual bin names
* Stop colorizing files by default (#6949)zeripath2019-05-152-4/+2
|
* 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
* Handle CORS requests (#6289)Tamal Saha2019-05-131-0/+10
|
* Fix logging documentation (#6904)zeripath2019-05-111-2/+2
| | | | | | * ENABLE_MACARON_REDIRECT should be REDIRECT_MACARON_LOG * Allow DISABLE_ROUTER_LOG to be set in the [log] section
* Show full name if DefaultShowFullName setting activated (#6710)Wim2019-05-081-0/+1
| | | | | Adds a new key DEFAULT_SHOW_FULL_NAME (default false) to the [ui] section. If enabled the full name will be shown (unless it's empty, then the default username will be used)
* Add documentation for OTP/2FA header in API for basic auth (#6872)techknowlogick2019-05-071-0/+6
|
* Improve migrations to support migrating ↵Lunny Xiao2019-05-071-0/+72
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | milestones/labels/issues/comments/pullrequests (#6290) * add migrations * fix package dependency * fix lints * implements migrations except pull requests * add releases * migrating releases * fix bug * fix lint * fix migrate releases * fix tests * add rollback * pull request migtations * fix import * fix go module vendor * add tests for upload to gitea * more migrate options * fix swagger-check * fix misspell * add options on migration UI * fix log error * improve UI options on migrating * add support for username password when migrating from github * fix tests * remove comments and fix migrate limitation * improve error handles * migrate API will also support migrate milestones/labels/issues/pulls/releases * fix tests and remove unused codes * add DownloaderFactory and docs about how to create a new Downloader * fix misspell * fix migration docs * Add hints about migrate options on migration page * fix tests
* Allow Recaptcha service url to be configured (#6820)zeripath2019-05-021-0/+1
|