Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create the "userlister" macro #88

Closed
snazare opened this issue Oct 5, 2022 · 3 comments · Fixed by #98
Closed

Create the "userlister" macro #88

snazare opened this issue Oct 5, 2022 · 3 comments · Fixed by #98

Comments

@snazare
Copy link

snazare commented Oct 5, 2022

Please create the "userlister" bridge macro, compatible with the Confluence userlister macro: https://confluence.atlassian.com/doc/user-list-macro-139546.html

Name: userlister

Parameter Default Description
Group(s)(groups) none Specify the group name. Specify multiple groups separated by a comma, or use * to show all users in Confluence.See this knowledge base page for more information about controlling which users can see the details of other users.
@snazare snazare added this to the 1.5 milestone Oct 5, 2022
@snazare snazare modified the milestones: 1.5, 1.6, 1.7 Oct 26, 2022
@raphj
Copy link
Contributor

raphj commented Nov 10, 2022

I'm adding support for the groups parameter in the userList macro.
#98

I don't know yet how groups are mapped from confluence to XWiki. I need to figure this out before I can implement the userlister confluence bridge macro.

@oanalavinia
Copy link
Contributor

This has no commits on the main branch. @raphj should the support-groups-in-userList branch be merged? Or do you still have work to do and we could reopen the issue

@slauriere
Copy link
Contributor

Work on PR #98 is still in progress so I'm reopening this issue.

@slauriere slauriere reopened this Mar 3, 2023
slauriere added a commit that referenced this issue Mar 3, 2023
- Add wiki syntax escaping
- Update macro description
- Compute group parameter using resolver / serializer
slauriere added a commit that referenced this issue Mar 3, 2023
- Use local serializer when serializing a group name (otherwise the
  'compact' one is used by default)
slauriere added a commit that referenced this issue Apr 11, 2023
…serlister confluence bridge macro

- Use group resolver and document query filter
slauriere pushed a commit that referenced this issue Apr 27, 2023
…serlister confluence bridge macro

* #88: Implement the userlister Confluence bridge macro 
* #90: Add the groups parameter to the userList macro
  - Check users and groups parameters for emptiness
  - Add Unstable and since annotations
  - Replace dependency on old core by dependency on query-manager
  - Add HTML displayer for group list to get group suggestion on macro edition
  - Use group resolver and document query filter

Co-authored-by: slauriere, mflorea
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
4 participants