Commit graph

3431 commits

Author SHA1 Message Date
Lance Edgar d456adab34 Be a little smarter about IMAP server disconnect 2022-01-18 12:20:48 -06:00
Lance Edgar 06aad4fdf0 Update changelog 2022-01-15 12:46:24 -06:00
Lance Edgar 9dabc45d0e Refactor mailmon daemon to ensure only 1 thread per IMAP account 2022-01-15 12:45:31 -06:00
Lance Edgar f6e30b4dd0 Fix doc link 2022-01-13 22:17:01 -06:00
Lance Edgar 6ec042208f Add hack per poorly named label batch row columns 2022-01-13 21:38:40 -06:00
Lance Edgar 8e805ebb52 Add label handler; refactor label formatting logic 2022-01-13 21:24:41 -06:00
Lance Edgar 7925b3b432 Add basic docs for existing label features 2022-01-13 15:44:24 -06:00
Lance Edgar 26e7d55e67 Update changelog 2022-01-13 14:35:22 -06:00
Lance Edgar 892b4c67c9 Restore some code for schema migration
whoops missed this somehow
2022-01-13 14:33:32 -06:00
Lance Edgar 3eb2692eb7 Add AppHandler.make_object() convenience method 2022-01-13 14:33:04 -06:00
Lance Edgar a2dae7ea9e Update changelog 2022-01-10 16:32:44 -06:00
Lance Edgar a4f8442fa6 Add some more logging for mailmon daemon
still trying to diagnose random disconnects etc.

one folder watcher fails and then all subsequent folder watchers also
fail immediatly; there seems to be no effor to re-connect first?
2022-01-10 16:03:27 -06:00
Lance Edgar fa0d18f5ba Add explicit Sale, TPR, Current price columns for label batch
previously had no TPR, and line blurred between Sale and Current

batch logic will populate these but otherwise is not yet able to
leverage them for printing e.g. TPR prices.  but that is the plan
2022-01-10 14:53:42 -06:00
Lance Edgar 36b5d20fa8 Batch handlers declare versioning is okay for delete action
by default; subclass can do something else although some of the
requisite logic does not yet exist
2022-01-09 19:23:37 -06:00
Lance Edgar 15712ac04e Add email config for stale inventory batch problem report 2022-01-09 18:41:53 -06:00
Lance Edgar f2b4c7dfa8 Add problem report for stale inventory batches 2022-01-09 18:32:16 -06:00
Lance Edgar 802dfa4821 Update changelog 2022-01-08 20:07:26 -06:00
Lance Edgar d41746c56c Refactor some usage of cache_model()
to avoid deprecation warnings
2022-01-08 19:47:14 -06:00
Lance Edgar d13f27223c Add nominal support for mysql db backend
*very* experimental at this point, but seems to work
2022-01-08 19:46:53 -06:00
Lance Edgar 84ed805e22 Add some tests for autocompleter logic 2022-01-08 15:30:30 -06:00
Lance Edgar e4277d80fb Add AppHandler.next_counter_value() magic
this is now used by `BatchHandler.consume_batch_id()` and hopefully is
able to auto-magically create a dedicated counter table if the
underlying db engine is not postgres.  at least that part seems to
work for tests using sqlite
2022-01-08 12:17:47 -06:00
Lance Edgar 4de258d09b Add vendor handler, to better organize catalog parser logic 2022-01-07 19:26:11 -06:00
Lance Edgar 1ac0139fd3 Misc. changes for vendor catalog batch and related features
not very targeted, but all is solid i think..
2022-01-07 15:01:37 -06:00
Lance Edgar 0bec971b8b Update changelog 2022-01-06 11:45:18 -06:00
Lance Edgar 8ae4de7d59 Remove deprecated use of rattail.batch.handlers.get_batch_handler() 2022-01-03 22:07:59 -06:00
Lance Edgar e736cb6f70 Update changelog 2022-01-03 16:15:41 -06:00
Lance Edgar df84ae7089 Use newer theme for docs 2022-01-03 16:14:22 -06:00
Lance Edgar 1d674c82f8 Bugfix 2022-01-03 15:31:38 -06:00
Lance Edgar 301fce831c Improve docs, tests for the AuthHandler 2022-01-01 22:34:22 -06:00
Lance Edgar 4f0b54fc7b Add basic Trainwreck handler
with basic docs and tests!
2022-01-01 19:11:55 -06:00
Lance Edgar d2b0250a02 Add full test coverage, more docs, for rattail.app module 2022-01-01 01:21:53 -06:00
Lance Edgar 6baf23c855 Remove usage of app.get_designated_import_handler() 2021-12-31 13:45:56 -06:00
Lance Edgar c76def270f Add some basic tests for AppHandler 2021-12-30 21:41:51 -06:00
Lance Edgar 3b00bd5b28 Move tests out of the installed package set
this seems to be better practice.  from what i can tell this is a
clean move with no breakage..  and built package files no longer seem
to include test modules
2021-12-30 21:03:23 -06:00
Lance Edgar 9c782efa06 Remove some config for nosetests
buildbot is using only pytest now, but will leave nose in the test
dependencies until other packages are updated, e.g. tailbone
2021-12-30 20:11:17 -06:00
Lance Edgar 70309886a5 Run tests for py37 by default with tox 2021-12-30 17:58:17 -06:00
Lance Edgar 71e9aa401c Use pytest-cov with tox, for coverage 2021-12-30 17:31:52 -06:00
Lance Edgar 2a730e9e68 Use pytest instead of nosetests for all normal tox tests 2021-12-30 16:56:36 -06:00
Lance Edgar aaaca04053 Use pytest instead of nosetests for tox python 2.7
if this works okay then will update others
2021-12-30 16:48:16 -06:00
Lance Edgar ff46d4d1e7 Add pytest to the mix, tweak tests to work with it 2021-12-30 16:45:45 -06:00
Lance Edgar 3619e58c1e Deprecate the name NewDataSyncConsumer and update docs 2021-12-30 15:48:50 -06:00
Lance Edgar eea7da3e2b Let datasync consumers declare handler key instead of spec
to leverage "designated import handler" config
2021-12-30 13:12:07 -06:00
Lance Edgar 4b6b978678 Fix a couple of dynamic class names, for python2 2021-12-30 13:11:23 -06:00
Lance Edgar cb5712a899 Update changelog 2021-12-29 11:12:41 -06:00
Lance Edgar 3129942279 Add basic "resolve" support for person, product from new custorder 2021-12-23 20:24:25 -06:00
Lance Edgar c330f7fbc2 Move main product lookup logic to products handler
instead of base class for batch handlers

this also adds optional "type 2 upc" lookup logic, which may or may
not be sufficient for all use cases...
2021-12-23 14:49:01 -06:00
Lance Edgar 116c756e7a Remove unused module rattail.db.diffs 2021-12-23 13:58:36 -06:00
Lance Edgar 90ef99accd Update changelog 2021-12-23 12:41:21 -06:00
Lance Edgar 46ed8c369e Remove deprecated "dbsync" logic
that has been superseded by "datasync" for years now...
2021-12-23 12:31:23 -06:00
Lance Edgar e2dafac8b0 Remove support for "daemonize" option in filemon, datasync etc.
supervisor lets us behave like a daemon just fine
2021-12-23 12:26:48 -06:00