Commit graph

3860 commits

Author SHA1 Message Date
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
Lance Edgar 7524de61bf Add error delay for mailmon, continuum comment for bounce handling 2021-12-23 12:20:33 -06:00
Lance Edgar ebea1f019d Refactor mailmon daemon structure to minimize IMAP connections
now just one thread per IMAP account, instead of one per monitored
folder.  still uses one thread per "action" for each monitored folder,
and lastrun settings should not need to change i think...
2021-12-22 20:07:50 -06:00
Lance Edgar 1910128473 Store copy of msg file just for bouncer, when using 2021-12-22 17:54:53 -06:00
Lance Edgar 4c19bc4118 Add basic "pending product" support for new custorder batch 2021-12-22 16:30:38 -06:00
Lance Edgar c53541f3c8 Make config.getint() smarter about using default value
if setting is present in db, but empty, we should still return default
2021-12-22 11:15:09 -06:00
Lance Edgar 08887b7e09 Add load_object() convenience method for AppHandler 2021-12-20 19:22:39 -06:00
Lance Edgar 80219d2f46 Update changelog 2021-12-20 18:03:12 -06:00
Lance Edgar 1630665374 Add way to handle an email bounce via filemon 2021-12-20 18:02:15 -06:00
Lance Edgar dfcfaaabc7 Update changelog 2021-12-20 16:47:48 -06:00
Lance Edgar b02cb29ac3 Set app attribute for problem report handler, pass to email context 2021-12-20 16:03:40 -06:00
Lance Edgar 0f6c5a5400 Update changelog 2021-12-20 14:26:58 -06:00
Lance Edgar d04c2958c0 Make app.get_all_import_handlers() a bit smarter
should fetch all "designated" handlers in addition to those which are
officially registered
2021-12-17 20:26:41 -06:00
Lance Edgar 768cccd9ab Update changelog 2021-12-17 09:16:21 -06:00
Lance Edgar f6a491e47f Add basic time-related methods to AppHandler 2021-12-16 21:35:27 -06:00
Lance Edgar 2cb0363ea6 Expose settings for tailbone vue.js and buefy versions 2021-12-16 14:53:48 -06:00
Lance Edgar 5aeec98875 Add setting for tailbone grid "sticky headers" 2021-12-16 14:15:52 -06:00
Lance Edgar 6fc7c51da4 Assign enum and app attrs in datasync consumer constructor 2021-12-16 13:27:40 -06:00
Lance Edgar d6747b34ca Update changelog 2021-12-14 20:04:32 -06:00
Lance Edgar 1ef1a1360b Revert "Always "require" config files when making config object"
This reverts commit fef2d29a0c.

that was nothing but trouble at this point, maybe can lock it down a
bit more again in the future
2021-12-14 20:03:08 -06:00
Lance Edgar acdd8228a3 Default to false for all config flags in purchase batch handler
b/c a flag setting should never default to true, b/c lack of config
should imply false
2021-12-13 20:08:23 -06:00
Lance Edgar 213df9e651 Add "missing" tallies for receiving, plus allow un-declare credit
this adds various other things meant to improve the desktop receiving
workflow a bit
2021-12-13 17:51:41 -06:00