Ethan Koenig
52130407ba
Fix bare-repo bugs ( #2199 )
* Fix bare-repo bugs
* Integration tests
* Unused import
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
Lauris BH
bd6172b6a6
Fix release display and correct paging ( #2080 )
8 years ago
Ethan Koenig
036475727f
Consolidate boilerplate in integration tests ( #1979 )
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
4c72332ccb
Display draft releases ( #1854 )
* Display draft releases
* Include ctx.User in user cache
* Integration test
8 years ago
Ethan Koenig
57c91032f3
Fix user profile activity feed ( #1848 )
* Fix user profile activity feed
* gofmt, and avoid overlapping database connections
8 years ago
Ethan Koenig
cc58230779
Fix pull request compare link ( #1832 )
* Fix pull request compare link
* 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
Ethan Koenig
e3985c0842
Fix and test for delete user ( #1713 )
* Fix and test for delete user
* Run updates in batches
* Unit test
9 years ago
Lunny Xiao
c694c70008
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
9 years ago
Ethan Koenig
566f8769ac
Don't recreate database in integration tests ( #1697 )
9 years ago
Lauris BH
f814963397
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
9 years ago
Ethan Koenig
0f7ec16367
MySQL, Postgres integration tests in drone ( #1638 )
* MySQL, Postgres integration tests in drone
* Fix .drone.yml
* sign drone
* resign drone
9 years ago
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