Lance Edgar
ecb1dce590
fix: improve support for composite model_key
in MasterView
...
in particular, had a table (Catapult) with composite primary key,
where both prop keys are named differently than columns.
this also splits out the route kwargs logic for action urls, because
of another situation where i wanted to use non-primary field as model
key, but it also needed to be stripped of whitespace. this allows for
such an override but in the end i did not pursue that method and just
wound up using default model key anyway..
2025-01-14 11:51:03 -06:00
Lance Edgar
013d921772
tests: fix test per appinfo/configure changes
2025-01-13 13:29:56 -06:00
Lance Edgar
b5b88e2a7b
fix: bugfix for bool simple settings with default value
2025-01-06 19:29:58 -06:00
Lance Edgar
7895ce4676
tests: move WebTestCase
to wuttaweb.testing
module
2025-01-06 16:47:48 -06:00
Lance Edgar
86ffb5d58f
fix: add basic support for row grid "view" action links
...
still no actual "view row" support just yet, but subclass can
implement however they like..
2025-01-02 22:52:32 -06:00
Lance Edgar
170afe650b
fix: add "xref buttons" tool panel for master view
...
also add `url` param for `MasterView.make_button()`
2025-01-02 22:35:43 -06:00
Lance Edgar
e3beb9953d
feat: add basic support for rows grid for master, batch views
2024-12-14 10:48:11 -06:00
Lance Edgar
16ed125113
fix: use fanstatic to serve built-in images by default
...
Refs: #1
2024-12-10 16:54:02 -06:00
Lance Edgar
dcdc0e7dab
fix: improve support for random objects with grid, master view
...
thus far we expected either dict or "native" ORM object which can
essentially behave like a dict when needed. but a "non-native" object
may not behave like a dict and this hopefully fixes the logic to allow
for those anyway..
2024-11-25 19:11:41 -06:00
Lance Edgar
8669ca2283
feat: add "progress" page for executing upgrades
...
show scrolling stdout from subprocess
nb. this does *not* show stderr, although that is captured
2024-08-25 15:52:29 -05:00
Lance Edgar
e5e31a7d32
feat: add basic support for execute upgrades, download stdout/stderr
...
upgrade progress is still not being shown yet
2024-08-25 12:20:28 -05:00
Lance Edgar
1a8900c9f4
feat: add basic progress page/indicator support
...
so far "delete results" (for Raw Settings) is the only use case.
user cancel is not yet supported
2024-08-24 19:28:13 -05:00
Lance Edgar
6fa8b0aeaa
feat: add basic "delete results" grid tool
...
this is done synchronously with no progress indicator yet
2024-08-24 14:26:13 -05:00
Lance Edgar
6650ee698e
feat: add initial views for upgrades
...
CRUD only so far, still need execute features
2024-08-24 11:29:52 -05:00
Lance Edgar
2503836ef5
fix: misc. improvements for display of grids, form errors
2024-08-23 19:23:40 -05:00
Lance Edgar
e332975ce9
feat: add per-row css class support for grids
2024-08-23 14:14:41 -05:00
Lance Edgar
1443f5253f
feat: add initial support for proper grid filters
...
only "text contains" filter supported so far, more to come as needed
2024-08-22 14:35:49 -05:00
Lance Edgar
9d261de45a
feat: add basic autocomplete support, for Person
...
URL endpoint only for now, form widget to come later
2024-08-21 11:46:38 -05:00
Lance Edgar
d15ac46184
fix: show installed python packages on appinfo page
2024-08-20 21:26:38 -05:00
Lance Edgar
58f7a862a2
feat; add single-column sorting (frontend or backend) for grids
2024-08-18 14:05:10 -05:00
Lance Edgar
d151758c48
feat: add backend pagination support for grids
2024-08-16 22:52:24 -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
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
e3942ce65e
feat: add permission checks for menus, view routes
2024-08-14 21:20:00 -05:00
Lance Edgar
bc49392140
fix: prevent delete for built-in roles
2024-08-14 17:03:51 -05:00
Lance Edgar
230e2fd1ab
feat: expose Role permissions for editing
2024-08-14 15:10:54 -05:00
Lance Edgar
bdfa0197b2
feat: improve widget, rendering for Role notes
2024-08-13 21:44:53 -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
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
ed67cdb2d8
feat: add basic configure view for appinfo
2024-08-06 20:48:46 -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