Commit graph

892 commits

Author SHA1 Message Date
Lance Edgar 22a713b40f Add version restriction for SQLAlchemy-Utils.
Hopefully that can be removed soon...
2015-07-28 20:17:20 -05:00
Lance Edgar 0cd5ec40cd Fix whitespace. 2015-07-28 18:16:21 -05:00
Lance Edgar 44f029dd83 Update changelog. 2015-07-27 21:01:29 -05:00
Lance Edgar d8b94444d4 Add process_bounce() to email bounce handlers; call from daemon. 2015-07-24 14:51:38 -05:00
Lance Edgar 8bca399b50 Add get_profile_keys() for bouncer config.
This is for the sake of the Tailbone UI.
2015-07-23 20:04:43 -05:00
Lance Edgar fbfc87d58f Read some URLs from config instead of using bogus hard-coded ones. 2015-07-23 17:37:24 -05:00
Lance Edgar 34622ee4bc Add contrib init.d script for bouncer daemon. 2015-07-23 15:46:19 -05:00
Lance Edgar ac29828328 Fix bug in bounce handler. 2015-07-22 20:54:03 -05:00
Lance Edgar f85ba1d3f9 Add initial support for email bounce management. 2015-07-22 19:57:36 -05:00
Lance Edgar 4bb146e2e1 Update changelog. 2015-07-21 13:59:43 -05:00
Lance Edgar 3c3d26f172 Add files.locking_copy_old() function.
Something *did* appear to change regarding the behavior of the newer
`locking_copy()` function.  Making the old one available again at least
temporarily, until the issue is settled.
2015-07-21 13:58:00 -05:00
Lance Edgar d1976ea7ff Update changelog. 2015-07-20 17:05:30 -05:00
Lance Edgar 686f17e376 Fix how rows are initially added to a batch.
Apparently they were being added twice?  This still may not be quite right
yet...
2015-07-20 12:46:54 -05:00
Lance Edgar 336ae96b38 Assign batch attribute on rows prior to cognizing.
Sometimes the cognize logic needs access to the batch and its attributes.
2015-07-16 00:08:01 -05:00
Lance Edgar 4dbdbf070b Add get_stores() API function. 2015-07-15 23:17:10 -05:00
Lance Edgar fb77c4e823 Update changelog. 2015-07-15 21:00:30 -05:00
Lance Edgar 8d37cff1f1 Fix bug in KeHe invoice parser, if row has no UPC. 2015-07-15 20:59:41 -05:00
Lance Edgar f420d1fdd9 Update changelog. 2015-07-15 18:39:54 -05:00
Lance Edgar ffe75b88c0 Add date-organize command for help with archiving data files etc. 2015-07-15 14:08:55 -05:00
Lance Edgar adc4c8b096 Add docs for MakeFileBatch filemon action class. 2015-07-09 18:04:34 -05:00
Lance Edgar b10bd27e60 Declare 'classic' docs theme to avoid Sphinx warnings. 2015-07-09 18:04:16 -05:00
Lance Edgar 6894414d04 In batch handlers, let cognize_row() return False to skip the row. 2015-07-09 14:35:10 -05:00
Lance Edgar 98caabe44d Add BatchHandler.executable() method, for sake of UI.
Simple way to allow handler to disable Execute button in the UI.
2015-07-09 13:37:59 -05:00
Lance Edgar a466f3122f Add MakeFileBatch generic filemon action. 2015-07-09 13:24:23 -05:00
Lance Edgar 08b0f2326b Set default filename for file-based batches if it's safe to do so. 2015-07-09 01:20:23 -05:00
Lance Edgar bc3088fbb9 Remove some unwanted tests. 2015-07-04 15:11:39 -05:00
Lance Edgar edb0f49c0f Update changelog. 2015-07-04 14:33:43 -05:00
Lance Edgar d9b506352a Change behavior of files.locking_copy() function.
The test function has been doing its job well, I'm calling it the better
function at this point.
2015-07-04 14:31:33 -05:00
Lance Edgar ea51da11be Add RattailConfig.getint() method to allow a default value. 2015-07-04 12:40:26 -05:00
Lance Edgar 4c73fd3f24 Give commands a proper RattailConfig object instance.
Instead of just using `edbob.config` directly.
2015-07-04 12:39:53 -05:00
Lance Edgar 6fac1ddab2 Add 'key' as 3rd positional / 1st keyword arg to cache_model() function.
This makes it line up with `ModelCacher` constructor.
2015-07-03 17:47:12 -05:00
Lance Edgar d308c48906 Always upgrade pip (and install wheel) when "installing" pip. 2015-07-01 15:52:48 -05:00
Lance Edgar ac3edc4b34 Add support for configurable Reply-To address when sending email. 2015-06-29 23:23:31 -05:00
Lance Edgar 8b79bf7de3 Update changelog. 2015-06-29 19:50:41 -05:00
Lance Edgar 9af88bf4cc Add basic support for email attachments.
This is hopefully at least somewhat proper...
2015-06-29 10:50:33 -05:00
Lance Edgar cd93b6b247 Update changelog. 2015-05-23 12:14:45 -05:00
Lance Edgar 1fed4a7290 Don't normalize Employee.display_name to null, in importer. 2015-05-23 12:13:52 -05:00
Lance Edgar e9c51e2187 Update changelog. 2015-05-22 23:03:32 -05:00
Lance Edgar 6d2603d948 Don't normalize customer name fields to None when importing. 2015-05-22 23:01:26 -05:00
Lance Edgar b6f4cae8af Fix bug in create_mysql_user() Fabric function.
The existence check was failing if the host was not localhost.
2015-05-08 21:02:19 -05:00
Lance Edgar abb51069a7 Add grant_mysql_access() function for Fabric. 2015-05-08 21:02:00 -05:00
Lance Edgar daf31a8071 Allow override of UID when creating system user via Fabric. 2015-05-08 21:01:24 -05:00
Lance Edgar 40b6cb4718 Add mail.get_template(); allow override of subject and recipients.
These changes were made for convenience within an "Email Previews" web
page.
2015-05-02 20:37:53 -05:00
Lance Edgar c80ff63553 Add User.get_email_address() and User.email_address.
For now, these will do.  Probably need to revisit that at some point.
2015-05-02 20:37:53 -05:00
Lance Edgar 4d7e67c137 Remove .coveragerc file.
This was skipping coverage for various things, but we should just own up to
the coverage problem and address it instead.
2015-05-02 20:37:53 -05:00
Lance Edgar 60ccfbb3ef Add config setting to globally disable sending of emails.
With tests!  Had to refactor the mail logic a bit to make that part easier.
2015-04-30 17:46:26 -05:00
Lance Edgar eeb4fce5ca Don't change mode for 'app/log' folder in mkvirtualenv().
Callers may lock it down after the fact if they like.
2015-04-27 22:39:34 -05:00
Lance Edgar f6ed45b62a Update changelog. 2015-04-27 15:39:57 -05:00
Lance Edgar 4ebd9fb990 Add PathNotFound exception, normalize to it within locking_copy_test().
Hopefully this improves the retry situation on a certain system I know...
2015-04-27 15:30:52 -05:00
Lance Edgar 79716df457 Add get_product_by_vendor_code() API function. 2015-04-27 14:24:46 -05:00