~homeworkprod/byceps

ref: 47c731357a9102dedf9c3e66eccf084fb4fddf66 byceps/byceps/blueprints/admin/shop/article/views.py -rw-r--r-- 15.4 KiB
533662ee — Jochen Kupperschmidt 4 months ago
Use Flask v2.0's `delete`/`get`/`patch`/`post` route shortcuts
22b9fd76 — Jochen Kupperschmidt 7 months ago
Use HTML5 date/time fields in shop article update form
d1dff0da — Jochen Kupperschmidt 8 months ago
Translate flash messages to English
e6f5deba — Jochen Kupperschmidt 8 months ago
Wrap flash message texts in `gettext` calls for translation
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`
91ed343a — Jochen Kupperschmidt 9 months ago
Display brand navigation for (most) shop admin 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.
62329449 — Jochen Kupperschmidt 1 year, 17 days ago
Add shop admin UI to create article number sequence
16b255b0 — Jochen Kupperschmidt 1 year, 17 days ago
Display and expect tax rate in article create and update forms as percentage values

This matches the field's trailing percentage sign.
9b25a93e — Jochen Kupperschmidt 1 year, 19 days ago
Merge generic shop sequence service and most transfer models into the article/order specific replacements
e5cccf3e — Jochen Kupperschmidt 1 year, 19 days ago
Move shop article sequence service function frontends to new service in article package
8b0523ed — Jochen Kupperschmidt 1 year, 1 month ago
Display order actions on admin article view
97cfc473 — Jochen Kupperschmidt 1 year, 1 month ago
Move authorization blueprint into `common` subpackage
704d0f16 — Jochen Kupperschmidt 1 year, 1 month ago
Add total quantity field to shop article, initialize quantity from it

DDL:

    ALTER TABLE shop_articles ADD COLUMN total_quantity integer;

    -- And after updating all existing articles with a total quantity:
    ALTER TABLE shop_articles ALTER COLUMN total_quantity SET NOT NULL;
d20e1a28 — Jochen Kupperschmidt 1 year, 1 month ago
Do not prepopulate quantity in article creation form
da155390 — Jochen Kupperschmidt 1 year, 1 month ago
Do not allow to manually change article's (available) quantity

Manually changing this number while orders for this article are coming in can lead to a value that no longer represents the actually number of available items.
51d53d95 — Jochen Kupperschmidt 1 year, 1 month ago
Make maximum article quantity per order value mandatory

DDL:

    ALTER TABLE shop_articles ALTER COLUMN max_quantity_per_order SET NOT NULL;
Next