Lance Edgar
4a13dfb2bb
Check for null password before attempting bcrypt authentication.
2016-02-01 16:15:07 -06:00
Lance Edgar
4dee8beace
Update changelog.
2016-02-01 11:24:55 -06:00
Lance Edgar
ece3d8218a
Increase field size for Change.class_name
.
2016-02-01 11:23:57 -06:00
Lance Edgar
40c27deaf4
Fix import bug in fablib.
2016-01-31 18:04:41 -06:00
Lance Edgar
5cb3cd4540
Update changelog.
2016-01-30 16:33:33 -06:00
Lance Edgar
0529ae705b
Record change on employee when store/dept association are deleted.
2016-01-30 15:13:13 -06:00
Lance Edgar
41bbb6070b
Add EmployeeStore
association model, with import.
2016-01-30 15:12:18 -06:00
Lance Edgar
b5d073fe2b
Sort department associations by name, by default.
2016-01-30 15:11:22 -06:00
Lance Edgar
be2f7dd241
Fix log message bug, if instance has no UUID.
2016-01-30 15:10:29 -06:00
Lance Edgar
d2f5a1fff6
Update changelog.
2016-01-22 14:47:52 -06:00
Lance Edgar
e7a59fe9f3
Make upgrade of pip optional when doing mkvirtualenv()
via fabric.
2016-01-21 20:50:52 -06:00
Lance Edgar
c91219d549
Change how a vendor catalog batch gets its vendor, etc.
...
The parser no longer is required to declare a vendor "key", which means
something "above" the handler layer (i.e. tailbone) must provide the
vendor. Also set a friendly status text when there's a cost update.
2016-01-21 19:58:07 -06:00
Lance Edgar
3b8aaa0c5b
Tweak how vendor catalog parsers interpret decimal values.
2016-01-21 19:57:13 -06:00
Lance Edgar
c28b6b065b
Give vendor catalog rows a default description of empty string.
2016-01-21 19:56:18 -06:00
Lance Edgar
9f8c7184a4
Update changelog.
2016-01-18 19:15:56 -06:00
Lance Edgar
272fe76ce5
Add new EmployeeDepartment
model, and importer.
...
Also update some convenience properties, i.e. `User.employee` and such.
2016-01-17 19:41:14 -06:00
Lance Edgar
ada704250f
Add import normalizers for Department and Employee models.
2016-01-17 19:40:25 -06:00
Lance Edgar
53cfef1f5f
Only update Employee
fields which are officially part of the import.
...
Probably still have a lot of other models which need this...
2016-01-17 19:37:02 -06:00
Lance Edgar
9476c1abbe
Refactor some usage of sqlalchemy.orm.joinedload
etc.
...
Just trying to be consistent.
2016-01-17 19:34:54 -06:00
Lance Edgar
326921eb75
Only compare 'effective' fields when checking data diff during import.
2016-01-17 19:29:23 -06:00
Lance Edgar
191e648642
Add temp hack to avoid Person.modified
when doing a data dump.
...
This 'dump' idea probably needs to be replaced with a proper and
configurable 'export' instead, at some point.
2016-01-17 18:00:59 -06:00
Lance Edgar
d66b10a202
Update changelog.
2016-01-17 12:59:34 -06:00
Lance Edgar
3ecfd810c2
Remove progress
kwarg from importing setup()
method.
...
Dang, missed this one earlier..
2016-01-17 12:57:52 -06:00
Lance Edgar
2ea0680e3e
Update changelog.
2016-01-13 16:41:54 -06:00
Lance Edgar
cb34af518f
Add Importer.normalizer_class
attribute.
...
So subclasses don't have to define.
2016-01-13 15:14:53 -06:00
Lance Edgar
0ed5cc4b2f
Update changelog.
2016-01-13 13:18:04 -06:00
Lance Edgar
5375b96821
Add initial rattail->rattail data importer.
...
This has a long way to go yet...
2016-01-13 02:34:15 -06:00
Lance Edgar
0312941b04
Add initial 'messages' support in schema/import.
2016-01-13 02:34:15 -06:00
Lance Edgar
63b9f25aaf
Add 'normalizer' concept to data importer.
2016-01-13 02:34:10 -06:00
Lance Edgar
ace54ef4ee
Change how 'ignored' models are handled for rattail datasync consumers.
2016-01-13 02:29:35 -06:00
Lance Edgar
07c91a6732
Remove progress
kwarg from db importing setup()
methods.
2016-01-13 02:29:30 -06:00
Lance Edgar
b6854ea684
Don't use db when fetching timezone from config.
2016-01-13 02:06:00 -06:00
Lance Edgar
7216586225
Remove Python 2.6 from supported versions in trove classifiers.
2016-01-13 02:05:19 -06:00
Lance Edgar
42b0c308ca
Remove code to hide Python 2.6 deprecation warning.
...
Assuming we won't be supporting that any longer...
2016-01-13 02:04:31 -06:00
Lance Edgar
a0492f1fac
Add User.employee
convenience attribute.
2016-01-13 02:04:11 -06:00
Lance Edgar
dcf0dd9b8d
Update changelog.
2016-01-10 02:25:07 -06:00
Lance Edgar
392838e01e
Move "process warnings" logic for importers, to handler for simpler overriding.
2016-01-10 02:21:23 -06:00
Lance Edgar
b17a71e1ed
Add better unicode(ProductCode)
output.
2016-01-10 02:20:59 -06:00
Lance Edgar
354f1c3aa8
Update changelog.
2016-01-09 21:00:29 -06:00
Lance Edgar
539671484c
Make datasync errors cause the parent thread to terminate.
...
Instead of forever retrying and (typically) causing tons of error emails.
We may need to add retry delay/etc. config at some point, but not yet.
2016-01-09 20:57:59 -06:00
Lance Edgar
132e5df946
Add Person.middle_name
and Person.modified
.
...
The latter should be auto-set by the ORM on update only, and may not be imported.
2016-01-08 14:39:42 -06:00
Lance Edgar
c3ace8d85d
Tweak some logging output.
2016-01-07 13:42:58 -06:00
Lance Edgar
f3c8d19dc2
Update changelog.
2016-01-04 19:43:24 -06:00
Lance Edgar
ae4a431eaa
Add support for "preferred" pseudo-field when importing phone/email data.
2016-01-04 15:39:57 -06:00
Lance Edgar
89a1c032b8
Add teardown()
method for cleanup after data importing.
2016-01-04 15:39:30 -06:00
Lance Edgar
de042cde2e
Tweak ORM relationship for CustomerPerson.customer
.
...
I already forget why...
2016-01-04 15:39:13 -06:00
Lance Edgar
153d053d3c
Add support for importing CustomerPhoneNumber
data.
2015-12-28 15:01:01 -06:00
Lance Edgar
ff16448eb6
Tweak cache API to allow caller to specify query, and prevent duplicate keys.
2015-12-28 15:00:21 -06:00
Lance Edgar
671ee33d1d
Add MailingAddress
to schema and importer, etc.
2015-12-19 11:13:59 -06:00
Lance Edgar
9c228aa427
Add support for PersonEmailAddress.invalid
when importing data.
2015-12-19 11:13:24 -06:00