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
Lance Edgar
9c6d514ca6
Allow override of root restriction when configuring SSH.
2015-04-26 12:29:42 -05:00
Lance Edgar
3197ec76dd
Add some SSH config stuff for Fabric.
...
We'll see if this is a good idea or not..
2015-04-26 01:56:52 -05:00
Lance Edgar
fa1e8d7ce2
Update changelog.
2015-04-24 19:41:04 -05:00
Lance Edgar
50e3c94853
Add --max-updates
arg to import commands.
2015-04-22 21:40:19 -05:00
Lance Edgar
114a4bde81
Update changelog.
2015-04-21 13:17:27 -05:00
Lance Edgar
9012fb0c59
Don't normalize Product.size
to null when importing.
...
I found a reason to need to distinguish between null and empty string,
which means an empty string should survive normalization.
2015-04-15 13:29:59 -05:00
Lance Edgar
75a99f131d
Update changelog.
2015-04-14 15:37:18 -05:00
Lance Edgar
0e6e2a5f1d
Fix constructors etc. for old-style batch providers.
2015-04-14 15:35:37 -05:00
Lance Edgar
f6a97d1f81
Update changelog.
2015-04-14 13:26:38 -05:00
Lance Edgar
9343ba3fb2
Tweak locking_copy_test()
to assume destination is always a folder.
...
Also add constant for "file exists" error.
2015-04-14 13:24:42 -05:00
Lance Edgar
8a9080ecd8
Make config a required arg to BatchProvider
constructor.
...
This whole thing will go away at some point, for now just trying to remove
more edbob cruft.
2015-04-14 01:28:26 -05:00
Lance Edgar
5a9fa4d2ff
Normalize duplicate records during import.
...
This is to avoid the ping-pong effect. Also fix a logging bug.
2015-04-14 01:10:35 -05:00
Lance Edgar
dd5f765aef
Tweak logging verbiage.
2015-04-13 23:44:52 -05:00
Lance Edgar
4ffce182f7
Update changelog.
2015-04-13 23:17:53 -05:00
Lance Edgar
021b178972
Add files.locking_copy_test()
function.
...
The hope is that simplifying the lockout will help with certain network
issues that can plague a certain server I know... If this test is
successful then the `locking_copy()` function will be silently replaced.
2015-04-13 23:13:55 -05:00
Lance Edgar
d87d93a88c
Fix runas user bug in dbsync init script.
...
Same thing as was recently done for the filemon script.
2015-04-13 20:00:42 -05:00
Lance Edgar
3759087ed8
Tweak filemon init script to avoid issue of root-owned log file.
...
Sometimes during server bootstrapping the 'filemon stop' command would be
ran first, which was previously being run as root, and that meant creating
the log file as root.
2015-04-12 21:08:25 -05:00
Lance Edgar
197ca6dd2a
Add get_department()
API function.
2015-04-11 08:01:14 -05:00
Lance Edgar
6256796086
Tweak handling of customer phone data in importer (again).
2015-04-11 06:20:06 -05:00
Lance Edgar
3b94c5160d
Change how customer phone data is handled in importer.
2015-04-11 04:05:25 -05:00
Lance Edgar
7166580e24
Fix phone_2 bug in Customer importer.
...
If phone_2 being imported is None, remove all secondary Voice phones from
the customer.
2015-04-11 03:24:44 -05:00
Lance Edgar
48a12d10f3
Add Person.employee
relationship and User.employee
convenience property.
2015-04-11 00:21:27 -05:00
Lance Edgar
b78d15ff56
Update changelog.
2015-04-05 21:49:16 -05:00
Lance Edgar
8dfbdb6e6b
Improve warning message when duplicates found during data import.
2015-03-26 14:56:42 -05:00
Lance Edgar
c77c9dcfab
Tweak logging message.
2015-03-26 12:50:19 -05:00
Lance Edgar
e111718136
Remove print statement, dang it.
2015-03-25 21:42:33 -05:00
Lance Edgar
0e79626f1b
Log warning when duplicate key is detected during import.
2015-03-25 00:33:28 -05:00
Lance Edgar
ea1ddc4456
Don't normalize simple instance fields unless they're involved in the import.
2015-03-24 21:13:29 -05:00
Lance Edgar
eea046c950
Update changelog.
2015-03-24 13:18:58 -05:00
Lance Edgar
fa77fbbdc1
Add supposed optimization for simple fields within importer.
...
Not sure if this will make a difference or not, we'll see?
2015-03-24 00:17:25 -05:00
Lance Edgar
f09af043dc
Add DataProvider.int_()
method for importers.
2015-03-23 01:15:58 -05:00
Lance Edgar
56f5db4136
Fix Albert's invoice parser case quantity bug.
...
Seems sometimes those can be decimal within the invoice file.
2015-03-21 16:51:06 -05:00