Ethan Koenig
8f1d62ad3b
Fix GET /users/:username/repos endpoint ( #2125 )
7 years ago
Ethan Koenig
89cd4dd424
Cache session cookies in tests ( #2128 )
7 years ago
Ethan Koenig
4c57db7924
Remove unused files ( #2124 )
7 years ago
Ethan Koenig
f1adaef458
Less verbose integration tests ( #2123 )
...
* Helper functions for intergration test boilerplate
7 years ago
Ethan Koenig
f99489d5c5
Fix API for branches with slashes ( #2096 )
7 years ago
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
7 years ago
Ethan Koenig
eae9154811
Fix SQL bug in models.PullRequests
7 years ago
Lauris BH
783b1967e2
Fix release display and correct paging ( #2080 )
7 years ago
Ethan Koenig
735676267e
Integration tests for issues API ( #2059 )
8 years ago
Ethan Koenig
4c0e567062
Fix improper setup for integration tests ( #2050 )
8 years ago
Ethan Koenig
f64c232953
Improve integration test helper functions ( #2049 )
...
Set request headers in helper functions, and new helper for requests with string-formatted URLs
8 years ago
Ethan Koenig
3ffedeab03
Fix bug in issue labels API ( #2048 )
8 years ago
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
8 years ago
Mura Li
754482bf5d
Add integration test for repository migration ( #1983 )
8 years ago
Mura Li
4d2ea7dc41
Add integration test for issue creating ( #2002 )
8 years ago
Ethan Koenig
255adc40ae
Don't show non-comments in comments API ( #2001 )
8 years ago
Ethan Koenig
4df1a24096
Let not-logged-in users view releases ( #1999 )
8 years ago
Bo-Yi Wu
90f9bb12c6
fix golint error and rename func for suggestion. ( #1997 )
...
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
8 years ago
Antoine GIRARD
6233e88f7f
Use testing benchmark interface ( #1993 )
8 years ago
Ethan Koenig
ce9b86082c
Consolidate boilerplate in integration tests ( #1979 )
8 years ago
Ethan Koenig
d1e4af66c1
Set console to debug for integration tests
8 years ago
Mura Li
01322af2e8
Add integration test for pull-request merge ( #1912 )
8 years ago
Shuanglei Tao
13f0e1255a
Fix typo ( #1974 )
8 years ago
Mura Li
033aaf4b38
Add pull-create integration test ( #1972 )
8 years ago
Ethan Koenig
8fcda0442e
Fix search by issue type ( #1914 )
...
* Fix search by issue type
8 years ago
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
8 years ago
Ethan Koenig
5e92b82ac6
Fix uppercase default branch bug ( #1965 )
8 years ago
Ethan Koenig
23d0735f90
Absolute path for setting.CustomConf
8 years ago
Ethan Koenig
61716bd8f7
Display URLs in integration test logs ( #1924 )
8 years ago
Ethan Koenig
e9b1b908ee
Fix setting.AppPath for integration tests
8 years ago
Mura Li
662b8bc2a2
Add integration test for file editing ( #1907 )
8 years ago
Mura Li
30a831698e
Add integration test for repository forking
8 years ago
Ethan Koenig
b900c04316
Display draft releases ( #1854 )
...
* Display draft releases
* Include ctx.User in user cache
* Integration test
8 years ago
Ethan Koenig
5554165a0c
Fix pull request compare link ( #1832 )
...
* Fix pull request compare link
* Integration test
8 years ago
Ethan Koenig
bafd778c25
Fix invalid reference in feeds template ( #1820 )
...
* Fix invalid reference in feeds template
* Comment for GetActAvatar
* Add integration test
8 years ago
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
8 years ago
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
8 years ago
Ethan Koenig
cf02cd7ba0
Fix and test for delete user ( #1713 )
...
* Fix and test for delete user
* Run updates in batches
* Unit test
8 years ago
Ethan Koenig
251fb935ff
Don't recreate database in integration tests ( #1697 )
8 years ago
Lunny Xiao
d98a86d2a2
remove sqlite tag when integration test with mysql/postgres AND recreate database when init integration test ( #1693 )
8 years ago
Lauris BH
51d0becb42
Add configuration option for default permission to create Organizations ( #1686 )
8 years ago
Lunny Xiao
2bb8b3a562
fix bug when push a branch name with / & fix an integration test bug ( #1689 )
8 years ago
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
8 years ago
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
8 years ago
Ethan Koenig
66c803fae2
MySQL, Postgres integration tests in drone ( #1638 )
...
* MySQL, Postgres integration tests in drone
* Fix .drone.yml
* sign drone
* resign drone
8 years ago
Lunny Xiao
0308d44a16
fix #1643 and improve integration test ( #1645 )
8 years ago
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
8 years ago
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
8 years ago
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
8 years ago
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
8 years ago