summaryrefslogtreecommitdiffstats
path: root/modules
Commit message (Collapse)AuthorAgeFilesLines
* Add topic support (#3711)Lunny Xiao2018-04-111-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | * add topic models and unit tests * fix comments * fix comment * add the UI to show or add topics for a repo * show topics on repositories list * fix test * don't show manage topics link when no permission * use green basic as topic label * fix topic label color * remove trace content * remove debug function
* Add EnableTimetracking option to app settings (#3719)Bwko2018-04-091-1/+5
|
* Add config option to enable or disable log executed SQL (#3726)Lunny Xiao2018-03-301-0/+2
| | | | | | * add config option to enable or disable log executed SQL * rename ShowSQL to LogSQL
* Add repository setting to enable/disable health checks (#3607)Allen Wild2018-03-271-0/+3
| | | | | | | | | | | | | | New Feature: * Repository struct field for IsFsckEnabled (default true of course) * Admin Settings section on repo options page, accessible only by admin users Possible Enhancements: * There's no way to force running health checks on all repos regardless of their IsFsckEnabled setting. This would be useful if there were an admin API or dashboard button to run fsck immediately. Issue: https://github.com/go-gitea/gitea/issues/1712 Signed-off-by: Allen Wild <allenwild93@gmail.com>
* Add protected branch whitelists for merging (#3689)Chri-s2018-03-251-4/+7
| | | | | | | | * Add database migrations for merge whitelist * Add merge whitelist settings for protected branches * Add checks for merge whitelists
* Global code search support (#3664)Lunny Xiao2018-03-162-8/+25
| | | | | | | | | | | | * add global code search on explore * fix bug when no anyone public repos * change the icon * fix typo and add UnitTypeCode check for login non-admin user * fix ui description when no match
* Refactor and simplify redirect to url (#3674)Lauris BH2018-03-151-0/+21
|
* Add label descriptions (#3662)Lauris BH2018-03-131-3/+4
| | | | | | * Add label descriptions * Add default descriptions to label template
* Fix wiki inter-links with cases and add tests for this case (#3560)Chaz Reid2018-03-052-6/+16
|
* Rework special link parsing in the post-processing of markup (#3354)Morgan Bazalgette2018-02-277-935/+1008
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Get rid of autolink * autolink in markdown * Replace email addresses with mailto links * better handling of links * Remove autolink.js from footer * Refactor entire html.go * fix some bugs * Make tests green, move what we can to html_internal_test, various other changes to processor logic * Make markdown tests work again This is just a description to allow me to force push in order to restart the drone build. * Fix failing markdown tests in routers/api/v1/misc * Add license headers, log errors, future-proof <body> * fix formatting
* fix gpg expired bug when time is zero (#3584)Lunny Xiao2018-02-261-0/+5
|
* Populate URL field of API commits (#3546)Ethan Koenig2018-02-207-82/+103
| | | | | | * Populate URL field of API commits * fix orgmode_test
* Implements generator cli for secrets (#3531)Codruț Constantin Gușoi2018-02-185-58/+114
| | | Signed-off-by: Codruț Constantin Gușoi <codrut.gusoi@gmail.com>
* Add option to enable or disable swagger endpoints (#3502)Piotr Orzechowski2018-02-142-2/+5
|
* Escape search query (#3486)Jonas Franz2018-02-111-0/+7
| | | Signed-off-by: Jonas Franz <info@jonasfranz.de>
* Reduce repo indexer disk usage (#3452)Ethan Koenig2018-02-053-89/+105
|
* Enable caching on assets and avatars (#3376)Morgan Bazalgette2018-02-043-25/+143
| | | | | | | | | | | | | | * Enable caching on assets and avatars Fixes #3323 * Only set avatar in user BeforeUpdate when there is no avatar set * add error checking after stat * gofmt * Change cache time for avatars to an hour
* Allow square brackets in external issue patterns (#3408)Christian Köberl2018-02-032-2/+7
| | | | | | * Allow square brackets in external issue patterns * Added false test cases for checklist elements
* Add sensitive headers (#3429)Antoine GIRARD2018-01-311-0/+6
| | | | | | | * Add HeaderWithSensitiveCase methods to respect casing * Update webhook.go
* Fix go-get content type (#3426)Lauris BH2018-01-291-1/+3
|
* Add doctype to go-get=1 reponse (#3423)Lauris BH2018-01-291-1/+1
|
* Fix SSH auth lfs locks (#3152)Antoine GIRARD2018-01-272-100/+111
| | | | | | | | | | * Fix SSH auth LFS locks * Activate SSH/lock test * Remove debug * Follow @lunny recommendation for AfterLoad method
* Recognize more characters in crossreferenced repo name (#3413)Lauris BH2018-01-272-1/+4
|
* HTML escape all lines of the search result (#3402)Morgan Bazalgette2018-01-221-4/+5
| | | Fixes #3383.
* Use GiteaServer as the user agent for http requests (#3404)Sandro Santilli2018-01-221-1/+1
| | | Otherwise we're still presenting ourselves as GogsServer...
* Remove hardcoded paths to fix randomly failing tests (#3347)Lauris BH2018-01-111-0/+3
| | | | | | * Remove hardcoded paths to fix randomly failing tests * Use correct function for merge path
* Handle refactor (#3339)Morgan Bazalgette2018-01-103-56/+64
| | | | | | * Replace all ctx.Handle with ctx.ServerError or ctx.NotFound * Change Handle(403) to NotFound, avoid using macaron's NotFound
* Enable Libravatar by default in new installations (#3287)Sandro Santilli2018-01-071-1/+1
| | | | Pre-existing installs still have it default to off. This is consistent with OpenID setting.
* Writable deploy keys (closes #671) (#3225)Vlad Temian2018-01-071-3/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add is_writable checkbox to deploy keys interface * Add writable key option to deploy key form * Add support for writable ssh keys in the interface * Rename IsWritable to ReadOnly * Test: create read-only and read-write deploy keys via api * Add DeployKey access mode migration * Update gitea sdk via govendor * Fix deploykey migration * Add unittests for writable deploy keys * Move template text to locale * Remove implicit column update * Remove duplicate locales * Replace ReadOnly field with IsReadOnly method * Fix deploy_keys related integration test * Rename v54 migration with v55 * Fix migration hell
* Add Pull Request merge options - Ignore white-space for conflict checking, ↵Lauris BH2018-01-051-0/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Rebase, Squash merge (#3188) * Pull request options migration and UI in settings * Add ignore whitespace functionality * Fix settings if pull requests are disabled * Fix migration transaction * Merge with Rebase functionality * UI changes and related functionality for pull request merging button * Implement squash functionality * Fix rebase merging * Fix pull request merge tests * Add squash and rebase tests * Fix API method to reuse default message functions * Some refactoring and small fixes * Remove more hardcoded values from tests * Remove unneeded check from API method * Fix variable name and comment typo * Fix reset commit count after PR merge
* Add an option to allow redirect of http port 80 to https. (#1928)Mike Fellows2017-12-251-0/+4
| | | | | | | | | | | | | * Add an option to allow redirect of http port 80 to https. This is an "opt in" option (default is to not redirect). It will only redirect if protocol is https and the new REDIRECT_PORT_80 option is set to true. The Port to redirect in previous commit was hardcoded to 80, now it can be specified in the app.ini, defaulting to 80. The boolean option to turn redirection on has been changed to REDIRECT_OTHER_PORT to be logically consistent with the new port option. Signed-off-by: Mike Fellows <mike.fellows@shaw.ca>
* Fix ignored errors when checking if organization, team member (#3177)Ethan Koenig2017-12-211-3/+10
|
* Support default private when creating or migrating repository (#3239)Lunny Xiao2017-12-201-0/+9
| | | | | | | | | | * support default private when creating or migrating repository * fix fmt * use string constants on repository default private in app.ini * fix fmt
* Unit tests for routers/repo/issue_label (#3198)Ethan Koenig2017-12-152-16/+21
|
* Improvements for supporting UI Location (#3146)Lunny Xiao2017-12-142-3/+10
| | | | | | * improvements for supporting UI Location * improved the comment
* Fix new pull request link (#3133)Ethan Koenig2017-12-131-1/+0
| | | | | | * Fix new pull request link * Only show button for branches
* Refactor struct's time to remove unnecessary memory usage (#3142)Lunny Xiao2017-12-114-13/+87
| | | | | | | | | | | | | | * refactor struct's time to remove unnecessary memory usage * use AsTimePtr simple code * fix tests * fix time compare * fix template on gpg * use AddDuration instead of Add
* Fix compile failed without gcc (#3130)Lunny Xiao2017-12-101-1/+0
| | | | | | * fix comile failed without gcc * add sqlite tag for unit test
* Improve LFS tests + fix lfs url refs + keep path upper/lowercase in db. (#3092)Antoine GIRARD2017-12-081-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | * Add failing test * Fix urls * Improve url in tests * improve testing * Remove debug code * Add deps * LFS corner-case : Search on lower but store with case * Temporary comment of blocking action * fix hooks * Use temporary repo for git client test * Use userPassword in place of hard-coded password
* Fix missing branch in release bug (#3108)Ethan Koenig2017-12-081-0/+10
|
* Fix legacy URL redirects (#3100)Ethan Koenig2017-12-071-1/+5
|
* fix redis cache failed (#3086)Lunny Xiao2017-12-041-1/+1
|
* Fix error message sanitiziation (#3082)Ethan Koenig2017-12-041-0/+48
|
* Add reactions to issues/PR and comments (#2856)Lauris BH2017-12-044-1/+29
|
* Minor copy changes (#3074)techknowlogick2017-12-031-1/+1
| | | | | | | | * Minor copy changes Fixes #3058 * Use TrN for translations that depend on count Fix minor type with branches count
* Fix avatar URLs (#3069)Ethan Koenig2017-12-033-23/+91
| | | | | | * Fix avatar URLs * import order
* Fix missing password length check when change password (#3039)Lunny Xiao2017-12-021-1/+3
| | | | | | * fix missing password length check when change password * add tests for change password
* Remove GetRepositoryByRef and add GetRepositoryByOwnerAndName (#3043)Lunny Xiao2017-12-022-17/+9
| | | | | | | | | | * remove GetRepositoryByRef and add GetRepositoryByOwnerAndName * fix tests * fix tests bug * some improvements
* Default log level to Info without hardcoding it in installer (#3041)Piotr Orzechowski2017-12-011-8/+9
|
* Unit tests for wiki routers (#3022)Ethan Koenig2017-11-301-16/+30
|