Lance Edgar
d151758c48
feat: add backend pagination support for grids
2024-08-16 22:52:24 -05:00
Lance Edgar
dd3d640b1c
feat: add initial/basic pagination for grids
...
so far this is only for client-side pagination; which means *all* grid
data is dumped to JSON for Vue access. backend pagination coming soon
2024-08-16 18:19:24 -05:00
Lance Edgar
429f3c69b5
fix: improve backward compat for util.get_liburl()
...
ready to drop the old logic from tailbone
2024-08-15 23:03:39 -05:00
Lance Edgar
cd706821b2
feat: add form/grid label auto-overrides for master view
2024-08-15 20:51:36 -05:00
Lance Edgar
c1afc3b3e3
fix: add person
to template context for PersonView.view_profile()
...
for tailbone compat
2024-08-15 18:36:31 -05:00
Lance Edgar
9805f808da
fix: add stub for PersonView.make_user()
...
for tailbone compat, but pretty sure we'll want this too
2024-08-15 15:47:05 -05:00
Lance Edgar
17b8af27a7
fix: allow arbitrary kwargs for Form.render_vue_field()
...
for tailbone compat
2024-08-15 15:02:12 -05:00
Lance Edgar
be8a45e543
fix: make some tweaks for better tailbone compatibility
...
this is the result of minimally testing the PersonView from wutta,
configured via a tailbone app.
had to add the `view_profile()` stub, pretty sure we want that..?
2024-08-15 02:10:08 -05:00
Lance Edgar
058632ebeb
feat: add sane views for 403 Forbidden and 404 Not Found
2024-08-14 22:13:55 -05:00
Lance Edgar
e3942ce65e
feat: add permission checks for menus, view routes
2024-08-14 21:20:00 -05:00
Lance Edgar
675b51cac2
feat: add first-time setup page to create admin user
2024-08-14 18:29:08 -05:00
Lance Edgar
bc49392140
fix: prevent delete for built-in roles
2024-08-14 17:03:51 -05:00
Lance Edgar
330ee324ba
feat: expose User password for editing in master views
2024-08-14 15:55:10 -05:00
Lance Edgar
230e2fd1ab
feat: expose Role permissions for editing
2024-08-14 15:10:54 -05:00
Lance Edgar
97e914c2e0
feat: expose User "roles" for editing
2024-08-13 21:44:56 -05:00
Lance Edgar
bdfa0197b2
feat: improve widget, rendering for Role notes
2024-08-13 21:44:53 -05:00
Lance Edgar
7ad6a9d5a0
feat: add basic Roles view
...
can't edit user/role/perm mappings yet, just minimal CRUD
2024-08-13 10:52:30 -05:00
Lance Edgar
eac3b81918
feat: add Users view; improve CRUD master for SQLAlchemy models
2024-08-12 21:17:08 -05:00
Lance Edgar
33589f1cd8
feat: add People view; improve CRUD master for SQLAlchemy models
2024-08-11 18:21:02 -05:00
Lance Edgar
fc01fa283a
feat: add basic support for SQLAlchemy model in master view
...
must more to be done for this yet, but basics are in place for the
Setting view
2024-08-11 16:52:47 -05:00
Lance Edgar
73014964cb
feat: add basic Create support for CRUD master view
2024-08-11 12:43:48 -05:00
Lance Edgar
c46b42f76d
feat: add basic Delete support for CRUD master view
2024-08-11 09:57:01 -05:00
Lance Edgar
1a8fc8dd44
feat: add basic Edit support for CRUD master view
2024-08-10 21:07:38 -05:00
Lance Edgar
9e1fc6e57d
fix: rename MasterView method to configure_grid()
...
still not 100% sure about this, `index_configure_grid()` is more
explicit, but this will be a common method to override so probably the
shorter name is better
2024-08-10 16:45:37 -05:00
Lance Edgar
e0de4e9a65
feat: add auto-link (to "View") behavior for grid columns
2024-08-10 16:45:12 -05:00
Lance Edgar
a361f07980
fix: replace default logo, favicon images
...
these files are based on one found in Wikipedia at
https://commons.wikimedia.org/wiki/File:Aelse_7.jpg
as of writing it was licensed under the "Creative Commons Attribution
2.0 Generic" license,
cf. https://creativecommons.org/licenses/by/2.0/deed.en
author listed as Josef F. Stuefer, cf.
https://www.flickr.com/photos/20375052@N00
2024-08-10 13:28:22 -05:00
Lance Edgar
3d2aff7cc6
fix: tweak labels for Web Libraries config
2024-08-07 21:08:31 -05:00
Lance Edgar
4c467f5267
feat: add basic support for "view" part of CRUD
...
still no SQLAlchemy yet, view must be explicit about data/model. but
should support simple dict records, which will be needed in a few
places anyway
2024-08-07 19:47:24 -05:00
Lance Edgar
754e0989e4
feat: add basic Grid
class, and /settings master view
2024-08-07 14:00:53 -05:00
Lance Edgar
23d227b2c6
feat: add basic support for fanstatic / libcache
2024-08-06 22:33:54 -05:00
Lance Edgar
d35e6e71c9
feat: expose Web Libraries in app info config page
...
get away from that CDN, hopefully speeds things up etc.
2024-08-06 20:53:23 -05:00
Lance Edgar
ed67cdb2d8
feat: add basic configure view for appinfo
2024-08-06 20:48:46 -05:00
Lance Edgar
7766ca6b12
fix: add notfound()
View method; auto-append trailing slash
...
the latter provides auto-redirect to `/widgets/` when user visits
`/widgets` for example
2024-08-05 21:58:31 -05:00
Lance Edgar
9a739381ae
feat: add basic App Info view (index only)
...
more to come!
2024-08-05 21:49:18 -05:00
Lance Edgar
9ac4f7525e
feat: add initial MasterView
support
...
very minimal, index view only with empty page content
2024-08-05 19:21:58 -05:00
Lance Edgar
0e0460b831
fix: allow custom user getter for new_request_set_user()
hook
2024-08-05 15:06:55 -05:00
Lance Edgar
fc339ba81b
feat: add support for admin user to become / stop being root
2024-08-05 14:21:54 -05:00
Lance Edgar
a2ba88ca8f
feat: add view to change current user password
2024-08-05 11:45:00 -05:00
Lance Edgar
70d13ee1e7
feat: add basic logo, favicon images
...
definitely should replace these at some point..
2024-08-05 09:31:22 -05:00
Lance Edgar
a505ef27fb
feat: add auth views, for login/logout
2024-08-05 09:31:19 -05:00
Lance Edgar
e296b50aa4
feat: add custom security policy, login/logout for pyramid
...
aka. the `wuttaweb.auth` module
2024-08-05 00:12:20 -05:00
Lance Edgar
c6f0007908
feat: add wuttaweb.views.essential
module
2024-08-05 00:12:20 -05:00
Lance Edgar
95d3623a5e
feat: add initial/basic forms support
2024-08-05 00:12:17 -05:00
Lance Edgar
0604651be5
feat: add wuttaweb.db
module, with Session
2024-08-04 20:32:08 -05:00
Lance Edgar
3b6b317377
feat: add util.get_form_data()
convenience function
2024-08-04 20:32:05 -05:00
Lance Edgar
26d44390a5
todo: should avoid building menus for non-traditional web apps
...
main use case in mind here is "API" web apps, which obviously do not
need menus. do we need two hooks for the same (new request) hook?
2024-07-15 21:48:18 -05:00
Lance Edgar
1d113da45a
feat: add "web handler" feature; it must get the menu handler
...
this makes more sense than (potentially) adding a whole bunch of
methods to the app handler.
also fix entry point for app provider, per wj changes
2024-07-14 11:07:50 -05:00
Lance Edgar
60e8303d29
add basic support for menu handler
...
default menu is not yet useful, but the handler mostly works. except
for actual auth/perm checks since we have no users yet!
2024-07-13 20:03:44 -05:00
Lance Edgar
977c196f47
feat: basic support for WSGI app, views, templates
...
also docs + tests for what we have so far
2024-07-12 00:17:15 -05:00