summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Fix compiling without sqlite and gcc (#2177)Lauris BH2017-07-262-18/+19
|
* Use sqlite3 database as default for Docker image (#2182)Tao Wang2017-07-261-1/+1
| | | Signed-off-by: Tao Wang <twang2218@gmail.com>
* Revert "Add ability to fork your own repos (#761)" (#2193)Bwko2017-07-263-1/+8
|
* Fix PR nil-dereference bug (#2195)Ethan Koenig2017-07-262-7/+91
| | | | | | * Fix PR nil-dereference bug * Revert to original error format
* Fix key usage time update if the key is used in parallel for multiple ↵Lauris BH2017-07-201-4/+9
| | | | operations (#2185)
* Fix profile update for non-local users (#2178)Lauris BH2017-07-191-1/+1
|
* Remove unit types commits and settings (#2161)Lauris BH2017-07-1720-104/+174
| | | | | | | | | | * Remove unit types commits and settings * Can not limit units in administrator teams * Limit changing units only to teams with read and write access mode * Small code optimization
* Refactor vue delimeters to use es6 template delimeters (#2171)Lauris BH2017-07-152-3/+3
|
* Only show SSH clone URL if signed in (#2169) (#2170)Stefan Kalscheuer2017-07-157-13/+61
| | | | | | | | | | | | | | | | | | | * Add configuration flag SSH_EXPOSE_ANONYMOUS If this flag (default True) is set to false, the SSH clone URL will only be exposed if the current user is signed in. * Default SSH exposure set to false To match GitHub and for security reasons, SSH URL exposure is disabled by default. In addition to that. minor code changes have been applied. Signed-off-by: Stefan Kalscheuer <stefan@stklcode.de> * Add integration tests * Hide clone button neither HTTP and SSH is enabled Signed-off-by: Stefan Kalscheuer <stefan@stklcode.de>
* Make compare button URL aware if current repo is a fork (#2162) (#2163)Wiktor Żurawik2017-07-151-1/+1
| | | | | | | | | | * Make compare button URL aware if current repo is a fork (#2162) * Optimize code * To not change current behaviour check if signed in user has fork of base repository * Fix to check only if signed user has forked repo otherwise it will still redirect to wrong page
* Only show "No Description" to repo admins (#2167)bit2017-07-141-1/+1
| | | Only show note about missing description ("No Description") to repo admins, nobody else can change it.
* 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.