Lance Edgar
7f09ca5ede
fix: add scale
kwarg for WuttaMoney
schema type, widget
2025-01-07 13:40:44 -06:00
Lance Edgar
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
Lance Edgar
b5b88e2a7b
fix: bugfix for bool simple settings with default value
2025-01-06 19:29:58 -06:00
Lance Edgar
b3f1f8b6d9
fix: improve built-in grid renderer logic
...
- add `render_batch_id()`
- allow kwargs for `render_currency()`
- caller may specify built-in renderer w/ string identifier
2025-01-06 16:56:31 -06:00
Lance Edgar
7895ce4676
tests: move WebTestCase
to wuttaweb.testing
module
2025-01-06 16:47:48 -06:00
Lance Edgar
5cec585fdf
fix: improve rendering for batch row status
2025-01-02 23:14:10 -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
0631b8e16b
fix: add WuttaQuantity schema type, widget
2025-01-02 21:28:55 -06:00
Lance Edgar
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
Lance Edgar
a612bf3846
fix: add grid renderers for bool, currency, quantity
...
also set bool renderer by default when possible
2025-01-02 20:13:04 -06:00
Lance Edgar
6515a0a224
fix: use span element for readonly money field widget render
2024-12-28 21:18:10 -06:00
Lance Edgar
84ab931081
fix: include grid filters for all column properties of model class
...
by default anyway. previous logic started from `grid.columns` and
then only included column properties, but now we start from the model
class itself and let sa-utils figure out the default list
2024-12-28 21:14:20 -06:00
Lance Edgar
c2efc1cd1a
fix: use app handler to render error string, when progress fails
2024-12-28 21:14:15 -06:00
Lance Edgar
171e9f7488
fix: add schema node type, widget for "money" (currency) fields
2024-12-28 20:33:56 -06:00
Lance Edgar
c4fe90834e
fix: exclude FK fields by default, for model forms
...
e.g. `person_uuid` and such
2024-12-28 18:56:04 -06:00
Lance Edgar
95ff87fbf3
feat: add feature to edit email settings, basic message preview
2024-12-23 19:24:17 -06:00
Lance Edgar
a132253cb1
feat: add basic support for running in ASGI context
2024-12-18 15:09:16 -06:00
Lance Edgar
b6d5ffa8ce
feat: add support for running via uvicorn; wutta webapp
command
2024-12-18 12:36:52 -06:00
Lance Edgar
abec06c63c
fix: add basic support for grid filters for Date fields
2024-12-17 16:31:33 -06:00
Lance Edgar
30671fcd78
fix: add handling for decimal values and lists, in make_json_safe()
2024-12-14 23:57:34 -06:00
Lance Edgar
dd1fd8c0ce
feat: add basic support for batch execution
...
no execution options yet, and no progress indicator
also basic delete support, invoking handler
2024-12-14 23:57:10 -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
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
Lance Edgar
d72a2a15ec
fix: fix behavior when editing Roles for a User
...
per proper UUID fields i guess
2024-12-12 20:07:49 -06:00
Lance Edgar
e952e1031e
fix: add basic views for raw Permissions
2024-12-12 19:24:36 -06:00
Lance Edgar
3cad7f1b13
fix: improve support for date, datetime fields in grids, forms
2024-12-12 15:15:00 -06:00
Lance Edgar
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
Lance Edgar
bf8397ba23
fix: add support for date, datetime form fields
...
using buefy-based picker widgets etc.
2024-12-11 22:38:51 -06:00
Lance Edgar
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
Lance Edgar
448dc9fc79
fix: add make_form()
and make_grid()
methods on web handler
...
to allow override
2024-12-11 22:06:33 -06:00
Lance Edgar
74e2a4f0e2
fix: correct "empty option" behavior for ObjectRef
schema type
2024-12-11 09:58:02 -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
ddec30905e
test: add test for make_json_safe()
with uuid value
...
whoops, missed that..
2024-12-10 12:15:00 -06:00
Lance Edgar
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
Lance Edgar
f68fe26ada
fix: add "is false or null" grid filter, for nullable bool columns
2024-12-08 18:43:40 -06:00
Lance Edgar
fd35f439ec
fix: refactor to reflect usage of proper UUID values
2024-12-08 00:11:30 -06:00
Lance Edgar
5c06353fa3
fix: add option for People entry in the Admin menu
2024-12-03 21:32:46 -06:00
Lance Edgar
352afc1e22
fix: fix handling of Upgrade.uuid
...
now that it is a proper uuid7 instance, not just a string
2024-12-03 21:29:05 -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
24ddb7b905
feat: add logic to prevent edit for some user accounts
...
mostly for sake of online demo, so a "permanent" demo user can be
established
2024-11-24 17:19:50 -06:00
Lance Edgar
749882671f
fix: freeze default versions for buefy, vue-resource
...
needed for sanity
2024-08-28 19:51:55 -05: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
a010071985
feat: use native wuttjamaican app to send feedback email
2024-08-26 14:22:23 -05:00
Lance Edgar
4934ed1d93
feat: add basic user feedback email mechanism
...
this definitely needs some more work. using pyramid_mailer for
testing although not ready to declare that dependency. for now this
is "broken" without it being installed.
2024-08-25 20:25:14 -05: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