aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* move code.gitea.io/git to code.gitea.io/gitea/modules/git (#6364)Lunny Xiao2019-03-27174-145/+3044
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * move code.gitea.io/git to code.gitea.io/gitea/modules/git * fix imports * fix fmt * fix misspell * remove wrong tests data * fix unit tests * fix tests * fix tests * fix tests * fix tests * fix tests * enable Debug to trace the failure tests * fix tests * fix tests * fix tests * fix tests * fix tests * comment commit count tests since git clone depth is 50 * fix tests * update from code.gitea.io/git * revert change to makefile
* Clean up ref name rules (#6437)mrsdizzie2019-03-264-4/+132
| | | | | | | | | | | | | | | | | * Clean up ref name rules Clean up checks on reference names to better conform to the guideline here: https://git-scm.com/docs/git-check-ref-format This fixes half of #6321 * Update branch create integration test According to: https://git-scm.com/docs/git-check-ref-format And: git check-ref-format "master/feature=test1" This is a valid branch name and we should not be testing for it to fail.
* Fix Hook & HookList in Swagger (#6432)Segev Finer2019-03-262-7/+48
| | | Signed-off-by: Segev Finer <segev@codeocean.com>
* Add signatures to webhooks (#6428)techknowlogick2019-03-251-0/+19
|
* routers/repo/setting: display correct error for invalid mirror interval (#6414)Allen Wild2019-03-251-0/+10
| | | | | | | | | | | Set Err_Interval in the context data so that the mirror interval box is highlighted red as expected. Clear Err_RepoName for the mirror and advanced actions. repo_name is not set by these forms, causing auth.validate() to set the Err_RepoName before SettingsPost is called, which would lead to the repository name box getting erroneously highlighted red. Fixes: https://github.com/go-gitea/gitea/issues/6396
* optimize all images in public/img (#6427)silverwind2019-03-2515-5/+6
| | | Fixes: https://github.com/go-gitea/gitea/pull/6357
* Fixed unitTypeCode not being used (#6419)kolaente2019-03-241-1/+1
|
* [skip ci] Updated translations via CrowdinGiteaBot2019-03-221-0/+10
|
* Updates SDK dep (#6406)Richard Mahn2019-03-226-11/+111
|
* improve zh-cn comparison docs (#6336)Lunny Xiao2019-03-211-1/+3
|
* Markdown: enable some more extensions (#6362)Roland Koebler2019-03-213-6/+74
| | | | | | | | | | | | | | * Markdown: enable some more extensions Improve Markdown-rendering by enabling some extensions: - enable definitions lists - enable footnotes - enable header-ids and automatically generate header-ids (for linking to README-sections or creating table-of-contents for larger READMEs) * Markdown: update and exted tests Update and add tests for additionally enabled Markdown-extensions.
* Don't Unescape redirect_to cookie value (#6399)mrsdizzie2019-03-202-6/+5
| | | | | | | redirect_to holds a value that we want to redirect back to after login. This value can be a path with intentonally escaped values and we should not unescape it. Fixes #4475
* [skip ci] Updated translations via CrowdinGiteaBot2019-03-214-1/+84
|
* fix dump table name error and add some test for dump database (#6394)Lunny Xiao2019-03-203-3/+21
|
* [skip ci] Updated translations via CrowdinGiteaBot2019-03-201-0/+6
|
* fix migrations 82 to ignore unsynced tags between database and git data and ↵Lunny Xiao2019-03-201-6/+40
| | | | missing is_archived on repository table (#6387)
* Show locale string on timestamp (#6324)NateScarlet2019-03-201-0/+4
| | | Resolve #6004
* Include more variables on admin/config page (#6378)mrsdizzie2019-03-193-0/+28
| | | | | | | | | | Include the current CustomPath location in the admin section and also display GITEA_WORK_DIR and/or GITEA_CUSTOM env var if they are set. Right now there is no easy way to see this information, and if you try and help most users they won't be able to tell you anything about these values -- just that their custom template isn't working, files aren't in the right place, etc... Now you can see all paths and if they were set by ENV or not.
* make sure units of a team are returned (#6379)Lanre Adelowo2019-03-192-0/+10
|
* [skip ci] Updated translations via CrowdinGiteaBot2019-03-193-0/+16
|
* fix bug manifest.json will not request with cookie so that session will ↵Lunny Xiao2019-03-191-1/+1
| | | | created every request (#6372)
* [skip ci] Updated translations via CrowdinGiteaBot2019-03-1929-0/+29
|
* Disable benchmarking during tag events on DroneIO (#6365)techknowlogick2019-03-191-35/+35
|
* Implement Default Webhooks (#4299)Russell Aunger2019-03-1818-39/+252
| | | | | | | | Partially implement #770. Add "Default Webhooks" page in site admin UI. Persist to the existing webhooks table, but store with RepoID=0 and OrgID=0. Upon repo creation, copy the set of default webhooks into the new repo.
* Updates to API 404 responses (#6077)John Olheiser2019-03-1830-91/+120
|
* Make the version within makefile overwriteable (#6080)techknowlogick2019-03-181-2/+2
| | | Fix #1173
* Add title attributes to all items in the repo list viewer (#6258)John Olheiser2019-03-181-2/+2
|
* Add bio field for user (#6113)techknowlogick2019-03-186-6/+19
| | | | Fix #4339
* Include repo name in page title tag (#6343)mrsdizzie2019-03-181-1/+1
| | | Fixes #6265
* 1.8.0-rc1 changelog (#6363)v1.9.0-devtechknowlogick2019-03-181-1/+207
|
* Clean up various use of escape/unescape functions for URL generation (#6334)mrsdizzie2019-03-1812-68/+80
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Use PathUnescape instead of QueryUnescape when working with branch names Currently branch names with a '+' fail in certain situations because QueryUnescape replaces the + character with a blank space. Using PathUnescape should be better since it is defined as: // PathUnescape is identical to QueryUnescape except that it does not // unescape '+' to ' ' (space). Fixes #6333 * Change error to match new function name * Add new util function PathEscapeSegments This function simply runs PathEscape on each segment of a path without touching the forward slash itself. We want to use this instead of PathEscape/QueryEscape in most cases because a forward slash is a valid name for a branch etc... and we don't want that escaped in a URL. Putting this in new file url.go and also moving a couple similar functions into that file as well. * Use EscapePathSegments where appropriate Replace various uses of EscapePath/EscapeQuery with new EscapePathSegments. Also remove uncessary uses of various escape/unescape functions when the text had already been escaped or was not escaped. * Reformat comment to make drone build happy * Remove no longer used url library * Requested code changes
* Fix headline (#6353)Sandro Jäckel2019-03-181-1/+1
|
* [skip ci] Updated translations via CrowdinGiteaBot2019-03-181-0/+33
|
* Add lang specific font stacks for CJK (#6007)zeripath2019-03-1824-20/+139
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add lang specific font stacks * Force font changes Signed-off-by: Andrew Thornton <art27@cantab.net> * Fix icons Signed-off-by: Andrew Thornton <art27@cantab.net> * Fix octicons and icons Signed-off-by: Andrew Thornton <art27@cantab.net> * Just override the semantic ui fonts only Signed-off-by: Andrew Thornton <art27@cantab.net> * Missed the headers... override them too * Missed some more semantic ui stuff * Fix PT Sans Signed-off-by: Andrew Thornton <art27@cantab.net> * More changes Signed-off-by: Andrew Thornton <art27@cantab.net> * Squashed commit of the following: commit 7d1679e9079541359869c9e677ba7412bfcc59f3 Author: Mike L <cl.jeremy@qq.com> Date: Wed Mar 13 13:53:49 2019 +0100 Remove missed YaHei leftover from _home.less commit 0079121ea91860a323ed4e5cc1a9c0d490d9cefd Author: Mike L <cl.jeremy@qq.com> Date: Wed Mar 13 12:03:54 2019 +0100 Fix overdone fixes (inherit, :lang) commit 62c919915928ec1db4731d547e95885f91a0618d Author: Mike L <cl.jeremy@qq.com> Date: Wed Mar 13 02:29:10 2019 +0100 Fix elements w/ explicit lang (language chooser) commit b3117587aa2eb8570d60bed583a11ee5565418be Author: Mike L <cl.jeremy@qq.com> Date: Tue Mar 12 20:17:26 2019 +0100 Fix textarea also (to match body) commit 81cedf2c3012c4dd05a7680782b4a98e1b947f67 Author: Mike L <cl.jeremy@qq.com> Date: Tue Mar 12 19:41:39 2019 +0100 Revert css temporarily to fix conflict commit 80ff82797f3203cbeaf866f22e961334e137df89 Author: Mike L <cl.jeremy@qq.com> Date: Tue Mar 12 19:15:30 2019 +0100 Tweak CJK, fix Yu Gothic, more monospace inherits commit 581dceb9a869646c2c486dabb925c88c2680d70c Author: Mike L <cl.jeremy@qq.com> Date: Mon Mar 11 13:09:26 2019 +0100 Add Lato for latin extd. & cyrillic, improve CJK * update stylesheet
* fix testing instructions in CONTRIBUTING.md (#6305)stevegt2019-03-181-9/+20
| | | | | | | | | | | | | | | | | * add scripts/test-local.sh and fix CONTRIBUTING.md - fixes #6243 - partial fix for #6269 Signed-off-by: Steve Traugott <stevegt@t7a.org> * remove reference to possible automated drone run * remove bash version of drone-cli test script * fix issue number links in testing instructions * remove scripts/test-local.sh
* [skip ci] Updated translations via CrowdinGiteaBot2019-03-171-1/+1
|
* Add test environment for Mysql8 (#5234)Lunny Xiao2019-03-174-4/+120
|
* More specific declaration of search disk space (#6338)Thomas McWork2019-03-161-1/+1
| | | Elaborate more on the code search storage space requirement
* split setting.go to multiple files (#6154)Lunny Xiao2019-03-165-348/+433
| | | | | | * split setting.go to multiple files * fix lint
* Request to join the maintainers (#6340)Richard Mahn2019-03-151-0/+1
|
* use updated reference of xgo in makefile (#6339)techknowlogick2019-03-151-3/+3
|
* Add way to force checkout (#6322)John Olheiser2019-03-151-1/+8
|
* Add same changes from issues page to milestone->issues page (#6328)John Olheiser2019-03-154-11/+35
|
* Return 409 when creating repo if it already exists. (#6330)Bogdan Petrea2019-03-152-2/+74
|
* Fix ParsePatch function to work with quoted diff --git strings (#6323)mrsdizzie2019-03-142-0/+65
| | | | | | | | | | | | | | | | * Fix ParsePatch to work properly with quoted diff --git string Currently ParsePatch fails when a diff contains a quoted diff line like: diff --git "a/file" "b/file" This patch makes it properly parse the line when that happens. Fixes #6309 * Add test for regular case while here * Simplify string modification
* Add InternalTokenURI to load InteralToken from an external file (#5812)techknowlogick2019-03-131-25/+73
|
* backport 1.7.4 changelog (#6317)techknowlogick2019-03-131-0/+9
|
* Use correct remote on Windows (#6313)John Olheiser2019-03-121-1/+1
|
* Fix reported issue in repo description (#6306)zeripath2019-03-112-3/+53
|
* Use url.PathEscape to escape the branchname (#6304)zeripath2019-03-122-2/+4
| | | | | | * Use url.PathEscape to escape the branchname * GetRepositoryByOwnerAndName should also have url.PathEscape as the owner and reponame are provided by the client