summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* [skip ci] Updated translations via CrowdinGiteaBot2019-08-231-11/+13
|
* Use gitea forked macaron (#7933)Tamal Saha2019-08-23410-13193/+14858
| | | Signed-off-by: Tamal Saha <tamal@appscode.com>
* Change repo search to use exact match for topic search. (#7941)David Svantesson2019-08-221-1/+5
| | | Signed-off-by: David Svantesson <davidsvantesson@gmail.com>
* Add config option and shortcode for Gitea version (#7940)John Olheiser2019-08-2311-18/+20
| | | Signed-off-by: jolheiser <john.olheiser@gmail.com>
* Add release notes of 1.9.2 (#7934) (#7939)Lunny Xiao2019-08-221-0/+14
| | | | | * Add release notes of 1.9.2 * add missing issue
* don't convert buffer to string (#7115)Lunny Xiao2019-08-221-1/+1
|
* Add file status on API (#7671)Lunny Xiao2019-08-214-41/+85
| | | | | | | | | | * add file status on API * fix tests * fix tests * fix tests
* Revert RenderCommitMessageLink part of #7659 (#7923)Gary Kim2019-08-201-1/+1
| | | | | | | | | | | | | | RenderCommitMessageLink may have the potential for issues and is overall not very intuitive for the user in its current state. This commit will revert the usage of RenderCommitMessageLink that was added in #7659 to work on addressing some of those issues to and merge this feature again in a more polished state. Signed-off-by: Gary Kim <gary@garykim.dev>
* fix bug when migrating a private repository (#7917)Lunny Xiao2019-08-201-1/+12
|
* Fix pull creation with empty changes (#7920)Mura Li2019-08-202-7/+36
| | | | | * Logs the stderr of git-apply * Add an integration test * Skip testPatch when patch is empty
* [skip ci] Updated translations via CrowdinGiteaBot2019-08-201-2/+398
|
* fix wrong sender when send slack webhook (#7918)Lunny Xiao2019-08-201-4/+4
|
* [skip ci] Updated translations via CrowdinGiteaBot2019-08-204-1/+70
|
* Provide links in commit summaries in commits table/view list (#7659)Gary Kim2019-08-202-4/+4
| | | | | | | | | | | | | | | | | | * Provide links in commit summaries in commits table/view list Signed-off-by: Gary Kim <gary@garykim.dev> * Check that hashes are commits before making them links Signed-off-by: Gary Kim <gary@garykim.dev> * Revert "Check that hashes are commits before making them links" This reverts commit a88564b8bc9872d4bf11062a4ebcb2f42b702200. * Add Commit Message Links to Files List Signed-off-by: Gary Kim <gary@garykim.dev>
* Evaluate emojis in commit messages in list view (#7906)Mario Lubenka2019-08-181-2/+2
| | | Signed-off-by: Mario Lubenka <mario.lubenka@googlemail.com>
* Fix upload file type check (#7890)Lunny Xiao2019-08-172-10/+54
| | | | | | | | * fix upload file type check * make the function simple and added tests * Update comment as per @silverwind
* Update MAINTAINERS (#7896)Mura Li2019-08-161-0/+1
|
* [skip ci] Updated translations via CrowdinGiteaBot2019-08-168-8/+0
|
* Reduce quote usage to bypass bug in GIT_SSH_COMMAND (#7893)guillep2k2019-08-161-1/+1
|
* Extract the username and password from the mirror url (#7651)zeripath2019-08-165-10/+69
| | | | | | | | | | | | * Explode out mirror username and password * Update models/repo_mirror.go * Just roundtrip the password * remove unused declaration * Update templates/repo/settings/options.tmpl
* Detect delimiter in CSV rendering (#7869)Norwin2019-08-166-9/+76
| | | | | | | | | | | | | | | | | | | | | * detect csv delimiter in csv rendering fixes #7868 * make linter happy * fix failing testcase & use ints where possible * expose markup type to template previously all markup had the .markdown class, which is incorrect, as it applies markdown CSS & JS logic to CSV rendering * fix build (missing `make css`) * ignore quoted csv content for delimiter scoring also fix html generation
* Add myself to maintainers (#7881)guillep2k2019-08-151-0/+1
| | | | | | | | * Add myself to maintainers * Add missing handle Co-Authored-By: techknowlogick <matti@mdranta.net>
* Remove unique filter from repo indexer analyzer. (#7878)guillep2k2019-08-153-57/+2
| | | | | | | | | | * Remove unique filter from repo indexer analyzer. * Bump repoIndexerLatestVersion to 4 * Corrrect fmt * make vendor to remove unique dependency
* Display ui time with customize time location (#7792)Lunny Xiao2019-08-1577-662/+770
| | | | | | | | | | | | | | | | | | * display ui time with customize time location * fix lint * rename UILocation to DefaultUILocation * move time related functions to modules/timeutil * fix tests * fix tests * fix build * fix swagger
* Convert files to utf-8 for indexing (#7814)guillep2k2019-08-1513-166/+371
| | | | | | | | | | | | | | * Convert files to utf-8 for indexing * Move utf8 functions to modules/base * Bump repoIndexerLatestVersion to 3 * Add tests for base/encoding.go * Changes to pass gosimple * Move UTF8 funcs into new modules/charset package
* lfs/lock: round locked_at timestamp to second (#7872)Antoine GIRARD2019-08-152-2/+6
| | | | | | | | * lfs/lock: round locked_at timestamp to second * test returned locked_at values * tests: use time RFC3339
* Add changelog of v1.9.1 (#7859) (#7866)Lunny Xiao2019-08-151-0/+27
| | | | | | | | | | | | | * 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>
* fix non existent milestone with 500 error (#7867)Lanre Adelowo2019-08-141-0/+5
|
* [skip ci] Updated translations via CrowdinGiteaBot2019-08-141-0/+1
|
* move CreateReview to moduels/pull (#7841)Lunny Xiao2019-08-143-38/+60
|
* [skip ci] Updated translations via CrowdinGiteaBot2019-08-141-1/+4
|
* Fix local runs of ssh-requiring integration tests (#7855)zeripath2019-08-141-7/+11
|
* [skip ci] Updated translations via CrowdinGiteaBot2019-08-141-4/+4
|
* Attempt to fix hook problem (#7854)zeripath2019-08-143-6/+18
|
* Check commit message hashes before making links (#7713)Gary Kim2019-08-144-16/+34
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Check commit message hashes before making links Previously, when formatting commit messages, anything that looked like SHA1 hashes was turned into a link using regex. This meant that certain phrases or numbers such as `777777` or `deadbeef` could be recognized as a commit even if the repository has no commit with those hashes. This change will make it so that anything that looks like a SHA1 hash using regex will then also be checked to ensure that there is a commit in the repository with that hash before making a link. Signed-off-by: Gary Kim <gary@garykim.dev> * Use gogit to check if commit exists This commit modifies the commit hash check in the render for commit messages to use gogit for better performance. Signed-off-by: Gary Kim <gary@garykim.dev> * Make code cleaner Signed-off-by: Gary Kim <gary@garykim.dev> * Use rev-parse to check if commit exists Signed-off-by: Gary Kim <gary@garykim.dev> * Add and modify tests for checking hashes in html link rendering Signed-off-by: Gary Kim <gary@garykim.dev> * Return error in sha1CurrentPatternProcessor Co-Authored-By: mrsdizzie <info@mrsdizzie.com> * Import Gitea log module Signed-off-by: Gary Kim <gary@garykim.dev> * Revert "Return error in sha1CurrentPatternProcessor" This reverts commit 28f561cac46ef7e51aa26aefcbe9aca4671366a6. Signed-off-by: Gary Kim <gary@garykim.dev> * Add debug logging to sha1CurrentPatternProcessor This will log errors by the git command run in sha1CurrentPatternProcessor if the error is one that was unexpected. Signed-off-by: Gary Kim <gary@garykim.dev>
* Import topics during migration (#7851)Antoine GIRARD2019-08-148-0/+34
| | | | | | | | * add GetTopics interface * CreateTopics * remove un-needed comment
* Update golangci-lint to v1.17.1 (#7848)techknowlogick2019-08-132-2/+5
|
* Update app.ini.sample (#7816)clavinet2019-08-131-1/+1
| | | grammar fix
* gpg/bugfix: Use .ExpiredUnix.IsZero to display green color of forever valid ↵Antoine GIRARD2019-08-141-1/+1
| | | | | | | | gpg key (#7846) * Use .ExpiredUnix.IsZero for display green color of gpg key * remove useless parentheses
* [skip ci] Updated translations via CrowdinGiteaBot2019-08-131-65/+68
|
* vendor: update pdf.js to v2.1.266 (#7834)Antoine GIRARD2019-08-13326-46478/+106072
|
* Do not fetch all refs (#7797)Mura Li2019-08-131-1/+1
| | | Which would unnecessarily slow down the pull compare operation.
* [skip ci] Updated translations via CrowdinGiteaBot2019-08-121-1/+1
|
* add details for db socket listening (#7830)Antoine GIRARD2019-08-121-1/+1
|
* Fix lax comparison in validation tests (#7815)WGH2019-08-121-2/+6
| | | | | | | | | | | | | | | | | If you add t.Logf("%+v %+v", actual, testCase.expectedErrors) to the test code, you'll notice that only Errors' Messages are being compared: --- PASS: Test_ValidURLValidation/Invalid_schema (0.00s) binding_test.go:43: [Url] [Url] FieldNames and Classification are ignored in comparison. Moreover, an Errors slice with a single Error with empty message is formatted as '[]' (the same as empty slice), which is also error-prone. I discovered this when working on #7791 when one test which was not supposed to pass did pass. https://play.golang.org/p/qC4wVLrm4NG This commit changes the test to do the comparison properly.
* Fix duplicate call of webhook (#7821)Antoine GIRARD2019-08-116-113/+34
|
* Enable switching to a different source branch when PR already exists (#7819)Mario Lubenka2019-08-111-7/+7
| | | Signed-off-by: Mario Lubenka <mario.lubenka@googlemail.com>
* Update serv.go (#7822)clavinet2019-08-111-1/+1
| | | | small semantics fix "Hi there, user!" looks better than "Hi there: user!"
* Update app.ini.sample (#7817)clavinet2019-08-101-1/+1
| | | small grammar fix
* Rewrite existing repo units if setting is not included in api body (#7763)David Svantesson2019-08-101-73/+86
| | | | | | | | * Rewrite existing repo units if setting is not included in api body Signed-off-by: David Svantesson <davidsvantesson@gmail.com> * else-if on one row