Antoine GIRARD
4f9a28e1f5
Make repo private to no interfere with other tests ( #2467 )
7 years ago
Antoine GIRARD
7c417bbb0d
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
7 years ago
Ethan Koenig
fd45a032a7
Fix bare-repo bugs ( #2199 )
...
* Fix bare-repo bugs
* Integration tests
* Unused import
7 years ago
Lauris BH
f33e6ae09e
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
Lauris BH
783b1967e2
Fix release display and correct paging ( #2080 )
8 years ago
Ethan Koenig
ce9b86082c
Consolidate boilerplate in integration tests ( #1979 )
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
b900c04316
Display draft releases ( #1854 )
...
* Display draft releases
* Include ctx.User in user cache
* Integration test
8 years ago
Ethan Koenig
4e5ee2b67a
Fix user profile activity feed ( #1848 )
...
* Fix user profile activity feed
* gofmt, and avoid overlapping database connections
8 years ago
Ethan Koenig
5554165a0c
Fix pull request compare link ( #1832 )
...
* Fix pull request compare link
* 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
Lunny Xiao
fd6034aaf2
Add units to team ( #947 )
...
* add units to team
* fix lint
* finish team setting backend
* finished permission controll on routes
* fix import blank line
* add unit check on ssh/http pull and push and fix test failed
* fix fixtures data
* remove unused code
8 years ago
Ethan Koenig
251fb935ff
Don't recreate database in integration tests ( #1697 )
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
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
Kim "BKC" Carlbäcker
4bea219128
Status-API ( #1332 )
8 years ago
Bo-Yi Wu
fa2a513c62
feat: add download count field and unit testing for attachment. ( #1512 )
...
* feat: add download count field and unit testing.
* fix: unit testing
* refactor: improve testing.
* fix: update comment
* add default value.
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
8 years ago
Andrey Nering
e6781d5488
Add unit tests for issue_watch
8 years ago
Sandro Santilli
9182a35f18
Show user OpenID URIs in their profile ( #1314 )
8 years ago
Sandro Santilli
447c9b428f
Send notifications to partecipants in issue comments ( #1217 )
...
* Send notifications to partecipants in issue comments
Closes #1216
Includes test (still failing)
* Do not include "labelers" to participants
Fix test to expect what GetParticipants return
8 years ago
Ethan Koenig
3803f257fb
Move user_follow to separate file ( #1210 )
...
Also add unit tests
8 years ago
Ethan Koenig
4b286f282a
Consistency checks for action unit tests ( #1079 )
8 years ago
Lunny Xiao
cd1821a7e2
Move push update to post-receive and protected branch check to pre-receive ( #1030 )
...
* move all push update to git hook post-receive and protected branch check to git hook pre-receive
* add SSH_ORIGINAL_COMMAND check back
* remove all unused codes
* fix the import
8 years ago
Ethan Koenig
f1ab906c51
Unit tests for models/repo_collaboration ( #1032 )
8 years ago
Ethan Koenig
4f3880ff15
Bug fixes and unit tests for org_team ( #1016 )
8 years ago
Bo-Yi Wu
83b6d03231
fix: Wrong repo list on Explore page if user already loggin. ( #1009 )
...
* fix: Wrong repo list on Explore page if user already loggin.
* fix: code readable.
* fix: declare variable
8 years ago
Ethan Koenig
be48b32e63
Unit tests for repo watching ( #963 )
8 years ago
Ethan Koenig
140967f002
Unit tests for repo redirects ( #961 )
8 years ago
Bo-Yi Wu
43c94d0a6c
test: Add testing for GetUserFork function ( #944 )
8 years ago
Morgan Bazalgette
442145dbd3
Fix public activity showing private repos ( #892 )
...
* Fix public activity showing private repos (#811 )
Signed-off-by: Morgan Bazalgette <the@howl.moe>
* error check after setting is_private to true
* Add test for UpdateRepository w/ visibility change
8 years ago
Ethan Koenig
a6751cec04
Unit tests for issue_milestone ( #878 )
8 years ago
Ethan Koenig
181c8d9c99
Fix consistency check ( #866 )
8 years ago
Ethan Koenig
5fbab97373
Fix broken test fixture ( #859 )
8 years ago
Bo-Yi Wu
71d35dae8c
fix: wrong pages number which includes private repository count. ( #844 )
8 years ago
Ethan Koenig
438e1a7d46
Fix inconsistencies in unit test fixtures
8 years ago
Ethan Koenig
5972aa9af3
Fix inconsistencies in test fixtures
8 years ago
Ethan Koenig
d0960b8035
Move IssueUser code to separate file ( #836 )
...
Also add unit tests
8 years ago
Bo-Yi Wu
b6da658553
test: Add user mail testing. ( #833 )
8 years ago
Bo-Yi Wu
d7d094bd8a
fix: ignore email notifications if user is not active. ( #820 )
8 years ago
Ethan Koenig
10644d6dd7
Bug fixes and unit tests for models/issue_label ( #802 )
8 years ago
Ethan Koenig
2eb15f4a61
Unit tests and remove unused functions in models/notification ( #796 )
...
* Unit tests and remove unused functions in models/notification
* Read -> Unread
8 years ago
Ethan Koenig
a2412492da
Unit tests and bug fix for models/org
8 years ago
Ethan Koenig
0934d1b1ea
Bug fixes and unit tests for models/webhook ( #751 )
8 years ago
Ethan Koenig
a6832c234d
Unit tests for models/star ( #752 )
8 years ago
Ethan Koenig
b316b2e740
Unit tests for models/admin
8 years ago
Ethan Koenig
4b23e6a694
Unit tests for models/action ( #619 )
8 years ago
Ethan Koenig
6072b03291
Unit tests for models/access.go ( #606 )
8 years ago