Skip to content

feat: Google Group synchronization#103

Open
gardenerik wants to merge 8 commits into
masterfrom
google-groups
Open

feat: Google Group synchronization#103
gardenerik wants to merge 8 commits into
masterfrom
google-groups

Conversation

@gardenerik
Copy link
Copy Markdown
Contributor

No description provided.

@gardenerik gardenerik requested a review from Aiq0 May 30, 2026 12:43
Copy link
Copy Markdown
Member

@Aiq0 Aiq0 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

trojsten:veduci group is still mentioned here:

  • trojstenid/profiles/views.py:53
  • trojstenid/profiles/templates/profile/profile.html:15

Comment thread trojstenid/users/views.py Outdated

def get_context_data(self, **kwargs):
context = super().get_context_data(**kwargs)
context["groups"] = Group.objects.order_by("name")
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
context["groups"] = Group.objects.order_by("name")
context["groups"] = self.request.user.groups.order_by("name")

Comment thread trojstenid/urls.py
path("accounts/", include("allauth.urls")),
path("oauth/", include("trojstenid.users.urls_oauth", namespace="oauth2_provider")),
path("api/", include("trojstenid.users.urls_api", namespace="api")),
path("", include("trojstenid.users.urls_groups")),
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
path("", include("trojstenid.users.urls_groups")),
path("groups/", include("trojstenid.users.urls_groups")),

Comment on lines +6 to +7
path("groups/", GroupListView.as_view(), name="group_list"),
path("groups/sync/", GroupSyncView.as_view(), name="group_sync"),
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
path("groups/", GroupListView.as_view(), name="group_list"),
path("groups/sync/", GroupSyncView.as_view(), name="group_sync"),
path("", GroupListView.as_view(), name="group_list"),
path("sync/", GroupSyncView.as_view(), name="group_sync"),

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants