Commit graph

6436 commits

Author SHA1 Message Date
Lunny Xiao
e2ec4b7c23 fix bu ong normal user visit public repo (#1984) 2017-06-17 12:53:51 +08:00
Ethan Koenig
8fc64741d9 Fix deleted milestone bug (#1942)
* Fix deleted milestone bug

* Use locale for ghost milestone name

* Fix pointer bug
2017-06-17 12:51:28 +08:00
Ethan Koenig
ce9b86082c Consolidate boilerplate in integration tests (#1979) 2017-06-17 12:49:45 +08:00
Bo-Yi Wu
a3868ef536 update drone sig file (#1981)
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2017-06-15 21:32:14 -05:00
Andrey Nering
b7d597e40c Merge pull request #1976 from ethantkoenig/log/integration_test
Set console to debug for integration tests
2017-06-15 14:57:29 -03:00
Antoine GIRARD
2bcd9471c9 Separate generate swagger + fix sed os specific (#1791)
* 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
2017-06-15 08:51:23 -05:00
Ethan Koenig
d1e4af66c1 Set console to debug for integration tests 2017-06-15 08:12:30 -04:00
Mura Li
01322af2e8 Add integration test for pull-request merge (#1912) 2017-06-15 19:20:39 +08:00
Shuanglei Tao
13f0e1255a Fix typo (#1974) 2017-06-15 17:38:54 +08:00
Ethan Koenig
792cde7081 Coverage reports for integration tests (#1960) 2017-06-15 17:38:33 +08:00
Mura Li
033aaf4b38 Add pull-create integration test (#1972) 2017-06-15 02:01:51 -05:00
Kim "BKC" Carlbäcker
2691673588 send notification if status changed (#1973)
send notification if status changed
2017-06-15 08:56:23 +02:00
Bo-Yi Wu
0d560f3441
send notification if status changed
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2017-06-15 14:46:08 +08:00
Ethan Koenig
8fcda0442e Fix search by issue type (#1914)
* Fix search by issue type
2017-06-15 05:09:03 +02:00
Kim "BKC" Carlbäcker
bf48c8ebdd SQLite has a query timeout. Hopefully fixes most 'database locked' errors (#1961)
* SQLite has a query timeout. Fixes 'database locked' errors
2017-06-15 04:51:17 +02:00
Lunny Xiao
31b5e9177f fix collborators lack of units on orgnization repositories (#1968)
* fix collborators lack of units on orgnization repositories

* also change log level to debug
2017-06-15 04:50:12 +02:00
Bo-Yi Wu
5b0cbf3788 switch gitter to discord for drone. (#1971)
* switch gitter to discord for drone.

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

* add event

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

* only notify build fail message.

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2017-06-15 10:47:42 +08:00
Ethan Koenig
57cabb3ad3 Fix diff of renamed and modified file (#1967) 2017-06-14 04:07:09 -05:00
Antoine GIRARD
274149dd14 Switch to keybase go-crypto (for some elliptic curve key) + test (#1925)
* Switch to keybase go-crypto (for some elliptic curve key) + test

* Use assert.NoError 

and add a little more context to failing test description

* Use assert.(No)Error everywhere 🌈

and assert.Error in place of .Nil/.NotNil
2017-06-14 08:43:43 +08:00
Ethan Koenig
5e92b82ac6 Fix uppercase default branch bug (#1965) 2017-06-14 08:42:36 +08:00
Ethan Koenig
96152c38b1 Fix bug in Action.loadRepo() (#1959) 2017-06-14 08:37:50 +08:00
silverwind
0168b7073d Use monospace font in githook editor (#1958) 2017-06-13 10:48:49 +08:00
Kim "BKC" Carlbäcker
889409ba31 Fix setting.AppPath for integration tests (#1923)
Fix setting.AppPath for integration tests
2017-06-13 04:20:32 +02:00
shakeme
e8c63e21af Fix missing backslash in Dockerfile.rpi (#1952) 2017-06-13 10:07:11 +08:00
Ethan Koenig
b38b61bbc1 Fix import order (#1951) 2017-06-12 10:01:09 -05:00
Andrey Nering
635273cea6 Merge pull request #1829 from ethantkoenig/no_branches
Commitless repos should be bare
2017-06-12 11:05:01 -03:00
Kim "BKC" Carlbäcker
b5d2780b22 Merge pull request #1945 from appleboy/master
[ci skip] add 1.1.2 change log.
2017-06-12 15:26:18 +02:00
Jonas Östanbäck
00733b4468 Add myself as a maintainer (#1948) 2017-06-12 08:11:50 -05:00
Bo-Yi Wu
884c60480d
[ci skip] add 1.1.2 change log.
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2017-06-12 17:07:52 +08:00
Jonas Östanbäck
ad70af1248 Add repo fork swagger (#1941) 2017-06-12 08:59:51 +08:00
Andrey Nering
91f27bf9bd Merge pull request #1940 from cez81/discord_links
Update links to Discord server
2017-06-11 19:41:08 -03:00
Jonas Östanbäck
cc5484de10 Update links to Discord server 2017-06-11 19:42:08 +02:00
Ethan Koenig
9fbdd7d787 Fix engine bug in getIssueByID (#1934) 2017-06-11 14:39:12 +08:00
Ethan Koenig
e0a63a20e0 Fix errors caused by force push (#1927) 2017-06-10 21:59:13 -05:00
Dennis Keitzel
96b4780727 Gracefully handle bare repositories on API operations. (#1932)
Signed-off-by: Dennis Keitzel <github@pinshot.net>
2017-06-10 21:57:28 -05:00
silverwind
f2fcd9dcd8 Support CRLF when splitting code lines for display (#1862)
* Support CRLF when splitting code lines for display

* refactor, fix mixed match

* fmt

* split on both LF and CRLF, use raw literals in regexes

* simplify
2017-06-10 23:20:25 +08:00
Bo-Yi Wu
446a41d595 [ci skip] update discord badge. (#1930)
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2017-06-10 21:38:00 +08:00
Lunny Xiao
65b6301ea2 Change join chat from gitter to discord (#1929) 2017-06-10 07:40:56 -05:00
Ethan Koenig
23d0735f90 Absolute path for setting.CustomConf 2017-06-09 22:27:13 -04:00
Kim "BKC" Carlbäcker
d3efca3982 Merge pull request #1926 from go-gitea/bkcsoft-update-changelog
Update changelog with v1.1.1
2017-06-10 03:07:09 +02:00
Ethan Koenig
61716bd8f7 Display URLs in integration test logs (#1924) 2017-06-09 19:41:36 -05:00
Ethan Koenig
6d613fb28e No highlighting for .txt files (#1922) 2017-06-09 19:39:16 -05:00
Kim "BKC" Carlbäcker
a5444fb3db Update changelog with v1.1.1 2017-06-10 02:10:25 +02:00
Ethan Koenig
e9b1b908ee Fix setting.AppPath for integration tests 2017-06-09 15:42:48 -04:00
Kim "BKC" Carlbäcker
4a3f40460b Don't run 'make release' on PRs (#1908) 2017-06-09 09:52:23 +08:00
Ethan Koenig
73836ce8c4 Fix ghost user bug (#1913)
Fix bug where unassigned issues would appear to be assigned to a ghost user
2017-06-09 09:51:31 +08:00
Jonas Östanbäck
b1b8c5e9f4 Set TMPDIR enviroment variable for dump command (#1915) 2017-06-08 19:24:15 -05:00
Mura Li
662b8bc2a2 Add integration test for file editing (#1907) 2017-06-08 19:15:41 +08:00
Ethan Koenig
afe1f1c4af Fix 500 in public activity page (#1901) 2017-06-08 03:48:49 -05:00
Ethan Koenig
9ddc35e343 Cache ctx.User in retrieveFeeds (#1902) 2017-06-08 10:11:41 +08:00