Commit graph

3860 commits

Author SHA1 Message Date
Lance Edgar ed71cbb7d5 Add unit cost for inventory batches 2017-07-11 22:40:29 -05:00
Lance Edgar bec3879af6 Add generic reason code for inventory batches 2017-07-11 21:58:30 -05:00
Lance Edgar c0ce063fb6 Various tweaks to inventory batches
with goal of supporting mobile workflows..
2017-07-11 20:54:20 -05:00
Lance Edgar 1291453029 Add complete flag to all batches
you don't have to use it, but it's there if you want it
2017-07-11 15:22:51 -05:00
Lance Edgar 8adfd3cf99 Update changelog 2017-07-07 09:22:31 -05:00
Lance Edgar 180c9314d8 Switch license to GPL v3 (no longer Affero)
refs #2
2017-07-06 23:34:13 -05:00
Lance Edgar 527f617822 Update changelog 2017-07-06 21:27:11 -05:00
Lance Edgar 5ea06f5ce2 Cleanup some unicode stuff per py3k effort 2017-07-06 16:50:47 -05:00
Lance Edgar ce1b0ec546 Replace usage of execfile()
per py3k effort
2017-07-06 16:23:16 -05:00
Lance Edgar 2ac7bad207 Add basic 'runas' support for datasync
if continuum versioning is enabled, should help us keep track of where
changes are coming from
2017-07-06 13:17:25 -05:00
Lance Edgar 33b0413e1d Add versioning support for all contact-related models
i.e. Person, Customer etc. - products should come soon!
2017-07-05 17:13:42 -05:00
Lance Edgar 566b425b7d Various tweaks to improve initial versioning support 2017-07-05 03:06:49 -05:00
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