Commit graph

3431 commits

Author SHA1 Message Date
Lance Edgar 6e2ccef01b Update changelog 2023-02-10 20:23:55 -06:00
Lance Edgar 477797503c Fix error handler bug 2023-02-10 10:18:04 -06:00
Lance Edgar 33b569bfa2 Only make "missing" credits for purchase batch, when product is known 2023-02-09 12:15:14 -06:00
Lance Edgar ec95805e79 Avoid error when borg create exits with code 1
per docs, that signifies "warning" only and not "error"
2023-02-09 11:16:30 -06:00
Lance Edgar 7304eaff59 Do not cache label printer, formatter
the label handler may be long-lived and so must avoid cache to reflect
changes made in real-time
2023-02-08 20:18:17 -06:00
Lance Edgar a6ac2fe305 Address a warning from SQLAlchemy for declarative_base
as of 1.4 that has moved
2023-02-08 10:56:10 -06:00
Lance Edgar 2d3a62fa9c test commit for buildbot hook 2023-02-07 21:57:59 -06:00
Lance Edgar b8ef605c90 Remove python2 stuff from tox.ini
thankfully no reason to test that anymore
2023-02-07 21:01:23 -06:00
Lance Edgar e5110f240e Avoid deprecated SessionExtension for newer SQLAlchemy
we already use a different mechanism so just need to avoid the older
logic when 1.4+ is in use
2023-02-07 12:45:42 -06:00
Lance Edgar 85c72d5704 Bump version cap for SQLAlchemy to 1.4.x
hopefully can jump ahead further soon, but let's make sure all dust
has settled on this jump first

had to adjust some relationships to avoid FK "overlap" - cf. also
https://docs.sqlalchemy.org/en/14/errors.html#error-qzyx
2023-02-07 12:17:47 -06:00
Lance Edgar d7c35295ae Update changelog 2023-02-04 17:31:29 -06:00
Lance Edgar 7c423c0d7f Fix bytes vs. string issue for mailmon on python3 2023-02-04 17:20:14 -06:00
Lance Edgar bcd54bb8b6 Update changelog 2023-02-03 17:37:40 -06:00
Lance Edgar e56cbfcc94 Avoid error when fetching all upgrade systems
this logic is invoked when showing the Upgrades listing in tailbone,
so do not want error there unless something "really" wrong
2023-02-03 15:17:15 -06:00
Lance Edgar 553709f630 Officially drop support for python2 2023-02-02 23:21:15 -06:00
Lance Edgar f47174b91b Update changelog 2023-02-02 16:50:29 -06:00
Lance Edgar 2a97439607 Tweaks to email bounce handler per python3 2023-02-01 11:54:34 -06:00
Lance Edgar a12ba8fccd Update changelog 2023-01-30 21:05:02 -06:00
Lance Edgar 863a3b7fcf Expose sale/tpr/current prices when normalizing product 2023-01-29 18:45:30 -06:00
Lance Edgar dc7ff54739 Add basic aggregation support for receiving multiple invoices
i.e. merge duplicated products into a single row
2023-01-29 12:44:44 -06:00
Lance Edgar 10bf202029 Update changelog 2023-01-25 15:16:22 -06:00
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