Lunny Xiao
|
eabbddcd98
|
Restrict permission check on repositories and fix some problems (#5314)
* fix units permission problems
* fix some bugs and merge LoadUnits to repoAssignment
* refactor permission struct and add some copyright heads
* remove unused codes
* fix routes units check
* improve permission check
* add unit tests for permission
* fix typo
* fix tests
* fix some routes
* fix api permission check
* improve permission check
* fix some permission check
* fix tests
* fix tests
* improve some permission check
* fix some permission check
* refactor AccessLevel
* fix bug
* fix tests
* fix tests
* fix tests
* fix AccessLevel
* rename CanAccess
* fix tests
* fix comment
* fix bug
* add missing unit for test repos
* fix bug
* rename some functions
* fix routes check
|
6 years ago |
Ethan Koenig
|
7ea4bfc561
|
API endpoint for testing webhook (#3550)
* API endpoint for testing webhook
* Empty commit to rerun CI
|
7 years ago |
Ethan Koenig
|
befa7445d2
|
Unit tests for routers/repo/issue_label (#3198)
|
7 years ago |
Lunny Xiao
|
41d6afe0e7
|
Fix compile failed without gcc (#3130)
* fix comile failed without gcc
* add sqlite tag for unit test
|
7 years ago |
Ethan Koenig
|
596308f213
|
Fix missing branch in release bug (#3108)
|
7 years ago |
Lunny Xiao
|
b3d5ba6f90
|
Fix missing password length check when change password (#3039)
* fix missing password length check when change password
* add tests for change password
|
7 years ago |
Ethan Koenig
|
91f3d77ceb
|
Unit tests for wiki routers (#3022)
|
7 years ago |
Ethan Koenig
|
7e0654bd9e
|
Fix counts on issues dashboard (#2215)
* Fix counts on issues dashboard
* setupSess -> setupSession
* Unit test
* Load repo owners for issues
|
8 years ago |