Commit graph

3326 commits

Author SHA1 Message Date
Lance Edgar 9e8fe47020 Add get_last_patronage_date() method for membership handler 2022-07-19 09:51:53 -05:00
Lance Edgar 5576664d1a We always want "unit name" for UOM choices 2022-07-18 22:50:16 -05:00
Lance Edgar da7eeb909e Update changelog 2022-07-18 22:30:01 -05:00
Lance Edgar f818af8e5f Stash data when generating report output 2022-07-18 22:27:31 -05:00
Lance Edgar 68a17f6d52 Only remove egg-info dir if it exists, when releasing 2022-07-18 12:39:46 -05:00
Lance Edgar 331a31b2b6 Update changelog 2022-07-18 12:38:19 -05:00
Lance Edgar 7c9153575a Properly encode output for str(Brand) 2022-07-18 12:21:56 -05:00
Lance Edgar b5688a09dd Add is_active_for_store() method to products handler
with some basic logic, which assumes a volatile cache table has
accurate data...
2022-07-08 14:02:17 -05:00
Lance Edgar 01b538ca90 Add basic pricing.calculate_markup() function 2022-07-08 12:48:39 -05:00
Lance Edgar a732a76c59 Add web app setting for default grid pagesize 2022-07-01 11:58:53 -05:00
Lance Edgar a45fe4b26f Update changelog 2022-06-24 14:19:26 -05:00
Lance Edgar 2e37e809b4 Add basic date parsing for ExcelReaderXLSX
at least *try* to parse, if given a string value
2022-06-24 14:18:01 -05:00
Lance Edgar f458072e24 Add basic autocompleter for subdepartments 2022-06-14 17:52:47 -05:00
Lance Edgar aca6ed6f97 Update changelog 2022-06-14 13:59:00 -05:00
Lance Edgar 72d1b070bd Add basic start date support for "future" pricing batch 2022-06-14 13:48:22 -05:00
Lance Edgar 03c3bdeda0 Use build module instead of invoking setup.py for release
cf. https://github.com/NeonGeckoCom/neon-messagebus-mq-connector/issues/16
2022-06-08 17:48:50 -05:00
Lance Edgar 79ac4cecb0 Update changelog 2022-06-02 17:05:53 -05:00
Lance Edgar 4617bea9bd Update changelog 2022-06-02 16:48:58 -05:00
Lance Edgar b4fd338c93 Stop using deprecated kwargs for product lookup 2022-06-02 16:47:59 -05:00
Lance Edgar 7372a9b7ff Allow suppression of warnings when removing duplicate key values
i.e. an importer can invoke this method with `warn=False` (within the
`normalize_host_data()` method) to remove duplicates ahead of time;
whereas normal importer logic will still remove duplicates but would
include the warnings
2022-05-24 18:39:22 -05:00
Lance Edgar 821624fb01 Update changelog 2022-05-15 16:46:42 -05:00
Lance Edgar eb34f065a4 Add render_vendor() method for VendorHandler 2022-05-15 16:43:51 -05:00
Lance Edgar 2bbf2a0eb5 Update changelog 2022-05-14 17:19:19 -05:00
Lance Edgar 0bd21dcf28 Tweaks for rattail -> rattail datasync
should fix a couple of issues..
2022-05-14 17:09:06 -05:00
Lance Edgar 18bd027231 Update changelog 2022-05-03 13:43:13 -05:00
Lance Edgar dc785bffed Tweak some string encoding for python2 2022-05-03 13:35:38 -05:00
Lance Edgar 3ebb4e5bff Update changelog 2022-04-13 20:17:55 -05:00
Lance Edgar e3da27eff3 Tweak how output is decoded, for run-n-mail command
hopefully this is better..still not quite sure if/how to know what the
actual encoding in use would be.  this now will assume 'utf_8' i
believe, hopefully that is a sane assumption
2022-04-13 15:16:30 -05:00
Lance Edgar 197fba0a35 Tweak some things for customer importer esp. for group_ids field
when an unknown group is encountered, let config decide how to handle
2022-04-10 17:18:00 -05:00
Lance Edgar 7faf40cd3d Fix docstring typo 2022-04-06 18:59:52 -05:00
Lance Edgar 96767fa3ea Update changelog 2022-04-06 16:23:43 -05:00
Lance Edgar 263dafef0c Add more error handling to datasync; more docs
still trying to isolate a particular problem for one install, to
determine how it can be worked around...
2022-04-06 16:22:21 -05:00
Lance Edgar c0852fae61 Add rattail mysql-chars command to view/fix charset, collation
at least that's the goal, so far it won't actually try to fix, but can
emit SQL for manual fix
2022-04-04 21:02:46 -05:00
Lance Edgar 85b067e2f5 Update changelog 2022-04-04 13:55:57 -05:00
Lance Edgar 9c47822eaf Add transaction logic for rattail->rattail datasync
per newer conventions
2022-04-04 13:07:23 -05:00
Lance Edgar 24a0587eab Tweak logging when datasync watcher fails 2022-04-03 13:34:37 -05:00
Lance Edgar 50db7437f5 Let cases and/or units be (dis)allowed for new custorder
at least this sets the stage, probably more tweaks needed to fully
support the idea
2022-03-29 18:17:42 -05:00
Lance Edgar 358f571f48 Update changelog 2022-03-29 11:48:49 -05:00
Lance Edgar 122bb5841f Allow errors to raise when fetching poser reports 2022-03-29 11:38:33 -05:00
Lance Edgar 54fd9549b7 Update changelog 2022-03-26 13:34:59 -05:00
Lance Edgar eb5071c457 Try harder to cleanup when datasync error happens
specifically when a connection goes bad, there seems to be some issue
with logging and garbage collection maybe?  hoping this change fixes
our cleanup such that gc need not cause issues..

cf. https://github.com/sqlalchemy/sqlalchemy/issues/5522
2022-03-26 13:34:09 -05:00
Lance Edgar a5dee29d79 Update changelog 2022-03-24 16:06:09 -05:00
Lance Edgar 68a38d4284 Refactor session usage for datasync consumers
to prevent a "long-lived" session, which can cause problems when
invalidated and trigger "finalize fairy" type emails.  at least i
think that's what's happening, and hoping this fixes...
2022-03-24 16:04:50 -05:00
Lance Edgar 4673150122 Update changelog 2022-03-22 15:20:21 -05:00
Lance Edgar 92858e412d Define some "pre-process" logic for datasync consumers
easy enough to override, but this seems like a suitable default
2022-03-22 15:19:29 -05:00
Lance Edgar 7ae0a0417f Update changelog 2022-03-21 17:32:17 -05:00
Lance Edgar a25097a475 Define email settings for run_n_mail 2022-03-21 17:31:36 -05:00
Lance Edgar 24c56e5276 Update changelog 2022-03-17 17:34:19 -05:00
Lance Edgar f6034c2c05 Add custorder xref markers for trainwreck; import logic 2022-03-17 16:58:57 -05:00
Lance Edgar 534d052230 Fix typo 2022-03-11 20:06:44 -06:00