Antoine GIRARD
b0d2a94792
deps: Upgrade gopkg.in/editorconfig/editorconfig-core-go.v1 ( #7749 )
...
* deps: Upgrade gopkg.in/editorconfig/editorconfig-core-go.v1 from 1.2.0 to 1.3.0
* deps: vendor updates
2019-08-05 15:52:41 +08:00
Antoine GIRARD
c42830a87d
build: use GOPROXY and disable download on some steps ( #7745 )
...
* build: use GOPROXY
* disable download vendor on some steps
2019-08-05 00:58:16 +03:00
Lunny Xiao
1c1b60746e
add pagination for admin api get orgs and fix only list public orgs bug ( #7742 )
2019-08-04 14:33:36 -04:00
jaqra
98a7b86d85
Apply emoji on commit graph page ( #7743 )
2019-08-04 22:49:29 +08:00
silverwind
2e4e5fd960
Tweak label border CSS ( #7739 )
...
Also did various tweaks to label hover and dark theme.
Fixes: https://github.com/go-gitea/gitea/pull/5487
2019-08-04 20:55:20 +08:00
FlorianBen
422cc57b03
Fix specific highlighting (CMakeLists.txt ...) ( #7686 )
...
* Fix specific highlighting.
* Highlighting CMakeLists.txt:
remove case sensitive checks.
use lowercase checks instead.
2019-08-04 16:11:27 +08:00
guillep2k
199dc4f4be
Fix repo_index_status lingering when deleting a repository ( #7734 )
2019-08-04 09:53:17 +03:00
Lauris BH
96753dad80
Fix milestone completness calculation when migrating ( #7725 )
2019-08-03 21:38:42 +03:00
guillep2k
7b294ceab7
Fixes indexed repos keeping outdated indexes when files grow too large ( #7712 )
2019-08-03 18:42:09 +01:00
Lunny Xiao
16764fb98d
display as error ( #7724 )
2019-08-03 10:07:51 +03:00
Antoine GIRARD
8d46919578
org/members: display 2FA members states + optimize sql requests ( #7621 )
...
* org/members: display 2FA state
* fix comment typo
* lay down UserList bases
* add basic test for previous methods
* add comment for UserList type
* add valid two-fa account
* test new UserList methods
* optimize MembersIsPublic by side loading info on GetMembers + fix integrations tests
* respect fmt rules
* use map for data
* Optimize GetTwoFaStatus
* rewrite by using existing sub func
* Optimize IsUserOrgOwner
* remove un-used code
* tests: cover empty org + fix import order
* tests: add ErrTeamNotExist path
* tests: fix wrong expected result
2019-08-02 12:06:27 -04:00
guillep2k
13d1201aad
Include "executable" files in the index, as they are not necessarily binary ( #7718 )
2019-08-02 23:14:50 +08:00
guillep2k
e8591d132f
Skip non-regular files (e.g. submodules) on repo indexing ( #7711 )
2019-08-02 07:57:53 +01:00
silverwind
9d328269d6
Fix create menu item widths ( #7708 )
...
Fixes: https://github.com/go-gitea/gitea/issues/7098
2019-08-01 23:06:34 +03:00
Antoine GIRARD
793c76fb97
drone: a test for compat with 32 bit ( #7707 )
2019-08-01 14:00:12 -04:00
Lunny Xiao
3ef18b5655
remove unnecessary fmt on generate bindata ( #7706 )
2019-08-01 13:34:46 -04:00
Antoine GIRARD
3b88872314
update gopkg.in/src-d/go-git.v4 to v4.13.1 ( #7705 )
2019-08-01 12:31:03 -04:00
Lunny Xiao
42f4ffb212
improve branches list performance and fix protected branch icon when no-login ( #7695 )
2019-08-01 10:50:06 -04:00
zeripath
f3a7ff2320
Correct wrong datetime format for git ( #7689 )
2019-07-31 15:19:47 -04:00
Antoine GIRARD
3e32702012
Update src-d/go-git to v4.13.0 ( #7688 )
...
* update gopkg.in/src-d/go-git.v4 v4.13.0
* mod tidy
* vendor
2019-07-31 12:45:42 -04:00
techknowlogick
73c681639f
frontport 1.9.0 changelog ( #7687 )
2019-07-31 09:38:28 -04:00
Lunny Xiao
46e7f5924d
fix duplicated webhook when creating issue with assignees ( #7681 )
2019-07-31 17:24:38 +08:00
GiteaBot
f9990c3cc8
[skip ci] Updated translations via Crowdin
2019-07-31 06:16:57 +00:00
David Svantesson
1c926ff0a1
Move add to hook queue for created repo to outside xorm session. ( #7675 )
...
Signed-off-by: David Svantesson <davidsvantesson@gmail.com >
2019-07-31 09:13:04 +03:00
6543
efaf377de0
sugestion to use range .Branches ( #7674 )
...
d57973a804
2019-07-30 23:02:58 +08:00
Lunny Xiao
d00160b9b7
Move commit repo action from models to repofiles package ( #7645 )
...
* move commit repo action from models to repofiles package
* fix unit tests
2019-07-30 09:59:10 +08:00
zeripath
fa9f9cee95
SetDefaultBranch on pushing to empty repository ( #7610 )
2019-07-30 09:05:33 +08:00
GiteaBot
a42f557aff
[skip ci] Updated translations via Crowdin
2019-07-29 15:43:57 +00:00
Lunny Xiao
29306b1442
fix bug on migrating milestone from github ( #7665 )
2019-07-29 16:41:22 +01:00
Antoine GIRARD
57ea07e76c
css: use flex to fix floating paginate ( #7656 )
2019-07-29 14:14:55 +08:00
6543
5bedca9d62
hide delete/restor button on archived repos ( #7658 )
...
close issue #7653
2019-07-29 13:00:43 +08:00
GiteaBot
10b04d781d
[skip ci] Updated translations via Crowdin
2019-07-29 04:21:31 +00:00
Antoine GIRARD
2f4e5412eb
integration tests: Use t.Helper() ( #7654 )
2019-07-29 12:15:18 +08:00
Lunny Xiao
389eb6d78c
change length of some repository's columns ( #7652 )
2019-07-29 11:29:42 +08:00
6543
959f9ce52c
[Branch View] add download button ( #7604 )
...
* add download-button info message
* add overflow-visible css for table colum class
* right colum is always there
* add download button for default branch
* add download button for all other branchs
* resize table colum so two buttons fit in
* code indent avter rebase
* show commit divergence corect
https://github.com/go-gitea/gitea/issues/7625
* changes because of merge master into ...
* optimize if statement for protected branches
* dont downloat a deleted branch - fix error 404
2019-07-29 10:27:05 +08:00
6543
476f1d9c2b
[Branch View] Protection Symbole (delete dublicate) ( #7624 )
...
* delet protectin symbol on "action column"
* code format
2019-07-27 22:11:14 +08:00
renothing
8028a06a97
fix wrong email when use gitea as OAuth2 provider ( #7640 )
...
when you use gitea as OAuth2 provider, the /api/v1/user should return
user primary email as identifier, which is unique in OAuth2 clients.
this patch use convert.ToUser replace all u.APIFormat in api requests,
return primary email when caller is yourself or admin.
2019-07-27 16:15:30 +03:00
mrsdizzie
bc547211c5
Fix regression in reverse proxy documentation ( #7634 )
...
From Apache: AllowEncodedSlashes not allowed in <Proxy> context
Move this out of <Proxy> block
Fixes #7632
2019-07-26 18:09:12 -04:00
Andreas Shimokawa
c162b066c8
reserve .well-known username ( #7637 )
2019-07-26 16:06:21 -04:00
GiteaBot
fc0c4c10ab
[skip ci] Updated translations via Crowdin
2019-07-26 11:23:16 +00:00
6543
b2bdc2d946
[Branch View] Delete Table Header ( #7622 )
...
* add class trom table header to table body
* remove table header
2019-07-26 12:21:14 +01:00
GiteaBot
cd2aebd06b
[skip ci] Updated translations via Crowdin
2019-07-26 04:28:01 +00:00
zeripath
6171c3ee7e
Update to latest mssqldriver ( #7613 )
...
* New driver does not tolerate USE - handle this by closing db and reopening db in the new dbname
2019-07-26 05:10:20 +01:00
6543
026f76441b
[Branch View] icons to buttons ( #7602 )
...
* add restore-button info message
* branch deltete undo icon to button
* branch deltete icon to button
2019-07-26 01:01:25 +01:00
silverwind
1e6e4f4157
Fix syntax highlight initialization ( #7617 )
...
* Fix syntax highlight initialization
Previously hljs was initialized via a function that relies on the
DOMContentLoaded event, registerd after jQuery's 'ready' event. I assume
that with the recent jQuery update, DOMContentLoaded may not be
guaranteed to fire after 'ready'. Fixed this via vanilla JS initalization.
Fixes: https://github.com/go-gitea/gitea/issues/7559
* semicolon
2019-07-25 23:29:54 +01:00
Lunny Xiao
2f0385c42b
Fix bug create/edit wiki pages when code master branch protected ( #7580 )
...
* fix bug create/edit wiki pages when code master branch protected
* improve FullPushingEnvironment function
2019-07-25 22:50:20 +01:00
zeripath
e8e0199d38
Make PKCS8, PEM and SSH2 keys work ( #7600 )
...
* Make PEM and SSH2 keys work
* add ssh2 testcases and PEM cases - and fix PEM
* Add final test to parse the proposed key
2019-07-25 20:33:38 +01:00
zeripath
bca9c8818e
Fix panic on push at #7611 ( #7615 )
...
* Fix panic in #7611
Use pr.IssueID instead of pr.Issue.ID as Issue may not be loaded and is unnecessary
* Only fetch the head branch from the remote
2019-07-25 19:05:51 +01:00
zeripath
81f2fe5299
Fix #7136 : Add paging and extend API GetCommitStatuses ( #7141 )
...
* Fix #7136 : Add paging and extend API GetCommitStatuses
* update swagger
* Update routers/api/v1/repo/status.go
Co-Authored-By: techknowlogick <matti@mdranta.net >
* Update routers/api/v1/repo/status.go
Co-Authored-By: techknowlogick <matti@mdranta.net >
* Update routers/api/v1/repo/status.go
Co-Authored-By: techknowlogick <matti@mdranta.net >
* Apply suggestions from code review
2019-07-25 11:55:06 +01:00
Tamal Saha
5437a69c16
Update to xorm@v0.7.4 ( #7596 )
...
Signed-off-by: Tamal Saha <tamal@appscode.com >
2019-07-25 00:39:14 +03:00