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
Lance Edgar
0b3db3cac0
bump: version 0.3.0 → 0.3.1
2024-06-14 17:33:47 -05:00
Lance Edgar
f654906029
fix: fallback to importlib_metadata
when loading entry points
...
since `pkg_resources` is deprecated for this purpose, per
https://setuptools.pypa.io/en/latest/pkg_resources.html
2024-06-14 17:27:22 -05:00
Lance Edgar
5802391382
build: show brief license, not full text
2024-06-10 16:06:01 -05:00
Lance Edgar
3e2901b0cd
test: ignore import error in version module
...
our workaround for that seems to be okay, so should be easier to
ignore this instead of trying to rig up a special test
2024-06-10 15:04:53 -05:00
Lance Edgar
9dff672633
bump: version 0.2.1 → 0.3.0
2024-06-10 13:55:20 -05:00
Lance Edgar
dbc3c8f9ca
feat: use hatchling for package build backend
2024-06-10 13:55:06 -05:00
Lance Edgar
5204e81c00
build: parse version from pyproject.toml when building release
2024-06-10 13:42:59 -05:00
Lance Edgar
b642f8d479
bump: version 0.2.0 → 0.2.1
2024-06-10 13:37:47 -05:00
Lance Edgar
2bfd65de3d
fix: use importlib-metadata
backport for older systems
2024-06-10 13:36:32 -05:00
Lance Edgar
9f5b36b49e
bump: version 0.1.12 → 0.2.0
2024-06-10 13:32:29 -05:00
Lance Edgar
8a1ec6210c
feat: replace setup.cfg with pyproject.toml
...
also move canonical version to pyproject.toml
still using setuptools as build backend for now
2024-06-10 13:32:03 -05:00
Lance Edgar
ba1905b7ad
Revert "Add support for python 3.12"
...
This reverts commit 07bc29c494
.
probably 3.12 works fine, but for technical reasons the automated
tests don't work yet. hoping once we drop 3.6 support then can get
the 3.12 tests working properly..
2024-05-31 14:03:02 -05:00
Lance Edgar
07bc29c494
Add support for python 3.12
2024-05-31 13:34:23 -05:00
Lance Edgar
1d7ee980d5
Update changelog
2024-05-28 22:58:07 -05:00
Lance Edgar
6777f02e06
Fix bug when default config paths do not exist
...
when fetching initial path listing, to create config object. should
only affect situations where default file paths are needed, i.e. when
caller does not specify
2024-05-28 22:57:19 -05:00
Lance Edgar
cd79f949d2
Update changelog
2024-05-15 14:25:25 -05:00