Changeset - 05ac42d97863
[Not reviewed]
v0.9.345
0 2 0
Lance Edgar (lance) - 21 months ago 2023-01-18 18:57:32
lance@edbob.org
Update changelog
2 files changed with 11 insertions and 1 deletions:
0 comments (0 inline, 0 general)
CHANGES.rst
Show inline comments
 

	
 
CHANGELOG
 
=========
 

	
 
0.9.345 (2023-01-18)
 
--------------------
 

	
 
* Include menu views for new projects.
 

	
 
* Tweak new table template, add FK/relationship support.
 

	
 
* Move common logic for ``poser install`` commands into rattail.
 

	
 

	
 
0.9.344 (2023-01-16)
 
--------------------
 

	
 
* Add ``get_tailbone_handler()`` method for app handler.
 

	
 
* Remove some cruft from new project template.
 

	
 
* Add DB handler methods to generate and run alembic scripts.
 

	
 
* Add basic template for new model view class; related logic.
 

	
 

	
 
0.9.343 (2023-01-14)
 
--------------------
 

	
 
* Overhaul logic for launching backfill task.
 

	
 

	
 
0.9.342 (2023-01-13)
 
--------------------
 

	
 
* Be a little smarter when parsing invoice for receiving.
 

	
 
* Use upstream admin menu for new projects.
 

	
 
* Add "new" logic for writing table model class to file.
 

	
 
* Handle lists and datetimes in ``app.json_friendly()``.
 

	
 

	
 
0.9.341 (2023-01-11)
 
--------------------
 

	
 
* Add basic logic for receiving from multiple invoice files.
 

	
 
* Add support for per-item default discounts, for new custorder.
 

	
 

	
 
0.9.340 (2023-01-08)
 
--------------------
 

	
 
* Tweak default beaker key for new projects.
 

	
 
* Prevent invalid chars in Excel sheet title.
 

	
 

	
 
0.9.339 (2023-01-07)
 
--------------------
 

	
 
* Tweaks for import/export batch.
 

	
 
* Add "units only" setting for products.
 

	
 

	
 
0.9.338 (2023-01-05)
 
--------------------
 

	
 
* Let report types declare a help URL.
 

	
 
* Let reports w/ Excel output write more than one data sheet.
 

	
 
* Optionally include all costs, when normalizing product data.
 

	
 
* Fix relative import bug on python2.
 

	
 

	
 
0.9.337 (2023-01-04)
 
--------------------
 

	
 
* Fix typo in app handler.
 

	
 

	
 
0.9.336 (2023-01-03)
 
--------------------
 

	
 
* Avoid ``print`` keyword for python2, in command ``rprint`` method.
 

	
 

	
 
0.9.335 (2023-01-02)
 
--------------------
 

	
 
* Add ``rattail make-project`` command, for simpler quickstart.
 

	
 
* Optionally force email address to lower-case.
 

	
 
* Auto-clear invalid flag when email address is changed.
 

	
 
* Add problem report for missing Trainwreck DB.
 

	
 
* Add problem report for Trainwreck current DB pruning.
 

	
 

	
 
0.9.334 (2022-12-28)
 
--------------------
 

	
 
* Update help text for Buefy version setting.
 

	
 
* Require caller to import tasks directly from ``rattail.luigi.tasks``.
 

	
 
* Be a bit smarter about making url for upgrade emails.
 

	
 
* Make static files optional, for new tailbone-integration project.
 

	
 
* Add initial logic for ``rattail cleanup`` command.
 

	
 
* Add basic models for tailbone page/fields help.
 

	
 
* Let handler strip batch execution kwargs which aren't JSON-safe.
 

	
 
* Avoid writing CSV file export when in dry-run mode.
 

	
 

	
 
0.9.333 (2022-12-22)
 
--------------------
 

	
 
* Use decimal instead of int, for storing case size.
 

	
 

	
 
0.9.332 (2022-12-21)
 
--------------------
 

	
 
* Recommend 0.8.17 for Buefy version (per Tailbone).
 

	
 
* Add ``terms`` column for Vendor table.
 

	
 

	
 
0.9.331 (2022-12-15)
 
--------------------
 

	
 
* Add ``normalize_host_object_all()`` method to importer.
 

	
 
* Add ``get_filepath()`` method for batch handlers.
 

	
 

	
 
0.9.330 (2022-12-10)
 
--------------------
 

	
 
* Write simple error to stdout, when batch command fails.
 

	
 
* Misc. tweaks for new integration project templates.
 

	
 
* Provide default factory for ``app.short_session()``.
 

	
 

	
 
0.9.329 (2022-12-06)
 
--------------------
 

	
 
* Add ``get_email_address()`` method for AuthHandler.
 

	
 
* Add way to preserve exit code when executing upgrade.
 

	
 
* Avoid "cost confirmed" data when cloning purchase batch.
 

	
 
* Add flag for receiving batch, if editing catalog cost is allowed.
 

	
 
* Add receiving workflow as param, when making receiving batch.
 

	
 
* Add flag for editing invoice cost, in receiving batch.
 

	
 
* Fallback to product master for case size, in vendor invoice batch.
 

	
 

	
 
0.9.328 (2022-12-02)
 
--------------------
 

	
 
* Add ``populate_from_query()`` method for pricing batch handler.
 

	
 
* Fix the % price diff status logic for pricing batch.
 

	
 

	
 
0.9.327 (2022-12-01)
 
--------------------
 

	
 
* Use ``--glob-archives`` instead of ``--prefix`` for ``borg prune``.
 

	
 
* Add option to launch overnight task with ``silent.conf``.
 

	
 

	
 
0.9.326 (2022-11-28)
 
--------------------
 

	
 
* Normalize percentage values in vendor catalog batch.
 

	
 
* Fix logic for rendering percentage value, when null.
 

	
 

	
 
0.9.325 (2022-11-28)
 
--------------------
 

	
 
* Auto-record last run date when overnight task completes okay.
 

	
 
* Keep current rattail config, when launching overnight task.
 

	
 
* Fix how failed command output is shown for luigi.
 

	
 
* Remove the 'backup' extra from ``setup.py``.
 

	
 

	
 
0.9.324 (2022-11-21)
 
--------------------
 

	
 
* Add way to purge overnight luigi settings.
 

	
 

	
 
0.9.323 (2022-11-21)
 
--------------------
 

	
 
* Fix the ``shlex_join()`` workaround for python2.
 

	
 
* Wrap script with run-n-mail too, for overnight luigi tasks.
 

	
 

	
 
0.9.322 (2022-11-20)
 
--------------------
 

	
 
* Tweak fallback for backfill task settings.
 

	
 
* Add luigi module/class awareness to overnight task launcher.
 

	
 

	
 
0.9.321 (2022-11-20)
 
--------------------
 

	
 
* Add ``enabled`` and per-day scheduling flags for problem reports.
 

	
 
* Fix how keys are stored for luigi overnight/backfill tasks.
 

	
 
* Add basic ``rattail overnight`` command, for running luigi tasks.
 

	
 

	
 
0.9.320 (2022-11-17)
 
--------------------
 

	
 
* Allow misc. date formats for certain versions of KeHE invoices.
 

	
 
* Ignore bad date parsing for vendor invoice batch.
 

	
 

	
 
0.9.319 (2022-11-15)
 
--------------------
 

	
 
* Add merge logic for users, to AuthHandler.
 

	
 

	
 
0.9.318 (2022-11-03)
 
--------------------
 

	
 
* Add handler methods to add/update address for person.
 

	
 
* Assume XLSX for pricing batch upload.
 

	
 
* Update logic for calculating markup from margin.
 

	
 
* Convert all percentage values to assume 0 - 100 range.
 

	
 
* Make some behavior optional, for writing Excel reports.
 

	
 
* Add workaround for ``shlex.join()`` prior to python 3.8.
 

	
 
* Fix config prefix for Luigi service info.
 

	
 
* Include ``make_filename()`` method for new poser report.
 

	
 

	
 
0.9.317 (2022-09-09)
 
--------------------
 

	
 
* Add basic per-item discount support for custorders.
 

	
 
* Make past item lookup optional for custorders.
 

	
 
* Add ``get_unconfirmed_counts()`` method for receiving batch handler.
 

	
 

	
 
0.9.316 (2022-09-06)
 
--------------------
 

	
 
* Add ``WorkOrder.estimated_total`` to schema.
 

	
 
* Add generic-ish ``rattail.db.util.get_fieldnames()`` function.
 

	
 

	
 
0.9.315 (2022-08-30)
 
--------------------
 

	
 
* Fix how newline chars are handled for UNFI invoice parser.
 

	
 
* Add more attrs for new product batch row.
 

	
 
* Consider 'Y' (or 'y') as true when parsing bool value.
 

	
 

	
 
0.9.314 (2022-08-30)
 
--------------------
 

	
 
* Fix import in backfill runner script.
 

	
 
* Add ``pricing.calculate_variance()`` function.
 

	
 
* Add ``pricing.calculate_price_from_margin()`` function.
 

	
 
* Do not deprecate ``BatchHandler.locate_product_for_entry()``.
 

	
 
* Add unit_size, uom, cleanup refresh logic for newproduct batch.
 

	
 

	
 
0.9.313 (2022-08-24)
 
--------------------
 

	
 
* Fix how we parse collectd interval.
 

	
 
* Add basic support for backfill Luigi tasks.
 

	
 

	
 
0.9.312 (2022-08-21)
 
--------------------
 

	
 
* Allow an "upgrade" to target "any" system.
 

	
 
* Allow config to force hostname for use with collectd output.
 

	
 
* Let datasync watcher kwargs be configured via DB settings table.
 

	
 
* Add "admin-ish" flag for roles.
 

	
 
* Add collectd helper methods to AppHandler.
 

	
 

	
 
0.9.311 (2022-08-18)
 
--------------------
 

	
 
* Add basic Luigi handler logic.
 

	
 
* Add logic to auto-correct unit vs. case when receiving from invoice.
 

	
 

	
 
0.9.310 (2022-08-17)
 
--------------------
 

	
 
* Detect when output path is a folder, for ``rattail make-config``.
 

	
 
* Add datasync handler class; let it talk to supervisor.
 

	
 
* Add setting etc. for user feedback to request reply email.
 

	
 

	
 
0.9.309 (2022-08-14)
 
--------------------
 

	
 
* Fix regression bug.
 

	
 

	
 
0.9.308 (2022-08-14)
 
--------------------
 

	
 
* Add ``process_changes_proper()`` method for datasync consumers.
 

	
 
* Remove unique constraint for ``Brand.name``.
 

	
 
* Refactor usage of ``get_vendor()`` lookup.
 

	
 

	
 
0.9.307 (2022-08-12)
 
--------------------
 

	
 
* Add the ``MergeMixin`` class, for common logic among feature handlers.
 

	
 
* Allow for case where none of importer's fields are "simple".
 

	
 

	
 
0.9.306 (2022-08-10)
 
--------------------
 

	
 
* Add ``choice_uses_dropdown()`` method for customer handler.
 

	
 
* Raise error if ``invoice2data`` is not able to find matching template.
 

	
 
* Try to detect tab- vs. comma-delimited CSV for handheld batch.
 

	
 
* Add basic model, handler for work orders.
 

	
 

	
 
0.9.305 (2022-08-08)
 
--------------------
 

	
 
* Fix how "available" email profiles are got.
 

	
 

	
 
0.9.304 (2022-08-08)
 
--------------------
 

	
 
* Add ``get_single_host_object()`` to importer base class.
 

	
 
* Add ``force_create`` param for ``AppHandler.save_setting()``.
 

	
 
* Make sure cache is invalidated when purging datasync settings.
 

	
 
* Invalidate beaker config cache when setting is deleted.
 

	
 
* Add support for alerting when sending an email fails.
 

	
 

	
 
0.9.303 (2022-08-07)
 
--------------------
 

	
 
* Replace deprecated method call.
 

	
 
* Lower log level when mailmon fails to check for / process messages.
 

	
 

	
 
0.9.302 (2022-08-07)
 
--------------------
 

	
 
* Try to use app-specific namespace for beaker config caching.
 

	
 
* Honor the configured email collection module(s), even w/ entry points.
 

	
 

	
 
0.9.301 (2022-08-06)
 
--------------------
 

	
 
* Add entry points support for locating email profiles.
 

	
 
* Add support for memcached as beaker config cache backend.
 

	
 

	
 
0.9.300 (2022-08-05)
 
--------------------
 

	
 
* Add basic ``rattail postfix-summary`` command.
 

	
 

	
 
0.9.299 (2022-08-05)
 
--------------------
 

	
 
* Add debug logging of DB pool status, when creating Session.
 

	
 
* Be sure to close connections for rattail -> rattail datasync.
 

	
 

	
 
0.9.298 (2022-08-05)
 
--------------------
 

	
 
* Fix recipients for sending email.
 

	
 

	
 
0.9.297 (2022-08-04)
 
--------------------
 

	
 
* Use app node title as default email subject prefix.
 

	
 

	
 
0.9.296 (2022-08-03)
 
--------------------
 

	
 
* Add "touch" logic for employee handler.
 

	
 
* Deprecate the old ``rattail.db.api.settings`` module.
 

	
 
* Add initial support for Beaker caching of config values from DB.
 

	
 

	
 
0.9.295 (2022-08-02)
 
--------------------
 

	
 
* Use single comma-delimited To: header for multiple email recipients.
 

	
 

	
 
0.9.294 (2022-07-29)
 
--------------------
 

	
 
* Avoid more sessions in datasync, when fetching config from DB.
 

	
 

	
 
0.9.293 (2022-07-27)
 
--------------------
 

	
 
* Avoid extra sessions in datasync, when fetching config from DB.
 

	
 
* Add ``--list-types`` arg for ``make-config`` cmd.
 

	
 
* Add basic python3 support for ``rattail import-sample`` cmd.
 

	
 

	
 
0.9.292 (2022-07-25)
 
--------------------
 

	
 
* Add ``primary`` flag for ``ContactMixin.add_email()`` and ``add_phone()``.
 

	
 
* Maybe omit rows w/ no qty when making purchase from ordering batch.
 

	
 
* Improve how receiving batch is created from purchase.
 

	
 
* Add ``AppHandler.today()`` method.
 

	
 
* Add ``can_auto_receive()`` method for purchase batch handler.
 

	
 
* Update invoice parser for KeHE, per new format.
 

	
 

	
 
0.9.291 (2022-07-22)
 
--------------------
 

	
 
* Reverse default flags for auto-creating brand in product importers.
 

	
 

	
 
0.9.290 (2022-07-22)
 
--------------------
 

	
 
* Add ``upc_check_digits_needed()`` method for products handler.
 

	
 
* Make caching products optional, when creating vendor catalog batch.
 

	
 
* Add flags for auto-creating brand in product importers.
 

	
 

	
 
0.9.289 (2022-07-19)
 
--------------------
 

	
 
* We always want "unit name" for UOM choices.
 

	
 
* Add ``get_last_patronage_date()`` method for membership handler.
 

	
 
* Add retry loop for starting transaction in datasync consumer.
 

	
 

	
 
0.9.288 (2022-07-18)
 
--------------------
 

	
 
* Stash data when generating report output.
 

	
 

	
 
0.9.287 (2022-07-18)
 
--------------------
 

	
 
* Add web app setting for default grid pagesize.
 

	
 
* Add basic ``pricing.calculate_markup()`` function.
 

	
 
* Add ``is_active_for_store()`` method to products handler.
 

	
 
* Properly encode output for ``str(Brand)``.
 

	
 

	
 
0.9.286 (2022-06-24)
 
--------------------
 

	
 
* Add basic autocompleter for subdepartments.
 

	
 
* Add basic date parsing for ExcelReaderXLSX.
 

	
 

	
 
0.9.285 (2022-06-14)
 
--------------------
 

	
 
* Add basic start date support for "future" pricing batch.
 

	
 

	
 
0.9.284 (2022-06-02)
 
--------------------
 

	
 
* Bump version to avoid last upload (?).
 

	
 

	
 
0.9.283 (2022-06-02)
 
--------------------
 

	
 
* Allow suppression of warnings when removing duplicate key values.
 

	
 
* Stop using deprecated kwargs for product lookup.
 

	
 

	
 
0.9.282 (2022-05-15)
 
--------------------
 

	
 
* Add ``render_vendor()`` method for VendorHandler.
 

	
 

	
 
0.9.281 (2022-05-14)
 
--------------------
 

	
 
* Tweaks for rattail -> rattail datasync.
 

	
 

	
 
0.9.280 (2022-05-03)
 
--------------------
 

	
 
* Tweak some string encoding for python2.
 

	
 

	
 
0.9.279 (2022-04-13)
 
--------------------
 

	
 
* Tweak some things for customer importer esp. for ``group_ids`` field.
 

	
 
* Tweak how output is decoded, for ``run-n-mail`` command.
 

	
 

	
 
0.9.278 (2022-04-06)
 
--------------------
 

	
 
* Add ``rattail mysql-chars`` command to view/fix charset, collation.
 

	
 
* Add more error handling to datasync; more docs.
 

	
 

	
 
0.9.277 (2022-04-04)
 
--------------------
 

	
 
* Let cases and/or units be (dis)allowed for new custorder.
 

	
 
* Tweak logging when datasync watcher fails.
 

	
 
* Add transaction logic for rattail->rattail datasync.
 

	
 

	
 
0.9.276 (2022-03-29)
 
--------------------
 

	
 
* Allow errors to raise when fetching poser reports.
 

	
 

	
 
0.9.275 (2022-03-26)
 
--------------------
 

	
 
* Try harder to cleanup when datasync error happens.
 

	
 

	
 
0.9.274 (2022-03-24)
 
--------------------
 

	
 
* Refactor session usage for datasync consumers.
 

	
 

	
 
0.9.273 (2022-03-22)
 
--------------------
 

	
 
* Define some "pre-process" logic for datasync consumers.
 

	
 

	
 
0.9.272 (2022-03-21)
 
--------------------
 

	
 
* Define email settings for ``run_n_mail``.
 

	
 

	
 
0.9.271 (2022-03-17)
 
--------------------
 

	
 
* Add custorder xref markers for trainwreck; import logic.
 

	
 

	
 
0.9.270 (2022-03-10)
 
--------------------
 

	
 
* Add basic UNFI catalog parser for tab-separated format.
 

	
 
* Render empty string if no price given.
 

	
 
* Assign report output id explicitly, via counter value.
 

	
 

	
 
0.9.269 (2022-03-09)
 
--------------------
 

	
 
* Fallback to showing employee name field when person missing/empty.
 

	
 
* Record execution kwargs as special params, when executing batch.
 

	
 
* Can't return poser reports if can't import ``poser.reports`` module.
 

	
 

	
 
0.9.268 (2022-03-08)
 
--------------------
 

	
 
* Allow "default" batch handlers to be registered in config.
 

	
 

	
 
0.9.267 (2022-03-07)
 
--------------------
 

	
 
* Add upload "temp dir" setting for pyramid in "complete" ``web.conf``.
 

	
 

	
 
0.9.266 (2022-03-05)
 
--------------------
 

	
 
* Add commands, ``setting-get`` and ``setting-put``.
 

	
 
* Assume remote borg command is just ``borg`` by default.
 

	
 
* Enable email by default in "complete" rattail config template.
 

	
 
* Record app package name in complete config file template.
 

	
 
* Add initial/stub support for managing poser views.
 

	
 
* Add ``AppHandler.render_mako_template()`` convenience method.
 

	
 

	
 
0.9.265 (2022-03-02)
 
--------------------
 

	
 
* Add basic Poser support for custom reports.
 

	
 

	
 
0.9.264 (2022-03-01)
 
--------------------
 

	
 
* Define appdir in complete config template.
 

	
 
* Add very basic / beginnings of Poser Handler.
 

	
 
* Add "vendor not shipped" status for receiving batch.
 

	
 

	
 
0.9.263 (2022-02-26)
 
--------------------
 

	
 
* Some tweaks for importing data from Excel (xlsx) files.
 

	
 
* Add ``config.parse_list()`` method.
 

	
 
* Auto filter by date, for ``trainwreck import-self``.
 

	
 
* Add problem report for "mailmon misses".
 

	
 

	
 
0.9.262 (2022-02-25)
 
--------------------
 

	
 
* Add ``make_appdir()`` and ``make_config_file()`` to AppHandler.
 

	
 
* Add "complete" mako templates for rattail, web config.
 

	
 
* Fetch discounts along with line items for ``trainwreck import-self``.
 

	
 
* Add "discount type" for Trainwreck line item discounts.
 

	
 

	
 
0.9.261 (2022-02-20)
 
--------------------
 

	
 
* Add patronage to trainwreck schema; skeleton for ``import-self`` cmd.
 

	
 
* Add per-item discounts to trainwreck; importing support.
 

	
 
* Add ``AppHandler.render_percent()`` convenience method.
 

	
 

	
 
0.9.260 (2022-02-15)
 
--------------------
 

	
 
* Add AppHandler methods to get/save/delete settings.
 

	
 
* Add "fuzzy fields" support for int/float/decimal.
 

	
 
* Render empty string if currency value is ``None``.
 

	
 

	
 
0.9.259 (2022-02-13)
 
--------------------
 

	
 
* Add "fuzzy fields" concept for importers.
 

	
 
* Make ``locate_product_for_vendor_code()`` prefer unit items.
 

	
 
* Compare received vs. shipped to check row status.
 

	
 
* Add ``AppHandler.render_duration()`` convenience method.
 

	
 
* Stop using legacy syntax to define entry points.
 

	
 

	
 
0.9.258 (2022-02-10)
 
--------------------
 

	
 
* Always pass along associated products when printing label batch.
 

	
 
* Add generic ``get_next_counter_value()`` method for importers.
 

	
 

	
 
0.9.257 (2022-02-09)
 
--------------------
 

	
 
* Show email address for new custorder person autocomplete.
 

	
 

	
 
0.9.256 (2022-02-08)
 
--------------------
 

	
 
* Add common normalize logic to ``ProductsHandler``.
 

	
 

	
 
0.9.255 (2022-02-07)
 
--------------------
 

	
 
* Show pseudo-progress when saving Excel report.
 

	
 
* Lower log level when disconnecting IMAP for mailmon.
 

	
 

	
 
0.9.254 (2022-02-06)
 
--------------------
 

	
 
* Add ``match_on_time_field`` for Trainwreck importers.
 

	
 

	
 
0.9.253 (2022-02-05)
 
--------------------
 

	
 
* Add "all" product locate methods to products handler.
 

	
 
* Commit (or rollback) local transaction before host, when importing.
 

	
 

	
 
0.9.252 (2022-02-04)
 
--------------------
 

	
 
* Tweak vendor catalog batch input params; fix tests.
 

	
 
* Make sure default phone number is first, when importing.
 

	
 
* Add ``group_ids`` field for Customer model importer.
 

	
 

	
 
0.9.251 (2022-02-01)
 
--------------------
 

	
 
* Misc. flexibility improvements for vendor catalog batch.
 

	
 

	
 
0.9.250 (2022-02-01)
 
--------------------
 

	
 
* Allow rattail watcher to get deleted before new/dirty changes.
 

	
 

	
 
0.9.249 (2022-01-31)
 
--------------------
 

	
 
* Rename permission for generating new report.
 

	
 
* Add ``CSVReport`` base class.
 

	
 

	
 
0.9.248 (2022-01-31)
 
--------------------
 

	
 
* Stash docstring for ReportParam in its ``helptext`` attr.
 

	
 
* Add ``safe_filename()`` method for reports.
 

	
 

	
 
0.9.247 (2022-01-31)
 
--------------------
 

	
 
* Always establish start/end date+time range for all importers.
 

	
 
* Fix typo for printing batch of labels.
 

	
 
* Add project generators for rattail-integration, tailbone-integration.
 

	
 
* Add ``--list-all-models`` flag for all import/export commands.
 

	
 
* Avoid cache query when fetching single local object for importer.
 

	
 
* Only delete object if importer allows it, from datasync.
 

	
 
* Change default initial delay for luigi OvernightTask datasync wait.
 

	
 

	
 
0.9.246 (2022-01-26)
 
--------------------
 

	
 
* Fix label printing for 2-up style formatter.
 

	
 
* Allow report output fields to vary based on params.
 

	
 

	
 
0.9.245 (2022-01-18)
 
--------------------
 

	
 
* Be a little smarter about IMAP server disconnect.
 

	
 

	
 
0.9.244 (2022-01-15)
 
--------------------
 

	
 
* Add label handler; refactor label formatting logic.
 

	
 
* Refactor mailmon daemon to ensure only 1 thread per IMAP account.
 

	
 

	
 
0.9.243 (2022-01-13)
 
--------------------
 

	
 
* Add ``AppHandler.make_object()`` convenience method.
 

	
 

	
 
0.9.242 (2022-01-10)
 
--------------------
 

	
 
* Add problem report for stale inventory batches.
 

	
 
* Batch handlers declare versioning is okay for delete action.
 

	
 
* Add explicit Sale, TPR, Current price columns for label batch.
 

	
 
* Add some more logging for mailmon daemon.
 

	
 

	
 
0.9.241 (2022-01-08)
 
--------------------
 

	
 
* Misc. changes for vendor catalog batch and related features.
 

	
 
* Add vendor handler, to better organize catalog parser logic.
 

	
 
* Add ``AppHandler.next_counter_value()`` magic.
 

	
 
* Add nominal support for mysql db backend.
 

	
 
* Refactor some usage of ``cache_model()``.
 

	
 

	
 
0.9.240 (2022-01-06)
 
--------------------
 

	
 
* Remove deprecated use of ``rattail.batch.handlers.get_batch_handler()``.
 

	
 

	
 
0.9.239 (2022-01-03)
 
--------------------
 

	
 
* Fix a couple of dynamic class names, for python2.
 

	
 
* Let datasync consumers declare handler key instead of spec.
 

	
 
* Deprecate the name ``NewDataSyncConsumer`` and update docs.
 

	
 
* Remove usage of ``app.get_designated_import_handler()``.
 

	
 
* Add basic Trainwreck handler.
 

	
 

	
 
0.9.238 (2021-12-29)
 
--------------------
 

	
 
* Remove unused module ``rattail.db.diffs``.
 

	
 
* Move main product lookup logic to products handler.
 

	
 
* Add basic "resolve" support for person, product from new custorder.
 

	
 

	
 
0.9.237 (2021-12-23)
 
--------------------
 

	
 
* Add ``load_object()`` convenience method for AppHandler.
 

	
 
* Make ``config.getint()`` smarter about using default value.
 

	
 
* Add basic "pending product" support for new custorder batch.
 

	
 
* Store copy of msg file just for bouncer, when using.
 

	
 
* Refactor mailmon daemon structure to minimize IMAP connections.
 

	
 
* Add error delay for mailmon, continuum comment for bounce handling.
 

	
 
* Remove support for "daemonize" option in filemon, datasync etc..
 

	
 
* Remove deprecated "dbsync" logic.
 

	
 

	
 
0.9.236 (2021-12-20)
 
--------------------
 

	
 
* Add way to handle an email bounce via filemon.
 

	
 

	
 
0.9.235 (2021-12-20)
 
--------------------
 

	
 
* Set ``app`` attribute for problem report handler, pass to email context.
 

	
 

	
 
0.9.234 (2021-12-20)
 
--------------------
 

	
 
* Make ``app.get_all_import_handlers()`` a bit smarter.
 

	
 

	
 
0.9.233 (2021-12-17)
 
--------------------
 

	
 
* Assign enum and app attrs in datasync consumer constructor.
 

	
 
* Add setting for tailbone grid "sticky headers".
 

	
 
* Expose settings for tailbone vue.js and buefy versions.
 

	
 
* Add basic time-related methods to AppHandler.
 

	
 

	
 
0.9.232 (2021-12-14)
 
--------------------
 

	
 
* Let config know if/when versioning has been enabled.
 

	
 
* Add "missing" tallies for receiving, plus allow un-declare credit.
 

	
 
* Default to false for all config flags in purchase batch handler.
 

	
 
* Stop "requiring" config files by default, it was too problematic.
 

	
 

	
 
0.9.231 (2021-12-11)
 
--------------------
 

	
 
* Fix calculation of seconds since last run for datasync watcher.
 

	
 
* Allow running a problem report just to get results, but avoid email.
 

	
 
* Let progress be passed in late, when running problem report.
 

	
 

	
 
0.9.230 (2021-12-09)
 
--------------------
 

	
 
* Add some purchase order abstractions to purchase batch handler.
 

	
 
* Add default logic for purchase batch ``make_row_from_po_item()``.
 

	
 

	
 
0.9.229 (2021-12-08)
 
--------------------
 

	
 
* Add ``get_problem_report_handler()`` method to AppHandler.
 

	
 
* Use python's ``importlib`` instead of doing our own thing.
 

	
 
* Add ``pre_process_changes()`` and ``post_process_changes()`` for datasync.
 

	
 

	
 
0.9.228 (2021-12-07)
 
--------------------
 

	
 
* Set the ``model`` attr when making new ``AppHandler`` object.
 

	
 

	
 
0.9.227 (2021-12-07)
 
--------------------
 

	
 
* Add some methods/attrs to import handlers, for exposing in web app.
 

	
 
* Overhaul import handler config etc.:
 
  * add ``AppHandler.get_designated_import_handlers()`` and friends
 
  * exit w/ code 1 when command line makes no sense and must print help
 
  * register all core import/export handlers via setup.py and config
 
  * use "handler key" lookup for all core import/export commands
 
  * stop displaying model list in help for import/export command
 
  * migrate datasync "change" permissions, per tailbone changes
 
  * log warning w/ traceback if loading entry point fails
 

	
 
* Mark only certain handlers as being safe for web app.
 

	
 
* Add ``get_active_stores()`` method for app handler.
 

	
 
* Make config object required, for Report constructor.
 

	
 

	
 
0.9.226 (2021-12-03)
 
--------------------
 

	
 
* Make stale timeout configurable, change default for datasync/collectd.
 

	
 
* Use common logic for basic product refresh in label batch.
 

	
 

	
 
0.9.225 (2021-11-29)
 
--------------------
 

	
 
* Allow loading "disabled" datasync profiles, if caller specifies.
 

	
 
* Add ``rattail datasync remove-settings`` command.
 

	
 
* Always "require" config files when making config object.
 

	
 

	
 
0.9.224 (2021-11-28)
 
--------------------
 

	
 
* Add setting for receiving from PO w/ invoice.
 

	
 
* Add some sale pricing logic for custorder batch.
 

	
 
* Include current time in datasync/collectd output.
 

	
 

	
 
0.9.223 (2021-11-27)
 
--------------------
 

	
 
* Only specify interval if we receive one from collectd.
 

	
 
* Add basic stale queue detection for datasync/collectd.
 

	
 

	
 
0.9.222 (2021-11-27)
 
--------------------
 

	
 
* Add workarounds if collectd does not pass env variables (?).
 

	
 

	
 
0.9.221 (2021-11-27)
 
--------------------
 

	
 
* Postpone import in case no sqlalchemy.
 

	
 
* Move datasync command logic to its own module.
 

	
 
* Add ``rattail datasync collectd`` sub-sub-command.
 

	
 

	
 
0.9.220 (2021-11-26)
 
--------------------
 

	
 
* Add way to "require" included config files.
 

	
 
* Only coerce logging timestamps if we have a timezone set.
 

	
 
* Set ``Subcommand.app`` within constructor, for convenience.
 

	
 

	
 
0.9.219 (2021-11-25)
 
--------------------
 

	
 
* Add basic support for receiving from PO with invoice.
 

	
 

	
 
0.9.218 (2021-11-14)
 
--------------------
 

	
 
* Add ``Role.sync_users`` flag and make importer logic honor it.
 

	
 

	
 
0.9.217 (2021-11-11)
 
--------------------
 

	
 
* Add no-op ``parse_date()`` method for ``ExcelReaderXLSX`` class.
 

	
 

	
 
0.9.216 (2021-11-11)
 
--------------------
 

	
 
* Add basic model, status enum for PendingProduct.
 

	
 

	
 
0.9.215 (2021-11-08)
 
--------------------
 

	
 
* Only show POD image if so configured; use "image not found" fallback.
 

	
 
* Add some "case price" logic for custorder batch.
 

	
 
* Add ``get_past_products()`` method for custorder batch handler.
 

	
 
* Add support for finding past items, for new custorder.
 

	
 
* Add basic support for ``invoice2data`` for InvoiceParser.
 

	
 
* Let purchase batch handler declare supported invoice parsers.
 

	
 
* Add simple ``ExcelInvoicParser`` class.
 

	
 

	
 
0.9.214 (2021-11-05)
 
--------------------
 

	
 
* Add ``progress_loop()`` method for app and generic handlers.
 

	
 
* Add "generic" vendor catalog parser.
 

	
 

	
 
0.9.213 (2021-11-04)
 
--------------------
 

	
 
* Add some product info fetchers to custorder batch handler.
 

	
 
* Add setting for "product price may be questionable" for custorders.
 

	
 

	
 
0.9.212 (2021-11-02)
 
--------------------
 

	
 
* Add "did not receive" status for purchase batch rows.
 

	
 
* Add "cannot calculate price" row status for new product batch.
 

	
 

	
 
0.9.211 (2021-10-22)
 
--------------------
 

	
 
* Assign ``app`` and ``model`` attributes when ProblemReport instantiates.
 

	
 

	
 
0.9.210 (2021-10-21)
 
--------------------
 

	
 
* Record 'lastrun' time when mailmon watcher succeeds.
 

	
 

	
 
0.9.209 (2021-10-20)
 
--------------------
 

	
 
* Improve default autocomplete for products.
 

	
 
* Add ``why_not_add_product()`` for custorder batch handler.
 

	
 
* Limit autocomplete results for customer/phone lookup in new custorder.
 

	
 
* Consolidate "new custorder" autocomplete logic for people, customers.
 

	
 
* Restore "pending" customer when unassigning batch contact.
 

	
 
* Add ``add_product()`` method for custorder batch handler.
 

	
 
* Calculate invoice totals when overlaying onto PO for purchase batch.
 

	
 
* Allow for alternate encoding in CSV importers.
 

	
 
* Add basic "price needs confirmation" support for custorder.
 

	
 
* Make ``product`` the first kwarg to ``get_image_url()``.
 

	
 
* Add new 'products.neworder' autocompleter; refactor a bit.
 

	
 

	
 
0.9.208 (2021-10-14)
 
--------------------
 

	
 
* Fix merge logic when employee needs to be transferred to new person.
 

	
 

	
 
0.9.207 (2021-10-14)
 
--------------------
 

	
 
* Invoke auth handler when deleting a user via importer.
 

	
 

	
 
0.9.206 (2021-10-14)
 
--------------------
 

	
 
* Add support for syncing roles, with users and permissions for each.
 

	
 

	
 
0.9.205 (2021-10-13)
 
--------------------
 

	
 
* Try to guess unit or case cost from invoice, if only one is specified.
 

	
 
* Add basic auth handler concept.
 

	
 

	
 
0.9.204 (2021-10-11)
 
--------------------
 

	
 
* Increase precision for cost fields in purchase, batch.
 

	
 

	
 
0.9.203 (2021-10-07)
 
--------------------
 

	
 
* Add ``PendingCustomer`` model, for sake of new custorder workflow.
 

	
 
* Add ``contact_name`` for custorder and batch.
 

	
 
* Add ``update_pending_customer()`` for custorder batch handler.
 

	
 
* Let ``InventoryBatchRow.case_cost`` equal zero.
 

	
 

	
 
0.9.202 (2021-10-06)
 
--------------------
 

	
 
* Add costing batch logic to overlay invoice onto PO data.
 

	
 
* Always add new/dirty first, deleted last, for RattailWatcher.
 

	
 
* Fix bug in products autocomplete.
 

	
 
* Add custorder batch settings to control contact info choice/editing.
 

	
 
* Add "contact update request" workflow for new custorders.
 

	
 

	
 
0.9.201 (2021-10-05)
 
--------------------
 

	
 
* Add ``get_contact_notes()`` method for custorder batch handler.
 

	
 
* Add ``get_contact_phones()`` method for custorder batch handler.
 

	
 
* Add PeopleHandler methods for add/update of phone, email.
 

	
 
* Improve ``get_context_employee()`` for EmploymentHandler.
 

	
 

	
 
0.9.200 (2021-10-03)
 
--------------------
 

	
 
* Remove some assertions which aren't always true...
 

	
 
* Tweak how we call the change recorder.
 

	
 

	
 
0.9.199 (2021-10-03)
 
--------------------
 

	
 
* Add initial version of the "mailmon" daemon.
 

	
 

	
 
0.9.198 (2021-10-01)
 
--------------------
 

	
 
* Add support for Autocomplete Handlers.
 

	
 
* Add config object to ``ChangeRecorder`` class.
 

	
 
* Add simple error logging when bouncer fails to login to server.
 

	
 

	
 
0.9.197 (2021-09-30)
 
--------------------
 

	
 
* Add basic workflow support for invoice costing (purchase) batches.
 

	
 
* Try to parse invoice number from invoice file.
 

	
 

	
 
0.9.196 (2021-09-28)
 
--------------------
 

	
 
* Add ``format_phone_number()`` method to app handler.
 

	
 
* Make ``get_first_email()`` type methods skip invalid addresses.
 

	
 

	
 
0.9.195 (2021-09-27)
 
--------------------
 

	
 
* Add "all" enum values for custorder item status, event.
 

	
 
* Declare model for CustomerOrderItemNote.
 

	
 

	
 
0.9.194 (2021-09-27)
 
--------------------
 

	
 
* Fix bugs in new clientele methods.
 

	
 

	
 
0.9.193 (2021-09-27)
 
--------------------
 

	
 
* Make custorder batch handler responsible for (un)assigning contact.
 

	
 
* Add ``cache_model()`` method to app handler.
 

	
 

	
 
0.9.192 (2021-09-26)
 
--------------------
 

	
 
* Add ``render_quantity()`` method to app handler.
 

	
 
* Always assign ``app`` attribute when instantiating batch handler.
 

	
 
* Assign store, fix sequence when making a new custorder/batch.
 

	
 

	
 
0.9.191 (2021-09-25)
 
--------------------
 

	
 
* Add "custom" customer autocomplete for new custorder handler.
 

	
 
* Add ``render_price()`` method for products handler.
 

	
 

	
 
0.9.190 (2021-09-21)
 
--------------------
 

	
 
* Flush after deleting batch rows.
 

	
 
* Some tweaks for customer orders.
 

	
 

	
 
0.9.189 (2021-09-16)
 
--------------------
 

	
 
* Add "request merge" logic to people handler; send email alert.
 

	
 

	
 
0.9.188 (2021-09-15)
 
--------------------
 

	
 
* Version bump per botched PyPI upload.
 

	
 

	
 
0.9.187 (2021-09-15)
 
--------------------
 

	
 
* Add ``AppHandler.normalize_phone_number()`` method.
 

	
 
* Cache the configured model when making a datasync watcher.
 

	
 

	
 
0.9.186 (2021-09-12)
 
--------------------
 

	
 
* Add way to customize product autocomplete for new custorder.
 

	
 
* Let "has activity" win over "has inventory" for delproduct row status.
 

	
 

	
 
0.9.185 (2021-09-09)
 
--------------------
 

	
 
* Add basic membership handler structure; tweak people, clientele.
 

	
 
* Allow specifying alternate name for association proxy.
 

	
 
* Raise specific error if batch is already executed.
 

	
 
* Make model importer "extensions" more..extensible.
 

	
 

	
 
0.9.184 (2021-09-01)
 
--------------------
 

	
 
* Tweak some customization hooks for custorder batch handler.
 

	
 

	
 
0.9.183 (2021-08-26)
 
--------------------
 

	
 
* Add ``app.get_email_handler()`` method.
 

	
 
* Add more helpful error, if trainwreck import is missing transaction.
 

	
 
* Add merge-related methods to ``PeopleHandler``, plus some docs.
 

	
 
* Add model for ``MergePeopleRequest`` to track people in need of merge.
 

	
 

	
 
0.9.182 (2021-08-04)
 
--------------------
 

	
 
* Ignore ProductPriceAssociation changes for legacy Rattail datasync consumer.
 

	
 
* Fix datasync bug for Rattail -> Rattail "import".
 

	
 

	
 
0.9.181 (2021-08-01)
 
--------------------
 

	
 
* Refactor how we handle product "price xref" fields via datasync.
 

	
 

	
 
0.9.180 (2021-07-27)
 
--------------------
 

	
 
* Improve default subject logic for importer warning emails.
 

	
 
* Add email config for Rattail <-> Rattail data import/export.
 

	
 

	
 
0.9.179 (2021-07-22)
 
--------------------
 

	
 
* Fix ``super()`` parent bug.
 

	
 

	
 
0.9.178 (2021-07-21)
 
--------------------
 

	
 
* Add dict-specific logic for normalizing "local" object.
 

	
 

	
 
0.9.177 (2021-07-21)
 
--------------------
 

	
 
* Raise error if unknown product scanned for inventory.
 

	
 
* Add special datasync logic for product/price associations.
 

	
 

	
 
0.9.176 (2021-07-15)
 
--------------------
 

	
 
* Auto-expand delproduct batch to include unit + all packs.
 

	
 

	
 
0.9.175 (2021-06-18)
 
--------------------
 

	
 
* Fix template context for importer diff warning email preview.
 

	
 
* Exclude ``suggested_price_uuid`` for rattail->rattail Product import.
 

	
 

	
 
0.9.174 (2021-06-18)
 
--------------------
 

	
 
* Let config set flags for product importing.
 

	
 

	
 
0.9.173 (2021-06-18)
 
--------------------
 

	
 
* Avoid blank upc when caching products.
 

	
 
* Lower log level when product not found.
 

	
 

	
 
0.9.172 (2021-06-17)
 
--------------------
 

	
 
* Add ``--no-collect-changes`` arg for importer commands.
 

	
 

	
 
0.9.171 (2021-06-11)
 
--------------------
 

	
 
* Assume empty string means null, in datetime conversion for CSV import.
 

	
rattail/_version.py
Show inline comments
 
# -*- coding: utf-8; -*-
 

	
 
__version__ = '0.9.344'
 
__version__ = '0.9.345'
0 comments (0 inline, 0 general)