]>
source.dussan.org Git - gitea.git/log
Thomas Boerger [Sun, 10 Sep 2017 01:54:11 +0000 (03:54 +0200)]
Hotfix for integration testing (#2473)
* Hotfix for integration testing
* Comment sqlite tests because of database locking issues
Thomas Boerger [Thu, 7 Sep 2017 17:22:15 +0000 (19:22 +0200)]
Changes for latest DroneCI (#2362)
Lunny Xiao [Wed, 6 Sep 2017 12:02:51 +0000 (20:02 +0800)]
hide branch on pull request view or create UI (#2454)
Antoine GIRARD [Tue, 5 Sep 2017 21:33:33 +0000 (23:33 +0200)]
Make repo private to no interfere with other tests (#2467)
Antoine GIRARD [Tue, 5 Sep 2017 13:45:18 +0000 (15:45 +0200)]
Only check at least one email gpg key (#2266)
* Only require one email (possibly not yet validated)
* Update message error and check validation of commit
* Add integrations tests
* Complete integration for import
* Add pre-check/optimization
* Add some test (not finished)
* Finish
* Fix fixtures
* Fix typo
* Don't guess key ID
Lunny Xiao [Tue, 5 Sep 2017 06:00:55 +0000 (14:00 +0800)]
add release notes of v1.1.4 (#2463)
Lauris BH [Tue, 5 Sep 2017 00:28:06 +0000 (03:28 +0300)]
Fix migration from pre-v15 to 1.2.0 (#2460)
Lunny Xiao [Mon, 4 Sep 2017 10:07:57 +0000 (18:07 +0800)]
Add changelog config file for generate changelog (#2461)
Lunny Xiao [Mon, 4 Sep 2017 06:22:07 +0000 (14:22 +0800)]
bug fixed
Ethan Koenig [Sun, 3 Sep 2017 08:20:24 +0000 (01:20 -0700)]
Webhooks for repo creation/deletion (#1663)
* Webhooks for repo creation/deletion
* add createHookTask
* Add handles for GetSlackPayload and GetDiscordPayload
Sandro Santilli [Sat, 2 Sep 2017 19:38:31 +0000 (21:38 +0200)]
Wrap most text to 80 columns (#2452)
Lunny Xiao [Wed, 30 Aug 2017 05:36:52 +0000 (13:36 +0800)]
fix orgnization webhooks (#2422)
* fix org webhooks
* remove trace code
Lunny Xiao [Wed, 30 Aug 2017 04:31:33 +0000 (12:31 +0800)]
some refactors for issue and comments (#2419)
Sandro Santilli [Wed, 30 Aug 2017 01:27:23 +0000 (03:27 +0200)]
Wrap most paragraphs to 80 columns (#2396)
Reduces patches size and makes them more readable
Lunny Xiao [Tue, 29 Aug 2017 14:55:24 +0000 (22:55 +0800)]
fix webhook test (#2415)
* fix webhook test
* fix error message
* fix typo
Ethan Koenig [Tue, 29 Aug 2017 06:53:51 +0000 (23:53 -0700)]
Fix route handler order (#2409)
* Fix route handler order
* Fix more routes
Lunny Xiao [Tue, 29 Aug 2017 01:20:35 +0000 (09:20 +0800)]
fix missing orgnization discord webhook (#2414)
Antoine GIRARD [Fri, 25 Aug 2017 13:13:54 +0000 (15:13 +0200)]
Update CONTRIBUTING following #2329 discussion
Creation of release branch before end of release dev and releases candidates + follow semver semantic (minor, patch)
Lauris BH [Mon, 28 Aug 2017 14:06:10 +0000 (17:06 +0300)]
Fix releases to be counted from database not tags (#2389)
Ethan Koenig [Mon, 28 Aug 2017 13:36:02 +0000 (06:36 -0700)]
Error message for integration test (#2410)
Morlinest [Mon, 28 Aug 2017 09:17:45 +0000 (11:17 +0200)]
Fix tests code to prevent some runtime errors (#2381)
* Fix tests code to prevent some runtime errors
* Reduce nesting
Lunny Xiao [Mon, 28 Aug 2017 05:06:45 +0000 (13:06 +0800)]
Implementation of discord webhook (#2402)
* implementation of discord webhook
* fix webhooks
* fix typo and unnecessary color values
* fix typo
* fix imports and revert changes to webhook_slack.go
Lunny Xiao [Mon, 28 Aug 2017 02:26:04 +0000 (10:26 +0800)]
fix duplicated feed (#2370)
Morlinest [Mon, 28 Aug 2017 01:33:38 +0000 (03:33 +0200)]
Fix "index out of range" runtime error in repo_list tests (#2376)
Kim "BKC" Carlbäcker [Mon, 28 Aug 2017 01:26:27 +0000 (03:26 +0200)]
Clarify Translation Process. Also fix branch names (#2378)
* Clarify Translation Process. Also fix branch names
* Update CONTRIBUTING.md
Manuel [Sat, 26 Aug 2017 13:57:41 +0000 (15:57 +0200)]
Add UseCompatSSHURI setting (#2356)
* Add UseCompatSSHURI setting
Signed-off-by: Manuel Kroeber <manuel.kroeber@gmail.com> (+1 squashed commits)
Squashed commits:
[
dda2dc79 ] Add ForceCloneSSHURL setting
Signed-off-by: Manuel Kroeber <manuel.kroeber@gmail.com>
* Make protocol if construct more readable
Signed-off-by: Manuel Kroeber <manuel.kroeber@gmail.com>
Lunny Xiao [Thu, 24 Aug 2017 14:01:03 +0000 (22:01 +0800)]
Fix missing collabrative repos (#2367)
* fix missing collabrative repos
* fix bug of collabrative
* fix SQL quotes
Zsombor [Thu, 24 Aug 2017 12:30:27 +0000 (14:30 +0200)]
Add possibility to record branch or tag information in an issue (#780)
David Schneiderbauer [Thu, 24 Aug 2017 05:57:54 +0000 (07:57 +0200)]
Log failed authentication attempts with remote address for fail2ban (#2334)
Signed-off-by: David Schneiderbauer <dschneiderbauer@gmail.com>
Sandro Santilli [Thu, 24 Aug 2017 05:54:06 +0000 (07:54 +0200)]
Fix integration test after librejs location change (#2374)
Fixes #2373
Michael Lustfield [Thu, 24 Aug 2017 05:52:42 +0000 (00:52 -0500)]
Move themes to plugin directory. Fixes #2372 (#2375)
Lunny Xiao [Wed, 23 Aug 2017 15:17:25 +0000 (23:17 +0800)]
update translation from crowdin (#2368)
Michael Lustfield [Wed, 23 Aug 2017 14:58:05 +0000 (09:58 -0500)]
Moved vendored js/css into `public/vendor` and documented sources (#1484) (#2241)
* Cleaning up public/ and documenting js/css libs.
This commit mostly addresses #1484 by moving vendor'ed plugins into a
vendor/ directory and documenting their upstream source and license in
vendor/librejs.html.
This also proves gitea is using only open source js/css libraries which
helps toward reaching #1524.
* Removing unused css file.
The version of this file in use is located at:
vendor/plugins/highlight/github.css
* Cleaned up librejs.html and added javascript header
A SafeJS function was added to templates/helper.go to allow keeping
comments inside of javascript.
A javascript comment was added in the header of templates/base/head.tmpl
to mark all non-inline source as free.
The librejs.html file was updated to meet the current librejs spec. I
have now verified that the librejs plugin detects most of the scripts
included in gitea and suspect the non-free detections are the result of
a bug in the plugin. I believe this commit is enough to meet the C0.0
requirement of #1534.
* Updating SafeJS function per lint suggestion
* Added VERSIONS file, per request
Lunny Xiao [Wed, 23 Aug 2017 09:53:35 +0000 (17:53 +0800)]
Add more test for login links and fix a bug on action retrieve (#2361)
* add more test for login links and fix a bug on action retrieve
David Schneiderbauer [Wed, 23 Aug 2017 07:30:33 +0000 (09:30 +0200)]
Add integration tests for signin (#2363)
Signed-off-by: David Schneiderbauer <dschneiderbauer@gmail.com>
Ethan Koenig [Wed, 23 Aug 2017 05:51:58 +0000 (22:51 -0700)]
Fix SQL condition bug in GetFeeds(..) (#2360)
Lunny Xiao [Wed, 23 Aug 2017 04:08:20 +0000 (12:08 +0800)]
fix bug on create repo link on dashboard (#2359)
Bo-Yi Wu [Wed, 23 Aug 2017 01:56:57 +0000 (20:56 -0500)]
Revert "Changes for latest DroneCI (#2355)" (#2358)
This reverts commit
faf4b503b24d33a2a0f455d26bb782345ab8e0c9 .
Bwko [Wed, 23 Aug 2017 01:30:54 +0000 (03:30 +0200)]
Add collaborative repositories to the dashboard (#2205)
* Add collaborative repositories to the dashboard
Remove some unused code from the Dashboard func
* fix some bug and some refactor
* fix tests
Thomas Boerger [Wed, 23 Aug 2017 01:08:30 +0000 (03:08 +0200)]
Changes for latest DroneCI (#2355)
Morlinest [Tue, 22 Aug 2017 13:00:34 +0000 (15:00 +0200)]
Remove (almost) server side data rendering from repo-search component (#2317)
* Rename some shorthands
* Remove (almost) server side data rendering from repo-search component template
Lunny Xiao [Tue, 22 Aug 2017 11:39:52 +0000 (19:39 +0800)]
update latest xorm version to vendor (#2353)
Silke [Mon, 21 Aug 2017 15:35:08 +0000 (17:35 +0200)]
Add badge and link to the Matrix room (#2348)
Antoine GIRARD [Mon, 21 Aug 2017 11:13:47 +0000 (13:13 +0200)]
Improve swagger doc (#2274)
* Add swagger comment for adminCreateOrg
* Add swagger comment for admin route
* add hook swagger doc
* Add tags
* Add auth
* Fix name of responses
* Edit name method
* Update vendor
* make generate-swagger
Sandro Santilli [Mon, 21 Aug 2017 06:47:23 +0000 (08:47 +0200)]
Add INTERNAL_TOKEN to integration .ini file (#2346)
Avoids override of source file upon running `make test-pgsql`
Long story: settings.NewContext *adds* an INTERNAL_TOKEN if none
is found; the other ini files under integration/ all have an
INTERNAL_TOKEN
Morlinest [Sun, 20 Aug 2017 19:48:41 +0000 (21:48 +0200)]
Fix order of elements in dashboard html (#2344)
Sandro Santilli [Sun, 20 Aug 2017 03:09:24 +0000 (05:09 +0200)]
Remove integration test executables on `make clean` (#2340)
Sandro Santilli [Sat, 19 Aug 2017 15:34:49 +0000 (17:34 +0200)]
Add OpenID configuration in install page (#2276)
Ethan Koenig [Sat, 19 Aug 2017 12:32:18 +0000 (05:32 -0700)]
No error log entries for repo 404 (#2200)
David Schneiderbauer [Sat, 19 Aug 2017 01:39:43 +0000 (03:39 +0200)]
Add AppURL without trailing slash to TOTP issuer parameter to prevent conflicting accounts on multiple gitea installations (#2335)
Signed-off-by: David Schneiderbauer <dschneiderbauer@gmail.com>
Morlinest [Sat, 19 Aug 2017 01:37:48 +0000 (03:37 +0200)]
Fix repo-search template errors for go1.7 (#2336)
Morlinest [Fri, 18 Aug 2017 11:21:46 +0000 (13:21 +0200)]
Fix variable name typo (#2327)
Lauris BH [Fri, 18 Aug 2017 06:56:04 +0000 (09:56 +0300)]
Add missing forks key for dashboard repository component (#2325)
Missing key that is used in #2285
Morlinest [Thu, 17 Aug 2017 16:04:39 +0000 (18:04 +0200)]
Make use of Vue more universal (#2318)
Lunny Xiao [Thu, 17 Aug 2017 15:52:28 +0000 (23:52 +0800)]
Add public links check (#2323)
* add public links check
* more links for query parameters
Lunny Xiao [Thu, 17 Aug 2017 12:20:21 +0000 (20:20 +0800)]
fix template error on explore repos (#2319)
Michael Kuhn [Thu, 17 Aug 2017 09:08:03 +0000 (11:08 +0200)]
Make SHOW_USER_EMAIL also apply to profiles (#2258)
The e-mail address is currently only hidden from the explore page.
Ethan Koenig [Thu, 17 Aug 2017 07:22:08 +0000 (00:22 -0700)]
Trigger sync webhooks on UI commit (#2302)
* Trigger sync webhooks on UI commit
* Also fix UI upload/delete
Morlinest [Thu, 17 Aug 2017 01:31:34 +0000 (03:31 +0200)]
Fix and improve dashboard repo UI (#2285)
* Fix and improve dashboard repo UI
* Change order of scripts loading
* Remove "mirror" tab
* Remove single tab panel for "org user"
* Add localization strings
* Create vue component and change event for search
* Add "mirrors" filter
Bo-Yi Wu [Wed, 16 Aug 2017 00:46:41 +0000 (08:46 +0800)]
refactor(Makefile): allow overriding default go program (#2310)
Ethan Koenig [Mon, 14 Aug 2017 13:37:41 +0000 (06:37 -0700)]
Revert to upstream ini dependency (#2304)
silverwind [Sun, 13 Aug 2017 22:49:38 +0000 (00:49 +0200)]
More tweaks to repo top panel (#2267)
* More tweaks to repo top panel
* undo hiding of compare button on master
* attempt to fix ci issue
* another ci attempt
Ethan Koenig [Sun, 13 Aug 2017 22:30:28 +0000 (15:30 -0700)]
Fix rendering of external links (#2292)
Pontus Leitzler [Sun, 13 Aug 2017 06:18:05 +0000 (08:18 +0200)]
Use /dev/urandom to create random password (#2298)
* Make sure generated password is random
Use /dev/urandom to get a 32 char password
* Make sure generated password is random
Use /dev/urandom to generate 32 char password
* Make sure generated password is random
Lunny Xiao [Sat, 12 Aug 2017 14:18:44 +0000 (22:18 +0800)]
Only update needed columns when update user (#2296)
* only update needed columns when update user
* fix missing update_unix column
Lunny Xiao [Sat, 12 Aug 2017 02:15:30 +0000 (10:15 +0800)]
fix 500 error when view an issue which's milestone deleted (#2297)
Lunny Xiao [Thu, 10 Aug 2017 23:51:25 +0000 (07:51 +0800)]
fix webhook link
Patrick G [Wed, 9 Aug 2017 04:13:33 +0000 (00:13 -0400)]
Comment help text for issues (#2281)
Ethan Koenig [Mon, 7 Aug 2017 01:42:48 +0000 (18:42 -0700)]
Temporarily patch go-ini/ini with fork (#2255)
silverwind [Sun, 6 Aug 2017 03:13:20 +0000 (05:13 +0200)]
File path tweaks in UI (#2264)
Michael Kuhn [Sat, 5 Aug 2017 21:52:19 +0000 (23:52 +0200)]
Make short link pattern greedy (#2259)
Multiple links on the same line are currently not recognized correctly.
Bo-Yi Wu [Sat, 5 Aug 2017 09:15:20 +0000 (17:15 +0800)]
update drone sig file. (#2262)
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
Bo-Yi Wu [Fri, 4 Aug 2017 14:08:50 +0000 (22:08 +0800)]
ignore coverage steps. (#2257)
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
G [Fri, 4 Aug 2017 04:42:51 +0000 (00:42 -0400)]
Convert xorm literal queries to method calls (#2253)
Lauris BH [Thu, 3 Aug 2017 15:32:13 +0000 (18:32 +0300)]
Fix internal requests when gitea listens to unix socket or only external IP (#2234)
* Fix internal requests when gitea listens to unix socket or only external IP
* When Gitea is set to listen using FastCGI use AppURL for LocalURL
Lauris BH [Thu, 3 Aug 2017 13:48:36 +0000 (16:48 +0300)]
update code.gitea.io/git in vendor to fix #2245 (#2250)
Lunny Xiao [Thu, 3 Aug 2017 08:15:39 +0000 (16:15 +0800)]
add changelog of release v1.1.3 (#2252)
Ethan Koenig [Thu, 3 Aug 2017 05:09:16 +0000 (22:09 -0700)]
Fix counts on issues dashboard (#2215)
* Fix counts on issues dashboard
* setupSess -> setupSession
* Unit test
* Load repo owners for issues
Ethan Koenig [Wed, 2 Aug 2017 08:46:54 +0000 (01:46 -0700)]
EnableUnit() -> UnitEnabled() (#2242)
Christoph Handel [Tue, 1 Aug 2017 18:59:22 +0000 (20:59 +0200)]
Fix git version check with four digits (1.8.3.1) (#2236)
G [Tue, 1 Aug 2017 05:47:31 +0000 (01:47 -0400)]
Replace calls to xorm UseBool with Where (#2237)
silverwind [Tue, 1 Aug 2017 02:27:17 +0000 (04:27 +0200)]
Prevent selection of diff line numbers (#2240)
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