Skip to main content

Extended groups management for Plone

Project description

Extended groups management for Plone

This 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) is not to 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.

Features

  • Group administration pages

  • A very simple bulletin board for the group members

  • A simple scheduler for group memberships

Examples

This add-on can be seen in action at the following sites:

Documentation

Sorry, we don’t have real user documentation yet.

Installation

Install visaplan.plone.groups by adding it to your buildout:

[buildout]

...

eggs =
    visaplan.plone.groups

and then running bin/buildout

Contribute

Support

If you are having issues, please let us know; please use the issue tracker mentioned above.

License

The project is licensed under the GPLv2.

Contributors

Changelog

1.3.3.1 (2023-05-03)

Bugfixes:

  • When checking the version of the visaplan.plone.search package, compare correctly, following PEP 440.

Requirements:

[tobiasherp]

1.3.3 (2023-05-02)

Requirements:

[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)

Fixed regression in 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 @@groupboard

  • New browser @@myfellows

Requirements:

Miscellaneous:

  • METAL macros:

    • Macro group-selector copied from group-desktop.pt to new template group-macros.pt;

    • new macro group-selector-grouped added there as well.

    These two macros can now be tested by visiting /@@group-macros; please change your references to the old location of the group-selector macro, as it will be removed soon.

  • New GroupsBase class 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 found

Improvements:

  • The group-selector macro considers the context variable class (which is by default chosen-autosubmit, for historical reasons); the allows to specify something like chosen and 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 id

Miscellaneous:

  • 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 groups

Miscellaneous:

  • 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 errors

Miscellaneous:

  • Use Javascript API functions (Unitracc.*)

  • moved group-desktop.js here, from visaplan.UnitraccResource

[tobiasherp]

1.2.0 (2020-12-16)

Breaking changes:

  • crumbs modules renamed to oldcrumbs

    (With zope.deprecation installed, imports will continue to work; a DeprecationWarning will be logged.)

Requirements removed:

Bugfixes:

[tobiasherp]

1.1.6 (2020-08-20)

Miscellaneous:

[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.pt now loads correctly via AJAX (including the DataTable; a minor layout problem remains)

  • To start course via desktop link (rather than continueing), specify uid=1 explicitly; this is currently necessary to make the AJAX load work.

[tobiasherp]

1.1.0.1 (2020-03-24)

Miscellaneous:

  • New SQL script src/visaplan/plone/groups/groupsharing/sql/update-0003.sql: modifies the SQL view course_statistics_overview to always report course_view as the (last used) page_view_type (to load that page via AJAX; #393)

[tobiasherp]

1.1.0 (2020-03-06)

New features:

[tobiasherp]

1.0.2 (2019-05-13)

Bugfixes:

  • Fixed incomplete conversion of Tomcom adapters usage to getToolByName

[tobiasherp]

1.0.1 (2019-05-09)

Note: Due to a regression, please proceed to version 1.0.2!

  • New functions utils.generate_{structure,course}_group_ids, generate_structure_group_tuples

  • Support for option resolve_role for the following functions:

    • split_group_id

    • generate_structure_group_tuples

    With resolve_role=True, these functions tell a role a role, and a suffix a suffix; e.g., the Author group of structures is not given the Author but the Editor local role.

    For now, the default value for resolve_role is False; this may change in future versions.

[tobiasherp]

1.0 (2018-09-19)

  • Initial release. [tobiasherp]

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

visaplan.plone.groups-1.3.3.1.tar.gz (99.4 kB view details)

Uploaded Source

File details

Details for the file visaplan.plone.groups-1.3.3.1.tar.gz.

File metadata

  • Download URL: visaplan.plone.groups-1.3.3.1.tar.gz
  • Upload date:
  • Size: 99.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.4.2 requests/2.19.0 setuptools/41.0.1 requests-toolbelt/0.8.0 tqdm/4.23.4 CPython/2.7.5

File hashes

Hashes for visaplan.plone.groups-1.3.3.1.tar.gz
Algorithm Hash digest
SHA256 d00d86ded2b4a4d3645ff6c82b553ea68166cee5dd69016ffddb0f0a2dbb4774
MD5 6c2490d0ea53cfdfa96de89c3e1696df
BLAKE2b-256 a5e6d82e1f918757da06f016ba874488dbdec7375d17780233edbca361db2293

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page