Commit Graph

20 Commits (jc/db-migrate-orgs)

Author SHA1 Message Date
Joe Chen 403e1fb219
Fix test 2023-12-17 16:46:07 -05:00
Joe Chen f0fed90a0a
Add tests 2023-12-17 16:44:32 -05:00
Joe Chen 34e59c21f0
orgsSetMemberVisibility 2023-12-17 16:44:32 -05:00
Joe Chen 22526be6cf
orgsIsOwnedBy 2023-12-17 16:44:31 -05:00
Joe Chen c5fa4cf93d
orgsListMembers 2023-12-17 16:44:31 -05:00
deepsource-autofix[bot] 54d5e4c399
style: format code with Go fmt and Gofumpt
This commit fixes the style issues introduced in 12efef4 according to the output
from Go fmt and Gofumpt.

Details: https://github.com/gogs/gogs/pull/7538
2023-12-17 16:44:31 -05:00
Joe Chen b2a0ce6b53
orgsHasMember 2023-12-17 16:44:31 -05:00
Joe Chen 7d4c5b47a2
Check access before watch repo 2023-12-17 16:44:31 -05:00
Joe Chen 5ab8262fe1
orgsRemoveMember 2023-12-17 16:42:35 -05:00
Joe Chen fce3e65b2c
orgsAddMember 2023-12-17 16:42:35 -05:00
Joe Chen bf92bcdf66
orgsDeleteByID 2023-12-17 16:42:35 -05:00
Joe Chen 6345c503c8
orgsCount 2023-12-17 16:42:14 -05:00
Joe Chen cbd3c7a40b
orgsList 2023-12-17 16:42:14 -05:00
Joe Chen 0ca926e87b
fixup 2023-12-17 16:42:14 -05:00
Joe Chen 26f8ddfca0
orgsGetByName 2023-12-17 16:42:14 -05:00
Joe Chen ed260cbcb9
orgsCreate 2023-12-17 16:41:34 -05:00
Joe Chen b332af5653
Fix damn test 2023-12-17 16:39:41 -05:00
Joe Chen a44928493d
Fix `Orgs.Join` 2023-12-17 16:39:40 -05:00
Joe Chen e0a14a54fe
Use `OrganizationsStore.Create` replace tests hack 2023-12-17 16:38:42 -05:00
Joe Chen 371c56e306
fixup 2023-12-17 16:37:40 -05:00