2
0
Commit Graph

1391 Commits

Author SHA1 Message Date
GiteaBot
c4cfd313c6 [skip ci] Updated translations via Crowdin 2020-11-29 15:53:10 +00:00
GiteaBot
e97c247e05 [skip ci] Updated translations via Crowdin 2020-11-28 21:01:53 +00:00
a1012112796
b3dd6ea9c6 Add block on official review requests branch protection (#13705)
Signed-off-by: a1012112796 <1012112796@qq.com>

Co-authored-by: Lauris BH <lauris@nix.lv>
2020-11-28 21:30:46 +02:00
GiteaBot
8ba507b1de [skip ci] Updated translations via Crowdin 2020-11-25 11:21:50 +00:00
GiteaBot
a971df2f97 [skip ci] Updated translations via Crowdin 2020-11-21 22:42:26 +00:00
Norwin
727eaafffa Improve strings (#13548)
* Correct oauth signup title

When linking accounts, a password is not required anymore,
so this string becomes confusing

* string "remenber me": be more precise

Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-authored-by: techknowlogick <techknowlogick@gitea.io>
2020-11-20 22:32:27 -05:00
GiteaBot
89223a59bd [skip ci] Updated translations via Crowdin 2020-11-18 22:01:29 +00:00
GiteaBot
27cd85ccae [skip ci] Updated translations via Crowdin 2020-11-16 19:23:56 +00:00
GiteaBot
aa5dc4f407 [skip ci] Updated translations via Crowdin 2020-11-15 16:29:08 +00:00
Chris Shyi
c70aeaf85c Add email validity check (#13475)
* Improve error feedback for duplicate deploy keys

Instead of a generic HTTP 500 error page, a flash message is rendered
with the deploy key page template so inform the user that a key with the
intended title already exists.

* API returns 422 error when key with name exists

* Add email validity checking

Add email validity checking for the following routes:
[Web interface]
1. User registration
2. User creation by admin
3. Adding an email through user settings
[API]
1. POST /admin/users
2. PATCH /admin/users/:username
3. POST /user/emails

* Add further tests

* Add signup email tests

* Add email validity check for linking existing account

* Address PR comments

* Remove unneeded DB session

* Move email check to updateUser

Co-authored-by: zeripath <art27@cantab.net>
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-authored-by: techknowlogick <techknowlogick@gitea.io>
2020-11-14 11:53:43 -05:00
GiteaBot
932c6a5893 [skip ci] Updated translations via Crowdin 2020-11-13 17:24:39 +00:00
GiteaBot
65fb223050 [skip ci] Updated translations via Crowdin 2020-11-12 16:00:39 +00:00
GiteaBot
8b89f0178b [skip ci] Updated translations via Crowdin 2020-11-11 20:35:20 +00:00
GiteaBot
58711b19f5 [skip ci] Updated translations via Crowdin 2020-11-10 11:45:51 +00:00
GiteaBot
6044c93055 [skip ci] Updated translations via Crowdin 2020-11-09 18:22:53 +00:00
GiteaBot
c1baf68be9 [skip ci] Updated translations via Crowdin 2020-11-09 06:16:15 +00:00
GiteaBot
fe6e3d3def [skip ci] Updated translations via Crowdin 2020-11-08 18:03:03 +00:00
zeripath
220fdad9f9 Multiple GitGraph improvements: Exclude PR heads, Add branch/PR links, Show only certain branches, (#12766)
* Multiple GitGraph improvements.

Add backend support for excluding PRs, selecting branches and files.

Fix #10327

Signed-off-by: Andrew Thornton <art27@cantab.net>

* as per @silverwind

Signed-off-by: Andrew Thornton <art27@cantab.net>

* as per @silverwind

Signed-off-by: Andrew Thornton <art27@cantab.net>

* Only show refs in dropdown we display on the graph

Signed-off-by: Andrew Thornton <art27@cantab.net>

* as per @silverwind

Signed-off-by: Andrew Thornton <art27@cantab.net>

* use flexbox for ui header

Signed-off-by: Andrew Thornton <art27@cantab.net>

* Move Hide Pull Request button to the dropdown

Signed-off-by: Andrew Thornton <art27@cantab.net>

* Add SHA and user pictures

Signed-off-by: Andrew Thornton <art27@cantab.net>

* fix test

Signed-off-by: Andrew Thornton <art27@cantab.net>

* fix test 2

Signed-off-by: Andrew Thornton <art27@cantab.net>

* fixes

* async

* more tweaks

* use tabs in tmpl

Signed-off-by: Andrew Thornton <art27@cantab.net>

* remove commented thing

Signed-off-by: Andrew Thornton <art27@cantab.net>

* fix linting

Signed-off-by: Andrew Thornton <art27@cantab.net>

* Update web_src/js/features/gitgraph.js

Co-authored-by: silverwind <me@silverwind.io>

* graph tweaks

* more tweaks

* add title

Signed-off-by: Andrew Thornton <art27@cantab.net>

* fix loading indicator z-index and position

Co-authored-by: silverwind <me@silverwind.io>
Co-authored-by: techknowlogick <techknowlogick@gitea.io>
Co-authored-by: Lauris BH <lauris@nix.lv>
2020-11-08 12:21:54 -05:00
GiteaBot
e45f884d1a [skip ci] Updated translations via Crowdin 2020-11-08 16:30:44 +00:00
GiteaBot
964bb8948a [skip ci] Updated translations via Crowdin 2020-11-07 12:55:59 +00:00
GiteaBot
b8992ef5ae [skip ci] Updated translations via Crowdin 2020-11-05 19:35:13 +00:00
GiteaBot
dcf76744de [skip ci] Updated translations via Crowdin 2020-11-05 14:21:49 +00:00
John Olheiser
64e164a5d0 Tags cleanup (#13428)
* Tags cleanup

Signed-off-by: jolheiser <john.olheiser@gmail.com>

* fmt

Signed-off-by: jolheiser <john.olheiser@gmail.com>
2020-11-05 08:20:42 -06:00
GiteaBot
a16f16716e [skip ci] Updated translations via Crowdin 2020-11-04 22:56:17 +00:00
GiteaBot
ea7e41b742 [skip ci] Updated translations via Crowdin 2020-11-04 07:15:15 +00:00
GiteaBot
cf56736a34 [skip ci] Updated translations via Crowdin 2020-11-03 15:49:01 +00:00
GiteaBot
fba1487a38 [skip ci] Updated translations via Crowdin 2020-11-03 11:36:19 +00:00
GiteaBot
03588dba55 [skip ci] Updated translations via Crowdin 2020-11-03 06:05:23 +00:00
a1012112796
e862774f2f Add the tag list page to the release page (#12096)
* Add the tag list page to the release page

* Add the tags list view
* Add the delete tag way on ui
* Not delete tag and clear message when delete a release

Signed-off-by: a1012112796 <1012112796@qq.com>

* Apply suggestions from code review

Co-authored-by: Cirno the Strongest <1447794+CirnoT@users.noreply.github.com>

* Apply suggestions from code review

Co-authored-by: zeripath <art27@cantab.net>

* fix ui

* Add to header

* ui

* permission

* ui

* Update options/locale/locale_en-US.ini

Co-authored-by: Lauris BH <lauris@nix.lv>

* tweaks

* monospace commit hashes

* Add read permission check

* fix permission

* fix nit

* Update web_src/less/_base.less

Co-authored-by: silverwind <me@silverwind.io>

* ui fixes

* title tweaks

* fix lint

* fix test

* fix test and some ui nits

* Apply suggestions from code review

Co-authored-by: silverwind <me@silverwind.io>

Co-authored-by: Cirno the Strongest <1447794+CirnoT@users.noreply.github.com>
Co-authored-by: zeripath <art27@cantab.net>
Co-authored-by: Lauris BH <lauris@nix.lv>
Co-authored-by: silverwind <me@silverwind.io>
2020-11-02 18:10:22 -05:00
GiteaBot
7586121c51 [skip ci] Updated translations via Crowdin 2020-11-02 15:59:27 +00:00
GiteaBot
cf1560f80c [skip ci] Updated translations via Crowdin 2020-11-01 20:05:29 +00:00
GiteaBot
1ff89d80ce [skip ci] Updated translations via Crowdin 2020-10-31 17:25:33 +00:00
GiteaBot
cac616ca92 [skip ci] Updated translations via Crowdin 2020-10-31 12:18:38 +00:00
GiteaBot
12e2e17b37 [skip ci] Updated translations via Crowdin 2020-10-30 22:00:02 +00:00
GiteaBot
51582e0a5e [skip ci] Updated translations via Crowdin 2020-10-30 16:28:07 +00:00
GiteaBot
12c538ac33 [skip ci] Updated translations via Crowdin 2020-10-29 21:42:52 +00:00
GiteaBot
821aa8466f [skip ci] Updated translations via Crowdin 2020-10-27 20:07:43 +00:00
GiteaBot
6acf6f182a [skip ci] Updated translations via Crowdin 2020-10-26 16:43:30 +00:00
GiteaBot
261b8f09c3 [skip ci] Updated translations via Crowdin 2020-10-26 09:06:29 +00:00
Pedro Alves
587c811fcd Group Label Changed Comments in timeline (#13304)
* Create function to group label comments

* Combine multiple label additions into one

* Group removed and added labels in the same comment

* Fix indentation on comments.tmpl

Co-authored-by: zeripath <art27@cantab.net>

Co-authored-by: zeripath <art27@cantab.net>
2020-10-25 17:49:48 -04:00
GiteaBot
5f34b7e3cf [skip ci] Updated translations via Crowdin 2020-10-25 20:57:54 +00:00
Divyam Bhasin
d6e3995d3f #12897 - add mastodon provider (#13293)
* added mastodon provider to oauth code

* changed go.mod and vendor/modules.txt to add updated goth

* vendored mastodon and new goth

* committing result of go mod tidy && go mod vendor

* added pic and mastodon to oauth models

* handled instance url

* applied lafriks suggestion

* Update web_src/js/index.js

Co-authored-by: techknowlogick <matti@mdranta.net>

Co-authored-by: techknowlogick <techknowlogick@gitea.io>
Co-authored-by: Lauris BH <lauris@nix.lv>
Co-authored-by: techknowlogick <matti@mdranta.net>
2020-10-25 14:21:49 -04:00
GiteaBot
f4d890785f [skip ci] Updated translations via Crowdin 2020-10-25 17:20:28 +00:00
GiteaBot
93cfd6628a [skip ci] Updated translations via Crowdin 2020-10-24 17:50:51 +00:00
GiteaBot
05bc50c43a [skip ci] Updated translations via Crowdin 2020-10-24 16:49:12 +00:00
GiteaBot
8f0f7d64a6 [skip ci] Updated translations via Crowdin 2020-10-24 11:55:43 +00:00
zeripath
6769d7202a Rearrange the order of the merged by etc. in locale (#13284)
Fix #13260

Signed-off-by: Andrew Thornton <art27@cantab.net>
2020-10-23 23:34:21 -04:00
GiteaBot
cd8dc1c2d4 [skip ci] Updated translations via Crowdin 2020-10-23 16:00:48 +00:00
GiteaBot
fd8b6c8a11 [skip ci] Updated translations via Crowdin 2020-10-23 10:12:50 +00:00
GiteaBot
a498fba9d9 [skip ci] Updated translations via Crowdin 2020-10-22 19:49:54 +00:00