techknowlogick
fdf0422751
frontport 1.9.0 changelog ( #7687 )
5 years ago
Lunny Xiao
fdd2bd5245
fix duplicated webhook when creating issue with assignees ( #7681 )
5 years ago
GiteaBot
22645f478b
[skip ci] Updated translations via Crowdin
5 years ago
David Svantesson
329ef296f1
Move add to hook queue for created repo to outside xorm session. ( #7675 )
Signed-off-by: David Svantesson <davidsvantesson@gmail.com>
5 years ago
6543
24e1b09d71
sugestion to use range .Branches ( #7674 )
d57973a804
5 years ago
Lunny Xiao
d6fd784ea9
Move commit repo action from models to repofiles package ( #7645 )
* move commit repo action from models to repofiles package
* fix unit tests
5 years ago
zeripath
267b76a69f
SetDefaultBranch on pushing to empty repository ( #7610 )
5 years ago
GiteaBot
6f6ae81041
[skip ci] Updated translations via Crowdin
5 years ago
Lunny Xiao
d475c7309b
fix bug on migrating milestone from github ( #7665 )
5 years ago
Antoine GIRARD
ef25a47c7e
css: use flex to fix floating paginate ( #7656 )
5 years ago
6543
267238118f
hide delete/restor button on archived repos ( #7658 )
close issue #7653
5 years ago
GiteaBot
b5a630a7af
[skip ci] Updated translations via Crowdin
5 years ago
Antoine GIRARD
ca21076a85
integration tests: Use t.Helper() ( #7654 )
5 years ago
Lunny Xiao
ded386d786
change length of some repository's columns ( #7652 )
5 years ago
6543
0fe3058952
[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
5 years ago
6543
790f2e802d
[Branch View] Protection Symbole (delete dublicate) ( #7624 )
* delet protectin symbol on "action column"
* code format
5 years ago
renothing
1bb5393a42
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.
5 years ago
mrsdizzie
716c2454f7
Fix regression in reverse proxy documentation ( #7634 )
From Apache: AllowEncodedSlashes not allowed in <Proxy> context
Move this out of <Proxy> block
Fixes #7632
5 years ago
Andreas Shimokawa
8ab863ab84
reserve .well-known username ( #7637 )
5 years ago
GiteaBot
c9faeb710f
[skip ci] Updated translations via Crowdin
5 years ago
6543
1274c391f1
[Branch View] Delete Table Header ( #7622 )
* add class trom table header to table body
* remove table header
5 years ago
GiteaBot
76977d3880
[skip ci] Updated translations via Crowdin
5 years ago
zeripath
cfb86e94ee
Update to latest mssqldriver ( #7613 )
* New driver does not tolerate USE - handle this by closing db and reopening db in the new dbname
5 years ago
6543
0e50fcf4c5
[Branch View] icons to buttons ( #7602 )
* add restore-button info message
* branch deltete undo icon to button
* branch deltete icon to button
5 years ago
silverwind
6388dfecfa
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
5 years ago
Lunny Xiao
8f5dfec7b6
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
5 years ago
zeripath
f6c62eba30
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
5 years ago
zeripath
5a8d37c519
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
5 years ago
zeripath
368ab357f8
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
5 years ago
Tamal Saha
450c1a0b1b
Update to xorm@v0.7.4 ( #7596 )
Signed-off-by: Tamal Saha <tamal@appscode.com>
5 years ago
Antoine GIRARD
94d22c9c75
drone/docker: prepare multi-arch release + provide arm64 image ( #7571 )
* drone/docker: prepare multi-arch release
* Add docker-linux-arm64 pipeline
* add arm 64 build to manifest
* tag dry-run + indent
* Fix notify dependency
5 years ago
zeripath
72f71dfe4a
Swagger: Add information to API Token header ( #7585 )
* Add a description to the API Token header for swagger
5 years ago
Lunny Xiao
e183c18dd4
Move models.PushUpdate to repofiles.PushUpdate ( #7485 )
* move models.PushUpdate to repofiles.PushUpdate
* remove duplicated code to load repo
5 years ago
zeripath
d4ae5a4ec3
use 403 instead of 401 for ErrUserProhibitLogin ( #7591 )
5 years ago
Christian Muehlhaeuser
b651c9775a
Added missing error checks in tests ( #7554 )
Whenever we assign a value to err, check for it being nil.
5 years ago
Christian Muehlhaeuser
b9d3030efa
Removed unnecessary conversions ( #7557 )
No need to convert to the same type.
5 years ago
zeripath
307dd8cac8
Handle ErrUserProhibitLogin in http git ( #7586 )
5 years ago
zeripath
72d2b35cda
fix #7568 ( #7587 )
5 years ago
GiteaBot
35184a5aa3
[skip ci] Updated translations via Crowdin
5 years ago
silverwind
a47a856e4b
Improve SSH key parser to handle newlines in keys ( #7522 )
* Strip newlines from SSH keys before adding them
Fixes: https://github.com/go-gitea/gitea/issues/7500
* add test for CheckPublicKeyString
* add one more test
* simplify test
* further simplify
* make fmt
5 years ago
silverwind
92f34d4648
Fix file header overflow in file and blame views ( #7562 )
5 years ago
Richard Mahn
469b7af7e9
Fixes #7564 - Malformed URLs in API git/commits response ( #7565 )
5 years ago
silverwind
3025ef4b69
Fix empty commits now showing in repo overview ( #7521 )
* Fix empty commits now showing in repo overview
* add test
* make fmt
5 years ago
Christian Muehlhaeuser
8acc6ccd3e
Fixed ineffectual assignments ( #7555 )
Don't assign values we never use.
5 years ago
Christian Muehlhaeuser
8f630286ba
Un-lambda base.FileSize ( #7556 )
No need to wrap this.
5 years ago
Christian Muehlhaeuser
2dad58e5c0
Fixed ineffectual assignments in tests ( #7553 )
Just makes it a bit more obvious which values we want to test for, and which
ones we want to ignore.
5 years ago
Gary Kim
6a6ba66bad
Specify using AllowEncodedSlashes and nocanon for httpd ( #7540 )
When using wiki page names that include a slash
behind a Apache HTTPD reverse proxy,
AllowEncodedSlashes NoDecode
and appending nocanon to the ProxyPass
directive is required. This commit adds that
information to the documentation.
Signed-off-by: Gary Kim <gary@garykim.dev>
6 years ago
GiteaBot
6e1a93831f
[skip ci] Updated translations via Crowdin
6 years ago
Gary Kim
7316a8a2c6
Add self to maintainers ( #7541 )
6 years ago
Lunny Xiao
83f886bd66
Fix repository's pull request count error ( #7518 )
* fix pr count error
* fix tests
6 years ago