gitea/modules/convert
Lunny Xiao 8760af752a
Team permission allow different unit has different permission (#17811)
* Team permission allow different unit has different permission

* Finish the interface and the logic

* Fix lint

* Fix translation

* align center for table cell content

* Fix fixture

* merge

* Fix test

* Add deprecated

* Improve code

* Add tooltip

* Fix swagger

* Fix newline

* Fix tests

* Fix tests

* Fix test

* Fix test

* Max permission of external wiki and issues should be read

* Move team units with limited max level below units table

* Update label and column names

* Some improvements

* Fix lint

* Some improvements

* Fix template variables

* Add permission docs

* improve doc

* Fix fixture

* Fix bug

* Fix some bug

* fix

* gofumpt

* Integration test for migration (#18124)

integrations: basic test for Gitea {dump,restore}-repo
This is a first step for integration testing of DumpRepository and
RestoreRepository. It:

runs a Gitea server,
dumps a repo via DumpRepository to the filesystem,
restores the repo via RestoreRepository from the filesystem,
dumps the restored repository to the filesystem,
compares the first and second dump and expects them to be identical

The verification is trivial and the goal is to add more tests for each
topic of the dump.

Signed-off-by: Loïc Dachary <loic@dachary.org>

* Team permission allow different unit has different permission

* Finish the interface and the logic

* Fix lint

* Fix translation

* align center for table cell content

* Fix fixture

* merge

* Fix test

* Add deprecated

* Improve code

* Add tooltip

* Fix swagger

* Fix newline

* Fix tests

* Fix tests

* Fix test

* Fix test

* Max permission of external wiki and issues should be read

* Move team units with limited max level below units table

* Update label and column names

* Some improvements

* Fix lint

* Some improvements

* Fix template variables

* Add permission docs

* improve doc

* Fix fixture

* Fix bug

* Fix some bug

* Fix bug

Co-authored-by: Lauris BH <lauris@nix.lv>
Co-authored-by: 6543 <6543@obermui.de>
Co-authored-by: Aravinth Manivannan <realaravinth@batsense.net>
2022-01-05 11:37:00 +08:00
..
convert.go Team permission allow different unit has different permission (#17811) 2022-01-05 11:37:00 +08:00
git_commit_test.go Move repository model into models/repo (#17933) 2021-12-10 09:27:50 +08:00
git_commit.go Move repository model into models/repo (#17933) 2021-12-10 09:27:50 +08:00
issue_comment.go Add API to get issue/pull comments and events (timeline) (#17403) 2022-01-01 22:12:25 +08:00
issue_test.go Move repository model into models/repo (#17933) 2021-12-10 09:27:50 +08:00
issue.go Move repository model into models/repo (#17933) 2021-12-10 09:27:50 +08:00
main_test.go Decouple unit test code from business code (#17623) 2021-11-12 22:36:47 +08:00
notification.go Move accessmode into models/perm (#17828) 2021-11-28 12:58:28 +01:00
pull_review.go Move user related model into models/user (#17781) 2021-11-24 17:49:20 +08:00
pull_test.go Move repository model into models/repo (#17933) 2021-12-10 09:27:50 +08:00
pull.go Use fmt.Sprintf correctly (#17886) 2021-12-02 20:36:50 +01:00
release.go Move attachment into models/repo/ (#17650) 2021-11-19 21:39:57 +08:00
repository.go Add API to manage repo tranfers (#17963) 2021-12-23 23:26:52 -05:00
status.go Move user related model into models/user (#17781) 2021-11-24 17:49:20 +08:00
user_test.go Move user related model into models/user (#17781) 2021-11-24 17:49:20 +08:00
user.go Move accessmode into models/perm (#17828) 2021-11-28 12:58:28 +01:00
utils_test.go A better go code formatter, and now make fmt can run in Windows (#17684) 2021-11-17 20:34:35 +08:00
utils.go Add migration from GitBucket (#16767) 2021-11-14 20:11:10 +01:00
wiki.go Move repository model into models/repo (#17933) 2021-12-10 09:27:50 +08:00