gitea/routers/repo
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
2018-11-28 19:26:14 +08:00
..
activity.go Restrict permission check on repositories and fix some problems (#5314) 2018-11-28 19:26:14 +08:00
attachment.go Log attachment blocked events (#3615) 2018-03-05 08:51:10 +08:00
branch.go Restrict permission check on repositories and fix some problems (#5314) 2018-11-28 19:26:14 +08:00
commit.go Handle refactor (#3339) 2018-01-10 23:34:17 +02:00
download.go Add raw blob endpoint to get objects by SHA ID (#5334) 2018-11-18 13:45:40 -05:00
editor.go Fix path cleanup in multiple places (#3871) 2018-05-01 09:46:04 +08:00
http.go Restrict permission check on repositories and fix some problems (#5314) 2018-11-28 19:26:14 +08:00
issue_dependency.go Added dependencies for issues (#2196) (#2531) 2018-07-17 17:23:58 -04:00
issue_label_test.go fix go vet error (#3740) 2018-03-30 07:21:27 +08:00
issue_label.go Add label descriptions (#3662) 2018-03-13 10:03:55 +08:00
issue_stopwatch.go Handle refactor (#3339) 2018-01-10 23:34:17 +02:00
issue_timetrack.go Handle refactor (#3339) 2018-01-10 23:34:17 +02:00
issue_watch.go Restrict permission check on repositories and fix some problems (#5314) 2018-11-28 19:26:14 +08:00
issue.go Restrict permission check on repositories and fix some problems (#5314) 2018-11-28 19:26:14 +08:00
main_test.go Unit tests for wiki routers (#3022) 2017-11-30 17:52:15 +02:00
middlewares.go Add whitespace handling to PR-comparsion (#4683) 2018-08-14 13:49:33 -04:00
pull_review.go Add comment replies (#5104) 2018-10-22 16:13:35 -04:00
pull.go Restrict permission check on repositories and fix some problems (#5314) 2018-11-28 19:26:14 +08:00
release_test.go Fix missing branch in release bug (#3108) 2017-12-08 13:22:02 +08:00
release.go Restrict permission check on repositories and fix some problems (#5314) 2018-11-28 19:26:14 +08:00
repo.go Refactor and simplify redirect to url (#3674) 2018-03-15 22:13:34 +01:00
search.go Global code search support (#3664) 2018-03-16 22:04:33 +08:00
setting_protected_branch.go Restrict permission check on repositories and fix some problems (#5314) 2018-11-28 19:26:14 +08:00
setting.go Add option to disable automatic mirror syncing. (#5242) 2018-11-08 18:58:02 -05:00
settings_test.go An inactive user shouldn't be able to be added as a collaborator (#4535) 2018-08-07 13:01:06 +03:00
topic.go Fix topics addition (Another solution) (#4031) (#4258) 2018-06-21 17:09:46 +08:00
view.go Restrict permission check on repositories and fix some problems (#5314) 2018-11-28 19:26:14 +08:00
webhook.go Slack webhook channel name cannot be empty or just contain an hashtag (#4786) 2018-09-10 10:31:08 -04:00
wiki_test.go Improve wiki test (#3493) 2018-02-13 11:19:49 +02:00
wiki.go Restrict permission check on repositories and fix some problems (#5314) 2018-11-28 19:26:14 +08:00