summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Changelog for 1.6.2 (#5567)v1.6.2techknowlogick2018-12-211-0/+14
|
* Immediate fix to htmlEncode user added text (#5575)techknowlogick2018-12-211-5/+9
| | | | | There are likely problems remaining with the way that initCommentForm is creating its elements. I suspect that a malformed avatar url could be used maliciously.
* backport 5571 (#5573)techknowlogick2018-12-212-1/+48
|
* fix indexer reindex bug when gitea restart (#5563) (#5564)Lunny Xiao2018-12-192-8/+19
| | | | | * fix issue indexer bug reindex when restart gitea * also fix code indexer reindex when gitea restart
* Backport #5537 Remove a double slash in the HTTPS redirect with Let's ↵Greg Karékinian2018-12-131-1/+4
| | | | | | | | | | | | | | | Encrypt (#5539) Before: $ curl 0.0.0.0:3001 <a href="https://gitea.example.com:3000//">Found</a>. After: $ curl 0.0.0.0:3001 <a href="https://gitea.example.com:3000/">Found</a>. Fixes #5536
* fix bug when a read perm user to edit his issue (#5516) (#5534)Lunny Xiao2018-12-121-3/+0
|
* fix detect force push failure on deletion of protected branches (#5522) (#5531)Lunny Xiao2018-12-121-12/+12
|
* Backported #5525 Fix the Let's Encrypt handler (#5527)Greg Karékinian2018-12-111-1/+7
| | | | | | | | | | | | | | | | | | * Fix the Let's Encrypt handler by listening on a valid address Also handle errors in the HTTP server go routine, return a fatal error when something goes wrong. Thanks to @gbl08ma for finding the actual bug Here is an example of the error handling: 2018/12/11 14:23:07 [....io/gitea/cmd/web.go:87 func1()] [E] Failed to start the Let's Encrypt handler on port 30: listen tcp 0.0.0.0:30: bind: permission denied Closes #5280 * Fix a typo
* fix forgot deletion of notification when delete repository (#5506) (#5514)Lunny Xiao2018-12-111-0/+1
|
* fix undeleted content when deleting user (#5509)Lunny Xiao2018-12-112-11/+18
|
* Fix empty wiki (#5504) (#5508)Lunny Xiao2018-12-101-1/+3
| | | | | * fix wiki page when wiki path is exist but empty * improve the error check
* Add 1.6.1 changelog (#5500)v1.6.1techknowlogick2018-12-091-0/+10
|
* fix topic name length on database (#5493) (#5495)Lunny Xiao2018-12-092-2/+2
|
* ensure that the `closed_at` is set for closed (#5450)romankl2018-12-021-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | right now the `closed_at` field for json responses is not filled during the `APIIssue` creation for api responses. For a closed issue you get a result like: ```json "state":"open","comments":0,"created_at":"2018-11-29T16:39:24+01:00", "updated_at":"2018-11-30T10:49:19+01:00","closed_at":null, "due_date":null,"pull_request":null} ``` which has no information about the closing date. (which exists in the db and ui) with this PR the result changes to this: ```json :null,"assignee":null,"assignees":null, "state":"closed", "comments":0,"created_at":"2018-11-29T16:43:05+01:00", "updated_at":"2018-12-02T19:17:05+01:00", "closed_at":"2018-12-02T19:17:05+01:00", "due_date":null,"pull_request":null} ``` fixes: https://github.com/go-gitea/gitea/issues/5446 Signed-off-by: Roman <romaaan.git@gmail.com>
* Admin should be able to delete repos even if he is not a member of the ↵Lanre Adelowo2018-12-021-1/+1
| | | | organization (#5443) (#5447)
* word-break the WebHook url to prevent a ui-break (#5445)romankl2018-12-021-1/+1
| | | | | | | | | | | | | | | right now, the url is displayed with an anchor tag with no classes. If the url is really really long, the url will break out of the containing div and (depending on the url length) the browser shows the horizontal scrollbar. This pr makes use of the already existing css class `dont-break-out` which gives all the anchor the necessary properties to prevent the break. Another solution could be to introduce some classes like `text text-break-word`, but that would duplicate the `dont-break-out` class just for text elements that use the `text` class. fixes: https://github.com/go-gitea/gitea/issues/5416 Signed-off-by: Roman <romaaan.git@gmail.com>
* Fix repository deletion when there is large number of issues in it (#5426) ↵Lunny Xiao2018-11-301-39/+40
| | | | (#5434)
* Fix dependent issue searching when gitea is run in subpath (#5392) (#5400)Lauris BH2018-11-252-2/+2
|
* Backported #5383 on v1.6: API: '/orgs/:org/repos': return private repos with ↵Daniel Balko2018-11-242-19/+46
| | | | | read access (#5310) (#3829) (#5393) Signed-off-by: Daniel Balko <inxonic+github@gmail.com>
* add changelog of v1.6.0 (#5379)v1.6.0Lunny Xiao2018-11-221-76/+77
| | | | | | * add changelog of v1.6.0 * improve changelog
* dont' send assign webhooks when creating issue (#5365) (#5369)Lunny Xiao2018-11-211-4/+5
|
* Migration fixes 5318 1.6 backport (#5355)Florian Eitel2018-11-182-1/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | * Remove field from migration to support upgrades from older version That will ensure the field does not get queried in the Select if it does not exist yet: ``` [I] [SQL] SELECT "id", "repo_id", "index", "poster_id", "name", "content", "milestone_id", "priority", "assignee_id", "is_closed", "is_pull", "num_comments", "ref", "deadline_unix", "created_unix", "updated_unix [...itea/routers/init.go:60 GlobalInit()] [E] Failed to initialize ORM engine: migrate: do migrate: pq: column "ref" does not exist ``` see #5318 * Skip remove stale watcher migration if not required Otherwise the migration will fail if executed from a older database version without multiple IssueWatch feature. ``` 2018/11/11 23:51:14 [I] [SQL] SELECT DISTINCT "issue_watch"."user_id", "issue"."repo_id" FROM "issue_watch" INNER JOIN issue ON issue_watch.issue_id = issue.id WHERE (issue_watch.is_watching = $1) LIMIT 50 []int [...itea/routers/init.go:60 GlobalInit()] [E] Failed to initialize ORM engine: migrate: do migrate: pq: relation "issue_watch" does not exist ``` see #5318
* Fix create team, update team missing units (#5188) (#5313)Lunny Xiao2018-11-117-2/+128
|
* Fix file edit change preview functionality (#5300) (#5311)Lauris BH2018-11-102-4/+2
|
* fix bug when users have serval teams with different units on different ↵Lunny Xiao2018-11-092-1/+11
| | | | repositories (#5307) (#5308)
* Fix U2F if gitea is configured in subpath (#5302) (#5306)Lauris BH2018-11-091-9/+9
|
* Fix markdown image with link (#4675) (#5299)Lauris BH2018-11-082-22/+21
| | | | | | | | | * Fix markdown image with link * Add gitea copyright notice * add a test for markdown image with link * remove svg related variables
* Add changelog for 1.5.3 release (#5227) (#5298)Lauris BH2018-11-081-0/+4
|
* Remove maxlines option for file logger (#5282) (#5287)Lauris BH2018-11-072-22/+3
|
* Backport fix broken translation (#5284)Lauris BH2018-11-071-1/+1
|
* 1.6.0-RC2 Changelog (#5275)v1.6.0-rc2techknowlogick2018-11-041-0/+17
|
* Backport #5250 on v1.6: Fix Issue 5249 and protect /api/v1/admin routes with ↵zeripath2018-11-045-10/+32
| | | | | | | | | | 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
* Backported wrong api request url for instances running in subfolders (#5247) ↵kolaente2018-11-031-1/+1
| | | | (#5261)
* fix: Accept web-command cli flags if web-command is commited (#5245)Peter Hoffmann2018-11-011-1/+1
| | | | | | | * 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>
* This commit will reduce join star, repo_topic, topic tables on repo search, ↵Lunny Xiao2018-10-312-36/+22
| | | | | | | 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
* fix data race on migrate repository (#5224) (#5230)Lunny Xiao2018-10-311-3/+8
|
* fix: Add secret to all webhook's payload where it has been missing (#5208)Peter Hoffmann2018-10-308-27/+75
| | | | | | | | | * 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
* fix sqlite lock (#5210) (#5223)Lunny Xiao2018-10-301-1/+1
|
* Update go-macaron/session to latest mast to fix RCE-bug (#5195)Kim "BKC" Carlbäcker2018-10-303-14/+23
|
* Fix race on updatesize (#5190) (#5215)Lunny Xiao2018-10-302-9/+10
| | | | | * fix race on updatesize * fix more repoPath
* fix to 3819 - Backport (#5219)Rodrigo Villablanca Vásquez2018-10-292-1/+3
|
* fix sqlite and mssql lock (#5214) (#5218)Lunny Xiao2018-10-291-12/+22
|
* Fix sqlite lock (#5176) (#5179)Lunny Xiao2018-10-253-5/+13
| | | | | * fix sqlite lock * fix sqlite lock on getUnitType
* Add comment replies (#5147)Jonas Franz2018-10-236-10/+14
| | | | | | | | | | * Add comment replies Signed-off-by: Jonas Franz <info@jonasfranz.software> * Use review.ID instead Signed-off-by: Jonas Franz <info@jonasfranz.software>
* Fix SQL quoting (#5137)Filip Navara2018-10-221-1/+1
| | | | | `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>
* Fix regex to support optional end line of old section in diff hunk (#5097)kolaente2018-10-181-9/+16
| | | + Named groups in reges for easier group parsing
* ZH-CN translation of Usage part (#5086)v1.6.0-rc1v1.6.0-devBetaCat2018-10-176-2/+188
|
* [skip ci] Updated translations via CrowdinGiteaBot2018-10-174-13/+437
|
* Add change log for 1.6.0-rc1 (#5095)Lunny Xiao2018-10-171-0/+135
| | | | | | * add change log for 1.6.0-rc1 * Fix some uppercases
* [skip ci] Updated translations via CrowdinGiteaBot2018-10-171-1/+1
|