0
0
mirror of https://github.com/go-gitea/gitea.git synced 2026-04-04 18:56:28 +02:00

2038 Commits

Author SHA1 Message Date
☙◦ The Tablet ❀ GamerGirlandCo ◦❧
92cb2a7080
add group breadcrumbs to repo page header 2026-04-02 20:44:12 -04:00
☙◦ The Tablet ❀ GamerGirlandCo ◦❧
a1abb071f4
fix vet errors 2026-04-02 20:44:12 -04:00
☙◦ The Tablet ❀ GamerGirlandCo ◦❧
ab1eb20ab3
run formatter and fix lint errors 2026-04-02 20:44:11 -04:00
☙◦ The Tablet ❀ GamerGirlandCo ◦❧
bc0c9e6aa6
add functions to populate web context with group info where appropriate 2026-04-02 20:31:55 -04:00
☙◦ The Tablet ❀ GamerGirlandCo ◦❧
c0fbdbb9be
inject group-related values into web context 2026-04-02 20:30:01 -04:00
☙◦ The Tablet ❀ GamerGirlandCo ◦❧
111275644f
inject group-related values in OrgAssignment 2026-04-02 20:26:07 -04:00
☙◦ The Tablet ❀ GamerGirlandCo ◦❧
902cf739b8
add group_id field to repo creation forms 2026-04-02 20:20:43 -04:00
☙◦ The Tablet ❀ GamerGirlandCo ◦❧
54230435b7
add structs describing group-related forms 2026-04-02 20:15:47 -04:00
☙◦ The Tablet ❀ GamerGirlandCo ◦❧
7c18a45f86
fix compilation errors after rebase 2026-04-02 20:01:15 -04:00
☙◦ The Tablet ❀ GamerGirlandCo ◦❧
ea0340933d
fix build errors 2026-04-02 20:01:15 -04:00
☙◦ The Tablet ❀ GamerGirlandCo ◦❧
d9e9d0bf5a
fix repository renaming 2026-04-02 20:01:07 -04:00
☙◦ The Tablet ❀ GamerGirlandCo ◦❧
b7014d6542
fix transfers of repos in subgroups 2026-04-02 20:01:04 -04:00
☙◦ The Tablet ❀ GamerGirlandCo ◦❧
c2fc002002
fix moving repos to a different subgroup 2026-04-02 20:01:04 -04:00
☙◦ The Tablet ❀ GamerGirlandCo ◦❧
9f48e36108
remove references to db.DefaultContext 2026-04-02 20:01:01 -04:00
☙◦ The Tablet ❀ GamerGirlandCo ◦❧
9e901e50e2
run formatter 2026-04-02 20:01:01 -04:00
☙◦ The Tablet ❀ GamerGirlandCo ◦❧
cb1abda26b
add missing group id parameters to test function calls 2026-04-02 20:01:00 -04:00
☙◦ The Tablet ❀ GamerGirlandCo ◦❧
61b9442d2e
update calls to GetRepositoryByName to use new signature 2026-04-02 20:01:00 -04:00
☙◦ The Tablet ❀ GamerGirlandCo ◦❧
e6ee1a248f
fix bug where a repo's group id and group sort order are zero in API output 2026-04-02 20:00:58 -04:00
☙◦ The Tablet ❀ GamerGirlandCo ◦❧
84799ee16d
fix moving items to the root-level (GroupID <= 0) 2026-04-02 20:00:58 -04:00
☙◦ The Tablet ❀ GamerGirlandCo ◦❧
4409bf8dec
ensure that repository is moved on disk in MoveGroupItem function 2026-04-02 20:00:58 -04:00
☙◦ The Tablet ❀ GamerGirlandCo ◦❧
37768f16aa
fix broken hooks 2026-04-02 20:00:58 -04:00
☙◦ The Tablet ❀ GamerGirlandCo ◦❧
7a8db72e63
update FullName method to show group id if it's non-zero 2026-04-02 20:00:57 -04:00
☙◦ The Tablet ❀ GamerGirlandCo ◦❧
d1af473553
update repository storage layout as per https://github.com/go-gitea/gitea/issues/1872#issuecomment-3194681583 2026-04-02 20:00:56 -04:00
☙◦ The Tablet ❀ GamerGirlandCo ◦❧
ba0c7caabb
add AvatarURL field to api groups (in modules/structs package) 2026-04-02 20:00:56 -04:00
☙◦ The Tablet ❀ GamerGirlandCo ◦❧
57c38a49fb
fix more failing tests 2026-04-02 20:00:56 -04:00
☙◦ The Tablet ❀ GamerGirlandCo ◦❧
271b6c7cae
fix build and lint errors 2026-04-02 20:00:54 -04:00
☙◦ The Tablet ❀ GamerGirlandCo ◦❧
52f6c9bc45
fix build errors 2026-04-02 20:00:54 -04:00
☙◦ The Tablet ❀ GamerGirlandCo ◦❧
8fce091a48
run formatter 2026-04-02 20:00:53 -04:00
☙◦ The Tablet ❀ GamerGirlandCo ◦❧
fd394b6d2c
add doer parameter to MoveGroupItem describing the user trying to move a group 2026-04-02 20:00:52 -04:00
☙◦ The Tablet ❀ GamerGirlandCo ◦❧
57e59e6d66
move parameters of the MoveGroup function into a struct, MoveGroupOptions 2026-04-02 20:00:52 -04:00
☙◦ The Tablet ❀ GamerGirlandCo ◦❧
3bed6a4452
update repo service to check that GroupID is owned by the repo owner when creating a new repository 2026-04-02 20:00:52 -04:00
☙◦ The Tablet ❀ GamerGirlandCo ◦❧
01dace952d
apply simple linting changes 2026-04-02 20:00:51 -04:00
☙◦ The Tablet ❀ GamerGirlandCo ◦❧
f627e57199
apply simple linting changes 2026-04-02 20:00:51 -04:00
☙◦ The Tablet ❀ GamerGirlandCo ◦❧
47531417e9
add ownership check when moving repository to a new group 2026-04-02 20:00:51 -04:00
☙◦ The Tablet ❀ GamerGirlandCo ◦❧
4ebc1e3da1
reapply changes wiped out by conflict resolution 2026-04-02 20:00:51 -04:00
☙◦ The Tablet ❀ GamerGirlandCo ◦❧
fc646e84cd
format files 2026-04-02 20:00:51 -04:00
☙◦ The Tablet ❀ GamerGirlandCo ◦❧
c84d2277de
fix more build errors 2026-04-02 20:00:50 -04:00
☙◦ The Tablet ❀ GamerGirlandCo ◦❧
ca07e052c1
fix build error caused by changed function name 2026-04-02 20:00:50 -04:00
☙◦ The Tablet ❀ GamerGirlandCo ◦❧
2066f91862
add GroupID field to CreateRepoOptions 2026-04-02 20:00:49 -04:00
☙◦ The Tablet ❀ GamerGirlandCo ◦❧
1f46d46151
add some unit tests for group service 2026-04-02 20:00:49 -04:00
☙◦ The Tablet ❀ GamerGirlandCo ◦❧
c934365546
fix no columns found to update error when recalculating group access 2026-04-02 20:00:49 -04:00
☙◦ The Tablet ❀ GamerGirlandCo ◦❧
86d1826527
[services] update MoveGroupItem function to set newPos to the length of the new parent's subgroups/repositories 2026-04-02 20:00:48 -04:00
☙◦ The Tablet ❀ GamerGirlandCo ◦❧
e7fa8649c4
[services] ensure OwnerName field is updated in groups owned by an org when its name is updated 2026-04-02 20:00:47 -04:00
☙◦ The Tablet ❀ GamerGirlandCo ◦❧
af1da2447d
add conversion functions for repository groups 2026-04-02 20:00:46 -04:00
☙◦ The Tablet ❀ GamerGirlandCo ◦❧
96feb682fe
changes
* move error-related code for groups to its own file

* update group avatar logic

remove unused/duplicate logic

* update `FindGroupsOptions.ToConds()`

allow passing `-1` as the `ParentGroupID`, meaning "find matching groups regardless of the parent group id"

* add `DedupeBy` function to container module

this removes duplicate items from a slice using a custom function

* add `SliceMap` util

works like javascripts's `Array.prototoype.map`, taking in a slice and transforming each element with the provided function

* add group service

functions included so far:
- avatar uploading/deletion
- group deletion
- group creation
- group moving (including moving item inside a group)
- group update
- team management
  - add team
  - remove team
  - update team permissions
  - recalculating team access (in event of group move)
- group searching (only used in frontend/web components for now)
2026-04-02 20:00:45 -04:00
Lunny Xiao
686d10b7f0
Fix a bug when forking a repository in an organization (#36950)
`CanCreateOrgRepo` should be checked before forking a repository into this organization.

---------

Signed-off-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
2026-04-02 15:04:43 -07:00
Navneet
3ffccb8fe5
Redirect to the only OAuth2 provider when no other login methods and fix various problems (#36901)
Fixes: #36846 

1. When there is only on OAuth2 login method, automatically direct to it
2. Fix legacy problems in code, including:
   * Rename template filename and fix TODO comments
   * Fix legacy variable names
   * Add missing SSPI variable for template
   * Fix unnecessary layout, remove garbage styles
* Only do AppUrl(ROOT_URL) check when it is needed (avoid unnecessary
warnings to end users)

---------

Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
2026-04-01 12:50:57 +00:00
silverwind
a20e182067
Update Go dependencies (#36781)
Update all non-locked Go dependencies and pin incompatible ones.

---------

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
2026-04-01 11:26:52 +08:00
Nicolas
35b654c9d6
Add webhook name field to improve webhook identification (#37025) (#37040)
Add an optional Name field to webhooks so users can give them
human-readable labels instead of relying only on URLs. The webhook
overview page now displays names when available, or falls back to the
URL for unnamed webhooks.

Fixes #37025

---------

Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
2026-04-01 09:56:20 +08:00
wxiaoguang
d288b4529b
Refactor "org teams" page and help new users to "add member" to an org (#37051)
* Fix #22054
* Replace #34593, #27800
* And refactor legacy code, fix various problems

---------

Signed-off-by: wxiaoguang <wxiaoguang@gmail.com>
2026-03-31 21:30:25 +08:00