Commit Graph

8 Commits (da1edbfb79566e9d31f43ee85eb2e9fc9b52695b)

Author SHA1 Message Date
Lunny Xiao eabbddcd98
Restrict permission check on repositories and fix some problems ()
* 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
Ethan Koenig 7ea4bfc561 API endpoint for testing webhook ()
* API endpoint for testing webhook

* Empty commit to rerun CI
Ethan Koenig befa7445d2 Unit tests for routers/repo/issue_label ()
Lunny Xiao 41d6afe0e7 Fix compile failed without gcc ()
* fix comile failed without gcc

* add sqlite tag for unit test
Ethan Koenig 596308f213 Fix missing branch in release bug ()
Lunny Xiao b3d5ba6f90 Fix missing password length check when change password ()
* fix missing password length check when change password

* add tests for change password
Ethan Koenig 91f3d77ceb Unit tests for wiki routers ()
Ethan Koenig 7e0654bd9e Fix counts on issues dashboard ()
* Fix counts on issues dashboard

* setupSess -> setupSession

* Unit test

* Load repo owners for issues