Commit graph

2370 commits

Author SHA1 Message Date
Lance Edgar c1c37aad85 Cleanup styles for login form 2019-08-30 13:56:06 -05:00
Lance Edgar 7aa5c8e724 Tweak how we return single record data from API
i.e. always return 'data' key with object data, regardless of model
2019-08-30 00:27:03 -05:00
Lance Edgar 56974ce30f Tweak return value for /customers API 2019-08-30 00:27:03 -05:00
Lance Edgar de46dfc4a2 Return current user permissions when session is checked via API 2019-08-30 00:27:00 -05:00
Lance Edgar 47efc88228 Add basic API view for "about" page
i.e. this returns app version and some package versions
2019-08-29 19:06:51 -05:00
Lance Edgar 19c734683b Add basic API view for user feedback 2019-08-29 18:30:13 -05:00
Lance Edgar d97f95fb92 Add basic support for "between" verb, for date range grid filter
this seems to be complete, but we'll see in practice if i forgot something..
2019-08-29 17:23:32 -05:00
Lance Edgar 14778757d9 Expose api.SortColumn
even though we probably shouldn't?  guess we'll see
2019-08-26 00:57:42 -05:00
Lance Edgar 300efe4877 Tweak how we detect JSON request body instead of POST params
i.e. when processing submitted form data
2019-08-25 17:35:01 -05:00
Lance Edgar 3d3ace1c2a Add basic support for create and update actions in API views
customer views only for now, will add more upon further testing
2019-08-25 16:02:59 -05:00
Lance Edgar 7c0d9c4f93 Include short_name in field list returned by /session API 2019-08-24 20:35:56 -05:00
Lance Edgar 9081985b08 Include uuid in fields returned by /customers API 2019-08-24 19:16:41 -05:00
Lance Edgar 5cfe69d24b Hopefully fix "single store" behavior when make a new ordering batch
this does seem to fix for this use case, but previous commit for this code
implied that it was fixing something for the receiving use case...
2019-08-23 22:05:09 -05:00
Lance Edgar 937c2920ac Set default max height, width for app logo
should affect home page and login page
2019-08-23 22:02:46 -05:00
Lance Edgar fd700e06f4 Let a grid have custom ajax data url
i.e. instead of assuming we should GET the current "partial" page, can use a
different URL altogether now
2019-08-23 19:28:36 -05:00
Lance Edgar e6dff16550 Update changelog 2019-08-21 17:49:17 -05:00
Lance Edgar f2c06042cd Tweak login page logo style for jQuery (non-Buefy) themes 2019-08-17 19:01:29 -05:00
Lance Edgar a49d107a82 Provide today's date as context for profile view 2019-08-11 17:30:08 -05:00
Lance Edgar b0af78f3b2 Update changelog 2019-08-05 19:16:13 -05:00
Lance Edgar dade379dcf Fix "last sold" field rendering for product view 2019-08-05 16:06:23 -05:00
Lance Edgar f3ac3ca25e Yet another fix for user feedback form handling 2019-08-04 22:59:32 -05:00
Lance Edgar 243c69b231 Fix some user feedback form handling
sheesh i don't see how this hasn't been more broken for some time now...
2019-08-04 22:36:58 -05:00
Lance Edgar fda7230bce Fix form handling for user feedback
issue was noticed on demo site, but possibly existed elsewhere?  also not 100%
sure about this fix, but it's believed to be okay...
2019-08-04 22:14:15 -05:00
Lance Edgar 287464362e Remove unused "login tips" for demo 2019-08-04 21:52:11 -05:00
Lance Edgar 222e909686 Update changelog 2019-08-04 20:49:11 -05:00
Lance Edgar 1b1d37b9df Fix home and login pages for Buefy theme
not sure what broke those so bad...they're still not "great"
2019-08-04 20:43:31 -05:00
Lance Edgar 5a25ffe6e4 Update changelog 2019-08-04 19:13:27 -05:00
Lance Edgar 6d846ab0db Bring all of header into WholePage component
now there is only *one* Vue.js app instantiated on each page, yay!
2019-08-03 19:20:42 -05:00
Lance Edgar 47c2742878 Move the "HUD" content title section into WholePage component
that way, ThisPage can dynamically trigger a change in the title HTML
2019-08-03 17:56:18 -05:00
Lance Edgar 69eb54abf6 Highlight former Employee records as red/warning 2019-08-03 17:18:53 -05:00
Lance Edgar 1bb0330ab5 Refactory Buefy templates to use WholePage and ThisPage components
plus add `GridFilter.set_choices()` method
2019-08-03 16:57:13 -05:00
Lance Edgar c64fca852c Allow "touch" for Person records 2019-08-02 11:30:46 -05:00
Lance Edgar 01fcd3175f Update changelog 2019-07-31 17:33:38 -05:00
Lance Edgar c04c0e29bb Freeze Buefy version at pre-0.8.0
since apparently their 0.8.0 release breaks some grid filter action
2019-07-31 17:32:57 -05:00
Lance Edgar 9daf1dea31 Update changelog 2019-07-30 19:00:45 -05:00
Lance Edgar 4a175c76f9 Add proper support for composite primary key, in MasterView
at least hopefully this is complete, and didn't break anything else...
2019-07-29 19:27:23 -05:00
Lance Edgar 4d3ff6ed20 Update changelog 2019-07-25 16:53:07 -05:00
Lance Edgar 6e1f925944 Cleanup 'phone' filter/sort logic for Employees grid
per newer conventions etc.  needed to override some of this for a client
2019-07-25 16:05:10 -05:00
Lance Edgar e756ae3c8f Add "multi-engine" support for Trainwreck transaction views 2019-07-25 15:40:38 -05:00
Lance Edgar b07365b487 Add perm for editing employee history from profile view 2019-07-23 13:12:36 -05:00
Lance Edgar f1b6f8a3e4 Add 'disabled' prop for buefy datepicker
also make sure we return `null` when input is empty
2019-07-23 13:12:07 -05:00
Lance Edgar ad3b660bc0 Update changelog 2019-07-13 19:27:05 -05:00
Lance Edgar dd773d4e5e Send URL for viewing employee, along to profile page template 2019-07-11 15:17:25 -05:00
Lance Edgar 61df7745c6 Use latest version of Buefy by default, for falafel theme 2019-07-11 15:17:04 -05:00
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