Ethan Koenig
f99489d5c5
Fix API for branches with slashes ( #2096 )
2017-07-02 10:03:57 +08:00
Ethan Koenig
fea902adc8
Check for valid renamed usernames ( #2077 )
...
* Check for valid renamed usernames
* Integration test
* Test for username with space
* Make name field required
2017-07-01 22:48:29 +03:00
Ethan Koenig
eae9154811
Fix SQL bug in models.PullRequests
2017-07-01 14:08:43 +03:00
Lauris BH
783b1967e2
Fix release display and correct paging ( #2080 )
2017-06-29 23:11:38 +08:00
Ethan Koenig
735676267e
Integration tests for issues API ( #2059 )
2017-06-25 22:51:07 +08:00
Ethan Koenig
4c0e567062
Fix improper setup for integration tests ( #2050 )
2017-06-25 17:34:30 +08:00
Ethan Koenig
f64c232953
Improve integration test helper functions ( #2049 )
...
Set request headers in helper functions, and new helper for requests with string-formatted URLs
2017-06-25 08:15:42 +08:00
Ethan Koenig
3ffedeab03
Fix bug in issue labels API ( #2048 )
2017-06-25 07:52:51 +08:00
Lauris BH
0a5dc640a1
Make branch deletion URL more like GitHub's, fixes #1397 ( #1994 )
...
* Make branch deletion URL more like GitHub's, fixes #1397
* 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
2017-06-21 09:00:03 +08:00
Mura Li
754482bf5d
Add integration test for repository migration ( #1983 )
2017-06-20 19:23:16 +08:00
Mura Li
4d2ea7dc41
Add integration test for issue creating ( #2002 )
2017-06-18 21:25:58 +08:00
Ethan Koenig
255adc40ae
Don't show non-comments in comments API ( #2001 )
2017-06-18 17:06:17 +08:00
Ethan Koenig
4df1a24096
Let not-logged-in users view releases ( #1999 )
2017-06-18 11:38:24 +08:00
Bo-Yi Wu
90f9bb12c6
fix golint error and rename func for suggestion. ( #1997 )
...
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2017-06-17 11:29:59 -05:00
Antoine GIRARD
6233e88f7f
Use testing benchmark interface ( #1993 )
2017-06-17 23:01:03 +08:00
Ethan Koenig
ce9b86082c
Consolidate boilerplate in integration tests ( #1979 )
2017-06-17 12:49:45 +08: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
Mura Li
033aaf4b38
Add pull-create integration test ( #1972 )
2017-06-15 02:01:51 -05:00
Ethan Koenig
8fcda0442e
Fix search by issue type ( #1914 )
...
* Fix search by issue type
2017-06-15 05:09:03 +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
Ethan Koenig
5e92b82ac6
Fix uppercase default branch bug ( #1965 )
2017-06-14 08:42:36 +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
Ethan Koenig
23d0735f90
Absolute path for setting.CustomConf
2017-06-09 22:27:13 -04:00
Ethan Koenig
61716bd8f7
Display URLs in integration test logs ( #1924 )
2017-06-09 19:41:36 -05:00
Ethan Koenig
e9b1b908ee
Fix setting.AppPath for integration tests
2017-06-09 15:42:48 -04:00
Mura Li
662b8bc2a2
Add integration test for file editing ( #1907 )
2017-06-08 19:15:41 +08:00
Mura Li
30a831698e
Add integration test for repository forking
2017-06-07 20:02:37 +08:00
Ethan Koenig
b900c04316
Display draft releases ( #1854 )
...
* Display draft releases
* Include ctx.User in user cache
* Integration test
2017-06-03 11:46:56 +08:00
Ethan Koenig
5554165a0c
Fix pull request compare link ( #1832 )
...
* Fix pull request compare link
* Integration test
2017-05-31 09:47:42 -05:00
Ethan Koenig
bafd778c25
Fix invalid reference in feeds template ( #1820 )
...
* Fix invalid reference in feeds template
* Comment for GetActAvatar
* Add integration test
2017-05-27 11:34:11 +08:00
Ethan Koenig
7e6ff69c00
Fix 500 for GET /teams/:id endpoints ( #1811 )
...
* Fix 500 for GET /teams/:id endpoints
* Integration test for GET /team/:id
* Clean up integration test
2017-05-26 08:15:45 -05:00
Ethan Koenig
0c332f0480
Fix activity feed ( #1779 )
...
* Fix activity feed
Preserve actions after user/repo name change
* Add missing comment
* Fix migration, and remove fields completely
* Tests
2017-05-26 09:38:18 +08:00
Ethan Koenig
cf02cd7ba0
Fix and test for delete user ( #1713 )
...
* Fix and test for delete user
* Run updates in batches
* Unit test
2017-05-20 16:48:22 +08:00
Ethan Koenig
251fb935ff
Don't recreate database in integration tests ( #1697 )
2017-05-11 23:32:43 +08:00
Lunny Xiao
d98a86d2a2
remove sqlite tag when integration test with mysql/postgres AND recreate database when init integration test ( #1693 )
2017-05-09 15:42:55 +02:00
Lauris BH
51d0becb42
Add configuration option for default permission to create Organizations ( #1686 )
2017-05-08 21:51:53 +02:00
Lunny Xiao
2bb8b3a562
fix bug when push a branch name with / & fix an integration test bug ( #1689 )
2017-05-08 10:55:27 +08:00
Lauris BH
79494047b0
Show commit status icon in commits table ( #1688 )
...
* Show commit status icon in commits table
* Add comments
* Fix icons
* Few more places where commit table is displayed
* Change integration test to use goquery for parsing html
* Add integration tests for commit table and status icons
* Fix status to return lates status correctly on all databases
* Rewrote lates commit status selects
2017-05-07 22:40:31 +08:00
Lauris BH
0144817971
Do not allow commiting to protected branch from online editor ( #1502 )
...
* Do not allow commiting to protected branch from online editor
* Add editor integration tests for adding new file and not allowing to add new file to protected branch
2017-05-02 08:49:55 +08:00
Ethan Koenig
66c803fae2
MySQL, Postgres integration tests in drone ( #1638 )
...
* MySQL, Postgres integration tests in drone
* Fix .drone.yml
* sign drone
* resign drone
2017-04-30 14:30:12 +08:00
Lunny Xiao
0308d44a16
fix #1643 and improve integration test ( #1645 )
2017-04-30 13:08:09 +08:00
Lunny Xiao
e31c02d4bf
fix bug on issue view when not login ( #1624 )
...
* fix bug on issue view when not login
* hide issue watch when not login
* update the tests
* fix test on issue
2017-04-29 13:52:25 +08:00
Lunny Xiao
61b08b5c01
bug fixed for API to get user's repos ( #1622 )
...
* bug fixed for API to get user's repos
* add tests and fix another place
* test user2 since user1 has no repos
2017-04-29 12:33:25 +08:00
Lunny Xiao
fca7ddc6ea
improve integration test to resue models/fixtures and store git repos with tests ( #1627 )
...
* improve integration test to resue models/fixtures and store git repos with source
* use gitea-integration-meta dir instead .tar.gz and cleanup every before every test
* fix import package name
2017-04-28 21:23:28 +08:00
Ethan Koenig
c58708d3ee
Integration test framework ( #1290 )
...
* Integration test framework
* udpate drone sign
* Formatting fixes and move router.go to routers/
* update sign for drone
2017-04-25 15:24:51 +08:00
Sandro Santilli
f73e734411
Run "make fmt" with go-1.6 ( #1333 )
2017-03-21 08:55:00 +08:00
Mura Li
bdcc1a23e0
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
2017-03-11 22:30:29 +08:00
Mura Li
288226e13c
Fix stray directories generated by integration tests ( #1134 )
2017-03-07 15:38:26 +08:00