Commit graph

3431 commits

Author SHA1 Message Date
Lance Edgar 3d6ee12c0f Clean up Product model code a bit 2016-12-14 22:05:29 -06:00
Lance Edgar 874ba69813 Add Importer.progress_loop() convenience method 2016-12-14 22:04:46 -06:00
Lance Edgar 6055b9e3e8 Tweak purchase batch handler logic to account for "product not found" 2016-12-13 22:24:22 -06:00
Lance Edgar fbde295e9c Add db.util.make_full_description() convenience function 2016-12-13 22:23:56 -06:00
Lance Edgar 74e1923985 Add empty_zero kwarg for util.pretty_quantity() 2016-12-13 22:23:29 -06:00
Lance Edgar 423c26c09e Update changelog 2016-12-12 15:23:16 -06:00
Lance Edgar db027b30d9 Tweak some things to make older SQLAlchemy happy
These changes didn't seem to have any negative effects with new SA either
2016-12-12 12:16:23 -06:00
Lance Edgar 905609ae00 Add model title for datasync changes 2016-12-11 21:19:41 -06:00
Lance Edgar 53f682ddd3 Add User.get_short_name() convenience method 2016-12-11 17:57:56 -06:00
Lance Edgar c4135ca222 Update changelog 2016-12-11 10:50:12 -06:00
Lance Edgar ecf9382fd2 Add config for feedback email, let config dictate that's the only one sent
Mostly for sake of demo mode, but maybe useful elsewhere?
2016-12-10 14:53:29 -06:00
Lance Edgar 7fb4728806 Remove email configs for tempmon
Those now live in rattail-tempmon
2016-12-10 14:13:58 -06:00
Lance Edgar 0f2cf3f3f7 Add way to prevent [STAGE] prefix magic when editing in tailbone 2016-12-10 14:13:32 -06:00
Lance Edgar f5eef15cf1 Use 'rattail.emails' as fallback for tailbone view 2016-12-10 14:13:08 -06:00
Lance Edgar 5a27d42bf2 Update changelog 2016-12-10 12:48:39 -06:00
Lance Edgar 9dfa1d7d9d Remove tempmon mail templates
Those are now in rattail-tempmon instead
2016-12-10 12:43:34 -06:00
Lance Edgar 661713ff42 Add from_utc arg to time.localtime() function 2016-12-10 12:43:18 -06:00
Lance Edgar b5b9feed44 Update changelog 2016-12-10 09:20:04 -06:00
Lance Edgar ebb395a11e Add PurchaseCredit and friends to schema
Also allow missing cost when refreshing purchase batch row
2016-12-10 09:05:21 -06:00
Lance Edgar ad98038239 Add util.pretty_quantity() convenience function 2016-12-10 09:04:47 -06:00
Lance Edgar 9884772882 Add damaged/expired counts for use with receiving purchase batch 2016-12-09 15:29:38 -06:00
Lance Edgar 40cb785020 Compare sum of cases/units when receiving a purchase batch 2016-12-09 14:19:03 -06:00
Lance Edgar 7e4f2a2c09 Allow null values for cases/units when parsing CSV handheld file 2016-12-09 13:59:28 -06:00
Lance Edgar efdc2c9f04 Add column for Purchase.department 2016-12-09 13:59:01 -06:00
Lance Edgar caa956be8f Tweak model title for "Purchasing Batches" 2016-12-09 13:58:20 -06:00
Lance Edgar 40518b5f1d Always add [STAGE] email prefix unless running in production mode 2016-12-08 12:40:58 -06:00
Lance Edgar facfba8fa9 Update changelog 2016-12-08 12:10:14 -06:00
Lance Edgar 42bbccf97d Remove Person.full_name synonym..for now?
This was causing issues with FormAlchemy it seemed, let's just play it
safe until we can fully tackle that..if it's even worth it
2016-12-08 12:07:06 -06:00
Lance Edgar d6f2b1efb7 Add support for importing plain password, for sample data 2016-12-07 22:05:52 -06:00
Lance Edgar aceb62ef13 Make Fred Flintstone the new vendor contact in sample data 2016-12-07 19:54:04 -06:00
Lance Edgar c2a4de77ef Remove myself from sample Employee data 2016-12-07 19:49:37 -06:00
Lance Edgar e36512250a Remove myself from sample Person data 2016-12-07 19:46:34 -06:00
Lance Edgar 43e6c69eac Allow password to be set for make-user command
Also add `Person.full_name` alias for `display_name`
2016-12-07 19:17:26 -06:00
Lance Edgar 125f38d0f3 Update changelog 2016-12-05 19:01:18 -06:00
Lance Edgar 111dc2b15d Remove tempmon-server command
This has been moved to the rattail-tempmon project
2016-12-05 18:59:14 -06:00
Lance Edgar ac46a1b50c Add fab function for removing cached SSH host key 2016-12-04 13:46:24 -06:00
Lance Edgar be6526330b Fix bugs with tempmon email config 2016-12-01 11:55:15 -06:00
Lance Edgar 6afbd49ec9 Add base class for tempmon email config, for common sample data 2016-12-01 11:53:48 -06:00
Lance Edgar ebbf7abffb Let email subject be rendered "raw" or as template
This also adds `Email.enum` convenience attribute
2016-12-01 11:52:37 -06:00
Lance Edgar 5c3be14e90 Tweak imports in rattail.db.core module 2016-12-01 11:02:55 -06:00
Lance Edgar 92623ed0cf Update changelog 2016-11-30 16:57:51 -06:00
Lance Edgar 445eb8202c Fix bug when checking probe readings in tempmon-server 2016-11-30 16:57:14 -06:00
Lance Edgar 5e5f6f3448 Update changelog 2016-11-30 14:17:58 -06:00
Lance Edgar 04f8bd7ba1 Fix some import bugs 2016-11-30 14:17:16 -06:00
Lance Edgar b70d071339 Update changelog 2016-11-30 14:12:31 -06:00
Lance Edgar 8302c0bbe6 Fix syntax bugs 2016-11-30 14:11:54 -06:00
Lance Edgar 200d9b4b4c Update changelog 2016-11-30 14:07:36 -06:00
Lance Edgar 3b595e9ea7 Fix tempmon-server logic a bit, add default email config 2016-11-30 14:03:34 -06:00
Lance Edgar c7c1d37a1b Update changelog 2016-11-30 13:36:12 -06:00
Lance Edgar 46205a95fb Add tempmon-server command to start/top daemon 2016-11-30 13:34:20 -06:00