Commit graph

3860 commits

Author SHA1 Message Date
Lance Edgar c19d359c2e bump: version 0.18.11 → 0.18.12 2024-09-15 10:54:57 -05:00
Lance Edgar 7705fb94a8 fix: update project links, kallithea -> forgejo 2024-09-14 10:47:02 -05:00
Lance Edgar 4937d76680 docs: use markdown for readme file 2024-09-13 18:47:39 -05:00
Lance Edgar c2141c776b docs: update comment for startup versioning workaround
now that i know a *little* more about why it is needed
2024-09-08 19:40:34 -05:00
Lance Edgar 5dca0b8507 bump: version 0.18.10 → 0.18.11 2024-09-03 11:19:30 -05:00
Lance Edgar a3df76ea98 fix: move startup workaround for trainwreck query bug
apparently this workaround will break alembic commands since
versioning must be handled a bit differently in that scenario.  so
must only do the workaround if versioning is enabled during the
startup sequence..
2024-09-03 11:13:15 -05:00
Lance Edgar 2a46b2226b bump: version 0.18.9 → 0.18.10 2024-09-03 11:00:04 -05:00
Lance Edgar 1641e0ea14 fix: add startup workaround for trainwreck query bug
not at all clear why, but c621e21cd4 has
introduced some strange bug where the "first" trainwreck query will
raise an error and yet subsequent queries work fine.

so now in the startup sequence we simply force a query, which for
unknown reasons does *not* raise any error, and will somehow magically
prevent the error when a "normal" trainwreck query happens later.

AFAIK this is a "benign" operation and causes no real side effects
other than preventing the strange error.  fingers crossed, this is
fine and will not cause further problems...??!
2024-09-03 10:57:59 -05:00
Lance Edgar 37ea063a6b bump: version 0.18.8 → 0.18.9 2024-08-30 20:36:47 -05:00
Lance Edgar c621e21cd4 fix: change import for wuttjamaican base model
must avoid importing the actual model subpkg from wuttjamaican because
it can interfere with sqlalchemy-continuum versioning
2024-08-30 20:35:58 -05:00
Lance Edgar 952bd15304 bump: version 0.18.7 → 0.18.8 2024-08-28 00:27:08 -05:00
Lance Edgar 19125d2a3a fix: move "record changes" global hook to startup()
this silly thing shouldn't even exist but can't remove until i'm
certain it's not in use in the wild.

but at least, it shouldn't be triggered when a config object is
instantiated, it needs to be deferred a little.  should not affect app
runtime per se but more helpful for tests.
2024-08-28 00:25:24 -05:00
Lance Edgar d4f5515f20 fix: cleanup old code for "record changes" session feature
had some tests failing, and one thing led to another..  apparenty we
still had support for some pretty old sqlalchemy so no need to keep
that around.
2024-08-27 22:56:32 -05:00
Lance Edgar fe5951786c bump: version 0.18.6 → 0.18.7 2024-08-27 22:18:42 -05:00
Lance Edgar 0d949cbb4f fix: hopefully fix startup continuum bug per 'active_history' models
only have one model in the wild (SpecialOrder) which uses
active_history and it probably shouldn't really..  it was written a
long time ago and would need some refactoring.

but for now we just need things to work, and this seems to do it
although i have no idea why
2024-08-27 13:07:06 -05:00
Lance Edgar f0f3352c5f bump: version 0.18.5 → 0.18.6 2024-08-26 15:23:01 -05:00
Lance Edgar 372fc482a2 fix: inherit from wuttjamaican for EmailHandler 2024-08-26 15:22:39 -05:00
Lance Edgar 4e6bdb645f infra: run tests by default when making a release 2024-08-26 14:37:35 -05:00
Lance Edgar 0b7276d46d bump: version 0.18.4 → 0.18.5 2024-08-26 14:36:47 -05:00
Lance Edgar cb3ec17e75 fix: avoid legacy config methods within make_config()
in case factory is WuttaConfig
2024-08-23 21:26:18 -05:00
Lance Edgar f841edbe4b fix: tweak how versioning is configured and confirmed
to allow for adding this to a wutta-native app
2024-08-23 20:33:21 -05:00
Lance Edgar d732124a0d bump: version 0.18.3 → 0.18.4 2024-08-22 14:52:42 -05:00
Lance Edgar 3a7899e011 fix: use app.get_title() and app.get_node_title(); avoid deprecated calls
now that wuttjamaican app handler has both methods
2024-08-21 08:58:57 -05:00
Lance Edgar 0ba80d4805 bump: version 0.18.2 → 0.18.3 2024-08-20 16:04:46 -05:00
Lance Edgar 7ac4571a15 fix: suppress warning when checking for legacy app_package config 2024-08-20 16:01:27 -05:00
Lance Edgar fb70abdc92 fix: partially restore previous logic for app.get_version()
latest refactor for that was too aggressive, and tests complained
2024-08-20 15:20:15 -05:00
Lance Edgar ec75f246a0 bump: version 0.18.1 → 0.18.2 2024-08-20 15:04:06 -05:00
Lance Edgar 60dbeef3e5 fix: minor tweaks to modernize etc. 2024-08-19 14:36:03 -05:00
Lance Edgar 9421fe3aef fix: deprecate more methods for config object 2024-08-19 14:23:25 -05:00
Lance Edgar f399e4d145 fix: deprecate config.rattail_engines in favor of appdb_engines 2024-08-19 14:14:06 -05:00
Lance Edgar 261dffa460 fix: fix wrong name in deprecation warning 2024-08-16 10:09:02 -05:00
Lance Edgar 49c00ed314 bump: version 0.18.0 → 0.18.1 2024-08-15 21:15:40 -05:00
Lance Edgar 7e97c7f48a fix: move get_class_hierarchy() util function to wuttjamaican 2024-08-15 20:28:03 -05:00
Lance Edgar 987fb3c68c fix: improve logic/fallback for str(person) 2024-08-15 19:39:46 -05:00
Lance Edgar bb9f62838a test: fix some tests for 'nodb' scenario 2024-08-15 16:38:30 -05:00
Lance Edgar d49b93d09d bump: version 0.17.11 → 0.18.0 2024-08-15 16:21:14 -05:00
Lance Edgar 86d0380387 feat: refactor config/extension, session logic per wuttjamaican
this leverages wuttjamaican for a few more things perhaps, but mostly
this is to organize the code in a more logical way based on
conventions used in wuttjamaican.
2024-08-15 14:22:29 -05:00
Lance Edgar a3c9fe09a7 fix: let wuttjamaican configure app db engines 2024-08-15 10:57:01 -05:00
Lance Edgar 2734ff56a3 fix: use ModelBase from wuttjamaican, as our model base class
this gives us better `dict(obj)` behavior
2024-08-15 02:17:09 -05:00
Lance Edgar 4ad26bad38 fix: cascade deletions for Customer -> CustomerShopper 2024-08-13 12:41:08 -05:00
Lance Edgar 025eac1819 bump: version 0.17.10 → 0.17.11 2024-08-13 11:13:33 -05:00
Lance Edgar dcd5ef9819 fix: grow column size for MemberEquityPayment.amount
to match CORE-POS `stockpurchases` table, otherwise it's possible to
fail importing that data
2024-08-13 11:12:01 -05:00
Lance Edgar 6119077817 fix: stop logging config files read
upstream is already doing that
2024-08-10 09:39:13 -05:00
Lance Edgar 7da82e17de bump: version 0.17.9 → 0.17.10 2024-08-09 17:01:30 -05:00
Lance Edgar 0e271127bb fix: add rattail.util.render_duration() function
so this can be called outside of app handler context, specifically
from a colander schema node
2024-08-09 17:00:47 -05:00
Lance Edgar eef7021d13 fix: stop setting falafel theme in installer
that is the same as current 'default' theme; and using falafel
requires an override of tailbone.themes.keys which we don't want to
bother doing
2024-08-09 16:13:47 -05:00
Lance Edgar 21ef0f5c53 bump: version 0.17.8 → 0.17.9 2024-08-08 11:28:49 -05:00
Lance Edgar aaffeadffe fix: remove ref to missing variable 2024-08-07 08:56:06 -05:00
Lance Edgar 32e01f71ec bump: version 0.17.7 → 0.17.8 2024-08-06 23:17:48 -05:00
Lance Edgar 5cafa40637 fix: move logic upstream for save_setting(), delete_setting() 2024-08-06 18:51:58 -05:00