Commit graph

3826 commits

Author SHA1 Message Date
Lance Edgar aeaef04fac Add convenience method for gathering employee history context data
so we can reuse that for returning JSON from various views
2019-07-11 14:01:22 -05:00
Lance Edgar 8c2287a1e8 Add custom permissions for People "profile" view
this whole thing needs some polishing yet...
2019-07-11 14:01:00 -05:00
Lance Edgar fa825da404 Include employee history data in context for "view profile" 2019-07-10 22:58:05 -05:00
Lance Edgar 839f6affe2 Add basic "DB picker" support, for views which allow multiple engines
i.e. whichever engine is "current" will determine where data comes from
2019-07-09 22:14:12 -05:00
Lance Edgar 0d7492f6be Update changelog 2019-07-09 15:18:31 -05:00
Lance Edgar c09437880f Add support for general "view click handler" for <b-table> element
plus some other tweaks for sake of revision history in profile view
2019-07-09 14:56:33 -05:00
Lance Edgar 069ccab0ae Clear feedback message after sending
that way user can open dialog again, and things not be weird
2019-07-05 19:54:57 -05:00
Lance Edgar b8274d92db Refactor feedback dialog for Buefy themes
for more proper Vue.js component usage pattern
2019-07-05 19:50:16 -05:00
Lance Edgar 4499a872d8 Remove unwanted "export has file" logic for ExportMasterView
this mostly did what "downloadable" already did, plus some other stuff which it
probably shouldn't have been doing anyway
2019-07-05 18:17:53 -05:00
Lance Edgar 94d7e01bd5 Add download_path() method for ExportMasterView
default behavior isn't very smart, subclass should override as needed
2019-07-05 18:00:58 -05:00
Lance Edgar 993ce9289d Add basic "downloadable" support for ExportMasterView
instead of it trying to do its own thing for that...  more to come on this
2019-07-05 16:48:29 -05:00
Lance Edgar c8d6361c36 When creating an export, set creator to current user
many exports won't support creation via web app, but some will
2019-07-05 16:47:51 -05:00
Lance Edgar 8c610e2142 Add render_customer() method for MasterView
surely will be commonly useful?
2019-07-05 16:44:46 -05:00
Lance Edgar bb0e2fb9e9 Add way to hide "view profile" helper for customer view 2019-07-03 12:35:14 -05:00
Lance Edgar e9e4d65c78 Update changelog 2019-07-01 15:18:06 -05:00
Lance Edgar ddc8bd2028 Fix product view template per Buefy refactoring 2019-07-01 14:08:42 -05:00
Lance Edgar bf9fff6065 Update changelog 2019-07-01 13:23:27 -05:00
Lance Edgar 744347c269 Clear checked rows when refreshing async grid data
we don't want to accidentally "remember" checked rows which aren't currently
visible...  at least not yet / by default
2019-07-01 13:22:38 -05:00
Lance Edgar d087071fc9 Update changelog 2019-07-01 12:27:38 -05:00
Lance Edgar a4d6c6694a Make sure grid action links preserve white-space
i.e. don't wrap between link icon and text!
2019-07-01 11:46:52 -05:00
Lance Edgar ff3ee351d1 Add 'duration_hours' type for grid column display 2019-07-01 11:46:21 -05:00
Lance Edgar b14e8daa1a Expose a way to embed "raw" data values within Buefy grid data
for sake of custom front-end stuff
2019-06-28 15:47:52 -05:00
Lance Edgar 3a53ffcc23 Add NumericInputWidget for use with Buefy themes
uses a Vue.js component for better logic encapsulation
2019-06-28 13:06:43 -05:00
Lance Edgar 2abe589ef6 Allow "touch" for customer records 2019-06-27 19:50:24 -05:00
Lance Edgar f81e4fac79 Update changelog 2019-06-25 20:49:56 -05:00
Lance Edgar a4b27115ac Refactor all Buefy form submit buttons, per Chrome behavior
ugh, what a pain.  and turns out i'd previously ran into this same issue for
jQuery, per commit e945ebe325
2019-06-25 20:32:49 -05:00
Lance Edgar 43a210cac4 Fix "edit row" icon for batch row grids, for Buefy themes 2019-06-21 15:47:30 -05:00
Lance Edgar 355a49e463 Fix PO total calculation bug for mobile ordering
also fix currency formatting for PO calculated total
2019-06-21 15:18:41 -05:00
Lance Edgar 975aa0a3cc Only expose "Make User" button when viewing a person
i.e. don't expose when editing the person
2019-06-18 16:54:05 -05:00
Lance Edgar a99b8c6aaf Update changelog 2019-06-18 16:49:55 -05:00
Lance Edgar 8a968a1f89 Fix inheritance issue with "view row" master template 2019-06-18 16:48:55 -05:00
Lance Edgar c7eeaffec9 Update changelog 2019-06-18 16:25:37 -05:00
Lance Edgar cc79fe76fd Refactor form/page component structure for Buefy/Vue.js
this also moves Execute Batch from the form buttons area, to object helper
2019-06-17 15:07:19 -05:00
Lance Edgar 4cadeb8e5d Fix click behavior for all/diffs package links in upgrade view 2019-06-16 16:27:45 -05:00
Lance Edgar 76a19ebe5b Pull the grid tools to the right, for Buefy 2019-06-16 16:23:01 -05:00
Lance Edgar b5613ec6dc Only include execute form if applicable, for batch grid view 2019-06-16 16:22:48 -05:00
Lance Edgar 26137ec81e Add Buefy support for "execute results" from core batch grid view 2019-06-16 15:50:40 -05:00
Lance Edgar 0e67c62c86 Add generic /page.mako template
helps with getting a proper Vue.js app going for arbitrary extra pages
2019-06-16 14:43:29 -05:00
Lance Edgar 90bf4edf0d Update changelog 2019-06-16 13:29:35 -05:00
Lance Edgar d51fe8483a Buefy support for "mark batch as (in)complete" 2019-06-15 20:47:45 -05:00
Lance Edgar 3ddde1a1ca Use locale formatting for some numbers in the Buefy grid 2019-06-15 19:50:25 -05:00
Lance Edgar 48e28a1ba4 Assign client IP address to session, for sake of data versioning 2019-06-15 19:02:51 -05:00
Lance Edgar 558e127caa Fix package diff table for upgrade view template, per Buefy 2019-06-15 18:06:54 -05:00
Lance Edgar 63807e71fd Use once-button for tempmon client restart 2019-06-15 17:31:49 -05:00
Lance Edgar f684c38958 Refactor tempmon probe graph view per Vue.js 2019-06-15 17:00:46 -05:00
Lance Edgar 4b2abf791c Refactor tempmon probe view template, per Buefy 2019-06-15 15:51:25 -05:00
Lance Edgar a8b83d9fe1 Update changelog 2019-06-14 21:33:29 -05:00
Lance Edgar 4ce695d933 Make person, created by fields readonly when editing Person Note 2019-06-14 20:47:16 -05:00
Lance Edgar 44aa54f247 Fix some response headers per python 3 2019-06-13 14:25:54 -05:00
Lance Edgar 25e5739b34 Update changelog 2019-06-13 13:50:22 -05:00