]> source.dussan.org Git - gitea.git/log
gitea.git
7 years agoFix integration test after librejs location change (#2374)
Sandro Santilli [Thu, 24 Aug 2017 05:54:06 +0000 (07:54 +0200)]
Fix integration test after librejs location change (#2374)

Fixes #2373

7 years agoMove themes to plugin directory. Fixes #2372 (#2375)
Michael Lustfield [Thu, 24 Aug 2017 05:52:42 +0000 (00:52 -0500)]
Move themes to plugin directory. Fixes #2372 (#2375)

7 years agoupdate translation from crowdin (#2368)
Lunny Xiao [Wed, 23 Aug 2017 15:17:25 +0000 (23:17 +0800)]
update translation from crowdin (#2368)

7 years agoMoved vendored js/css into `public/vendor` and documented sources (#1484) (#2241)
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

7 years agoAdd more test for login links and fix a bug on action retrieve (#2361)
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

7 years agoAdd integration tests for signin (#2363)
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>
7 years agoFix SQL condition bug in GetFeeds(..) (#2360)
Ethan Koenig [Wed, 23 Aug 2017 05:51:58 +0000 (22:51 -0700)]
Fix SQL condition bug in GetFeeds(..) (#2360)

7 years agofix bug on create repo link on dashboard (#2359)
Lunny Xiao [Wed, 23 Aug 2017 04:08:20 +0000 (12:08 +0800)]
fix bug on create repo link on dashboard (#2359)

7 years agoRevert "Changes for latest DroneCI (#2355)" (#2358)
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.

7 years agoAdd collaborative repositories to the dashboard (#2205)
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

7 years agoChanges for latest DroneCI (#2355)
Thomas Boerger [Wed, 23 Aug 2017 01:08:30 +0000 (03:08 +0200)]
Changes for latest DroneCI (#2355)

7 years agoRemove (almost) server side data rendering from repo-search component (#2317)
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

7 years agoupdate latest xorm version to vendor (#2353)
Lunny Xiao [Tue, 22 Aug 2017 11:39:52 +0000 (19:39 +0800)]
update latest xorm version to vendor (#2353)

7 years agoAdd badge and link to the Matrix room (#2348)
Silke [Mon, 21 Aug 2017 15:35:08 +0000 (17:35 +0200)]
Add badge and link to the Matrix room (#2348)

7 years agoImprove swagger doc (#2274)
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

7 years agoAdd INTERNAL_TOKEN to integration .ini file (#2346)
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

7 years agoFix order of elements in dashboard html (#2344)
Morlinest [Sun, 20 Aug 2017 19:48:41 +0000 (21:48 +0200)]
Fix order of elements in dashboard html (#2344)

7 years agoRemove integration test executables on `make clean` (#2340)
Sandro Santilli [Sun, 20 Aug 2017 03:09:24 +0000 (05:09 +0200)]
Remove integration test executables on `make clean` (#2340)

7 years agoAdd OpenID configuration in install page (#2276)
Sandro Santilli [Sat, 19 Aug 2017 15:34:49 +0000 (17:34 +0200)]
Add OpenID configuration in install page (#2276)

7 years agoNo error log entries for repo 404 (#2200)
Ethan Koenig [Sat, 19 Aug 2017 12:32:18 +0000 (05:32 -0700)]
No error log entries for repo 404 (#2200)

7 years agoAdd AppURL without trailing slash to TOTP issuer parameter to prevent conflicting...
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>
7 years agoFix repo-search template errors for go1.7 (#2336)
Morlinest [Sat, 19 Aug 2017 01:37:48 +0000 (03:37 +0200)]
Fix repo-search template errors for go1.7 (#2336)

7 years agoFix variable name typo (#2327)
Morlinest [Fri, 18 Aug 2017 11:21:46 +0000 (13:21 +0200)]
Fix variable name typo (#2327)

7 years agoAdd missing forks key for dashboard repository component (#2325)
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

7 years agoMake use of Vue more universal (#2318)
Morlinest [Thu, 17 Aug 2017 16:04:39 +0000 (18:04 +0200)]
Make use of Vue more universal (#2318)

7 years agoAdd public links check (#2323)
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

7 years agofix template error on explore repos (#2319)
Lunny Xiao [Thu, 17 Aug 2017 12:20:21 +0000 (20:20 +0800)]
fix template error on explore repos (#2319)

7 years agoMake SHOW_USER_EMAIL also apply to profiles (#2258)
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.

7 years agoTrigger sync webhooks on UI commit (#2302)
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

7 years agoFix and improve dashboard repo UI (#2285)
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

7 years agorefactor(Makefile): allow overriding default go program (#2310)
Bo-Yi Wu [Wed, 16 Aug 2017 00:46:41 +0000 (08:46 +0800)]
refactor(Makefile): allow overriding default go program (#2310)

7 years agoRevert to upstream ini dependency (#2304)
Ethan Koenig [Mon, 14 Aug 2017 13:37:41 +0000 (06:37 -0700)]
Revert to upstream ini dependency (#2304)

7 years agoMore tweaks to repo top panel (#2267)
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

7 years agoFix rendering of external links (#2292)
Ethan Koenig [Sun, 13 Aug 2017 22:30:28 +0000 (15:30 -0700)]
Fix rendering of external links (#2292)

7 years agoUse /dev/urandom to create random password (#2298)
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

7 years agoOnly update needed columns when update user (#2296)
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

7 years agofix 500 error when view an issue which's milestone deleted (#2297)
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)

7 years agofix webhook link
Lunny Xiao [Thu, 10 Aug 2017 23:51:25 +0000 (07:51 +0800)]
fix webhook link

7 years agoComment help text for issues (#2281)
Patrick G [Wed, 9 Aug 2017 04:13:33 +0000 (00:13 -0400)]
Comment help text for issues (#2281)

7 years agoTemporarily patch go-ini/ini with fork (#2255)
Ethan Koenig [Mon, 7 Aug 2017 01:42:48 +0000 (18:42 -0700)]
Temporarily patch go-ini/ini with fork (#2255)

7 years agoFile path tweaks in UI (#2264)
silverwind [Sun, 6 Aug 2017 03:13:20 +0000 (05:13 +0200)]
File path tweaks in UI (#2264)

7 years agoMake short link pattern greedy (#2259)
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.

7 years agoupdate drone sig file. (#2262)
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>
7 years agoignore coverage steps. (#2257)
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>
7 years agoConvert xorm literal queries to method calls (#2253)
G [Fri, 4 Aug 2017 04:42:51 +0000 (00:42 -0400)]
Convert xorm literal queries to method calls (#2253)

7 years agoFix internal requests when gitea listens to unix socket or only external IP (#2234)
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

7 years ago update code.gitea.io/git in vendor to fix #2245 (#2250)
Lauris BH [Thu, 3 Aug 2017 13:48:36 +0000 (16:48 +0300)]
 update code.gitea.io/git in vendor to fix #2245 (#2250)

7 years agoadd changelog of release v1.1.3 (#2252)
Lunny Xiao [Thu, 3 Aug 2017 08:15:39 +0000 (16:15 +0800)]
add changelog of release v1.1.3 (#2252)

7 years agoFix counts on issues dashboard (#2215)
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

7 years agoEnableUnit() -> UnitEnabled() (#2242)
Ethan Koenig [Wed, 2 Aug 2017 08:46:54 +0000 (01:46 -0700)]
EnableUnit() -> UnitEnabled() (#2242)

7 years agoFix git version check with four digits (1.8.3.1) (#2236)
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)

7 years agoReplace calls to xorm UseBool with Where (#2237)
G [Tue, 1 Aug 2017 05:47:31 +0000 (01:47 -0400)]
Replace calls to xorm UseBool with Where (#2237)

7 years agoPrevent selection of diff line numbers (#2240)
silverwind [Tue, 1 Aug 2017 02:27:17 +0000 (04:27 +0200)]
Prevent selection of diff line numbers (#2240)

7 years agogo get github.com/wadey/gocovmerge when needed (#2235)
Antoine GIRARD [Mon, 31 Jul 2017 01:29:50 +0000 (03:29 +0200)]
go get github.com/wadey/gocovmerge when needed (#2235)

7 years agoFix Commits nil pointer dereference (#2203)
Bwko [Mon, 31 Jul 2017 01:23:10 +0000 (03:23 +0200)]
Fix Commits nil pointer dereference (#2203)

7 years agoImprove docs for PROTOCOL and HTTP_ADDR options (#2231)
silverwind [Sun, 30 Jul 2017 20:07:23 +0000 (22:07 +0200)]
Improve docs for PROTOCOL and HTTP_ADDR options (#2231)

Fixes: #2230
7 years agoGenerate small and large logos at 4x resolution (#2233)
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/.

7 years agoFixed robots.txt 404 error (#2226)
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

7 years agoCheck for access in /repositories/:id (#2227)
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

7 years agoremove unused variable on makefile (#2225)
Lunny Xiao [Sat, 29 Jul 2017 09:22:10 +0000 (17:22 +0800)]
remove unused variable on makefile (#2225)

7 years agoAdd task to generate images from SVG and change to new logo (#2194)
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

7 years agofix some bug
Lunny Xiao [Wed, 26 Jul 2017 09:01:11 +0000 (17:01 +0800)]
fix some bug

7 years agoFix bare-repo bugs (#2199)
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

7 years agoFix hooks for integration repo (#2216)
Ethan Koenig [Thu, 27 Jul 2017 06:12:56 +0000 (23:12 -0700)]
Fix hooks for integration repo (#2216)

7 years agoFix issue updated_unix bug (#2204)
Ethan Koenig [Thu, 27 Jul 2017 01:20:38 +0000 (18:20 -0700)]
Fix issue updated_unix bug (#2204)

7 years agoFix unclosed session bug (#2214)
Ethan Koenig [Wed, 26 Jul 2017 09:30:47 +0000 (02:30 -0700)]
Fix unclosed session bug (#2214)

7 years agoOnly allow token authentication with 2FA enabled (#2184)
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

7 years agoFix compiling without sqlite and gcc (#2177)
Lauris BH [Wed, 26 Jul 2017 07:27:30 +0000 (10:27 +0300)]
Fix compiling without sqlite and gcc (#2177)

7 years agoUse sqlite3 database as default for Docker image (#2182)
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>
7 years agoRevert "Add ability to fork your own repos (#761)" (#2193)
Bwko [Wed, 26 Jul 2017 07:17:38 +0000 (09:17 +0200)]
Revert "Add ability to fork your own repos (#761)" (#2193)

7 years agoFix PR nil-dereference bug (#2195)
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

7 years agoFix key usage time update if the key is used in parallel for multiple operations...
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)

7 years agoFix profile update for non-local users (#2178)
Lauris BH [Wed, 19 Jul 2017 01:36:37 +0000 (04:36 +0300)]
Fix profile update for non-local users (#2178)

7 years agoRemove unit types commits and settings (#2161)
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

7 years agoRefactor vue delimeters to use es6 template delimeters (#2171)
Lauris BH [Sat, 15 Jul 2017 14:22:26 +0000 (17:22 +0300)]
Refactor vue delimeters to use es6 template delimeters (#2171)

7 years agoOnly show SSH clone URL if signed in (#2169) (#2170)
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>
7 years agoMake compare button URL aware if current repo is a fork (#2162) (#2163)
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

7 years agoOnly show "No Description" to repo admins (#2167)
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.

7 years agoMore integration tests for comment API (#2156)
Ethan Koenig [Thu, 13 Jul 2017 22:33:26 +0000 (18:33 -0400)]
More integration tests for comment API (#2156)

7 years agoFix OpenID registration route (#2160)
Christian Weiske [Thu, 13 Jul 2017 20:58:53 +0000 (22:58 +0200)]
Fix OpenID registration route (#2160)

Fixes #2101

7 years agoAPI: support '/orgs/:org/repos' (#2047)
Aaron Walker [Thu, 13 Jul 2017 11:14:15 +0000 (04:14 -0700)]
API: support '/orgs/:org/repos' (#2047)

* API: support '/orgs/:org/repos'

7 years agofix: replace tmp with TMPDIR. (#2152)
Bo-Yi Wu [Thu, 13 Jul 2017 11:09:29 +0000 (06:09 -0500)]
fix: replace tmp with TMPDIR. (#2152)

7 years agoIgnore invalid issue numbers in commit messages. Fixes #2022 (#2150)
Lauris BH [Thu, 13 Jul 2017 03:35:47 +0000 (06:35 +0300)]
Ignore invalid issue numbers in commit messages. Fixes  #2022 (#2150)

7 years agoUpdate code.gitea.io/git dependency (#2149)
Lauris BH [Thu, 13 Jul 2017 03:35:21 +0000 (06:35 +0300)]
Update code.gitea.io/git dependency (#2149)

7 years agoFix repository settings collobration list display (#2151)
Lauris BH [Thu, 13 Jul 2017 03:32:28 +0000 (06:32 +0300)]
Fix repository settings collobration list display (#2151)

7 years agoFix username rendering bug (#2122)
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

7 years agofix typo (#2145)
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>
7 years agoAdd verify changed less-file step to Makefile (#1861)
Bo-Yi Wu [Wed, 12 Jul 2017 02:28:57 +0000 (21:28 -0500)]
Add verify changed less-file step to Makefile (#1861)

7 years agoFix SHA1 hash linking (#2143)
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.

7 years agoSmall grammar fixes (#2144)
Patrick G [Wed, 12 Jul 2017 02:25:45 +0000 (22:25 -0400)]
Small grammar fixes (#2144)

7 years agoFix repo API bug (#2133)
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

7 years agofeat: upgrade drone docker image to support multi-stage build. (#1732)
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>
7 years agoFix GET /users/:username/repos endpoint (#2125)
Ethan Koenig [Mon, 10 Jul 2017 11:07:39 +0000 (07:07 -0400)]
Fix GET /users/:username/repos endpoint (#2125)

7 years agoUse POSIX complaint ! operator in find (#2132)
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

7 years agoMissing signed commit display translation (#2134)
Lauris BH [Mon, 10 Jul 2017 01:46:06 +0000 (04:46 +0300)]
Missing signed commit display translation (#2134)

7 years agoCache session cookies in tests (#2128)
Ethan Koenig [Sun, 9 Jul 2017 02:07:29 +0000 (22:07 -0400)]
Cache session cookies in tests (#2128)

7 years agoRemove unused files (#2124)
Ethan Koenig [Fri, 7 Jul 2017 19:52:30 +0000 (15:52 -0400)]
Remove unused files (#2124)

7 years agoLess verbose integration tests (#2123)
Ethan Koenig [Fri, 7 Jul 2017 19:36:47 +0000 (15:36 -0400)]
Less verbose integration tests (#2123)

* Helper functions for intergration test boilerplate

7 years agoMerge pull request #2119 from ethantkoenig/fix/wiki
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

7 years agoFix import order 2119/head
Ethan Koenig [Thu, 6 Jul 2017 20:38:38 +0000 (16:38 -0400)]
Fix import order