You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
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>
3 years ago
..
activitypub Create pub/priv keypair for federation (#17071) 3 years ago
analyze Use git attributes to determine generated and vendored status for language stats and diffs (#16773) 3 years ago
appstate Decouple unit test code from business code (#17623) 3 years ago
auth Add bundle download for repository (#14538) 3 years ago
avatar Simplify parameter types (#18006) 3 years ago
base Simplify parameter types (#18006) 3 years ago
cache Test cache during init (#17852) 3 years ago
charset Simplify parameter types (#18006) 3 years ago
context Team permission allow different unit has different permission (#17811) 3 years ago
convert Team permission allow different unit has different permission (#17811) 3 years ago
csv Unify and simplify TrN for i18n (#18141) 3 years ago
doctor Quote references to the user table in consistency checks (#18072) 3 years ago
emoji Run processors on whole of text (#16155) 3 years ago
eventsource Simplify parameter types (#18006) 3 years ago
generate switch to maintained lib (#16532) 3 years ago
git Do not read or write git reference files directly (#18079) 3 years ago
gitgraph Simplify parameter types (#18006) 3 years ago
graceful Make SSL cipher suite configurable (#17440) 3 years ago
hcaptcha hCaptcha Support (#12594) 4 years ago
highlight Add .gitattribute assisted language detection to blame, diff and render (#17590) 3 years ago
hostmatcher Simplify parameter types (#18006) 3 years ago
httpcache Use a variable but a function for IsProd because of a slight performance increment (#17368) 3 years ago
httplib refactor: move from io/ioutil to io and os package (#17109) 3 years ago
indexer Upgrade bleve from v2.0.6 to v2.3.0 (#18132) 3 years ago
json Move repository model into models/repo (#17933) 3 years ago
lfs Use `hostmatcher` to replace `matchlist`, improve security (#17605) 3 years ago
log Simplify parameter types (#18006) 3 years ago
markup Simplify parameter types (#18006) 3 years ago
metrics Refactor auth package (#17962) 3 years ago
migration Use fmt.Sprintf correctly (#17886) 3 years ago
nosql Remove unnecessary variable assignments (#17695) 3 years ago
notification Simplify parameter types (#18006) 3 years ago
options refactor: move from io/ioutil to io and os package (#17109) 3 years ago
password Fixed assert statements. (#16089) 3 years ago
pprof refactor: move from io/ioutil to io and os package (#17109) 3 years ago
private Move keys to models/asymkey (#17917) 3 years ago
process Make Requests Processes and create process hierarchy. Associate OpenRepository with context. (#17125) 3 years ago
proxy Return nil proxy function if proxy not enabled (#16742) 3 years ago
public refactor: move from io/ioutil to io and os package (#17109) 3 years ago
queue Prevent deadlock in TestPersistableChannelQueue (#17717) 3 years ago
recaptcha refactor: move from io/ioutil to io and os package (#17109) 3 years ago
references Add API to get issue/pull comments and events (timeline) (#17403) 3 years ago
repository Team permission allow different unit has different permission (#17811) 3 years ago
secret Simplify parameter types (#18006) 3 years ago
session Refactor auth package (#17962) 3 years ago
setting Add MP4 as default allowed attachment type (#18170) 3 years ago
ssh Simplify parameter types (#18006) 3 years ago
storage refactor: move from io/ioutil to io and os package (#17109) 3 years ago
structs Team permission allow different unit has different permission (#17811) 3 years ago
svg refactor: move from io/ioutil to io and os package (#17109) 3 years ago
sync Fix missing unlock in uniquequeue (#9790) 5 years ago
templates Unify and simplify TrN for i18n (#18141) 3 years ago
test Unify and simplify TrN for i18n (#18141) 3 years ago
timeutil Allow mocking timeutil (#17354) 3 years ago
translation Unify and simplify TrN for i18n (#18141) 3 years ago
typesniffer Read expected buffer size (#17409) 3 years ago
updatechecker Use JSON module instead of stdlib json (#18003) 3 years ago
upload Simplify parameter types (#18006) 3 years ago
uri Prevent NPE if gitea uploader fails to open url (#18080) 3 years ago
user Add gitea-vet (#10948) 4 years ago
util Increase Salt randomness (#18179) 3 years ago
validation Upgrade chi to v5 (#17298) 3 years ago
web Simplify parameter types (#18006) 3 years ago