Lunny Xiao
2ffd3d23d5
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
9 years ago
Kim "BKC" Carlbäcker
32bc8415f5
Status-API ( #1332 )
9 years ago
Bo-Yi Wu
86ef7a64db
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>
9 years ago
Andrey Nering
e166948734
Add unit tests for issue_watch
9 years ago
Sandro Santilli
810604d929
Show user OpenID URIs in their profile ( #1314 )
9 years ago
Sandro Santilli
3c004e37b3
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
9 years ago
Ethan Koenig
ad7699a9c8
Move user_follow to separate file ( #1210 )
Also add unit tests
9 years ago
Ethan Koenig
122132af04
Consistency checks for action unit tests ( #1079 )
9 years ago
Lunny Xiao
6448b1a381
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
9 years ago
Ethan Koenig
5445f3783a
Unit tests for models/repo_collaboration ( #1032 )
9 years ago
Ethan Koenig
9f592025a8
Bug fixes and unit tests for org_team ( #1016 )
9 years ago
Bo-Yi Wu
e7dd2573ca
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
9 years ago
Ethan Koenig
8737234148
Unit tests for repo watching ( #963 )
9 years ago
Ethan Koenig
b86320ef5e
Unit tests for repo redirects ( #961 )
9 years ago
Bo-Yi Wu
58b11237a0
test: Add testing for GetUserFork function ( #944 )
9 years ago
Morgan Bazalgette
4cd7d1644d
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
9 years ago
Ethan Koenig
065bf6fd52
Unit tests for issue_milestone ( #878 )
9 years ago
Ethan Koenig
9de12285a8
Fix consistency check ( #866 )
9 years ago
Ethan Koenig
5d42868b37
Fix broken test fixture ( #859 )
9 years ago
Bo-Yi Wu
d039f235ed
fix: wrong pages number which includes private repository count. ( #844 )
9 years ago
Ethan Koenig
bacf6d1cb6
Fix inconsistencies in unit test fixtures
9 years ago
Ethan Koenig
d80a4ce160
Fix inconsistencies in test fixtures
9 years ago
Ethan Koenig
4eefdf8765
Move IssueUser code to separate file ( #836 )
Also add unit tests
9 years ago
Bo-Yi Wu
4b43d9fa14
test: Add user mail testing. ( #833 )
9 years ago
Bo-Yi Wu
a6c02f9d1e
fix: ignore email notifications if user is not active. ( #820 )
9 years ago
Ethan Koenig
e979cc5524
Bug fixes and unit tests for models/issue_label ( #802 )
9 years ago
Ethan Koenig
835d3eeda3
Unit tests and remove unused functions in models/notification ( #796 )
* Unit tests and remove unused functions in models/notification
* Read -> Unread
9 years ago
Ethan Koenig
8dbcd9a8c4
Unit tests and bug fix for models/org
9 years ago
Ethan Koenig
55c5cb3c87
Bug fixes and unit tests for models/webhook ( #751 )
9 years ago
Ethan Koenig
b9a5caa36a
Unit tests for models/star ( #752 )
9 years ago
Ethan Koenig
27199827f1
Unit tests for models/admin
9 years ago
Ethan Koenig
1bad00d695
Unit tests for models/action ( #619 )
9 years ago
Ethan Koenig
41d72158cc
Unit tests for models/access.go ( #606 )
9 years ago
Ethan Koenig
a6fc1ad1af
Unit tests for models/pull.go
9 years ago
Ethan Koenig
102c6778ba
Unit tests for token and update models
9 years ago