Changeset - 74d44e8edc79
[Not reviewed]
v0.9.268
0 2 0
Lance Edgar (lance) - 3 years ago 2022-03-08 14:19:17
lance@edbob.org
Update changelog
2 files changed with 7 insertions and 1 deletions:
0 comments (0 inline, 0 general)
CHANGES.rst
Show inline comments
 

	
 
CHANGELOG
 
=========
 

	
 
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.
 

	
 
* Require ``config`` and ``key`` args for ``ConfigProfile`` constructor.
 

	
 
* Accept extra kwargs for ``util.capture_output()``.
 

	
 
* Fix how cost diffs are checked for vendor catalog batch.
 

	
 
* Fix bug when refreshing single label batch row.
 

	
 
* Tweak basic project template, per LOC SMS integration.
 

	
 
* Add ``PeopleHandler.ensure_address()`` method.
 

	
 

	
 
0.9.170 (2021-04-28)
 
--------------------
 

	
 
* Only make batch data dir if it doesn't exist.
 

	
 
* Add "has inventory" status for delete item batch (rows).
 

	
 
* Add ``batch_id_str()`` convenience function.
 

	
 

	
 
0.9.169 (2021-04-27)
 
--------------------
 

	
 
* Allow "batch importers" to avoid collecting changes for processing.
 

	
 

	
 
0.9.168 (2021-04-12)
 
--------------------
 

	
 
* Don't use ``log.warn()``.
 

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

	
 

	
 
0.9.167 (2021-03-30)
 
--------------------
 

	
 
* Add ``Store.archived`` flag to schema.
 

	
 
* Only cache departments which have a number.
 

	
 
* Freeze version of SQLAlchemy to 1.3.x.
 

	
 

	
 
0.9.166 (2021-03-11)
 
--------------------
 

	
 
* Fix preview for user_feedback emails.
 

	
 
* Add trainwreck alembic files to project manifest.
 

	
 
* Create the ``data/uploads`` folder when making app dir.
 

	
 
* Better handle cost diff when old value is null, for catalog batch.
 

	
 
* Fix how rsync excludes are used as fallback for borg backup.
 

	
 
* Add ``inactivity_months`` field for delete product batch.
 

	
 
* Add misc. more fields to base Trainwreck schema.
 

	
 

	
 
0.9.165 (2021-03-05)
 
--------------------
 

	
 
* Let include/exclude lists differ for rsync vs. borg, in backup command.
 

	
 
* Add ``date_created`` field for "delete product" batch row.
 

	
 

	
 
0.9.164 (2021-03-02)
 
--------------------
 

	
 
* Move some enum values to rattail-onager.
 

	
 
* Add "pending customer orders" status for delete product batch row.
 

	
 

	
 
0.9.163 (2021-02-19)
 
--------------------
 

	
 
* Add trainwreck enum entry for CORE-POS.
 

	
 
* Add "full" support for Trainwreck <-> Trainwreck import/export commands.
 

	
 

	
 
0.9.162 (2021-02-18)
 
--------------------
 

	
 
* Describe execution for some common batches.
 

	
 
* More improvements to "delete products" batch.
 

	
 
* Misc. tweaks for vendor catalog batch.
 

	
 
* Add proper "default" model for Trainwreck.
 

	
 

	
 
0.9.161 (2021-02-10)
 
--------------------
 

	
 
* Relax validation of phone numbers a bit.
 

	
 

	
 
0.9.160 (2021-02-10)
 
--------------------
 

	
 
* Rename tables for purchase batches.
 

	
 
* Add XLSX-flavored ExcelReader class.
 

	
 
* Fix execution description for purchase batches.
 

	
 
* Always use versioning workarounds for vendor catalog batches.
 

	
 

	
 
0.9.159 (2021-02-04)
 
--------------------
 

	
 
* Add ``make_temp_dir()`` and ``make_temp_path()`` for app handlers.
 

	
 
* Rename tables, models for various batches.
 
  
 
* Add ``BatchHandler.is_mutable()``.
 

	
 

	
 
0.9.158 (2021-02-01)
 
--------------------
 

	
 
* Add ``Purchase.id`` column to schema.
 

	
 
* Fix ``PurchaseItem.po_total`` when creating from ordering batch.
 

	
 
* Add ``BatchHandler.describe_execution()`` method.
 

	
 
* Add ``render_currency()`` and ``render_datetime()`` for app handler.
 

	
 
* Misc. reporting tweaks; add "Customer Mailing" sample report.
 

	
 
* Purge things for legacy (jquery) mobile apps.
 

	
 
* Let ``PurchaseBatchHandler`` define which receiving workflows are supported.
 

	
 
* Add ``ProductsHandler.get_image_url()`` etc.
 

	
 

	
 
0.9.157 (2021-01-28)
 
--------------------
 

	
 
* Add basic PeopleHandler, for consistently updating names.
 

	
 

	
 
0.9.156 (2021-01-27)
 
--------------------
 

	
 
* Let win32 share the 'auth' extra.
 

	
 

	
 
0.9.155 (2021-01-27)
 
--------------------
 

	
 
* Initial support for adding items to, executing customer order batch.
 

	
 
* Add simple ``rattail checkdb`` command.
 

	
 

	
 
0.9.154 (2021-01-25)
 
--------------------
 

	
 
* Add some default logic to ``FromFile`` importer base.
 

	
 
* Tweak borg requirement for 'backup' extra.
 

	
 
* Add ``AppHandler.get_report_handler()`` and improve related docs a bit.
 

	
 
* Add feature to generate new features...
 

	
 
* Add basic dev bootstrap for new projects.
 

	
 
* Add new batch type for deleting products.
 

	
 
* Show import vs. export direction in warnings/diff email.
 

	
 
* Set ``self.model`` when constructing new Importer.
 

	
 
* Avoid meaningless flushes within importer main loop.
 

	
 
* Don't use list for ``Product.shopfoo_product`` type relationships.
 

	
 
* Set ``self.model`` when constructing a DataSyncConsumer.
 

	
 
* Add generic ``FromRattailConsumer`` base class for datasync.
 

	
 
* Add "Units of Measure" table, and mapping logic in products handler.
 

	
 
* Add ``webapi.conf`` file for use with ``rattail make-config``.
 

	
 
* Fix some discrepancies in primary vs. version table schema.
 

	
 

	
 
0.9.153 (2020-12-15)
 
--------------------
 

	
 
* Add basic model, importer for IFPS PLU Codes.
 

	
 

	
 
0.9.152 (2020-12-04)
 
--------------------
 

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

	
 
* Add basic structure for "Board Handler" feature.
 

	
 
* Add 'datadir' to sample config files.
 

	
 

	
 
0.9.151 (2020-12-01)
 
--------------------
 

	
 
* Add new "app handler" concept, w/ handlers for employment, clientele.
 

	
 

	
 
0.9.150 (2020-11-24)
 
--------------------
 

	
 
* Add vendor catalog parser for Equal Exchange.
 

	
 
* Refresh product record, when attaching new price via importer.
 

	
 

	
 
0.9.149 (2020-10-14)
 
--------------------
 

	
 
* Simplify how certain "list" data is cleared, when importing to Rattail.
 

	
 

	
 
0.9.148 (2020-10-13)
 
--------------------
 

	
 
* Log warning instead of assertion error, if runas_user doesn't exist.
 

	
 
* Stop trying to use win32 api to know "default config paths".
 

	
 
* Stop creating separate 'batch' folder for ``rattail make-appdir``.
 

	
 
* Allow datasync to export to rattail but *not* record changes.
 

	
 

	
 
0.9.147 (2020-10-02)
 
--------------------
 

	
 
* Fix how record associations are removed for rattail importing.
 

	
 
* Load "runas user" into current session, for X -> Rattail importers.
 

	
 
* Make sure model extension tables are eagerly joined for Rattail importing.
 

	
 

	
 
0.9.146 (2020-09-24)
 
--------------------
 

	
 
* Add methods to create new sheet, and toggle grid lines for ExcelWriter.
 

	
 
* Add "summary" sheet to Excel-based reports.
 

	
 

	
 
0.9.145 (2020-09-22)
 
--------------------
 

	
 
* Use static default timezone for new 'fabric' project.
 

	
 
* Add more flexible "extensions" mechanism for Rattail model importers.
 

	
 
* Turn on display of rattail deprecation warnings by default.
 

	
 

	
 
0.9.144 (2020-09-19)
 
--------------------
 

	
 
* Small tweaks for default config in 'fabric' projects.
 

	
 
* Allow overriding column header labels when writing Excel file.
 

	
 
* Add ``makedirs`` kwarg for ``Batch.absolute_filepath()`` method.
 

	
 
* Add batch handler methods for writing, updating from worksheet.
 

	
 
* Give importer diff emails an automatic default subject.
 

	
 
* Add ``--no-password`` flag for ``rattail make-user`` command.
 

	
 

	
 
0.9.143 (2020-09-16)
 
--------------------
 

	
 
* Always create 'data' dir when making app dir.
 

	
 
* Add support for generating a 'fabric' project.
 

	
 

	
 
0.9.142 (2020-09-14)
 
--------------------
 

	
 
* Add basic handler/template for generating new custom projects.
 

	
 

	
 
0.9.141 (2020-09-02)
 
--------------------
 

	
 
* Ignore bad UPC when reading products from file for label batch.
 

	
 
* Add ``Product.average_weight`` to schema.
 

	
 

	
 
0.9.140 (2020-08-21)
 
--------------------
 

	
 
* Add ``--skip-if-empty`` flag for ``rattail run-n-mail`` command.
 

	
 
* Add base classes for Rattail -> Rattail (local) imports.
 

	
 
* Always try to set ``runas_user`` etc. when making an importer.
 

	
 
* Allow override of header row for CSV exporters.
 

	
 
* Add base data model for "shopfoo" pattern.
 

	
 
* Add base pattern logic for Shopfoo data export.
 

	
 

	
 
0.9.139 (2020-08-17)
 
--------------------
 

	
 
* Add ``rattail version-check`` command, for consistency checks.
 

	
 

	
 
0.9.138 (2020-08-13)
 
--------------------
 

	
 
* Include alt code lookup for inventory "quick entry" logic.
 

	
 
* Fix how we obtain local system title for importers.
 

	
 

	
 
0.9.137 (2020-08-10)
 
--------------------
 

	
 
* Add ``PricingBatchRow.old_true_margin`` column to schema.
 

	
 
* Tweak how/when we set "manually priced" status for pricing batch rows.
 

	
 
* Add basic TXT template for user feedback emails.
 

	
 
* Grow column for permission name.
 

	
 

	
 
0.9.136 (2020-08-09)
 
--------------------
 

	
 
* Always import the data model module early, when running commands.
 

	
 
* Add new base classes for customer order/item models.
 

	
 
* Add data models for "customer order" batches.
 

	
 
* Add ``first_email()``, ``first_phone()`` etc. for ContactMixin.
 

	
 
* Fix some encoding bugs on python 2.
 

	
 
* Add association proxy for ``Employee.users``.
 

	
 

	
 
0.9.135 (2020-07-30)
 
--------------------
 

	
 
* Add base classes for "purging" subcommands.
 

	
 

	
 
0.9.134 (2020-07-29)
 
--------------------
 

	
 
* Add ``BatchHandler.delete_extra_data()`` method.
 

	
 
* Add ``BatchHandler.do_delete()`` method.
 

	
 

	
 
0.9.133 (2020-07-29)
 
--------------------
 

	
 
* Be smarter about deleting rows, when deleting batch.
 

	
 

	
 
0.9.132 (2020-07-28)
 
--------------------
 

	
 
* Tweak logic for purging batches to avoid warnings, duplicate progress.
 

	
 

	
 
0.9.131 (2020-07-26)
 
--------------------
 

	
 
* Grow ``Product.item_id`` to allow 50 chars.
 

	
 
* Don't create empty department, when importing subdepartment.
 

	
 
* Remove unused "fablib" line from manifest.
 

	
 
* Let config define arbitrary kwargs for datasync watcher.
 

	
 
* Add ``can_delete_object()`` method for importers.
 

	
 
* Add ``cache_model()`` convenience method for problem reports.
 

	
 
* Log info instead of debug, to show count of problems found.
 

	
 

	
 
0.9.130 (2020-06-18)
 
--------------------
 

	
 
* Remove 'fixture' use within tests; plus fix some tests.
 

	
 
* Add ``email_output()`` method for report handler, plus common template.
 

	
 

	
 
0.9.129 (2020-05-28)
 
--------------------
 

	
 
* Add ``require`` kwarg for ``Person.only_customer()`` method.
 

	
 
* Add some indexes, to optimize profile view.
 

	
 

	
 
0.9.128 (2020-05-20)
 
--------------------
 

	
 
* Add "shelved" flag for pricing batches.
 

	
 
* Add "safe" param logic for decimal report params.
 

	
 

	
 
0.9.127 (2020-04-17)
 
--------------------
 

	
 
* Add support for extra header rows, for Excel reader.
 

	
 
* Add generic ``FromFile`` importer base class.
 

	
 
* Change method call to allow for simpler signature.
 

	
 

	
 
0.9.126 (2020-04-06)
 
--------------------
 

	
 
* Fix how we assign ``Purchase.total`` when executing an ordering batch.
 

	
 
* Improve logic for making new Receiving batch from PO.
 

	
 
* Copy PO total from purchase object, when making new receiving batch.
 

	
 
* Add ``--borg-tag`` arg for ``rattail backup`` command.
 

	
 
* Add ``Product.get_default_pack_item()`` convenience method.
 

	
 
* Add ``Role.notes`` field to schema.
 

	
 
* Add way for report to provide available "choices" for any param.
 

	
 
* Add ``get_output_filename()`` method for ToFile exporters.
 

	
 
* Move most of inventory batch logic into the handler (from Tailbone).
 

	
 
* Add setting to disable old/legacy jQuery mobile app.
 

	
 

	
 
0.9.125 (2020-03-18)
 
--------------------
 

	
 
* Sever the "backref" tie for ``Person._customers``.
 

	
 
* Add setting for display of POD images in Tailbone.
 

	
 
* Add ``revoke_permission()`` convenience auth function.
 

	
 
* Fix the Subdepartment importer per real-time datasync use.
 

	
 
* Stash a reference to handler instance, when creating datasync consumer.
 

	
 
* Add "customer fields" for Person importer.
 

	
 
* Add ``ContactMixin`` for Rattail importers; use with Customer and Person.
 

	
 
* Declare the Member model to be a "contact" for related magic.
 

	
 
* Add version importers for member data.
 

	
 
* Add ``Member.number`` to schema.
 

	
 
* Add ``Customer.first_person()`` convenience method.
 

	
 

	
 
0.9.124 (2020-03-11)
 
--------------------
 

	
 
* Add logic for Order Form worksheet, in purchase batch handler.
 

	
 

	
 
0.9.123 (2020-03-05)
 
--------------------
 

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

	
 
* Raise explicit error in ``data_diffs()`` to tell which side is missing data.
 

	
 
* Add default implementation logic for ``Importer.cache_local_data()``.
 

	
 
* Fix some math/logic for calculating "pending" amounts in purchase batch.
 

	
 

	
 
0.9.122 (2020-03-02)
 
--------------------
 

	
 
* Grow ``item_entry`` field for batches, to accommodate product_uuid.
 

	
 

	
 
0.9.121 (2020-03-01)
 
--------------------
 

	
 
* Stop breaking on bad input, for purchase batch ``update_row_quantity()``.
 

	
 
* Delete each row in batch, one by one, when deleting batch.
 

	
 
* Add ``Employee.sorted_history()`` and improve ``get_current_history()``.
 

	
 
* Implement ``GPC.__lt__()`` rich comparison.
 

	
 

	
 
0.9.120 (2020-02-26)
 
--------------------
 

	
 
* Add ``update_row_quantity()``, ``order_row()`` methods for purchase batch handler.
 

	
 
* Update the *calculated* PO total when removing row from ordering batch.
 

	
 
* Add 60-second delay for "datasync wait" logic in Luigi overnight tasks.
 

	
 

	
 
0.9.119 (2020-02-21)
 
--------------------
 

	
 
* Tweak how output of ``rattail runsql`` command is handled.
 

	
 

	
 
0.9.118 (2020-02-19)
 
--------------------
 

	
 
* Let config define ``--keep-*`` args for ``borg prune`` command.
 

	
 
* Use progress when writing rows to Excel.
 

	
 

	
 
0.9.117 (2020-02-12)
 
--------------------
 

	
 
* Add new ``ProblemReportEmail`` base class, for simpler email previews.
 

	
 
* Add "current price" to schema for pricing batch; populate on refresh.
 

	
 
* Add support for newer file format, in KeHE invoice parser.
 

	
 

	
 
0.9.116 (2020-02-03)
 
--------------------
 

	
 
* Remove ``__future__`` imports from project scaffold template.
 

	
 
* Fix some password prompts, for python 3.
 

	
 
* Add some custom tables, model importers, web views for new project template.
 

	
 
* Don't consult the DB when fetching configured enum module.
 

	
 

	
 
0.9.115 (2020-01-28)
 
--------------------
 

	
 
* Allow populating a new pricing batch from products with "SRP breach".
 

	
 
* Remove versioning workarounds for core batch handlers.
 

	
 
* Add "invalid address" flags for primary contact types.
 

	
 
* Add "price breaches SRP" status for pricing batch rows.
 

	
 

	
 
0.9.114 (2020-01-20)
 
--------------------
 

	
 
* Add awareness of default "importer" batch handler.
 

	
 
* Explicitly avoid data versioning when executing import/export batch.
 

	
 
* Improve "batch" awareness for datasync queue logic.
 

	
 
* Add ``ProblemReportHandler.progress_loop()`` convenience method.
 

	
 

	
 
0.9.113 (2020-01-07)
 
--------------------
 

	
 
* Fix how "current" price is set for Product importer.
 

	
 

	
 
0.9.112 (2020-01-06)
 
--------------------
 

	
 
* Fix handling of tpr/sale prices for rattail Product datasync.
 

	
 

	
 
0.9.111 (2020-01-06)
 
--------------------
 

	
 
* Remove TPR, sale price refs from *simple* Product importer fields.
 

	
 

	
 
0.9.110 (2020-01-06)
 
--------------------
 

	
 
* Add ``Product.tpr_price`` and ``sale_price``, tweak model importer.
 

	
 

	
 
0.9.109 (2020-01-02)
 
--------------------
 

	
 
* Mark a Product as dirty, when ProductCost is deleted.
 

	
 
* Remove cascade settings for ``Person._customers`` relationship.
 

	
 

	
 
0.9.108 (2019-12-19)
 
--------------------
 

	
 
* Allow config to define datasync "batch" size limit.
 

	
 

	
 
0.9.107 (2019-12-02)
 
--------------------
 

	
 
* Add logic for updating row invoice cost/totals for receiving batch.
 

	
 
* Add catalog unit cost, confirmation flags for receiving batch rows.
 

	
 
* Add logic for updating catalog cost for receiving batch row.
 

	
 
* Add ``receiving_complete`` flag for PurchaseBatch.
 

	
 

	
 
0.9.106 (2019-11-15)
 
--------------------
 

	
 
* Add ``quick_entry()`` method signature for batch handlers.
 

	
 
* Try to set creator of new batch, if user is specified.
 

	
 
* Try to assign configured store when making new purchase batch.
 

	
 
* Add ``get_eligible_purchases()`` method for 'purchase' batch handler.
 

	
 
* Add proper "quick entry" logic for purchase batch.
 

	
 
* Fix some receiving row logic when null quantities present.
 

	
 

	
 
0.9.105 (2019-11-08)
 
--------------------
 

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

	
 
__version__ = '0.9.267'
 
__version__ = '0.9.268'
0 comments (0 inline, 0 general)