]>
source.dussan.org Git - gitea.git/log
Antoine GIRARD [Mon, 31 Jul 2017 01:29:50 +0000 (03:29 +0200)]
go get github.com/wadey/gocovmerge when needed (#2235)
Bwko [Mon, 31 Jul 2017 01:23:10 +0000 (03:23 +0200)]
Fix Commits nil pointer dereference (#2203)
silverwind [Sun, 30 Jul 2017 20:07:23 +0000 (22:07 +0200)]
Improve docs for PROTOCOL and HTTP_ADDR options (#2231)
Fixes: #2230
silverwind [Sun, 30 Jul 2017 20:04:01 +0000 (22:04 +0200)]
Generate small and large logos at 4x resolution (#2233)
To support High-DPI displays, generate images at 4 times their displayed
resolution, which should be enough to support all current devices
according to https://material.io/devices/.
Florian / sinnlosername [Sun, 30 Jul 2017 14:32:10 +0000 (16:32 +0200)]
Fixed robots.txt 404 error (#2226)
* Update routes.go
* Update routes.go
Ethan Koenig [Sun, 30 Jul 2017 01:13:33 +0000 (18:13 -0700)]
Check for access in /repositories/:id (#2227)
* Check for access in /repositories/:id
* Integration test
Lunny Xiao [Sat, 29 Jul 2017 09:22:10 +0000 (17:22 +0800)]
remove unused variable on makefile (#2225)
Lauris BH [Fri, 28 Jul 2017 05:51:20 +0000 (08:51 +0300)]
Add task to generate images from SVG and change to new logo (#2194)
* Add makefile task to generate images from SVG and change to new logo
* use absolute path on generate-images
Lunny Xiao [Wed, 26 Jul 2017 09:01:11 +0000 (17:01 +0800)]
fix some bug
Ethan Koenig [Thu, 27 Jul 2017 09:23:38 +0000 (02:23 -0700)]
Fix bare-repo bugs (#2199)
* Fix bare-repo bugs
* Integration tests
* Unused import
Ethan Koenig [Thu, 27 Jul 2017 06:12:56 +0000 (23:12 -0700)]
Fix hooks for integration repo (#2216)
Ethan Koenig [Thu, 27 Jul 2017 01:20:38 +0000 (18:20 -0700)]
Fix issue updated_unix bug (#2204)
Ethan Koenig [Wed, 26 Jul 2017 09:30:47 +0000 (02:30 -0700)]
Fix unclosed session bug (#2214)
Moritz Heiber [Wed, 26 Jul 2017 07:33:16 +0000 (09:33 +0200)]
Only allow token authentication with 2FA enabled (#2184)
* Don't allow for plain username/password authentication when 2FA is enabled
* Removed debugging statement
* Don't assume a token belongs to a given user, handle two-factor errors properly
* Simplified user/token matching, refactored error handling for two-factor authentication
* Change authentication response to avoid bruteforcing
* Add TODO item as a comment for changing the response for security purposes
Lauris BH [Wed, 26 Jul 2017 07:27:30 +0000 (10:27 +0300)]
Fix compiling without sqlite and gcc (#2177)
Tao Wang [Wed, 26 Jul 2017 07:21:23 +0000 (17:21 +1000)]
Use sqlite3 database as default for Docker image (#2182)
Signed-off-by: Tao Wang <twang2218@gmail.com>
Bwko [Wed, 26 Jul 2017 07:17:38 +0000 (09:17 +0200)]
Revert "Add ability to fork your own repos (#761)" (#2193)
Ethan Koenig [Wed, 26 Jul 2017 07:16:45 +0000 (00:16 -0700)]
Fix PR nil-dereference bug (#2195)
* Fix PR nil-dereference bug
* Revert to original error format
Lauris BH [Thu, 20 Jul 2017 03:15:10 +0000 (06:15 +0300)]
Fix key usage time update if the key is used in parallel for multiple operations (#2185)
Lauris BH [Wed, 19 Jul 2017 01:36:37 +0000 (04:36 +0300)]
Fix profile update for non-local users (#2178)
Lauris BH [Mon, 17 Jul 2017 02:04:43 +0000 (05:04 +0300)]
Remove unit types commits and settings (#2161)
* 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
Lauris BH [Sat, 15 Jul 2017 14:22:26 +0000 (17:22 +0300)]
Refactor vue delimeters to use es6 template delimeters (#2171)
Stefan Kalscheuer [Sat, 15 Jul 2017 14:21:51 +0000 (16:21 +0200)]
Only show SSH clone URL if signed in (#2169) (#2170)
* 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>
Wiktor Żurawik [Sat, 15 Jul 2017 03:14:02 +0000 (05:14 +0200)]
Make compare button URL aware if current repo is a fork (#2162) (#2163)
* 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
bit [Fri, 14 Jul 2017 17:30:03 +0000 (20:30 +0300)]
Only show "No Description" to repo admins (#2167)
Only show note about missing description ("No Description") to repo admins, nobody else can change it.
Ethan Koenig [Thu, 13 Jul 2017 22:33:26 +0000 (18:33 -0400)]
More integration tests for comment API (#2156)
Christian Weiske [Thu, 13 Jul 2017 20:58:53 +0000 (22:58 +0200)]
Fix OpenID registration route (#2160)
Fixes #2101
Aaron Walker [Thu, 13 Jul 2017 11:14:15 +0000 (04:14 -0700)]
API: support '/orgs/:org/repos' (#2047)
* API: support '/orgs/:org/repos'
Bo-Yi Wu [Thu, 13 Jul 2017 11:09:29 +0000 (06:09 -0500)]
fix: replace tmp with TMPDIR. (#2152)
Lauris BH [Thu, 13 Jul 2017 03:35:47 +0000 (06:35 +0300)]
Ignore invalid issue numbers in commit messages. Fixes #2022 (#2150)
Lauris BH [Thu, 13 Jul 2017 03:35:21 +0000 (06:35 +0300)]
Update code.gitea.io/git dependency (#2149)
Lauris BH [Thu, 13 Jul 2017 03:32:28 +0000 (06:32 +0300)]
Fix repository settings collobration list display (#2151)
Ethan Koenig [Wed, 12 Jul 2017 14:58:52 +0000 (10:58 -0400)]
Fix username rendering bug (#2122)
* Fix username rendering bug
* XSS integration test
* Migration to unescape user full names
Bo-Yi Wu [Wed, 12 Jul 2017 08:52:00 +0000 (03:52 -0500)]
fix typo (#2145)
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
Bo-Yi Wu [Wed, 12 Jul 2017 02:28:57 +0000 (21:28 -0500)]
Add verify changed less-file step to Makefile (#1861)
Roy Marples [Wed, 12 Jul 2017 02:26:54 +0000 (03:26 +0100)]
Fix SHA1 hash linking (#2143)
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.
Patrick G [Wed, 12 Jul 2017 02:25:45 +0000 (22:25 -0400)]
Small grammar fixes (#2144)
Ethan Koenig [Wed, 12 Jul 2017 01:23:41 +0000 (21:23 -0400)]
Fix repo API bug (#2133)
Don't require token when not necessary
Bo-Yi Wu [Tue, 11 Jul 2017 07:16:18 +0000 (02:16 -0500)]
feat: upgrade drone docker image to support multi-stage build. (#1732)
* 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>
Ethan Koenig [Mon, 10 Jul 2017 11:07:39 +0000 (07:07 -0400)]
Fix GET /users/:username/repos endpoint (#2125)
Roy Marples [Mon, 10 Jul 2017 01:48:46 +0000 (02:48 +0100)]
Use POSIX complaint ! operator in find (#2132)
* 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
Lauris BH [Mon, 10 Jul 2017 01:46:06 +0000 (04:46 +0300)]
Missing signed commit display translation (#2134)
Ethan Koenig [Sun, 9 Jul 2017 02:07:29 +0000 (22:07 -0400)]
Cache session cookies in tests (#2128)
Ethan Koenig [Fri, 7 Jul 2017 19:52:30 +0000 (15:52 -0400)]
Remove unused files (#2124)
Ethan Koenig [Fri, 7 Jul 2017 19:36:47 +0000 (15:36 -0400)]
Less verbose integration tests (#2123)
* Helper functions for intergration test boilerplate
Andrey Nering [Fri, 7 Jul 2017 14:00:31 +0000 (11:00 -0300)]
Merge pull request #2119 from ethantkoenig/fix/wiki
Fix wiki preview links
Ethan Koenig [Thu, 6 Jul 2017 20:38:38 +0000 (16:38 -0400)]
Fix import order
Ethan Koenig [Thu, 6 Jul 2017 16:42:56 +0000 (12:42 -0400)]
Relative URL tests
Ethan Koenig [Thu, 6 Jul 2017 16:05:35 +0000 (12:05 -0400)]
Fix wiki preview links
Antoine GIRARD [Thu, 6 Jul 2017 13:30:19 +0000 (15:30 +0200)]
Improve org error handling (#2117)
* Improve ErrOrgNotExist type
Return new error type
Use good error check
Use new method to check error
Update tests
* Fix unchanged method name report
Andrey Nering [Thu, 6 Jul 2017 06:43:30 +0000 (03:43 -0300)]
vendor: update sqlite to fix "database is locked" errors (#2116)
closes #2040
upstream commit: https://github.com/mattn/go-sqlite3/commit/
acfa60124032040b9f5a9406f5a772ee16fe845e
Ethan Koenig [Tue, 4 Jul 2017 01:30:41 +0000 (21:30 -0400)]
Fix unchecked error bug (#2110)
Ethan Koenig [Tue, 4 Jul 2017 01:29:57 +0000 (21:29 -0400)]
Fix missing-return bug (#2109)
Lauris BH [Mon, 3 Jul 2017 13:44:20 +0000 (16:44 +0300)]
Sync latest translations from crowdin (#2104)
Lunny Xiao [Mon, 3 Jul 2017 13:37:00 +0000 (21:37 +0800)]
Add make command update-translations for update translations from crodwin (#2097)
* add make command update-translations for update translations from crowdin to options/locale
* use curl & resolve double quote on make file
Lauris BH [Sun, 2 Jul 2017 13:50:57 +0000 (16:50 +0300)]
Fix git hooks update to receive required arguments. Fixes #2090 (#2095)
* Changed migration calling so that migrations can use models package
Ethan Koenig [Sun, 2 Jul 2017 02:03:57 +0000 (22:03 -0400)]
Fix API for branches with slashes (#2096)
Ethan Koenig [Sat, 1 Jul 2017 19:48:29 +0000 (15:48 -0400)]
Check for valid renamed usernames (#2077)
* Check for valid renamed usernames
* Integration test
* Test for username with space
* Make name field required
Bo-Yi Wu [Sat, 1 Jul 2017 15:05:01 +0000 (10:05 -0500)]
upgrade git source code. (#2094)
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
Ethan Koenig [Fri, 30 Jun 2017 16:50:57 +0000 (12:50 -0400)]
Fix SQL bug in models.PullRequests
Ethan Koenig [Sat, 1 Jul 2017 03:10:04 +0000 (23:10 -0400)]
Absolute path for setting.CustomConf (#2085)
Lauris BH [Fri, 30 Jun 2017 12:46:49 +0000 (15:46 +0300)]
Merge pull request #2087 from Bwko/fix_error_exit
Fix exit status 1 not handled @ getMergeCommit (#2087)
Bwko [Fri, 30 Jun 2017 10:29:58 +0000 (12:29 +0200)]
Fix exit status 1 not handled @ getMergeCommit
Lunny Xiao [Fri, 30 Jun 2017 06:10:37 +0000 (14:10 +0800)]
Revert "Reduce number of layer" (#2086)
This reverts commit
789188f13c93e47b8a758c379bd463f7c2792f13 .
Dryusdan [Fri, 30 Jun 2017 00:58:57 +0000 (02:58 +0200)]
Reduce number of layer (#2078)
Somes layer are created and aren't usefull, so I compress this :)
Andrey Nering [Fri, 30 Jun 2017 00:30:05 +0000 (21:30 -0300)]
Merge pull request #2083 from ethantkoenig/check_err/org_avatar
Don't ignore gravatar error
Ethan Koenig [Thu, 29 Jun 2017 16:11:34 +0000 (12:11 -0400)]
lint
Ethan Koenig [Thu, 29 Jun 2017 16:10:33 +0000 (12:10 -0400)]
Use default avatar on error
Lauris BH [Thu, 29 Jun 2017 15:11:38 +0000 (18:11 +0300)]
Fix release display and correct paging (#2080)
Ethan Koenig [Thu, 29 Jun 2017 14:30:58 +0000 (10:30 -0400)]
Don't ignore gravatar error
Lunny Xiao [Wed, 28 Jun 2017 15:14:26 +0000 (23:14 +0800)]
remove unnecessary blank lines and wrong error log
iszla [Wed, 28 Jun 2017 14:47:00 +0000 (16:47 +0200)]
Pagination on releases page (#2035)
* 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
Jonas Östanbäck [Wed, 28 Jun 2017 14:43:58 +0000 (16:43 +0200)]
Update git module (#2074)
Guillermo Bonvehí [Wed, 28 Jun 2017 08:55:28 +0000 (05:55 -0300)]
Fix #1271: Call location.reload after XHR finishes (#2071)
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.
Morlinest [Wed, 28 Jun 2017 08:53:50 +0000 (10:53 +0200)]
Fix org hooks UI (#2072)
Shuanglei Tao [Wed, 28 Jun 2017 06:08:47 +0000 (14:08 +0800)]
Fix: `http: multiple response.WriteHeader calls` (#2038)
We can't change the http status code here, because the response has been written.
Lauris BH [Wed, 28 Jun 2017 05:43:28 +0000 (08:43 +0300)]
Make time diff translatable (#2057)
Patrick G [Wed, 28 Jun 2017 01:40:28 +0000 (21:40 -0400)]
Smaller watch, star, and fork buttons (#2052)
Dan Magnus Lindvall [Wed, 28 Jun 2017 01:35:35 +0000 (03:35 +0200)]
Setting to disable authorized_keys backup (#1856)
* Add setting to disable authorized_keys backup when rewriting public keys
Signed-off-by: Magnus Lindvall <magnus@dnmgns.com>
* Update default value to comply with documentation
Signed-off-by: Magnus Lindvall <magnus@dnmgns.com>
* Use tmp-file instead of bak-file for saving manually added keys.
Signed-off-by: Magnus Lindvall <magnus@dnmgns.com>
* Change casing
Signed-off-by: Magnus Lindvall <magnus@dnmgns.com>
* Change casing and build bakpath with sprintf only
Signed-off-by: Magnus Lindvall <magnus@dnmgns.com>
* Only close file once
Signed-off-by: Magnus Lindvall <magnus@dnmgns.com>
* Do not modify calcFingerprint
Signed-off-by: Magnus Lindvall <magnus@dnmgns.com>
* Fix casing
Signed-off-by: Magnus Lindvall <magnus@dnmgns.com>
* Change style from disable to enable
Signed-off-by: Magnus Lindvall <magnus@dnmgns.com>
* Change name, just SSH_BACKUP_AUTHORIZED_KEYS
Signed-off-by: Magnus Lindvall <magnus@dnmgns.com>
* Do not check for directory existence if backup is disabled
Signed-off-by: Magnus Lindvall <magnus@dnmgns.com>
Jonas Östanbäck [Wed, 28 Jun 2017 01:33:37 +0000 (03:33 +0200)]
Add link to forum in issue template (#2070)
Ethan Koenig [Wed, 28 Jun 2017 01:27:12 +0000 (21:27 -0400)]
Fix default ghost assignee bug (#2069)
Kim "BKC" Carlbäcker [Mon, 26 Jun 2017 01:06:40 +0000 (03:06 +0200)]
Always return valid go-get meta, even if unauthorized (#2010)
* Always return valid go-get meta, even if unauthorized
* don't leak information
Kim "BKC" Carlbäcker [Sun, 25 Jun 2017 19:51:55 +0000 (21:51 +0200)]
drone sign -.-
Jonas Franz [Sun, 25 Jun 2017 18:20:29 +0000 (20:20 +0200)]
Fix "Dashboard shows deleted comments" (#1995)
Ethan Koenig [Sun, 25 Jun 2017 14:51:07 +0000 (10:51 -0400)]
Integration tests for issues API (#2059)
Ethan Koenig [Sun, 25 Jun 2017 09:34:30 +0000 (05:34 -0400)]
Fix improper setup for integration tests (#2050)
Ethan Koenig [Sun, 25 Jun 2017 09:34:07 +0000 (05:34 -0400)]
Skip sqlite integration in CI (#2058)
Ethan Koenig [Sun, 25 Jun 2017 06:15:09 +0000 (02:15 -0400)]
Load label ID in NewLabels (#2045)
Ethan Koenig [Sun, 25 Jun 2017 00:15:42 +0000 (20:15 -0400)]
Improve integration test helper functions (#2049)
Set request headers in helper functions, and new helper for requests with string-formatted URLs
Ethan Koenig [Sat, 24 Jun 2017 23:52:51 +0000 (19:52 -0400)]
Fix bug in issue labels API (#2048)
Patrick G [Sat, 24 Jun 2017 06:37:03 +0000 (06:37 +0000)]
Fix wording (#2024)
* Fix wording
* Update locale_en-US.ini
* Update keys_gpg.tmpl
Győrvári Gábor [Fri, 23 Jun 2017 13:43:37 +0000 (15:43 +0200)]
Enable assignee e-mail notification (#2003)
* Enable assignee e-mail notification
* Check assignee and doer to avoid self made comment notifications.
* Assignee not always defined
* New method to avoid error when assignee deleted
* Assignee empty check
Lunny Xiao [Fri, 23 Jun 2017 08:39:17 +0000 (16:39 +0800)]
add missing lfs config on example file (#2039)
* add missing lfs config on example file
* leveal jwt secret empty
Lunny Xiao [Fri, 23 Jun 2017 06:29:53 +0000 (14:29 +0800)]
remove deprecated code for Gogs compitable (#2041)
Lauris BH [Fri, 23 Jun 2017 00:06:43 +0000 (03:06 +0300)]
update git module (#2037)
Kim "BKC" Carlbäcker [Thu, 22 Jun 2017 17:40:47 +0000 (19:40 +0200)]
Fix displaying commits and files of PR created from now deleted fork (#2023)
Fix displaying commits and files of PR created from now deleted fork
Lunny Xiao [Thu, 22 Jun 2017 15:30:47 +0000 (23:30 +0800)]
repo/editor: fix breadcrumb path cuts parent dirs (#3859) (#2032)
Lunny Xiao [Thu, 22 Jun 2017 13:21:56 +0000 (21:21 +0800)]
Display config file path on admin panel (#2030)
Mike Fellows [Thu, 22 Jun 2017 07:35:14 +0000 (00:35 -0700)]
ROOT_URL setting use the default as shown in conf/app.ini (#1823)
The well commented conf/app.ini file that comes with the code shows the
ROOT_URL (i.e. setting.AppURL) as:
ROOT_URL = %(PROTOCOL)s://%(DOMAIN)s:%(HTTP_PORT)s/
However the installed custom/conf/app.ini file does not include this setting as
shown, and the default in the setting module was hard coded to
http://localhost:3000/ instead of what is shown above.
With this change the ROOT_URL will default to what is shown above if it is not
set in the custom/conf/app.ini.
Of course it is still possible to override the default by adding the ROOT_URL
setting to your custom/conf/app.ini file as usual.
Signed-off-by: Mike Fellows <mike.fellows@shaw.ca>
Jonas Östanbäck [Thu, 22 Jun 2017 01:07:13 +0000 (03:07 +0200)]
Add discourse link (#2027)