Commit graph

25 commits

Author SHA1 Message Date
Lance Edgar 3b92bb3a9e fix: use wuttaweb logic for util.get_form_data() 2024-08-05 09:11:19 -05:00
Lance Edgar ce156d6278 feat: begin integrating WuttaWeb as upstream dependency
the bare minimum, just to get the relationship established.  mostly
it's calling upstream subscriber / event hooks where applicable.

this also overhauls the docs config to use furo theme etc.
2024-07-12 09:35:34 -05:00
Lance Edgar d72d6f8c7c fix: require zope.sqlalchemy >= 1.5
so we can do away with some old cruft, since latest zope.sqlalchemy is
3.1 from 2023-09-12
2024-07-02 11:14:03 -05:00
Lance Edgar 3e4bbf7092 Use clientele handler to populate customer dropdown widget 2023-12-01 19:50:07 -06:00
Lance Edgar 35131c8732 Provide a way to show enum display text for some version diff fields
master view must explicitly declare which enums for which fields
2023-11-30 18:23:47 -06:00
Lance Edgar 6f02e1b18e Tweak logic for MasterView.get_action_route_kwargs()
hopefully this improves default handling when model keys are
composite, and if we can confirm the "secondary" (previous) logic no
longer happens, then can remove that altogether..?
2023-06-06 09:39:02 -05:00
Lance Edgar d4801f58e3 Make sure Grid class is included in package API docs 2022-11-19 21:45:23 -06:00
Lance Edgar 2b70ed1407 Fix "edit row" logic for ordering batch
previous logic allowed `colander.null` to be passed to batch handler, which
caused an error.  also it allowed editing "all" fields for the row, which we
really don't need to do, so now we just support the order quantities
2020-02-24 13:38:58 -06:00
Lance Edgar fc830f60e8 Tweak worksheet_update() of ordering batch view, to leverage handler
specifically this is to make use of handler's `update_row_quantity()` method,
when user enters new order quantities via worksheet
2020-02-24 12:36:47 -06:00
Lance Edgar c3f4a3d9ea Tweak save_edit_row_form() of purchase batch view, to leverage handler
specifically this is to make use of handler's `update_row_quantity()` method,
when editing a row for ordering batches
2020-02-24 12:27:26 -06:00
Lance Edgar 6c5cc95e51 Overhaul the /ordering batch API somewhat; update docs
mostly a savepoint; the /ordering API still needs some work for sure
2020-02-23 21:07:50 -06:00
Lance Edgar f0a3607fb7 Fix docs, per recent view switcharoo 2019-10-09 14:21:48 -05:00
Lance Edgar ff9700e23a Add core View.make_progress() method
so callers no longer need to import `SessionProgress` and create directly
2019-09-25 00:32:41 -05:00
Lance Edgar 8d1bd2adcd Fix API doc reference to renamed subscriber function 2018-10-17 20:05:25 -05:00
Lance Edgar 6c0f243655 Add basic docs for CSV download support in master view 2018-05-29 12:38:37 -05:00
Lance Edgar a4095b30f7 Add basic forms API doc 2018-05-22 20:29:07 -05:00
Lance Edgar db25a5bfd0 Add docs for MasterView.help_url and get_help_url() 2018-05-21 15:27:22 -05:00
Lance Edgar 4360d263e4 Test commit 2017-08-12 22:47:11 -05:00
Lance Edgar c57e2e17cc Final grid refactor; we now have just 'grids' :)
this also removes some old UI stuff for the first attempt at continuum
versioning..among other cruft
2017-07-14 20:30:00 -05:00
Lance Edgar 53d69acbcc Remove all old-style batch CRUD views 2017-07-06 15:44:37 -05:00
Lance Edgar 62fa0f9fcb Remove all "old-style" (aka. version 1) grids 2017-07-06 15:23:33 -05:00
Lance Edgar 1a07314493 Fix some API docs per refactor. 2016-02-27 10:49:31 -06:00
Lance Edgar 585eb09bec Add support for "new-style grids" and "model master views".
Finally, an API that makes some sense...  We don't yet have feature parity
with the old-style grids and CRUD views, but this is already a significant
improvement to the design.  Still needs a lot of docs though...
2015-08-10 18:58:31 -05:00
Lance Edgar 937a55c14d Add docs for new batch system.
And some other tweak(s).
2015-02-13 01:12:20 -06:00
Lance Edgar a958a7b285 Add event hook for attaching Rattail config to new requests. 2014-02-21 10:10:10 -08:00