Skip to main content

Summary

This cube provides nosy-list “a la roundup” usable to notify users of events they subscribed to such as content modification, state change, etc.

A nosy list is an ad-hoc mailing list for entities where to which user can register, or be automatically registered on some action.

Usage

to use this cube:

  1. add to your schema:

    CWUser interested_in X
    X nosy_list CWUser

    where X are entity types considered as notification base, eg controlling who will be notified for events related to X.

  2. configure on which relation the nosy list should be propagated

    from cubes.nosylist import hooks as nosylist_hooks
    
    # relations where the "main" entity (eg holding the reference nosy list, so
    # should be in one `X` types cited above) is the subject of the relation
    nosylist_hooks.S_RELS |= set(('documented_by', 'attachment', 'screenshot'))
    
    # relations where the "main" entity (eg holding the reference nosy list, so
    # should be in one `X` types cited above) is the object of the relation
    nosylist_hooks.O_RELS |= set(('for_version', 'comments'))
  3. write hooks that add user to nosy list when desired (for instance, when a user is adding a comment to an entity, add him to the entity’s nosy list)

  4. define your notification views / hooks, which should rely on the default recipients finder mecanism to get notified users (automatic if you’re using cubicweb base classes)

Release files for cubicweb-nosylist 1.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for cubicweb-nosylist 1.1.1
File Size Uploaded
cubicweb_nosylist-1.1.1.tar.gz 14.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for cubicweb-nosylist 1.1.1
File Interpreter ABI Platform
cubicweb_nosylist-1.1.1-py3-none-any.whl Python 3 none any Details

Total release size: 30.3 kB

Release files / cubicweb_nosylist-1.1.1.tar.gz

Download URL cubicweb_nosylist-1.1.1.tar.gz
Size 14.3 kB
Tags Source
SHA-256 checksum
How to use checksums
f19e261ef3da5ee47dca885aec5561fcd645cdb98aa6aaf441764e0296ff395d
BLAKE2b-256 checksum
How to use checksums
d2d5ed5d8b18e9eb0bd2d101d4a2873240bc209e5f0fba4dc8f9583988b3c841
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.3

Release files / cubicweb_nosylist-1.1.1-py3-none-any.whl

Download URL cubicweb_nosylist-1.1.1-py3-none-any.whl
Size 16.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
4f1568dc251efe3d161da8f48a8b52e97d39f4f6a0b1ffdd48c27506e1329c51
BLAKE2b-256 checksum
How to use checksums
a0db8661086894d1a106453b037347d3de48c4b8dee5654ff1830d982970aebb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.3

Release history Release notifications | RSS feed

This release

1.1.1 This release

2 release files

1.1.0

2 release files

1.0.0

2 release files

0.7.1

1 release file

0.7.0

1 release file

0.6.0

1 release file

0.5.0

1 release file

0.4.1

1 release file

0.4.0

1 release file

0.3.0

1 release file

0.2.0

1 release file

0.1.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page