Commit graph

2336 commits

Author SHA1 Message Date
Lance Edgar c16349d5c3 Fix progress page so it effectively fetches progress data synchronously
i.e. use `setTimeout()` instead of `setInterval()` and only set next timeout
after previous fetch has succeeded
2019-09-20 17:26:33 -05:00
Lance Edgar fe413ba2f5 Honor kwargs used for MasterView.get_index_url() 2019-09-19 20:19:52 -05:00
Lance Edgar 0d2f6e060f Use simple_error() from rattail, for showing some error messages
just trying to standardize a little
2019-09-19 20:19:26 -05:00
Lance Edgar a972fb7359 Add todo comment 2019-09-14 15:07:47 -05:00
Lance Edgar 99cd9f9450 Update changelog 2019-09-09 20:04:08 -05:00
Lance Edgar 1165fa8cdb Show product image from database, if it exists
only use POD image if we have nothing in our DB (and config doesn't say not to)
2019-09-09 19:25:18 -05:00
Lance Edgar ab1ff48527 Update changelog 2019-09-09 18:31:10 -05:00
Lance Edgar 1a6f9c2159 Fix 'about' page template for Buefy themes 2019-09-09 17:34:24 -05:00
Lance Edgar 4c42ccc7d7 Fix various templates for generating reports, per Buefy
also various other tweaks which came up along the way...
2019-09-06 17:45:59 -05:00
Lance Edgar cb4e9e9eda Tweak login form styles, so inputs are same size 2019-09-06 16:43:22 -05:00
Lance Edgar 192c3c201d Prevent text wrap for pricing panel fields on product view page 2019-09-04 16:59:44 -05:00
Lance Edgar 2185182eee Fix rendering of "handheld batches" field for inventory batch view 2019-09-04 10:33:32 -05:00
Lance Edgar 79be69f8c1 Include tax1 thru tax3 flags in form fields for product view page 2019-09-03 13:44:59 -05:00
Lance Edgar c874e879c1 Don't show Delete Row button for executed batch, on jquery mobile site 2019-08-30 20:01:49 -05:00
Lance Edgar ed53bd487b Add basic API endpoints for /ordering-batch 2019-08-30 19:47:30 -05:00
Lance Edgar c41a7303df Add /products API endpoint, enable basic filter support for API views 2019-08-30 19:47:27 -05:00
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