2
0
Commit Graph

672 Commits

Author SHA1 Message Date
GiteaBot
24ef60ea26 [skip ci] Updated translations via Crowdin 2019-05-15 15:52:29 +00:00
GiteaBot
926132cce8 [skip ci] Updated translations via Crowdin 2019-05-13 15:41:18 +00:00
GiteaBot
63f25b3a02 [skip ci] Updated translations via Crowdin 2019-05-12 11:13:32 +00:00
GiteaBot
00ca5dfa5a [skip ci] Updated translations via Crowdin 2019-05-11 09:16:08 +00:00
Jannik Beyerstedt
92e3281eee improve description of branch protection (fix #6886) (#6906)
The branch protection description text were not quite accurate.
2019-05-11 10:42:19 +03:00
GiteaBot
666bf87ce1 [skip ci] Updated translations via Crowdin 2019-05-08 07:53:17 +00:00
GiteaBot
9bcdb884cc [skip ci] Updated translations via Crowdin 2019-05-07 17:23:26 +00:00
GiteaBot
ccc6ec15d6 [skip ci] Updated translations via Crowdin 2019-05-07 01:14:01 +00:00
Lunny Xiao
79ae981cf3 Improve migrations to support migrating milestones/labels/issues/comments/pullrequests (#6290)
* add migrations

* fix package dependency

* fix lints

* implements migrations except pull requests

* add releases

* migrating releases

* fix bug

* fix lint

* fix migrate releases

* fix tests

* add rollback

* pull request migtations

* fix import

* fix go module vendor

* add tests for upload to gitea

* more migrate options

* fix swagger-check

* fix misspell

* add options on migration UI

* fix log error

* improve UI options on migrating

* add support for username password when migrating from github

* fix tests

* remove comments and fix migrate limitation

* improve error handles

* migrate API will also support migrate milestones/labels/issues/pulls/releases

* fix tests and remove unused codes

* add DownloaderFactory and docs about how to create a new Downloader

* fix misspell

* fix migration docs

* Add hints about migrate options on migration page

* fix tests
2019-05-07 09:12:51 +08:00
GiteaBot
18c4dfca84 [skip ci] Updated translations via Crowdin 2019-05-06 19:51:02 +00:00
Lunny Xiao
abde9cfb50 fix config ui error about cache ttl (#6861) 2019-05-06 17:35:11 +03:00
GiteaBot
55c7e1c858 [skip ci] Updated translations via Crowdin 2019-05-06 12:18:49 +00:00
GiteaBot
00ec2d0acc [skip ci] Updated translations via Crowdin 2019-05-05 19:42:06 +00:00
GiteaBot
03fd66adac [skip ci] Updated translations via Crowdin 2019-05-05 18:59:35 +00:00
Simon
942c6f1ce5 Add GET requests to webhook (#6771)
* Add GET requests to webhook

* make fmt

* Handle invalid http method on webhook

* Uppercase http method in webhook

* Rename v85.go to v86.go

* make fmt
2019-05-05 14:09:02 -04:00
GiteaBot
4792495e61 [skip ci] Updated translations via Crowdin 2019-05-05 13:49:50 +00:00
Lauris BH
58780141dc Improve localization of git activity stats (#6848) 2019-05-04 23:32:37 +03:00
Lauris BH
8839ead34d Git statistics in Activity tab (#4724)
* Initial implementation for git statistics in Activity tab

* Create top user by commit count endpoint

* Add UI and update src-d/go-git dependency

* Add coloring

* Fix typo

* Move git activity stats data extraction to git module

* Fix message

* Add git code stats test
2019-05-04 15:39:03 +03:00
GiteaBot
37e5a2a822 [skip ci] Updated translations via Crowdin 2019-05-02 20:30:21 +00:00
GiteaBot
26d3348428 [skip ci] Updated translations via Crowdin 2019-04-30 13:30:05 +00:00
GiteaBot
d556b58b1c [skip ci] Updated translations via Crowdin 2019-04-29 01:47:24 +00:00
GiteaBot
2f02e5e291 [skip ci] Updated translations via Crowdin 2019-04-28 19:50:49 +00:00
GiteaBot
e8486a756b [skip ci] Updated translations via Crowdin 2019-04-24 04:56:25 +00:00
GiteaBot
cc536cc89f [skip ci] Updated translations via Crowdin 2019-04-22 20:43:37 +00:00
Mario Lubenka
c8329316c1 Show "delete branch" button on closed pull requests (#6570) (#6601)
* Show button to delete a pull request branch after a pull request has been closed (#6570)

Signed-off-by: Mario Lubenka <mario.lubenka@googlemail.com>

* Update routers/repo/pull.go

Co-Authored-By: saitho <mario.lubenka@googlemail.com>
2019-04-20 23:50:34 +03:00
GiteaBot
671cc34e83 [skip ci] Updated translations via Crowdin 2019-04-20 11:49:59 +00:00
GiteaBot
d521239e31 [skip ci] Updated translations via Crowdin 2019-04-20 04:17:31 +00:00
GiteaBot
95c415265d [skip ci] Updated translations via Crowdin 2019-04-20 02:49:19 +00:00
Andrzej Ressel
7a5da6db03 Add option to blame files (#5721) 2019-04-19 22:47:00 -04:00
Daniel Grier
ea4f289a4a Add support for MS Teams webhooks (#6632) 2019-04-19 10:18:06 -04:00
GiteaBot
352fe76d88 [skip ci] Updated translations via Crowdin 2019-04-19 02:57:33 +00:00
techknowlogick
dea718c06d Telegram webhook (#4227) 2019-04-18 22:45:02 -04:00
AJ ONeal
5b8026c6cf UX + Security current user password reset (#5042)
* allow current user to reset their own password

* handle reset password edge cases properly and consistently

* remove dangling assignment

* properly label account recovery instead of reset password

* remove 'Click here' from button

* update English-only account-recovery templates
2019-04-18 10:23:59 +03:00
GiteaBot
cc2899f167 [skip ci] Updated translations via Crowdin 2019-04-18 05:02:47 +00:00
Richard Mahn
e63ad220bb Fixes 4762 - Content API for Creating, Updating, Deleting Files (#6314) 2019-04-17 12:06:35 -04:00
GiteaBot
cbf67dc4d2 [skip ci] Updated translations via Crowdin 2019-04-17 14:52:57 +00:00
GiteaBot
68c23e1e32 [skip ci] Updated translations via Crowdin 2019-04-17 11:14:20 +00:00
Jonas Franz
4e08d9ca32 OAuth2 Grant UI (#6625)
* Add oauth2 grants ui

Signed-off-by: Jonas Franz <info@jonasfranz.software>

* Add delete functionality
Add translations

Signed-off-by: Jonas Franz <info@jonasfranz.software>

* Fix unit tests

Signed-off-by: Jonas Franz <info@jonasfranz.software>

* Fix unit tests

Signed-off-by: Jonas Franz <info@jonasfranz.software>

* Refactor DeleteOAuth2Grant
Use results.Close()

Signed-off-by: Jonas Franz <info@jonasfranz.software>

* Refactor DeleteOAuth2Grant (again)

Signed-off-by: Jonas Franz <info@jonasfranz.software>

* Check if user ID is zero

Signed-off-by: Jonas Franz <info@jonasfranz.software>

* Check if grant ID is zero

Signed-off-by: Jonas Franz <info@jonasfranz.software>
2019-04-17 16:18:16 +08:00
GiteaBot
b0e2d8df6b [skip ci] Updated translations via Crowdin 2019-04-15 15:57:01 +00:00
GiteaBot
82181775f5 [skip ci] Updated translations via Crowdin 2019-04-14 16:44:32 +00:00
GiteaBot
9f0e8171e0 [skip ci] Updated translations via Crowdin 2019-04-14 08:45:13 +00:00
GiteaBot
01d824a8bc [skip ci] Updated translations via Crowdin 2019-04-13 04:21:51 +00:00
GiteaBot
bdf2e4c409 [skip ci] Updated translations via Crowdin 2019-04-13 02:49:37 +00:00
zeripath
826e0d12ed Correctly adjust mirror url (#6593) 2019-04-12 21:52:57 +01:00
GiteaBot
7190d9da0f [skip ci] Updated translations via Crowdin 2019-04-12 16:14:00 +00:00
Mura Li
5b472274cd Support search operators for commits search (#6479)
* Support searching commits with prefix syntax

For now, support auther: committer:
When more than one prefix is supplied is presented, the result is the union.
When different prefixes are supplied, the result is the intersection.

For example,
"author:alice author:bob"
=> the result is all commits authored by Alice OR Bob

"hello committer:alice"
=> the result is all commits committed by Alice AND has the keyword
'hello' in the message.

Note that there should NOT have any space after the colon(:) of the prefix.
For example,
"author:bill" => correct
"author: bill" => wrong

* Remove unneeded logging

* Add missing files of test repository

* Add missing repo_unit entries to test fixtures

* Update test cases

* Add tooltip for commits search button

* Update tooltip text

I have no idea about how to format it with line breaks.

* Make the usage example more real

* Add a test case

* Add new options struct for SearchCommits

* Prefer len(s) > 0 over s != ""

* Add NewSearchCommitsOptions
2019-04-12 10:28:44 +08:00
GiteaBot
13ae542669 [skip ci] Updated translations via Crowdin 2019-04-11 20:21:44 +00:00
GiteaBot
8fb6e062ff [skip ci] Updated translations via Crowdin 2019-04-11 08:35:26 +00:00
zeripath
1fa7c608ec Prevent server 500 on compare branches with no common history (#6555)
* Prevent 500 if there is no common mergebase
* Prevent creation of PR with no history
2019-04-09 21:45:58 +01:00
GiteaBot
60aca27017 [skip ci] Updated translations via Crowdin 2019-04-06 18:30:54 +00:00