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/structs
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
..
admin_user.go Add Visible modes function from Organisation to Users too (#16069) 3 years ago
attachment.go Fix wrong hint when status checking is running on pull request view (#9886) 5 years ago
commit_status.go [Refactor] CombinedStatus and CommitStatus related functions & structs (#14026) 4 years ago
cron.go Add cron running API (#12421) 4 years ago
doc.go Move sdk structs to modules/structs (#6905) 5 years ago
fork.go - name: new parameter in CreateForkOption to give the forked repository (#18066) 3 years ago
git_blob.go Move sdk structs to modules/structs (#6905) 5 years ago
git_hook.go Move sdk structs to modules/structs (#6905) 5 years ago
hook.go Add an abstract json layout to make it's easier to change json library (#16528) 3 years ago
issue.go Add option to define refs in issue templates (#17842) 3 years ago
issue_comment.go Add API to get issue/pull comments and events (timeline) (#17403) 3 years ago
issue_label.go [API] Fix inconsistent label color format (#10129) 4 years ago
issue_milestone.go Add Created & Updated to Milestone (#12662) 4 years ago
issue_reaction.go [API] Fix 9544 | return 200 when reaction already exist (#9550) 5 years ago
issue_stopwatch.go Display current stopwatch in navbar (#14122) 3 years ago
issue_tracked_time.go [API] Extend times API (#9200) 5 years ago
lfs_lock.go Move sdk structs to modules/structs (#6905) 5 years ago
miscellaneous.go API method to list all commits of a repository (#6408) 5 years ago
nodeinfo.go Add nodeinfo endpoint for federation purposes (#16953) 3 years ago
notifications.go API: add html urls to notification subjects (#17178) 3 years ago
org.go [API] Add endpount to get user org permissions (#17232) 3 years ago
org_member.go Move sdk structs to modules/structs (#6905) 5 years ago
org_team.go Team permission allow different unit has different permission (#17811) 3 years ago
org_type.go Fixes #7023 - API Org Visibility (#7028) 5 years ago
pull.go Add option to API to update PullRequest base branch (#11666) 4 years ago
pull_review.go Expose resolver via API (#15167) 3 years ago
release.go Add single release page and latest redirect (#11102) 4 years ago
repo.go Add API to manage repo tranfers (#17963) 3 years ago
repo_branch.go Support unprotected file patterns (#16395) 3 years ago
repo_collaborator.go Move sdk structs to modules/structs (#6905) 5 years ago
repo_commit.go [API] Add affected files of commits to commit struct (#14579) 3 years ago
repo_file.go enhancement: add signoff option in commit form (#14516) 3 years ago
repo_key.go Move sdk structs to modules/structs (#6905) 5 years ago
repo_note.go Add an api endpoint to fetch git notes (#15373) (#16649) 3 years ago
repo_refs.go Move sdk structs to modules/structs (#6905) 5 years ago
repo_tag.go [API] Add repoCreateTag (#16165) 3 years ago
repo_topic.go Add API endpoint for accessing repo topics (#7963) 5 years ago
repo_tree.go Move sdk structs to modules/structs (#6905) 5 years ago
repo_watch.go Move sdk structs to modules/structs (#6905) 5 years ago
repo_wiki.go Add API to get/edit wiki (#17278) 3 years ago
settings.go Add custom emoji support (#16004) 3 years ago
status.go [Refactor] CombinedStatus and CommitStatus related functions & structs (#14026) 4 years ago
task.go Move migrating repository from frontend to backend (#6200) 5 years ago
user.go Add an abstract json layout to make it's easier to change json library (#16528) 3 years ago
user_app.go Remove Unused Functions (#10516) 4 years ago
user_email.go Move sdk structs to modules/structs (#6905) 5 years ago
user_gpgkey.go Add option to provide signature for a token to verify key ownership (#14054) 3 years ago
user_key.go Move sdk structs to modules/structs (#6905) 5 years ago