2
0
Fork 0
Commit graph

39 commits

Author SHA1 Message Date
Lance Edgar ecdfb2f6e0 docs: update quick start to use cookiecutter 2024-11-26 11:46:17 -06:00
Lance Edgar ceeff7e911 feat: add install handler and related logic
- Mako is now a core dependency
- therefore no more 'email' extra
- add `get_install_handler()` method for app handler
- add `render_mako_template()` method for app handler
- add `resource_path()` method for app handler
- install handler thus far can:
  - confirm db connection
  - make appdir plus config/scripts:
    - wutta.conf
    - web.conf
    - upgrade.sh
  - upgrade db schema to create tables
  - from there web app can run, create admin user
- quick start docs now describe "generated code" option
2024-11-24 10:13:56 -06:00
Lance Edgar 2deba45588 feat: add wutta top-level command with make-uuid subcommand
i think it only makes sense to have an "opinion" for command line
interface in this project, and we probably need more `wutta`
subcommands too but we'll see.

main motivation for this currently is to allow poser apps to define
their own CLI, in particular e.g. `poser install`
2024-11-23 11:48:28 -06:00
Lance Edgar 4c51189d41 fix: move model base class out of model subpkg
and other things, used by other packages (rattail)

otherwise when rattail imports them, the whole WJ model comes along
with it and it can interfere with sqlalchemy-continuum versioning
2024-08-30 20:30:09 -05:00
Lance Edgar 2fa82bee8c fix: add basic support for wutta-continuum data versioning/history
not much "support" per se in here, mostly some stubs to allow for
smooth operation if/when it is installed
2024-08-27 20:26:22 -05:00
Lance Edgar 131ad88a16 feat: add basic email handler support
still no way to define "profiles" for admin in web app yet
2024-08-26 14:20:54 -05:00
Lance Edgar 94868bbaa9 feat: add app handler method, get_appdir() 2024-08-25 12:33:52 -05:00
Lance Edgar 4b9db13b8f feat: add basic support for progress indicators 2024-08-24 17:19:50 -05:00
Lance Edgar 110ff69d6d feat: add table/model for app upgrades 2024-08-24 10:20:05 -05:00
Lance Edgar e855a84c37 docs: add basic db setup to quickstart doc 2024-08-23 15:20:47 -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 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 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 3ea9deea06 docs: avoid unknown command 2024-07-04 14:41:53 -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 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 3a8bd1fce9 Add app providers, tests, docs 2023-11-24 23:11:26 -06:00
Lance Edgar 3cafa28ab9 Add link to coverage in main docs 2023-11-24 19:47:08 -06:00
Lance Edgar 64af49ffdf Add basic database docs 2023-11-24 19:14:48 -06:00
Lance Edgar b59e83907c Add config extension class, tests, docs 2023-11-24 18:45:10 -06:00
Lance Edgar f9f2bcc3d0 Add more install docs 2023-11-24 18:08:50 -06:00
Lance Edgar 9258d8b55a Add docs for settings table 2023-11-24 16:35:34 -06:00
Lance Edgar 4a7729a702 Add docs for handlers, app handler 2023-11-24 15:58:24 -06:00
Lance Edgar 6b110e567a Add docs for subcommands 2023-11-24 14:22:22 -06:00
Lance Edgar af4c28b286 Add a large chunk of the docs for command line interface
will have to finish subcommands later
2023-11-22 21:40:26 -06:00
Lance Edgar e2963403fe Add date-organize subcommand 2023-11-22 12:26:27 -06:00
Lance Edgar c3914738d5 Move cli framework to wuttjamaican.cmd subpackage
deprecate `wuttjamaican.commands`
2023-11-22 11:13:39 -06:00
Lance Edgar 13472a5ab5 Add wutta make-appdir subcommand 2023-11-22 00:10:40 -06:00
Lance Edgar ed6a5db452 Add Subcommand.make_arg_parser() method
split that out for clarity
2023-11-21 20:48:44 -06:00
Lance Edgar 4641e24afd Add narrative docs for app configuration 2023-11-21 18:27:29 -06:00
Lance Edgar 34836b006d Fix typo in docs 2023-11-20 22:02:20 -06:00
Lance Edgar a0186b346e Add common FileConfigTestCase class, in new testing module
hoping i do not regret this decision..  since the tests do not live in
a "real" package i think the only way to share code is to add some
things to the main package
2023-11-20 16:19:22 -06:00
Lance Edgar 005f43d14e Add basic command line framework
`wutta setup` is the only real sub/command yet, and it does nothing
2023-11-19 14:22:25 -06:00
Lance Edgar 4350704996 Remove make_config() from root namespace
i forget why..but this was causing some sort of problem.  should have
noted it at the time.. :(
2023-11-19 00:52:50 -06:00
Lance Edgar 8f52d85f1a Static folder must exist for docs to build 2023-10-30 00:26:09 -05:00
Lance Edgar 5c3c42d6b3 First commit, basic config (with db) and app handler
this has 100% test coverage and i intend to keep it that way.  api
docs have a good start but still need narrative.  several more things
must be added before i can seriously consider incorporating into
rattail but this seemed a good save point
2023-10-28 17:50:13 -05:00