Lunny Xiao
650cbc2f35
Move sdk structs to modules/structs ( #6905 )
...
* move sdk structs to moduels/structs
* fix tests
* fix fmt
* fix swagger
* fix vendor
2019-05-11 18:21:34 +08:00
GiteaBot
00ca5dfa5a
[skip ci] Updated translations via Crowdin
2019-05-11 09:16:08 +00:00
zeripath
d94c66cd9f
Fix logging documentation ( #6904 )
...
* ENABLE_MACARON_REDIRECT should be REDIRECT_MACARON_LOG
* Allow DISABLE_ROUTER_LOG to be set in the [log] section
2019-05-11 10:13:57 +01: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
techknowlogick
ffdeba1e33
update sdk to latest ( #6903 )
2019-05-10 16:49:29 -04:00
zeripath
b910579c9a
Escape the commit message on issues update and title in telegram hook ( #6901 )
2019-05-10 13:48:28 -04:00
Antoine GIRARD
28d72d980b
internal/ssh: ignore env command totally ( #6825 )
...
* ssh: ignore env command totally
* Remove commented code
Needed fix described in issue #6889
2019-05-09 18:41:43 -04:00
techknowlogick
afd7ac9332
Use AppURL for Oauth user link ( #6894 )
...
* Use AppURL for Oauth user link
Fix #6843
* Update oauth.go
* Update oauth.go
2019-05-09 20:22:35 +03:00
Richard Mahn
9a13f5a1a2
Fixes #6881 - API users search fix ( #6882 )
2019-05-08 22:17:32 +03:00
John Olheiser
0c452619c5
1.8.1 changelog ( #6877 ) ( #6878 )
...
* New and improved
Signed-off-by: jolheiser <john.olheiser@gmail.com >
* Add backport/original PR numbers
Change wording for 500 error
Signed-off-by: jolheiser <john.olheiser@gmail.com >
2019-05-08 12:21:24 -04:00
Wim
29c4890126
Show full name if DefaultShowFullName setting activated ( #6710 )
...
Adds a new key DEFAULT_SHOW_FULL_NAME (default false) to the [ui] section.
If enabled the full name will be shown (unless it's empty, then
the default username will be used)
2019-05-08 11:41:35 +03:00
GiteaBot
666bf87ce1
[skip ci] Updated translations via Crowdin
2019-05-08 07:53:17 +00:00
Lunny Xiao
015a44d315
Change the color of issues/pulls list, merged is purple and closed is red ( #6874 )
2019-05-08 10:50:15 +03:00
techknowlogick
e796319d32
Add documentation for OTP/2FA header in API for basic auth ( #6872 )
2019-05-07 16:53:45 -04:00
GiteaBot
9bcdb884cc
[skip ci] Updated translations via Crowdin
2019-05-07 17:23:26 +00:00
Lunny Xiao
4fb9566056
Fix 404 when send pull request some situation ( #6871 )
2019-05-07 13:20:23 -04: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
Antoine GIRARD
9b996e1084
Enforce osusergo build tag for releases ( #6862 )
2019-05-06 22:48:08 +03:00
Lauris BH
e372212abc
Refactor table width to have more info shown in file list ( #6867 )
...
* Refactor table width to have more info shown in file list
* Remove unnecesary semicolon
* Fix tests for changed html structure
2019-05-06 21:43:40 +03: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
Lunny Xiao
9590eba4a8
fix 500 when reviewer is deleted with integration tests ( #6856 )
2019-05-06 20:09:31 +08:00
Jakob Ackermann
557c63bbff
[docker] drop the docker Makefile from the image ( #6507 )
2019-05-05 22:49:32 -04:00
zeripath
4a2a79d758
Add mssql migration tests ( #6852 )
2019-05-06 02:42:29 +03:00
GiteaBot
00ec2d0acc
[skip ci] Updated translations via Crowdin
2019-05-05 19:42:06 +00:00
mrsdizzie
386fc1a227
Don't post process commit summary in templates ( #6842 )
...
* Don't post process commit summary in templates
Don't run summary through render/post process to avoid it generating
links and breaking certain views where the summary is already expected
to be a link to the commit. For consistancy, disable processing of
summary in all locations.
Fixes #6809
* Do process title on diff page
On second thought, the title is often the only place a pull request
number will exists so do process it on the individual diff page. This
fixes the list view and still gives easy access to the PR link
2019-05-05 15:39:10 -04:00
GiteaBot
03fd66adac
[skip ci] Updated translations via Crowdin
2019-05-05 18:59:35 +00:00
zeripath
8af089effe
Attempt to fix #6707 ( #6823 )
2019-05-05 14:58:49 -04: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
Mario Lubenka
a47bcdb448
Number of commits ahead/behind in branch overview ( #6695 )
...
* Call Git API to determine divergence of a branch and its base branch
Signed-off-by: Mario Lubenka <mario.lubenka@googlemail.com >
* Show commit divergance in branch list
Signed-off-by: Mario Lubenka <mario.lubenka@googlemail.com >
* Adds missing comment
Signed-off-by: Mario Lubenka <mario.lubenka@googlemail.com >
* Adds test for diverging commits
Signed-off-by: Mario Lubenka <mario.lubenka@googlemail.com >
* Try comparing commits instead of branches
Signed-off-by: Mario Lubenka <mario.lubenka@googlemail.com >
* Removes test as CI can't run it
Signed-off-by: Mario Lubenka <mario.lubenka@googlemail.com >
* Adjusts signature of percentage function to allow providing multiple integers as numerator
Signed-off-by: Mario Lubenka <mario.lubenka@googlemail.com >
* Moves CountDivergingCommits function into repofiles module
Signed-off-by: Mario Lubenka <mario.lubenka@googlemail.com >
2019-05-05 19:25:25 +03:00
GiteaBot
4792495e61
[skip ci] Updated translations via Crowdin
2019-05-05 13:49:50 +00:00
zeripath
2bb5e44447
Fix v85.go: Set UNIQUE constraint later ( #6851 )
...
Signed-off-by: Andrew Thornton <art27@cantab.net >
2019-05-05 14:47:42 +01:00
Songlin Yang
3b60ae7c84
docs(*): fix codecov bad links in README_ZH ( #6850 )
2019-05-05 12:46:32 +03:00
ngourdon
e488f33298
add french specific rule for translating plural texts ( #6846 )
2019-05-04 23:44:43 +01:00
Lanre Adelowo
8c95d7fb47
Generate access token in admin cli ( #6847 )
...
* add cli flag for access token while creating a user
2019-05-04 23:03:09 +01:00
Lauris BH
58780141dc
Improve localization of git activity stats ( #6848 )
2019-05-04 23:32:37 +03:00
techknowlogick
b85f47cb99
Hash App token ( #6724 )
2019-05-04 11:45:34 -04: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
Antoine GIRARD
ec8d03fa44
Update https://github.com/urfave/cli to version 1.2.0 ( #6838 )
...
From un-tagged pervious version : https://github.com/urfave/cli/compare/d86a009f5e13...master
2019-05-03 08:49:14 -04:00
Filip Navara
714740dc8d
Fix #6813 : Allow git.GetTree to take both commit and tree names ( #6816 )
...
* Allow git.GetTree to take both commit and tree names, return full paths on entries listed through Tree.ListEntriesRecursive
Signed-off-by: Filip Navara <filip.navara@gmail.com >
* Fix the SHA returned on Git Tree APIs called with commit hash or symbolic name
Signed-off-by: Filip Navara <filip.navara@gmail.com >
2019-05-02 20:33:11 -04:00
kolaente
dd37135ed3
Drone: Do full branch clone and get tags for correct version hashes ( #6836 )
...
Although #591 attempted to make version hashes be preceded with tag names on our branch builds, it would fail again silently at 50 commits because we were not cloning the full branch. Drone's new plugin will do a single branch clone by default meaning that depth is no longer necessary.
2019-05-02 23:41:54 +01:00
GiteaBot
37e5a2a822
[skip ci] Updated translations via Crowdin
2019-05-02 20:30:21 +00:00
SagePtr
56eca54a05
Fix double-generation of scratch token ( #6832 ) ( #6833 )
2019-05-02 23:06:01 +03:00
zeripath
2ec3e287fa
Allow Recaptcha service url to be configured ( #6820 )
2019-05-02 16:09:39 +03:00
zeripath
0129e359e6
When mirroring we should set the remote to mirror ( #6824 )
2019-05-02 09:43:20 +03:00
techknowlogick
9aa9180c53
Rename LFS_JWT_SECRET to include OAUTH2 as well ( #6826 )
2019-05-01 22:32:06 -04:00
John Olheiser
a1c500d75b
Change verbose flag in dump command to avoid colliding with global version flag ( #6822 )
...
* Change verbose flag to avoid colliding with version flag
* Update docs
Signed-off-by: jolheiser <john.olheiser@gmail.com >
2019-05-01 21:36:09 +01:00
mrsdizzie
38ee95bff2
Improve issue reference on commit ( #6694 )
...
* Improve issue reference on commit
Allow commits to properly reference issues in other repositories and also to
close/reopen those issues if user has code permission. Should match
Github behavior described here: https://help.github.com/en/articles/closing-issues-using-keywords
Fixes 6664
* Fix missing return
* Match user/repo directly in regex
2019-05-01 19:21:05 +03:00