Commit graph

3860 commits

Author SHA1 Message Date
Lance Edgar 85fb036884 Make Subcommand inherit from WuttJamaican; add rattail config-setting 2023-11-21 21:12:17 -06:00
Lance Edgar 741fadec16 Bump version requirement for wuttjamaican 2023-11-21 14:51:25 -06:00
Lance Edgar 572c7410da Update subcommand entry point group names, per wuttjamaican 2023-11-21 14:38:53 -06:00
Lance Edgar 6a1d7af1bf Force connections to close when running overnight task
in case the task involves rebuilding current app DB
2023-11-21 12:42:40 -06:00
Lance Edgar d73e107d67 Delay import in case SQLAlchemy not installed 2023-11-20 23:37:23 -06:00
Lance Edgar 0c5b6a075b Remove unwanted test 2023-11-20 23:34:41 -06:00
Lance Edgar 9962f58a32 Bump version dependency for wuttjamaican
will we need to keep doing this..?
2023-11-20 23:30:37 -06:00
Lance Edgar 4c4866f8f7 Inherit from wutta for main Command class 2023-11-20 23:17:46 -06:00
Lance Edgar 1475254942 Add wutta wrapper around get_engines() 2023-11-20 21:36:05 -06:00
Lance Edgar 8ba2566277 Add wutta wrappers for load_object() and load_entry_points() 2023-11-20 21:26:09 -06:00
Lance Edgar dd6a329069 Add wutta wrapper for make_config()
this needs more work, it's not a true wrapper yet.  but it's a
conceptual wrapper at least and uses upstream `get_config_paths()` now
2023-11-20 21:15:08 -06:00
Lance Edgar 6bb56caf4e Use common wutta base class for some test suites 2023-11-20 18:17:30 -06:00
Lance Edgar a0dd747427 Make explicit which python versions are supported
as of writing, all of 3.6 thru 3.11

in practice i don't know of anyone running 3.7 so that may get dropped
sooner than later.  unfortunately there are still a couple of 3.6 apps
but after those are upgraded probably the minimum supported version
will become 3.8
2023-11-20 15:40:25 -06:00
Lance Edgar 8841047473 Fix mock test for python 3.7 2023-11-20 15:35:36 -06:00
Lance Edgar f5364dfbc1 Add wutta wrapper for app.get_setting() 2023-11-20 15:19:57 -06:00
Lance Edgar b1bceec8c8 Add RattailWuttaConfig.parse_bool() compatibility method 2023-11-20 14:58:02 -06:00
Lance Edgar 18e0d5ac96 Add wutta wrapper for short_session()
and several related tweaks for tests, docs
2023-11-20 14:50:15 -06:00
Lance Edgar 36b15614d2 Fix syntax bug for tox coverage runner 2023-11-20 12:02:15 -06:00
Lance Edgar 8818c9dd1c Overhaul the tox config
per lessons learned in wuttjamaican

also remove old reference to init.d scripts in manifest
2023-11-20 11:52:48 -06:00
Lance Edgar 0cfcb6ca8f Update changelog 2023-11-20 11:11:30 -06:00
Lance Edgar fbd67bfea2 Add RattailWuttaConfig.getdate() compatibility method
and improve related logic, tests, docs
2023-11-20 10:25:09 -06:00
Lance Edgar e653959bfa Update changelog 2023-11-19 22:22:39 -06:00
Lance Edgar 240adf2968 Add stub for legacy method, to avoid errors
all that just needs to go away surely, can try again with wutta
2023-11-19 21:07:34 -06:00
Lance Edgar 4a3209f897 Incorporate the WuttJamaican package
- our AppHandler is now based on that one
- our Config *may* be based on it, if so configured

at some point our Config will "always" be based on WuttaConfig but we
need to test a bit more first
2023-11-19 20:38:43 -06:00
Lance Edgar 38544e4f61 Update changelog 2023-11-18 12:09:30 -06:00
Lance Edgar b9d5fe11ad Use virtualenv-specific pip when installing command libs 2023-11-18 06:17:21 -06:00
Lance Edgar d6ad1027e9 Update changelog 2023-11-18 06:09:41 -06:00
Lance Edgar db174939b9 Add minimal_folders kwarg for AppHandler.make_appdir() 2023-11-18 06:08:40 -06:00
Lance Edgar 1cb54180bb Fix bug when no db model is available 2023-11-17 21:02:54 -06:00
Lance Edgar 5204b0231f Update changelog 2023-11-15 11:41:21 -06:00
Lance Edgar 50f392e051 Add account_holder_full_name field for CustomerImporter
and update super() usage for that module
2023-11-15 11:37:30 -06:00
Lance Edgar 372c8f15f2 Increase size of product "true margin" column
e.g. if bad data is entered for product price and/or cost, margin can
be a bit "unreasonable" - but schema should allow for that to avoid
error if possible
2023-11-15 09:29:10 -06:00
Lance Edgar 67e08d319a Remove timezone converter for logging formatter
pretty sure this is not really necessary..
2023-11-11 21:53:29 -06:00
Lance Edgar dc4ebcfa75 Remove references to upstream pytz docs
those docs are semi-broken and apparently the `pytz` package itself
has entered "maintenance mode" so we need to refactor it out at some
point soon...

cf. https://pythonhosted.org/pytz/#issues-limitations
2023-11-11 07:46:42 -06:00
Lance Edgar 71b18d67cb Fix docstring for batch handler 2023-11-05 17:31:29 -06:00
Lance Edgar 18fec9f0dd Update changelog 2023-11-05 17:09:57 -06:00
Lance Edgar b6110f1ba5 Add status code for equity payments
may be useful if equity payments come from multiple places and must
track whether each is "reconciled" across systems
2023-11-05 16:55:53 -06:00
Lance Edgar d50d8266d6 Update changelog 2023-11-05 14:15:00 -06:00
Lance Edgar 57007ad20b Add pseudo_remove_rows flag for batch handlers
probably needs improvement but good enough for the moment
2023-11-05 14:12:46 -06:00
Lance Edgar 5ad6652e35 Update changelog 2023-11-01 20:54:01 -05:00
Lance Edgar 2d2eb2e398 Add batch handler method to confirm all receiving costs 2023-11-01 20:48:45 -05:00
Lance Edgar 1da97a7918 Update changelog 2023-11-01 19:12:10 -05:00
Lance Edgar 6248c01009 Use shared batch handler logic in filemon action 2023-11-01 18:14:23 -05:00
Lance Edgar ec84bfc7e8 Fix broken test
not that it tests much anyway
2023-11-01 08:23:20 -05:00
Lance Edgar 61560e0131 Update changelog 2023-11-01 08:13:07 -05:00
Lance Edgar 819cbfd7e5 Add deprecation warnings for all known ambiguous config keys 2023-11-01 08:12:24 -05:00
Lance Edgar 052c16bb55 Mark html links as safe, for import diff email template 2023-10-31 17:23:24 -05:00
Lance Edgar f5b792f9d4 Update changelog 2023-10-30 18:08:42 -05:00
Lance Edgar 593b5d6def Deal with ambiguous config key for tailbone.url
now must use `tailbone.url.base` instead
2023-10-30 18:06:54 -05:00
Lance Edgar 97584adbfc Allow suppress warnings for ambiguous config key
needed for temporary fallback checks
2023-10-30 17:51:32 -05:00