2016-01-22 14:47:52 -06:00
|
|
|
|
|
|
|
CHANGELOG
|
|
|
|
=========
|
|
|
|
|
2018-04-09 15:13:37 -05:00
|
|
|
0.9.4 (2018-04-09)
|
|
|
|
------------------
|
|
|
|
|
|
|
|
* Tweak some product relationships so can delete a product.
|
|
|
|
|
|
|
|
* Tweak how product cost is imported, when new records involved.
|
|
|
|
|
|
|
|
* Add ``strip_fieldnames`` kwarg to ``ExcelReader`` constructor.
|
|
|
|
|
|
|
|
* Prevent aggressive flush when making purchase from ordering batch.
|
|
|
|
|
|
|
|
* Add ``Email.dynamic_to`` flag, to improve admin config UI.
|
|
|
|
|
|
|
|
* Use common product mixin for ``VendorCatalogRow`` model.
|
|
|
|
|
|
|
|
* Add new status options for vendor catalog rows, tie back to existing cost.
|
|
|
|
|
|
|
|
|
2018-03-12 17:53:25 -05:00
|
|
|
0.9.3 (2018-03-12)
|
|
|
|
------------------
|
|
|
|
|
|
|
|
* Add ``vendor_item_code`` field to purchase credit records.
|
|
|
|
|
|
|
|
* Make ``rattail.csvutil.UnicodeReader`` => ``csv.reader`` for python3.
|
|
|
|
|
|
|
|
|
2018-02-27 18:54:02 -06:00
|
|
|
0.9.2 (2018-02-27)
|
|
|
|
------------------
|
|
|
|
|
|
|
|
* Return new batches from ``ImportHandler.make_batches()``.
|
|
|
|
|
|
|
|
* Add ship_method, notes_to_vendor for Purchase, PurchaseBatch.
|
|
|
|
|
|
|
|
* Don't consider a batch refreshable if it's marked complete.
|
|
|
|
|
|
|
|
* Add ``get_email()`` convenience methods to Vendor model.
|
|
|
|
|
|
|
|
* Add email attachment MIME type for MS Word .doc files.
|
|
|
|
|
|
|
|
* Remove ``rattail.fablib`` subpackage.
|
|
|
|
|
|
|
|
* More tweaks for python 3.
|
|
|
|
|
|
|
|
|
2018-02-15 18:46:17 -06:00
|
|
|
0.9.1 (2018-02-15)
|
|
|
|
------------------
|
|
|
|
|
|
|
|
* More tweaks for python 3.
|
|
|
|
|
|
|
|
* Set row count when cloning batch.
|
|
|
|
|
|
|
|
|
2018-02-14 14:10:43 -06:00
|
|
|
0.9.0 (2018-02-14)
|
|
|
|
------------------
|
|
|
|
|
|
|
|
* Misc. cleanup for Python 3.
|
|
|
|
|
|
|
|
* Ditch older 'progressbar' for newer 'progress' package.
|
|
|
|
|
|
|
|
* Remove FormEncode dependency.
|
|
|
|
|
|
|
|
* Add 'bcrypt' dependency; remove 'py-bcrypt' for auth.
|
|
|
|
|
|
|
|
* Add 'six' to context when rendering email templates.
|
|
|
|
|
|
|
|
* Refactor sample web view for new batch, per master changes.
|
|
|
|
|
|
|
|
* Add some python3 awareness when installing mod_wsgi.
|
|
|
|
|
|
|
|
|
2018-02-08 11:25:12 -06:00
|
|
|
0.8.55 (2018-02-08)
|
|
|
|
-------------------
|
|
|
|
|
|
|
|
* Optionally suppress warning from psycopg2 about their packaging changes.
|
|
|
|
|
|
|
|
|
2018-02-07 15:06:46 -06:00
|
|
|
0.8.54 (2018-02-07)
|
|
|
|
-------------------
|
|
|
|
|
|
|
|
* Add way to "force versioning" when making new migrations.
|
|
|
|
|
|
|
|
* Add 'force' kwarg to ``pod.render_document()``.
|
|
|
|
|
|
|
|
* Add ``EmailHandler`` logic, with support for recording ``EmailAttempt``.
|
|
|
|
|
|
|
|
* Add "(dry run)" to import logging summary, when applicable.
|
|
|
|
|
|
|
|
* Add support for ``pool_pre_ping`` config, for SQLAlchemy engines.
|
|
|
|
|
|
|
|
* Copy "safe MIME text" email encoding workaround from Django.
|
|
|
|
|
|
|
|
|
2018-01-31 18:31:45 -06:00
|
|
|
0.8.53 (2018-01-31)
|
|
|
|
-------------------
|
|
|
|
|
|
|
|
* Fix some logging for "bulk" import handlers.
|
|
|
|
|
|
|
|
* Tweak how rattail import handler makes its session.
|
|
|
|
|
|
|
|
|
2018-01-29 17:07:53 -06:00
|
|
|
0.8.52 (2018-01-29)
|
|
|
|
-------------------
|
|
|
|
|
|
|
|
* Allow override of most kwargs when sending email.
|
|
|
|
|
|
|
|
* Don't supply price from batch when printing labels, unless "static prices".
|
|
|
|
|
|
|
|
* Add ``Brand.confirmed`` and unique constraint for ``name``.
|
|
|
|
|
|
|
|
* Add basic ``ExcelWriter`` class, plus xlrd and openpyxl dependencies.
|
|
|
|
|
|
|
|
|
2018-01-24 18:16:36 -06:00
|
|
|
0.8.51 (2018-01-24)
|
|
|
|
-------------------
|
|
|
|
|
|
|
|
* Add index to Trainwreck item table, for ``transaction_uuid``.
|
|
|
|
|
|
|
|
* Add ``cashback`` field to Trainwreck transaction.
|
|
|
|
|
|
|
|
|
2018-01-16 13:21:00 -06:00
|
|
|
0.8.50 (2018-01-16)
|
|
|
|
-------------------
|
|
|
|
|
|
|
|
* Add some MIME magic for CSV attachments when sending email.
|
|
|
|
|
|
|
|
* Don't use DB as fallback when determining data model.
|
|
|
|
|
|
|
|
* Add ``case_cost`` property for inventory batch rows.
|
|
|
|
|
|
|
|
* Let db config keys be defined as arbitrary list.
|
|
|
|
|
|
|
|
* Add install logic for certbot on debian 9.
|
|
|
|
|
|
|
|
* Allow certbot to be installed from source, even if package is available.
|
|
|
|
|
|
|
|
|
2018-01-07 16:58:33 -06:00
|
|
|
0.8.49 (2018-01-07)
|
|
|
|
-------------------
|
|
|
|
|
|
|
|
* Add model, importer for InventoryAdjustmentReason.
|
|
|
|
|
|
|
|
* Let label batch provide product prices when executing.
|
|
|
|
|
|
|
|
* Make ``BatchHandler.execute_many()`` responsible for setting execution details.
|
|
|
|
|
|
|
|
* Assume MariaDB is *not* of concern, by default.
|
|
|
|
|
|
|
|
* Make ``~/.ssh`` by default, when bootstrapping rattail.
|
|
|
|
|
|
|
|
* Add ``postgresql.create_schema()`` fab function.
|
|
|
|
|
|
|
|
* Add ``util.get_object_spec()`` convenience function.
|
|
|
|
|
|
|
|
* Add first attempt for "importer as batch" feature.
|
|
|
|
|
|
|
|
|
2018-01-04 15:40:03 -06:00
|
|
|
0.8.48 (2018-01-04)
|
|
|
|
-------------------
|
|
|
|
|
|
|
|
* Add ``Product.price_required`` flag to schema.
|
|
|
|
|
|
|
|
* Grow cost columns for vendor catalog batches.
|
|
|
|
|
|
|
|
|
2017-12-19 20:47:20 -06:00
|
|
|
0.8.47 (2017-12-19)
|
|
|
|
-------------------
|
|
|
|
|
|
|
|
* Add ``Customer.employee`` convenience property.
|
|
|
|
|
|
|
|
* Add ``Person.first_valid_email()`` convenience method.
|
|
|
|
|
|
|
|
|
2017-12-08 18:02:20 -06:00
|
|
|
0.8.46 (2017-12-08)
|
|
|
|
-------------------
|
|
|
|
|
|
|
|
* Add suggested retail for vendor catalog batches.
|
|
|
|
|
|
|
|
* Add logging filter for Luigi task summary.
|
|
|
|
|
|
|
|
|
2017-12-05 12:50:42 -06:00
|
|
|
0.8.45 (2017-12-05)
|
|
|
|
-------------------
|
|
|
|
|
|
|
|
* Use bytestring with ``getpass()``.
|
|
|
|
|
|
|
|
|
2017-12-03 20:35:54 -06:00
|
|
|
0.8.44 (2017-12-03)
|
|
|
|
-------------------
|
|
|
|
|
|
|
|
* Add ``Transaction.system_id`` for Trainwreck.
|
|
|
|
|
|
|
|
|
2017-12-03 19:46:02 -06:00
|
|
|
0.8.43 (2017-12-03)
|
|
|
|
-------------------
|
|
|
|
|
|
|
|
* Add "manually priced" flags for price batch.
|
|
|
|
|
|
|
|
* Add basic "auto-execute" logic for new batches created via filemon.
|
|
|
|
|
|
|
|
* Add "extension" support for all Rattail importers.
|
|
|
|
|
|
|
|
* Add way to set label batch description, notes from input data file.
|
|
|
|
|
|
|
|
* Add basic "static prices" support for label batches.
|
|
|
|
|
|
|
|
* Allow label batches to exist without a "label profile".
|
|
|
|
|
|
|
|
* Add default "execute many" behavior for batch handlers.
|
|
|
|
|
|
|
|
* Skip some (more) incomplete rows when printing label batch.
|
|
|
|
|
|
|
|
|
2017-11-19 17:43:52 -06:00
|
|
|
0.8.42 (2017-11-19)
|
|
|
|
-------------------
|
|
|
|
|
|
|
|
* Add port for postgres commands, let env define "workon home" for fabric.
|
|
|
|
|
|
|
|
* Add init script for Luigi scheduler daemon.
|
|
|
|
|
|
|
|
* Add base class for importer diff emails.
|
|
|
|
|
|
|
|
|
2017-11-12 22:24:25 -06:00
|
|
|
0.8.41 (2017-11-12)
|
|
|
|
-------------------
|
|
|
|
|
|
|
|
* Coerce fields to proper list, for importer commands.
|
|
|
|
|
|
|
|
|
2017-11-12 11:46:27 -06:00
|
|
|
0.8.40 (2017-11-12)
|
|
|
|
-------------------
|
|
|
|
|
|
|
|
* Allow specifying sheet by name when creating ExcelReader.
|
|
|
|
|
|
|
|
* Add "re-populate on refresh" flag for batch handlers.
|
|
|
|
|
|
|
|
* Add support for ``--fields`` and ``--exclude-fields`` importer cmd line args.
|
|
|
|
|
|
|
|
* Add ``commit`` flag for ``short_session()``.
|
|
|
|
|
|
|
|
* Add ``time.date_range()`` convenience function.
|
|
|
|
|
|
|
|
|
2017-11-10 16:55:45 -06:00
|
|
|
0.8.39 (2017-11-10)
|
|
|
|
-------------------
|
|
|
|
|
|
|
|
* Switch to ``passlib`` for password hashing and verification.
|
|
|
|
|
|
|
|
* Add generic ``util.data_diffs()`` function.
|
|
|
|
|
|
|
|
* Add ``BatchHandler.cache_model()`` convenience function.
|
|
|
|
|
|
|
|
|
2017-11-02 12:43:56 -05:00
|
|
|
0.8.38 (2017-11-02)
|
|
|
|
-------------------
|
|
|
|
|
|
|
|
* Add ``end_time`` index for Trainwreck transactions
|
|
|
|
|
|
|
|
* Add index on ``item_id`` for Trainwreck line items
|
|
|
|
|
|
|
|
|
2017-11-01 22:59:46 -05:00
|
|
|
0.8.37 (2017-11-01)
|
|
|
|
-------------------
|
|
|
|
|
|
|
|
* Add personnel and product flags for Department
|
|
|
|
|
|
|
|
* Add convenience for parsing date in Excel reader
|
|
|
|
|
|
|
|
|
2017-10-29 03:19:58 -05:00
|
|
|
0.8.36 (2017-10-29)
|
|
|
|
-------------------
|
|
|
|
|
|
|
|
* Add ``make_username()`` api function
|
|
|
|
|
|
|
|
|
2017-10-28 18:43:21 -05:00
|
|
|
0.8.35 (2017-10-28)
|
|
|
|
-------------------
|
|
|
|
|
|
|
|
* Add cashier ID, name to trainwwreck transaction schema
|
|
|
|
|
|
|
|
|
2017-10-28 00:42:31 -05:00
|
|
|
0.8.34 (2017-10-27)
|
|
|
|
-------------------
|
|
|
|
|
|
|
|
* Delete UserEvent records when parent User is deleted
|
|
|
|
|
|
|
|
* Fix setup.py in project template, to include package data by default
|
|
|
|
|
|
|
|
|
2017-10-26 21:50:19 -05:00
|
|
|
0.8.33 (2017-10-26)
|
|
|
|
-------------------
|
|
|
|
|
|
|
|
* Let ``authenticate_user()`` function accept a user object *or* username
|
|
|
|
|
|
|
|
* Make rattail <-> rattail datasync use topographic sort
|
|
|
|
|
|
|
|
|
2017-10-26 01:09:38 -05:00
|
|
|
0.8.32 (2017-10-25)
|
|
|
|
-------------------
|
|
|
|
|
|
|
|
* Add speedup for rattail -> rattail AdminUser imports
|
|
|
|
|
|
|
|
* Make rattail <-> importers and dataysnc more flexible
|
|
|
|
|
|
|
|
* Improve the ``upgrade`` command, to allow better automation
|
|
|
|
|
|
|
|
|
2017-10-24 17:18:16 -05:00
|
|
|
0.8.31 (2017-10-24)
|
|
|
|
-------------------
|
|
|
|
|
|
|
|
* Fix encoding issue when sending email
|
|
|
|
|
|
|
|
|
2017-10-24 12:15:38 -05:00
|
|
|
0.8.30 (2017-10-24)
|
|
|
|
-------------------
|
|
|
|
|
|
|
|
* Add ``item_id`` to Trainwreck schema, rename ``item_scancode``
|
|
|
|
|
|
|
|
* Add index on trainwreck ``Transaction.start_time``
|
|
|
|
|
|
|
|
* Add ``User.last_login`` to schema
|
|
|
|
|
|
|
|
* Add ``Person.users`` relationship
|
|
|
|
|
|
|
|
* Make sending email more configurable
|
|
|
|
|
|
|
|
|
2017-10-19 09:58:25 -05:00
|
|
|
0.8.29 (2017-10-19)
|
|
|
|
-------------------
|
|
|
|
|
|
|
|
* Add better str() methods for contact models
|
|
|
|
|
|
|
|
* Add 'using' db key when importing from Django
|
|
|
|
|
|
|
|
* Add generic datasync consumer for Rattail -> Rattail export
|
|
|
|
|
|
|
|
* Let ``time.previous_month()`` calculate arbitrary number of months
|
|
|
|
|
|
|
|
* Add versioned models, importers for EmployeeHistory, Note
|
|
|
|
|
|
|
|
* Add ``upload_time`` to base Transaction table for trainwreck
|
|
|
|
|
|
|
|
|
2017-09-29 12:05:18 -05:00
|
|
|
0.8.28 (2017-09-29)
|
|
|
|
-------------------
|
|
|
|
|
|
|
|
* Grow size of ``total_cost`` column for inventory batches
|
|
|
|
|
|
|
|
|
2017-09-28 14:20:23 -05:00
|
|
|
0.8.27 (2017-09-28)
|
|
|
|
-------------------
|
|
|
|
|
|
|
|
* Don't auto-assign inventory batch count mode
|
|
|
|
|
|
|
|
|
2017-09-28 12:11:14 -05:00
|
|
|
0.8.26 (2017-09-28)
|
|
|
|
-------------------
|
|
|
|
|
|
|
|
* Add ``time.first_of_month()`` function
|
|
|
|
|
|
|
|
* Add basic ``ExcelReader`` class, for convenience..
|
|
|
|
|
|
|
|
* Add ``force_yes`` param to ``fablib.apt.install()``
|
|
|
|
|
|
|
|
|
2017-09-15 21:01:36 -05:00
|
|
|
0.8.25 (2017-09-15)
|
|
|
|
-------------------
|
|
|
|
|
|
|
|
* Add ``fablib.mysql.is_mariadb()`` to check for MariaDB
|
|
|
|
|
|
|
|
* Refactor ``fablib.python`` somewhat to allow for apt package installs
|
|
|
|
|
|
|
|
* Add ``deploy.local_exists()`` convenience method for fablib
|
|
|
|
|
|
|
|
* Add ``time.next_month()`` function
|
|
|
|
|
|
|
|
* Various importing tweaks...
|
|
|
|
|
|
|
|
* Add ``commands.list_argument`` for list-type args
|
|
|
|
|
|
|
|
|
2017-08-20 12:43:33 -05:00
|
|
|
0.8.24 (2017-08-20)
|
|
|
|
-------------------
|
|
|
|
|
|
|
|
* Fix phone_number_2 bug for Employee importer
|
|
|
|
|
|
|
|
|
2017-08-18 11:44:26 -05:00
|
|
|
0.8.23 (2017-08-18)
|
|
|
|
-------------------
|
|
|
|
|
|
|
|
* Fix more str() encoding bugs
|
|
|
|
|
|
|
|
|
2017-08-18 11:18:35 -05:00
|
|
|
0.8.22 (2017-08-18)
|
|
|
|
-------------------
|
|
|
|
|
|
|
|
* Update sample data and importer, per latest schema
|
|
|
|
|
|
|
|
* Add ``UpgradeHandler.do_execute()`` and ``mark_executing()``
|
|
|
|
|
|
|
|
* Fix ``str(Person)`` encoding bug
|
|
|
|
|
|
|
|
|
2017-08-15 16:51:08 -05:00
|
|
|
0.8.21 (2017-08-15)
|
|
|
|
-------------------
|
|
|
|
|
|
|
|
* Don't allow upgrade command to be specified in Settings table
|
|
|
|
|
|
|
|
* Add ``UpgradeHandler.delete_files()`` method
|
|
|
|
|
|
|
|
* Add enum for purchase credit status
|
|
|
|
|
|
|
|
|
2017-08-13 20:34:42 -05:00
|
|
|
0.8.20 (2017-08-13)
|
|
|
|
-------------------
|
|
|
|
|
|
|
|
* Update project template to stop referencing 'better' tailbone theme
|
|
|
|
|
|
|
|
|
2017-08-12 16:10:12 -05:00
|
|
|
0.8.19 (2017-08-12)
|
|
|
|
-------------------
|
|
|
|
|
|
|
|
* Fix product price data gap for Rattail -> Rattail importer
|
|
|
|
|
|
|
|
|
2017-08-11 11:53:49 -05:00
|
|
|
0.8.18 (2017-08-11)
|
|
|
|
-------------------
|
|
|
|
|
|
|
|
* Add "zero-all" mode support for inventory batches
|
|
|
|
|
|
|
|
|
2017-08-10 08:04:07 -05:00
|
|
|
0.8.17 (2017-08-10)
|
|
|
|
-------------------
|
|
|
|
|
|
|
|
* Fix broken ``Person.user`` relationship
|
|
|
|
|
|
|
|
|
2017-08-09 22:51:53 -05:00
|
|
|
0.8.16 (2017-08-09)
|
|
|
|
-------------------
|
|
|
|
|
|
|
|
* Add batch descriptions, prev_on_hand for inventory batches, etc.
|
|
|
|
|
|
|
|
|
2017-08-09 14:15:36 -05:00
|
|
|
0.8.15 (2017-08-09)
|
|
|
|
-------------------
|
|
|
|
|
|
|
|
* Capture exit code from upgrade process, use it to indicate success/fail
|
|
|
|
|
|
|
|
* Provide default path for rattail sudoers file
|
|
|
|
|
|
|
|
|
2017-08-08 19:40:47 -05:00
|
|
|
0.8.14 (2017-08-08)
|
|
|
|
-------------------
|
|
|
|
|
|
|
|
* Specify ``expire_on_commit`` for rattail db sessions
|
|
|
|
|
|
|
|
* Add sample config for with/out versioning
|
|
|
|
|
|
|
|
|
2017-08-08 14:40:56 -05:00
|
|
|
0.8.13 (2017-08-08)
|
|
|
|
-------------------
|
|
|
|
|
|
|
|
* Add ``RattailConfig.get_model()``
|
|
|
|
|
|
|
|
* Add email settings for ``rattail import-versions``
|
|
|
|
|
|
|
|
* set default runas user for all importers targeting rattail
|
|
|
|
|
|
|
|
* add startup check to ensure continuum is functional (if enabled)
|
|
|
|
|
|
|
|
|
2017-08-08 00:48:47 -05:00
|
|
|
0.8.12 (2017-08-08)
|
|
|
|
-------------------
|
|
|
|
|
|
|
|
* Add ``RattailConfig.appdir()`` method
|
|
|
|
|
|
|
|
* Make ``RattailConfig.workdir()`` use ``require`` by default
|
|
|
|
|
|
|
|
* Improve status tracking for upgrades; add package diff
|
|
|
|
|
|
|
|
* Add basic API docs for ``rattail.upgrades`` and ``rattail.win32``
|
|
|
|
|
|
|
|
|
2017-08-07 15:57:09 -05:00
|
|
|
0.8.11 (2017-08-07)
|
|
|
|
-------------------
|
|
|
|
|
|
|
|
* Add common sudoers file for rattail
|
|
|
|
|
|
|
|
* Tweak how some batches are populated
|
|
|
|
|
|
|
|
|
2017-08-07 14:36:31 -05:00
|
|
|
0.8.10 (2017-08-07)
|
|
|
|
-------------------
|
|
|
|
|
|
|
|
* Add become/stop root user events to enum
|
|
|
|
|
|
|
|
* Add schema for tracking app upgrades
|
|
|
|
|
|
|
|
* Add ``rattail upgrade`` command
|
|
|
|
|
|
|
|
|
2017-08-04 18:16:52 -05:00
|
|
|
0.8.9 (2017-08-04)
|
|
|
|
------------------
|
|
|
|
|
|
|
|
* Add schema/enum for recording user events
|
|
|
|
|
|
|
|
|
2017-08-04 11:58:55 -05:00
|
|
|
0.8.8 (2017-08-04)
|
|
|
|
------------------
|
|
|
|
|
|
|
|
* Add ``Customer.active_in_pos_sticky`` flag
|
|
|
|
|
|
|
|
|
2017-08-03 17:08:37 -05:00
|
|
|
0.8.7 (2017-08-03)
|
|
|
|
------------------
|
|
|
|
|
|
|
|
* Update on-order inventory counts when creating new purchase
|
|
|
|
|
|
|
|
* Add ``rattail.batch.consume_batch_id()`` convenience function
|
|
|
|
|
|
|
|
* Fix str() for MailTemplateNotFound exception
|
|
|
|
|
|
|
|
* Add ``previous_month()`` and ``last_of_month()`` convenience functions
|
|
|
|
|
|
|
|
* Add ``Subcommand.make_session()`` method
|
|
|
|
|
|
|
|
|
2017-07-26 15:40:04 -05:00
|
|
|
0.8.6 (2017-07-26)
|
|
|
|
------------------
|
|
|
|
|
|
|
|
* Add basic support for native product inventory
|
|
|
|
|
|
|
|
* Add generic ``Product.status_code`` field
|
|
|
|
|
|
|
|
* Avoid session auto-flush when populating or refreshing a batch
|
|
|
|
|
|
|
|
|
2017-07-14 23:54:12 -05:00
|
|
|
0.8.5 (2017-07-14)
|
|
|
|
------------------
|
|
|
|
|
|
|
|
* Add versioning for products and everything else
|
|
|
|
|
|
|
|
|
2017-07-14 15:47:12 -05:00
|
|
|
0.8.4 (2017-07-14)
|
|
|
|
------------------
|
|
|
|
|
|
|
|
* Add custom status for purchasing batches
|
|
|
|
|
|
|
|
|
2017-07-14 14:39:44 -05:00
|
|
|
0.8.3 (2017-07-14)
|
|
|
|
------------------
|
|
|
|
|
|
|
|
* Add ``util.pretty_boolean()`` convenience function
|
|
|
|
|
|
|
|
|
2017-07-13 18:07:05 -05:00
|
|
|
0.8.2 (2017-07-13)
|
|
|
|
------------------
|
|
|
|
|
|
|
|
* Add ``complete`` flag to all batches
|
|
|
|
|
|
|
|
* Add generic reason code for inventory batches
|
|
|
|
|
|
|
|
* Add unit cost for inventory batches
|
|
|
|
|
|
|
|
* Provide default ``Person.display_name`` when importing customer data
|
|
|
|
|
|
|
|
|
2017-07-07 09:22:31 -05:00
|
|
|
0.8.1 (2017-07-07)
|
|
|
|
------------------
|
|
|
|
|
|
|
|
* Switch license to GPL v3 (no longer Affero)
|
|
|
|
|
|
|
|
|
2017-07-06 21:27:11 -05:00
|
|
|
0.8.0 (2017-07-06)
|
|
|
|
------------------
|
|
|
|
|
|
|
|
Main reason for bumping version is the (re-)addition of data versioning support
|
|
|
|
using SQLAlchemy-Continuum. This feature has been a long time coming and while
|
|
|
|
not yet fully implemented, we have a significant head start.
|
|
|
|
|
|
|
|
* Refactored data versioning support! (contact tables only, for now)
|
|
|
|
|
|
|
|
* Add basic ``import-versions`` command, for "catching up" versions
|
|
|
|
|
|
|
|
* Add ``expect_duplicates`` kwarg to ``cache_model()``
|
|
|
|
|
|
|
|
* Add department_number support to Category model importer
|
|
|
|
|
|
|
|
* Tweak base ``Importer`` constructor, so ``model_class`` may be more dynamic
|
|
|
|
|
|
|
|
* Stop providing default value for ``Person.display_name``
|
|
|
|
|
|
|
|
* Add basic 'runas' support for datasync
|
|
|
|
|
|
|
|
* Replace usage of ``execfile()``
|
|
|
|
|
|
|
|
* Cleanup some unicode stuff per py3k effort
|
|
|
|
|
|
|
|
|
2017-07-01 20:44:50 -05:00
|
|
|
0.7.95 (2017-07-01)
|
|
|
|
-------------------
|
|
|
|
|
|
|
|
* Add ``Subcommand.progress_loop()`` convenience method
|
|
|
|
|
|
|
|
* Make ``Subcommand.get_runas_user()`` leverage args by default
|
|
|
|
|
|
|
|
* Add "magic" for Excel file attachments when sending email
|
|
|
|
|
|
|
|
* Add gross and net sales to Trainwreck items
|
|
|
|
|
|
|
|
* Install libreoffice-calc with headless soffice
|
|
|
|
|
|
|
|
|
2017-06-26 10:23:45 -05:00
|
|
|
0.7.94 (2017-06-26)
|
|
|
|
-------------------
|
|
|
|
|
|
|
|
* Move logic for refreshing handheld batch status
|
|
|
|
|
|
|
|
|
2017-06-22 19:54:13 -05:00
|
|
|
0.7.93 (2017-06-22)
|
|
|
|
-------------------
|
|
|
|
|
|
|
|
* Optimize local data cache slightly, for importers
|
|
|
|
|
|
|
|
* Cascade deletion for handheld / inventory/label batch associations
|
|
|
|
|
|
|
|
|
2017-06-22 13:32:18 -05:00
|
|
|
0.7.92 (2017-06-22)
|
|
|
|
-------------------
|
|
|
|
|
|
|
|
* Add fabric task for installing PHP Composer
|
|
|
|
|
|
|
|
* Add status code to (all) batch headers
|
|
|
|
|
|
|
|
* Keep track of row count when populating some batches (not yet complete)
|
|
|
|
|
|
|
|
* Refactor schema so label/inventory batch may come from multiple handheld batches
|
|
|
|
|
|
|
|
* Add way to execute handheld batch "search results", for inventory/label batch
|
|
|
|
|
|
|
|
|
2017-06-19 14:50:11 -05:00
|
|
|
0.7.91 (2017-06-19)
|
|
|
|
-------------------
|
|
|
|
|
|
|
|
* Fix encoding bug when setting user's password
|
|
|
|
|
|
|
|
|
2017-06-14 11:13:45 -05:00
|
|
|
0.7.90 (2017-06-14)
|
|
|
|
-------------------
|
|
|
|
|
|
|
|
* Always install 'six' when making new virtualenv
|
|
|
|
|
|
|
|
* Grow the item_type field for trainwreck line items
|
|
|
|
|
|
|
|
* Always encode password/salt before attempting auth login
|
|
|
|
|
|
|
|
|
2017-05-30 20:26:42 -05:00
|
|
|
0.7.89 (2017-05-30)
|
|
|
|
-------------------
|
|
|
|
|
|
|
|
* Remove all schema and logic for old-style batches
|
|
|
|
|
|
|
|
|
2017-05-25 14:49:25 -05:00
|
|
|
0.7.88 (2017-05-25)
|
|
|
|
-------------------
|
|
|
|
|
|
|
|
* Remove some deprecated batch handler methods
|
|
|
|
|
|
|
|
* Tweak new batch templates per newer conventions
|
|
|
|
|
|
|
|
* Add basic ``ProductStoreInfo`` to data model
|
|
|
|
|
|
|
|
* Remove all references to old importer frameworks
|
|
|
|
|
|
|
|
|
2017-05-18 08:40:26 -05:00
|
|
|
0.7.87 (2017-05-18)
|
|
|
|
-------------------
|
|
|
|
|
|
|
|
* Tweak product code importer, to detect and warn about unknown product
|
|
|
|
|
|
|
|
* Make ``apt dist-upgrade`` non-interactive
|
|
|
|
|
|
|
|
* Set ``ImportHandler.enum`` attribute based on config
|
|
|
|
|
|
|
|
* Add ``Customer.number`` and ``active_in_pos`` to schema
|
|
|
|
|
|
|
|
* Allow importing of ``Customer.person`` primary association
|
|
|
|
|
|
|
|
* Add basic support for ``importing.ToRattail.extension_fields``
|
|
|
|
|
|
|
|
* Tweak how SQLAlchemy-based importers fetch a single local object
|
|
|
|
|
|
|
|
* Add initial support for Trainwreck database
|
|
|
|
|
|
|
|
* Tweak ``fablib.postgresql.script()`` to allow running as arbitrary PG user
|
|
|
|
|
|
|
|
* Add ``Employee.full_time`` and ``full_time_start`` to schema
|
|
|
|
|
|
|
|
|
2017-05-05 17:51:21 -05:00
|
|
|
0.7.86 (2017-05-05)
|
|
|
|
-------------------
|
|
|
|
|
|
|
|
* Add ``all_fields`` flag to ``Importer.update_object()`` method
|
|
|
|
|
|
|
|
|
2017-04-18 18:49:56 -05:00
|
|
|
0.7.85 (2017-04-18)
|
|
|
|
-------------------
|
|
|
|
|
|
|
|
* Tweak mail template for user feedback, to wrap message body
|
|
|
|
|
|
|
|
* Accept a ``python`` arg for ``fablib.python.mkvirtualenv()``
|
|
|
|
|
|
|
|
|
2017-03-30 00:19:36 -05:00
|
|
|
0.7.84 (2017-03-30)
|
|
|
|
-------------------
|
|
|
|
|
|
|
|
* Add ``use_lists`` arg for ``cache.cache_model()``, plus ``CacheKeyNotSupported``
|
|
|
|
|
|
|
|
* Tweak constructor for base Importer class
|
|
|
|
|
|
|
|
* Add ``--daemonize`` arg to daemon commands: datasync, filemon, bouncer
|
|
|
|
|
|
|
|
|
2017-03-29 12:44:46 -05:00
|
|
|
0.7.83 (2017-03-29)
|
|
|
|
-------------------
|
|
|
|
|
|
|
|
* Tweak output of ``util.pretty_quantity()``
|
|
|
|
|
|
|
|
* Make first host data entry win, when duplicates detected in core importer
|
|
|
|
|
|
|
|
* Add ``rattail.upgrade_rattail_db()`` fablib function
|
|
|
|
|
|
|
|
* Add ``Importer.enum`` convenience attribute
|
|
|
|
|
|
|
|
* Add the ``User.active_sticky`` flag for smarter account sync
|
|
|
|
|
|
|
|
* Add way to suppress md5-related warning when we ``import appy``
|
|
|
|
|
|
|
|
* Add ``ProductCost.discontinued`` flag to schema
|
|
|
|
|
|
|
|
* Try to guess first/last name when making new rattail user via command line
|
|
|
|
|
|
|
|
* Fix some broken config in project template
|
|
|
|
|
|
|
|
|
2017-03-25 15:32:53 -05:00
|
|
|
0.7.82 (2017-03-25)
|
|
|
|
-------------------
|
|
|
|
|
|
|
|
* Add ``Product.item_id`` and ``item_type``, plus grow description fields
|
|
|
|
|
|
|
|
* Add support for importing product unit cost
|
|
|
|
|
|
|
|
* Add proper cancel support to base ``Importer`` class
|
|
|
|
|
|
|
|
* Add ``PurchaseItem.item_id`` field, ``PurchaseBatchHandler.ignore_cases`` flag
|
|
|
|
|
|
|
|
|
2017-03-22 19:22:29 -05:00
|
|
|
0.7.81 (2017-03-22)
|
|
|
|
-------------------
|
|
|
|
|
|
|
|
* Refactor new project template, to use variations of project name
|
|
|
|
|
|
|
|
* Provide default logo for Login page in new project template
|
|
|
|
|
|
|
|
* Refactor how/when mail aliases are created for new system users
|
|
|
|
|
|
|
|
* Add universal fablib function for cloning PostgreSQL database
|
|
|
|
|
|
|
|
* Add ``RattailConfig.demo()`` method
|
|
|
|
|
|
|
|
* Tweak deployment of Apache site, for better kwargs support
|
|
|
|
|
|
|
|
* Disable some unused commands
|
|
|
|
|
|
|
|
* Make ``filename`` arg optional for ``config.batch_filepath()``, ``export_filepath()``
|
|
|
|
|
|
|
|
* Tweak method signature for ``BatchMixin.absolute_filepath()``
|
|
|
|
|
|
|
|
* Add ``ExportMixin.filepath()`` convenience method
|
|
|
|
|
|
|
|
* Make ``util.pretty_hours()`` accept a ``seconds`` arg
|
|
|
|
|
|
|
|
* Make ``allow_cancel`` default to false, for ``util.progress_loop()``
|
|
|
|
|
|
|
|
* Add ``BatchHandler.populate()`` and ``should_populate()``
|
|
|
|
|
|
|
|
* Add ``ModelBase.make_proxy()`` class method
|
|
|
|
|
|
|
|
* Change ``BatchMixin.delete_data()`` method to remove entire folder
|
|
|
|
|
|
|
|
* Add ``mysql.clone_db()`` fablib function
|
|
|
|
|
|
|
|
* Add ``CustomerMailingAddress`` to data model
|
|
|
|
|
|
|
|
* Refactor core commands somewhat; add ``--runas`` arg
|
|
|
|
|
|
|
|
* Add ``errors`` kwarg to csv readers
|
|
|
|
|
|
|
|
* Add ``db.util.short_session()`` context manager
|
|
|
|
|
|
|
|
* Add ``poddoc`` module for basic appy.pod integration support
|
|
|
|
|
|
|
|
* Add basic ``ReportOutput`` data model
|
|
|
|
|
|
|
|
* Add basic 'soffice' daemon / fablib support for headless LibreOffice
|
|
|
|
|
|
|
|
* Add sane default handling of PDF attachments when sending email
|
|
|
|
|
|
|
|
|
2017-03-16 15:13:01 -05:00
|
|
|
0.7.80 (2017-03-16)
|
|
|
|
-------------------
|
|
|
|
|
|
|
|
* Don't assume datasync URL is configured, within email previews
|
|
|
|
|
|
|
|
* Fix logic for ``util.hours_as_decimal()``
|
|
|
|
|
|
|
|
|
2017-03-15 13:19:09 -05:00
|
|
|
0.7.79 (2017-03-15)
|
|
|
|
-------------------
|
|
|
|
|
|
|
|
* Add new BatchImporter for sake of product image and similar imports
|
|
|
|
|
|
|
|
|
2017-03-13 14:06:26 -05:00
|
|
|
0.7.78 (2017-03-13)
|
|
|
|
-------------------
|
|
|
|
|
|
|
|
* Add ``script()`` and ``set_user_password()`` to postgresql fablib
|
|
|
|
|
|
|
|
* Add ``default_dbkey`` for export-rattail commands
|
|
|
|
|
|
|
|
|
2017-03-09 11:54:38 -06:00
|
|
|
0.7.77 (2017-03-09)
|
|
|
|
-------------------
|
|
|
|
|
|
|
|
* Tweak how we exclude product images from rattail export
|
|
|
|
|
|
|
|
* Detect, warn about invalid cost in KeHE vendor catalog parser
|
|
|
|
|
|
|
|
* Fix ownership bug when uploading Mako template file via fabric
|
|
|
|
|
|
|
|
* Add 'identity' kwarg for fablib ``ssh.cache_host_key()``
|
|
|
|
|
|
|
|
* Use query.count() if no count provided to ``progress_loop()``
|
|
|
|
|
|
|
|
|
2017-03-03 17:57:25 -06:00
|
|
|
0.7.76 (2017-03-03)
|
|
|
|
-------------------
|
|
|
|
|
|
|
|
* Add ``Product.discontinued`` flag to schema
|
|
|
|
|
|
|
|
|
2017-03-03 13:57:16 -06:00
|
|
|
0.7.75 (2017-03-03)
|
|
|
|
-------------------
|
|
|
|
|
|
|
|
* Allow 'frontend' override for ``apt-get install`` via fabric
|
|
|
|
|
|
|
|
* Add ``allow_cancel`` kwarg for ``progress_loop()``
|
|
|
|
|
|
|
|
|
2017-03-01 15:27:41 -06:00
|
|
|
0.7.74 (2017-03-01)
|
|
|
|
-------------------
|
|
|
|
|
|
|
|
* Add product notes, ingredients to schema
|
|
|
|
|
|
|
|
|
2017-02-24 12:14:57 -06:00
|
|
|
0.7.73 (2017-02-24)
|
|
|
|
-------------------
|
|
|
|
|
|
|
|
* Add ``Role.session_timeout`` to schema
|
|
|
|
|
|
|
|
* Add notes column to BatchMixin
|
|
|
|
|
|
|
|
* Add some product flags (kosher, vegan etc.)
|
|
|
|
|
|
|
|
* Add basic ProductImage data model with importer
|
|
|
|
|
|
|
|
* Fix bug in ``len(QuerySequence)`` logic
|
|
|
|
|
|
|
|
* Add ``export-rattail`` command, plus ProductImage support for Rattail->Rattail
|
|
|
|
|
|
|
|
|
2017-02-21 11:39:06 -06:00
|
|
|
0.7.72 (2017-02-21)
|
|
|
|
-------------------
|
|
|
|
|
|
|
|
* Add initial data models for customer orders
|
|
|
|
|
|
|
|
|
2017-02-17 18:25:41 -06:00
|
|
|
0.7.71 (2017-02-17)
|
|
|
|
-------------------
|
|
|
|
|
|
|
|
* Fix str vs. unicode issue for Product model
|
|
|
|
|
|
|
|
* Restrict our version of flufl.bounce per its 3.0 release
|
|
|
|
|
|
|
|
* Add FreeTDS logging filter, to help cut down on unwanted email noise
|
|
|
|
|
|
|
|
|
2017-02-16 16:16:55 -06:00
|
|
|
0.7.70 (2017-02-16)
|
|
|
|
-------------------
|
|
|
|
|
|
|
|
* Fix str() methods for various data models
|
|
|
|
|
|
|
|
|
2017-02-15 14:15:22 -06:00
|
|
|
0.7.69 (2017-02-15)
|
|
|
|
-------------------
|
|
|
|
|
|
|
|
* Remove unwanted ``Object.__str__()`` method
|
|
|
|
|
|
|
|
|
2017-02-14 20:37:37 -06:00
|
|
|
0.7.68 (2017-02-14)
|
|
|
|
-------------------
|
|
|
|
|
|
|
|
* Add ``ExportMixin`` and file path getters on config object
|
|
|
|
|
|
|
|
* Add global ``NOTSET`` singleton
|
|
|
|
|
|
|
|
* Add ``User._messages`` backref for convenience
|
|
|
|
|
|
|
|
|
2017-02-11 19:08:34 -06:00
|
|
|
0.7.67 (2017-02-11)
|
|
|
|
-------------------
|
|
|
|
|
|
|
|
* Add ``pretty_hours()`` and ``hours_as_decimal()`` to ``util`` module
|
|
|
|
|
|
|
|
|
2017-02-10 14:42:34 -06:00
|
|
|
0.7.66 (2017-02-10)
|
|
|
|
-------------------
|
|
|
|
|
|
|
|
* Add ``ProductPrice.active_now()`` convenience method
|
|
|
|
|
|
|
|
* Make ``DepositLink.code`` a string
|
|
|
|
|
|
|
|
* Add special importer logic for '_deleted_' flag
|
|
|
|
|
|
|
|
|
2017-02-09 19:00:29 -06:00
|
|
|
0.7.65 (2017-02-09)
|
|
|
|
-------------------
|
|
|
|
|
|
|
|
* Add ``RattailConfig.get_store()`` convenience method
|
|
|
|
|
|
|
|
* Add unit/pack concept to Product schema, make ``Tax.code`` a string
|
|
|
|
|
|
|
|
|
2017-02-03 16:54:27 -06:00
|
|
|
0.7.64 (2017-02-03)
|
|
|
|
-------------------
|
|
|
|
|
|
|
|
* Add ``createdb`` flag for ``fablib.postgresql.create_user()``
|
|
|
|
|
|
|
|
* Add ``warn_only`` flag for ``fablib.ssh.cache_host_key()``
|
|
|
|
|
|
|
|
* Add vendor column to pricing batch rows
|
|
|
|
|
|
|
|
* Add ``User.is_admin()`` convenience method
|
|
|
|
|
|
|
|
|
2017-01-30 17:13:02 -06:00
|
|
|
0.7.63 (2017-01-30)
|
|
|
|
-------------------
|
|
|
|
|
|
|
|
* Add min diff threshold for pricing batches
|
|
|
|
|
|
|
|
* Add ``set_status_per_diff()`` for pricing batch handler
|
|
|
|
|
|
|
|
|
2017-01-29 11:33:15 -06:00
|
|
|
0.7.62 (2017-01-29)
|
|
|
|
-------------------
|
|
|
|
|
|
|
|
* Add ``postgresql.get_version()`` for fabric
|
|
|
|
|
|
|
|
* Only install emacs if it not yet installed
|
|
|
|
|
|
|
|
* Add basic support for cloning an existing batch as new batch
|
|
|
|
|
|
|
|
* Add option for auto-deleting empty batch, when created via filemon
|
|
|
|
|
|
|
|
|
2017-01-12 14:14:27 -06:00
|
|
|
0.7.61 (2017-01-12)
|
|
|
|
-------------------
|
|
|
|
|
|
|
|
* Fix CSV handheld batch parser, to allow decimal amounts
|
|
|
|
|
|
|
|
|
2017-01-11 13:08:28 -06:00
|
|
|
0.7.60 (2017-01-11)
|
|
|
|
-------------------
|
|
|
|
|
|
|
|
* Fix bugs for datasync error email preview
|
|
|
|
|
|
|
|
* Various fablib tweaks...
|
|
|
|
|
|
|
|
|
2017-01-06 17:35:40 -06:00
|
|
|
0.7.59 (2017-01-06)
|
|
|
|
-------------------
|
|
|
|
|
|
|
|
* Fix ``set_timezone()`` fabric function, to handle symlink
|
|
|
|
|
|
|
|
* Fix typo in label batch handler
|
|
|
|
|
|
|
|
|
2017-01-03 10:03:53 -06:00
|
|
|
0.7.58 (2017-01-03)
|
|
|
|
-------------------
|
|
|
|
|
|
|
|
* Add ``PurchaseCredit.product_discarded``, method for making credits from batch
|
|
|
|
|
|
|
|
* Add ``get_received_quantity()`` convenience method for purchasing batch
|
|
|
|
|
|
|
|
|
2016-12-30 07:57:58 -06:00
|
|
|
0.7.57 (2016-12-30)
|
|
|
|
-------------------
|
|
|
|
|
|
|
|
* Add ``Purchase.po_line_number`` for improved PO update support
|
|
|
|
|
|
|
|
* Tweak purchase batch handler to allow customizing how row totals are refreshed
|
|
|
|
|
|
|
|
|
2016-12-20 16:58:47 -06:00
|
|
|
0.7.56 (2016-12-20)
|
|
|
|
-------------------
|
|
|
|
|
|
|
|
* Allow custom logic for unit cost cost; tweak enum for 'ordering' batch type
|
|
|
|
|
|
|
|
* Disable some importing tests, for now at least...
|
|
|
|
|
|
|
|
|
2016-12-19 13:37:13 -06:00
|
|
|
0.7.55 (2016-12-19)
|
|
|
|
-------------------
|
|
|
|
|
|
|
|
* Fix importer method signature
|
|
|
|
|
|
|
|
* Tweak log message for importer results
|
|
|
|
|
|
|
|
|
2016-12-17 00:56:14 -06:00
|
|
|
0.7.54 (2016-12-16)
|
|
|
|
-------------------
|
|
|
|
|
|
|
|
* Use decimal for case/unit quantities in handheld/inventory batches
|
|
|
|
|
|
|
|
|
2016-12-16 12:43:42 -06:00
|
|
|
0.7.53 (2016-12-16)
|
|
|
|
-------------------
|
|
|
|
|
|
|
|
* Add ``empty_zero`` kwarg for ``util.pretty_quantity()``
|
|
|
|
|
|
|
|
* Add ``db.util.make_full_description()`` convenience function
|
|
|
|
|
|
|
|
* Tweak purchase batch handler logic to account for "product not found"
|
|
|
|
|
|
|
|
* Add ``Importer.progress_loop()`` convenience method
|
|
|
|
|
|
|
|
* Add basic support for "extension fields" to ``ProductImporter``
|
|
|
|
|
|
|
|
* Add ``Product.scancode`` and ``uom_abbreviation`` to schema
|
|
|
|
|
|
|
|
* Fix/improve logic for importing 'preferred' pseudo-field for ``ProductCost``
|
|
|
|
|
|
|
|
|
2016-12-12 15:23:16 -06:00
|
|
|
0.7.52 (2016-12-12)
|
|
|
|
-------------------
|
|
|
|
|
|
|
|
* Add ``User.get_short_name()`` convenience method
|
|
|
|
|
|
|
|
* Tweak some things to make older SQLAlchemy happy
|
|
|
|
|
|
|
|
|
2016-12-11 10:50:12 -06:00
|
|
|
0.7.51 (2016-12-11)
|
|
|
|
-------------------
|
|
|
|
|
|
|
|
* Use 'rattail.emails' as fallback for tailbone view
|
|
|
|
|
|
|
|
* Add way to prevent [STAGE] prefix magic when editing in tailbone
|
|
|
|
|
|
|
|
* Remove email configs for tempmon
|
|
|
|
|
|
|
|
* Add config for feedback email, let config dictate that's the only one sent
|
|
|
|
|
|
|
|
|
2016-12-10 12:48:39 -06:00
|
|
|
0.7.50 (2016-12-10)
|
|
|
|
-------------------
|
|
|
|
|
|
|
|
* Add ``from_utc`` arg to ``time.localtime()`` function
|
|
|
|
|
|
|
|
* Remove tempmon mail templates
|
|
|
|
|
|
|
|
|
2016-12-10 09:20:04 -06:00
|
|
|
0.7.49 (2016-12-10)
|
|
|
|
-------------------
|
|
|
|
|
|
|
|
* Always add [STAGE] email prefix unless running in production mode
|
|
|
|
|
|
|
|
* Allow null values for cases/units when parsing CSV handheld file
|
|
|
|
|
|
|
|
* Add column for ``Purchase.department``
|
|
|
|
|
|
|
|
* Add ``PurchaseCredit`` and friends to schema
|
|
|
|
|
|
|
|
* Add ``util.pretty_quantity()`` convenience function
|
|
|
|
|
|
|
|
|
2016-12-08 12:10:14 -06:00
|
|
|
0.7.48 (2016-12-08)
|
|
|
|
-------------------
|
|
|
|
|
|
|
|
* Allow password to be set for ``make-user`` command
|
|
|
|
|
|
|
|
* Remove Lance from sample data
|
|
|
|
|
|
|
|
* Add support for importing plain password, for sample data
|
|
|
|
|
|
|
|
|
2016-12-05 19:01:18 -06:00
|
|
|
0.7.47 (2016-12-05)
|
|
|
|
-------------------
|
|
|
|
|
|
|
|
* Let email subject be rendered "raw" or as template
|
|
|
|
|
|
|
|
* Add base class for tempmon email config, for common sample data
|
|
|
|
|
|
|
|
* Add fab function for removing cached SSH host key
|
|
|
|
|
|
|
|
* Remove `tempmon-server` command (moved to rattail-tempmon project)
|
|
|
|
|
|
|
|
|
2016-11-30 16:57:51 -06:00
|
|
|
0.7.46 (2016-11-30)
|
|
|
|
-------------------
|
|
|
|
|
|
|
|
* Fix bug when checking probe readings in tempmon-server
|
|
|
|
|
|
|
|
|
2016-11-30 14:17:58 -06:00
|
|
|
0.7.45 (2016-11-30)
|
|
|
|
-------------------
|
|
|
|
|
|
|
|
* Fix some import bugs
|
|
|
|
|
|
|
|
|
2016-11-30 14:12:31 -06:00
|
|
|
0.7.44 (2016-11-30)
|
|
|
|
-------------------
|
|
|
|
|
|
|
|
* Fix syntax bugs
|
|
|
|
|
|
|
|
|
2016-11-30 14:07:36 -06:00
|
|
|
0.7.43 (2016-11-30)
|
|
|
|
-------------------
|
|
|
|
|
|
|
|
* Fix tempmon-server logic a bit, add default email config
|
|
|
|
|
|
|
|
|
2016-11-30 13:36:12 -06:00
|
|
|
0.7.42 (2016-11-30)
|
|
|
|
-------------------
|
|
|
|
|
|
|
|
* Add ``tempmon-server`` command to start/top daemon
|
|
|
|
|
|
|
|
|
2016-11-22 12:55:39 -06:00
|
|
|
0.7.41 (2016-11-22)
|
|
|
|
-------------------
|
|
|
|
|
|
|
|
* Add support for generic pricing batch
|
|
|
|
|
|
|
|
* Add initial tempmon data models, server daemon
|
|
|
|
|
|
|
|
* Fix bug in vendor item code lookup for invoice batch refresh
|
|
|
|
|
|
|
|
|
2016-11-21 14:37:59 -06:00
|
|
|
0.7.40 (2016-11-21)
|
|
|
|
-------------------
|
|
|
|
|
|
|
|
* Add basic support for receive/cost mode for purchase batches
|
|
|
|
|
|
|
|
* Cleanup refresh logic a bit, for vendor invoice batches
|
|
|
|
|
|
|
|
|
2016-11-19 21:01:08 -06:00
|
|
|
0.7.39 (2016-11-19)
|
|
|
|
-------------------
|
|
|
|
|
|
|
|
* Tweak label batch so that product-less rows are allowed
|
|
|
|
|
|
|
|
|
2016-11-19 19:47:22 -06:00
|
|
|
0.7.38 (2016-11-19)
|
|
|
|
-------------------
|
|
|
|
|
|
|
|
* Overhaul the new batch framework...
|
|
|
|
|
|
|
|
|
2016-11-17 12:44:32 -06:00
|
|
|
0.7.37 (2016-11-17)
|
|
|
|
-------------------
|
|
|
|
|
|
|
|
* Add ``RattailConfig.get_enum()`` method
|
|
|
|
|
|
|
|
* Delete vendor contact record when deleting associated person
|
|
|
|
|
|
|
|
|
2016-11-15 19:34:48 -06:00
|
|
|
0.7.36 (2016-11-15)
|
|
|
|
-------------------
|
|
|
|
|
|
|
|
* Fix wording for label batch row status
|
|
|
|
|
|
|
|
|
2016-11-14 17:50:23 -06:00
|
|
|
0.7.35 (2016-11-14)
|
|
|
|
-------------------
|
|
|
|
|
|
|
|
* Add ``Vendor.fax_number`` convenience property
|
|
|
|
|
|
|
|
* Add ``Person._vendor_contacts`` relationship
|
|
|
|
|
|
|
|
* Make ``ProductCost.case_size`` a decimal instead of integer
|
|
|
|
|
|
|
|
* Make 'rattail.pod' config a bit more sane
|
|
|
|
|
|
|
|
* Add support for importing ``Product.category_code``
|
|
|
|
|
|
|
|
|
2016-11-10 17:36:10 -06:00
|
|
|
0.7.34 (2016-11-10)
|
|
|
|
-------------------
|
|
|
|
|
|
|
|
* Add ``session.no_autoflush`` block when importer creates new SQLAlchemy object
|
|
|
|
|
|
|
|
|
2016-11-08 19:36:13 -06:00
|
|
|
0.7.33 (2016-11-08)
|
|
|
|
-------------------
|
|
|
|
|
|
|
|
* Tweak signature for ``util.progress_loop()`` for simplicity
|
|
|
|
|
|
|
|
* Add ``Purchase`` and ``PurchaseBatch`` data models, etc.
|
|
|
|
|
|
|
|
* Add ``LabelBatch`` feature, creatable from handheld batch, product query etc.
|
|
|
|
|
|
|
|
* Add ``include_deleted`` flag to product lookup api
|
|
|
|
|
|
|
|
* Improve relationship between product and batch rows which reference it
|
|
|
|
|
|
|
|
|
2016-11-04 16:43:55 -05:00
|
|
|
0.7.32 (2016-11-04)
|
|
|
|
-------------------
|
|
|
|
|
|
|
|
* Add ``importing.FromDjango`` base class
|
|
|
|
|
|
|
|
* Tweak console progress a bit
|
|
|
|
|
|
|
|
|
2016-11-01 10:27:55 -05:00
|
|
|
0.7.31 (2016-11-01)
|
|
|
|
-------------------
|
|
|
|
|
|
|
|
* Fix bug in ``util.progress_loop()`` when no progress factory provided
|
|
|
|
|
|
|
|
|
2016-10-31 12:06:16 -05:00
|
|
|
0.7.30 (2016-10-31)
|
|
|
|
-------------------
|
|
|
|
|
|
|
|
* Fix bug in customer importer when used via datasync
|
|
|
|
|
|
|
|
|
2016-10-27 18:58:32 -05:00
|
|
|
0.7.29 (2016-10-27)
|
|
|
|
-------------------
|
|
|
|
|
|
|
|
* Improve handling of Albert's invoice when item has no case quantity
|
|
|
|
|
|
|
|
* Add ``datasync.watchers.NullWatcher``, auto-triggered by 'null' watcher spec
|
|
|
|
|
|
|
|
* Add basic API docs for ``rattail.importing`` package
|
|
|
|
|
|
|
|
* Refactor some rattail model importers so datasync may leverage them
|
|
|
|
|
|
|
|
* Fix timing bug when importing new product cost data
|
|
|
|
|
|
|
|
|
2016-10-26 16:10:52 -05:00
|
|
|
0.7.28 (2016-10-26)
|
|
|
|
-------------------
|
|
|
|
|
|
|
|
* Lots of fablib changes...see commit log
|
|
|
|
|
|
|
|
* Fix .gitignore filename in project scaffold
|
|
|
|
|
|
|
|
* Fix permission checks, add 'become root' for web menu in scaffold
|
|
|
|
|
|
|
|
* Add workaround for Employee importer, if no Person is attached
|
|
|
|
|
|
|
|
* Fix a bug with win32 filemon when watching for locks
|
|
|
|
|
|
|
|
|
2016-10-19 13:52:56 -05:00
|
|
|
0.7.27 (2016-10-19)
|
|
|
|
-------------------
|
|
|
|
|
|
|
|
* Add ``util.progress_loop()`` convenience function
|
|
|
|
|
|
|
|
* Improve default behavior for ``BatchHandler.refresh_data()``
|
|
|
|
|
|
|
|
* Add department number/name columns to product batch rows
|
|
|
|
|
|
|
|
* Add ``fablib`` modules: postfix, certbot, corepos, apache
|
|
|
|
|
|
|
|
* Improve various fablib modules: apt, postgresql, mysql
|
|
|
|
|
|
|
|
* Assume owner name means user:group in ``fablib.mkdir()``
|
|
|
|
|
|
|
|
* Add ``fablib.set_timezone()`` convenience function
|
|
|
|
|
|
|
|
* Stop granting all perms to 'admin' role (per "become root" tailbone feature)
|
|
|
|
|
|
|
|
* Accept extra context when deploying mako template via fablib
|
|
|
|
|
|
|
|
|
2016-10-10 11:37:32 -05:00
|
|
|
0.7.26 (2016-10-10)
|
|
|
|
-------------------
|
|
|
|
|
|
|
|
* Fix chicken vs egg bug when reading db config
|
|
|
|
|
|
|
|
* Add ``rattail import-sample`` command for dev/test bootstrap etc.
|
|
|
|
|
|
|
|
* Add ``rattail make-config`` command for dev/test bootstrap etc.
|
|
|
|
|
|
|
|
* Add ``rattail make-appdir`` command for dev/test bootstrap etc.
|
|
|
|
|
|
|
|
* Add ``rattail make-uuid`` command for convenience
|
|
|
|
|
|
|
|
* Add first version of project template (pyramid scaffold)
|
|
|
|
|
|
|
|
* Overhaul ``rattail make-user`` command to support multiple systems
|
|
|
|
|
|
|
|
* Remove deprecated commands: ``adduser``, ``initdb``
|
|
|
|
|
|
|
|
* Add some functions for use with sms-admin utility
|
|
|
|
|
|
|
|
* Add generic ``rattail.util.prettify()`` function
|
|
|
|
|
|
|
|
|
2016-10-05 14:55:28 -05:00
|
|
|
0.7.25 (2016-10-05)
|
|
|
|
-------------------
|
|
|
|
|
|
|
|
* Be smarter when caching department data, in some importers
|
|
|
|
|
|
|
|
|
2016-10-04 22:04:07 -05:00
|
|
|
0.7.24 (2016-10-04)
|
|
|
|
-------------------
|
|
|
|
|
|
|
|
* Let import handler's ``warnings`` flag get passed to importers
|
|
|
|
|
|
|
|
* Let SQLAlchemy-targeting importer override local cache query
|
|
|
|
|
|
|
|
* Add ``RattailConfig.setdb()`` method, for ad-hoc settings
|
|
|
|
|
|
|
|
|
2016-10-04 12:53:18 -05:00
|
|
|
0.7.23 (2016-10-04)
|
|
|
|
-------------------
|
|
|
|
|
|
|
|
* Fix minor bugs with Rattail -> Rattail data importers
|
|
|
|
|
|
|
|
|
2016-10-04 12:43:38 -05:00
|
|
|
0.7.22 (2016-10-04)
|
|
|
|
-------------------
|
|
|
|
|
|
|
|
* Fix optimizations for Rattail -> Rattail data importers
|
|
|
|
|
|
|
|
|
2016-09-28 20:02:42 -05:00
|
|
|
0.7.21 (2016-09-28)
|
|
|
|
-------------------
|
|
|
|
|
|
|
|
* Always warn if duplicate keys detected when caching a data model
|
|
|
|
|
|
|
|
* Add ``Category.code`` to schema
|
|
|
|
|
|
|
|
|
2016-09-27 19:41:45 -05:00
|
|
|
0.7.20 (2016-09-27)
|
|
|
|
-------------------
|
|
|
|
|
|
|
|
* Fix typo bug
|
|
|
|
|
|
|
|
|
2016-09-26 15:14:08 -05:00
|
|
|
0.7.19 (2016-09-26)
|
|
|
|
-------------------
|
|
|
|
|
|
|
|
* Refactor some things to avoid unwanted eager imports
|
|
|
|
|
|
|
|
* Add customization hook for identifying product for vendor catalog row
|
|
|
|
|
|
|
|
* Log traceback when error happens for filemon action
|
|
|
|
|
|
|
|
* Add 'refreshable' flag to batch handler
|
|
|
|
|
|
|
|
* Add basic phone number validation logic, tweak email validation
|
|
|
|
|
|
|
|
* Add "full" model importer support, for sake of SMS -> Rattail
|
|
|
|
|
|
|
|
* Tweak base importer logic to allow for *not* creating new object
|
|
|
|
|
|
|
|
|
2016-08-23 16:57:20 -05:00
|
|
|
0.7.18 (2016-08-23)
|
|
|
|
-------------------
|
|
|
|
|
|
|
|
* Add support for raw RattailCE data files for handheld batches
|
|
|
|
|
|
|
|
* Auto-associate batch row class with batch class
|
|
|
|
|
|
|
|
* Add ``BaseFileBatchMixin`` in hopes it makes sense...
|
|
|
|
|
|
|
|
* Skip 'removed' rows when creating inventory batch from handheld batch
|
|
|
|
|
|
|
|
* Add "count mode" for inventory batches
|
|
|
|
|
|
|
|
* When deleting batch, only try to delete its file if it has a filename
|
|
|
|
|
|
|
|
|
2016-08-18 18:35:49 -05:00
|
|
|
0.7.17 (2016-08-18)
|
|
|
|
-------------------
|
|
|
|
|
|
|
|
* Fix import bug in inventory batch handler
|
|
|
|
|
|
|
|
* Add hostname to filemon action error email
|
|
|
|
|
|
|
|
|
2016-08-17 17:20:36 -05:00
|
|
|
0.7.16 (2016-08-17)
|
|
|
|
-------------------
|
|
|
|
|
|
|
|
* Allow extra kwargs to be passed to new-style batch handler execute() method
|
|
|
|
|
|
|
|
* Add system-wide unique ID for new-style batches
|
|
|
|
|
|
|
|
* Add new 'handheld' and 'inventory' batches
|
|
|
|
|
|
|
|
|
2016-08-13 21:51:13 -05:00
|
|
|
0.7.15 (2016-08-13)
|
|
|
|
-------------------
|
|
|
|
|
|
|
|
* Add basic retry mechanism to datasync ``watcher.get_changes()`` logic
|
|
|
|
|
|
|
|
* Tweak logic for determining effective importers, in datasync consumer
|
|
|
|
|
|
|
|
|
2016-08-12 20:31:40 -05:00
|
|
|
0.7.14 (2016-08-12)
|
|
|
|
-------------------
|
|
|
|
|
|
|
|
* Add common config for filemon error emails
|
|
|
|
|
|
|
|
|
2016-08-12 17:16:39 -05:00
|
|
|
0.7.13 (2016-08-12)
|
|
|
|
-------------------
|
|
|
|
|
|
|
|
* Send proper email when filemon encounters error while invoking action
|
|
|
|
|
|
|
|
* Add ``RattailConfig.getdate()`` convenience method
|
|
|
|
|
|
|
|
* Add datasync URL to email template for watcher errors
|
|
|
|
|
|
|
|
|
2016-08-10 19:57:33 -05:00
|
|
|
0.7.12 (2016-08-10)
|
|
|
|
-------------------
|
|
|
|
|
|
|
|
* Log warning instead of error when datasync watcher fails to get changes
|
|
|
|
|
|
|
|
|
2016-08-10 16:58:14 -05:00
|
|
|
0.7.11 (2016-08-10)
|
|
|
|
-------------------
|
|
|
|
|
|
|
|
* Add FormEncode as official dependency
|
|
|
|
|
|
|
|
* Add custom email for datasync ``watcher.get_changes()`` errors
|
|
|
|
|
|
|
|
|
2016-08-10 14:29:23 -05:00
|
|
|
0.7.10 (2016-08-10)
|
|
|
|
-------------------
|
|
|
|
|
|
|
|
* Add ``batch_filedir()`` and ``batch_filepath()`` methods to main config object
|
|
|
|
|
|
|
|
* Add simple email validator to ``db.util`` module
|
|
|
|
|
|
|
|
|
2016-08-09 13:19:14 -05:00
|
|
|
0.7.9 (2016-08-09)
|
|
|
|
------------------
|
|
|
|
|
|
|
|
* Add product flags for food stamps and tax 1/2/3
|
|
|
|
|
|
|
|
* Add ``GPC.type2_upc`` convenience attribute
|
|
|
|
|
|
|
|
|
2016-07-27 21:43:47 -05:00
|
|
|
0.7.8 (2016-07-27)
|
|
|
|
------------------
|
|
|
|
|
|
|
|
* Move ``cache_model()`` method to core ``Importer`` class
|
|
|
|
|
|
|
|
* Let ``make_utc()`` use current time as default
|
|
|
|
|
|
|
|
|
2016-07-08 01:05:59 -05:00
|
|
|
0.7.7 (2016-07-08)
|
|
|
|
------------------
|
|
|
|
|
|
|
|
* Add ``Importer.fields_active()`` convenience method
|
|
|
|
|
|
|
|
* Tweak CSS to preserve whitespace in import diff email field values
|
|
|
|
|
|
|
|
|
2016-06-17 13:08:50 -05:00
|
|
|
0.7.6 (2016-06-17)
|
|
|
|
------------------
|
|
|
|
|
|
|
|
* Fix timezone bug in shift ``get_date()`` method
|
|
|
|
|
|
|
|
* Add special 'authenticated' role, for easier permission management
|
|
|
|
|
|
|
|
* Add convenience attributes to ``GPC`` class (``data_str`` and ``data_length``)
|
|
|
|
|
|
|
|
* Force session flush after processing changes in datasync consumer thread
|
|
|
|
|
|
|
|
|
2016-06-10 17:07:27 -05:00
|
|
|
0.7.5 (2016-06-10)
|
|
|
|
------------------
|
|
|
|
|
|
|
|
* Add initial/basic support for Shinken monitoring software
|
|
|
|
|
|
|
|
* Add generic daemon init script
|
|
|
|
|
|
|
|
* Add support for more fields to Employee data importer
|
|
|
|
|
|
|
|
* Add default logic for obtaining importers from handler, in new datasync consumer
|
|
|
|
|
|
|
|
|
2016-06-01 22:18:36 -05:00
|
|
|
0.7.4 (2016-06-01)
|
|
|
|
------------------
|
|
|
|
|
|
|
|
* Never update local object's key field(s) when importing
|
|
|
|
|
|
|
|
* Add simple attribute so handlers can override diff count in warning emails
|
|
|
|
|
|
|
|
|
2016-05-27 14:19:36 -05:00
|
|
|
0.7.3 (2016-05-27)
|
|
|
|
------------------
|
|
|
|
|
|
|
|
* Add logic for skipping deletion if no key, in import-based datasync consumer
|
|
|
|
|
|
|
|
|
2016-05-26 15:25:56 -05:00
|
|
|
0.7.2 (2016-05-26)
|
|
|
|
------------------
|
|
|
|
|
|
|
|
* Remove redundant "flush" handling from ``ToSQLAlchemy`` importer
|
|
|
|
|
|
|
|
* Add comma formatting to counts within import warning diff emails
|
|
|
|
|
|
|
|
* Fix delete behavior for ``ToSQLAlchemy`` importer (don't expunge)
|
|
|
|
|
|
|
|
* Add datasync consumer base class for new-style importers
|
|
|
|
|
|
|
|
* Add support for preferred field in new phone/email importers
|
|
|
|
|
|
|
|
* Default to empty list for cache query options in SQLAlchemy importers
|
|
|
|
|
|
|
|
|
2016-05-17 16:26:31 -05:00
|
|
|
0.7.1 (2016-05-17)
|
|
|
|
------------------
|
|
|
|
|
|
|
|
* More tweaks for new importer framework:
|
|
|
|
* Pass ``args`` all the way from command -> handler -> importer
|
|
|
|
* Add ``BulkImporter`` and ``BulkImportHandler`` base classes
|
|
|
|
* Add ``ToRattailHandler``, ``FromRattailHandler`` for convenience
|
|
|
|
* Add ``ImportHandler.commit_partial_host`` flag and logic
|
|
|
|
* Add ``Importer.empty_local_data`` flag and logic
|
|
|
|
* Fix bug where ``Importer.delete`` flag was ON by default
|
|
|
|
* Add ``ImportSubcommand.handler_spec`` for simpler subclass config
|
|
|
|
* Add "batching" support, with ``--batch`` command line arg
|
|
|
|
|
|
|
|
* Remove deprecated Rattail -> Rattail importers
|
|
|
|
|
|
|
|
|
2016-05-14 11:07:13 -05:00
|
|
|
0.7.0 (2016-05-14)
|
|
|
|
------------------
|
|
|
|
|
|
|
|
* Add new/final importing framework, with full test coverage.
|
|
|
|
|
|
|
|
* Refactor ``import-rattail`` and ``import-rattail-bulk`` per new framework.
|
|
|
|
|
|
|
|
* Add ``AdminUser`` import model, for use with ``import-rattail``.
|
|
|
|
|
|
|
|
|
2016-05-11 13:49:30 -05:00
|
|
|
0.6.26 (2016-05-11)
|
|
|
|
-------------------
|
|
|
|
|
|
|
|
* Pseudo-release to work around PyPI bug?
|
|
|
|
|
|
|
|
|
2016-05-11 13:46:17 -05:00
|
|
|
0.6.25 (2016-05-11)
|
|
|
|
-------------------
|
|
|
|
|
|
|
|
* Remove unused 'ignore role changes' flag for data change recorder.
|
|
|
|
|
|
|
|
* Grow size of "change key" columns to 255 chars.
|
|
|
|
|
|
|
|
* Refactor "record changes" mechanism to allow custom behavior.
|
|
|
|
|
|
|
|
|
2016-05-07 11:59:13 -05:00
|
|
|
0.6.24 (2016-05-07)
|
|
|
|
-------------------
|
|
|
|
|
|
|
|
* Fix bug when importing new Employee record.
|
|
|
|
|
|
|
|
|
2016-05-06 11:34:43 -05:00
|
|
|
0.6.23 (2016-05-06)
|
|
|
|
-------------------
|
|
|
|
|
|
|
|
* Remove alembic import from ``db.util`` module.
|
|
|
|
|
|
|
|
|
2016-05-05 16:28:40 -05:00
|
|
|
0.6.22 (2016-05-05)
|
|
|
|
-------------------
|
|
|
|
|
|
|
|
* Refactor scheduled/worked shift models to share some logic.
|
|
|
|
|
|
|
|
* Make 'tests' a proper subpackage again; add some tests.
|
|
|
|
|
|
|
|
|
2016-05-03 14:42:21 -05:00
|
|
|
0.6.21 (2016-05-03)
|
|
|
|
-------------------
|
|
|
|
|
|
|
|
* Fix bug in ``format_phone_number()`` function.
|
|
|
|
|
|
|
|
|
2016-05-03 10:46:14 -05:00
|
|
|
0.6.20 (2016-05-03)
|
|
|
|
-------------------
|
|
|
|
|
|
|
|
* Fix line endings for email templates.
|
|
|
|
|
|
|
|
* Add ``--timeout`` arg support to ``datasync wait`` command.
|
|
|
|
|
|
|
|
* Refactor where phone number normalization logic lives.
|
|
|
|
|
|
|
|
|
2016-05-02 15:19:17 -05:00
|
|
|
0.6.19 (2016-05-02)
|
|
|
|
-------------------
|
|
|
|
|
|
|
|
* Add basic user feedback email template.
|
|
|
|
|
|
|
|
* Add ``.gitattributes`` file to enforce DOS line endings for mail templates.
|
|
|
|
|
|
|
|
* Rename original ``ImportSubcommand`` to ``OldImportSubcommand``.
|
|
|
|
|
|
|
|
* Add support for 'normalized_number' field in phone importer.
|
|
|
|
|
|
|
|
|
2016-04-29 15:40:56 -05:00
|
|
|
0.6.18 (2016-04-29)
|
|
|
|
-------------------
|
|
|
|
|
|
|
|
* Add empty ``Watcher.process_changes()`` method for datasync.
|
|
|
|
|
|
|
|
|
2016-04-28 18:34:18 -05:00
|
|
|
0.6.17 (2016-04-28)
|
|
|
|
-------------------
|
|
|
|
|
|
|
|
* Add ``RattailConfig.workdir()`` convenience method.
|
|
|
|
|
|
|
|
* Add ``time.get_sunday()`` convenience function.
|
|
|
|
|
|
|
|
* Add ``ScheduledShift`` model to schema.
|
|
|
|
|
|
|
|
|
2016-04-26 14:29:43 -05:00
|
|
|
0.6.16 (2016-04-26)
|
|
|
|
-------------------
|
|
|
|
|
|
|
|
* Tweak default behavior for importer-based datasync consumer.
|
|
|
|
|
|
|
|
|
2016-04-26 12:59:50 -05:00
|
|
|
0.6.15 (2016-04-26)
|
|
|
|
-------------------
|
|
|
|
|
|
|
|
* Tweak when we add new data instance to session, to avoid premature flushes.
|
|
|
|
|
|
|
|
|
2016-04-25 19:48:01 -05:00
|
|
|
0.6.14 (2016-04-25)
|
|
|
|
-------------------
|
|
|
|
|
|
|
|
* Add ``WorkedShift`` data model to schema, importer.
|
|
|
|
|
|
|
|
* Add bulk Rattail importer, plus various tweaks.
|
|
|
|
|
|
|
|
|
2016-04-24 17:29:44 -05:00
|
|
|
0.6.13 (2016-04-24)
|
|
|
|
-------------------
|
|
|
|
|
|
|
|
* Add ``add_mail_alias()`` fabric function.
|
|
|
|
|
|
|
|
* Add ``Watcher.setup()`` method for datasync.
|
|
|
|
|
|
|
|
* Add ``Consumer.setup()`` method for datasync.
|
|
|
|
|
|
|
|
* Skip data sync for "empty" host record, in importer-based consumers.
|
|
|
|
|
|
|
|
* Add ``config.parse_bool()`` function.
|
|
|
|
|
|
|
|
* Add ``model_mapper`` and ``model_table`` attributes to base importer class.
|
|
|
|
|
|
|
|
* Add base importer and handler for PostgreSQL "bulk copy" importing.
|
|
|
|
|
|
|
|
.* Add ``--start-date`` and ``--end-date`` args to importer command.
|
|
|
|
|
|
|
|
* Add ``RattailConfig.production()`` method.
|
|
|
|
|
|
|
|
* Add multi-batch change transaction support for datasync consumers.
|
|
|
|
|
|
|
|
* Provide method by which importers may prevent create/update/delete.
|
|
|
|
|
|
|
|
* Add ``data`` kwarg to ``Importer.cache_instance_data()`` method.
|
|
|
|
|
|
|
|
* Alter ``make_utc()`` function to allow returning zone-aware time.
|
|
|
|
|
|
|
|
* Add initial begin/rollback/commit abstraction to import handlers.
|
|
|
|
|
|
|
|
* Add ``invoke_importer()`` method to datasync import consumers.
|
|
|
|
|
|
|
|
|
2016-04-12 14:27:24 -05:00
|
|
|
0.6.12 (2016-04-12)
|
|
|
|
-------------------
|
|
|
|
|
|
|
|
* Fix bug where ``usedb`` flag wasn't being set from ``make_config()``.
|
|
|
|
|
|
|
|
|
2016-04-06 11:45:44 -05:00
|
|
|
0.6.11 (2016-04-06)
|
|
|
|
-------------------
|
|
|
|
|
|
|
|
* Fix bug in ProductCode importer when new records are created.
|
|
|
|
|
|
|
|
|
2016-04-05 22:16:24 -05:00
|
|
|
0.6.10 (2016-04-05)
|
|
|
|
-------------------
|
|
|
|
|
|
|
|
* Fix config bug for recording changes in rattail db.
|
|
|
|
|
|
|
|
|
2016-04-05 13:12:56 -05:00
|
|
|
0.6.9 (2016-04-05)
|
|
|
|
------------------
|
|
|
|
|
|
|
|
* Tweak import logging and warning email templates; add runtime etc.
|
|
|
|
|
|
|
|
* Tweak some logging when initial/basic changes are recorded.
|
|
|
|
|
|
|
|
* Improve the core importer class to better allow non-SQLAlchemy targets.
|
|
|
|
|
|
|
|
* Add new importer-based datasync consumer class.
|
|
|
|
|
|
|
|
* Make a copy of the ``RecordRenderer`` class for new importer framework.
|
|
|
|
|
|
|
|
* Add host session to main transaction, when importing from SQLAlchemy.
|
|
|
|
|
|
|
|
* Add mechanism to record changes only for sessions on certain engines.
|
|
|
|
|
|
|
|
* Add ``Importer.get_single_instance()`` for easier customization.
|
|
|
|
|
|
|
|
|
2016-03-11 17:22:34 -06:00
|
|
|
0.6.8 (2016-03-11)
|
|
|
|
------------------
|
|
|
|
|
|
|
|
* Fix ``cmp(GPC)`` behavior when ``other`` is None etc.
|
|
|
|
|
|
|
|
|
2016-02-27 18:53:45 -06:00
|
|
|
0.6.7 (2016-02-27)
|
|
|
|
------------------
|
|
|
|
|
|
|
|
* Add initial color-coded diffs to data import warning emails.
|
|
|
|
|
|
|
|
* Fix bug with importing of customer first/last name.
|
|
|
|
|
|
|
|
* Tweak ``unicode(Employee)`` output.
|
|
|
|
|
|
|
|
|
2016-02-27 14:02:49 -06:00
|
|
|
0.6.6 (2016-02-27)
|
|
|
|
------------------
|
|
|
|
|
|
|
|
* Add ``date_argument`` back to ``rattail.commands`` root.
|
|
|
|
|
|
|
|
|
2016-02-27 13:08:43 -06:00
|
|
|
0.6.5 (2016-02-27)
|
|
|
|
------------------
|
2016-02-27 13:05:54 -06:00
|
|
|
|
|
|
|
* Make ``commands`` subpackage, add ``rattail-dev`` command.
|
|
|
|
|
|
|
|
* Tweak logging wording when datasync threads die from error.
|
|
|
|
|
|
|
|
|
2016-02-11 21:20:30 -06:00
|
|
|
0.6.4
|
|
|
|
-----
|
|
|
|
|
|
|
|
* Make sure message recipients are unique.
|
|
|
|
|
|
|
|
* Tweak some wording on data import warnings email template.
|
|
|
|
|
|
|
|
|
2016-02-10 15:20:03 -06:00
|
|
|
0.6.3
|
|
|
|
-----
|
|
|
|
|
|
|
|
* Tweak logging, warning template for new data importers.
|
|
|
|
|
|
|
|
|
2016-02-08 19:44:27 -06:00
|
|
|
0.6.2
|
|
|
|
-----
|
|
|
|
|
|
|
|
* Make config object's underlying db session somewhat configurable.
|
|
|
|
|
|
|
|
|
2016-02-08 15:36:37 -06:00
|
|
|
0.6.1
|
|
|
|
-----
|
|
|
|
|
|
|
|
* Fix bug in Rattail->Rattail import handler.
|
|
|
|
|
|
|
|
|
2016-02-08 14:32:02 -06:00
|
|
|
0.6.0
|
|
|
|
-----
|
|
|
|
|
|
|
|
* Add new importing framework, yay!
|
|
|
|
|
|
|
|
* Fix support for 'full_name' field in employee data importer.
|
|
|
|
|
|
|
|
* Tweak some ORM mappings, to support cascading deletes.
|
|
|
|
|
|
|
|
* Add ``Message.has_recipient()`` method.
|
|
|
|
|
|
|
|
|
2016-02-04 17:50:27 -06:00
|
|
|
0.5.36
|
|
|
|
------
|
|
|
|
|
|
|
|
* Tweak how changes are sorted by class name, in Rattail datasync consumer.
|
|
|
|
|
|
|
|
* Add ``metadata`` kwarg to the topographical sortkey function maker.
|
|
|
|
|
|
|
|
|
2016-02-02 19:53:28 -06:00
|
|
|
0.5.35
|
|
|
|
------
|
|
|
|
|
|
|
|
* Change how we sort dependencies when processing datasync changes for rattail.
|
|
|
|
|
|
|
|
* Tweak how ``Person.display_name`` is handled during data import.
|
|
|
|
|
|
|
|
|
2016-02-02 12:08:21 -06:00
|
|
|
0.5.34
|
|
|
|
------
|
|
|
|
|
|
|
|
* Check for null password before attempting bcrypt authentication.
|
|
|
|
|
|
|
|
* Add recursion support to table dependency sorter function.
|
|
|
|
|
|
|
|
|
2016-02-01 11:24:55 -06:00
|
|
|
0.5.33
|
|
|
|
------
|
|
|
|
|
|
|
|
* Increase field size for ``Change.class_name``.
|
|
|
|
|
|
|
|
|
2016-01-30 16:33:33 -06:00
|
|
|
0.5.32
|
|
|
|
------
|
|
|
|
|
|
|
|
* Sort department associations by name, by default.
|
|
|
|
|
|
|
|
* Add ``EmployeeStore`` association model, with import.
|
|
|
|
|
|
|
|
* Record change on employee when store/dept association are deleted.
|
|
|
|
|
|
|
|
|
2016-01-22 14:47:52 -06:00
|
|
|
0.5.31
|
|
|
|
------
|
|
|
|
|
|
|
|
* Give vendor catalog rows a default description of empty string.
|
|
|
|
|
|
|
|
* Tweak how vendor catalog parsers interpret decimal values.
|
|
|
|
|
|
|
|
* Change how a vendor catalog batch gets its vendor (parser needn't declare one).
|
|
|
|
|
|
|
|
* Make upgrade of pip optional when doing ``mkvirtualenv()`` via fabric.
|
|
|
|
|
2014-05-20 11:16:21 -05:00
|
|
|
|
2016-01-18 19:15:56 -06:00
|
|
|
0.5.30
|
|
|
|
------
|
|
|
|
|
|
|
|
* Add temp hack to avoid ``Person.modified`` when doing a data dump.
|
|
|
|
|
|
|
|
* Only compare 'effective' fields when checking data diff during import.
|
|
|
|
|
|
|
|
* Add import normalizers for Department and Employee models.
|
|
|
|
|
|
|
|
* Add new ``EmployeeDepartment`` model, and importer.
|
|
|
|
|
|
|
|
|
2016-01-17 12:59:34 -06:00
|
|
|
0.5.29
|
|
|
|
------
|
|
|
|
|
|
|
|
* Bugfix; remove ``progress`` kwarg from (another) importing ``setup()`` method.
|
|
|
|
|
|
|
|
|
2016-01-13 16:41:54 -06:00
|
|
|
0.5.28
|
|
|
|
------
|
|
|
|
|
|
|
|
* Add ``Importer.normalizer_class`` default attribute.
|
|
|
|
|
|
|
|
|
2016-01-13 13:18:04 -06:00
|
|
|
0.5.27
|
|
|
|
------
|
|
|
|
|
|
|
|
* Add ``User.employee`` convenience attribute.
|
|
|
|
|
|
|
|
* Remove Python 2.6 from supported versions in trove classifiers.
|
|
|
|
|
|
|
|
* Don't use db when fetching timezone from config.
|
|
|
|
|
|
|
|
* Remove ``progress`` kwarg from db importing ``setup()`` methods.
|
|
|
|
|
|
|
|
* Change how 'ignored' models are handled for rattail datasync consumers.
|
|
|
|
|
|
|
|
* Add 'normalizer' concept to data importer.
|
|
|
|
|
|
|
|
* Add initial 'messages' support in schema/import.
|
|
|
|
|
|
|
|
* Add initial rattail->rattail data importer.
|
|
|
|
|
|
|
|
|
2016-01-10 02:25:07 -06:00
|
|
|
0.5.26
|
|
|
|
------
|
|
|
|
|
|
|
|
* Move "process warnings" logic for importers, to handler for simpler overriding.
|
|
|
|
|
|
|
|
|
2016-01-09 21:00:29 -06:00
|
|
|
0.5.25
|
|
|
|
------
|
|
|
|
|
|
|
|
* Add ``Person.middle_name`` and ``Person.modified``.
|
|
|
|
|
|
|
|
* Make datasync errors cause the parent thread to terminate.
|
|
|
|
|
|
|
|
|
2016-01-04 19:43:24 -06:00
|
|
|
0.5.24
|
|
|
|
------
|
|
|
|
|
|
|
|
* Add ``str(RattailError)`` logic.
|
|
|
|
|
|
|
|
* Tweak ``repr(Change)`` output, to add ``deleted`` flag.
|
|
|
|
|
|
|
|
* Make a more generic dependency sorting function, for datasync.
|
|
|
|
|
|
|
|
* Add ``Email.invalid`` flag.
|
|
|
|
|
|
|
|
* Record change for Person when email/phone is being deleted.
|
|
|
|
|
|
|
|
* Add ``MailingAddress`` to schema.
|
|
|
|
|
|
|
|
* Tweak cache API to allow caller to specify query, and prevent duplicate keys.
|
|
|
|
|
|
|
|
* Add support for importing ``CustomerPhoneNumber`` data.
|
|
|
|
|
|
|
|
* Tweak ORM relationship for ``CustomerPerson.customer``.
|
|
|
|
|
|
|
|
* Add ``teardown()`` method for cleanup after data importing.
|
|
|
|
|
|
|
|
* Add support for "preferred" pseudo-field when importing phone/email data.
|
|
|
|
|
|
|
|
|
2015-12-10 19:34:55 -06:00
|
|
|
0.5.23
|
|
|
|
------
|
|
|
|
|
|
|
|
* Add ``Category.products`` backref.
|
|
|
|
|
|
|
|
|
2015-12-09 19:14:31 -06:00
|
|
|
0.5.22
|
|
|
|
------
|
|
|
|
|
|
|
|
* Add ``uid`` param to ``bootstrap_rattail()`` fablib function.
|
|
|
|
|
|
|
|
* Add delete-orphan cascade for ``Person._customers`` relation.
|
|
|
|
|
|
|
|
|
2015-12-07 13:58:49 -06:00
|
|
|
0.5.21
|
|
|
|
------
|
|
|
|
|
|
|
|
* Don't warn when sending HTML-only email messages.
|
|
|
|
|
|
|
|
* Log debug instead of warning when duplicate cache key found.
|
|
|
|
|
|
|
|
* Return email/phone when adding to person.
|
|
|
|
|
|
|
|
|
2015-12-06 11:37:41 -06:00
|
|
|
0.5.20
|
|
|
|
------
|
|
|
|
|
|
|
|
* Add warning in ``db.cache.cache_model()`` when duplicate keys are found.
|
|
|
|
|
|
|
|
* Raise custom exception when no templates found for email.
|
|
|
|
|
|
|
|
|
2015-12-05 19:20:56 -06:00
|
|
|
0.5.19
|
|
|
|
------
|
|
|
|
|
|
|
|
* Add attachment support to ``mail.send_email()`` function.
|
|
|
|
|
|
|
|
* Add "wait for changes" support to datasync command.
|
|
|
|
|
|
|
|
|
2015-12-05 14:38:24 -06:00
|
|
|
0.5.18
|
|
|
|
------
|
|
|
|
|
|
|
|
* Replace ``rsync()`` function in fablib.
|
|
|
|
|
|
|
|
* Add ``Email.abstract`` attribute, and tweak fallback key.
|
|
|
|
|
|
|
|
|
2015-12-04 18:41:31 -06:00
|
|
|
0.5.17
|
|
|
|
------
|
|
|
|
|
|
|
|
* Overhaul email framework.
|
|
|
|
|
|
|
|
|
2015-12-01 19:34:20 -06:00
|
|
|
0.5.16
|
|
|
|
------
|
|
|
|
|
|
|
|
* Add support for 'primary' pseudo-field when importing product codes.
|
|
|
|
|
|
|
|
|
2015-12-01 18:18:55 -06:00
|
|
|
0.5.15
|
|
|
|
------
|
|
|
|
|
|
|
|
* Fix possible bug when importing cost preferences.
|
|
|
|
|
|
|
|
* Fix bug in importer, when there are no source data records.
|
|
|
|
|
|
|
|
|
2015-11-30 14:40:48 -06:00
|
|
|
0.5.14
|
|
|
|
------
|
|
|
|
|
|
|
|
* Add ``files.move_lpt()`` function, remove ``minimal_move()``.
|
|
|
|
|
|
|
|
|
2015-11-30 12:51:40 -06:00
|
|
|
0.5.13
|
|
|
|
------
|
|
|
|
|
|
|
|
* Fix the db 'dump' function to use unicode and utf-8 file encoding.
|
|
|
|
|
|
|
|
* Add ``files.minimal_move()`` function, for "moving" files to LPT ports.
|
|
|
|
|
|
|
|
|
2015-11-25 02:35:00 -06:00
|
|
|
0.5.12
|
|
|
|
------
|
|
|
|
|
|
|
|
* Install ndg-httpsclient also, when installing pip site-wide.
|
|
|
|
|
|
|
|
* Fix edge case bug when importing $0 product prices.
|
|
|
|
|
|
|
|
|
2015-11-22 13:40:17 -06:00
|
|
|
0.5.11
|
|
|
|
------
|
|
|
|
|
|
|
|
* Add ``download_db()`` fablib functions for mysql, postgresql.
|
|
|
|
|
|
|
|
* Add ``configure_virtualenvwrapper()`` to fablib, for adding per-user config.
|
|
|
|
|
|
|
|
* Add ``Deployer`` class to fablib, for ``deploy.sudoers()`` support.
|
|
|
|
|
|
|
|
* Always install/upgrade pip and friends when making a new virtualenv.
|
|
|
|
|
|
|
|
* Check for existence of MySQL database before dropping it, in fablib.
|
|
|
|
|
|
|
|
* Add "watcher consumes self" concept to datasync daemon.
|
|
|
|
|
|
|
|
* Add time zone coercion to logged timestamps, if configuring logging in general.
|
|
|
|
|
|
|
|
|
2015-11-16 19:42:03 -06:00
|
|
|
0.5.10
|
|
|
|
------
|
|
|
|
|
|
|
|
* Add ``default.enabled`` config logic for ``rattail.mail``.
|
|
|
|
|
|
|
|
* Add ``ErrorTestConsumer`` for testing datasync error handling.
|
|
|
|
|
|
|
|
* General overhaul of ``rattail.fablib`` subpackage, to support online docs.
|
|
|
|
|
|
|
|
* Add Mako support to ``deploy()`` functions.
|
|
|
|
|
|
|
|
* Add ``rsync()`` function.
|
|
|
|
|
|
|
|
* Add ``bootstrap_rattail()`` function.
|
|
|
|
|
|
|
|
* Add ``get_debian_version()`` function.
|
|
|
|
|
|
|
|
* Fix subtle bug if email template not found.
|
|
|
|
|
|
|
|
* Revamp the ``initdb`` command a bit.
|
|
|
|
|
|
|
|
* Add ``db_model`` property to ``Command`` class.
|
|
|
|
|
|
|
|
* Add docs to ``release`` task.
|
|
|
|
|
|
|
|
|
2015-11-09 19:46:19 -06:00
|
|
|
0.5.9
|
|
|
|
-----
|
|
|
|
|
|
|
|
* Add ability to disable emails on a per-type basis.
|
|
|
|
|
|
|
|
* Add basic exception logging to datasync daemon.
|
|
|
|
|
|
|
|
* Clean up some logging calls when recording instance changes.
|
|
|
|
|
|
|
|
* Improve ``repr(Change)`` output.
|
|
|
|
|
|
|
|
* Add some more custom units of measure (packets, doses).
|
|
|
|
|
|
|
|
* Tweak startup logic involving config and logging.
|
|
|
|
|
|
|
|
|
2015-11-03 16:46:27 -06:00
|
|
|
0.5.8
|
|
|
|
-----
|
|
|
|
|
|
|
|
* Grow ``DataSyncChange.payload_type`` column.
|
|
|
|
|
|
|
|
|
2015-10-30 23:00:17 -05:00
|
|
|
0.5.7
|
|
|
|
-----
|
|
|
|
|
|
|
|
* Add ``Change.uuid`` as new primary key for the table.
|
|
|
|
|
|
|
|
* Add 'datasync' daemon.
|
|
|
|
|
|
|
|
* Add ``clonedb`` command.
|
|
|
|
|
|
|
|
* Remove version restriction for SQLAlchemy-Utils.
|
|
|
|
|
|
|
|
* Improve the ``localtime()`` function a bit.
|
|
|
|
|
|
|
|
* Tweak 'settings' API functions so they don't require a session.
|
|
|
|
|
|
|
|
|
2015-08-27 12:45:53 -05:00
|
|
|
0.5.6
|
|
|
|
-----
|
|
|
|
|
|
|
|
* Fix manifest to include email templates.
|
|
|
|
|
|
|
|
|
2015-08-25 13:40:49 -05:00
|
|
|
0.5.5
|
|
|
|
-----
|
|
|
|
|
|
|
|
* Add temporary hack for sake of WinCE label batches.
|
|
|
|
|
|
|
|
|
2015-08-24 19:21:35 -05:00
|
|
|
0.5.4
|
|
|
|
-----
|
|
|
|
|
|
|
|
* Add config to old ``BatchExecutor`` constructor.
|
|
|
|
|
|
|
|
* Add ``--no-extend-config`` arg to command line system, for sake of tests.
|
|
|
|
|
|
|
|
* Add support for "fallback key" when sending mail with config.
|
|
|
|
|
|
|
|
* Add ``ImportHandler`` class, update ``ImportSubcommand`` to use it etc.
|
|
|
|
|
|
|
|
|
2015-08-20 16:11:54 -05:00
|
|
|
0.5.3
|
|
|
|
-----
|
|
|
|
|
|
|
|
* Configure logging when initializing Windows services.
|
|
|
|
|
|
|
|
|
2015-08-20 14:41:46 -05:00
|
|
|
0.5.2
|
|
|
|
-----
|
|
|
|
|
|
|
|
* Fix another dang bug in ``config.get_user_dir()``.
|
|
|
|
|
|
|
|
|
2015-08-20 14:39:10 -05:00
|
|
|
0.5.1
|
|
|
|
-----
|
|
|
|
|
|
|
|
* Fix bug in ``config.get_user_file()`` signature.
|
|
|
|
|
|
|
|
|
2015-08-19 21:46:52 -05:00
|
|
|
0.5.0
|
|
|
|
-----
|
|
|
|
|
|
|
|
The main reason for the version bump here, is the removal of the 'edbob'
|
|
|
|
dependency. This has been a long-anticipated event.
|
|
|
|
|
|
|
|
* Fix cascade rules for user/role relationships.
|
|
|
|
|
|
|
|
* Add default ``repr()`` behavior to data model classes.
|
|
|
|
|
|
|
|
* Fix type bug in ``db.api.get_department()``.
|
|
|
|
|
|
|
|
* Add custom errors for when SA / Python for Windows Extensions not installed.
|
|
|
|
|
|
|
|
* Remove some unused/unwanted command line arguments.
|
|
|
|
|
|
|
|
* Move some config-related functions to ``rattail.db.config``.
|
|
|
|
|
|
|
|
* Overhaul config system, finally replacing edbob (yay!).
|
|
|
|
|
|
|
|
* Remove support for certain deprecated (edbob) config settings.
|
|
|
|
|
|
|
|
* Remove ``make-config`` command, and edbob dependency!
|
|
|
|
|
|
|
|
* Add ``config`` arg to ``labels.LabelFormatter`` constructor.
|
|
|
|
|
|
|
|
* Refactor guts of ``sil.consume_batch_id()`` function.
|
|
|
|
|
|
|
|
* Add optional ``progress`` arg to ``BatchHandler.execute()`` method.
|
|
|
|
|
|
|
|
|
2015-08-11 11:45:25 -05:00
|
|
|
0.4.30
|
|
|
|
------
|
|
|
|
|
|
|
|
* Add ``core.UNSPECIFIED`` convenience object.
|
|
|
|
|
|
|
|
* Fix data bug in ``user_x_role`` table.
|
|
|
|
|
|
|
|
|
2015-08-05 14:15:20 -05:00
|
|
|
0.4.29
|
|
|
|
------
|
|
|
|
|
|
|
|
* Add config for recycling IMAP connection in bouncer daemon.
|
|
|
|
|
|
|
|
|
2015-07-29 11:49:22 -05:00
|
|
|
0.4.28
|
|
|
|
------
|
|
|
|
|
|
|
|
* Add 2nd version of UNFI catalog parser.
|
|
|
|
|
|
|
|
|
2015-07-28 22:48:24 -05:00
|
|
|
0.4.27
|
|
|
|
------
|
|
|
|
|
|
|
|
* Ignore warnings about running on Python 2.6, we know it's an issue.
|
|
|
|
|
|
|
|
|
2015-07-28 20:18:13 -05:00
|
|
|
0.4.26
|
|
|
|
------
|
|
|
|
|
|
|
|
* Add version restriction for SQLAlchemy-Utils.
|
|
|
|
|
|
|
|
|
2015-07-27 21:01:29 -05:00
|
|
|
0.4.25
|
|
|
|
------
|
|
|
|
|
|
|
|
* Add initial support for email bounce schema, daemon etc.
|
|
|
|
|
|
|
|
|
2015-07-21 13:59:43 -05:00
|
|
|
0.4.24
|
|
|
|
------
|
|
|
|
|
|
|
|
* Add ``files.locking_copy_old()`` function...for now.
|
|
|
|
|
|
|
|
|
2015-07-20 17:05:30 -05:00
|
|
|
0.4.23
|
|
|
|
------
|
|
|
|
|
|
|
|
* Add ``get_store()`` API function.
|
|
|
|
|
|
|
|
* Add row to batch prior to cognizing the row. (If cognize fails, remove row
|
|
|
|
from batch.)
|
|
|
|
|
|
|
|
|
2015-07-15 21:00:30 -05:00
|
|
|
0.4.22
|
|
|
|
------
|
|
|
|
|
|
|
|
* Fix bug in KeHe invoice parser, if row has no UPC.
|
|
|
|
|
|
|
|
|
2015-07-15 18:39:54 -05:00
|
|
|
0.4.21
|
|
|
|
------
|
|
|
|
|
|
|
|
* Set default filename for file-based batches if it's safe to do so.
|
|
|
|
|
|
|
|
* Add ``MakeFileBatch`` generic filemon action.
|
|
|
|
|
|
|
|
* Add ``BatchHandler.executable()`` method, for sake of UI.
|
|
|
|
|
|
|
|
* In batch handlers, let ``cognize_row()`` return ``False`` to skip the row.
|
|
|
|
|
|
|
|
* Add ``date-organize`` command for help with archiving data files etc.
|
|
|
|
|
|
|
|
|
2015-07-04 14:33:43 -05:00
|
|
|
0.4.20
|
|
|
|
------
|
|
|
|
|
|
|
|
* Add support for configurable Reply-To address when sending email.
|
|
|
|
|
|
|
|
* Always upgrade pip (and install wheel) when "installing" pip.
|
|
|
|
|
|
|
|
* Add 'key' as 3rd positional / 1st keyword arg to ``cache_model()`` function.
|
|
|
|
|
|
|
|
* Give commands a proper ``RattailConfig`` object instance.
|
|
|
|
|
|
|
|
* Add ``RattailConfig.getint()`` method to allow a default value.
|
|
|
|
|
|
|
|
* Change behavior of ``files.locking_copy()`` function.
|
|
|
|
|
|
|
|
|
2015-06-29 19:50:41 -05:00
|
|
|
0.4.19
|
|
|
|
------
|
|
|
|
|
|
|
|
* Add basic support for email attachments.
|
|
|
|
|
|
|
|
|
2015-05-23 12:14:45 -05:00
|
|
|
0.4.18
|
|
|
|
------
|
|
|
|
|
|
|
|
* Don't normalize ``Employee.display_name`` to null, in importer.
|
|
|
|
|
|
|
|
|
2015-05-22 23:03:32 -05:00
|
|
|
0.4.17
|
|
|
|
------
|
|
|
|
|
|
|
|
* Don't change mode for 'app/log' folder in ``mkvirtualenv()``.
|
|
|
|
|
|
|
|
* Add config setting to globally disable sending of emails.
|
|
|
|
|
|
|
|
* Add ``User.get_email_address()`` and ``User.email_address``.
|
|
|
|
|
|
|
|
* Add ``mail.get_template()``; allow override of subject and recipients.
|
|
|
|
|
|
|
|
* Allow override of UID when creating system user via Fabric.
|
|
|
|
|
|
|
|
* Add ``grant_mysql_access()`` function for Fabric.
|
|
|
|
|
|
|
|
* Fix bug in ``create_mysql_user()`` Fabric function.
|
|
|
|
|
|
|
|
* Don't normalize customer name fields to ``None`` when importing.
|
|
|
|
|
|
|
|
|
2015-04-27 15:39:57 -05:00
|
|
|
0.4.16
|
|
|
|
------
|
|
|
|
|
|
|
|
* Add some SSH config stuff for Fabric.
|
|
|
|
|
|
|
|
* Add ``get_product_by_vendor_code()`` API function.
|
|
|
|
|
|
|
|
* Add ``PathNotFound`` exception, normalize to it within ``locking_copy_test()``.
|
|
|
|
|
|
|
|
|
2015-04-24 19:41:04 -05:00
|
|
|
0.4.15
|
|
|
|
------
|
|
|
|
|
|
|
|
* Add ``--max-updates`` arg to import commands.
|
|
|
|
|
|
|
|
|
2015-04-21 13:17:27 -05:00
|
|
|
0.4.14
|
|
|
|
------
|
|
|
|
|
|
|
|
* Don't normalize ``Product.size`` to null when importing.
|
|
|
|
|
|
|
|
|
2015-04-14 15:37:18 -05:00
|
|
|
0.4.13
|
|
|
|
------
|
|
|
|
|
|
|
|
* Fix constructors etc. for old-style batch providers.
|
|
|
|
|
|
|
|
|
2015-04-14 13:26:38 -05:00
|
|
|
0.4.12
|
|
|
|
------
|
|
|
|
|
|
|
|
* Normalize duplicate source records during data import.
|
|
|
|
|
|
|
|
* Make config a required arg to ``BatchProvider`` constructor.
|
|
|
|
|
|
|
|
* Tweak ``locking_copy_test()`` to assume destination is always a folder.
|
|
|
|
|
|
|
|
|
2015-04-13 23:17:53 -05:00
|
|
|
0.4.11
|
|
|
|
------
|
|
|
|
|
|
|
|
* Add ``Person.employee`` relationship and ``User.employee`` convenience
|
|
|
|
property.
|
|
|
|
|
|
|
|
* Change how customer phone data is handled in importer.
|
|
|
|
|
|
|
|
* Add ``get_department()`` API function.
|
|
|
|
|
|
|
|
* Tweak filemon and dbsync init scripts to avoid issue of root-owned log file.
|
|
|
|
|
|
|
|
* Add ``files.locking_copy_test()`` function.
|
|
|
|
|
|
|
|
|
2015-04-05 21:49:16 -05:00
|
|
|
0.4.10
|
|
|
|
------
|
|
|
|
|
|
|
|
* Don't normalize simple instance fields unless they're involved in the import.
|
|
|
|
|
|
|
|
* Log warning when duplicate key is detected during import.
|
|
|
|
|
|
|
|
|
2015-03-24 13:18:58 -05:00
|
|
|
0.4.9
|
|
|
|
-----
|
|
|
|
|
|
|
|
* Add ``UnicodeDictWriter`` and ``csvutil`` API docs.
|
|
|
|
|
|
|
|
* Various changes to allow custom commands to sit in front of non-Rattail
|
|
|
|
database.
|
|
|
|
|
|
|
|
* Tweak case quantity in Albert's invoice parser.
|
|
|
|
|
|
|
|
* Add ``--warnings`` flag to base import command.
|
|
|
|
|
|
|
|
* Fix phone number normalization for customer importer.
|
|
|
|
|
|
|
|
* Add ``DataProvider.int_()`` method for importers.
|
|
|
|
|
|
|
|
* Add supposed optimization for simple fields within importer.
|
|
|
|
|
|
|
|
|
2015-03-12 18:35:33 -05:00
|
|
|
0.4.8
|
|
|
|
-----
|
|
|
|
|
|
|
|
* Add unit of measure for cubic feet.
|
|
|
|
|
|
|
|
|
2015-03-12 10:39:43 -05:00
|
|
|
0.4.7
|
|
|
|
-----
|
|
|
|
|
|
|
|
* Stop normalizing some fields on data import.
|
|
|
|
|
|
|
|
* Catch import error when configuring db in command startup.
|
|
|
|
|
|
|
|
|
2015-03-11 21:24:41 -05:00
|
|
|
0.4.6
|
|
|
|
-----
|
|
|
|
|
|
|
|
* Add deposit links, taxes, product organic flag.
|
|
|
|
|
|
|
|
* Improve product and vendor schema some more.
|
|
|
|
|
|
|
|
* Revert to simple names and descriptions for model ``unicode()``.
|
|
|
|
|
|
|
|
* Add ``GPC.pretty()`` method.
|
|
|
|
|
|
|
|
* Add ``order_by`` kwarg to ``db.cache.cache_model()`` function.
|
|
|
|
|
|
|
|
* Add ``get_subdepartment()`` API function.
|
|
|
|
|
|
|
|
* Add duplicate UPC warning in ``ProductCost`` importer.
|
|
|
|
|
|
|
|
* Hopefully fix ``install_pip`` Fabric function.
|
|
|
|
|
|
|
|
|
2015-02-26 17:56:14 -06:00
|
|
|
0.4.5
|
|
|
|
-----
|
|
|
|
|
|
|
|
* Add ``status_text`` field to batch row tables.
|
|
|
|
|
|
|
|
* Add ``BatchHandler.make_batch()`` method.
|
|
|
|
|
|
|
|
* Add ``FileBatchHandler`` class.
|
|
|
|
|
|
|
|
* Add ``repr()`` for batch models.
|
|
|
|
|
|
|
|
* Add vendor catalog batch importer.
|
|
|
|
|
|
|
|
* Add vendor invoice batch importer.
|
|
|
|
|
|
|
|
* Add some docs for new batch system.
|
|
|
|
|
|
|
|
* Add initial ``RattailConfig`` class.
|
|
|
|
|
|
|
|
* Make sure ``unzip`` is installed when fabricating POD stuff.
|
|
|
|
|
|
|
|
* Fix some string formatting for Python 2.6.
|
|
|
|
|
|
|
|
|
2015-02-12 11:36:03 -06:00
|
|
|
0.4.4
|
|
|
|
-----
|
|
|
|
|
|
|
|
* Make ``Employee.person`` column unique.
|
|
|
|
|
|
|
|
* Try again to make database stuff an optional dependency...
|
|
|
|
|
|
|
|
* Increase size of ``ProductCost.code`` column.
|
|
|
|
|
|
|
|
* Add ``Product.case_pack`` column.
|
|
|
|
|
|
|
|
* Add ``encoding_errors`` kwarg to ``UnicodeWriter`` class constructor.
|
|
|
|
|
|
|
|
|
2015-02-11 00:51:23 -06:00
|
|
|
0.4.3
|
|
|
|
-----
|
|
|
|
|
|
|
|
* Fix Alembic ``env.py`` script to accommodate Continuum.
|
|
|
|
|
|
|
|
* Add ``Product.deleted`` column.
|
|
|
|
|
|
|
|
|
2015-02-10 21:36:38 -06:00
|
|
|
0.4.2
|
|
|
|
-----
|
|
|
|
|
|
|
|
* Fix password prompt on Windows for ``make-user`` command.
|
|
|
|
|
|
|
|
|
2015-02-10 19:14:03 -06:00
|
|
|
0.4.1
|
|
|
|
-----
|
|
|
|
|
|
|
|
* Rework how Continuum versioning is configured.
|
|
|
|
|
|
|
|
|
2015-02-09 23:51:03 -06:00
|
|
|
0.4.0
|
|
|
|
-----
|
|
|
|
|
|
|
|
This version primarily got the bump it did because of the addition of the data
|
|
|
|
import framework and support for SQLAlchemy-Continuum versioning. There were
|
|
|
|
several other minor changes as well.
|
|
|
|
|
|
|
|
* Allow Fabric ``env`` to override POD download URL.
|
|
|
|
|
|
|
|
* Quote packages when installing via Fabric ``pip()`` function.
|
|
|
|
|
|
|
|
* Add ``time.make_utc()`` function.
|
|
|
|
|
|
|
|
* Add ``db.util.maxlen()`` function.
|
|
|
|
|
|
|
|
* Add ``set_regular_price()`` and ``set_current_sale_price()`` API functions.
|
|
|
|
|
|
|
|
* Add ``db.cache.cache_model()`` function.
|
|
|
|
|
|
|
|
* Add ``csvutil.UnicodeWriter`` class.
|
|
|
|
|
|
|
|
* Add ``db.importing`` subpackage.
|
|
|
|
|
|
|
|
* Add ``ImportSubcommand`` as base class for data import subcommands.
|
|
|
|
|
|
|
|
* Add ``import-csv`` command.
|
|
|
|
|
|
|
|
* Fix encoding issue when sending email with non-ASCII chars in message.
|
|
|
|
|
|
|
|
* Increase length of ``Vendor.name`` column.
|
|
|
|
|
|
|
|
* Add encoding support to ``files.count_lines()``.
|
|
|
|
|
|
|
|
* Add initial versioning support with SQLAlchemy-Continuum.
|
|
|
|
|
|
|
|
|
2015-01-27 20:07:08 -06:00
|
|
|
0.3.50
|
|
|
|
------
|
|
|
|
|
|
|
|
* Add Alembic files to the manifest.
|
|
|
|
|
|
|
|
|
2015-01-27 19:21:57 -06:00
|
|
|
0.3.49
|
|
|
|
------
|
|
|
|
|
|
|
|
* Make all constraint and index names explicit.
|
|
|
|
|
|
|
|
* Add core Alembic migration repository.
|
|
|
|
|
|
|
|
|
2015-01-26 14:29:32 -06:00
|
|
|
0.3.48
|
|
|
|
------
|
|
|
|
|
|
|
|
* Fix filemon fallback watcher to ignore things which aren't files.
|
|
|
|
|
|
|
|
|
2015-01-26 13:16:55 -06:00
|
|
|
0.3.47
|
|
|
|
------
|
|
|
|
|
|
|
|
* Pause execution within filemon action loops (fix CPU usage).
|
|
|
|
|
|
|
|
* Add fallback watcher feature for filemon on Windows.
|
|
|
|
|
|
|
|
|
2015-01-20 17:56:07 -06:00
|
|
|
0.3.46
|
|
|
|
------
|
|
|
|
|
|
|
|
* Add ``Product.pretty_upc`` and improve ``unicode(Product)``.
|
|
|
|
|
|
|
|
* Make ``Vendor.id`` unique; add ``get_vendor()`` API function.
|
|
|
|
|
|
|
|
* Change default batch purge date to 60 days out instead of 90.
|
|
|
|
|
|
|
|
* Make SIL writer use a temp path if caller doesn't provide one.
|
|
|
|
|
|
|
|
* Add ``Product.cost_for_vendor()`` method.
|
|
|
|
|
|
|
|
* New batch mixin system...
|
|
|
|
|
|
|
|
* Split ``db.model`` into subpackage.
|
|
|
|
|
|
|
|
|
2015-01-14 15:38:35 -06:00
|
|
|
0.3.45
|
|
|
|
------
|
|
|
|
|
|
|
|
* Quote PG username when setting password via Fabric.
|
|
|
|
|
|
|
|
* Allow override of progress text in ``sil.Writer.write_rows()``.
|
|
|
|
|
|
|
|
* Move bcrypt requirement into 'auth' extra feature.
|
|
|
|
|
|
|
|
|
2015-01-05 17:36:32 -06:00
|
|
|
0.3.44
|
|
|
|
------
|
|
|
|
|
|
|
|
* Fix some string literal bugs.
|
|
|
|
|
|
|
|
|
2014-12-18 10:13:45 -06:00
|
|
|
0.3.43
|
|
|
|
------
|
|
|
|
|
|
|
|
* Add ``shell=False`` arg to some Fabric calls for PostgreSQL.
|
|
|
|
|
|
|
|
|
2014-12-03 11:04:03 -06:00
|
|
|
0.3.42
|
|
|
|
------
|
|
|
|
|
|
|
|
* Add ``consume_batch_id()`` convenience method to ``sil.Writer`` class.
|
|
|
|
|
|
|
|
* Add mail alias option to ``make_system_user()`` Fabric function.
|
|
|
|
|
|
|
|
* Add virtualenvwrapper to profile script for root and current user.
|
|
|
|
|
|
|
|
* Make alembic a core requirement, for now...
|
|
|
|
|
|
|
|
|
2014-11-17 11:01:16 -06:00
|
|
|
0.3.41
|
|
|
|
------
|
|
|
|
|
|
|
|
* Add ``fablib`` subpackage.
|
|
|
|
|
|
|
|
* Add ``obfuscate_url_pw()`` to ``db.util`` module.
|
|
|
|
|
|
|
|
* Add ``temp_path()`` method to ``rattail.sil.Writer`` class.
|
|
|
|
|
|
|
|
|
2014-11-04 20:49:56 -06:00
|
|
|
0.3.40
|
|
|
|
------
|
|
|
|
|
|
|
|
* Allow overriding key used to determine mail template name.
|
|
|
|
|
|
|
|
* Add ``Store.database_key`` column.
|
|
|
|
|
|
|
|
* Move some function logic to ``db.util``.
|
|
|
|
|
|
|
|
* Add ``csvutil.UnicodeDictReader`` class.
|
|
|
|
|
|
|
|
|
2014-10-23 22:17:59 -05:00
|
|
|
0.3.39
|
|
|
|
------
|
|
|
|
|
|
|
|
* Let mail template paths be specified as relative to a Python package.
|
|
|
|
|
|
|
|
|
2014-09-26 17:39:58 -05:00
|
|
|
0.3.38
|
|
|
|
------
|
|
|
|
|
|
|
|
* Tweak ``BatchProvider`` constructor, to prepare for edbob removal.
|
|
|
|
|
|
|
|
* Email notification rewrite.
|
|
|
|
|
|
|
|
* Improve Unicode handling within some label printing logic.
|
|
|
|
|
|
|
|
|
2014-09-13 14:03:04 -05:00
|
|
|
0.3.37
|
|
|
|
------
|
|
|
|
|
|
|
|
* Add ``Product.not_for_sale`` flag.
|
|
|
|
|
|
|
|
|
2014-07-29 15:09:25 -05:00
|
|
|
0.3.36
|
|
|
|
------
|
|
|
|
|
|
|
|
* Add ``time`` module.
|
|
|
|
|
|
|
|
|
2014-07-26 15:06:54 -05:00
|
|
|
0.3.35
|
|
|
|
------
|
|
|
|
|
|
|
|
* Fix bug in SIL writer (make sure all writes use instance method).
|
|
|
|
|
|
|
|
|
2014-07-23 14:17:00 -05:00
|
|
|
0.3.34
|
|
|
|
------
|
|
|
|
|
|
|
|
* Add error handling when attempting user authentication with non-ASCII characters.
|
|
|
|
|
|
|
|
* Add timeout to ``locking_copy()``.
|
|
|
|
|
|
|
|
|
2014-07-19 20:53:17 -05:00
|
|
|
0.3.33
|
|
|
|
------
|
|
|
|
|
|
|
|
* Add ``User.active`` and disallow authentication for inactive users.
|
|
|
|
|
|
|
|
|
2014-07-12 17:42:47 -05:00
|
|
|
0.3.32
|
|
|
|
------
|
|
|
|
|
|
|
|
* Add ``ReportCode`` and ``Product.report_code`` to schema.
|
|
|
|
|
|
|
|
* Fix ``Product.family`` relationship.
|
|
|
|
|
|
|
|
* Add ``rattail.config`` module, currently with ``parse_list()`` function only.
|
|
|
|
|
|
|
|
|
2014-07-04 15:21:38 -05:00
|
|
|
0.3.31
|
|
|
|
------
|
|
|
|
|
|
|
|
* Fix unicode bug in filemon config parsing on Python 2.6.
|
|
|
|
|
|
|
|
|
2014-07-04 14:59:37 -05:00
|
|
|
0.3.30
|
|
|
|
------
|
|
|
|
|
|
|
|
* File Monitor overhaul!
|
|
|
|
|
|
|
|
* New configuration syntax (old syntax still supported but deprecated).
|
|
|
|
* Class-based actions.
|
|
|
|
* Configure keyword arguments to action callables.
|
|
|
|
* Configure retry for actions.
|
|
|
|
* Add (some) tests, docs.
|
|
|
|
|
|
|
|
|
2014-06-30 20:21:40 -05:00
|
|
|
0.3.29
|
|
|
|
------
|
|
|
|
|
|
|
|
* Add support for older SQLAlchemy (0.6.3 specifically).
|
|
|
|
|
|
|
|
|
2014-05-31 13:45:05 -05:00
|
|
|
0.3.28
|
|
|
|
------
|
|
|
|
|
|
|
|
* Accept config section name within ``rattail.db.util.get_engines()`` and
|
|
|
|
``rattail.db.util.get_default_engine()``.
|
|
|
|
|
|
|
|
* Remove deprecated ``record_changes`` option in ``[rattail.db]`` config
|
|
|
|
section.
|
|
|
|
|
|
|
|
* Remove deprecated ``rattail.db.init()`` function stub.
|
|
|
|
|
|
|
|
|
2014-05-20 11:28:12 -05:00
|
|
|
0.3.27
|
|
|
|
------
|
|
|
|
|
|
|
|
* Don't require bcrypt unless 'db' feature is requested.
|
|
|
|
|
|
|
|
|
2014-05-20 11:16:21 -05:00
|
|
|
0.3.26
|
|
|
|
------
|
|
|
|
|
|
|
|
* Add ``filemon.util.raise_exception`` for simple file monitor testing.
|
|
|
|
|
|
|
|
* Add tox support; fix several test oddities.
|
|
|
|
|
|
|
|
* Fix thread naming bug in Windows file monitor.
|
|
|
|
|
2012-04-10 12:09:29 -05:00
|
|
|
|
2014-04-29 23:20:14 -05:00
|
|
|
0.3.25
|
|
|
|
------
|
|
|
|
|
|
|
|
* Require process elevation for ``make-user`` command.
|
|
|
|
|
|
|
|
* Use 64-bit registry key when hiding user account on 64-bit Windows.
|
|
|
|
|
|
|
|
* Refactor to remove namespace structure.
|
|
|
|
|
|
|
|
|
2014-04-25 20:51:19 -05:00
|
|
|
0.3.24
|
|
|
|
------
|
|
|
|
|
|
|
|
* Stop using ``logging.get_logger()`` adapter wrapper, until we know how to do
|
|
|
|
it right.
|
|
|
|
|
|
|
|
|
2014-04-21 11:29:09 -05:00
|
|
|
0.3.23
|
|
|
|
------
|
|
|
|
|
|
|
|
* Use ``find_packages()`` again, as the last build was broken. (But still
|
|
|
|
exclude tests.)
|
|
|
|
|
|
|
|
|
2014-04-20 00:32:01 -05:00
|
|
|
0.3.22
|
|
|
|
------
|
|
|
|
|
|
|
|
* Add some error checking when starting Linux daemons.
|
|
|
|
|
|
|
|
* Add ``'uid'`` and ``'username'`` to logger adapter context dict.
|
|
|
|
|
|
|
|
* Add initial POD integration module.
|
|
|
|
|
|
|
|
* Stop using ``find_packages()``; it was including tests.
|
|
|
|
|
|
|
|
* Add "lock" support to Windows file monitor.
|
|
|
|
|
|
|
|
|
2014-04-06 14:28:50 -05:00
|
|
|
0.3.21
|
|
|
|
------
|
|
|
|
|
|
|
|
* Add custom ``LoggerAdapter`` implementation; used by file monitor.
|
|
|
|
|
|
|
|
Hopefully this does a better job and avoids some wheel reinvention.
|
|
|
|
|
|
|
|
|
2014-03-05 16:26:53 -06:00
|
|
|
0.3.20
|
|
|
|
------
|
|
|
|
|
|
|
|
* Better leverage config when initializing Win32 services.
|
|
|
|
|
|
|
|
|
2014-02-16 14:56:57 -06:00
|
|
|
0.3.19
|
|
|
|
------
|
|
|
|
|
|
|
|
* Define ``Command`` and ``Subcommand`` classes.
|
|
|
|
|
|
|
|
These are (finally) no longer borrowed from ``edbob``, yay.
|
|
|
|
|
|
|
|
* Add SQLAlchemy to core dependencies.
|
|
|
|
|
|
|
|
* Database config/init overhaul.
|
|
|
|
|
|
|
|
This contains some not-very-atomic changes:
|
|
|
|
|
|
|
|
* Get rid of ``get_session_class()`` function and return to global
|
|
|
|
``Session`` class approach.
|
|
|
|
* Primary database ``Session`` is now configured as part of command
|
|
|
|
initialization, by default.
|
|
|
|
* Make ``config`` object available to subcommands, and ``Daemon`` instances
|
|
|
|
(the beginning of the end for ``edbob.config``!).
|
|
|
|
* Add ``--stdout`` and ``--stderr`` arguments to primary ``Command``. These
|
|
|
|
are in turn made available to subcommands.
|
|
|
|
* Overhauled some subcommand logic per new patterns.
|
|
|
|
* Get rid of a few other random references to ``edbob``.
|
|
|
|
* Added and improved several tests.
|
|
|
|
* Added ability to run tests using arbitrary database engine.
|
|
|
|
|
|
|
|
|
2014-01-30 11:26:23 -06:00
|
|
|
0.3.18
|
|
|
|
------
|
|
|
|
|
|
|
|
* Populate ``rattail.db.model.__all__`` dynamically.
|
|
|
|
|
|
|
|
* Add ``util.load_entry_points()``.
|
|
|
|
|
|
|
|
|
2014-01-28 01:24:47 -06:00
|
|
|
0.3.17
|
|
|
|
------
|
|
|
|
|
|
|
|
* Add SQLAlchemy engine poolclass awareness to config file.
|
|
|
|
|
|
|
|
|
2014-01-27 22:07:34 -06:00
|
|
|
0.3.16
|
|
|
|
------
|
|
|
|
|
|
|
|
* Make ``get_sync_engines()`` require a config object.
|
|
|
|
|
|
|
|
* Add ``getset_factory()`` to ``rattail.db.core``.
|
|
|
|
|
|
|
|
* Dont auto-import ``core`` and ``changes`` from ``rattail.db``.
|
|
|
|
|
|
|
|
* Handle keyboard interrupt when running dbsync on Linux console.
|
|
|
|
|
|
|
|
* Make ``rattail.db.model`` the true home for all models.
|
|
|
|
|
|
|
|
|
2014-01-26 01:58:48 -06:00
|
|
|
0.3.15
|
|
|
|
------
|
|
|
|
|
|
|
|
* Removed global ``Session`` from ``rattail.db``.
|
|
|
|
|
|
|
|
A Session class may now be had via ``get_session_class()``.
|
|
|
|
|
|
|
|
* Removed reliance on ``edbob.db.engines``.
|
|
|
|
|
|
|
|
* Added initial docs (barely, mostly for testing Buildbot).
|
|
|
|
|
|
|
|
* Updated tests to work on Python 2.6.
|
|
|
|
|
|
|
|
* Improved init scripts to create PID file parent directory as needed.
|
|
|
|
|
|
|
|
* Allow Windows file monitor installation with custom user account.
|
|
|
|
|
|
|
|
|
2014-01-25 17:55:51 -06:00
|
|
|
0.3.14
|
|
|
|
------
|
|
|
|
|
|
|
|
* Improve ``make-user`` command somewhat.
|
|
|
|
|
|
|
|
Allow username etc. to be overridden; add sanity check if running on platform
|
|
|
|
other than win32.
|
|
|
|
|
|
|
|
|
2014-01-24 14:54:00 -06:00
|
|
|
0.3.13
|
|
|
|
------
|
|
|
|
|
|
|
|
* Fix ``ChangeRecorder.is_deletable_orphan()`` for SQLAlchemy 0.7.
|
|
|
|
|
|
|
|
Apparently ``Mapper.relationships`` is not available until SQLAlchemy 0.8 and
|
|
|
|
later...
|
|
|
|
|
|
|
|
|
2014-01-24 14:06:37 -06:00
|
|
|
0.3.12
|
|
|
|
------
|
|
|
|
|
|
|
|
* Add ``deleted`` attribute to ``repr(Change)``.
|
|
|
|
|
|
|
|
* Add "deletable orphan" awareness when recording changes.
|
|
|
|
|
|
|
|
Turns out there was a long-standing bug where orphans which were deleted from
|
|
|
|
the host would be marked as "changed" (instead of deleted), causing the store
|
|
|
|
databases to keep the orphan.
|
|
|
|
|
|
|
|
|
2014-01-04 12:45:24 -06:00
|
|
|
0.3.11
|
|
|
|
------
|
|
|
|
|
|
|
|
* Added ``mail.send_message()`` etc.
|
|
|
|
|
|
|
|
|
2013-12-25 10:17:23 -06:00
|
|
|
0.3.10
|
|
|
|
------
|
|
|
|
|
|
|
|
* Altered ``dump`` command to allow easy overriding of data model.
|
|
|
|
|
|
|
|
|
2013-12-18 20:31:48 -06:00
|
|
|
0.3.9
|
|
|
|
-----
|
|
|
|
|
|
|
|
* Add all of ``data`` folder to manifest.
|
|
|
|
|
|
|
|
* Replaced ``insserv`` calls with ``update-rc.d`` in Fabric script.
|
|
|
|
|
|
|
|
* Fixed bug in ``price_check_digit()``; added tests.
|
|
|
|
|
|
|
|
* Fixed bug in ``upce_to_upca()``; added tests.
|
|
|
|
|
|
|
|
* Added ``get_employee_by_id()`` convenience function.
|
|
|
|
|
|
|
|
* Refactored model imports, etc.
|
|
|
|
|
|
|
|
This is in preparation for using database models only from ``rattail``
|
|
|
|
(i.e. no ``edbob``). Mostly the model and enum imports were affected.
|
|
|
|
|
|
|
|
* Added remaining values from ``edbob.enum`` to ``rattail.enum``.
|
|
|
|
|
|
|
|
* Added ``get_setting()`` and ``save_setting()`` to ``db.api``.
|
|
|
|
|
|
|
|
|
2013-11-16 10:20:30 -06:00
|
|
|
0.3.8
|
|
|
|
-----
|
|
|
|
|
|
|
|
* Overhauled db sync somewhat; made a little more customizable, added tests.
|
|
|
|
|
|
|
|
|
2013-10-14 14:01:07 -05:00
|
|
|
0.3.7
|
|
|
|
-----
|
|
|
|
|
|
|
|
* Fixed db sync to properly handle ``Family`` deletions.
|
|
|
|
|
|
|
|
|
2013-10-11 16:21:48 -05:00
|
|
|
0.3.6
|
|
|
|
-----
|
|
|
|
|
|
|
|
* Fixed bug in ``Product.full_description``.
|
|
|
|
|
|
|
|
* Added ``core.Object`` class.
|
|
|
|
|
|
|
|
* Made ``enum`` module available from root namespace upon initial import.
|
|
|
|
|
|
|
|
* Added ``util`` module, for ``OrderedDict`` convenience.
|
|
|
|
|
|
|
|
* Add ``Family`` and ``Product.family``.
|
|
|
|
|
|
|
|
|
2013-09-10 00:02:09 -05:00
|
|
|
0.3.5
|
|
|
|
-----
|
|
|
|
|
|
|
|
* Declare dependencies instead of relying on edbob.
|
|
|
|
|
|
|
|
* Added ``db.auth`` module.
|
|
|
|
|
|
|
|
* Added ``initdb`` command.
|
|
|
|
|
|
|
|
* Added the ``adduser`` command.
|
|
|
|
|
|
|
|
* Pretend ``commands.Subcommand`` is defined in ``rattail``.
|
|
|
|
|
|
|
|
|
2013-08-31 17:11:04 -05:00
|
|
|
0.3.4
|
|
|
|
-----
|
|
|
|
|
|
|
|
* Fixed ``Customer._people`` relationship cascading.
|
|
|
|
|
|
|
|
|
2013-08-30 22:06:01 -05:00
|
|
|
0.3.3
|
|
|
|
-----
|
|
|
|
|
|
|
|
* Fixed bugs with ``CustomerGroupAssignment``.
|
|
|
|
|
|
|
|
Now orphaned records should no longer be allowed.
|
|
|
|
|
|
|
|
* Fixed ``CustomerPerson`` to require customer and person.
|
|
|
|
|
|
|
|
* Added ``--do-not-daemonize`` flag to ``dbsync`` command on Linux.
|
|
|
|
|
|
|
|
* Overhauled some database stuff; added tests.
|
|
|
|
|
|
|
|
* Added some ``CustomerEmailAddress`` tests, removed some unused tests.
|
|
|
|
|
|
|
|
|
2013-08-21 20:26:03 -05:00
|
|
|
0.3.2
|
|
|
|
-----
|
|
|
|
|
|
|
|
* Fixed bug in ``csvutil.DictWriter``; added tests.
|
|
|
|
|
|
|
|
|
2013-08-21 19:01:08 -05:00
|
|
|
0.3.1
|
|
|
|
-----
|
|
|
|
|
|
|
|
* Added ``Product.full_description`` convenience attribute.
|
|
|
|
|
|
|
|
* Added ``--do-not-daemonize`` arg to ``filemon`` command on Linux.
|
|
|
|
|
|
|
|
* Added ``dump`` command.
|
|
|
|
|
|
|
|
|
2013-07-15 21:56:56 -05:00
|
|
|
0.3a43
|
|
|
|
------
|
|
|
|
|
|
|
|
* Added unicode-aware CSV reader.
|
|
|
|
|
|
|
|
|
2013-07-05 13:30:53 -05:00
|
|
|
0.3a42
|
|
|
|
------
|
|
|
|
|
|
|
|
* Fixed dbsync bug when deleting a ``CustomerGroup``.
|
|
|
|
|
|
|
|
Any customer associations which still existed were causing database integrity
|
|
|
|
errors.
|
|
|
|
|
|
|
|
|
2013-06-18 00:29:28 -05:00
|
|
|
0.3a41
|
|
|
|
------
|
|
|
|
|
|
|
|
* Added ``get_product_by_code()`` API function.
|
|
|
|
|
|
|
|
|
2013-06-09 15:38:52 -05:00
|
|
|
0.3a40
|
|
|
|
------
|
|
|
|
|
|
|
|
* Added proper ``init.d`` support to Linux dbsync daemon.
|
|
|
|
|
|
|
|
* Added ``--pidfile`` argument to ``dbsync`` command.
|
|
|
|
* Added ``configure_dbsync`` Fabric command.
|
|
|
|
|
|
|
|
* Added ``files.overwriting_move()`` convenience function.
|
|
|
|
|
|
|
|
* Added ``--all`` argument to ``purge-batches`` command.
|
|
|
|
|
|
|
|
* Added ``ProductCode``, ``Product.codes`` to data model.
|
|
|
|
|
|
|
|
* Fixed ``db.cache`` module so as not to require initialization.
|
|
|
|
|
|
|
|
|
2013-06-06 21:48:08 -05:00
|
|
|
0.3a39
|
|
|
|
------
|
|
|
|
|
|
|
|
* Added ``make-user`` command for creating Windows system user account.
|
|
|
|
|
|
|
|
* Added avatar image, who knows when that will be useful.
|
|
|
|
|
|
|
|
This was created in the hopes it could be used to programmatically set the
|
|
|
|
Windows user "tile" image; but that proved unfruitful.
|
|
|
|
|
|
|
|
* Changed Linux file monitor to leverage local code instead of ``edbob``.
|
|
|
|
|
|
|
|
* Added ``Batch.rows`` property, deprecated ``Batch.iter_rows()``.
|
|
|
|
|
|
|
|
* Improved ``sil.Writer.write_rows()``.
|
|
|
|
|
|
|
|
This method now allows explicitly specifying the row count, and accepts a
|
|
|
|
progress factory.
|
|
|
|
|
|
|
|
|
2013-06-05 00:04:41 -05:00
|
|
|
0.3a38
|
|
|
|
------
|
|
|
|
|
|
|
|
* Changed home folder of system user account to ``/var/lib/rattail``.
|
|
|
|
|
|
|
|
* Slight overhaul of Linux file monitor.
|
|
|
|
|
|
|
|
This includes the following:
|
|
|
|
|
|
|
|
* "More native" Linux file monitor (i.e. less reliant on ``edbob``; current
|
|
|
|
code is more or less copied from that project).
|
|
|
|
* Addition of ``--pidfile`` command argument on Linux.
|
|
|
|
|
|
|
|
* Added (Linux) file monitor configuration to Fabric script.
|
|
|
|
|
|
|
|
Also improved ``create_user`` to allow overwriting some settings.
|
|
|
|
|
|
|
|
* Fixed file monitor service registration on Windows with ``--auto-start``.
|
|
|
|
|
|
|
|
* Fixed "process elevation check" on Windows XP.
|
|
|
|
|
|
|
|
* Overhaul of Windows file monitor.
|
|
|
|
|
|
|
|
This includes:
|
|
|
|
|
|
|
|
* "More native" Windows file monitor (i.e. less reliant on ``edbob``; current
|
|
|
|
code is more or less copied from that project).
|
|
|
|
* Improve base class for services, to handle the case where the Windows event
|
|
|
|
log is full and can't be written to. (This prevented the file monitor from
|
|
|
|
starting on a machine where the log was full.)
|
|
|
|
|
|
|
|
|
2013-05-22 23:41:55 -05:00
|
|
|
0.3a37
|
|
|
|
------
|
|
|
|
|
|
|
|
* Added ``temp_path()`` function in ``files`` module.
|
|
|
|
|
|
|
|
|
2013-05-22 20:01:06 -05:00
|
|
|
0.3a36
|
|
|
|
------
|
|
|
|
|
|
|
|
* Fixed lingering issues from ``Vendor.contacts`` mapping tweak.
|
|
|
|
|
|
|
|
|
2013-05-22 00:34:14 -05:00
|
|
|
0.3a35
|
|
|
|
------
|
|
|
|
|
|
|
|
* Updated ``repr()`` output for model classes.
|
|
|
|
|
|
|
|
* Improved ``find_diffs()`` function.
|
|
|
|
|
|
|
|
* Added ``db.model`` module.
|
|
|
|
|
|
|
|
* Tweaked some ORM mappings.
|
|
|
|
|
|
|
|
|
2013-05-17 11:00:30 -05:00
|
|
|
0.3a34
|
|
|
|
------
|
|
|
|
|
|
|
|
* [feature] Changed some logging instances from ``INFO`` to ``DEBUG``.
|
|
|
|
|
|
|
|
I was just getting tired of the noise.
|
|
|
|
|
|
|
|
* [feature] Added ``create_user`` Fabric command.
|
|
|
|
|
|
|
|
This creates the ``rattail`` user on a Linux environment. Probably needs
|
|
|
|
some improvement but it's a start.
|
|
|
|
|
|
|
|
* [bug] Fixed ``instances_differ()`` function for SQLAlchemy < 0.8.
|
|
|
|
|
|
|
|
Presumably the use of ``Mapper.column_attrs`` was not a good idea anyway.
|
|
|
|
I'm not quite sure what functionality it adds over ``.columns``.
|
|
|
|
|
|
|
|
(fixes #9)
|
|
|
|
|
|
|
|
|
2013-05-16 01:25:19 -05:00
|
|
|
0.3a33
|
|
|
|
------
|
|
|
|
|
|
|
|
* [general] Tweaked Fabric script to remove egg info before building a
|
|
|
|
release.
|
|
|
|
|
|
|
|
* [feature] Added ``mail`` module; delegates to ``edbob``.
|
|
|
|
|
|
|
|
* [feature] Added ``Session`` to ``db`` module; delegates to ``edbob``.
|
|
|
|
|
|
|
|
* [feature] Added ``db.diffs`` module.
|
|
|
|
|
|
|
|
|
2013-05-14 20:51:41 -05:00
|
|
|
0.3a32
|
|
|
|
------
|
|
|
|
|
|
|
|
- Made product cache include *all* costs if so requested. (Silly oversight.)
|
|
|
|
|
|
|
|
|
2013-05-13 17:45:59 -05:00
|
|
|
0.3a31
|
|
|
|
------
|
|
|
|
|
|
|
|
- [bug] Made change recorder better able to handle new "sets" of related
|
|
|
|
objects. A situation occurred where multiple related objects were being
|
|
|
|
introduced to the database within the same session. Somehow a dependent
|
|
|
|
object was being processed first, and its UUID value could not be determined
|
|
|
|
since its "upstream" object did yet have one either. This commit improves
|
|
|
|
this situation so that the upstream object will be given an UUID value first,
|
|
|
|
if it doesn't yet have one. The dependent object will then reuse the
|
|
|
|
upstream object's UUID as normal.
|
|
|
|
|
|
|
|
|
2013-05-12 10:16:36 -05:00
|
|
|
0.3a30
|
|
|
|
------
|
|
|
|
|
|
|
|
- [feature] Added ``console`` module. For now this only delegates to
|
|
|
|
``edbob.console``.
|
|
|
|
|
|
|
|
- [feature] Added ``get_product_cache()`` function to ``db.cache`` module.
|
|
|
|
This is probably the first of many such convenience functions.
|
|
|
|
|
|
|
|
|
2013-05-08 19:43:36 -05:00
|
|
|
0.3a29
|
|
|
|
------
|
|
|
|
|
|
|
|
- [feature] Made Palm conduit unregistration more graceful. Now this will
|
|
|
|
"succeed" even if the conduit isn't actually registered.
|
|
|
|
fixes #7
|
|
|
|
|
|
|
|
- [feature] Improved Palm conduit (un)registration logic. Now this can handle
|
|
|
|
the case where Hotsync Manager is not installed on the local machine. The
|
|
|
|
code was refactored to make things cleaner also.
|
|
|
|
fixes #8
|
|
|
|
|
|
|
|
- [feature] Added admin rights check for Palm conduit registration. Now the
|
|
|
|
registration process is checked for an "elevated token" and if none is found,
|
|
|
|
a message is displayed and it exits without attempting the registration.
|
|
|
|
fixes #3
|
|
|
|
|
|
|
|
- [feature] Added admin rights check for Windows file monitor registration.
|
|
|
|
Now the registration process is checked for an "elevated token" and if none
|
|
|
|
is found, a message is displayed and it exits without attempting the
|
|
|
|
registration.
|
|
|
|
fixes #5
|
|
|
|
|
|
|
|
- [feature] Added ``make-config`` command. This may need some work yet, to
|
|
|
|
better handle the namespace package situation.
|
|
|
|
|
|
|
|
- [feature] Added ``Employee.user`` association proxy attribute.
|
|
|
|
|
|
|
|
- [feature] Pretend all models and enumerations from ``edbob`` are part of
|
|
|
|
``rattail``. Some day this will actually be the case. Client code should be
|
|
|
|
able to avoid the ``edbob`` namespace now so that porting will be easier.
|
|
|
|
|
|
|
|
- [bug] Fixed issue with recording changes when SQLAlchemy >= 0.8.0.
|
|
|
|
Apparently ``RelationshipProperty.remote_side`` is now a ``set`` and doesn't
|
|
|
|
support indexing.
|
|
|
|
|
|
|
|
|
2013-03-21 23:05:01 -05:00
|
|
|
0.3a28
|
|
|
|
------
|
|
|
|
|
|
|
|
- [feature] Added ``csvutil`` module. Currently this only adds some better
|
|
|
|
``DictWriter`` support for Python versions older than 2.7.
|
|
|
|
|
|
|
|
- [feature] Added Palm OS app interface. This adds the Palm HotSync conduit,
|
|
|
|
which is used to create CSV files when a handheld running the Rattail app is
|
|
|
|
synced with its desktop PC.
|
|
|
|
|
|
|
|
- [feature] Added ``files`` module. This will eventually supercede
|
|
|
|
``edbob.files``, but for now this commit adds only three functions. These
|
|
|
|
just so happened to be ones needed to support some code involving inventory
|
|
|
|
count batches.
|
|
|
|
|
|
|
|
- [feature] Added ``wince`` module. This module is used to interface with the
|
|
|
|
Rattail app for Windows CE handheld devices.
|
|
|
|
|
|
|
|
- [feature] Added new batch system, which will eventually replace the old one.
|
|
|
|
Hopefully they can play nicely in parallel, in the meantime.
|
|
|
|
|
|
|
|
- [feature] Added `purge-batches` command. This command will delete forever
|
|
|
|
all batches whose purge date has passed. It is meant to be run on a
|
|
|
|
scheduled basis, e.g. nightly.
|
|
|
|
|
|
|
|
- [feature] Added "case" value to ``UNIT_OF_MEASURE`` enumeration.
|
|
|
|
|
2013-02-21 00:05:32 -06:00
|
|
|
0.3a27
|
|
|
|
------
|
|
|
|
|
|
|
|
- [feature] Added custom `Thread` implementation. This overrides the default
|
|
|
|
behavior of `threading.Thread` by ensuring the system exception hook is
|
|
|
|
invoked in case an error occurs within the thread.
|
|
|
|
|
2013-02-20 21:18:51 -06:00
|
|
|
0.3a26
|
|
|
|
------
|
|
|
|
|
|
|
|
- [feature] Added `get_product_by_upc()` API function. This is a convenience
|
|
|
|
function which will return a single `Product` instance, or `None`. It is the
|
|
|
|
first of hopefully many API functions.
|
|
|
|
|
|
|
|
- [feature] Added SIL columns `F188`, `R71` and `R72`. These have been added
|
|
|
|
to support inventory count batches.
|
|
|
|
|
|
|
|
- [bugfix] Fixed `Batch.drop_table()` to handle case where row table doesn't
|
|
|
|
exist. While theoretically this method *shouldn't* encounter a missing
|
|
|
|
table, in practice it does happen occasionally. Now this situation is
|
|
|
|
handled gracefully instead of raising an exception.
|
|
|
|
|
2013-02-13 00:55:14 -06:00
|
|
|
0.3a25
|
|
|
|
------
|
|
|
|
|
|
|
|
- [bug] Fixed ``Vendor.contacts`` relationship (added 'delete-orphan').
|
|
|
|
|
|
|
|
- [feature] Added ``Department.subdepartments`` relationship.
|
|
|
|
|
2012-11-27 23:47:19 -06:00
|
|
|
0.3a24
|
|
|
|
------
|
|
|
|
|
|
|
|
- [feature] Added ``__eq__()`` and ``__ne__()`` methods to ``GPC`` class.
|
|
|
|
|
|
|
|
- [general] Moved ``GPCType`` SQLAlchemy type class to ``rattail.db`` module.
|
|
|
|
This was necessary to make the ``GPC`` class more generally available to
|
|
|
|
callers who don't want or need SQLAlchemy to be installed.
|
|
|
|
|
|
|
|
- [general] Moved enumerations from database extension to "core" ``enum``
|
|
|
|
module. This is mostly for convenience to callers.
|
|
|
|
|
|
|
|
- [bug] Fixed a few bugs with label batches. These existed mostly because this
|
|
|
|
feature hasn't been used in production...
|
|
|
|
|
|
|
|
- [feature] Added ``default_format`` attribute to ``LabelFormatter`` class.
|
|
|
|
Now when a label profile is edited, this default format is used if no format
|
|
|
|
is provided by the user.
|
|
|
|
|
|
|
|
- [feature] Changed ``LabelProfile.get_formatter()`` method so that it assigns
|
|
|
|
the formatter's ``format`` attribute using the value from the profile. The
|
|
|
|
formatter is free to use or ignore this value, at its discretion.
|
|
|
|
|
|
|
|
- [feature] Improved the database synchronizer so that it is *somewhat*
|
|
|
|
tolerant of database server restarts. This likely will need further
|
|
|
|
improvement as more testing is done. The current implementation wraps the
|
|
|
|
entire sync loop in a ``try/catch`` block and when a disconnect is detected,
|
|
|
|
will wait 5 seconds before re-entering the loop and trying again.
|
|
|
|
|
2012-11-12 17:20:45 -06:00
|
|
|
0.3a23
|
|
|
|
------
|
|
|
|
|
|
|
|
- [general] Fixed namespace packages, per ``setuptools`` documentation.
|
|
|
|
|
|
|
|
- [feature] Added connection timeout support to ``CommandNetworkPrinter``.
|
|
|
|
|
2012-11-08 21:14:05 -06:00
|
|
|
0.3a22
|
|
|
|
------
|
|
|
|
|
|
|
|
- [feature] Added ``LabelProfile.visible`` field.
|
|
|
|
|
|
|
|
- [feature] Added generic ``CommandNetworkPrinter`` label printer class. This
|
|
|
|
class sends textual commands directly to a networked printer.
|
|
|
|
|
2012-11-05 20:14:04 -06:00
|
|
|
0.3a21
|
|
|
|
------
|
|
|
|
|
|
|
|
- [feature] Refactored database synchronization logic into a proper class,
|
|
|
|
which can be overridden based on configuration.
|
|
|
|
|
2012-10-30 16:02:23 -05:00
|
|
|
0.3a20
|
|
|
|
------
|
|
|
|
|
|
|
|
- [feature] Tweaked the SIL writer so that it doesn't quote row values when
|
|
|
|
they're of data type ``float``.
|
|
|
|
|
|
|
|
- [bug] Fixed database sync to properly handle ``Vendor`` deletions. Now any
|
|
|
|
associated ``ProductCost`` records are also deleted, so no more foreign key
|
|
|
|
violations.
|
|
|
|
|
2012-10-23 12:20:16 -05:00
|
|
|
0.3a19
|
|
|
|
------
|
|
|
|
|
|
|
|
- [bug] Fixed "price toggle" bug in database sync. It was noticed that
|
|
|
|
whenever a product's regular price did not change, yet the product instance
|
|
|
|
itself *did* have a change, the regular price association was being removed
|
|
|
|
in one sync, then reestablished in the next sync (then removed, etc.). The
|
|
|
|
sync operation now ensures the relationship is removed only when it really
|
|
|
|
should be, and that it remains intact when that is appropriate.
|
|
|
|
|
2012-10-10 11:41:53 -05:00
|
|
|
0.3a18
|
|
|
|
------
|
|
|
|
|
|
|
|
- [bug] Added special delete logic to the database sync. Currently, only the
|
|
|
|
Department and Subdepartment classes are affected. When deletions of these
|
|
|
|
classes are to be synced between databases, some effort is made to ensure
|
|
|
|
that associations with any dependent objects (e.g. Product) are removed
|
|
|
|
before the primary instance (e.g. Department) is deleted.
|
|
|
|
|
2012-10-05 13:44:00 -05:00
|
|
|
0.3a17
|
|
|
|
------
|
|
|
|
|
|
|
|
- [bug] Added 'delete, delete-orphan' to cascade on ``Product.costs``
|
|
|
|
relationship. This was causing an error when syncing databases.
|
|
|
|
|
2012-10-05 13:25:57 -05:00
|
|
|
0.3a16
|
|
|
|
------
|
|
|
|
|
|
|
|
- [bug] Added 'delete, delete-orphan' to cascade on ``Product.prices``
|
|
|
|
relationship. This was causing an error when syncing databases.
|
|
|
|
|
2012-10-05 12:13:05 -05:00
|
|
|
0.3a15
|
|
|
|
------
|
|
|
|
|
|
|
|
- [bug] Fixed database sync logic to ensure ``Product`` changes are processed
|
|
|
|
before ``ProductPrice`` changes. Since the underlying tables are mutually
|
|
|
|
dependent, the ``dependency_sort()`` call can't *quite* take care of it. Now
|
|
|
|
a lexical sort is applied to the class names before the dependency sort
|
|
|
|
happens. This is somewhat of a hack, merely taking advantage of the fact
|
|
|
|
that "Product" comes before "ProductPrice" when lexically sorted. If other
|
|
|
|
mutually-dependent tables come about in the future, this approach may need to
|
|
|
|
be revised if their class names don't jive.
|
|
|
|
|
2012-10-05 11:37:37 -05:00
|
|
|
0.3a14
|
|
|
|
------
|
|
|
|
|
|
|
|
- [bug] Fixed database synchonization logic to properly handle merging
|
|
|
|
``Product`` instances between database sessions. Since ``Product`` is so
|
|
|
|
interdependent on ``ProductPrice``, a pretty custom merge hack is required.
|
|
|
|
|
2012-10-05 10:35:03 -05:00
|
|
|
0.3a13
|
|
|
|
------
|
|
|
|
|
|
|
|
- [bugfix] Fixed ``rattail.db.record_changes()`` so that it also ignores
|
|
|
|
``UserRole`` instance changes if configuration dictates that ``Role`` changes
|
|
|
|
are to be ignored.
|
|
|
|
|
2012-10-05 07:23:10 -05:00
|
|
|
0.3a12
|
|
|
|
------
|
|
|
|
|
|
|
|
- [bugfix] Fixed foreign key uuid handling in ``rattail.db.record_changes()``.
|
|
|
|
Some tables are meant to be used solely as providers of "association proxy"
|
|
|
|
fields, the ``uuid`` column is not only a primary key, but also a *foreign
|
|
|
|
key* to the "primary" entity table. In such cases, the uuid value was not
|
|
|
|
present at session flush time, so a new one was being generated.
|
|
|
|
Unfortunately this meant that the ``Change`` record would point to a
|
|
|
|
nonexistent entity record, so the sync would not work. Now uuid fields are
|
|
|
|
inspected to determine if a foreign key is present, in which case the
|
|
|
|
relationship is traversed and the true uuid value is used.
|
|
|
|
|
|
|
|
- [feature] Added "extra classes" configuration for the ``load-host-data``
|
|
|
|
command. This is necessary when initially populating a "store" (er,
|
|
|
|
"non-host") database instance if custom schema extensions are in use (and
|
|
|
|
need to be synchronized with the host).
|
|
|
|
|
2012-10-04 16:07:04 -05:00
|
|
|
0.3a11
|
|
|
|
------
|
|
|
|
|
|
|
|
- Add R49 SIL column.
|
|
|
|
|
|
|
|
- Add ``rattail.pricing`` module.
|
|
|
|
|
2012-09-28 16:16:37 -05:00
|
|
|
0.3a10
|
|
|
|
------
|
|
|
|
|
|
|
|
- Ignore batch data when recording changes.
|
|
|
|
|
2012-09-28 11:36:38 -05:00
|
|
|
0.3a9
|
|
|
|
-----
|
|
|
|
|
|
|
|
- Bump edbob dependency.
|
|
|
|
|
2012-09-28 11:26:47 -05:00
|
|
|
0.3a8
|
|
|
|
-----
|
|
|
|
|
|
|
|
- Tweak database sync.
|
|
|
|
|
|
|
|
- Tweak batch processing.
|
|
|
|
|
2012-09-24 18:17:35 -05:00
|
|
|
0.3a7
|
|
|
|
-----
|
|
|
|
|
|
|
|
- Add ``Vendor.special_discount``.
|
|
|
|
|
2012-09-18 20:57:08 -05:00
|
|
|
0.3a6
|
|
|
|
-----
|
|
|
|
|
|
|
|
- Bump edbob dependency.
|
|
|
|
|
2012-09-18 20:54:08 -05:00
|
|
|
0.3a5
|
|
|
|
-----
|
|
|
|
|
|
|
|
- Added ``Store`` and related models.
|
|
|
|
|
|
|
|
- Added ``Customer.email_preference`` field.
|
|
|
|
|
|
|
|
- Added ``load-host-data`` command.
|
|
|
|
|
|
|
|
- Added database changes/synchronization framework.
|
|
|
|
|
|
|
|
- Fixed batch table create/drop.
|
|
|
|
|
2012-09-18 13:40:41 -05:00
|
|
|
0.3a4r1
|
|
|
|
-------
|
|
|
|
|
|
|
|
- Added ``Product.cost``, ``Product.vendor``.
|
|
|
|
|
|
|
|
- Added basic one-up label printing support.
|
|
|
|
|
|
|
|
- Added initial batch support, with ``PrintLabels`` provider.
|
|
|
|
|
|
|
|
- Added GPC data type.
|
|
|
|
|
|
|
|
- Changed internal name of file monitor Windows service.
|
|
|
|
|
|
|
|
- Added progress support for label printing.
|
|
|
|
|
|
|
|
- Label profiles moved from config to database model.
|
|
|
|
|
|
|
|
- Removed ``rattail.db.init_database()`` function.
|
|
|
|
|
|
|
|
- Moved some enum values from db extension to core (``rattail.enum`` module).
|
|
|
|
|
|
|
|
- Improved SIL support: moved ``rattail.sil`` to subpackage, added ``Writer``
|
|
|
|
class etc.
|
|
|
|
|
|
|
|
- Fixed file monitor in Linux.
|
|
|
|
|
|
|
|
- Added ``delete-orphan`` to ``Vendor.contacts`` relationship cascade.
|
|
|
|
|
2012-08-17 11:40:57 -05:00
|
|
|
0.3a4
|
|
|
|
-----
|
|
|
|
|
|
|
|
- Update file monitor per changes in ``edbob``.
|
|
|
|
|
2012-08-12 14:18:35 -05:00
|
|
|
0.3a3
|
|
|
|
-----
|
|
|
|
|
|
|
|
- Move database extension to subdir (``rattail.db.extension``).
|
|
|
|
|
|
|
|
- Make database extension require ``auth`` extension.
|
|
|
|
|
|
|
|
- Fix ``rattail.db.init()``.
|
|
|
|
|
|
|
|
- Add lots of classes to database extension model.
|
|
|
|
|
|
|
|
- Add ``rattail.labels`` module.
|
|
|
|
|
|
|
|
- Add ``rattail.db.cache`` module.
|
|
|
|
|
|
|
|
- Add SIL output functions.
|
|
|
|
|
|
|
|
- Remove some batch code (for now?).
|
|
|
|
|
2012-07-25 15:34:05 -05:00
|
|
|
0.3a2
|
|
|
|
-----
|
|
|
|
|
|
|
|
- Added Windows file monitor service.
|
|
|
|
|
2012-04-10 12:09:29 -05:00
|
|
|
0.3a1
|
|
|
|
-----
|
|
|
|
|
|
|
|
- Refactored to rely on `edbob <http://edbob.org/>`_. (Most of Rattail's
|
|
|
|
"guts" now live there instead.)
|