9139f35ff6
[skip ci] Updated translations via Crowdin
2019-05-07 01:14:01 +00:00
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
2019-05-07 09:12:51 +08:00
1c7c739eb9
[skip ci] Updated translations via Crowdin
2019-05-06 19:51:02 +00:00
650df0bd4e
Enforce osusergo build tag for releases ( #6862 )
2019-05-06 22:48:08 +03:00
d9d538c8a1
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
01ebd52a1f
fix config ui error about cache ttl ( #6861 )
2019-05-06 17:35:11 +03:00
5d5eae6aea
[skip ci] Updated translations via Crowdin
2019-05-06 12:18:49 +00:00
2382f1b057
fix 500 when reviewer is deleted with integration tests ( #6856 )
2019-05-06 20:09:31 +08:00
dab38c375d
[docker] drop the docker Makefile from the image ( #6507 )
2019-05-05 22:49:32 -04:00
0081cd8dfe
Add mssql migration tests ( #6852 )
2019-05-06 02:42:29 +03:00
722a2bd7ec
[skip ci] Updated translations via Crowdin
2019-05-05 19:42:06 +00:00
00b883880d
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
9148e45ed7
[skip ci] Updated translations via Crowdin
2019-05-05 18:59:35 +00:00
d1a32fa108
Attempt to fix #6707 ( #6823 )
2019-05-05 14:58:49 -04:00
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
2019-05-05 14:09:02 -04:00
55a8e12d85
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
c1da790cee
[skip ci] Updated translations via Crowdin
2019-05-05 13:49:50 +00:00
07bcccf9ce
Fix v85.go: Set UNIQUE constraint later ( #6851 )
...
Signed-off-by: Andrew Thornton <art27@cantab.net >
2019-05-05 14:47:42 +01:00
d27bf72530
docs(*): fix codecov bad links in README_ZH ( #6850 )
2019-05-05 12:46:32 +03:00
7806deab96
add french specific rule for translating plural texts ( #6846 )
2019-05-04 23:44:43 +01:00
e0dde8173f
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
410301f0ee
Improve localization of git activity stats ( #6848 )
2019-05-04 23:32:37 +03:00
46373e7657
Hash App token ( #6724 )
2019-05-04 11:45:34 -04:00
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
2019-05-04 15:39:03 +03:00
2933ae4e88
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
dbb0c9658c
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
a27d5d2b23
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
26c7c97447
[skip ci] Updated translations via Crowdin
2019-05-02 20:30:21 +00:00
59f879bfec
Fix double-generation of scratch token ( #6832 ) ( #6833 )
2019-05-02 23:06:01 +03:00
ade88a877d
Allow Recaptcha service url to be configured ( #6820 )
2019-05-02 16:09:39 +03:00
159294f799
When mirroring we should set the remote to mirror ( #6824 )
2019-05-02 09:43:20 +03:00
897927690f
Rename LFS_JWT_SECRET to include OAUTH2 as well ( #6826 )
2019-05-01 22:32:06 -04:00
e255df83a6
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
caba2829ef
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
5be1780045
update github.com/mcuadros/go-version to v0.0.0-20190308113854-92cdf37c5b75 ( #6815 )
2019-05-01 11:44:16 -04:00
eb8632b20b
Add existing issues ( #6811 )
2019-04-30 20:50:17 +03:00
26042a8175
[skip ci] Updated translations via Crowdin
2019-04-30 13:30:05 +00:00
55daee8d22
Remove seen
map from getLastCommitForPaths
( #6807 )
...
Ensures correctly traversing the commit graph for all path and avoids
erroneously skipping some. Also preallocate some arrays to correct size
to prevent unnecessary reallocations.
Fixes #6708 .
Signed-off-by: Filip Navara <filip.navara@gmail.com >
2019-04-30 16:27:41 +03:00
9b9ec7847c
Show scrollbar only when needed ( #6802 )
2019-04-29 23:08:04 +03:00
c64fe091d3
UI: Tweak tab text and icon colors ( #6760 )
...
This adds a hover highlight and fades out the icon on inactive tabs.
2019-04-29 14:49:59 -04:00
8d0d7bc28d
Make CustomPath, CustomConf and AppWorkPath configurable at build ( #6631 )
2019-04-29 14:08:21 -04:00
ccf4783980
[skip ci] Updated translations via Crowdin
2019-04-29 01:47:24 +00:00
9a838cff61
Service worker js is a missing comma ( #6788 )
...
Fix #6787
2019-04-28 21:45:05 -04:00
3d26b3f216
[skip ci] Updated translations via Crowdin
2019-04-28 19:50:49 +00:00
cde6079879
Restore IsWindows variable assignment ( #6722 ) ( #6790 )
...
Signed-off-by: Nicola Scattaglia <scattaglia.nicola.work@gmail.com >
2019-04-28 22:48:46 +03:00
d29d97d91c
Set user search base field optional in DLDAP edit page ( #6779 )
2019-04-28 09:53:55 -04:00
345bc06e56
README WordPress the code is overflowing #6679 ( #6696 )
2019-04-27 20:07:55 -04:00
4e311123d8
Fix team edit API panic ( #6780 )
2019-04-27 19:32:33 -04:00
81059a2567
LDAP: ignore already existing public keys after ldap sync ( #6766 )
...
* fix type in public key exist error, only log trace for ldap public key import if existing
Signed-off-by: Lukas Prettenthaler <lukas@noenv.com >
* cleanup switch statement
Signed-off-by: Lukas Prettenthaler <lukas@noenv.com >
* replace switch with if, fix log formatting
Signed-off-by: Lukas Prettenthaler <lukas@noenv.com >
* fix formatting
Signed-off-by: Lukas Prettenthaler <lukas@noenv.com >
2019-04-26 18:01:54 +03:00
f6eedd4dc8
UI: Detect and restore encoding and BOM in content ( #6727 )
...
* detect and remove a decoded BOM
Signed-off-by: Andrew Thornton <art27@cantab.net >
* Restore the previous encoding and BOM
* On error keep as UTF-8
Signed-off-by: Andrew Thornton <art27@cantab.net >
* create remove BOM function
* Deal with LFSed content
* Update modules/repofiles/update.go
* Fix final LFS bug
* Keep LFS sections referring to opts.Content
2019-04-26 15:00:30 +03:00