Lauris BH
297e619074
Fix file edit change preview functionality ( #5300 ) ( #5311 )
2018-11-10 16:12:58 +02:00
e9b984e162
fix bug when users have serval teams with different units on different repositories ( #5307 ) ( #5308 )
2018-11-09 17:46:38 +08:00
Lauris BH
5995b65175
Fix U2F if gitea is configured in subpath ( #5302 ) ( #5306 )
2018-11-09 13:45:50 +08:00
Lauris BH
996ce8cc03
Fix markdown image with link ( #4675 ) ( #5299 )
...
* Fix markdown image with link
* Add gitea copyright notice
* add a test for markdown image with link
* remove svg related variables
2018-11-08 17:47:24 -05:00
Lauris BH
fe7cef0e1f
Add changelog for 1.5.3 release ( #5227 ) ( #5298 )
2018-11-08 17:20:10 -05:00
Lauris BH
464dcd1b66
Remove maxlines option for file logger ( #5282 ) ( #5287 )
2018-11-07 09:14:44 +02:00
Lauris BH
68938d5dc4
Backport fix broken translation ( #5284 )
2018-11-07 06:50:52 +02:00
techknowlogick
9c11fafdb0
1.6.0-RC2 Changelog ( #5275 )
v1.6.0-rc2
2018-11-04 17:07:08 -05:00
zeripath
c0bbbdd30b
Backport #5250 on v1.6: Fix Issue 5249 and protect /api/v1/admin routes with CSRF token ( #5272 )
...
* Add CSRF checking to reqToken and place CSRF in the post for deadline creation
Fixes #5226 , #5249
* /api/v1/admin/users routes should have reqToken middleware
2018-11-04 10:42:15 -05:00
kolaente
f95c966770
Backported wrong api request url for instances running in subfolders ( #5247 ) ( #5261 )
2018-11-03 17:43:11 -04:00
Peter Hoffmann
14a074f979
fix: Accept web-command cli flags if web-command is commited ( #5245 )
...
* Added flags of default cmd CmdWeb to app-wide flags
* If command *is* specified app-wide flags are ignored
Backport of #5200
Signed-off-by: Berengar W. Lehr <Berengar.Lehr@kompetenztest.de>
2018-11-01 11:24:23 -04:00
3786369356
This commit will reduce join star, repo_topic, topic tables on repo search, so that fix extra columns problem on mssql ( #5136 ) ( #5229 )
...
* This commit will reduce join star, repo_topic, topic tables on repo search, so that fix extra columns problem on mssql
* fix tests
2018-10-31 20:21:31 -04:00
79464216d9
fix data race on migrate repository ( #5224 ) ( #5230 )
2018-10-31 20:23:13 +08:00
Peter Hoffmann
e28801ff1a
fix: Add secret to all webhook's payload where it has been missing ( #5208 )
...
* Updated dependency manager via `dep ensure -update code.gitea.io/sdk`
* Gopkg.toml was not changed as sdk version is set to "master"
* affects webhooks for: Delete, Fork, IssueComment, Release
* also contains changes from go-gitea/go-sdk#125 and hence a swagger update
Signed-off-by: Berengar W. Lehr <Berengar.Lehr@kompetenztest.de>
Resolves : #4732 , #5173
2018-10-30 17:14:12 +02:00
478ba7f318
fix sqlite lock ( #5210 ) ( #5223 )
2018-10-30 14:21:55 +08:00
Kim "BKC" Carlbäcker
582213a858
Update go-macaron/session to latest mast to fix RCE-bug ( #5195 )
2018-10-30 13:36:50 +08:00
4d66de684f
Fix race on updatesize ( #5190 ) ( #5215 )
...
* fix race on updatesize
* fix more repoPath
2018-10-30 09:20:18 +08:00
Rodrigo Villablanca Vásquez
d220a3d772
fix to 3819 - Backport ( #5219 )
2018-10-29 15:56:21 -04:00
7022957b15
fix sqlite and mssql lock ( #5214 ) ( #5218 )
2018-10-29 14:10:50 -04:00
e7128e8c41
Fix sqlite lock ( #5176 ) ( #5179 )
...
* fix sqlite lock
* fix sqlite lock on getUnitType
2018-10-25 17:30:25 +03:00
Jonas Franz
274ff0d011
Add comment replies ( #5147 )
...
* Add comment replies
Signed-off-by: Jonas Franz <info@jonasfranz.software>
* Use review.ID instead
Signed-off-by: Jonas Franz <info@jonasfranz.software>
2018-10-23 10:38:06 -04:00
Filip Navara
7238bb329a
Fix SQL quoting ( #5137 )
...
`show` is keyword in MySQL and has to be quoted to reference a column name. Use grave accents (ASCII code 96) for quoting to match rest of the source code. It's non-standard SQL, but it's supported by SQLite and MySQL.
Signed-off-by: Filip Navara <navara@emclient.com>
2018-10-22 14:46:47 -04:00
kolaente
49d666f99a
Fix regex to support optional end line of old section in diff hunk ( #5097 )
...
+ Named groups in reges for easier group parsing
2018-10-18 09:57:35 +08:00
BetaCat
1972383216
ZH-CN translation of Usage part ( #5086 )
v1.6.0-rc1
v1.6.0-dev
2018-10-17 14:19:04 -04:00
GiteaBot
25def0a808
[skip ci] Updated translations via Crowdin
2018-10-17 17:07:45 +00:00
cc63985876
Add change log for 1.6.0-rc1 ( #5095 )
...
* add change log for 1.6.0-rc1
* Fix some uppercases
2018-10-17 19:05:49 +02:00
GiteaBot
8683c72483
[skip ci] Updated translations via Crowdin
2018-10-17 11:23:21 +00:00
BetaCat
4cdab02273
ZH-CN translation of Advanced part ( #5090 )
2018-10-17 14:21:20 +03:00
Lauris BH
34695f460a
Update process to include tag vX.Y.0-dev on master branch ( #5091 )
2018-10-16 22:50:11 +02:00
BetaCat
4090204944
CN translation of README ( #5050 )
2018-10-15 12:13:21 +08:00
970c690681
fix release creation via API ( #5076 )
...
* fix release creation via API
* fix release create tests
2018-10-15 06:52:52 +03:00
Lauris BH
0cd8cecdf8
Fix dep for actual goth version used in dep lock file ( #5078 )
2018-10-12 23:49:27 +03:00
Lauris BH
c42b366f0e
Fix golint to new URL ( #5079 )
2018-10-12 23:01:41 +03:00
SagePtr
c0b2c8a5d6
Fixed spelling typos in CONTRIBUTING.md ( #5061 )
2018-10-10 10:13:34 -04:00
techknowlogick
1ecf92ade2
Add HOWTO for releasing Gitea ( #5054 )
...
* Add HOWTO for releasing Gitea
Used instructions from: https://github.com/go-gitea/gitea/pull/2609#issuecomment-352159155
* Update CONTRIBUTING.md
2018-10-10 00:08:59 +03:00
techknowlogick
f44d066876
Backport 1.5.2 changelog ( #5053 )
2018-10-09 12:29:08 -04:00
Lauris BH
fb3954f9a5
Fix adding review comment in split view ( #5038 )
2018-10-09 08:46:23 +08:00
SagePtr
6df46c50b1
Remove links from topics in edit mode ( #5026 )
2018-10-06 17:20:48 -04:00
SagePtr
378af8ea88
Fix missing AppSubUrl in few more templates ( #5021 )
2018-10-05 19:41:09 -04:00
SagePtr
c6daee6da6
Fix missing AppSubUrl in some templates ( #5020 )
2018-10-05 20:22:33 +03:00
Jonas Franz
94cd7bb25b
Hide outdated comments in file view ( #5017 )
...
* Hide outdated comments in file view
Signed-off-by: Jonas Franz <info@jonasfranz.software>
* Add unit test by adding "invalidated" comment to fixtures
Signed-off-by: Jonas Franz <info@jonasfranz.software>
2018-10-05 11:49:30 -04:00
Chih-Hsuan Yen
d7ca839c67
Fix a typo in app.ini.sample ( #5015 )
2018-10-05 11:06:47 +02:00
Dane
513db27377
Add missing envionment vars for DB with Docker ( #5007 )
...
Current docs demonstrate how to configure a database container but don't
explicitly specify that you should add additional environment variables
to the Gitea container to make it use the database. This just
demonstrates the changes required.
Signed-off-by: Dane Elwell <dane.elwell@ukfast.co.uk>
2018-10-03 17:16:48 +03:00
AJ ONeal
2b8dc17db7
README: update make command to build full release ( #5004 )
...
* update make command to build full release
* use quoted TAGS
`TAGS=bindata` => `TAGS="bindata"`
2018-10-03 08:33:46 +02:00
GiteaBot
2e2eacf62a
[skip ci] Updated translations via Crowdin
2018-10-02 19:22:42 +00:00
Mura Li
dba955be7c
Upgrade gopkg.in/testfixtures.v2 ( #4999 )
2018-10-02 15:20:02 -04:00
GiteaBot
b8d048fa0d
[skip ci] Updated translations via Crowdin
2018-09-29 22:45:10 +00:00
Lauris BH
ab5b245182
Disable debug routes unless PPROF is enabled in configuration ( #4995 )
2018-09-29 18:44:06 -04:00
SagePtr
fc0001caa1
Fix #rrggbbaa color to rgba for better browser compatibility ( #4990 )
2018-09-29 12:57:32 +03:00
Lauris BH
81702e6ec9
Detect charset and convert non UTF-8 files for display ( #4950 )
...
* Detect charset and convert non UTF-8 files for display
* Refactor and move function to correct module
* Revert unrelated changes
* More unrelated changes
* Duplicate content for small text to have better encoding detection
* Check if original content is valid before duplicating it
2018-09-29 16:33:54 +08:00