Commit graph

3860 commits

Author SHA1 Message Date
Lance Edgar 1e289d8f3f Delay import for alembic 2023-01-18 23:32:09 -06:00
Lance Edgar 05ac42d978 Update changelog 2023-01-18 18:57:32 -06:00
Lance Edgar dd69733ac5 Move common logic for poser install commands into rattail
ideally all apps are installed the same way, easily..
2023-01-18 16:51:57 -06:00
Lance Edgar e3462b4e81 Tweak new table template, add FK/relationship support
still fairly basic, but getting there..
2023-01-16 23:45:39 -06:00
Lance Edgar 4698eed8a0 Include menu views for new projects 2023-01-16 21:53:04 -06:00
Lance Edgar 54a7735dbd Update changelog 2023-01-16 18:42:46 -06:00
Lance Edgar 1df0476066 Add basic template for new model view class; related logic 2023-01-16 13:44:51 -06:00
Lance Edgar 15322b5abf Add DB handler methods to generate and run alembic scripts
also modernize the `env.py` script
2023-01-15 22:49:09 -06:00
Lance Edgar a7c3bf79ff Remove some cruft from new project template
more to go, esp. for install command, but not today..
2023-01-14 20:58:32 -06:00
Lance Edgar ee5d35cd61 Make "empty" menu handler for new projects
need the structure to be in place, but use upstream menus by default
2023-01-14 18:46:19 -06:00
Lance Edgar cac126b645 Add get_tailbone_handler() method for app handler 2023-01-14 16:14:57 -06:00
Lance Edgar b527880836 Update changelog 2023-01-14 08:39:14 -06:00
Lance Edgar 9c0bd8662f Overhaul logic for launching backfill task
borrowing good patterns from overnight task.  trying to standardize so
existing luigi config is used etc.
2023-01-14 02:19:02 -06:00
Lance Edgar 08956af106 Update changelog 2023-01-13 20:52:16 -06:00
Lance Edgar 4978db391a Handle lists and datetimes in app.json_friendly() 2023-01-13 20:15:08 -06:00
Lance Edgar 087d44ddb0 Add "new" logic for writing table model class to file
very similar to "generate new table feature" logic, but that wasn't
clean enough to use as-is
2023-01-13 03:43:11 -06:00
Lance Edgar af016b7991 Use upstream admin menu for new projects 2023-01-12 22:55:33 -06:00
Lance Edgar 400d2715f1 Be a little smarter when parsing invoice for receiving
skip over minor errors, and if main parsing fails, make that more
clear in final error msg
2023-01-12 18:13:57 -06:00
Lance Edgar 2947703ab4 Update changelog 2023-01-11 19:54:08 -06:00
Lance Edgar 6166b6e425 Add support for per-item default discounts, for new custorder 2023-01-11 15:35:56 -06:00
Lance Edgar d4f4d1acc9 Add basic logic for receiving from multiple invoice files
so far the invoice files are essentially just concatenated together,
i.e. rows are *not* aggregated by product (yet..)
2023-01-10 16:35:31 -06:00
Lance Edgar 4cdef4a340 Update changelog 2023-01-08 11:35:37 -06:00
Lance Edgar 37b0434892 Prevent invalid chars in Excel sheet title 2023-01-07 22:44:41 -06:00
Lance Edgar d6c4952a5f Tweak default beaker key for new projects 2023-01-07 22:06:56 -06:00
Lance Edgar e006090f0b Update changelog 2023-01-07 11:49:45 -06:00
Lance Edgar 13052f91e4 Add "units only" setting for products
to hide case size etc. globally
2023-01-07 11:49:06 -06:00
Lance Edgar fe0649f097 Tweaks for import/export batch 2023-01-07 11:48:37 -06:00
Lance Edgar b4e04196a4 Update changelog 2023-01-05 13:42:42 -06:00
Lance Edgar 73b77daa87 Fix relative import bug on python2 2023-01-05 13:41:53 -06:00
Lance Edgar a3eb6717b4 Optionally include all costs, when normalizing product data 2023-01-04 21:23:25 -06:00
Lance Edgar a338369543 Let reports w/ Excel output write more than one data sheet 2023-01-04 16:36:38 -06:00
Lance Edgar 6106fb615d Let report types declare a help URL 2023-01-04 16:34:18 -06:00
Lance Edgar 6116de0afe Update changelog 2023-01-04 10:56:21 -06:00
Lance Edgar 8e5fda9bed Fix typo 2023-01-04 10:55:48 -06:00
Lance Edgar 1d7bb6a7a5 Update changelog 2023-01-03 22:23:04 -06:00
Lance Edgar 645259da20 Avoid print keyword for python2, in command rprint method 2023-01-03 18:23:14 -06:00
Lance Edgar ca03485cf8 Update changelog 2023-01-02 16:48:55 -06:00
Lance Edgar 13c70c1846 Add problem report for Trainwreck current DB pruning
as a reminder to get that done, when applicable
2023-01-02 13:11:03 -06:00
Lance Edgar 15894844ed Add problem report for missing Trainwreck DB
so far just detects when "next year's DB" is missing, for sake of
yearly rollover reminder
2023-01-02 12:10:50 -06:00
Lance Edgar 4f003fcd8b Auto-clear invalid flag when email address is changed
presumably invalid flag is only set when bounce occurs..
2023-01-02 11:10:26 -06:00
Lance Edgar ab45b692fe Optionally force email address to lower-case
only applies to Person email for now though..probably should broaden
at some point?
2023-01-02 10:55:46 -06:00
Lance Edgar 4ae2762be5 Add rattail make-project command, for simpler quickstart
also adds a basic DB handler, etc.
2023-01-02 09:16:12 -06:00
Lance Edgar f091904925 Update changelog 2022-12-28 16:08:14 -06:00
Lance Edgar 1613de0d49 Avoid writing CSV file export when in dry-run mode 2022-12-28 14:18:24 -06:00
Lance Edgar 5bb5c18ff7 Let handler strip batch execution kwargs which aren't JSON-safe
i.e. for sake of storing as batch params
2022-12-26 10:41:30 -06:00
Lance Edgar cf04ae79ef Add basic model for tailbone field info 2022-12-24 21:29:15 -06:00
Lance Edgar 27e13a5ee5 Add basic model for tailbone page help
need to let site admins manage help as much as possible
2022-12-24 15:44:05 -06:00
Lance Edgar 82501640d9 Add initial logic for rattail cleanup command
will add a cleaner for beaker sessions shortly; more will come later
i'm sure
2022-12-23 23:28:50 -06:00
Lance Edgar 80477b3fd8 Make static files optional, for new tailbone-integration project 2022-12-23 20:18:25 -06:00
Lance Edgar b67f4b9635 Be a bit smarter about making url for upgrade emails 2022-12-23 19:21:50 -06:00