Lance Edgar
adc6588220
Fix chicken vs egg bug when reading db config
2016-10-06 13:03:16 -05:00
Lance Edgar
635adfddd5
Update changelog
2016-10-05 14:55:28 -05:00
Lance Edgar
9336e733a8
Be smarter when caching department data, in some importers
...
If caching by number, then exclude number-less departments.
2016-10-05 14:46:37 -05:00
Lance Edgar
e7cfc483a9
Update changelog
2016-10-04 22:04:07 -05:00
Lance Edgar
98e8ab5183
Add RattailConfig.setdb()
method, for ad-hoc settings
2016-10-04 21:57:18 -05:00
Lance Edgar
0525c0e45d
Let SQLAlchemy-targeting importer override local cache query
2016-10-04 21:56:48 -05:00
Lance Edgar
7f9a872848
Let import handler's warnings
flag get passed to importers
2016-10-04 21:56:28 -05:00
Lance Edgar
e1f5452f36
Don't register package on PyPI, per new rules (?)
...
Apparently that's not required / supported any longer, oh well.
2016-10-04 12:57:19 -05:00
Lance Edgar
be2caf036b
Update changelog
2016-10-04 12:53:18 -05:00
Lance Edgar
f9bba46094
Fix minor bugs with Rattail -> Rattail data importers
...
These were caught by the tests...imagine that.
2016-10-04 12:51:57 -05:00
Lance Edgar
e3c6a63bf5
Update changelog
2016-10-04 12:43:38 -05:00
Lance Edgar
d6af73e7d4
Fix optimizations for Rattail -> Rattail data importers
...
Not sure when this got missed exactly, but only recently caused a
noticeable lag.
2016-10-04 12:42:34 -05:00
Lance Edgar
82383a7bc5
Update changelog
2016-09-28 20:02:42 -05:00
Lance Edgar
a30a19c25b
Always warn if duplicate keys detected when caching a data model
2016-09-28 20:01:31 -05:00
Lance Edgar
9ddb9e2269
Add Category.code
to schema
...
With unique constraint, but nulls *are* allowed.
2016-09-28 20:01:04 -05:00
Lance Edgar
047c0dfce8
Update changelog
2016-09-27 19:41:45 -05:00
Lance Edgar
4ca9071a02
Fix typo bug
2016-09-27 19:17:00 -05:00
Lance Edgar
21697691b7
Update changelog
2016-09-26 15:14:08 -05:00
Lance Edgar
a594916203
Tweak base importer logic to allow for *not* creating new object
...
Sometimes that's just how it needs to go down...
2016-09-23 13:17:54 -05:00
Lance Edgar
8cd937166b
Add "full" model importer support, for sake of SMS -> Rattail
2016-09-21 17:03:36 -05:00
Lance Edgar
eb7a28fbd0
Add basic phone number validation logic, tweak email validation
2016-09-18 17:12:33 -05:00
Lance Edgar
a5f313579a
Add 'refreshable' flag to batch handler
...
Hopefully a good idea..?
2016-09-18 17:12:17 -05:00
Lance Edgar
51bfcb3a65
Log traceback when error happens for filemon action
...
In addition to sending the email that is.
2016-09-18 17:11:48 -05:00
Lance Edgar
6ff9a953be
Add customization hook for identifying product for vendor catalog row
2016-09-16 15:50:04 -05:00
Lance Edgar
a4d5a87014
Refactor some things to avoid unwanted eager imports
...
Was running into 'bcrypt' errors on a system which didn't have (or
really) need that installed.
2016-08-26 20:12:17 -05:00
Lance Edgar
16bec79c6a
Add initial docs for data importers
2016-08-26 14:07:38 -05:00
Lance Edgar
7d5b0f6377
Update changelog
2016-08-23 16:57:20 -05:00
Lance Edgar
6b559fbc7b
When deleting batch, only try to delete its file if it has a filename
2016-08-23 15:25:20 -05:00
Lance Edgar
ce34d84320
Add "mode" for inventory batches
...
Roughly corresponding to the SMS inventory modes, but seemed generally useful.
2016-08-23 12:50:01 -05:00
Lance Edgar
8a293b46b2
Skip 'removed' rows when creating inventory batch from handheld batch
2016-08-22 15:45:23 -05:00
Lance Edgar
b5393ec91c
Add BaseFileBatchMixin
in hopes it makes sense...
2016-08-20 21:02:08 -05:00
Lance Edgar
a9c7e72e55
Auto-associate batch row class with batch class
2016-08-20 21:01:36 -05:00
Lance Edgar
79a6dbdf71
Add support for raw RattailCE data files for handheld batches
2016-08-19 14:16:52 -05:00
Lance Edgar
0c7e3badc6
Update changelog
2016-08-18 18:35:49 -05:00
Lance Edgar
f93bc9d765
Add hostname to filemon action error email
2016-08-18 17:49:53 -05:00
Lance Edgar
24b381de40
Fix import bug in inventory batch handler
2016-08-17 19:59:57 -05:00
Lance Edgar
4fe117a62b
Update changelog
2016-08-17 17:20:36 -05:00
Lance Edgar
396cef562b
Add new 'handheld' and 'inventory' batches
2016-08-17 16:41:56 -05:00
Lance Edgar
dac28dd0d2
Add system-wide unique ID for new-style batches
2016-08-17 16:41:12 -05:00
Lance Edgar
5fb18dbad1
Allow extra kwargs to be passed to new-style batch handler execute() method
2016-08-17 16:38:56 -05:00
Lance Edgar
379dd63e1d
Update changelog
2016-08-13 21:51:13 -05:00
Lance Edgar
bf278c775f
Add basic retry mechanism to datasync watcher.get_changes()
logic
...
Maybe a bit experimental yet, but hopefully does it right. Also makes
the 'lastrun' timestamp a proper zone-aware UTC, for watcher
convenience. Plus other changes I'm sure.
2016-08-13 21:31:28 -05:00
Lance Edgar
365cd91d6f
Tweak logic for determining effective importers, in datasync consumer
...
Defer pruning of "local" models until after the mapping has already happened.
2016-08-13 16:48:26 -05:00
Lance Edgar
6a76e4f9b1
Update changelog
2016-08-12 20:31:40 -05:00
Lance Edgar
be8d22523e
Add common config for filemon error emails
2016-08-12 20:30:54 -05:00
Lance Edgar
9b09800952
Update changelog
2016-08-12 17:16:39 -05:00
Lance Edgar
2223671f4b
Add datasync URL to email template for watcher errors
2016-08-12 17:14:14 -05:00
Lance Edgar
5cf0dfe4d0
Add RattailConfig.getdate()
convenience method
2016-08-11 23:59:02 -05:00
Lance Edgar
c7dff65ad0
Fix broken test
2016-08-11 20:21:25 -05:00
Lance Edgar
731f68b62b
Send proper email when filemon encounters error while invoking action
...
This surely is better.
2016-08-11 20:05:12 -05:00