Commit graph

2040 commits

Author SHA1 Message Date
Lance Edgar 182bb5dca2 Allow specifying sheet by name when creating ExcelReader 2017-11-11 09:50:21 -06:00
Lance Edgar b67c40cf04 Update changelog 2017-11-10 16:55:45 -06:00
Lance Edgar 0f00c2092a Add BatchHandler.cache_model() convenience function
even though it doesn't add much convenience except to avoid an import
2017-11-10 16:16:32 -06:00
Lance Edgar 4433e79fb6 Add generic util.data_diffs() function
update importer base class to use it
2017-11-10 16:15:54 -06:00
Lance Edgar 4af93ac405 Switch to passlib for password hashing and verification
at some point now, can remove the 'salt' column too
2017-11-09 21:35:15 -06:00
Lance Edgar 30636fcfcf Remove unwanted file for new batch template 2017-11-09 21:24:23 -06:00
Lance Edgar 9ce9348e68 Update changelog 2017-11-02 10:43:56 -07:00
Lance Edgar 0ca794b9de Add index on item_id for Trainwreck line items 2017-11-02 10:43:00 -07:00
Lance Edgar 6cfd59cdd8 Add end_time index for Trainwreck transactions 2017-11-02 09:36:30 -07:00
Lance Edgar 641cb7ea1b Update changelog 2017-11-01 20:59:46 -07:00
Lance Edgar 6bf4c3c530 Add convenience for parsing date in Excel reader
also add `sheet_by_name()` method
2017-10-31 20:41:51 -07:00
Lance Edgar c514f3cfaa Add personnel and product flags for Department 2017-10-30 20:50:31 -07:00
Lance Edgar 5c34b88725 Update changelog 2017-10-29 01:19:58 -07:00
Lance Edgar 55d795fd80 Add make_username() api function 2017-10-29 01:16:47 -07:00
Lance Edgar ea8e89b7b6 Update changelog 2017-10-28 16:43:21 -07:00
Lance Edgar 89db5612b0 Add cashier ID, name to trainwwreck transaction schema 2017-10-28 11:30:26 -07:00
Lance Edgar 05191a8789 Update conventions for some logging calls 2017-10-28 10:53:16 -07:00
Lance Edgar f4ee06e029 Update changelog 2017-10-27 22:42:31 -07:00
Lance Edgar 5ba151c5ea Delete UserEvent records when parent User is deleted 2017-10-27 19:59:56 -07:00
Lance Edgar 39cc65e77c Fix setup.py in project template, to include package data by default 2017-10-26 20:59:52 -07:00
Lance Edgar aecb11b74d Update changelog 2017-10-26 19:50:19 -07:00
Lance Edgar 0db7f2175b Make rattail <-> rattail datasync use topographic sort 2017-10-26 19:16:20 -07:00
Lance Edgar 51b6609f14 Let authenticate_user() function accept a user object *or* username 2017-10-26 18:41:07 -07:00
Lance Edgar 1ca7e938c4 Update changelog 2017-10-25 23:09:38 -07:00
Lance Edgar ea2dccd237 Improve the upgrade command, to allow better automation
the goal being, to add/enable a new upgrade via UI, then let overnight script
run the "enabled" upgrade if it exists
2017-10-25 23:06:58 -07:00
Lance Edgar 6279d3d21c Make rattail <-> importers and dataysnc more flexible
really this adds full "import and/or export", depending on system setup
2017-10-25 23:05:17 -07:00
Lance Edgar 96fc4d0338 Add speedup for rattail -> rattail AdminUser imports 2017-10-25 11:31:39 -07:00
Lance Edgar 954c9749a8 Update changelog 2017-10-24 15:18:16 -07:00
Lance Edgar 667d08f34e Fix encoding issue when sending email
ugh, one of these days I should "really" fix this..but not yet it seems
2017-10-24 15:15:42 -07:00
Lance Edgar 7b36124b13 Update changelog 2017-10-24 10:15:38 -07:00
Lance Edgar 7a869099aa Make sending email more configurable
allow overriding subject prefix, recipients; add mechanism for embedding inline
images etc.
2017-10-24 10:08:34 -07:00
Lance Edgar 84099bbfc8 Add Person.users relationship
hopefully this doesn't break anything...
2017-10-24 10:08:11 -07:00
Lance Edgar 1011f89eba Add User.last_login to schema 2017-10-24 10:07:59 -07:00
Lance Edgar 3227ed0754 Add index on trainwreck Transaction.start_time 2017-10-24 10:06:24 -07:00
Lance Edgar 239303920c Increase item_id for trainwreck to 50 chars 2017-10-24 09:50:35 -07:00
Lance Edgar a91de634a3 Add item_id to Trainwreck schema, rename item_scancode
sometimes a scancode isn't quite unique enough...
2017-10-24 09:13:39 -07:00
Lance Edgar 4145e9c889 Update changelog 2017-10-19 07:58:25 -07:00
Lance Edgar cd314f71e4 Add upload_time to base Transaction table for trainwreck 2017-10-18 12:53:54 -07:00
Lance Edgar b1f8048e45 Add version importers for Note, EmployeeHistory 2017-10-18 07:42:29 -07:00
Lance Edgar b528fe2b94 Add generic Note model, with PersonNote support plus importer 2017-10-17 13:41:12 -07:00
Lance Edgar cf104c430f Add model for EmployeeHistory 2017-10-17 08:51:20 -07:00
Lance Edgar e69fdada8e Let time.previous_month() calculate arbitrary number of months
i.e. "last month" by default, but also support 6 months ago etc.
2017-10-16 14:00:33 -07:00
Lance Edgar fb5290cd3e Add generic datasync consumer for Rattail -> Rattail export 2017-10-16 13:58:05 -07:00
Lance Edgar c365e61516 Add 'using' db key when importing from Django 2017-10-12 16:40:49 -07:00
Lance Edgar 6f5cdd160d Add better str() methods for contact models 2017-10-12 14:35:45 -07:00
Lance Edgar 46e92c39a3 Minor tweaks to new config etc. 2017-10-11 16:39:55 -07:00
Lance Edgar 31c8dd1c80 Update changelog 2017-09-29 12:05:18 -05:00
Lance Edgar a01bd1ad8e Grow size of total_cost column for inventory batches 2017-09-29 12:03:52 -05:00
Lance Edgar ddbb66be26 Update changelog 2017-09-28 14:20:23 -05:00
Lance Edgar d1b9d0e040 Don't auto-assign inventory batch count mode
this should be left to custom logic; sometimes it needs to be null
2017-09-28 14:07:56 -05:00