~homeworkprod/byceps

ref: 533662eefb314d54b168e5a46bc07c88b5f88be4 byceps/byceps/blueprints/admin/newsletter/views.py -rw-r--r-- 3.1 KiB
533662ee — Jochen Kupperschmidt 4 months ago
Use Flask v2.0's `delete`/`get`/`patch`/`post` route shortcuts
1b14010f — Jochen Kupperschmidt 8 months ago
Introduce `byceps.util.authorization.register_permission_enum` to be used in blueprint views
386eb13e — Jochen Kupperschmidt 8 months ago
Move permission registry module out of blueprints package
3d7b49f0 — Jochen Kupperschmidt 8 months ago
Update copyright notes for 2021
38df9baa — Jochen Kupperschmidt 8 months ago
Move `permission_required` decorator to `byceps.util.views`
0b51dd42 — Jochen Kupperschmidt 10 months ago
Refer to license as "Revised BSD" to clarify that it is not customized

The common name "Modified BSD License" for the 3-clause BSD license can
be misleading as it might suggest it is a BSD license customized by the
project author.

To avoid this, refer to the license under one of its other names
instead.
97cfc473 — Jochen Kupperschmidt 1 year, 28 days ago
Move authorization blueprint into `common` subpackage
1bb085fa — Jochen Kupperschmidt 1 year, 7 months ago
Change remaining value objects from `attrs` to `dataclass`
428eab3e — Jochen Kupperschmidt 1 year, 8 months ago
Update copyright notes for 2020
e3a688f3 — Jochen Kupperschmidt 2 years ago
Add global newsletter overview
a0bd49a1 — Jochen Kupperschmidt 2 years ago
Introduce brand-independent newsletter lists

For the time being, a few places in the code assume that a newsletter
list exists for each brand.

DDL to add and reference the news table:

    CREATE TABLE newsletter_lists (id text NOT NULL, title text NOT NULL, CONSTRAINT newsletter_lists_pkey PRIMARY KEY (id));

    ALTER TABLE newsletter_subscriptions DROP CONSTRAINT newsletter_subscriptions_brand_id_fkey;
    ALTER TABLE newsletter_subscriptions RENAME brand_id TO list_id;
    ALTER TABLE newsletter_subscriptions ADD CONSTRAINT newsletter_subscriptions_list_id_fkey FOREIGN KEY (list_id) REFERENCES newsletter_lists (id);
d5e46588 — Jochen Kupperschmidt 2 years ago
Move package `blueprints.newsletter_admin` to `blueprints.admin.newsletter`
1d33981d — Jochen Kupperschmidt 2 years ago
Update copyright notes for 2019
1ba114b5 — Jochen Kupperschmidt 2 years ago
Do not list subscription state for single users, just show totals
c1fa0abd — Jochen Kupperschmidt 3 years ago
Update copyright notes for 2018
68865d4a — Jochen Kupperschmidt 4 years ago
Split template decorator off into a new framework module
b9ab3c14 — Jochen Kupperschmidt 4 years ago
Only export subscriber details as named tuples, (somewhat) lazily
7df634c2 — Jochen Kupperschmidt 4 years ago
Drop source code encoding lines as they already default to UTF-8 since Python 3.0
f884d542 — Jochen Kupperschmidt 4 years ago
Update copyright notes for 2017
3862d015 — Jochen Kupperschmidt 4 years ago
Split framework module into multiple modules in a sub-package
Next