Commit graph

3883 commits

Author SHA1 Message Date
Lance Edgar f0d694cfe5 Rename some attrs etc. for buefy components used with oruga 2024-05-06 22:56:47 -05:00
Lance Edgar 3d319cbd09 Fix login "enter" key behavior, per oruga 2024-05-06 22:13:43 -05:00
Lance Edgar e4c4259674 Remove version restriction for pyramid_beaker dependency
latest version is 0.9, so this wasn't all that relevant
2024-05-06 21:53:11 -05:00
Lance Edgar 15fedf5976 Fix employees grid when viewing department (per oruga) 2024-05-06 21:52:53 -05:00
Lance Edgar 68384a00dc Update changelog 2024-04-28 20:25:55 -05:00
Lance Edgar e9ddd6dc36 Stop including 'falafel' as available theme 2024-04-28 20:21:20 -05:00
Lance Edgar 6ce65badeb Show "View This" button when cloning a record 2024-04-28 20:12:49 -05:00
Lance Edgar 9ee6521d6a Fix upgrade execution logic/UI per oruga 2024-04-28 20:12:06 -05:00
Lance Edgar 72f48fa963 Fix vertical alignment in main menu bar, for butterball 2024-04-28 19:30:35 -05:00
Lance Edgar b3784dcc4a Update various icon names for oruga compatibility 2024-04-28 18:49:11 -05:00
Lance Edgar 34878f9293 Sort list of available themes
and add `computed` attr for WholePage; needed by some customizations
2024-04-28 18:37:00 -05:00
Lance Edgar adaa39f572 Update changelog 2024-04-28 17:33:06 -05:00
Lance Edgar 1d5a0630ef Change default URL for some vue3+oruga libs
apparently the first ones were not ideal / optimized, but these are
2024-04-28 16:16:38 -05:00
Lance Edgar 855fa7e1e2 Fix centering for "Show Totals" grid tool 2024-04-28 02:41:45 -05:00
Lance Edgar f2f023e7b3 Fix v-model handling for grid-filter-numeric-value 2024-04-28 02:39:40 -05:00
Lance Edgar 33251e880e Fix oruga styles for batch view
also use typical panels, for row status breakdown etc.
2024-04-28 01:58:19 -05:00
Lance Edgar 358816d9e7 Add oruga overhead for "classic" app only, not API 2024-04-28 00:51:07 -05:00
Lance Edgar 362d545f34 Fix modal state for appinfo/configure page 2024-04-28 00:25:03 -05:00
Lance Edgar fb81a8302c Use oruga 0.8.7 by default instead of latest 0.8.8
until the new bug is fixed, https://github.com/oruga-ui/oruga/issues/913
2024-04-28 00:20:43 -05:00
Lance Edgar e7a44d9979 Let caller use string data for <tailbone-datepicker>
don't require a Date object, since callers thus far have not expected that
2024-04-27 21:54:55 -05:00
Lance Edgar 2eaeb1891d Add initial support for Vue 3 + Oruga, via "butterball" theme
just a savepoint, still have lots to do and test before this really works
2024-04-27 21:06:20 -05:00
Lance Edgar 5aa8d1f9a3 Use buefy table for "find principal by perm" results
this should work for oruga as well
2024-04-27 19:17:30 -05:00
Lance Edgar 098ed5b1cf Improve keydown handling for grid Add Filter autocomplete
should work the same, but this way also works with oruga
2024-04-27 19:17:30 -05:00
Lance Edgar 890ec64f3c Misc. template cleanup per oruga effort 2024-04-27 19:17:27 -05:00
Lance Edgar ba32422059 Fix bug when saving user preferences theme
it was being saved even when it should have been empty value
2024-04-25 23:56:21 -05:00
Lance Edgar 8b3a9c9dad Use simple field labels when possible
only use template if it must include icons etc.
2024-04-25 22:49:37 -05:00
Lance Edgar 2a22e8939c Add index title to Change Password page 2024-04-25 22:17:59 -05:00
Lance Edgar 6bee65780c Improve logic for Add Filter grid button/autocomplete
this should work for oruga as well as buefy
2024-04-25 22:00:01 -05:00
Lance Edgar e030dc841d Expand some modal fields, per oruga styles 2024-04-25 21:31:26 -05:00
Lance Edgar 25a27af29c Use explicit flex styles instead of "level" for grid filters etc.
just to be more precise, and consistent
2024-04-25 20:45:03 -05:00
Lance Edgar daf68cad01 Fix data type handling for datepicker and grid filter components
here is what's up now:

- <b-datepicker> expects v-model to be a Date
- <tailbone-datepicker> also expects a Date
- <grid-filter-date-value> uses String for its v-model

latter is so the value can represent a date range, e.g. 'YYYY-MM-DD|YYYY-MM-DD'

anyway there was previously confusion about data type among these
components, and hopefully they are straight now per the above outline
2024-04-25 18:52:34 -05:00
Lance Edgar ab57fb3f0f Tweak flex styles for grid filters 2024-04-25 18:16:39 -05:00
Lance Edgar f43259fbc1 Use proper flex styles for grid pagination footer 2024-04-25 16:04:30 -05:00
Lance Edgar bfe6b5bc25 Use explicit flex styles for grid-tools element
and so, must ensure children of grid-tools are atomic elements
2024-04-25 15:41:06 -05:00
Lance Edgar 23e6eef604 Update changelog 2024-04-25 14:05:10 -05:00
Lance Edgar d2aa91502a Allow deleting rows from executed batches
requires a view to explicitly opt-in.  and a separate permission is
required for the user
2024-04-25 14:02:45 -05:00
Lance Edgar 4f6ee1fb22 Use v-model to track selection etc. for download results fields 2024-04-24 22:10:56 -05:00
Lance Edgar ddafa9ed97 Tweak icon for Download Results button
make it more portable for oruga
2024-04-24 20:19:15 -05:00
Lance Edgar 0ca3b31b2e Use normal button for grid filters
since that's more portable (for oruga) than "checkbox button"
2024-04-24 18:20:16 -05:00
Lance Edgar 9f984241c4 Cleanup grid/filters logic a bit
get rid of grids.js file, remove filter templates from complete.mako

move all that instead to filter-components.mako

for now, base template does import + setup for the latter, "just in
case" a given view has any grids.  each grid should (still) be
isolated but no code should be duplicated now.  whereas before the
grid filter templates were in comlete.mako and hence could be declared
more than once if multiple grids are on a page
2024-04-24 17:43:22 -05:00
Lance Edgar d6fa83cd87 Fix permission checks for root user with pyramid 2.x 2024-04-19 22:27:30 -05:00
Lance Edgar 8781e34c98 Rename setting for custom user css (remove "buefy")
but have to keep support for older setting name for now
2024-04-19 21:18:57 -05:00
Lance Edgar 49da9776e7 Remove unused test fixtures 2024-04-19 20:25:07 -05:00
Lance Edgar 36b9e00dc9 Remove unused code for webhelpers2_grid 2024-04-19 20:15:44 -05:00
Lance Edgar 5cb643a32a Update changelog 2024-04-19 19:47:41 -05:00
Lance Edgar 1fa6e35663 Remove config "style" from appinfo page
there is only one style now (finally)
2024-04-19 17:45:58 -05:00
Lance Edgar e82f0f37d8 Fix raw query to avoid SQLAlchemy 2.x warnings 2024-04-16 23:29:56 -05:00
Lance Edgar 7fa39d42e2 Fix ASGI websockets when serving on sub-path under site root 2024-04-16 23:27:50 -05:00
Lance Edgar a95cc2b9e8 Update changelog 2024-04-16 21:14:23 -05:00
Lance Edgar e7b8b6e818 Fix master template bug when no form in context 2024-04-16 21:13:53 -05:00