Package: visaplan.plone.groups
Extended groups management for PloneThis package contains some additional groups management pages and a simple
feature for scheduled activation and termination of group memberships,
using a few tables in a PostgreSQL database
(with currently hardcoded names).The purpose of this package (for now) isnotto provide new functionality
but to factor out existing functionality from an existing monolitic Zope product.
Thus, it is more likely to lose functionality during further development
(as parts of it will be forked out into their own packages,
or some functionality may even become obsolete because there are better
alternatives in standard Plone components).The additional fields for groups are not (yet) part of this package.FeaturesGroup administration pagesA very simple bulletin board for the group membersA simple scheduler for group membershipsExamplesThis add-on can be seen in action at the following sites:https://www.unitracc.dehttps://www.unitracc.comDocumentationSorry, we don’t have real user documentation yet.InstallationInstall visaplan.plone.groups by adding it to your buildout:[buildout]

...

eggs =
    visaplan.plone.groupsand then runningbin/buildoutContributeIssue Tracker:https://github.com/visaplan/plone.groups/issuesSource Code:https://github.com/visaplan/plone.groupsSupportIf you are having issues, please let us know;
please use theissue trackermentioned above.LicenseThe project is licensed under the GPLv2.ContributorsTobias Herp,tobias.herp@visaplan.comChangelog1.3.3.1 (2023-05-03)Bugfixes:When checking the version of the visaplan.plone.search package,
compare correctly, followingPEP 440.Requirements:packaging[tobiasherp]1.3.3 (2023-05-02)Requirements:importlib_metadataIf we have visaplan.plone.search, we want v1.7.0+[tobiasherp]1.3.2 (2023-01-20)Miscellaneous:@@groupsharing._update_view_duration added to the interface;
we need this for @@auto_enroll (in visaplan.plone.elearning)[tobiasherp]1.3.1 (2022-04-25)Fixedregressionin version 1.3.0:Personal desktop: “our-thingies” pages were broken![tobiasherp]1.3.0 (2022-04-22)Bugfixes:Fixed the bookings list(note:this functionality might become moved to visaplan.UnitraccShop anyway)New Features:New browser@@forum;
for the form actions, we’ll continue to use@@groupboardNew browser@@myfellowsRequirements:visaplan.plone.base 1.2.2+visaplan.plone.toolsv1.4.14+ (for bookings list bugfix)Miscellaneous:METAL macros:Macrogroup-selectorcopied fromgroup-desktop.ptto new templategroup-macros.pt;new macrogroup-selector-groupedadded there as well.These two macros can now be tested by visiting /@@group-macros;
please change your references to the old location of thegroup-selectormacro,
as it will be removed soon.NewGroupsBaseclass to provide some new methods, returning lists of groups of the current user:.desktop_groups.admin_or_desktop_groups.my_groups (the working horse for the former)This class is currently injected into@@groupdesktop@@groupboard[tobiasherp]1.2.4 (2022-02-03)Bugfixes:Don’t crash the group_administration_view if no title could be foundImprovements:Thegroup-selectormacro considers the context variableclass(which is by defaultchosen-autosubmit, for historical reasons);
the allows to specify something likechosenand thus suppress auto-submitting.Moved info factory functions to new subpackage.infofact[tobiasherp]1.2.3 (2021-07-09)Bugfixes:Error in desktop breadcrumbs for erroneous group idMiscellaneous:For anonymous users, don’t try to create dexktop breadcrumbs anymore.[tobiasherp]1.2.2 (2021-06-30)Bugfixes:Don’t fail anymore when trying to delete memberships in meanwhile deleted groupsMiscellaneous:Removed DevelopmentMode value from @@groupdesktop
(which apparently didn’t cause extra output)[tobiasherp]1.2.1 (2021-01-12)Bugfixes:Empty group boards sometimes caused errorsMiscellaneous:Use Javascript API functions (Unitracc.*)movedgroup-desktop.jshere, from visaplan.UnitraccResource[tobiasherp]1.2.0 (2020-12-16)Breaking changes:crumbsmodules renamed tooldcrumbs(Withzope.deprecationinstalled, imports will continue to work;
a DeprecationWarning will be logged.)Requirements removed:visaplan.plone.breadcrumbs(still supported; hard requirement removed)visaplan.plone.sqlwrapper(An SQLWrapper class with that very functionality is alternatively implemented
by thevisaplan.zope.reldb.legacy module)Bugfixes:Don’t include the (now) non-required packages in the configure.zcml anymore:visaplan.plone.breadcrumbsvisaplan.kitchen[tobiasherp]1.1.6 (2020-08-20)Miscellaneous:Python3 compatibility, usingsix[tobiasherp]1.1.5 (2020-08-03)Bugfixes:Switch to group desktop via group selection didn’t work.Access codes page now linked absolutely, and thus works now even if
the desktop was loaded via AJAX.[tobiasherp]1.1.4 (2020-06-12)New Features:On the desktop, list unbooked but accessable courses (e.g. demo courses, “for authenticated” / “for all”)
after the booked courses (and without statistics, of course).
This is so far considered too tiny to rectify a “minor” version change.Miscellaneous:Switched off the disfunctional personal calendar
(more precisely: removed the section from the desktop)
which crashed when clicked (#50)[tobiasherp]1.1.3 (2020-04-08)Miscellaneous:Don’t use the course titles for a link to the course anymore;
we have “Start course” and “Continue course” for this purpose[tobiasherp]1.1.2 (2020-03-27)Bugfix:group-desktop.ptnow loads correctly via AJAX
(including the DataTable; a minor layout problem remains)Tostartcourse via desktop link (rather than continueing),
specifyuid=1explicitly;
this is currently necessary to make the AJAX load work.[tobiasherp]1.1.0.1 (2020-03-24)Miscellaneous:New SQL scriptsrc/visaplan/plone/groups/groupsharing/sql/update-0003.sql:
modifies the SQL viewcourse_statistics_overviewto always reportcourse_viewas the (last used)page_view_type(to load that page via AJAX; #393)[tobiasherp]1.1.0 (2020-03-06)New features:Views for AJAX navigation (registered ifvisaplan.plone.ajaxnavigationis installed)group-desktopviews
(for full-page and - not yet used withvisaplan.plone.ajaxnavigationv1.0 -
for AJAX loading;
{my,our}-{images,…} views currently linked with data-fullpage-only attributes)[tobiasherp]1.0.2 (2019-05-13)Bugfixes:Fixed incomplete conversion of Tomcom adapters usage togetToolByName[tobiasherp]1.0.1 (2019-05-09)Note: Due to a regression, please proceed to version 1.0.2!New functionsutils.generate_{structure,course}_group_ids,generate_structure_group_tuplesSupport for optionresolve_rolefor the following functions:split_group_idgenerate_structure_group_tuplesWithresolve_role=True, these functions tell a role a role, and a
suffix a suffix; e.g., theAuthorgroup of structures is not given theAuthorbut theEditorlocal role.For now, the default value forresolve_roleisFalse;
this may change in future versions.[tobiasherp]1.0 (2018-09-19)Initial release.
[tobiasherp]