]> source.dussan.org Git - gitea.git/log
gitea.git
7 years agoSimplify settings pages with item list (#1389)
Antoine GIRARD [Thu, 30 Mar 2017 01:02:37 +0000 (03:02 +0200)]
Simplify settings pages with item list (#1389)

* Remove point column on ssh key setting page

* Remove un-used css

* Some cleaning

* Use octicon-key

7 years agoAllow ENABLE_OPENID_SIGNUP to depend on DISABLE_REGISTRATION (#1369)
Sandro Santilli [Wed, 29 Mar 2017 10:57:43 +0000 (12:57 +0200)]
Allow ENABLE_OPENID_SIGNUP to depend on DISABLE_REGISTRATION (#1369)

* Allow ENABLE_OPENID_SIGNUP to depend on DISABLE_REGISTRATION

Omit the configuration variable (the default) to be dependent.
Fixes #1363

* Move OpenID settings under Service object

* Show OpenID SignUp and SignIn status in admin panel / configuration

7 years agorefactor: remove workaround after the golang 1.7 release. (#1349)
Bo-Yi Wu [Wed, 29 Mar 2017 02:05:23 +0000 (10:05 +0800)]
refactor: remove workaround after the golang 1.7 release. (#1349)

* refactor: remove workaround after the golang 1.7 release.

* remove unused import.

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
* refactor: Add remove function.

* refactor: rename

* refactor: update build flag

7 years agoMinor improvements on commit graph UI (#1380)
Andrey Nering [Fri, 24 Mar 2017 02:32:40 +0000 (23:32 -0300)]
Minor improvements on commit graph UI (#1380)

* Make "Commit Graph" link a button and translate it

* Add title on Commit Graph page

7 years agoFix FCGI (over TCP) support (#1368)
Pavel Korovin [Thu, 23 Mar 2017 07:57:43 +0000 (10:57 +0300)]
Fix FCGI (over TCP) support (#1368)

7 years agorewrite pre-commit, post-commit and options hooks (fixes #1250) (#1257)
Philippe Kueck [Thu, 23 Mar 2017 01:12:51 +0000 (02:12 +0100)]
rewrite pre-commit, post-commit and options hooks (fixes #1250) (#1257)

* issue #1250, replace {pre,post}-receive and update hooks with a single shell script that does not require custom hooks to be a sh-script

* issue #1250, make script posix compilant

* v23, add migration script to update {pre,post}-receive and update hooks

* migration: use a more common name and rename v23 to v26 to avoid conflicts

* gofmt'ed and added copyright header

* fix SyncRepositoryHooks to also sync wiki repos

7 years agofix migration failed when authorized_keys is not exist (#1180)
Lunny Xiao [Wed, 22 Mar 2017 16:04:31 +0000 (00:04 +0800)]
fix migration failed when authorized_keys is not exist (#1180)

7 years agoCleaner IMO (#1361)
Kim "BKC" Carlbäcker [Wed, 22 Mar 2017 14:30:40 +0000 (15:30 +0100)]
Cleaner IMO (#1361)

7 years agoChanged text when password reset disabled. (#1364)
Jonas [Wed, 22 Mar 2017 14:29:29 +0000 (15:29 +0100)]
Changed text when password reset disabled. (#1364)

Fixes #1340

7 years agoRemove href on first/last link when on first/last page (#1345)
aloupfor [Wed, 22 Mar 2017 11:37:48 +0000 (12:37 +0100)]
Remove href on first/last link when on first/last page (#1345)

Signed-off-by: Arthur Loupforest <arthur.loupforest@outlook.fr>
7 years agoGPG commit validation (#1150)
Antoine GIRARD [Wed, 22 Mar 2017 10:43:54 +0000 (11:43 +0100)]
GPG commit validation (#1150)

* GPG commit validation

* Add translation

+ some little fix

* Move hash calc after retrieving of potential key + missing translation

* Add some little test

7 years agoLFS: Fix SSH authentication for trailing arguments (#1328)
Fabian Zaremba [Wed, 22 Mar 2017 10:43:28 +0000 (11:43 +0100)]
LFS: Fix SSH authentication for trailing arguments (#1328)

Fixes #1296

7 years agoReduce conditionals in signin/signup inner forms (#1138)
Kim "BKC" Carlbäcker [Tue, 21 Mar 2017 23:50:56 +0000 (00:50 +0100)]
Reduce conditionals in signin/signup inner forms (#1138)

7 years agoRemoved email copyright year (#1348)
Jonas [Tue, 21 Mar 2017 10:00:39 +0000 (11:00 +0100)]
Removed email copyright year (#1348)

7 years agoFix broken table layout (#1344)
Jonas [Tue, 21 Mar 2017 01:44:59 +0000 (02:44 +0100)]
Fix broken table layout (#1344)

7 years agoRun "make fmt" with go-1.6 (#1333)
Sandro Santilli [Tue, 21 Mar 2017 00:55:00 +0000 (01:55 +0100)]
Run "make fmt" with go-1.6 (#1333)

7 years agofix delete user failed on sqlite (#1321)
Lunny Xiao [Mon, 20 Mar 2017 14:13:52 +0000 (22:13 +0800)]
fix delete user failed on sqlite (#1321)

7 years agofix wiki bugs (#1294)
Lunny Xiao [Mon, 20 Mar 2017 13:36:19 +0000 (21:36 +0800)]
fix wiki bugs (#1294)

7 years agoDelete the useless code (#1335)
caiwp [Mon, 20 Mar 2017 13:17:07 +0000 (21:17 +0800)]
Delete the useless code (#1335)

7 years agoReduce conditionals in signin/signup inner forms 1138/head
Sandro Santilli [Tue, 7 Mar 2017 10:47:56 +0000 (11:47 +0100)]
Reduce conditionals in signin/signup inner forms

by always using SignInLink and SignUpLink in the form action

7 years agoLFS: Return 404 for unimplemented endpoints (#1330)
Fabian Zaremba [Mon, 20 Mar 2017 08:40:20 +0000 (09:40 +0100)]
LFS: Return 404 for unimplemented endpoints (#1330)

Without this patch a 401 is returned for unspecified endpoints, making
the LFS client ask for HTTP credentials. This behaviour was introduced
with the new locking API:

https://github.com/git-lfs/git-lfs/blob/master/docs/api/locking.md

7 years agoShow user OpenID URIs in their profile (#1314)
Sandro Santilli [Mon, 20 Mar 2017 08:31:08 +0000 (09:31 +0100)]
Show user OpenID URIs in their profile (#1314)

7 years agoAdd change-password admin command (#1304)
Sandro Santilli [Mon, 20 Mar 2017 08:23:38 +0000 (09:23 +0100)]
Add change-password admin command (#1304)

* Add change-password admin command

7 years agoAdd captcha support to OpenID based signup
Sandro Santilli [Fri, 17 Mar 2017 16:40:39 +0000 (17:40 +0100)]
Add captcha support to OpenID based signup

7 years agoGitea OpenID-2.0 login has been tested with livejournal.com too
Sandro Santilli [Fri, 17 Mar 2017 16:15:01 +0000 (17:15 +0100)]
Gitea OpenID-2.0 login has been tested with livejournal.com too

7 years agoImprove style of user OpenID setting page (#1324)
Sandro Santilli [Mon, 20 Mar 2017 07:51:33 +0000 (08:51 +0100)]
Improve style of user OpenID setting page (#1324)

* Improve user openid list CSS and regenerate CSS

7 years agofix gpg wrong column types
Lunny Xiao [Fri, 17 Mar 2017 14:24:51 +0000 (22:24 +0800)]
fix gpg wrong column types

7 years agoUse readonly input form to show the validated OpenID URI (#1308)
Sandro Santilli [Mon, 20 Mar 2017 01:50:24 +0000 (02:50 +0100)]
Use readonly input form to show the validated OpenID URI (#1308)

7 years agoremove empty file (#1326)
Lunny Xiao [Sun, 19 Mar 2017 13:43:04 +0000 (21:43 +0800)]
remove empty file (#1326)

7 years agoUse font-awesome OpenID icon more (#1320)
Sandro Santilli [Sun, 19 Mar 2017 08:25:24 +0000 (09:25 +0100)]
Use font-awesome OpenID icon more (#1320)

7 years agoFix inconsistency in layout (#1316)
Patrick G [Sat, 18 Mar 2017 11:00:09 +0000 (11:00 +0000)]
Fix inconsistency in layout (#1316)

7 years agofeat: Only use issue and wiki on repo. (#1297)
Bo-Yi Wu [Sat, 18 Mar 2017 10:59:07 +0000 (05:59 -0500)]
feat: Only use issue and wiki on repo. (#1297)

7 years agoSpecify that time interval units are seconds (#1311)
Sandro Santilli [Sat, 18 Mar 2017 03:10:30 +0000 (04:10 +0100)]
Specify that time interval units are seconds (#1311)

7 years agoLogin via OpenID-2.0 (#618)
Sandro Santilli [Fri, 17 Mar 2017 14:16:08 +0000 (15:16 +0100)]
Login via OpenID-2.0 (#618)

7 years agoRefactor repo/issue/view_content.tmpl (#1276)
Kim "BKC" Carlbäcker [Fri, 17 Mar 2017 05:57:43 +0000 (06:57 +0100)]
Refactor repo/issue/view_content.tmpl (#1276)

7 years agoRefactor admin/auth/new.tmpl (#1277)
Kim "BKC" Carlbäcker [Fri, 17 Mar 2017 05:55:04 +0000 (06:55 +0100)]
Refactor admin/auth/new.tmpl (#1277)

7 years agoAllow push to init a wiki repo (#1279)
Lunny Xiao [Fri, 17 Mar 2017 04:59:42 +0000 (12:59 +0800)]
Allow push to init a wiki repo (#1279)

* allow push to init a wiki repo

* compact error check

7 years agofix wrong log when push to a new branch (#1220)
Lunny Xiao [Fri, 17 Mar 2017 02:15:00 +0000 (10:15 +0800)]
fix wrong log when push to a new branch (#1220)

7 years agoFix missing less sources for oauth (#1288)
Antoine GIRARD [Fri, 17 Mar 2017 00:49:24 +0000 (01:49 +0100)]
Fix missing less sources for oauth (#1288)

7 years agoMake wording of commit search more clear
Patrick G [Thu, 16 Mar 2017 20:25:30 +0000 (16:25 -0400)]
Make wording of commit search more clear

7 years agoAdd notice that LFS mirroring is not supported (#1251)
Fabian Zaremba [Thu, 16 Mar 2017 11:33:22 +0000 (12:33 +0100)]
Add notice that LFS mirroring is not supported (#1251)

* Add notice that LFS mirroring is not supported

* Drop German translation

7 years agoSend notifications to partecipants in issue comments (#1217)
Sandro Santilli [Thu, 16 Mar 2017 01:34:24 +0000 (02:34 +0100)]
Send notifications to partecipants in issue comments (#1217)

* Send notifications to partecipants in issue comments

Closes #1216

Includes test (still failing)

* Do not include "labelers" to participants

Fix test to expect what GetParticipants return

7 years agoImplement GPG api (#710)
Antoine GIRARD [Thu, 16 Mar 2017 01:27:35 +0000 (02:27 +0100)]
Implement GPG api (#710)

* Implement GPG API

* Better handle error

* Apply review recommendation + simplify database operations

* Remove useless comments

7 years agoMerge pull request #1258 from ethantkoenig/fix/access
Andrey Nering [Thu, 16 Mar 2017 00:21:57 +0000 (21:21 -0300)]
Merge pull request #1258 from ethantkoenig/fix/access

Fix nil-dereference bug

7 years agoCleaner ui for admin, repo settings, and user settings page (#1269) (#1270)
Patrick G [Wed, 15 Mar 2017 22:39:38 +0000 (22:39 +0000)]
Cleaner ui for admin, repo settings, and user settings page (#1269) (#1270)

7 years agoCleaner UI for explore page (#1253) (#1255)
Patrick G [Wed, 15 Mar 2017 18:55:12 +0000 (18:55 +0000)]
Cleaner UI for explore page (#1253) (#1255)

* Take navbar out of column
* Add styles to navbar
* Changed navbar classes
* Remove unneeded !important from index.css
* Remove unneeded !important from _explore.less

7 years agoFix nil-dereference bug 1258/head
Ethan Koenig [Wed, 15 Mar 2017 02:13:54 +0000 (22:13 -0400)]
Fix nil-dereference bug

7 years agoMake sure both scripts/ can live side by side (#1264)
Thomas Boerger [Wed, 15 Mar 2017 15:11:26 +0000 (16:11 +0100)]
Make sure both scripts/ can live side by side (#1264)

7 years agoSynced licenses with github repo (#1246)
Thomas Boerger [Wed, 15 Mar 2017 12:30:16 +0000 (13:30 +0100)]
Synced licenses with github repo (#1246)

* Added script to download licenses from github

* Synced licenses with github repo

7 years agoSynced gitignores with github repo (#1245)
Thomas Boerger [Wed, 15 Mar 2017 12:30:00 +0000 (13:30 +0100)]
Synced gitignores with github repo (#1245)

* Renamed scripts directory into contrib

* Added script to download gitignores from github

* Synced gitignores with github repo

7 years agoBatch updates for issues (#926)
Ethan Koenig [Wed, 15 Mar 2017 01:10:35 +0000 (21:10 -0400)]
Batch updates for issues (#926)

7 years agoFix typos in models/ and modules/ (#1248)
Ethan Koenig [Wed, 15 Mar 2017 00:52:01 +0000 (20:52 -0400)]
Fix typos in models/ and modules/ (#1248)

7 years agoRefactor and fix incorrect comment (#1247)
Ethan Koenig [Wed, 15 Mar 2017 00:51:46 +0000 (20:51 -0400)]
Refactor and fix incorrect comment (#1247)

7 years agoRename /forget_password url to /forgot_password
Sandro Santilli [Mon, 20 Feb 2017 18:27:20 +0000 (19:27 +0100)]
Rename /forget_password url to /forgot_password

Also renames `forgot_password` translation key to
`forgot_password_title` and `forget_password` to
`forgot_password`

Includes entry in CHANGELOG about the breaking change
(and some markdown fixes in there)

7 years agoFix migration comment (#1241)
Sandro Santilli [Tue, 14 Mar 2017 06:39:02 +0000 (07:39 +0100)]
Fix migration comment (#1241)

7 years agoUpdate locale_en-US.ini (#1235)
Patrick G [Tue, 14 Mar 2017 03:24:46 +0000 (03:24 +0000)]
Update locale_en-US.ini (#1235)

7 years agofix forget migration for wiki hooks (#1227)
Lunny Xiao [Mon, 13 Mar 2017 06:27:29 +0000 (14:27 +0800)]
fix forget migration for wiki hooks (#1227)

7 years agofix repo settings external tracker failed and check external urls (#1215)
Lunny Xiao [Mon, 13 Mar 2017 01:41:40 +0000 (09:41 +0800)]
fix repo settings external tracker failed and check external urls (#1215)

7 years agoAdd myself to maintainers (#1229)
Patrick G [Mon, 13 Mar 2017 00:48:39 +0000 (00:48 +0000)]
Add myself to maintainers (#1229)

7 years agoAdd LibreJS support (#1201)
Sandro Santilli [Sun, 12 Mar 2017 14:50:20 +0000 (15:50 +0100)]
Add LibreJS support (#1201)

See See https://www.gnu.org/software/librejs/

Closes #1200

7 years agofix 500 caused by branches settings introduced by #1198 (#1214)
Lunny Xiao [Sun, 12 Mar 2017 13:50:26 +0000 (21:50 +0800)]
fix 500 caused by branches settings introduced by #1198 (#1214)

7 years agoReserve the "explore" user/org name (#1222)
Sandro Santilli [Sun, 12 Mar 2017 01:39:38 +0000 (02:39 +0100)]
Reserve the "explore" user/org name (#1222)

7 years agoAdd integration test for signup (#1135)
Mura Li [Sat, 11 Mar 2017 14:30:29 +0000 (22:30 +0800)]
Add integration test for signup (#1135)

* Add integration test for signup

* Remove unused functions

* Refactoring

* Add repo_create_test.go

* Rollback the incomplete repo create test

* Comply with linter requirements and simplify the code a little bit

7 years agoShow a link to password reset from password change and delete account (#862)
Sandro Santilli [Sat, 11 Mar 2017 09:11:54 +0000 (10:11 +0100)]
Show a link to password reset from password change and delete account (#862)

It's helpful when you forgot your password thus cannot change it
(can happen if you log in via OAuth2 or OpenID)

Also make sure that both the delete-account and password-change
links to forgot-password will have the primary email pre-filled

7 years agoSimplify RepositoryList.loadAttributes() (#1211)
Ethan Koenig [Sat, 11 Mar 2017 08:50:12 +0000 (03:50 -0500)]
Simplify RepositoryList.loadAttributes() (#1211)

7 years agoMove user_follow to separate file (#1210)
Ethan Koenig [Sat, 11 Mar 2017 08:46:53 +0000 (03:46 -0500)]
Move user_follow to separate file (#1210)

Also add unit tests

7 years agoUnit tests for issue_list (#1209)
Ethan Koenig [Sat, 11 Mar 2017 08:46:23 +0000 (03:46 -0500)]
Unit tests for issue_list (#1209)

7 years agoSearch bar fixes for #1187 and #1205 (#1207)
Patrick G [Sat, 11 Mar 2017 08:45:15 +0000 (08:45 +0000)]
Search bar fixes for #1187 and #1205 (#1207)

7 years agofix #1189, commit messages containing a pipe (#1203)
Philippe Kueck [Sat, 11 Mar 2017 04:01:38 +0000 (05:01 +0100)]
fix #1189, commit messages containing a pipe (#1203)

7 years agoMake strings translatable (#1188) (#1198)
Patrick G [Sat, 11 Mar 2017 01:28:25 +0000 (01:28 +0000)]
Make strings translatable (#1188) (#1198)

* Add strings to ini

* Make strings translatable (#1188)

7 years agoFix upgrade failed after ever rollback (#1194)
Lunny Xiao [Fri, 10 Mar 2017 15:43:51 +0000 (23:43 +0800)]
Fix upgrade failed after ever rollback (#1194)

* fix upgrade failed after rollback

* fix upgrade failed after rollback

* fix possible upgrade twice fail after rollback

7 years agobug fixed for delete repo failed (#1193)
Lunny Xiao [Fri, 10 Mar 2017 14:05:53 +0000 (22:05 +0800)]
bug fixed for delete repo failed (#1193)

7 years agofix ini format incomiptable with crowdin (#1177)
Lunny Xiao [Fri, 10 Mar 2017 11:40:25 +0000 (19:40 +0800)]
fix ini format incomiptable with crowdin (#1177)

7 years agorename OSX to macOS (#1176)
mcheng89 [Fri, 10 Mar 2017 08:20:17 +0000 (03:20 -0500)]
rename OSX to macOS (#1176)

7 years agoDockerfile for aarch64 (#1128) (#1130)
atzoum [Fri, 10 Mar 2017 02:02:55 +0000 (04:02 +0200)]
Dockerfile for aarch64 (#1128) (#1130)

7 years agoFix double borders on edit page (#1152) (#1153)
Patrick G [Fri, 10 Mar 2017 01:33:35 +0000 (01:33 +0000)]
Fix double borders on edit page (#1152) (#1153)

* Fix double borders on edit page (#1152)

* Add border modifications to less file

7 years agoadd mssql to app.ini db config comment (#1172)
esell [Fri, 10 Mar 2017 01:33:19 +0000 (18:33 -0700)]
add mssql to app.ini db config comment (#1172)

7 years agoAdd MSSQL to issues template (#1171)
esell [Fri, 10 Mar 2017 01:31:57 +0000 (18:31 -0700)]
Add MSSQL to issues template (#1171)

7 years agoFixed drone builds v1.1.0
Thomas Boerger [Thu, 9 Mar 2017 19:25:12 +0000 (20:25 +0100)]
Fixed drone builds

7 years agoUpdated changelog (#1164)
Thomas Boerger [Thu, 9 Mar 2017 19:13:29 +0000 (20:13 +0100)]
Updated changelog (#1164)

7 years agoupdate locale files to 2017-03-10 00:07 +08 (#1163)
Lunny Xiao [Thu, 9 Mar 2017 16:37:27 +0000 (00:37 +0800)]
update locale files to 2017-03-10 00:07 +08 (#1163)

7 years agofix scripts/mysql.sql from gogs to gitea (#1161)
Lunny Xiao [Thu, 9 Mar 2017 14:31:46 +0000 (22:31 +0800)]
fix scripts/mysql.sql from gogs to gitea (#1161)

7 years agoGrammar fixes and small wording adjustments (#1156)
Patrick G [Thu, 9 Mar 2017 13:24:57 +0000 (08:24 -0500)]
Grammar fixes and small wording adjustments (#1156)

* Grammar fixes and small wording adjustments

* More grammar fixes

7 years agomerge locale files from crowdin, updated to 2017-03-09 19:28 +08 (#1162)
Lunny Xiao [Thu, 9 Mar 2017 13:19:23 +0000 (21:19 +0800)]
merge locale files from crowdin, updated to 2017-03-09 19:28 +08 (#1162)

7 years agoFix grammar (#1158)
Patrick G [Thu, 9 Mar 2017 11:20:52 +0000 (06:20 -0500)]
Fix grammar (#1158)

7 years agofix leave team 404 (#1154)
Lunny Xiao [Thu, 9 Mar 2017 11:18:49 +0000 (19:18 +0800)]
fix leave team 404 (#1154)

7 years agoFix Git hooks not being executed on Windows when running as a service (#1149)
Andrey Nering [Thu, 9 Mar 2017 01:27:43 +0000 (22:27 -0300)]
Fix Git hooks not being executed on Windows when running as a service (#1149)

Closes #1139

7 years agofix random avatars (#1147)
Lunny Xiao [Wed, 8 Mar 2017 15:05:15 +0000 (23:05 +0800)]
fix random avatars (#1147)

7 years agofix UI display problem when wiki name is non-ascii charset (#1142)
Lunny Xiao [Wed, 8 Mar 2017 00:34:22 +0000 (08:34 +0800)]
fix UI display problem when wiki name is non-ascii charset (#1142)

7 years agoSplit the binary build (#985)
Thomas Boerger [Tue, 7 Mar 2017 13:49:24 +0000 (14:49 +0100)]
Split the binary build (#985)

As we can not compile darwin binaries with static flags I have split the
build process into different make tasks. Now we get static linked
binaries especially for linux so that it also can run on older versions
of CenOS and so on.

Signed-off-by: Thomas Boerger <thomas@webhippie.de>
7 years agoFix stray directories generated by integration tests (#1134)
Mura Li [Tue, 7 Mar 2017 07:38:26 +0000 (15:38 +0800)]
Fix stray directories generated by integration tests (#1134)

7 years agofix build failed on aarch64 (#1132)
Lunny Xiao [Tue, 7 Mar 2017 07:09:05 +0000 (15:09 +0800)]
fix build failed on aarch64 (#1132)

7 years agoAdd basic integration test infrastructure (and new endpoint `/api/v1/version` for...
Mura Li [Mon, 6 Mar 2017 14:13:17 +0000 (22:13 +0800)]
Add basic integration test infrastructure (and new endpoint `/api/v1/version` for testing it) (#741)

* Implement '/api/v1/version'

* Cleanup and various fixes

* Enhance run.sh

* Add install_test.go

* Add parameter utils.Config for testing handlers

* Re-organize TestVersion.go

* Rename functions

* handling process cleanup properly

* Fix missing function renaming

* Cleanup the 'retry' logic

* Cleanup

* Remove unneeded logging code

* Logging messages tweaking

* Logging message tweaking

* Fix logging messages

* Use 'const' instead of hardwired numbers

* We don't really need retries anymore

* Move constant ServerHttpPort to install_test.go

* Restore mistakenly removed constant

* Add required comments to make the linter happy.

* Fix comments and naming to address linter's complaints

* Detect Gitea executale version automatically

* Remove tests/run.sh, `go test` suffices.

* Make `make build` a prerequisite of `make test`

* Do not sleep before trying

* Speedup the server pinging loop

* Use defined const instead of hardwired numbers

* Remove redundant error handling

* Use a dedicated target for running code.gitea.io/tests

* Do not make 'test' depend on 'build' target

* Rectify the excluded package list

* Remove redundant 'exit 1'

* Change the API to allow passing test.T to test handlers

* Make testing.T an embedded field

* Use assert.Equal to comparing results

* Add copyright info

* Parametrized logging output

* Use tmpdir instead

* Eliminate redundant casting

* Remove unneeded variable

* Fix last commit

* Add missing copyright info

* Replace fmt.Fprintf with fmt.Fprint

* rename the xtest to integration-test

* Use Symlink instead of hard-link for cross-device linking

* Turn debugging logs on

* Follow the existing framework for APIs

* Output logs only if test.v is true

* Re-order import statements

* Enhance the error message

* Fix comment which breaks the linter's rule

* Rename 'integration-test' to 'e2e-test' for saving keystrokes

* Add comment to avoid possible confusion

* Rename tests -> integration-tests

Also change back the Makefile to use `make integration-test`.

* Use tests/integration for now

* tests/integration -> integrations

Slightly flattened directory hierarchy is better.

* Update Makefile accordingly

* Fix a missing change in Makefile

* govendor update code.gitea.io/sdk/gitea

* Fix comment of struct fields

* Fix conditional nonsense

* Fix missing updates regarding version string changes

* Make variable naming more consistent

* Check http status code

* Rectify error messages

7 years agofix avatar bug #1114 (#1122)
Lunny Xiao [Mon, 6 Mar 2017 08:15:40 +0000 (16:15 +0800)]
fix avatar bug #1114 (#1122)

This PR fix the avatar bug described in #1114. This will fix random avatar is blank problem and potential delete avatars dir problem.

7 years agofix del org avatar potential delete all avtars (#1120)
Lunny Xiao [Mon, 6 Mar 2017 08:07:18 +0000 (16:07 +0800)]
fix del org avatar potential delete all avtars (#1120)

7 years agofix install submit crash caused by xorm log (#1119)
Lunny Xiao [Mon, 6 Mar 2017 02:11:43 +0000 (10:11 +0800)]
fix install submit crash caused by xorm log (#1119)

7 years agofeat: expose url field on issue api. (#982)
Bo-Yi Wu [Fri, 3 Mar 2017 14:35:42 +0000 (22:35 +0800)]
feat: expose url field on issue api. (#982)

* Add api url func.

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
* fix: Add unit testing.

* fix: conflicts

* fix: remove trim

* fix: revert test function name.

7 years agorefactor: remove redundant slash. (#1109)
Bo-Yi Wu [Fri, 3 Mar 2017 12:47:24 +0000 (20:47 +0800)]
refactor: remove redundant slash. (#1109)

7 years agofix panic when get user repos from api (#1110)
Lunny Xiao [Fri, 3 Mar 2017 11:10:46 +0000 (19:10 +0800)]
fix panic when get user repos from api (#1110)

7 years agofix compare button failed when there is no fork repos (#1104)
Lunny Xiao [Fri, 3 Mar 2017 08:53:59 +0000 (16:53 +0800)]
fix compare button failed when there is no fork repos (#1104)