]> source.dussan.org Git - gitea.git/log
gitea.git
5 years agobackport 5571 (#5573)
techknowlogick [Fri, 21 Dec 2018 08:22:56 +0000 (03:22 -0500)]
backport 5571 (#5573)

5 years agofix indexer reindex bug when gitea restart (#5563) (#5564)
Lunny Xiao [Wed, 19 Dec 2018 14:51:53 +0000 (22:51 +0800)]
fix indexer reindex bug when gitea restart (#5563) (#5564)

* fix issue indexer bug reindex when restart gitea

* also fix code indexer reindex when gitea restart

5 years agoBackport #5537 Remove a double slash in the HTTPS redirect with Let's Encrypt (#5539)
Greg Karékinian [Thu, 13 Dec 2018 15:42:38 +0000 (16:42 +0100)]
Backport #5537 Remove a double slash in the HTTPS redirect with Let's 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

5 years agofix bug when a read perm user to edit his issue (#5516) (#5534)
Lunny Xiao [Wed, 12 Dec 2018 17:37:22 +0000 (01:37 +0800)]
fix bug when a read perm user to edit his issue (#5516) (#5534)

5 years agofix detect force push failure on deletion of protected branches (#5522) (#5531)
Lunny Xiao [Wed, 12 Dec 2018 14:49:47 +0000 (22:49 +0800)]
fix detect force push failure on deletion of protected branches (#5522) (#5531)

5 years agoBackported #5525 Fix the Let's Encrypt handler (#5527)
Greg Karékinian [Tue, 11 Dec 2018 18:34:35 +0000 (19:34 +0100)]
Backported #5525 Fix the Let's Encrypt handler (#5527)

* 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

5 years agofix forgot deletion of notification when delete repository (#5506) (#5514)
Lunny Xiao [Tue, 11 Dec 2018 11:09:53 +0000 (19:09 +0800)]
fix forgot deletion of notification when delete repository (#5506) (#5514)

5 years agofix undeleted content when deleting user (#5509)
Lunny Xiao [Tue, 11 Dec 2018 02:33:20 +0000 (10:33 +0800)]
fix undeleted content when deleting user (#5509)

5 years agoFix empty wiki (#5504) (#5508)
Lunny Xiao [Mon, 10 Dec 2018 20:37:56 +0000 (04:37 +0800)]
Fix empty wiki (#5504) (#5508)

* fix wiki page when wiki path is exist but empty

* improve the error check

5 years agoAdd 1.6.1 changelog (#5500) v1.6.1
techknowlogick [Sun, 9 Dec 2018 13:06:16 +0000 (08:06 -0500)]
Add 1.6.1 changelog (#5500)

5 years agofix topic name length on database (#5493) (#5495)
Lunny Xiao [Sun, 9 Dec 2018 00:57:49 +0000 (08:57 +0800)]
fix topic name length on database (#5493) (#5495)

5 years agoensure that the `closed_at` is set for closed (#5450)
romankl [Sun, 2 Dec 2018 22:50:47 +0000 (23:50 +0100)]
ensure that the `closed_at` is set for closed (#5450)

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>
5 years agoAdmin should be able to delete repos even if he is not a member of the organization...
Lanre Adelowo [Sun, 2 Dec 2018 18:07:20 +0000 (19:07 +0100)]
Admin should be able to delete repos even if he is not a member of the organization (#5443) (#5447)

5 years agoword-break the WebHook url to prevent a ui-break (#5445)
romankl [Sun, 2 Dec 2018 15:47:45 +0000 (16:47 +0100)]
word-break the WebHook url to prevent a ui-break (#5445)

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>
5 years agoFix repository deletion when there is large number of issues in it (#5426) (#5434)
Lunny Xiao [Fri, 30 Nov 2018 14:38:35 +0000 (22:38 +0800)]
Fix repository deletion when there is large number of issues in it (#5426) (#5434)

5 years agoFix dependent issue searching when gitea is run in subpath (#5392) (#5400)
Lauris BH [Mon, 26 Nov 2018 00:27:17 +0000 (02:27 +0200)]
Fix dependent issue searching when gitea is run in subpath (#5392) (#5400)

5 years agoBackported #5383 on v1.6: API: '/orgs/:org/repos': return private repos with read...
Daniel Balko [Sat, 24 Nov 2018 11:14:27 +0000 (12:14 +0100)]
Backported #5383 on v1.6: API: '/orgs/:org/repos': return private repos with read access (#5310) (#3829) (#5393)

Signed-off-by: Daniel Balko <inxonic+github@gmail.com>
5 years agoadd changelog of v1.6.0 (#5379) v1.6.0
Lunny Xiao [Fri, 23 Nov 2018 03:53:58 +0000 (11:53 +0800)]
add changelog of v1.6.0 (#5379)

* add changelog of v1.6.0

* improve changelog

5 years agodont' send assign webhooks when creating issue (#5365) (#5369)
Lunny Xiao [Wed, 21 Nov 2018 15:12:17 +0000 (23:12 +0800)]
dont' send assign webhooks when creating issue (#5365) (#5369)

5 years agoMigration fixes 5318 1.6 backport (#5355)
Florian Eitel [Sun, 18 Nov 2018 20:34:14 +0000 (21:34 +0100)]
Migration fixes 5318 1.6 backport (#5355)

* 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

5 years agoFix create team, update team missing units (#5188) (#5313)
Lunny Xiao [Sun, 11 Nov 2018 17:43:56 +0000 (01:43 +0800)]
Fix create team, update team missing units (#5188) (#5313)

5 years agoFix file edit change preview functionality (#5300) (#5311)
Lauris BH [Sat, 10 Nov 2018 14:12:58 +0000 (16:12 +0200)]
Fix file edit change preview functionality (#5300) (#5311)

5 years agofix bug when users have serval teams with different units on different repositories...
Lunny Xiao [Fri, 9 Nov 2018 09:46:38 +0000 (17:46 +0800)]
fix bug when users have serval teams with different units on different repositories (#5307) (#5308)

5 years agoFix U2F if gitea is configured in subpath (#5302) (#5306)
Lauris BH [Fri, 9 Nov 2018 05:45:50 +0000 (07:45 +0200)]
Fix U2F if gitea is configured in subpath (#5302) (#5306)

5 years agoFix markdown image with link (#4675) (#5299)
Lauris BH [Thu, 8 Nov 2018 22:47:24 +0000 (00:47 +0200)]
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

5 years agoAdd changelog for 1.5.3 release (#5227) (#5298)
Lauris BH [Thu, 8 Nov 2018 22:20:10 +0000 (00:20 +0200)]
Add changelog for 1.5.3 release (#5227) (#5298)

5 years agoRemove maxlines option for file logger (#5282) (#5287)
Lauris BH [Wed, 7 Nov 2018 07:14:44 +0000 (09:14 +0200)]
Remove maxlines option for file logger (#5282) (#5287)

5 years agoBackport fix broken translation (#5284)
Lauris BH [Wed, 7 Nov 2018 04:50:52 +0000 (06:50 +0200)]
Backport fix broken translation (#5284)

5 years ago1.6.0-RC2 Changelog (#5275) v1.6.0-rc2
techknowlogick [Sun, 4 Nov 2018 22:07:08 +0000 (17:07 -0500)]
1.6.0-RC2 Changelog (#5275)

5 years agoBackport #5250 on v1.6: Fix Issue 5249 and protect /api/v1/admin routes with CSRF...
zeripath [Sun, 4 Nov 2018 15:42:15 +0000 (15:42 +0000)]
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

5 years agoBackported wrong api request url for instances running in subfolders (#5247) (#5261)
kolaente [Sat, 3 Nov 2018 21:43:11 +0000 (22:43 +0100)]
Backported wrong api request url for instances running in subfolders (#5247) (#5261)

5 years agofix: Accept web-command cli flags if web-command is commited (#5245)
Peter Hoffmann [Thu, 1 Nov 2018 15:24:23 +0000 (16:24 +0100)]
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>
5 years agoThis commit will reduce join star, repo_topic, topic tables on repo search, so that...
Lunny Xiao [Thu, 1 Nov 2018 00:21:31 +0000 (08:21 +0800)]
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

5 years agofix data race on migrate repository (#5224) (#5230)
Lunny Xiao [Wed, 31 Oct 2018 12:23:13 +0000 (20:23 +0800)]
fix data race on migrate repository (#5224) (#5230)

5 years agofix: Add secret to all webhook's payload where it has been missing (#5208)
Peter Hoffmann [Tue, 30 Oct 2018 15:14:12 +0000 (16:14 +0100)]
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

5 years agofix sqlite lock (#5210) (#5223)
Lunny Xiao [Tue, 30 Oct 2018 06:21:55 +0000 (14:21 +0800)]
fix sqlite lock (#5210) (#5223)

5 years agoUpdate go-macaron/session to latest mast to fix RCE-bug (#5195)
Kim "BKC" Carlbäcker [Tue, 30 Oct 2018 05:36:50 +0000 (06:36 +0100)]
Update go-macaron/session to latest mast to fix RCE-bug (#5195)

5 years agoFix race on updatesize (#5190) (#5215)
Lunny Xiao [Tue, 30 Oct 2018 01:20:18 +0000 (09:20 +0800)]
Fix race on updatesize (#5190) (#5215)

* fix race on updatesize

* fix more repoPath

5 years agofix to 3819 - Backport (#5219)
Rodrigo Villablanca Vásquez [Mon, 29 Oct 2018 19:56:21 +0000 (16:56 -0300)]
fix to 3819 - Backport (#5219)

5 years agofix sqlite and mssql lock (#5214) (#5218)
Lunny Xiao [Mon, 29 Oct 2018 18:10:51 +0000 (02:10 +0800)]
fix sqlite and mssql lock (#5214) (#5218)

5 years agoFix sqlite lock (#5176) (#5179)
Lunny Xiao [Thu, 25 Oct 2018 14:30:25 +0000 (22:30 +0800)]
Fix sqlite lock (#5176) (#5179)

* fix sqlite lock

* fix sqlite lock on getUnitType

5 years agoAdd comment replies (#5147)
Jonas Franz [Tue, 23 Oct 2018 14:38:06 +0000 (16:38 +0200)]
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>
5 years agoFix SQL quoting (#5137)
Filip Navara [Mon, 22 Oct 2018 18:46:47 +0000 (20:46 +0200)]
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>
6 years agoFix regex to support optional end line of old section in diff hunk (#5097)
kolaente [Thu, 18 Oct 2018 01:57:35 +0000 (03:57 +0200)]
Fix regex to support optional end line of old section in diff hunk (#5097)

+ Named groups in reges for easier group parsing

6 years agoZH-CN translation of Usage part (#5086) v1.6.0-dev v1.6.0-rc1
BetaCat [Wed, 17 Oct 2018 18:19:04 +0000 (02:19 +0800)]
ZH-CN translation of Usage part (#5086)

6 years ago[skip ci] Updated translations via Crowdin
GiteaBot [Wed, 17 Oct 2018 17:07:45 +0000 (17:07 +0000)]
[skip ci] Updated translations via Crowdin

6 years agoAdd change log for 1.6.0-rc1 (#5095)
Lunny Xiao [Wed, 17 Oct 2018 17:05:49 +0000 (01:05 +0800)]
Add change log for 1.6.0-rc1 (#5095)

* add change log for 1.6.0-rc1

* Fix some uppercases

6 years ago[skip ci] Updated translations via Crowdin
GiteaBot [Wed, 17 Oct 2018 11:23:21 +0000 (11:23 +0000)]
[skip ci] Updated translations via Crowdin

6 years agoZH-CN translation of Advanced part (#5090)
BetaCat [Wed, 17 Oct 2018 11:21:20 +0000 (19:21 +0800)]
ZH-CN translation of Advanced part (#5090)

6 years agoUpdate process to include tag vX.Y.0-dev on master branch (#5091)
Lauris BH [Tue, 16 Oct 2018 20:50:11 +0000 (23:50 +0300)]
Update process to include tag vX.Y.0-dev on master branch (#5091)

6 years agoCN translation of README (#5050)
BetaCat [Mon, 15 Oct 2018 04:13:21 +0000 (12:13 +0800)]
CN translation of README (#5050)

6 years agofix release creation via API (#5076)
Lunny Xiao [Mon, 15 Oct 2018 03:52:52 +0000 (11:52 +0800)]
fix release creation via API (#5076)

* fix release creation via API

* fix release create tests

6 years agoFix dep for actual goth version used in dep lock file (#5078)
Lauris BH [Fri, 12 Oct 2018 20:49:27 +0000 (23:49 +0300)]
Fix dep for actual goth version used in dep lock file (#5078)

6 years agoFix golint to new URL (#5079)
Lauris BH [Fri, 12 Oct 2018 20:01:41 +0000 (23:01 +0300)]
Fix golint to new URL (#5079)

6 years agoFixed spelling typos in CONTRIBUTING.md (#5061)
SagePtr [Wed, 10 Oct 2018 14:13:34 +0000 (16:13 +0200)]
Fixed spelling typos in CONTRIBUTING.md (#5061)

6 years agoAdd HOWTO for releasing Gitea (#5054)
techknowlogick [Tue, 9 Oct 2018 21:08:59 +0000 (17:08 -0400)]
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

6 years agoBackport 1.5.2 changelog (#5053)
techknowlogick [Tue, 9 Oct 2018 16:29:08 +0000 (12:29 -0400)]
Backport 1.5.2 changelog (#5053)

6 years agoFix adding review comment in split view (#5038)
Lauris BH [Tue, 9 Oct 2018 00:46:23 +0000 (03:46 +0300)]
Fix adding review comment in split view (#5038)

6 years agoRemove links from topics in edit mode (#5026)
SagePtr [Sat, 6 Oct 2018 21:20:48 +0000 (23:20 +0200)]
Remove links from topics in edit mode (#5026)

6 years agoFix missing AppSubUrl in few more templates (#5021)
SagePtr [Fri, 5 Oct 2018 23:41:09 +0000 (01:41 +0200)]
Fix missing AppSubUrl in few more templates (#5021)

6 years agoFix missing AppSubUrl in some templates (#5020)
SagePtr [Fri, 5 Oct 2018 17:22:33 +0000 (19:22 +0200)]
Fix missing AppSubUrl in some templates (#5020)

6 years agoHide outdated comments in file view (#5017)
Jonas Franz [Fri, 5 Oct 2018 15:49:30 +0000 (17:49 +0200)]
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>
6 years agoFix a typo in app.ini.sample (#5015)
Chih-Hsuan Yen [Fri, 5 Oct 2018 09:06:47 +0000 (17:06 +0800)]
Fix a typo in app.ini.sample (#5015)

6 years agoAdd missing envionment vars for DB with Docker (#5007)
Dane [Wed, 3 Oct 2018 14:16:48 +0000 (15:16 +0100)]
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>
6 years agoREADME: update make command to build full release (#5004)
AJ ONeal [Wed, 3 Oct 2018 06:33:46 +0000 (00:33 -0600)]
README: update make command to build full release (#5004)

* update make command to build full release

* use quoted TAGS

`TAGS=bindata` => `TAGS="bindata"`

6 years ago[skip ci] Updated translations via Crowdin
GiteaBot [Tue, 2 Oct 2018 19:22:42 +0000 (19:22 +0000)]
[skip ci] Updated translations via Crowdin

6 years agoUpgrade gopkg.in/testfixtures.v2 (#4999)
Mura Li [Tue, 2 Oct 2018 19:20:02 +0000 (03:20 +0800)]
Upgrade gopkg.in/testfixtures.v2 (#4999)

6 years ago[skip ci] Updated translations via Crowdin
GiteaBot [Sat, 29 Sep 2018 22:45:10 +0000 (22:45 +0000)]
[skip ci] Updated translations via Crowdin

6 years agoDisable debug routes unless PPROF is enabled in configuration (#4995)
Lauris BH [Sat, 29 Sep 2018 22:44:06 +0000 (01:44 +0300)]
Disable debug routes unless PPROF is enabled in configuration (#4995)

6 years agoFix #rrggbbaa color to rgba for better browser compatibility (#4990)
SagePtr [Sat, 29 Sep 2018 09:57:32 +0000 (11:57 +0200)]
Fix #rrggbbaa color to rgba for better browser compatibility (#4990)

6 years agoDetect charset and convert non UTF-8 files for display (#4950)
Lauris BH [Sat, 29 Sep 2018 08:33:54 +0000 (11:33 +0300)]
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

6 years agoFix layout of the topics editing form (#4971)
Iwasa Kazmi [Sat, 29 Sep 2018 06:28:47 +0000 (15:28 +0900)]
Fix layout of the topics editing form (#4971)

* Fix layout of the topic edit.

- made right-hand column wider so that it has enough space for "Done" button.

- fixed issue that jQuery's .show() breaks functionality of the Semantic UI Grid.

* Improve switching visibility of the topic edit

Changes to support old browsers that doesn't support 'flex' keyword.

- Removed style "display: none" from index.css so that
  the grid can be displayed without specifying new "display" style.

- Added style "display:none" to the grid element in HTML template
  as the initial style.

- In index.js, visibility of the grid element is changed by
  set "display:none" style to the element or removing it from the element.

6 years agomake sure milestone listing is consistent across board (#4987)
Lanre Adelowo [Fri, 28 Sep 2018 03:59:46 +0000 (04:59 +0100)]
make sure milestone listing is consistent across board (#4987)

6 years agoFix user menu item styling (#4985)
silverwind [Thu, 27 Sep 2018 20:58:38 +0000 (22:58 +0200)]
Fix user menu item styling (#4985)

6 years ago[skip ci] Updated translations via Crowdin
GiteaBot [Thu, 27 Sep 2018 00:51:27 +0000 (00:51 +0000)]
[skip ci] Updated translations via Crowdin

6 years agoAdjust maintainers (#4979)
flufmonster [Thu, 27 Sep 2018 00:50:10 +0000 (20:50 -0400)]
Adjust maintainers (#4979)

6 years ago[skip ci] Updated translations via Crowdin
GiteaBot [Tue, 25 Sep 2018 12:37:54 +0000 (12:37 +0000)]
[skip ci] Updated translations via Crowdin

6 years agoFix preview when adding new code review comment (#4975)
Lauris BH [Tue, 25 Sep 2018 12:36:45 +0000 (15:36 +0300)]
Fix preview when adding new code review comment (#4975)

6 years agoUpdate Swagger API to match the return of /users/search (#4847)
zeripath [Fri, 21 Sep 2018 08:56:26 +0000 (09:56 +0100)]
Update Swagger API to match the return of /users/search (#4847)

Signed-off-by: Andrew Thornton <art27@cantab.net>
6 years agoADD: Hint to function of docker version tags (#4967)
Wyall [Fri, 21 Sep 2018 01:43:31 +0000 (03:43 +0200)]
ADD: Hint to function of docker version tags (#4967)

I wasn't sure about how tags work, maybe this is interesting for people with less knowledge of docker.

6 years agoFix #4877 to follow the OpenID Connect Audiences spec (#4878)
OvermindDL1 [Thu, 20 Sep 2018 19:17:34 +0000 (13:17 -0600)]
Fix #4877 to follow the OpenID Connect Audiences spec (#4878)

Signed-off-by: Gabriel Robertson <overminddl1@gmail.com>
6 years ago[skip ci] Updated translations via Crowdin
GiteaBot [Thu, 20 Sep 2018 05:50:04 +0000 (05:50 +0000)]
[skip ci] Updated translations via Crowdin

6 years agoFix null pointer dereference in ParseCommitWithSignature (#4962)
SagePtr [Thu, 20 Sep 2018 05:49:07 +0000 (07:49 +0200)]
Fix null pointer dereference in ParseCommitWithSignature (#4962)

6 years ago[skip ci] Updated translations via Crowdin
GiteaBot [Wed, 19 Sep 2018 09:03:30 +0000 (09:03 +0000)]
[skip ci] Updated translations via Crowdin

6 years agoFix interpunction in English translation. (#4958)
bugreport0 [Wed, 19 Sep 2018 09:02:08 +0000 (11:02 +0200)]
Fix interpunction in English translation. (#4958)

6 years ago[skip ci] Updated translations via Crowdin
GiteaBot [Tue, 18 Sep 2018 07:05:46 +0000 (07:05 +0000)]
[skip ci] Updated translations via Crowdin

6 years agofix url in discord webhook (#4953)
crito [Tue, 18 Sep 2018 07:04:46 +0000 (09:04 +0200)]
fix url in discord webhook (#4953)

opening issues generates a webhook to discord that contains
a url to the gitea api. the message title in discord is therefore
referencing to the api instead of the issue itself.

6 years agoCode review UI improvements and bugfixes (#4682)
Lauris BH [Mon, 17 Sep 2018 14:59:49 +0000 (17:59 +0300)]
Code review UI improvements and bugfixes (#4682)

* Code review UI improvements

* More fixes to dark theme

* Style fix

* Fix to allow add code review comments only on review files tab

* More readability dark style fixes

* Fix commenting on deleted files. Fixes #4752

* Fix line blame getting for multiple corner cases

6 years agoFix some issues with special chars in branch names (#3767)
nubenum [Sun, 16 Sep 2018 22:28:23 +0000 (00:28 +0200)]
Fix some issues with special chars in branch names (#3767)

Signed-off-by: Robin Durner <github@nubenum.de>
6 years agomake sure to catch the right error so it is displayed as an error on the ui not a...
Lanre Adelowo [Sun, 16 Sep 2018 15:27:43 +0000 (16:27 +0100)]
make sure to catch the right error so it is displayed as an error on the ui not a 500 (#4945)

6 years agofix(topics): don't redirect to expole page. (#4938)
Bo-Yi Wu [Sat, 15 Sep 2018 10:32:59 +0000 (18:32 +0800)]
fix(topics): don't redirect to expole page. (#4938)

6 years ago[skip ci] Updated translations via Crowdin
GiteaBot [Sat, 15 Sep 2018 06:30:00 +0000 (06:30 +0000)]
[skip ci] Updated translations via Crowdin

6 years agodoc: add Cloudron package (#4937)
Girish Ramakrishnan [Sat, 15 Sep 2018 06:28:53 +0000 (23:28 -0700)]
doc: add Cloudron package (#4937)

Fixes #4936

6 years agoAllow admin toggle forcing a password change for newly created users (#4563)
Lanre Adelowo [Thu, 13 Sep 2018 16:34:36 +0000 (17:34 +0100)]
Allow admin toggle forcing a password change for newly created users (#4563)

6 years agofix bug forget to remove Stopwatch when remove repository (#4928)
linweijie2012 [Thu, 13 Sep 2018 14:58:01 +0000 (22:58 +0800)]
fix bug forget to remove Stopwatch when remove repository (#4928)

6 years agoForce user to change password (#4489)
Lanre Adelowo [Thu, 13 Sep 2018 12:04:25 +0000 (13:04 +0100)]
Force user to change password (#4489)

* redirect to login page after successfully activating account

* force users to change password if account was created by an admin

* force users to change password if account was created by an admin

* fixed build

* fixed build

* fix pending issues with translation and wrong routes

* make sure path check is safe

* remove unneccessary newline

* make sure users that don't have to view the form get redirected

* move route to use /settings prefix so as to make sure unauthenticated users can't view the page

* update as per @lafriks review

* add necessary comment

* remove unrelated changes

* support redirecting to location the user actually want to go to before being forced to change his/her password

* run make fmt

* added tests

* improve assertions

* add assertion

* fix copyright year

Signed-off-by: Lanre Adelowo <yo@lanre.wtf>
6 years agoFix bug when repo remained bare if multiple branches pushed (#4923)
SagePtr [Thu, 13 Sep 2018 03:40:35 +0000 (05:40 +0200)]
Fix bug when repo remained bare if multiple branches pushed (#4923)

6 years agofeat(repo): support search repository by topic name (#4505)
Bo-Yi Wu [Thu, 13 Sep 2018 02:33:48 +0000 (10:33 +0800)]
feat(repo): support search repository by topic name (#4505)

* feat(repo): support search repository by topic name

6 years ago[skip ci] Updated translations via Crowdin
GiteaBot [Wed, 12 Sep 2018 14:47:24 +0000 (14:47 +0000)]
[skip ci] Updated translations via Crowdin

6 years agoAdd/remove/list oauth providers via cli (#4591)
techknowlogick [Wed, 12 Sep 2018 14:46:02 +0000 (10:46 -0400)]
Add/remove/list oauth providers via cli (#4591)