Commit Graph

7822 Commits (3c3823dc7fbfc791b685293a884cde380ff789d6)
 

Author SHA1 Message Date
jaqra 91ea086ebe [fix #7384] make show private icon when repo avatar set (#8144) (#8175) 5 years ago
guillep2k b228d22736 Add reviewrs as participants (#8124) 5 years ago
Antoine GIRARD c4d8d53a6d Backport: Use vendored go-swagger (#8087) (#8165)
* Use vendored go-swagger (#8087)

* Use vendored go-swagger

* vendor go-swagger

* revert un wanteed change

* remove un-needed GO111MODULE

* Update Makefile

Co-Authored-By: techknowlogick <matti@mdranta.net>

* re-generate swagger file
5 years ago
Matti R 2f71571305
target go1.12 6 years ago
guillep2k a182a80f7c Changelog for v1.9.3 (#8117)
* Changelog for 1.9.3

* Fix ref to 8071

* Correct punctuation

Co-Authored-By: techknowlogick <matti@mdranta.net>
6 years ago
Rutger Broekhoff 89c57487cd Fix Go 1.13 private repository go get issue (#8100)
* Fix Go 1.13 invalid import path creation

Signed-off-by: Rutger Broekhoff <rutger@viasalix.nl>

* Apply suggested changes from #8100

Signed-off-by: Rutger Broekhoff <rutger@viasalix.nl>
6 years ago
guillep2k bb609cacee Backport: Strict name matching for Repository.GetTagID() (#8082)
* Strict name matching for Repository.GetTagID()

* Add test for GetTagID()
6 years ago
Mura Li e7f6da386f Avoid ambiguity of branch/directory names for the git-diff-tree command (#8066) (#8070) 6 years ago
Mario Lubenka 7727f84fe8 Bugfix/deformed emoji in commit message (backport 1.9) (#8071)
* Fixes deformed emoji in pull request comments or reviews

Signed-off-by: Mario Lubenka <mario.lubenka@googlemail.com>

* Generate css via command

Signed-off-by: Mario Lubenka <mario.lubenka@googlemail.com>
6 years ago
guillep2k 5d2676089e Add change title notification for issues (#8064) 6 years ago
Tamal Saha 9bea8d825b Run CORS handler first for /api routes (#7967) (#8053)
Signed-off-by: Tamal Saha <tamal@appscode.com>
6 years ago
Mario Lubenka 3cc728870a Evaluate emojis in commit messages in list view (#7906) (#8044)
Signed-off-by: Mario Lubenka <mario.lubenka@googlemail.com>
(cherry picked from commit 08c63190c6)
6 years ago
Lunny Xiao 0793b5e9c0 keep blame view buttons sequence consistent with normal view when view a file (#8007) (#8009) 6 years ago
Richard Mahn bb423f9350 Backport for #7945 (#7994) 6 years ago
Gary Kim 4d6c8d9b13 backport: Fix adding default Telegram webhook (#7992)
Signed-off-by: Gary Kim <gary@garykim.dev>
6 years ago
David Svantesson b6b1560701 Abort syncrhonization from LDAP source if there is some error. (#7965)
Signed-off-by: David Svantesson <davidsvantesson@gmail.com>
(cherry picked from commit b2d23a1389)
6 years ago
Lunny Xiao 30dbddcc4d Add release notes of 1.9.2 (#7934)
* Add release notes of 1.9.2

* add missing issue
6 years ago
Mura Li c491c22279 Fix pull creation with empty changes (#7920) (#7926)
* Logs the stderr of git-apply
* Add an integration test
* Skip testPatch when patch is empty
6 years ago
Lunny Xiao 5649f0d2b3 fix wrong sender when send slack webhook (#7918) (#7924) 6 years ago
Lunny Xiao 7dd726faeb upload support text/plain; charset=utf8 (#7899) 6 years ago
Antoine GIRARD 14c979c1b2 drone/docker: prepare multi-arch release + provide arm64 image (#7571) (#7884)
* drone/docker: prepare multi-arch release

* Add docker-linux-arm64 pipeline

* add arm 64 build to manifest

* tag dry-run + indent

* Fix notify dependency
6 years ago
Antoine GIRARD 6b84a1d72b lfs/lock: round locked_at timestamp to second (#7872) (#7875)
* lfs/lock: round locked_at timestamp to second

* test returned locked_at values

* tests: use time RFC3339
6 years ago
Lanre Adelowo 68424eddf0 fix non existent milestone with 500 error (#7867) (#7873) 6 years ago
Lunny Xiao ab23e4b7f4 Add changelog of v1.9.1 (#7859)
* add changelog of v1.9.1

* Update CHANGELOG.md

Co-Authored-By: Lauris BH <lauris@nix.lv>

* mention releases build by go1.12.8

* Update CHANGELOG.md

Co-Authored-By: Lauris BH <lauris@nix.lv>
6 years ago
zeripath 1bb88dad20 Fix local runs of ssh-requiring integration tests (#7857) 6 years ago
zeripath 94f0151789 Attempt to fix hook problem (#7856) 6 years ago
Antoine GIRARD 1e2fe9f0b4 gpg/bugfix: Use .ExpiredUnix.IsZero to display green color of forever valid gpg key (#7846) (#7850)
* Use .ExpiredUnix.IsZero for display green color of gpg key

* remove useless parentheses
6 years ago
Mura Li f3496c88b2 Do not fetch all refs (#7837)
Which would unnecessarily slow down the pull compare operation.
6 years ago
Antoine GIRARD 89915ca8a0 Fix duplicate call of webhook (#7821) (#7824) 6 years ago
Mario Lubenka 24fa56830f Enable switching to a different source branch when PR already exists (#7823)
Signed-off-by: Mario Lubenka <mario.lubenka@googlemail.com>
6 years ago
David Svantesson 0fa9ea516a Rewrite existing repo units if setting is not included in api body (#7811)
Signed-off-by: David Svantesson <davidsvantesson@gmail.com>
6 years ago
Gary Kim 9b95b41aa8 Prevent Commit Status and Message From Overflowing On Branch Page (#7800) (#7808)
Signed-off-by: Gary Kim <gary@garykim.dev>
6 years ago
Antoine GIRARD 38e799779f api: fix multiple bugs with statuses endpoints (#7785) (#7807)
* fix commit statuses api url

* search refs before passing sha

* adjust tests

* directly search tags and branches names + remove un-needed check in NewCommitStatus

* fix comment

* de-duplicate code

* test: use relative setting.AppURL

* Update routers/api/v1/repo/status.go

Co-Authored-By: Lauris BH <lauris@nix.lv>

* remove return

* Update routers/api/v1/repo/status.go

Co-Authored-By: Lauris BH <lauris@nix.lv>
6 years ago
WGH 4f39e56795 Fix Slack webhook fork message (#7774) (#7783)
The order of forkee and fork was mixed up.
6 years ago
Lunny Xiao 7b92f91e88
Fix approvals counting (#7757) (#7777)
* fix approvals counting

* fix tests

* fmt
6 years ago
Lunny Xiao aea49d0b92
fix rename failed when rewrite public keys (#7761) (#7769) 6 years ago
zeripath 1b5908fb6a Fix dropTableColumns sqlite implementation (#7710) (#7765)
* Fix dropTableColumns sqlite implementation

* use droptables and its index dropping support in v78 and v85

* golang-ci fixes

* Add migration from gitea 1.3.3 for sqlite which reveals the droptables bug - thus showing this works
6 years ago
zeripath 65a76b7cb0 Be more strict with git arguments (#7715) (#7762)
* Be more strict with git arguments
* fix-up commit test
* use bindings for branch name
6 years ago
Lunny Xiao c6f1825fe9 add pagination for admin api get orgs and fix only list public orgs bug (#7742) (#7752) 6 years ago
guillep2k 4f5dbc4d00 Backport: fix repo_index_status lingering when deleting a repository (#7738) 6 years ago
Lauris BH 4ee8982e91 Fix milestone completness calculation when migrating (#7725) (#7732) 6 years ago
guillep2k 0d10482168 Fixes indexed repos keeping outdated indexes when files grow too large (#7731)
* Fixes indexed repos keeping outdated indexes when files grow too large

Co-Authored-By: zeripath <art27@cantab.net>
6 years ago
guillep2k 6d441de2bd Backport: skip non-regular files (e.g. submodules) on repo indexing (#7717)
* Backport: skip non-regular files (e.g. submodules) on repo indexing

* Include "executable" files in the index, as they are not necessarily binary
6 years ago
Lunny Xiao d15e49f7ff improve branches list performance and fix protected branch icon when no-login (#7695) (#7704) 6 years ago
zeripath 39da4ac6d4
Correct wrong datetime format for git (#7689) (#7690) 6 years ago
techknowlogick 8f29011723
1.9.0 Changelog (#7676) 6 years ago
Lunny Xiao ee43d20d3b fix duplicated webhook when creating issue with assignees (#7681) (#7684) 6 years ago
Lunny Xiao 99ffd826e5 upgrade macaron/captcha to fix random error problem (#7407) (#7683) 6 years ago
David Svantesson 93bac4e10d Backport of #7675. (#7682)
Move add to hook queue for created repo to outside xorm session.

Signed-off-by: David Svantesson <davidsvantesson@gmail.com>
6 years ago
6543 9fbb898058 Show protection symbol if needed on default branch (#7660) (#7668)
* backport issue showing portection symbol if needet at default branch

* sugestion to use range .Branches
d57973a804
6 years ago