☙◦ The Tablet ❀ GamerGirlandCo ◦❧
08fe91c6bc
add api routes and functions to get a repository group's subgroups and repos
2026-05-08 18:55:23 -04:00
☙◦ The Tablet ❀ GamerGirlandCo ◦❧
595754f2a6
fix swagger definition references to nonexistent CreateGroupOption
2026-05-08 18:55:23 -04:00
☙◦ The Tablet ❀ GamerGirlandCo ◦❧
4647c138fe
refactor group creation such that we know the owner ID ahead of time, bailing out if both ownerID and parentGroupID are < 1
2026-05-08 18:55:23 -04:00
☙◦ The Tablet ❀ GamerGirlandCo ◦❧
313a518f58
add appropriate swagger definitions
2026-05-08 18:55:23 -04:00
☙◦ The Tablet ❀ GamerGirlandCo ◦❧
0c1d339082
move group routes that don't depend on the org path parameter out of the /orgs/{org} route group
2026-05-08 18:55:23 -04:00
☙◦ The Tablet ❀ GamerGirlandCo ◦❧
466caf7d2a
run formatter
2026-05-08 18:55:22 -04:00
☙◦ The Tablet ❀ GamerGirlandCo ◦❧
1c7ccfc31a
remove bare return
2026-05-08 18:55:22 -04:00
☙◦ The Tablet ❀ GamerGirlandCo ◦❧
21d499d42e
update AccessibleGroupCondition function to take a minimum perm.AccessMode as a parameter
2026-05-08 18:55:22 -04:00
☙◦ The Tablet ❀ GamerGirlandCo ◦❧
bdb88fd7f0
add doer parameter to MoveGroupItem describing the user trying to move a group
2026-05-08 18:55:22 -04:00
☙◦ The Tablet ❀ GamerGirlandCo ◦❧
0eab7d0429
add api routes and functions for repository groups
2026-05-08 18:55:22 -04:00
☙◦ The Tablet ❀ GamerGirlandCo ◦❧
87f26cd99b
rename tables in group-related query conditions
2026-05-08 18:55:21 -04:00
☙◦ The Tablet ❀ GamerGirlandCo ◦❧
81095daa62
move parameters of the MoveGroup function into a struct, MoveGroupOptions
2026-05-08 18:55:21 -04:00
☙◦ The Tablet ❀ GamerGirlandCo ◦❧
d77110a1a8
update repo service to check that GroupID is owned by the repo owner when creating a new repository
2026-05-08 18:55:21 -04:00
☙◦ The Tablet ❀ GamerGirlandCo ◦❧
114dcb5d7b
apply simple linting changes
2026-05-08 18:55:21 -04:00
☙◦ The Tablet ❀ GamerGirlandCo ◦❧
5fcd1e17d4
apply simple linting changes
2026-05-08 18:55:21 -04:00
☙◦ The Tablet ❀ GamerGirlandCo ◦❧
bfaf513d13
add ownership check when moving repository to a new group
2026-05-08 18:55:21 -04:00
☙◦ The Tablet ❀ GamerGirlandCo ◦❧
f2758da1cf
reapply changes wiped out by conflict resolution
2026-05-08 18:55:20 -04:00
☙◦ The Tablet ❀ GamerGirlandCo ◦❧
057df87eef
format files
2026-05-08 18:55:20 -04:00
☙◦ The Tablet ❀ GamerGirlandCo ◦❧
8db609a265
regenerate swagger definitions
2026-05-08 18:55:20 -04:00
☙◦ The Tablet ❀ GamerGirlandCo ◦❧
24f5179d33
fix a few more build errors
2026-05-08 18:55:20 -04:00
☙◦ The Tablet ❀ GamerGirlandCo ◦❧
0e292f2100
add api types for groups
2026-05-08 18:55:20 -04:00
☙◦ The Tablet ❀ GamerGirlandCo ◦❧
5f3c500637
fix more build errors
2026-05-08 18:55:19 -04:00
☙◦ The Tablet ❀ GamerGirlandCo ◦❧
2159d0ede6
add GroupID and GroupSortOrder fields to Repository api struct
2026-05-08 18:55:19 -04:00
☙◦ The Tablet ❀ GamerGirlandCo ◦❧
c986da2a46
fix build error caused by changed function name
2026-05-08 18:55:19 -04:00
☙◦ The Tablet ❀ GamerGirlandCo ◦❧
fb46b59a8e
add GroupID field to CreateRepoOptions
2026-05-08 18:55:19 -04:00
☙◦ The Tablet ❀ GamerGirlandCo ◦❧
5e69c93f60
fix deadlock caused by differing contexts when retrieving group ancestry with ParentGroupCond/GetParentGroupChain when using a sqlite db
2026-05-08 18:55:19 -04:00
☙◦ The Tablet ❀ GamerGirlandCo ◦❧
c160fe8ee5
add some unit tests for group service
2026-05-08 18:55:19 -04:00
☙◦ The Tablet ❀ GamerGirlandCo ◦❧
93c9998da7
fix no columns found to update error when recalculating group access
2026-05-08 18:55:18 -04:00
☙◦ The Tablet ❀ GamerGirlandCo ◦❧
bda02523b9
add test fixtures
2026-05-08 18:55:18 -04:00
☙◦ The Tablet ❀ GamerGirlandCo ◦❧
b2c3acc8c0
add missing nil check before IsErrGroupNotExist call
2026-05-08 18:55:18 -04:00
☙◦ The Tablet ❀ GamerGirlandCo ◦❧
21eac079bc
[services] update MoveGroupItem function to set newPos to the length of the new parent's subgroups/repositories
2026-05-08 18:55:18 -04:00
☙◦ The Tablet ❀ GamerGirlandCo ◦❧
78d76049bb
add UpdateGroup function
2026-05-08 18:55:18 -04:00
☙◦ The Tablet ❀ GamerGirlandCo ◦❧
c0b35ae8b4
remove unused/redundant IsPrivate field from Group struct
2026-05-08 18:55:18 -04:00
☙◦ The Tablet ❀ GamerGirlandCo ◦❧
ed0d5b0cba
fix bug where all repos are returned even when opts.GroupID == 0
2026-05-08 18:55:17 -04:00
☙◦ The Tablet ❀ GamerGirlandCo ◦❧
cafc218e90
fix duplicate teams being returned by GetTeamsWithAccessToGroup
2026-05-08 18:55:17 -04:00
☙◦ The Tablet ❀ GamerGirlandCo ◦❧
c3c61fca11
[misc] update avatar utils to handle group avatars
2026-05-08 18:55:17 -04:00
☙◦ The Tablet ❀ GamerGirlandCo ◦❧
60c63bd5c8
[services] ensure OwnerName field is updated in groups owned by an org when its name is updated
2026-05-08 18:55:17 -04:00
☙◦ The Tablet ❀ GamerGirlandCo ◦❧
24e7df8df4
[models] update GetTeamRepositories to also return repositories accessible via group permissions
2026-05-08 18:55:17 -04:00
☙◦ The Tablet ❀ GamerGirlandCo ◦❧
1fc3e005fb
[models/conds] update some repo conditions to check for access provided via groups
2026-05-08 18:55:17 -04:00
☙◦ The Tablet ❀ GamerGirlandCo ◦❧
c0898cc0e3
[models/conds] add functions returning builders to help find repos matching various group-related conditions
2026-05-08 18:55:16 -04:00
☙◦ The Tablet ❀ GamerGirlandCo ◦❧
09b5fa6e87
[models/search-options] add GroupID to SearchRepoOptions
2026-05-08 18:55:16 -04:00
☙◦ The Tablet ❀ GamerGirlandCo ◦❧
2f7ecb1f60
add group-related url segments to list of reserved usernames
2026-05-08 18:55:16 -04:00
☙◦ The Tablet ❀ GamerGirlandCo ◦❧
0521a0e06d
update team_list.go
...
add `GetUserGroupTeams` function
2026-05-08 18:55:16 -04:00
☙◦ The Tablet ❀ GamerGirlandCo ◦❧
58126232fc
add file with functions relating to organization teams and repo groups
2026-05-08 18:55:16 -04:00
☙◦ The Tablet ❀ GamerGirlandCo ◦❧
423ef4c09c
add conversion functions for repository groups
2026-05-08 18:55:16 -04:00
☙◦ The Tablet ❀ GamerGirlandCo ◦❧
ba37aa8514
update repo_permission.go
...
change `GetUserRepoPermission` to check for permissions granted/denied by groups
2026-05-08 18:55:15 -04:00
☙◦ The Tablet ❀ GamerGirlandCo ◦❧
31c66733c3
[models] update repo model
...
add `GroupID` and `GroupSortOrder` fields
2026-05-08 18:55:15 -04:00
☙◦ The Tablet ❀ GamerGirlandCo ◦❧
ea8e52b9ee
remove unused parameter from Group.relAvatarLink method
2026-05-08 18:55:15 -04:00
☙◦ The Tablet ❀ GamerGirlandCo ◦❧
2148a9f48d
update group_unit.go
...
- export `GetUnitsByGroupID`
- add `GetGroupUnit` function to retrieve a specific unit in a group
- add `GetMaxGroupUnit` function that returns a specific type of group unit with the highest permissions granted
2026-05-08 18:55:15 -04:00
☙◦ The Tablet ❀ GamerGirlandCo ◦❧
652c1deac5
add new fields and methods to GroupTeam model
...
- add `CanCreateIn` field, which determines whether a team can create new subgroups or repositories within a group
- add `AccessMode` field that determines a team's general access level to a group (as opposed to a specific unit)
- add `UpdateTeamGroup` function that either updates or adds a `GroupTeam` to the database
- update `HasTeamGroup` to also check that a team's access level is >= `AccessModeRead`
2026-05-08 18:55:15 -04:00