forgejo/modules
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
..
activitypub
analyze
appstate
auth
avatar Simplify parameter types (#18006) 2021-12-20 04:41:31 +00:00
base Simplify parameter types (#18006) 2021-12-20 04:41:31 +00:00
cache
charset Simplify parameter types (#18006) 2021-12-20 04:41:31 +00:00
context Team permission allow different unit has different permission (#17811) 2022-01-05 11:37:00 +08:00
convert Team permission allow different unit has different permission (#17811) 2022-01-05 11:37:00 +08:00
csv Unify and simplify TrN for i18n (#18141) 2022-01-02 04:33:57 +01:00
doctor Quote references to the user table in consistency checks (#18072) 2021-12-22 23:52:57 +00:00
emoji
eventsource Simplify parameter types (#18006) 2021-12-20 04:41:31 +00:00
generate
git Do not read or write git reference files directly (#18079) 2021-12-23 21:44:00 +08:00
gitgraph Simplify parameter types (#18006) 2021-12-20 04:41:31 +00:00
graceful
hcaptcha
highlight
hostmatcher Simplify parameter types (#18006) 2021-12-20 04:41:31 +00:00
httpcache
httplib
indexer Upgrade bleve from v2.0.6 to v2.3.0 (#18132) 2022-01-01 16:26:27 +08:00
json
lfs
log Simplify parameter types (#18006) 2021-12-20 04:41:31 +00:00
markup Simplify parameter types (#18006) 2021-12-20 04:41:31 +00:00
metrics Refactor auth package (#17962) 2022-01-02 21:12:35 +08:00
migration
nosql
notification Simplify parameter types (#18006) 2021-12-20 04:41:31 +00:00
options
password
pprof
private
process
proxy
public
queue
recaptcha
references Add API to get issue/pull comments and events (timeline) (#17403) 2022-01-01 22:12:25 +08:00
repository Team permission allow different unit has different permission (#17811) 2022-01-05 11:37:00 +08:00
secret Simplify parameter types (#18006) 2021-12-20 04:41:31 +00:00
session Refactor auth package (#17962) 2022-01-02 21:12:35 +08:00
setting Add MP4 as default allowed attachment type (#18170) 2022-01-04 04:36:47 +01:00
ssh Simplify parameter types (#18006) 2021-12-20 04:41:31 +00:00
storage
structs Team permission allow different unit has different permission (#17811) 2022-01-05 11:37:00 +08:00
svg
sync
templates Unify and simplify TrN for i18n (#18141) 2022-01-02 04:33:57 +01:00
test Unify and simplify TrN for i18n (#18141) 2022-01-02 04:33:57 +01:00
timeutil
translation Unify and simplify TrN for i18n (#18141) 2022-01-02 04:33:57 +01:00
typesniffer
updatechecker Use JSON module instead of stdlib json (#18003) 2021-12-17 09:15:02 +08:00
upload Simplify parameter types (#18006) 2021-12-20 04:41:31 +00:00
uri Prevent NPE if gitea uploader fails to open url (#18080) 2021-12-23 16:27:33 +00:00
user
util Increase Salt randomness (#18179) 2022-01-04 15:13:52 +00:00
validation
web Simplify parameter types (#18006) 2021-12-20 04:41:31 +00:00