Thomas Boerger
4565c4e67c
Hotfix for integration testing ( #2473 )
...
* Hotfix for integration testing
* Comment sqlite tests because of database locking issues
2017-09-10 09:54:11 +08:00
Antoine GIRARD
b2d255718c
Only check at least one email gpg key ( #2266 )
...
* Only require one email (possibly not yet validated)
* Update message error and check validation of commit
* Add integrations tests
* Complete integration for import
* Add pre-check/optimization
* Add some test (not finished)
* Finish
* Fix fixtures
* Fix typo
* Don't guess key ID
2017-09-05 21:45:18 +08:00
Ethan Koenig
ef9b76e79d
Error message for integration test ( #2410 )
2017-08-28 21:36:02 +08:00
Morlinest
78656c6c65
Fix tests code to prevent some runtime errors ( #2381 )
...
* Fix tests code to prevent some runtime errors
* Reduce nesting
2017-08-28 12:17:45 +03:00
Sandro Santilli
43ad28be42
Fix integration test after librejs location change ( #2374 )
...
Fixes #2373
2017-08-24 08:54:06 +03:00
Lunny Xiao
c25c4d6ad5
Add more test for login links and fix a bug on action retrieve ( #2361 )
...
* add more test for login links and fix a bug on action retrieve
2017-08-23 12:53:35 +03:00
David Schneiderbauer
c59b1861fc
Add integration tests for signin ( #2363 )
...
Signed-off-by: David Schneiderbauer <dschneiderbauer@gmail.com >
2017-08-23 10:30:33 +03:00
Sandro Santilli
34888bf583
Add INTERNAL_TOKEN to integration .ini file ( #2346 )
...
Avoids override of source file upon running `make test-pgsql`
Long story: settings.NewContext *adds* an INTERNAL_TOKEN if none
is found; the other ini files under integration/ all have an
INTERNAL_TOKEN
2017-08-21 14:47:23 +08:00
Lunny Xiao
1ddb46efdd
Add public links check ( #2323 )
...
* add public links check
* more links for query parameters
2017-08-17 23:52:28 +08:00
Lunny Xiao
898c4ac1a4
fix template error on explore repos ( #2319 )
2017-08-17 15:20:21 +03:00
Michael Kuhn
fb8ec350e2
Make SHOW_USER_EMAIL also apply to profiles ( #2258 )
...
The e-mail address is currently only hidden from the explore page.
2017-08-17 17:08:03 +08:00
silverwind
dc6f3599d9
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
2017-08-13 19:49:38 -03:00
Ethan Koenig
fbe3e5782f
Check for access in /repositories/:id ( #2227 )
...
* Check for access in /repositories/:id
* Integration test
2017-07-30 09:13:33 +08:00
Ethan Koenig
d2d1e54881
Fix bare-repo bugs ( #2199 )
...
* Fix bare-repo bugs
* Integration tests
* Unused import
2017-07-27 12:23:38 +03:00
Ethan Koenig
b3e62921ce
Fix hooks for integration repo ( #2216 )
2017-07-27 14:12:56 +08:00
Lauris BH
a218b59f84
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
2017-07-17 10:04:43 +08:00
Stefan Kalscheuer
a6f2a4b5f6
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 >
2017-07-15 22:21:51 +08:00
Ethan Koenig
d79d99f170
More integration tests for comment API ( #2156 )
2017-07-14 01:33:26 +03:00
Aaron Walker
c523e99712
API: support '/orgs/:org/repos' ( #2047 )
...
* API: support '/orgs/:org/repos'
2017-07-13 13:14:15 +02:00
Ethan Koenig
e3cb4e1780
Fix username rendering bug ( #2122 )
...
* Fix username rendering bug
* XSS integration test
* Migration to unescape user full names
2017-07-12 17:58:52 +03:00
Ethan Koenig
853f539c16
Fix repo API bug ( #2133 )
...
Don't require token when not necessary
2017-07-12 03:23:41 +02:00
Ethan Koenig
14f4e44f32
Fix GET /users/:username/repos endpoint ( #2125 )
2017-07-10 14:07:39 +03:00
Ethan Koenig
d709c77f08
Cache session cookies in tests ( #2128 )
2017-07-09 10:07:29 +08:00
Ethan Koenig
ca7d4cd3e7
Remove unused files ( #2124 )
2017-07-07 21:52:30 +02:00
Ethan Koenig
db04f27c51
Less verbose integration tests ( #2123 )
...
* Helper functions for intergration test boilerplate
2017-07-07 21:36:47 +02:00
Ethan Koenig
e3a9a506ff
Fix API for branches with slashes ( #2096 )
2017-07-02 10:03:57 +08:00
Ethan Koenig
2436bebd75
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
7a7e7eae46
Fix SQL bug in models.PullRequests
2017-07-01 14:08:43 +03:00
Lauris BH
809c42b548
Fix release display and correct paging ( #2080 )
2017-06-29 23:11:38 +08:00
Ethan Koenig
8db8c54801
Integration tests for issues API ( #2059 )
2017-06-25 22:51:07 +08:00
Ethan Koenig
2e60082066
Fix improper setup for integration tests ( #2050 )
2017-06-25 17:34:30 +08:00
Ethan Koenig
1c82492b5e
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
c2012052ab
Fix bug in issue labels API ( #2048 )
2017-06-25 07:52:51 +08:00
Lauris BH
42107d4552
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
abb22f2aba
Add integration test for repository migration ( #1983 )
2017-06-20 19:23:16 +08:00
Mura Li
63b09b91fa
Add integration test for issue creating ( #2002 )
2017-06-18 21:25:58 +08:00
Ethan Koenig
7450686404
Don't show non-comments in comments API ( #2001 )
2017-06-18 17:06:17 +08:00
Ethan Koenig
4673acc91d
Let not-logged-in users view releases ( #1999 )
2017-06-18 11:38:24 +08:00
Bo-Yi Wu
2741432d5f
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
e7e2dee36f
Use testing benchmark interface ( #1993 )
2017-06-17 23:01:03 +08:00
Ethan Koenig
f8290eafa4
Consolidate boilerplate in integration tests ( #1979 )
2017-06-17 12:49:45 +08:00
Ethan Koenig
b8aa3b8b98
Set console to debug for integration tests
2017-06-15 08:12:30 -04:00
Mura Li
51946cd41e
Add integration test for pull-request merge ( #1912 )
2017-06-15 19:20:39 +08:00
Shuanglei Tao
3fccd00982
Fix typo ( #1974 )
2017-06-15 17:38:54 +08:00
Mura Li
0ad224620a
Add pull-create integration test ( #1972 )
2017-06-15 02:01:51 -05:00
Ethan Koenig
95c1d953e4
Fix search by issue type ( #1914 )
...
* Fix search by issue type
2017-06-15 05:09:03 +02:00
Lunny Xiao
62df5dae9c
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
2334c6e041
Fix uppercase default branch bug ( #1965 )
2017-06-14 08:42:36 +08:00
Kim "BKC" Carlbäcker
7205b7fb1e
Fix setting.AppPath for integration tests ( #1923 )
...
Fix setting.AppPath for integration tests
2017-06-13 04:20:32 +02:00
Ethan Koenig
f94e96f991
Absolute path for setting.CustomConf
2017-06-09 22:27:13 -04:00