Commit Graph

5470 Commits (89845f67283f5c767daa86aa0dd970d92cbdf717)
 

Author SHA1 Message Date
Ethan Koenig 4c0e567062 Fix improper setup for integration tests ()
Ethan Koenig b4e8a7c4d1 Skip sqlite integration in CI ()
Ethan Koenig 2559a34b97 Load label ID in NewLabels ()
Ethan Koenig f64c232953 Improve integration test helper functions ()
Set request headers in helper functions, and new helper for requests with string-formatted URLs
Ethan Koenig 3ffedeab03 Fix bug in issue labels API ()
Patrick G bf187304dc Fix wording ()
* Fix wording

* Update locale_en-US.ini

* Update keys_gpg.tmpl
Győrvári Gábor f2afed3098 Enable assignee e-mail notification ()
* 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 09cb999145 add missing lfs config on example file ()
* add missing lfs config on example file

* leveal jwt secret empty
Lunny Xiao f6450b8f92 remove deprecated code for Gogs compitable ()
Lauris BH c259c436d7 update git module ()
Kim "BKC" Carlbäcker cc6b3f60c6 Fix displaying commits and files of PR created from now deleted fork ()
Fix displaying commits and files of PR created from now deleted fork
Lunny Xiao 228247511a repo/editor: fix breadcrumb path cuts parent dirs () ()
Lunny Xiao 75b5be236a Display config file path on admin panel ()
Mike Fellows 32f1c41f28 ROOT_URL setting use the default as shown in conf/app.ini ()
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 2852cca99e Add discourse link ()
Ethan Koenig 902a749fd9 Fix fast-forward PR bug ()
iszla 826c606952 Keep sort when switching page ()
Lunny Xiao d71fad2ab7 Fix and fix issue comments hidden ()
* revert  and fix issue comments hidden

* fix 

* fix import

* improve comment type

* reduce unnecessary join

* fix comment on FindCommentsOptions
Lauris BH 0a5dc640a1 Make branch deletion URL more like GitHub's, fixes ()
* Make branch deletion URL more like GitHub's, fixes 

* Add PR branch deletion integration test

* Do not allow deleting protected branch

* Change http error code to 403 if user has no write rights to repository

* Add check to not panic if forked repository has alrady been deleted
Lauris BH 6db387a21e Refactor session close as xorm already does everything needed internally ()
Lauris Bukšis-Haberkorns 63504bf132
Fix displaying commits and files of PR created from now deleted forked repository
Mura Li 754482bf5d Add integration test for repository migration ()
Ethan Koenig 75f166b6b9 Update code.gitea.io/git ()
Lauris BH 165cf33771 Wrong PR merge commit ID saved ()
Mura Li 4d2ea7dc41 Add integration test for issue creating ()
Ethan Koenig 255adc40ae Don't show non-comments in comments API ()
Ethan Koenig 4df1a24096 Let not-logged-in users view releases ()
Ethan Koenig 6e452c4da7 Update code.gitea.io/git ()
Bo-Yi Wu b7812be33a fix misspell ()
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
Bo-Yi Wu 90f9bb12c6 fix golint error and rename func for suggestion. ()
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
Antoine GIRARD 6233e88f7f Use testing benchmark interface ()
Bo-Yi Wu d7570895cc update drone discord plugin to 0.0.4 version ()
* update drone discord plugin to 0.0.3 version

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>

* update to 0.0.4

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>

* update sig file.

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
Lauris BH 1a906f800d Fix GPG email checking to be case insensitive ()
Trolli Schmittlauch 6678593b3c fix typo ()
Lunny Xiao e2ec4b7c23 fix bu ong normal user visit public repo ()
Ethan Koenig 8fc64741d9 Fix deleted milestone bug ()
* Fix deleted milestone bug

* Use locale for ghost milestone name

* Fix pointer bug
Ethan Koenig ce9b86082c Consolidate boilerplate in integration tests ()
Bo-Yi Wu a3868ef536 update drone sig file ()
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
Andrey Nering b7d597e40c Merge pull request from ethantkoenig/log/integration_test
Set console to debug for integration tests
Antoine GIRARD 2bcd9471c9 Separate generate swagger + fix sed os specific ()
* Separate generate-swagger

* Remove go generate rules

* Add missing definition replacement + remove use of -i sed flag

for compatibility with mac os default sed version.
This is a little hacky a better solution could be use.

* Use custom SED_INPLACE

depending of platform detection

* Use SED_INPLACE for swagger-ui also
Ethan Koenig d1e4af66c1 Set console to debug for integration tests
Mura Li 01322af2e8 Add integration test for pull-request merge ()
Shuanglei Tao 13f0e1255a Fix typo ()
Ethan Koenig 792cde7081 Coverage reports for integration tests ()
Mura Li 033aaf4b38 Add pull-create integration test ()
Kim "BKC" Carlbäcker 2691673588 send notification if status changed ()
send notification if status changed
Bo-Yi Wu 0d560f3441
send notification if status changed
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
Ethan Koenig 8fcda0442e Fix search by issue type ()
* Fix search by issue type
Kim "BKC" Carlbäcker bf48c8ebdd SQLite has a query timeout. Hopefully fixes most 'database locked' errors ()
* SQLite has a query timeout. Fixes 'database locked' errors
Lunny Xiao 31b5e9177f fix collborators lack of units on orgnization repositories ()
* fix collborators lack of units on orgnization repositories

* also change log level to debug