Commit graph

3860 commits

Author SHA1 Message Date
Lance Edgar a1140645ec Update changelog 2017-05-25 14:49:25 -05:00
Lance Edgar 946d369775 Whoops, add DataSyncConsumer back..
accidentally removed too much in last commit
2017-05-25 14:35:04 -05:00
Lance Edgar 3b9752a1b2 Remove all references to old importer frameworks
we now have a winner, these served their purpose but are no longer wanted
2017-05-25 14:31:00 -05:00
Lance Edgar bb8193ad48 Add basic ProductStoreInfo to data model
this probably will grow, for now just has the `recently_active` flag
2017-05-24 14:19:51 -05:00
Lance Edgar 8dda5fca69 Tweak new batch templates per newer conventions 2017-05-19 12:39:31 -05:00
Lance Edgar ca06c921cb Remove some deprecated batch handler methods 2017-05-18 11:56:55 -05:00
Lance Edgar 75e6a550d0 Update changelog 2017-05-18 08:40:26 -05:00
Lance Edgar 8d7ab06c2c Add Employee.full_time and full_time_start to schema 2017-05-16 13:43:08 -05:00
Lance Edgar 7265090a57 Tweak fablib.postgresql.script() to allow running as arbitrary PG user
this is needed sometimes, when running a script which creates all
initial tables for a database, so that the tables wind up being owned by
the correct user
2017-05-14 15:56:11 -05:00
Lance Edgar 3f819cc40e Add initial support for Trainwreck database 2017-05-12 23:14:01 -05:00
Lance Edgar 5788e3f812 Tweak how SQLAlchemy-based importers fetch a single local object
i.e. for datasync consumers, we want to leverage the cache query in case
it has certain filters in place etc.
2017-05-12 15:43:12 -05:00
Lance Edgar 93b3ee6bf6 Add Customer.active_in_pos flag to schema 2017-05-12 14:45:04 -05:00
Lance Edgar 5241792859 Add basic support for importing.ToRattail.extension_fields 2017-05-11 19:57:21 -05:00
Lance Edgar 74a7f3f7ce Allow importing of Customer.person primary association
i.e. for those who want a 1-to-1 relationship there
2017-05-11 13:52:31 -05:00
Lance Edgar f27cc37c4e Add Customer.number field to schema
for those who want a proper integer key on the customer table
2017-05-11 13:51:57 -05:00
Lance Edgar e1112f071e Set ImportHandler.enum attribute based on config 2017-05-11 09:48:40 -05:00
Lance Edgar 9ed8292adc Make apt dist-upgrade non-interactive 2017-05-11 09:32:19 -05:00
Lance Edgar d30e30c2f3 Tweak product code importer, to detect and warn about unknown product 2017-05-10 14:21:56 -05:00
Lance Edgar 5dac4dd663 Update changelog 2017-05-05 17:51:21 -05:00
Lance Edgar e49b56f4d9 Add all_fields flag to Importer.update_object() method
occasionally useful to be able to update all fields for an object,
which are present in the given data set..i.e. regardless of what the
importer's "effective" field list happens to be..
2017-05-05 16:13:22 -05:00
Lance Edgar ebcd849aa7 Update changelog 2017-04-18 18:49:56 -05:00
Lance Edgar 663470fde5 Tweak mail template for user feedback, to wrap message body 2017-04-17 14:13:29 -05:00
Lance Edgar 22b3f4666f Accept a python arg for fablib.python.mkvirtualenv() 2017-04-01 22:47:19 -05:00
Lance Edgar 617ddec1ac Update changelog 2017-03-30 00:19:36 -05:00
Lance Edgar c19481ddfd Add --daemonize arg to daemon commands: datasync, filemon, bouncer
..in preparation for making --no-daemonize the default..
2017-03-29 23:35:14 -05:00
Lance Edgar c855e39ca1 Tweak constructor for base Importer class
apparently can't always assume we have config, e.g. during tests?
2017-03-29 16:11:51 -05:00
Lance Edgar c27c3914ae Add use_lists arg for cache.cache_model(), plus CacheKeyNotSupported 2017-03-29 14:00:30 -05:00
Lance Edgar 0b71aa8441 Update changelog 2017-03-29 12:44:46 -05:00
Lance Edgar b93ba08c6d Fix broken config in project template 2017-03-29 00:33:50 -05:00
Lance Edgar 6438dcf51a Try to guess first/last name when making new rattail user via command line 2017-03-28 23:39:00 -05:00
Lance Edgar 3d1154b5a9 Add ProductCost.discontinued flag to schema 2017-03-28 19:55:39 -05:00
Lance Edgar f230b379c4 Add way to suppress md5-related warning when we import appy 2017-03-28 15:21:42 -05:00
Lance Edgar 72dfb0253e Add the User.active_sticky flag for smarter account sync 2017-03-27 21:27:59 -05:00
Lance Edgar 5ad40abc81 Add Importer.enum convenience attribute 2017-03-27 21:02:46 -05:00
Lance Edgar 8dca80edc6 Add rattail.upgrade_rattail_db() fablib function 2017-03-26 18:41:10 -05:00
Lance Edgar 9be72614ab Make first host data entry win, when duplicates detected in core importer
this also fixes behavior when "max" import count is reached
2017-03-26 18:40:25 -05:00
Lance Edgar e7bce60c95 Tweak output of util.pretty_quantity()
so that '27.500' => '27.5'
2017-03-26 18:39:37 -05:00
Lance Edgar bda2e339f6 Update changelog 2017-03-25 15:32:53 -05:00
Lance Edgar 1489cbc439 Add PurchaseItem.item_id field, PurchaseBatchHandler.ignore_cases flag 2017-03-24 17:17:22 -05:00
Lance Edgar a941c38f75 Fix coverage test 2017-03-24 12:25:21 -05:00
Lance Edgar c9426fd6cd Add more progress support to base Importer
whoops, missed delete..probably others..
2017-03-23 22:51:59 -05:00
Lance Edgar d94f4f5cac Add proper cancel support to base Importer class 2017-03-23 22:48:25 -05:00
Lance Edgar a36f6bdc94 Add support for importing product unit cost 2017-03-23 19:21:27 -05:00
Lance Edgar 86bc7da798 Add Product.item_id and item_type, plus grow description fields 2017-03-23 19:21:07 -05:00
Lance Edgar 15867ee805 Use 'restart' instead of 'start' when deploying soffice daemon 2017-03-22 20:08:12 -05:00
Lance Edgar 930e04e0b2 Update changelog 2017-03-22 19:22:29 -05:00
Lance Edgar ba6ef64737 Add basic 'soffice' daemon script for headless LibreOffice 2017-03-22 19:13:23 -05:00
Lance Edgar b0ea9e67ef Add basic fablib for LibreOffice support 2017-03-22 18:16:41 -05:00
Lance Edgar f25e9bf20a Add basic ReportOutput data model
hopefully this covers the majority of cases, we'll see...
2017-03-22 13:52:49 -05:00
Lance Edgar 40d00e5b87 Tweak method signature for BatchMixin.absolute_filepath() 2017-03-22 13:52:30 -05:00