2ccfe29553
fix: prevent error in DateTime schema type if no widget/request set
...
when we use this intentionally, the widget/request should be set as
expected. but apparently this gets instantiated sometimes (by
ColanderAlchemy?) without a widget.
so this adds sane fallback logic, instead of outright error
2025-12-17 17:46:31 -06:00
7fcb331806
feat: add "complete" (sic) timezone support
...
at least for now, this is enough to let admin define the global
default timezone for app, and override system local timezone.
eventually should support per-user timezone..some day..
2025-12-16 22:52:33 -06:00
286c683c93
fix: add local timezone awareness for datetime fields
...
this likely still needs improvement, but a good starting point
2025-12-16 10:32:26 -06:00
f33448f64a
feat: basic support for displaying version history
...
this is not terribly feature-rich yet, just the basics
2025-10-29 18:32:35 -05:00
dd25d98e7d
fix: fix 'attribute-defined-outside-init' for pylint
2025-09-01 11:53:50 -05:00
4d0693862d
fix: format all code with black
...
and from now on should not deviate from that...
2025-08-31 12:26:43 -05:00
796e793547
feat: add basic theme system
...
This is intended to allow override of look/feel without overriding the
logic/structure of templates. In practice the main goal internally is
to allow testing of Vue 3 + Oruga, to eventually replace Vue 2 + Buefy
as the default theme.
2025-06-29 09:16:44 -05:00
5b2d1dad53
feat: overhaul some User/Person form fields etc.
...
hoping this is more intuitive to use..
2025-01-27 17:07:42 -06:00
9e0e36d536
fix: add WuttaDateWidget and associated logic
2025-01-15 08:40:56 -06:00
517928320b
fix: add WuttaDictEnum form schema type
2025-01-08 12:29:42 -06:00
7f09ca5ede
fix: add scale kwarg for WuttaMoney schema type, widget
2025-01-07 13:40:44 -06:00
b73127e350
fix: make WuttaQuantity serialize w/ app handler, remove custom widget
...
turns out we need to always serialize the value via render_quantity()
and the widget becomes redundant
2025-01-07 13:34:42 -06:00
7895ce4676
tests: move WebTestCase to wuttaweb.testing module
2025-01-06 16:47:48 -06:00
0631b8e16b
fix: add WuttaQuantity schema type, widget
2025-01-02 21:28:55 -06:00
a219f3e30d
fix: remove session param from some form schema, widget classes
...
this was originally used for injecting the test session, but i wound
up using mock instead elsewhere, so this is just for consistency
2025-01-02 21:09:31 -06:00
6515a0a224
fix: use span element for readonly money field widget render
2024-12-28 21:18:10 -06:00
171e9f7488
fix: add schema node type, widget for "money" (currency) fields
2024-12-28 20:33:56 -06:00
95ff87fbf3
feat: add feature to edit email settings, basic message preview
2024-12-23 19:24:17 -06:00
5006c97b4b
feat: add basic master view class for batches
...
no support for displaying rows yet, just the main batch CRUD
2024-12-13 22:20:04 -06:00
d72a2a15ec
fix: fix behavior when editing Roles for a User
...
per proper UUID fields i guess
2024-12-12 20:07:49 -06:00
e952e1031e
fix: add basic views for raw Permissions
2024-12-12 19:24:36 -06:00
3cad7f1b13
fix: improve support for date, datetime fields in grids, forms
2024-12-12 15:15:00 -06:00
eda2326a97
fix: add way to set field widgets using pseudo-type
...
more to come on this idea hopefully..i think it's a good pattern?
2024-12-11 23:05:25 -06:00
bf8397ba23
fix: add support for date, datetime form fields
...
using buefy-based picker widgets etc.
2024-12-11 22:38:51 -06:00
6e4f390f3f
fix: display "global" errors at top of form, if present
...
this probably could use more work, good enough for now
2024-12-11 22:28:44 -06:00
74e2a4f0e2
fix: correct "empty option" behavior for ObjectRef schema type
2024-12-11 09:58:02 -06:00
40562c126e
fix: add GridWidget and form.set_grid() for convenience
...
omg how did i not do this sooner
2024-12-09 20:56:09 -06:00
fd35f439ec
fix: refactor to reflect usage of proper UUID values
2024-12-08 00:11:30 -06:00
Lance Edgar
71728718d8
feat: add basic support for wutta-continuum
...
and i mean *basic* - so far.. eventually will expose version history
for viewing etc.
unfortunately got carried away and reorganized the api docs a little
while i was at it..
2024-08-27 21:11:44 -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
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
43ad0ae1c1
fix: improve handling of boolean form fields
2024-08-23 20:38:46 -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
770c4612d5
feat: improve page linkage between role/user/person
...
- show Users grid when viewing a Role
- add hyperlinks between things
2024-08-21 15:09:05 -05:00
Lance Edgar
f7e371d21d
fix: add render_vue_finalize() methods for grids, forms
...
to make the templates just that much cleaner
2024-08-19 13:40:23 -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
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
eac3b81918
feat: add Users view; improve CRUD master for SQLAlchemy models
2024-08-12 21:17:08 -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
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