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.
rattail/_version.py
Show inline comments
 
# -*- coding: utf-8; -*-
 

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