Commit graph

3860 commits

Author SHA1 Message Date
Lance Edgar aaf743e3a1 Add 'force' kwarg to pod.render_document() 2018-02-02 17:05:49 -06:00
Lance Edgar b5d0499db3 Add way to "force versioning" when making new migrations 2018-02-01 16:42:01 -06:00
Lance Edgar 0d022faf60 Update changelog 2018-01-31 18:31:45 -06:00
Lance Edgar 8172e8f7b1 Tweak how rattail import handler makes its session
only leverage "runas" user if present
2018-01-31 17:03:10 -06:00
Lance Edgar 9c15529da4 Fix some logging for "bulk" import handlers
i.e. log warning when relevant
2018-01-30 18:41:10 -06:00
Lance Edgar 1eddc786e7 Update changelog 2018-01-29 17:07:53 -06:00
Lance Edgar ab8f893a9f Add schema migration to fix version table 2018-01-26 14:46:41 -06:00
Lance Edgar b5a3f60b18 Add basic ExcelWriter class, plus xlrd and openpyxl dependencies
maybe not the best idea, but practical for now
2018-01-26 14:06:32 -06:00
Lance Edgar 56f0708d76 Add Brand.confirmed and unique constraint for name
also add `Brand.products` relationship
2018-01-25 16:09:03 -06:00
Lance Edgar d6c506ed6c Don't supply price from batch when printing labels, unless "static prices" 2018-01-25 14:57:11 -06:00
Lance Edgar c94d665ca8 Allow override of most kwargs when sending email
this was to support a scenario where one app needed to reach out to a different
rattail DB, to get settings for a particular email
2018-01-25 12:46:02 -06:00
Lance Edgar 1c19e5178c Update changelog 2018-01-24 18:16:36 -06:00
Lance Edgar b46f0951bb Add cashback field to Trainwreck transaction 2018-01-23 20:08:00 -06:00
Lance Edgar e26101aa4a Add index to Trainwreck item table, for transaction_uuid 2018-01-23 19:49:55 -06:00
Lance Edgar 20b3ba3f4e Accept 'user' kwarg when cloning MySQL database via fabric 2018-01-22 16:28:55 -06:00
Lance Edgar 40614dc2af Update changelog 2018-01-16 13:21:00 -06:00
Lance Edgar 93ac95d589 Revert "Remove a couple steps when cloning Postgres database"
This reverts commit 3cfed219b4.
2018-01-15 16:57:47 -06:00
Lance Edgar 34306a93f8 Allow certbot to be installed from source, even if package is available 2018-01-15 14:48:18 -06:00
Lance Edgar 9b586d93cc Add install logic for certbot on debian 9 2018-01-14 13:37:07 -06:00
Lance Edgar 3cfed219b4 Remove a couple steps when cloning Postgres database 2018-01-14 12:55:05 -06:00
Lance Edgar 6533855bcd Let db config keys be defined as arbitrary list
i.e. use `parse_list()` on it
2018-01-12 17:34:06 -06:00
Lance Edgar 35dda54f25 Add case_cost property for inventory batch rows
i.e. dynamically calculated, at least for now?
2018-01-11 12:58:19 -06:00
Lance Edgar d72ad1d5e1 Don't use DB as fallback when determining data model 2018-01-07 22:44:13 -06:00
Lance Edgar 1a14248237 Add some MIME magic for CSV attachments when sending email 2018-01-07 21:59:38 -06:00
Lance Edgar 5eb0401f7f Update changelog 2018-01-07 16:58:33 -06:00
Lance Edgar 8ac15ea470 Add first attempt for "importer as batch" feature 2018-01-06 19:19:20 -06:00
Lance Edgar 87f5747b96 Add util.get_object_spec() convenience function 2018-01-06 19:18:48 -06:00
Lance Edgar b9f17e5031 Add postgresql.create_schema() fab function 2018-01-06 19:13:14 -06:00
Lance Edgar 934e1c7271 Make ~/.ssh by default, when bootstrapping rattail 2018-01-06 19:13:11 -06:00
Lance Edgar 51c7631518 Assume MariaDB is *not* of concern, by default
i.e. if `mysql --version` doesn't work, assume false
2018-01-06 19:13:03 -06:00
Lance Edgar 398f93f7c3 Make BatchHandler.execute_many() responsible for setting execution details 2018-01-05 20:38:51 -06:00
Lance Edgar 70fafb2a0c Let label batch provide product prices when executing
plus refactor label printer / formatter logic a bit
2018-01-05 19:56:33 -06:00
Lance Edgar 9b880ef5e4 Add model, importer for InventoryAdjustmentReason
meant to be rather generic at this point, can dress up later if useful
2018-01-05 18:35:41 -06:00
Lance Edgar 0779f8047d Update changelog 2018-01-04 15:40:03 -06:00
Lance Edgar 09d5e18b12 Grow cost columns for vendor catalog batches
i.e. allow $10,000.00001
2017-12-21 20:43:16 -06:00
Lance Edgar 99dcb0be06 Revert "Set datasync consumer `now` to current time, when starting transaction"
This reverts commit 0dbbbedaa8.
2017-12-21 12:53:08 -06:00
Lance Edgar 0dbbbedaa8 Set datasync consumer `now` to current time, when starting transaction 2017-12-21 12:05:10 -06:00
Lance Edgar 3cd23de865 Add Product.price_required flag to schema 2017-12-20 19:01:12 -06:00
Lance Edgar 5cc76358c6 Update changelog 2017-12-19 20:47:20 -06:00
Lance Edgar d351685808 Add Person.first_valid_email() convenience method 2017-12-09 20:21:58 -06:00
Lance Edgar a1548a7260 Add Customer.employee convenience property 2017-12-09 20:21:48 -06:00
Lance Edgar f68a35f9a1 Update changelog 2017-12-08 18:02:20 -06:00
Lance Edgar 3000e852fa Fix typo 2017-12-08 18:01:27 -06:00
Lance Edgar cdb1c3b53a Add logging filter for Luigi task summary 2017-12-06 22:34:02 -06:00
Lance Edgar 76dfc6cbc2 Add suggested retail for vendor catalog batches 2017-12-05 13:32:26 -06:00
Lance Edgar d4cccd4f7b Update changelog 2017-12-05 12:50:42 -06:00
Lance Edgar 392db333e2 Use bytestring with getpass() 2017-12-05 12:49:31 -06:00
Lance Edgar e4e3c16dab Update changelog 2017-12-03 20:35:54 -06:00
Lance Edgar 7896a3e6de Add Transaction.system_id for Trainwreck 2017-12-03 20:33:04 -06:00
Lance Edgar 3d9bf78266 Update changelog 2017-12-03 19:46:02 -06:00