summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* More integration tests for comment API (#2156)Ethan Koenig2017-07-141-1/+90
|
* Fix OpenID registration route (#2160)Christian Weiske2017-07-131-1/+1
| | | Fixes #2101
* API: support '/orgs/:org/repos' (#2047)Aaron Walker2017-07-134-1/+57
| | | * API: support '/orgs/:org/repos'
* fix: replace tmp with TMPDIR. (#2152)Bo-Yi Wu2017-07-131-3/+3
|
* Ignore invalid issue numbers in commit messages. Fixes #2022 (#2150)Lauris BH2017-07-123-5/+6
|
* Update code.gitea.io/git dependency (#2149)Lauris BH2017-07-122-4/+4
|
* Fix repository settings collobration list display (#2151)Lauris BH2017-07-122-0/+8
|
* Fix username rendering bug (#2122)Ethan Koenig2017-07-124-4/+71
| | | | | | | | * Fix username rendering bug * XSS integration test * Migration to unescape user full names
* fix typo (#2145)Bo-Yi Wu2017-07-121-1/+1
| | | Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
* Add verify changed less-file step to Makefile (#1861)Bo-Yi Wu2017-07-124-16/+25
|
* Fix SHA1 hash linking (#2143)Roy Marples2017-07-122-6/+15
| | | | | | | | | | | | | | | | This changes the regex to look for a hash from 7 to 40 characters, to match the use of abbreviated hash lookups in both git and github. The restriction of not being a pure number is also removed because 1234567 is now considered a valid abbreviated hash, as is deadbeef. A note has been added to the top of the code to state that the literal regex match is fine, but no extra validation is currently performed so some false positives are expected. A future change could ensure that the hash exists in the repository before rendering it as a link, although this might incur a slight performance penalty. Reverts part of commit 4a46613 and fixes #2053.
* Small grammar fixes (#2144)Patrick G2017-07-121-16/+16
|
* Fix repo API bug (#2133)Ethan Koenig2017-07-129-54/+132
| | | Don't require token when not necessary
* feat: upgrade drone docker image to support multi-stage build. (#1732)Bo-Yi Wu2017-07-112-1/+4
| | | | | | | | | | | | * feat: upgrade drone docker image to support multi-stage build. * update drone sig file. Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com> * update drone sig file. Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
* Fix GET /users/:username/repos endpoint (#2125)Ethan Koenig2017-07-102-34/+63
|
* Use POSIX complaint ! operator in find (#2132)Roy Marples2017-07-101-1/+1
| | | | | | | | | | | * Use POSIX complaint ! operator in find -not is a GNU extension and not all find(8) implementations support it. It's just an alias for ! which is POSIX compliant. Now gitea compiles on NetBSD at least. * Revert change in vendor directory as requested
* Missing signed commit display translation (#2134)Lauris BH2017-07-102-2/+4
|
* Cache session cookies in tests (#2128)Ethan Koenig2017-07-091-1/+8
|
* Remove unused files (#2124)Ethan Koenig2017-07-072-23/+0
|
* Less verbose integration tests (#2123)Ethan Koenig2017-07-0724-223/+122
| | | * Helper functions for intergration test boilerplate
* Merge pull request #2119 from ethantkoenig/fix/wikiAndrey Nering2017-07-073-45/+52
|\ | | | | Fix wiki preview links
| * Fix import orderEthan Koenig2017-07-061-4/+4
| |
| * Relative URL testsEthan Koenig2017-07-061-0/+4
| |
| * Fix wiki preview linksEthan Koenig2017-07-063-41/+44
| |
* | Improve org error handling (#2117)Antoine GIRARD2017-07-067-12/+26
| | | | | | | | | | | | | | | | | | | | * Improve ErrOrgNotExist type Return new error type Use good error check Use new method to check error Update tests * Fix unchanged method name report
* | vendor: update sqlite to fix "database is locked" errors (#2116)Andrey Nering2017-07-0618-5889/+10606
|/ | | | | closes #2040 upstream commit: https://github.com/mattn/go-sqlite3/commit/acfa60124032040b9f5a9406f5a772ee16fe845e
* Fix unchecked error bug (#2110)Ethan Koenig2017-07-041-1/+4
|
* Fix missing-return bug (#2109)Ethan Koenig2017-07-041-0/+1
|
* Sync latest translations from crowdin (#2104)Lauris BH2017-07-0323-3984/+4207
|
* Add make command update-translations for update translations from crodwin ↵Lunny Xiao2017-07-031-0/+10
| | | | | | | | (#2097) * add make command update-translations for update translations from crowdin to options/locale * use curl & resolve double quote on make file
* Fix git hooks update to receive required arguments. Fixes #2090 (#2095)Lauris BH2017-07-025-7/+28
| | | * Changed migration calling so that migrations can use models package
* Fix API for branches with slashes (#2096)Ethan Koenig2017-07-024-2/+54
|
* Check for valid renamed usernames (#2077)Ethan Koenig2017-07-012-1/+100
| | | | | | | | | | * Check for valid renamed usernames * Integration test * Test for username with space * Make name field required
* upgrade git source code. (#2094)Bo-Yi Wu2017-07-012-4/+4
| | | Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
* Fix SQL bug in models.PullRequestsEthan Koenig2017-07-012-2/+32
|
* Absolute path for setting.CustomConf (#2085)Ethan Koenig2017-07-011-0/+2
|
* Merge pull request #2087 from Bwko/fix_error_exitLauris BH2017-06-301-1/+1
|\ | | | | Fix exit status 1 not handled @ getMergeCommit (#2087)
| * Fix exit status 1 not handled @ getMergeCommitBwko2017-06-301-1/+1
| |
* | Revert "Reduce number of layer" (#2086)Lunny Xiao2017-06-301-5/+5
| | | | | | This reverts commit 789188f13c93e47b8a758c379bd463f7c2792f13.
* | Reduce number of layer (#2078)Dryusdan2017-06-301-5/+5
| | | | | | Somes layer are created and aren't usefull, so I compress this :)
* | Merge pull request #2083 from ethantkoenig/check_err/org_avatarAndrey Nering2017-06-292-6/+13
|\ \ | |/ |/| Don't ignore gravatar error
| * lintEthan Koenig2017-06-291-0/+1
| |
| * Use default avatar on errorEthan Koenig2017-06-292-4/+8
| |
| * Don't ignore gravatar errorEthan Koenig2017-06-291-2/+4
| |
* | Fix release display and correct paging (#2080)Lauris BH2017-06-295-39/+135
|/
* remove unnecessary blank lines and wrong error logLunny Xiao2017-06-281-3/+1
|
* Pagination on releases page (#2035)iszla2017-06-282-2/+22
| | | | | | | | | | | | | | | | | | | | | | * Added count to GetReleasesByRepoID so pagination will work * Separated it out to a new function, can then also leave the API part unaffected * Remove extra whitespace added in untouched function * Added comment and corrected name in error handler * Account for if the user is owner or not in the count * Also check if repo is draft * revert back to the correct count in the ReleasesToDisplay loop * Fixed lint error regarding else with return statement * Use Cond struct instead of string, corrected name in error handler * Removed unused return variable names
* Update git module (#2074)Jonas Östanbäck2017-06-282-138/+93
|
* Fix #1271: Call location.reload after XHR finishes (#2071)Guillermo Bonvehí2017-06-281-8/+4
| | | | | location.reload was being called when the related dropdown was hidden, even if a request initiated before to update this value hadn't finished. This caused troubles on Firefox.
* Fix org hooks UI (#2072)Morlinest2017-06-281-1/+3
|