Commit graph

3270 commits

Author SHA1 Message Date
Lance Edgar
8125ba2626 Keep track of row count when populating Handheld batch 2017-06-21 12:58:36 -05:00
Lance Edgar
7872ff7460 Add fabric task for installing PHP Composer
https://getcomposer.org/
2017-06-21 12:39:43 -05:00
Lance Edgar
03c3214153 Update changelog 2017-06-19 14:50:11 -05:00
Lance Edgar
5639adad8c Fix encoding bug when setting user's password 2017-06-19 14:49:24 -05:00
Lance Edgar
44b5e703ee Update changelog 2017-06-14 09:13:45 -07:00
Lance Edgar
e5922dba01 Always encode password/salt before attempting auth login
apparently the latest bcrypt is more finicky with that?
2017-06-14 09:12:12 -07:00
Lance Edgar
55c8f275f0 Grow the item_type field for trainwreck line items 2017-06-06 18:24:14 -07:00
Lance Edgar
b39415623d Always install 'six' when making new virtualenv 2017-05-31 20:56:46 -05:00
Lance Edgar
89535e4169 Update changelog 2017-05-30 20:26:42 -05:00
Lance Edgar
caad3efa14 Remove all schema and logic for old-style batches 2017-05-25 16:57:25 -05:00
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