~homeworkprod/byceps

ref: 90357856fb25b54d9e60125d1b658be3514449ae byceps/scripts d---------
1c559ffd — Jochen Kupperschmidt 5 months ago
Use PEP 585 type hinting generics
c8b4b0f5 — Jochen Kupperschmidt 7 months ago
Introduce one-line helper for script execution
2c36ca1d — Jochen Kupperschmidt 7 months ago
Use `flask.Config.from_envvar`, remove `byceps.util.system.get_config_filename_from_env[_or_exit]`

The application config filename is now optional. If it is not specified,
the environment variable `BYCEPS_CONFIG` is expected to be set.
48ce2c6c — Jochen Kupperschmidt 8 months ago
Clarify names of packages, modules with database models
1b64cd81 — Jochen Kupperschmidt 8 months ago
Add script to export email addresses of a party's ticket users
52abf10f — Jochen Kupperschmidt 8 months ago
Add script to wish orgas a happy birthday
c7f2b8cc — Jochen Kupperschmidt 8 months ago
Format more code according to Black
f7b591d6 — Jochen Kupperschmidt 8 months ago
Move code to delete old user login events to user event service
7d2a281a — Jochen Kupperschmidt 8 months ago
Move dry run mode from script to delete older user login events
d492f609 — Jochen Kupperschmidt 8 months ago
Add maintenance admin blueprint, maintainer role and permission

SQL:

    INSERT INTO authz_permissions VALUES ('admin.maintain', 'Wartungsarbeiten ausführen');
    INSERT INTO authz_roles VALUES ('maintenance_admin', 'Wartungsarbeiten ausführen');
    INSERT INTO authz_role_permissions VALUES ('maintenance_admin', 'admin.maintain');
b94b8ed9 — Jochen Kupperschmidt 8 months ago
Replace script to create ticket category with admin UI
ed0821bd — Jochen Kupperschmidt 8 months ago
Fix output of permissions import script
47dbc3b0 — Jochen Kupperschmidt 9 months ago
Pass required `ctx` along
ddaba96f — Jochen Kupperschmidt 9 months ago
Remove debug code that prevents snippet copying
c4c96967 — Jochen Kupperschmidt 9 months ago
Rename, extend snippet copy script to support copying multiple snippets
1da91029 — Jochen Kupperschmidt 9 months ago
Refactor snippet copy script

Extract functions, tweak error message.
3477136a — Jochen Kupperschmidt 9 months ago
Add ticketing permission `administrate`

SQL:

    INSERT INTO authz_permissions VALUES ('ticketing.administrate', 'Tickets verwalten');
    INSERT INTO authz_role_permissions VALUES ('ticketing_admin', 'ticketing.administrate');
f0c76547 — Jochen Kupperschmidt 9 months ago
Add tourney admin blueprint

SQL:

    INSERT INTO authz_permissions VALUES ('tourney.administrate', 'Turniere verwalten');
    INSERT INTO authz_permissions VALUES ('tourney.view', 'Turniere anzeigen');

    INSERT INTO authz_roles VALUES ('tourney_admin', 'Turniere verwalten');

    INSERT INTO authz_role_permissions VALUES ('tourney_admin', 'tourney.administrate');
    INSERT INTO authz_role_permissions VALUES ('tourney_admin', 'tourney.view');
7d81a758 — Jochen Kupperschmidt 9 months ago
Merge mutating tourney category administration permissions into one

SQL:

    DELETE FROM authz_role_permissions WHERE role_id = 'tourney_category_admin' AND permission_id IN ('tourney_category.create', 'tourney_category.update');
    DELETE FROM authz_permissions WHERE id IN ('tourney_category.create', 'tourney_category.update');

    INSERT INTO authz_permissions VALUES ('tourney_category.administrate', 'Turnierkategorien verwalten');
    INSERT INTO authz_role_permissions VALUES ('tourney_category_admin', 'tourney_category.administrate');
3d7b49f0 — Jochen Kupperschmidt 9 months ago
Update copyright notes for 2021
Next