3
0
Fork 0
Commit graph

166 commits

Author SHA1 Message Date
c25325f7d0 docs: rearrange API docs per conventions used elsewhere
e.g. in WuttaSync..this convention is better i think..?
2024-12-07 19:05:22 -06:00
ed5e886a5d docs: improve doc for wuttjamaican.db.model 2024-12-07 18:54:25 -06:00
1debacd160 bump: version 0.16.1 → 0.16.2 2024-12-06 08:08:32 -06:00
a9eebc682e fix: add mechanism to discover external wutta subcommands
for sake of wuttasync, e.g. `wutta import-csv`
2024-12-05 18:58:10 -06:00
3a1ea22e9b bump: version 0.16.0 → 0.16.1 2024-12-05 08:04:55 -06:00
d95b101dbf fix: add db.util.make_topo_sortkey() function 2024-12-03 21:53:30 -06:00
c3aa97ed27 build: update project metadata 2024-12-03 21:33:32 -06:00
de551c9bbd docs: cleanup quickstart a bit, add some links 2024-12-03 09:31:43 -06:00
Lance Edgar
028c64fc12 fix: use true UUID type for Upgrades table primary key
hopefully can use this everywhere soon but let's start slow and test
2024-11-30 19:59:59 -06:00
Lance Edgar
8b6e32145c fix: let caller set data type for uuid_column() and uuid_fk_column()
and rattail now sets the data type, so we should be more free to
experiment with UUID data type
2024-11-30 16:06:37 -06:00
Lance Edgar
f63028bf8e test: fix installer test to avoid actually doing anything
this one was forcibly overwriting my current web.conf and upgrade.sh
2024-11-30 16:05:38 -06:00
Lance Edgar
47902b37bc fix: avoid error when loading installer templates
i guess 'poser:templates/install' throws a TypeError, not sure why i
was getting ModuleNotFoundError before..?
2024-11-30 16:04:35 -06:00
Lance Edgar
d44fe15215 bump: version 0.15.0 → 0.16.0 2024-11-30 12:31:11 -06:00
Lance Edgar
cd90626f1d feat: make v7 UUID values instead of v1
this is thanks to the presentation at
https://www.youtube.com/watch?v=n9Cxs0sTqEY

the basic rationale is that:

- v1 UUID is "less private" in that MAC address can be deduced
- v7 UUID has "better index performance" per sortable prefix

we also need to store these as true UUID data type in postgres, but
that will be a separate effort..
2024-11-30 12:26:56 -06:00
Lance Edgar
ecdfb2f6e0 docs: update quick start to use cookiecutter 2024-11-26 11:46:17 -06:00
Lance Edgar
affc19bac0 bump: version 0.14.0 → 0.15.0 2024-11-24 19:09:32 -06:00
Lance Edgar
8f182e81dd feat: add User.prevent_edit flag for account lockdown
specifically this is for sake of the online demo, so a "permanent"
demo user can be established
2024-11-24 17:08:55 -06:00
Lance Edgar
7afb67b4a0 bump: version 0.13.3 → 0.14.0 2024-11-24 10:27:54 -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
49e77d7407 feat: add parse_bool() and parse_list() methods for config object 2024-11-23 15:33:00 -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
cb147c203d bump: version 0.13.2 → 0.13.3 2024-08-30 20:34:19 -05: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
e9507fb5a4 bump: version 0.13.1 → 0.13.2 2024-08-27 21:05:37 -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
7002986cb7 bump: version 0.13.0 → 0.13.1 2024-08-27 19:11:30 -05:00
Lance Edgar
2edeac0d83 fix: add common DataTestCase for use in other packages 2024-08-27 19:11:26 -05:00
Lance Edgar
7ee8398718 test: skip some tests if mako not installed
also change corresponding tox env to 'nox' to reflect its "bare-bones"
nature and not just a lack of 'db'
2024-08-26 14:34:35 -05:00
Lance Edgar
2b1c958aa7 bump: version 0.12.1 → 0.13.0 2024-08-26 14:24:08 -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
b401fac04f feat: add util.resource_path() function
need that now that we have configurable mako template paths
2024-08-26 10:12:52 -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
14a150b2ef bump: version 0.12.0 → 0.12.1 2024-08-22 14:50:06 -05:00
Lance Edgar
1744e8706c fix: add app handler methods: get_node_title(), get_node_type() 2024-08-20 22:13:33 -05:00
Lance Edgar
bb7a83a73c bump: version 0.11.1 → 0.12.0 2024-08-15 21:14:07 -05:00
Lance Edgar
9ad5dca2ad feat: add util function get_class_hierarchy() 2024-08-15 20:18:54 -05:00
Lance Edgar
58c3f781df bump: version 0.11.0 → 0.11.1 2024-08-15 16:19:34 -05:00
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