Commit graph

2493 commits

Author SHA1 Message Date
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
Lance Edgar
7b18fec2a2 Add ExportMixin.filepath() convenience method
also added the `export_key` attribute here
2017-03-22 13:51:04 -05:00
Lance Edgar
32e2f4f75c Add db.util.short_session() context manager 2017-03-22 13:50:22 -05:00
Lance Edgar
6b9dab9bba Add better "runas" user support for subcommands 2017-03-22 13:49:18 -05:00
Lance Edgar
de1329728f Add poddoc module for basic appy.pod integration support 2017-03-22 13:47:44 -05:00
Lance Edgar
0b51eedbd9 Add sane default handling of PDF attachments when sending email 2017-03-22 13:47:16 -05:00
Lance Edgar
f73e9bf8ab Make config.export_filepath() return filedir if no filename given 2017-03-22 13:46:47 -05:00
Lance Edgar
754521afda Add errors kwarg to csv readers 2017-03-21 19:34:58 -05:00
Lance Edgar
ad5e26437c Remove unwanted tests 2017-03-21 15:07:08 -05:00
Lance Edgar
447fa7289d Tweak template files for new batch 2017-03-21 13:15:49 -05:00
Lance Edgar
12c5d94f69 Refactor core commands somewhat
this also adds the `--runas` arg
2017-03-21 13:15:29 -05:00
Lance Edgar
1b2e8c534c Add CustomerMailingAddress to data model 2017-03-21 13:15:04 -05:00
Lance Edgar
9c932a5ee6 Add mysql.clone_db() fablib function 2017-03-21 13:13:59 -05:00
Lance Edgar
7f6b89f7bb Change BatchMixin.delete_data() method to remove entire folder
instead of trying to delete known files first, just remove it all
2017-03-21 13:12:49 -05:00
Lance Edgar
b3e67e3bda Add ModelBase.make_proxy() class method
this hopefully will make for some more terse / readable code..
2017-03-21 13:11:31 -05:00
Lance Edgar
bf5619775a Fix typo in project template's setup.py 2017-03-21 13:10:29 -05:00
Lance Edgar
55eb8136fb Add BatchHandler.populate() and should_populate()
..and `populate_batches` attribute
2017-03-21 13:07:33 -05:00
Lance Edgar
68c63cf8bd Make allow_cancel default to false, for util.progress_loop() 2017-03-21 13:06:20 -05:00