676 Commits (a83c80a00032093034d20cf79116f02fd72419e0)

Author SHA1 Message Date
GiteaBot 61f00bc238 [skip ci] Updated translations via Crowdin 5 years ago
GiteaBot 6ff9349a09 [skip ci] Updated translations via Crowdin 5 years ago
Vladimir Panteleev a98e085031 Show git-notes (#6984)
* Show git-notes

* Make git-notes heading text localizable

* Refactor git-notes data fetching to a separate function

* Display the author and time of git notes

* Move note bubble inside the commit bubble

* Revert "Move note bubble inside the commit bubble"

This reverts commit c0951fe0e3b4dea38064515546b1825c1bcf19e1.

* Add test for git-notes

* testing ui

* Polish CSS

* Apply suggestions from code review

Co-Authored-By: Lauris BH <lauris@nix.lv>
5 years ago
Lunny Xiao d5a98a2969 Add support of utf8mb4 for mysql (#6992) 5 years ago
GiteaBot 7dd983797c [skip ci] Updated translations via Crowdin 5 years ago
GiteaBot 5df5bfbd13 [skip ci] Updated translations via Crowdin 5 years ago
GiteaBot 3d82367bdc [skip ci] Updated translations via Crowdin 5 years ago
GiteaBot 1658cd04e9 [skip ci] Updated translations via Crowdin 5 years ago
Jannik Beyerstedt f378cb572a improve description of branch protection (fix #6886) (#6906)
The branch protection description text were not quite accurate.
5 years ago
GiteaBot a84f10ad1a [skip ci] Updated translations via Crowdin 5 years ago
GiteaBot 91c2c237f9 [skip ci] Updated translations via Crowdin 5 years ago
GiteaBot 9139f35ff6 [skip ci] Updated translations via Crowdin 5 years ago
Lunny Xiao 08069dc465
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
5 years ago
GiteaBot 1c7c739eb9 [skip ci] Updated translations via Crowdin 5 years ago
Lunny Xiao 01ebd52a1f fix config ui error about cache ttl (#6861) 5 years ago
GiteaBot 5d5eae6aea [skip ci] Updated translations via Crowdin 5 years ago
GiteaBot 722a2bd7ec [skip ci] Updated translations via Crowdin 5 years ago
GiteaBot 9148e45ed7 [skip ci] Updated translations via Crowdin 5 years ago
Simon a2a006a5d5 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
5 years ago
GiteaBot c1da790cee [skip ci] Updated translations via Crowdin 5 years ago
Lauris BH 410301f0ee
Improve localization of git activity stats (#6848) 5 years ago
Lauris BH 1fa9662946
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
5 years ago
GiteaBot 26c7c97447 [skip ci] Updated translations via Crowdin 5 years ago
GiteaBot 26042a8175 [skip ci] Updated translations via Crowdin 5 years ago
GiteaBot ccf4783980 [skip ci] Updated translations via Crowdin 5 years ago
GiteaBot 3d26b3f216 [skip ci] Updated translations via Crowdin 5 years ago
GiteaBot e0172f0db7 [skip ci] Updated translations via Crowdin 5 years ago
GiteaBot 2a0e86d5f2 [skip ci] Updated translations via Crowdin 5 years ago
Mario Lubenka bc86134759 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>
5 years ago
GiteaBot b1bb700665 [skip ci] Updated translations via Crowdin 5 years ago
GiteaBot b74dc970e9 [skip ci] Updated translations via Crowdin 5 years ago
GiteaBot 40dc458bb6 [skip ci] Updated translations via Crowdin 5 years ago
Andrzej Ressel 469d9b7d9a Add option to blame files (#5721) 5 years ago
Daniel Grier b9d1fb6de3 Add support for MS Teams webhooks (#6632) 5 years ago
GiteaBot dae94e33be [skip ci] Updated translations via Crowdin 5 years ago
techknowlogick 56da256853
Telegram webhook (#4227) 5 years ago
AJ ONeal 6dbd261852 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
5 years ago
GiteaBot fdb933cd67 [skip ci] Updated translations via Crowdin 5 years ago
Richard Mahn 2262811e40 Fixes 4762 - Content API for Creating, Updating, Deleting Files (#6314) 5 years ago
GiteaBot 059195b127 [skip ci] Updated translations via Crowdin 5 years ago
GiteaBot cf0a9a04a9 [skip ci] Updated translations via Crowdin 5 years ago
Jonas Franz 7a4c29c739 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>
5 years ago
GiteaBot 74fc63682c [skip ci] Updated translations via Crowdin 5 years ago
GiteaBot 2342d2d58b [skip ci] Updated translations via Crowdin 5 years ago
GiteaBot 3297b8d53a [skip ci] Updated translations via Crowdin 5 years ago
GiteaBot c168095afb [skip ci] Updated translations via Crowdin 5 years ago
GiteaBot a3316b620e [skip ci] Updated translations via Crowdin 5 years ago
zeripath b3e757a06c
Correctly adjust mirror url (#6593) 5 years ago
GiteaBot 01e0408fa1 [skip ci] Updated translations via Crowdin 5 years ago
Mura Li 3186ef554c 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
5 years ago