]> source.dussan.org Git - gitea.git/log
gitea.git
6 years agoUpdate x/net (#5169)
Antoine GIRARD [Fri, 26 Oct 2018 23:05:56 +0000 (01:05 +0200)]
Update x/net (#5169)

6 years agoUpdate TRANSLATORS (#5194)
briolantonio [Fri, 26 Oct 2018 17:37:36 +0000 (19:37 +0200)]
Update TRANSLATORS (#5194)

Hi,
I'm the guy who translated gitea during June in Italian.
I would like to have my name added to the translators list.
I translated nearly a thousand and a half words.
Thank you.

6 years ago[skip ci] Updated translations via Crowdin
GiteaBot [Fri, 26 Oct 2018 09:40:17 +0000 (09:40 +0000)]
[skip ci] Updated translations via Crowdin

6 years agoFix race on updatesize (#5190)
Lunny Xiao [Fri, 26 Oct 2018 09:37:57 +0000 (17:37 +0800)]
Fix race on updatesize (#5190)

* fix race on updatesize

* fix more repoPath

6 years agoUpdate go-macaron/session to latest mast to fix RCE-bug (#5177)
Kim "BKC" Carlbäcker [Thu, 25 Oct 2018 11:53:39 +0000 (13:53 +0200)]
Update go-macaron/session to latest mast to fix RCE-bug (#5177)

6 years agoFix sqlite lock (#5176)
Lunny Xiao [Thu, 25 Oct 2018 10:55:16 +0000 (18:55 +0800)]
Fix sqlite lock (#5176)

* fix sqlite lock

* fix sqlite lock on getUnitType

6 years agoDisable sqlite test (#5178)
Mura Li [Thu, 25 Oct 2018 10:37:46 +0000 (18:37 +0800)]
Disable sqlite test (#5178)

For #5172

6 years ago[skip ci] Updated translations via Crowdin
GiteaBot [Thu, 25 Oct 2018 08:52:17 +0000 (08:52 +0000)]
[skip ci] Updated translations via Crowdin

6 years agorevert #5146 (#5167)
Antoine GIRARD [Thu, 25 Oct 2018 08:31:26 +0000 (10:31 +0200)]
revert #5146 (#5167)

6 years agoSet heatmap color range configurable (#5165)
Antoine GIRARD [Wed, 24 Oct 2018 14:38:04 +0000 (16:38 +0200)]
Set heatmap color range configurable (#5165)

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

6 years agoFix JSON result of empty array (#5154)
Antoine GIRARD [Wed, 24 Oct 2018 13:17:21 +0000 (15:17 +0200)]
Fix JSON result of empty array (#5154)

6 years agoUpdate vendor/github.com/mattn/go-sqlite3 (#5162)
Mura Li [Wed, 24 Oct 2018 08:18:51 +0000 (16:18 +0800)]
Update vendor/github.com/mattn/go-sqlite3 (#5162)

To fix build failure on Windows/386

6 years agoUpdate the docs for sqlite_unlock_notify (#5145)
Mura Li [Tue, 23 Oct 2018 16:33:51 +0000 (00:33 +0800)]
Update the docs for sqlite_unlock_notify (#5145)

6 years agoUpdate outdated Go toolchain version for .drone.yml (#5146)
Mura Li [Tue, 23 Oct 2018 16:08:05 +0000 (00:08 +0800)]
Update outdated Go toolchain version for .drone.yml (#5146)

6 years agoUpdate build tags for sqlite_unlock_notify (#5144)
Mura Li [Tue, 23 Oct 2018 11:47:59 +0000 (19:47 +0800)]
Update build tags for sqlite_unlock_notify (#5144)

6 years agoUpdate vendor/go-sqlite3 (#5133)
Mura Li [Tue, 23 Oct 2018 05:28:10 +0000 (13:28 +0800)]
Update vendor/go-sqlite3 (#5133)

6 years agoUser action heatmap (#5131)
kolaente [Tue, 23 Oct 2018 02:57:42 +0000 (04:57 +0200)]
User action heatmap (#5131)

* Added basic heatmap data

* Added extra case for sqlite

* Built basic heatmap into user profile

* Get contribution data from api & styling

* Fixed lint & added extra group by statements for all database types

* generated swagger spec

* generated swagger spec

* generated swagger spec

* fixed swagger spec

* fmt

* Added tests

* Added setting to enable/disable user heatmap

* Added locale for loading text

* Removed UseTiDB

* Updated librejs & moment.js

* Fixed import order

* Fixed heatmap in postgresql

* Update docs/content/doc/advanced/config-cheat-sheet.en-us.md

Co-Authored-By: kolaente <konrad@kola-entertainments.de>
* Added copyright header

* Fixed a bug to show the heatmap for the actual user instead of the currently logged in

* Added integration test for heatmaps

* Added a heatmap on the dashboard

* Fixed timestamp parsing

* Hide heatmap on mobile

* optimized postgresql group by query

* Improved sqlite group by statement

6 years agoAdd comment replies (#5104)
Jonas Franz [Mon, 22 Oct 2018 20:13:35 +0000 (22:13 +0200)]
Add comment replies (#5104)

* Add comment replies

* Replace reviewID with review.ID

6 years agoIncrease the retry limit to 20 times and the interval to 200ms (#5134)
Mura Li [Sun, 21 Oct 2018 14:09:17 +0000 (22:09 +0800)]
Increase the retry limit to 20 times and the interval to 200ms (#5134)

The original settings has less tolerance and would fail on some
environments.

6 years agoFix Swagger JSON autogeneration issues. (#4845)
zeripath [Sun, 21 Oct 2018 03:40:42 +0000 (04:40 +0100)]
Fix Swagger JSON autogeneration issues. (#4845)

* Fix Swagger JSON.

Remove unnecessary schema references for the forbidden and empty responses

Signed-off-by: Andrew Thornton <art27@cantab.net>
* Fix swagger API for CreateAccessToken

* Fix admin create org swagger

* Fix swagger for adminCreateRepo

* More swagger fixes

Set int64 format for those which are int64
Some more form fixes

* Fix swagger description of GET /repos/{owner}/{repo}/pulls

6 years agoFix SQL quoting (#5117)
Filip Navara [Sat, 20 Oct 2018 22:19:21 +0000 (00:19 +0200)]
Fix SQL quoting (#5117)

`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 agoAdd must-change-password flag to cli for creating a user (#4955)
Lanre Adelowo [Sat, 20 Oct 2018 22:05:01 +0000 (23:05 +0100)]
Add must-change-password flag to cli for creating a user (#4955)

* add support for an admin to force a user to change his/her password from thee cli

* use BoolFlag instead

* default to true

* simplify by removing unnneccessary if/else

6 years agoRemove check for negative length (#5120)
Oleg Kovalov [Sat, 20 Oct 2018 21:25:14 +0000 (23:25 +0200)]
Remove check for negative length (#5120)

6 years agoRetry test-fixtures loading in case of transaction rollback (#5125)
Mura Li [Sat, 20 Oct 2018 20:48:33 +0000 (04:48 +0800)]
Retry test-fixtures loading in case of transaction rollback (#5125)

6 years agofix fading menu in arc-green theme (#5128)
glaszig [Sat, 20 Oct 2018 20:31:27 +0000 (22:31 +0200)]
fix fading menu in arc-green theme (#5128)

* fix fading menu in arc-green theme

the menu faded white because it missed proper styling.
only visible on viewports narrower than 1200px.

* Generate minimized css

* compiled arc-green.less to apply changes from 76e4f9a58

6 years agoAdd LFS timeout issue to troubleshooting doc (#5129)
James Ravenscroft [Sat, 20 Oct 2018 16:49:04 +0000 (17:49 +0100)]
Add LFS timeout issue to troubleshooting doc (#5129)

6 years agoGive user a link to create PR after push (#4716)
Julien Tant [Sat, 20 Oct 2018 06:59:06 +0000 (08:59 +0200)]
Give user a link to create PR after push (#4716)

* Give user a link to create PR after push

* Forks now create PR in the base repository + make sure PR creation is allowed

* fix code style

6 years agoUse named const instead of a raw string (#5115)
Oleg Kovalov [Sat, 20 Oct 2018 02:25:38 +0000 (04:25 +0200)]
Use named const instead of a raw string (#5115)

6 years agoUse type switch (#5122)
Oleg Kovalov [Fri, 19 Oct 2018 18:54:26 +0000 (20:54 +0200)]
Use type switch (#5122)

6 years agoRemove duplicated if bodies (#5121)
Oleg Kovalov [Fri, 19 Oct 2018 16:49:36 +0000 (18:49 +0200)]
Remove duplicated if bodies (#5121)

6 years agoFix deadlock when sqlite (#5118)
Lunny Xiao [Fri, 19 Oct 2018 16:36:42 +0000 (00:36 +0800)]
Fix deadlock when sqlite (#5118)

* fix deadlock when sqlite

* fix clonelink deadlock on sqlite

6 years ago[skip ci] Updated translations via Crowdin
GiteaBot [Fri, 19 Oct 2018 13:38:43 +0000 (13:38 +0000)]
[skip ci] Updated translations via Crowdin

6 years agoMake switch more clear (#5119)
Oleg Kovalov [Fri, 19 Oct 2018 13:36:41 +0000 (15:36 +0200)]
Make switch more clear (#5119)

6 years agoFix home page template regression (#5102)
Tohka [Thu, 18 Oct 2018 13:07:30 +0000 (16:07 +0300)]
Fix home page template regression (#5102)

Commit 7bb4d610e5cca7ad514e377d2b36254a4cfee5b9 tries to take the app_name from the locale, however, it is a user defined setting. This causes the app name to simply display as `app_name` instead of the correct value.

templates/helper.go automatically injects the AppName variable into every template, so we can safely use that instead.

Signed-off-by: Daniel Derzsi <daniel@tohka.us>
6 years agoAdd notification interface and refactor UI notifications (#5085)
Lunny Xiao [Thu, 18 Oct 2018 11:23:05 +0000 (19:23 +0800)]
Add notification interface and refactor UI notifications (#5085)

* add notification interface and refactor UI notifications

* add missing methods on notification interface and notifiy only issue status really changed

* implement NotifyPullRequestReview for ui notification

6 years agoAdd support for search by uid (#4876)
zeripath [Thu, 18 Oct 2018 08:44:51 +0000 (09:44 +0100)]
Add support for search by uid (#4876)

Signed-off-by: Andrew Thornton <art27@cantab.net>
6 years agoUse APP_NAME on home page (#5048)
mcnesium [Thu, 18 Oct 2018 07:34:45 +0000 (09:34 +0200)]
Use APP_NAME on home page (#5048)

Would it make sense to actually use the configured app name on the home page?

6 years agoUse native go method to get current user rather than environment variable (#4930)
SagePtr [Thu, 18 Oct 2018 07:08:20 +0000 (09:08 +0200)]
Use native go method to get current user rather than environment variable (#4930)

* Use native go method to get current user rather than environment var

* Use t.Skip instead of return in test

6 years agoZH-CN translation of Installation part (#5089)
BetaCat [Thu, 18 Oct 2018 05:19:00 +0000 (13:19 +0800)]
ZH-CN translation of Installation part (#5089)

6 years agorefactor: err != nil check, just return error instead (#5093)
Bo-Yi Wu [Thu, 18 Oct 2018 04:51:07 +0000 (12:51 +0800)]
refactor: err != nil check, just return error instead (#5093)

6 years agoUse fingerprint in place of id (#5099)
Antoine GIRARD [Thu, 18 Oct 2018 04:15:02 +0000 (06:15 +0200)]
Use fingerprint in place of id (#5099)

6 years agoAdd myself to maintainers (#5101)
BetaCat [Thu, 18 Oct 2018 04:04:22 +0000 (12:04 +0800)]
Add myself to maintainers (#5101)

6 years agofeat(topic): search keyword by splitting provided values by , (#4939)
Bo-Yi Wu [Thu, 18 Oct 2018 03:14:28 +0000 (11:14 +0800)]
feat(topic): search keyword by splitting provided values by , (#4939)

6 years agoFix regex to support optional end line of old section in diff hunk (#5096)
kolaente [Thu, 18 Oct 2018 02:03:49 +0000 (04:03 +0200)]
Fix regex to support optional end line of old section in diff hunk (#5096)

+ Named groups in reges for easier group parsing

6 years agoCN translation of README (#5049)
BetaCat [Thu, 18 Oct 2018 01:44:29 +0000 (09:44 +0800)]
CN translation of README (#5049)

6 years ago[skip ci] Updated translations via Crowdin
GiteaBot [Thu, 18 Oct 2018 00:02:30 +0000 (00:02 +0000)]
[skip ci] Updated translations via Crowdin

6 years agoadd myself to maintainers (#5098)
kolaente [Wed, 17 Oct 2018 23:59:26 +0000 (01:59 +0200)]
add myself to maintainers (#5098)

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>