~homeworkprod/byceps

ref: 533662eefb314d54b168e5a46bc07c88b5f88be4 byceps/byceps/blueprints/admin/user_badge/views.py -rw-r--r-- 7.1 KiB
533662ee — Jochen Kupperschmidt 4 months ago
Use Flask v2.0's `delete`/`get`/`patch`/`post` route shortcuts
d1dff0da — Jochen Kupperschmidt 7 months ago
Translate flash messages to English
e6f5deba — Jochen Kupperschmidt 7 months ago
Wrap flash message texts in `gettext` calls for translation
0f1c2941 — Jochen Kupperschmidt 7 months ago
Rename request-scope variable `current_user` to `user`
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.
43ce6f6d — Jochen Kupperschmidt 11 months ago
Introduce admin permission `user_badge.view`, secure user badge admin view endpoints

SQL:

    INSERT INTO authz_permissions VALUES ('user_badge.view', 'Abzeichen anzeigen');
    INSERT INTO authz_role_permissions VALUES ('user_badge_admin', 'user_badge.view');
018cd4bf — Jochen Kupperschmidt 1 year, 7 days ago
Rename brand service function `get_brands` to `get_all_brands`

This makes the name consistent with those for other similar service
functions and leaves room for a function that allows for filter
arguments.
96beb311 — Jochen Kupperschmidt 1 year, 26 days ago
Add admin UI to update user badges

SQL:

    INSERT INTO authz_permissions (id, title) VALUES ('user_badge.update', 'Abzeichen bearbeiten');
    INSERT INTO authz_role_permissions (role_id, permission_id) VALUES ('user_badge_admin', 'user_badge.update');
5efb29e5 — Jochen Kupperschmidt 1 year, 26 days ago
Show brand image in user badge admin list and detail view
b388784b — Jochen Kupperschmidt 1 year, 26 days ago
Move user badge's optional brand ID more into the back row to show its lesser significance
97cfc473 — Jochen Kupperschmidt 1 year, 27 days ago
Move authorization blueprint into `common` subpackage
674b1e17 — Jochen Kupperschmidt 1 year, 1 month ago
Move signal modules from blueprint packages into new package `byceps.signals`
4c626df0 — Jochen Kupperschmidt 1 year, 2 months ago
Sort badge recipients in Python instead of template, deal with `None`
4c245aaf — Jochen Kupperschmidt 1 year, 2 months ago
Rename user badge service
27039e99 — Jochen Kupperschmidt 1 year, 2 months ago
Merge user badge command service into (query) service
0feb9b72 — Jochen Kupperschmidt 1 year, 2 months ago
Extract awarding-relating user badge service
Next