Lance Edgar
cf5b7158b8
Remove unwanted tests
2017-07-04 13:29:05 -05:00
Lance Edgar
975e71c8ed
Stop providing default value for Person.display_name
...
this used to be "first + last" but no longer..
2017-07-04 00:38:14 -05:00
Lance Edgar
b2028ecb58
Clean up SQLAlchemy-Continuum configuration a bit
...
we used to (think we) needed a custom Transaction class factory, but
that no longer seems to be necessary..
2017-07-03 23:32:24 -05:00
Lance Edgar
a0583f79a9
Add basic import-versions
command, for "catching up" versions
...
so far only Person is supported..
2017-07-03 21:44:39 -05:00
Lance Edgar
f763851cab
Tweak base Importer
constructor, so model_class
may be more dynamic
2017-07-03 21:44:39 -05:00
Lance Edgar
00f9f3e5dc
Add first/basic re-attempt at Continuum versioning (Person only)
...
hopefully we're back on the right track here..
2017-07-03 21:44:39 -05:00
Lance Edgar
6a41b2a498
Remove __versioned__
flags from all models
...
"soon" will add some back, but more conservatively this time..
2017-07-03 21:44:39 -05:00
Lance Edgar
8b834d0761
Remove all old "data versioning" (SQLAlchemy-Continuum) tables
...
nearly time to try this again..let's clear out some cruft
2017-07-03 21:44:36 -05:00
Lance Edgar
0faf9348af
Add department_number support to Category model importer
2017-07-03 13:41:14 -05:00
Lance Edgar
7f57bcc138
Add expect_duplicates
kwarg to cache_model()
...
sometimes you just want a list of unique keys, really..
2017-07-02 13:08:20 -05:00
Lance Edgar
ac1ebbf420
Update changelog
2017-07-01 20:44:50 -05:00
Lance Edgar
1ee635d62a
Install libreoffice-calc with headless soffice
2017-07-01 18:17:44 -05:00
Lance Edgar
1e8d938868
Add gross and net sales to Trainwreck items
2017-07-01 18:17:31 -05:00
Lance Edgar
6613006d96
Add "magic" for Excel file attachments when sending email
2017-06-30 12:38:09 -05:00
Lance Edgar
9afd6d9c7a
Make Subcommand.get_runas_user()
leverage args by default
...
i.e. if `--runas` arg was specified, use that
2017-06-30 12:37:51 -05:00
Lance Edgar
47148469f2
Add Subcommand.progress_loop()
convenience method
2017-06-30 12:37:06 -05:00
Lance Edgar
81d8a6182d
Update changelog
2017-06-26 10:23:45 -05:00
Lance Edgar
3e61a273a2
Move logic for refreshing handheld batch status
...
seems that logic wasn't generic enough to apply to all batch types
2017-06-26 10:22:39 -05:00
Lance Edgar
608f9b92dc
Update changelog
2017-06-22 19:54:13 -05:00
Lance Edgar
8b27a53616
Cascade deletion for handheld / inventory/label batch associations
2017-06-22 19:53:18 -05:00
Lance Edgar
c081132eb8
Optimize local data cache slightly, for importers
2017-06-22 18:17:52 -05:00
Lance Edgar
527f31ce41
Update changelog
2017-06-22 13:32:18 -05:00
Lance Edgar
d9fe3fe491
Refresh batch status after creating via filemon action
2017-06-22 13:19:43 -05:00
Lance Edgar
3b3a8bd832
Set batch row count when first making label/inventory from handheld
2017-06-22 01:16:58 -05:00
Lance Edgar
cd768a38fb
Fix batch row count when refreshing
2017-06-22 00:52:11 -05:00
Lance Edgar
9991f46e26
Add way to execute multiple handheld batches at once
2017-06-21 17:27:37 -05:00
Lance Edgar
5e8817e4d0
Refactor schema so label/inventory batch may come from multiple handheld batches
2017-06-21 15:34:40 -05:00
Lance Edgar
bd7348cc5b
Add status code to (all) batch headers
...
for sake of improving efficiency with handheld/inventory batches, but
hopefully generic enough to be useful elsewhere too
2017-06-21 13:22:09 -05:00
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