1
0
Fork 0
Commit graph

126 commits

Author SHA1 Message Date
Lance Edgar 82177ea997 docs: tweak docstring for Session class 2024-08-15 13:21:11 -05:00
Lance Edgar e3e3b004aa fix: tweak methods for FileConfigTestCase 2024-08-15 13:20:52 -05:00
Lance Edgar 3e3f7ac958 fix: cascade deletes for User -> UserRole 2024-08-14 12:12:12 -05:00
Lance Edgar 304b4b0a19 bump: version 0.10.0 → 0.11.0 2024-08-13 10:53:49 -05:00
Lance Edgar 08689f494f feat: add dict-like behavior to model class instances 2024-08-11 15:23:14 -05:00
Lance Edgar 82c043fd05 bump: version 0.9.0 → 0.10.0 2024-08-06 23:16:18 -05:00
Lance Edgar 1c762e5767 feat: add app handler methods save_setting(), delete_setting() 2024-08-06 18:52:34 -05:00
Lance Edgar a5823a2202 bump: version 0.8.3 → 0.9.0 2024-08-05 22:54:20 -05:00
Lance Edgar 8068c26327 test: skip some tests for nodb scenario 2024-08-05 22:41:58 -05:00
Lance Edgar b5884ff6ca test: fix more tests for python 3.10
not sure why only that one had problems; this seems to fix
2024-08-05 22:39:45 -05:00
Lance Edgar afa3352c83 test: fix tests for AppHandler.get_version() 2024-08-05 22:25:43 -05:00
Lance Edgar 06771d7596 fix: remove print statement 2024-08-05 22:21:52 -05:00
Lance Edgar 2a21e70ff1 feat: add AppHandler methods, get_distribution() and get_version() 2024-08-05 21:48:45 -05:00
Lance Edgar 0a46dddf3f bump: version 0.8.2 → 0.8.3 2024-08-05 15:31:36 -05:00
Lance Edgar a38a69afa2 fix: add AuthHandler.user_is_admin() method 2024-08-05 15:08:16 -05:00
Lance Edgar 739dd285aa fix: add AppHandler.make_title() convenience method 2024-08-05 15:08:14 -05:00
Lance Edgar 27b859c1c7 bump: version 0.8.1 → 0.8.2 2024-07-18 11:11:43 -05:00
Lance Edgar c424a6cd8a fix: add check_user_password() method for auth handler 2024-07-18 10:27:31 -05:00
Lance Edgar 9fc7dbe1f7 bump: version 0.8.0 → 0.8.1 2024-07-17 18:22:21 -05:00
Lance Edgar 86997397de fix: make AuthHandler.get_user() do lookups for uuid, username 2024-07-17 17:46:13 -05:00
Lance Edgar ca997807e4 bump: version 0.7.0 → 0.8.0 2024-07-14 23:22:31 -05:00
Lance Edgar e899d06151 feat: flesh out the auth handler; add people handler
can handle the basics now: authentication, perm checks etc.
2024-07-14 23:22:11 -05:00
Lance Edgar 43ca404837 feat: add model for Person; tie to User 2024-07-14 15:47:39 -05:00
Lance Edgar 60d3fcd13b fix: add migration for auth tables
having now fixed the constraint naming convention
2024-07-14 14:45:52 -05:00
Lance Edgar 1995095627 build: just run pytest, avoid tox when making release 2024-07-14 11:08:26 -05:00
Lance Edgar 5d15ef9720 bump: version 0.6.1 → 0.7.0 2024-07-14 11:07:03 -05:00
Lance Edgar b4d6cfb0ed fix: always use 'wutta' prefix for provider entry points
otherwise not all providers will be discoverable, for custom appname

also add `appname` prop for GenericHandler, AppProvider
2024-07-14 10:45:13 -05:00
Lance Edgar f6d0912c03 docs: update project urls to wuttaproject.org 2024-07-14 09:28:58 -05:00
Lance Edgar 639b0de8b1 feat: add basic "auth" data models: user/role/perm
not really tested yet though, other than unit tests
2024-07-13 23:29:09 -05:00
Lance Edgar 7442047d0e build: fix reference to readme filename 2024-07-12 21:44:30 -05:00
Lance Edgar 1b8d5d7bfe docs: use markdown for project readme
also, test commit for forgejo -> kallithea git flow
2024-07-12 21:40:33 -05:00
Lance Edgar 0454ab70e0 bump: version 0.6.0 → 0.6.1 2024-07-12 00:12:26 -05:00
Lance Edgar ef5b13a297 fix: add AppHandler.load_object() method 2024-07-11 19:32:44 -05:00
Lance Edgar ae973881af fix: add WuttaConfig.production() method 2024-07-11 18:23:43 -05:00
Lance Edgar cedc74e16b bump: version 0.5.0 → 0.6.0 2024-07-11 13:00:49 -05:00
Lance Edgar 375d0be638 feat: add basic data model support
wuttjamaican will provide a default data model with minimal tables;
it's assumed each custom app will extend this model with other tables
2024-07-11 12:55:55 -05:00
Lance Edgar 7012409e1e bump: version 0.4.0 → 0.5.0 2024-07-09 16:47:54 -05:00
Lance Edgar 80da7f5d6f feat: drop python 3.6 support 2024-07-09 16:47:24 -05:00
Lance Edgar 3ea9deea06 docs: avoid unknown command 2024-07-04 14:41:53 -05:00
Lance Edgar d47ba53eec bump: version 0.3.2 → 0.4.0 2024-07-04 14:37:38 -05:00
Lance Edgar a76cbf29e9 feat: remove legacy command system
typer is the recommended approach, but any could be used.  we have
nothing significant to offer so better to just not.
2024-07-04 14:35:29 -05:00
Lance Edgar fd76766f56 fix: use more explicit import in config constructor 2024-07-04 11:37:37 -05:00
Lance Edgar f5825e964c test: add 'nodb' test runner
ensure things work as expected if sqlalchemy is not installed
2024-07-04 08:00:42 -05:00
Lance Edgar 132073177c bump: version 0.3.1 → 0.3.2 2024-07-04 07:44:01 -05:00
Lance Edgar a25712ef54 fix: let config class specify default app handler, engine maker
this avoids the need for a config subclass to use `setdefault()` hacks
to specify default app handler for instance, since that approach must
compete with config extensions who also may wish to do that.

similar concept for the engine maker; notably the rattail project
needs to override this function somewhat and we need a way to allow
for that without (re-)introducing the app handler here.
2024-07-04 07:24:07 -05:00
Lance Edgar c3efbfbf7b fix: ensure config has no app when constructor finishes
had to move `make_engine_from_config()` out of app handler and define
as a separate function, so that `get_engines()` did not need to
instantiate the app handler.  because if it did, then config
extensions would lose the ability to set a default app handler - er,
they could do it but it would be ignored
2024-07-04 06:21:38 -05:00
Lance Edgar 3ab181b129 docs: use accurate package version when building docs
copyright year will need to be manually updated still, when applicable
2024-06-30 20:40:23 -05:00
Lance Edgar 5096fd6d3c docs: add another resource link for cli frameworks 2024-06-30 20:31:12 -05:00
Lance Edgar 4de2e6dc6e docs: stop documenting wutta command line framwework
as we will be deprecating and removing it at some point.  `typer`
seems to work well but any other framework could be used
2024-06-30 20:26:25 -05:00
Lance Edgar 746bcf18de docs: use furo docs theme instead of alabaster 2024-06-30 20:22:42 -05:00