Lance Edgar
24f35f176a
Fix bug in config.get_user_file()
signature.
2015-08-20 14:36:31 -05:00
Lance Edgar
963985dafd
Update changelog.
2015-08-19 21:46:52 -05:00
Lance Edgar
88bc6caff0
Add optional progress
arg to BatchHandler.execute()
method.
2015-08-19 18:44:07 -05:00
Lance Edgar
d7c2a3f6e5
Refactor guts of sil.consume_batch_id()
function.
...
This no longer uses edbob, and even uses file locking. It remains to be
seen if any of this works..
2015-08-19 13:48:32 -05:00
Lance Edgar
0957849ee9
Add RattailConfig.getlist()
method.
2015-08-18 18:20:40 -05:00
Lance Edgar
7777a6f70f
Remove deprecated RattailConfig.getboolean()
method.
...
All calling code should be refactored, I believe..
2015-08-17 12:43:26 -05:00
Lance Edgar
40da476037
Add config
arg to labels.LabelFormatter
constructor.
2015-08-17 12:43:26 -05:00
Lance Edgar
3e580c666c
Remove make-config
command, and edbob dependency!
...
The `make-config` command still seems like a good idea, but hadn't been
implemented properly, and was just an eyesore at this point...
2015-08-17 12:28:52 -05:00
Lance Edgar
2bc3696e6d
Remove support for certain deprecated (edbob) config settings.
2015-08-16 19:51:50 -05:00
Lance Edgar
85ab706736
Overhaul config system, finally replacing edbob (yay!).
...
* No more `edbob.init()`, now we use `rattail.config.make_config()` instead.
* Adds new `ConfigExtension` mechanism to replace old 'init' config magic.
* Adds config extension for `rattail.db`, to load all Rattail db engines.
* All application entry points have been updated to use `make_config()`.
This also refactors `rattail.db` somewhat in general, to allow for safely
importing it without getting SA-related import errors.
2015-08-16 19:50:57 -05:00
Lance Edgar
61ffe27ee7
Move some config-related functions to rattail.db.config
.
...
This also ensures that `rattail.db.config` may be safely imported, even if
SQLAlchemy isn't available.
2015-08-16 19:44:22 -05:00
Lance Edgar
36967b9b7a
Remove some disabled/unused tests.
2015-08-16 19:38:06 -05:00
Lance Edgar
9694902d4c
Remove some unused/unwanted command line arguments.
...
These weren't bad ideas, but hadn't really been implemented. Easier just
to get rid of them for now.
2015-08-16 19:36:40 -05:00
Lance Edgar
e4169e8498
Add custom errors for when SA / Python for Windows Extensions not installed.
2015-08-16 19:30:00 -05:00
Lance Edgar
e68253443a
Fix type bug in db.api.get_department()
.
2015-08-14 15:03:14 -05:00
Lance Edgar
ef08cc7303
Add default repr()
behavior to data model classes.
2015-08-14 15:02:49 -05:00
Lance Edgar
75752383b3
Fix cascade rules for user/role relationships.
2015-08-11 23:17:36 -05:00
Lance Edgar
912ba8eca7
Update changelog.
2015-08-11 11:45:25 -05:00
Lance Edgar
83be601635
Fix data bug in user_x_role
table.
2015-08-11 11:44:05 -05:00
Lance Edgar
f09d1ad69c
Add core.UNSPECIFIED
convenience object.
2015-08-08 22:13:51 -05:00
Lance Edgar
95dda17c88
Update changelog.
2015-08-05 14:15:20 -05:00
Lance Edgar
513f202b8f
Add config for recycling IMAP connection in bouncer daemon.
...
Hopefully will help to avoid firewall timeouts?
2015-08-05 14:14:02 -05:00
Lance Edgar
235bc2b4b6
Update changelog.
2015-07-29 11:49:22 -05:00
Lance Edgar
f52c3e1cf0
Add 2nd version of UNFI catalog parser.
...
Apparently they've changed their format. Hopefully this versioning idea is
a good one...
2015-07-29 11:48:20 -05:00
Lance Edgar
98a783ac1c
Update changelog.
2015-07-28 22:48:24 -05:00
Lance Edgar
7575739baa
Ignore warnings about running on Python 2.6, we know it's an issue.
2015-07-28 22:47:34 -05:00
Lance Edgar
c0a8ecdfcf
Tweak install of package when running tox.
2015-07-28 20:23:11 -05:00
Lance Edgar
6f01aa45d9
Update changelog.
2015-07-28 20:18:13 -05:00
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