aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Hide some user information via API if user have no enough permission (#8655) ↵Lunny Xiao2019-10-242-5/+4
| | | | | | | (#8658) * Hide some user information via API if user have no enough permission * fix test
* Use AppSubUrl for more redirections (#8647) (#8652)zeripath2019-10-233-3/+3
| | | | | | Partial backport without changes to locale files. Fix #8461 - fix misspelling of {{AppSubUrl}} and other misspelling in template Fixes /explore and organisation redirection
* Add SubURL to redirect path (#8632) (#8634) (#8640)John Olheiser2019-10-231-1/+1
| | | Signed-off-by: jolheiser <john.olheiser@gmail.com>
* Update heatmap fixtures to restore tests (#8615) (#8617)zeripath2019-10-213-4/+4
| | | | * Update heatmap fixtures to restore tests * Add hint to check the fixture age on fail
* Fix #8582 by handling empty repos (#8587) (#8593)65432019-10-192-0/+19
| | | | | | | | | * Fix #8582 by handling empty repos Signed-off-by: Jonas Franz <info@jonasfranz.software> * Fix tests Signed-off-by: Jonas Franz <info@jonasfranz.software>
* fix bug pull request files will be broken if head repo was transfered to ↵Lunny Xiao2019-10-181-0/+7
| | | | another user or orgnization (#8571)
* Add missed close in ServeBlobLFS (#8527) (#8543)zeripath2019-10-171-0/+5
|
* Fixes #8369: Create .ssh dir as necessary (#8486) (#8489)zeripath2019-10-131-0/+24
| | | | | | | | | * Ensure .ssh dir exists before rewriting public keys * Ensure .ssh dir exists before appending to authorized_keys * Log the error because it would be useful to know where it is trying to MkdirAll * Only try to create RootPath if it's not empty
* IsBranchExist: return false if provided name is empty (#8485) (#8492)zeripath2019-10-131-2/+8
| | | | | * IsBranchExist: return false if provided name is empty * Ensure that the reference returned is actually of a valid type
* Backport: Ignore mentions for users with no access (#8395) (#8484)guillep2k2019-10-135-40/+175
| | | | | | * Ignore mentions for users with no access * Fix fmt
* Restore functionality for early gits (#7775) (#8476)zeripath2019-10-1312-66/+223
| | | | | | | | | | | | | | | | | | | | | | | | * Change tests to make it possible to run TestGit with 1.7.2 * Make merge run on 1.7.2 * Fix tracking and staging branch name problem * Ensure that git 1.7.2 works on tests * ensure that there is no chance for conflicts * Fix-up missing merge issues * Final rm * Ensure LFS filters run on the tests * Do not sign commits from temp repo * Apply suggestions from code review * Update modules/repofiles/temp_repo.go
* Add check for empty set when dropping indexes during migration (#8475)guillep2k2019-10-121-3/+5
|
* Ensure Request Body Readers are closed in LFS server (#8454) (#8459)zeripath2019-10-112-5/+15
|
* Ensure that LFS files are relative to the LFS content path (#8455) (#8458)zeripath2019-10-111-2/+1
|
* Changelog for v1.9.4 (#8422)v1.9.465432019-10-081-0/+26
| | | | | | | | | | * changelog * Update CHANGELOG.md We ned to revert this then ... Co-Authored-By: Lauris BH <lauris@nix.lv>
* Revert "[Backport] Fix issues/pr list broken when there are man… (#8425)Lauris BH2019-10-085-110/+178
| | | This reverts commit 0ea4b786cb99054a381f3005f11f4cf413214617.
* [Backport] Fix issues/pr list broken when there are many repositories ↵65432019-10-085-178/+110
| | | | | | | | | | | | | | | | | | | | (#8409) (#8418) * Fix issues/pr list broken when there are many repositories (#8409) * fix issues/pr list broken when there are many repositories * remove unused codes * fix counting error on issues/prs * keep the old logic * fix panic * fix tests * rm unused import
* fix bug when migrating a private repository (#7917) (#8403)65432019-10-071-1/+12
|
* Change general form binding to gogs form (#8334) (#8402)65432019-10-072-12/+9
|
* feat: highlight issue references with : (#8101) (#8404)65432019-10-064-3/+11
| | | | | | | | | | * feat: highlight issue references with : e.g. #1287: my commit msg e.g. ABC-1234: my commit msg * ref: update model regex to consistent with issueNumericPattern * test: check highlight issue with : in commits messages
* Fix milestone num_issues (#8221) (#8400)65432019-10-073-41/+44
| | | | | | | | | | | | | | | * fix milestone num_issues * update missing completeness * only update milestone closed number when closed issue is assigned a new milestone or clear milestone * fix tests * fix update milestone num * fix completeness calculate * make completeness calucation more clear
* Fix editor commit to new branch if PR disabled (#8375) (#8401)65432019-10-073-5/+16
|
* Allow users with explicit read access to give approvals (#8398)guillep2k2019-10-063-3/+37
|
* fix version-validation (because of 1.12 -> 1.13 switch) (#8389)65432019-10-063-4/+4
| | | | | | * fix depenedency * make vendor first
* Backport of commit status fixes in PR #8316 and PR #8321 to v1.9 (#8339)Elias Norberg2019-10-013-7/+10
| | | | | | | | | | | | * Use correct index when fetching commit status Signed-off-by: Elias Norberg <elias@aisle.se> * Compare against base repo to avoid mismatch when merging from fork Signed-off-by: Elias Norberg <elias@aisle.se> * Fix pull request commit status in user dashboard list
* Fix API for edit and delete release attachment (#8290)David Svantesson2019-09-261-2/+6
| | | | | | * Add logging for when user requested attachment doesn't belong to the specified release. * Fix API to use correct variable for release asset (attachment)
* Fix assets on release webhook (#8283)Daniel Fonseca de Lira2019-09-251-2/+4
|
* Fix release API URL generation (#8239)Daniel Fonseca de Lira2019-09-191-1/+1
|
* Allow registration when button is hidden (#8238)guillep2k2019-09-191-1/+1
|
* MS Teams webhook misses commit messages (#8225)Bjoern Petri2019-09-181-0/+1
| | | | | The current webhook just shows the amount of commits, but misses the actual commit description. While the code is actually there to include the description, it is just not included. Signed-off-by: Bjoern Petri <bjoern.petri@sundevil.de>
* Fix data race (#8206)Mura Li2019-09-173-20/+57
| | | | | | | | | | | | | | * Fix data race * Fix data race in modules/log * Make the scope of lock finner-grained * Use syc.Map * Fix missing change in the test * Do not export LoggerMap
* Fix team user api (#8172) (#8188)Lunny Xiao2019-09-172-0/+45
| | | | | | | | | | | | | | | * fix team user api * fix tests * fix api * fix team user api * change user convert * fix tests * fix tests
* Fix pull merge 500 error caused by git-fetch breaking behaviors (#8194)Mura Li2019-09-161-1/+1
|
* [ssh] fix the config specification in the authorized_keys template (#8031) ↵Jakob Ackermann2019-09-161-2/+2
| | | | | | | | | (#8193) The gitea flags must appear in front of the gitea command. Otherwise they are ignored. Signed-off-by: Jakob Ackermann <das7pad@outlook.com> (cherry picked from commit 89648746a5acd4892a026d2962ff217280dbdf5b)
* [backport/v1.9] Fix reading git notes from nested trees (#8189)Filip Navara2019-09-1523-15/+59
| | | | | | | | | | | | | * Fix reading notes from nested trees The GIT documentation for notes states "Permitted pathnames have the form ab/cd/ef/.../abcdef...: a sequence of directory names of two hexadecimal digits each followed by a filename with the rest of the object ID." * Add test case * Fix new lines
* [fix #7384] make show private icon when repo avatar set (#8144) (#8175)jaqra2019-09-143-0/+12
|
* Add reviewrs as participants (#8124)guillep2k2019-09-122-12/+12
|
* Backport: Use vendored go-swagger (#8087) (#8165)Antoine GIRARD2019-09-12918-9411/+168174
| | | | | | | | | | | | | | | | | | * 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
* target go1.12v1.9.3Matti R2019-09-071-2/+2
|
* Changelog for v1.9.3 (#8117)guillep2k2019-09-061-0/+15
| | | | | | | | | | * Changelog for 1.9.3 * Fix ref to 8071 * Correct punctuation Co-Authored-By: techknowlogick <matti@mdranta.net>
* Fix Go 1.13 private repository go get issue (#8100)Rutger Broekhoff2019-09-062-3/+20
| | | | | | | | | | * 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>
* Backport: Strict name matching for Repository.GetTagID() (#8082)guillep2k2019-09-042-4/+17
| | | | | | * Strict name matching for Repository.GetTagID() * Add test for GetTagID()
* Avoid ambiguity of branch/directory names for the git-diff-tree command ↵Mura Li2019-09-031-2/+1
| | | | (#8066) (#8070)
* Bugfix/deformed emoji in commit message (backport 1.9) (#8071)Mario Lubenka2019-09-032-0/+4
| | | | | | | | | | * 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>
* Add change title notification for issues (#8064)guillep2k2019-09-031-0/+3
|
* Run CORS handler first for /api routes (#7967) (#8053)Tamal Saha2019-09-022-9/+8
| | | Signed-off-by: Tamal Saha <tamal@appscode.com>
* Evaluate emojis in commit messages in list view (#7906) (#8044)Mario Lubenka2019-08-311-2/+2
| | | | Signed-off-by: Mario Lubenka <mario.lubenka@googlemail.com> (cherry picked from commit 08c63190c68ca63f99f510f7f2c6cda41d531343)
* keep blame view buttons sequence consistent with normal view when view a ↵Lunny Xiao2019-08-281-1/+1
| | | | file (#8007) (#8009)
* Backport for #7945 (#7994)Richard Mahn2019-08-271-1/+1
|
* backport: Fix adding default Telegram webhook (#7992)Gary Kim2019-08-272-0/+5
| | | Signed-off-by: Gary Kim <gary@garykim.dev>