Lunny Xiao
472e1b12ff
fix template error on explore repos ( #2319 )
7 years ago
Michael Kuhn
0cdc01997d
Make SHOW_USER_EMAIL also apply to profiles ( #2258 )
The e-mail address is currently only hidden from the explore page.
7 years ago
silverwind
ec920a8448
More tweaks to repo top panel ( #2267 )
* More tweaks to repo top panel
* undo hiding of compare button on master
* attempt to fix ci issue
* another ci attempt
7 years ago
Ethan Koenig
914195d73a
Check for access in /repositories/:id ( #2227 )
* Check for access in /repositories/:id
* Integration test
8 years ago
Ethan Koenig
52130407ba
Fix bare-repo bugs ( #2199 )
* Fix bare-repo bugs
* Integration tests
* Unused import
8 years ago
Ethan Koenig
b6daa890a4
Fix hooks for integration repo ( #2216 )
8 years ago
Lauris BH
e687d24d8e
Remove unit types commits and settings ( #2161 )
* Remove unit types commits and settings
* Can not limit units in administrator teams
* Limit changing units only to teams with read and write access mode
* Small code optimization
8 years ago
Stefan Kalscheuer
2961aecb3a
Only show SSH clone URL if signed in ( #2169 ) ( #2170 )
* Add configuration flag SSH_EXPOSE_ANONYMOUS
If this flag (default True) is set to false, the SSH clone URL will only be exposed if the current user is signed in.
* Default SSH exposure set to false
To match GitHub and for security reasons, SSH URL exposure is disabled by default.
In addition to that. minor code changes have been applied.
Signed-off-by: Stefan Kalscheuer <stefan@stklcode.de>
* Add integration tests
* Hide clone button neither HTTP and SSH is enabled
Signed-off-by: Stefan Kalscheuer <stefan@stklcode.de>
8 years ago
Ethan Koenig
7a3e6c872d
More integration tests for comment API ( #2156 )
8 years ago
Aaron Walker
e9c98d4242
API: support '/orgs/:org/repos' ( #2047 )
* API: support '/orgs/:org/repos'
8 years ago
Ethan Koenig
80239ca0cd
Fix username rendering bug ( #2122 )
* Fix username rendering bug
* XSS integration test
* Migration to unescape user full names
8 years ago
Ethan Koenig
a15346a9bd
Fix repo API bug ( #2133 )
Don't require token when not necessary
8 years ago
Ethan Koenig
783199dbbf
Fix GET /users/:username/repos endpoint ( #2125 )
8 years ago
Ethan Koenig
fa89bacb86
Cache session cookies in tests ( #2128 )
8 years ago
Ethan Koenig
624c41e383
Remove unused files ( #2124 )
8 years ago
Ethan Koenig
1c10f454eb
Less verbose integration tests ( #2123 )
* Helper functions for intergration test boilerplate
8 years ago
Ethan Koenig
9818d43a9f
Fix API for branches with slashes ( #2096 )
8 years ago
Ethan Koenig
50507bf0cb
Check for valid renamed usernames ( #2077 )
* Check for valid renamed usernames
* Integration test
* Test for username with space
* Make name field required
8 years ago
Ethan Koenig
edc7ed09f5
Fix SQL bug in models.PullRequests
8 years ago
Lauris BH
bd6172b6a6
Fix release display and correct paging ( #2080 )
8 years ago
Ethan Koenig
666e099c77
Integration tests for issues API ( #2059 )
8 years ago
Ethan Koenig
99ee4daba9
Fix improper setup for integration tests ( #2050 )
8 years ago
Ethan Koenig
2775b8b420
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
e76aa62582
Fix bug in issue labels API ( #2048 )
8 years ago
Lauris BH
3979a175bd
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
d33b07de6d
Add integration test for repository migration ( #1983 )
8 years ago
Mura Li
3b54b4b259
Add integration test for issue creating ( #2002 )
8 years ago
Ethan Koenig
5518912d1d
Don't show non-comments in comments API ( #2001 )
8 years ago
Ethan Koenig
769e635398
Let not-logged-in users view releases ( #1999 )
8 years ago
Bo-Yi Wu
54949c9b66
fix golint error and rename func for suggestion. ( #1997 )
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
8 years ago
Antoine GIRARD
f89d617a8f
Use testing benchmark interface ( #1993 )
8 years ago
Ethan Koenig
036475727f
Consolidate boilerplate in integration tests ( #1979 )
8 years ago
Ethan Koenig
6596d9799d
Set console to debug for integration tests
8 years ago
Mura Li
ff0823bece
Add integration test for pull-request merge ( #1912 )
8 years ago
Shuanglei Tao
5f30909a4b
Fix typo ( #1974 )
8 years ago
Mura Li
5bb5769825
Add pull-create integration test ( #1972 )
8 years ago
Ethan Koenig
d1367598b1
Fix search by issue type ( #1914 )
* Fix search by issue type
8 years ago
Lunny Xiao
284bafb9d5
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
f384060e3d
Fix uppercase default branch bug ( #1965 )
8 years ago
Kim "BKC" Carlbäcker
50000208d3
Fix setting.AppPath for integration tests ( #1923 )
Fix setting.AppPath for integration tests
8 years ago
Ethan Koenig
4630efd029
Absolute path for setting.CustomConf
8 years ago
Ethan Koenig
e4e3367ae7
Display URLs in integration test logs ( #1924 )
8 years ago
Ethan Koenig
26cfcbd7cb
Fix setting.AppPath for integration tests
8 years ago
Mura Li
490d69898f
Add integration test for file editing ( #1907 )
8 years ago
Mura Li
1fa3afeef2
Add integration test for repository forking
8 years ago
Ethan Koenig
4c72332ccb
Display draft releases ( #1854 )
* Display draft releases
* Include ctx.User in user cache
* Integration test
8 years ago
Ethan Koenig
cc58230779
Fix pull request compare link ( #1832 )
* Fix pull request compare link
* Integration test
8 years ago
Ethan Koenig
ab3b136cce
Fix invalid reference in feeds template ( #1820 )
* Fix invalid reference in feeds template
* Comment for GetActAvatar
* Add integration test
8 years ago
Ethan Koenig
560bf3a6d7
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
66ee05fd53
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