Commit graph

205 commits

Author SHA1 Message Date
Lance Edgar
282185c5af Add basic import/export handler views, tool to run jobs 2021-12-05 17:23:11 -06:00
Lance Edgar
5f9d311cdb Add views for PendingProduct model; also DepartmentWidget 2021-11-10 12:39:51 -06:00
Lance Edgar
3ece3303db Refactor several "field grids" per Buefy theme
e.g. the Users field when viewing a Role, and Vendor Sources panel
when viewing a Product
2021-09-25 18:54:33 -04:00
Lance Edgar
90af8f91b8 Let feedback forms define their own email key
so multiple recipient options may be presented to user, e.g. in public
frontend
2021-08-02 18:26:15 -05:00
Lance Edgar
708641a8f1 Purge things for legacy (jquery) mobile, and unused template themes
gosh it feels good to get rid of this stuff...  fingers crossed that nothing
was broken, but am thinking it's safe
2021-01-30 15:52:47 -06:00
Lance Edgar
fd1342c605 Try to show existing filename, for upload widget 2021-01-05 18:53:00 -06:00
Lance Edgar
711ed947a3 Add "worksheet file" pattern for editing batches
lets user download a worksheet, edit, then upload back to update the batch
2020-09-18 12:17:04 -05:00
Lance Edgar
72177e8ab5 Improve auto-handling of "local" timestamps
for non-Rattail DBs where timestamps are local instead of UTC
2020-09-02 11:30:02 -05:00
Lance Edgar
917d5ab3fa Expose the Role.notes field for view/edit
also add a simple "<pre> with sans-serif font" renderer
2020-03-23 19:59:28 -05:00
Lance Edgar
86617e410f Fix some basic product editing features
mostly for sake of online demo
2020-02-28 18:11:54 -06:00
Lance Edgar
0715bd6321 Add basic "receive" handler logic for receiving API 2019-11-15 16:16:56 -06:00
Lance Edgar
19c734683b Add basic API view for user feedback 2019-08-29 18:30:13 -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
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
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
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
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
3f6d5daa1e More Buefy tweaks, for file upload, and "edit batch" generally 2019-06-08 14:26:33 -05:00
Lance Edgar
2b6d88105c Add support for Buefy autocomplete; several other form tweaks
at least the Edit User form should work now, for instance
2019-06-08 13:46:00 -05:00
Lance Edgar
c24098a117 Fall back to parsing request body as JSON for form data
apparently that's what we'll be dealing with from Vue.js AJAX requests?
2019-06-04 17:57:48 -05:00
Lance Edgar
5907973d42 Refactor "edit printer settings" view for Label Profile
for sake of Buefy, but it was definitely using some old form patterns...
2019-05-23 17:58:46 -05:00
Lance Edgar
6c3722737d OMG so many Buefy things...and much to be done yet it seems
these changes are all with Buefy "forms" support in mind.  hopefully didn't
break any legacy/jquery stuff... and yeah, lots more left to do still for the
sake of Buefy forms
2019-05-22 15:31:23 -05:00
Lance Edgar
fbf3ee5cd1 Improve readonly form templates somewhat, for Buefy
progress at least, more polish needed yet
2019-05-21 12:14:49 -05:00
Lance Edgar
dfe0f49655 Add basic/generic Buefy support to the Form class
mostly just affects rendering, apparently backend logic needn't really change?
2019-05-20 16:24:14 -05:00
Lance Edgar
a8db5db308 Add basic Buefy form support when generating reports
apparently we have a lot of work to do yet for Buefy forms elsewhere...
2019-05-08 20:24:19 -05:00
Lance Edgar
c869516449 Add basic "receive row" desktop view for receiving batches
not terribly polished yet, but works
2019-03-13 18:31:57 -05:00
Lance Edgar
0f5d668f86 Add "plain" date widget
to avoid deform.addCallback() JS for mobile forms

surely there's a better solution, but this works for now...
2019-02-22 20:46:54 -06:00
Lance Edgar
bd43884a1d Improve validator for "percent" input widget 2019-02-13 15:15:47 -06:00
Lance Edgar
caec354092 Remove usage of colander.timeparse() function
that did very little, and has been removed in latest colander release
2019-02-12 14:03:27 -06:00
Lance Edgar
a45ce2ced2 Introduce support for "children first" truck dump receiving
still needs more testing to see what's left...
2019-02-06 16:50:40 -06:00
Lance Edgar
eb78d79bb3 Update tempmon UI now that enabled flags are really datetime in DB 2019-01-25 19:36:13 -06:00
Lance Edgar
d659e62fda Add custom widget for "percent" field
so that storage can use "traditional" (0.3612) format but UI can use
"human-friendly" format (36.12 %)
2019-01-08 12:18:48 -06:00
Lance Edgar
a637ba1e6b Add 'percent' as field type for Form; fix rendering of 'percent' for Grid
these both now assume the value obtained will be a "typical" percentage
decimal, i.e. 0.30130 instead of 30.130
2018-12-18 17:41:38 -06:00
Lance Edgar
4fa9ab3c6e Add better support for "make import batch from file" pattern 2018-11-22 20:26:28 -06:00
Lance Edgar
f26f42427f Don't include LargeBinary properties in default colander schema
actually, exclude any found in secondary properties...i.e. from relationship
2018-10-19 21:17:50 -05:00
Lance Edgar
4a610ba2e6 Misc. UI improvements for truck dump receiving on desktop
links back and forth between parent/child rows, a little help text etc.
2018-09-22 18:33:01 -05:00
Lance Edgar
e43f713a66 Various tweaks for arbitrary model view with "rows"
just needed these for a particular feature...
2018-07-26 21:35:15 -05:00
Lance Edgar
634a93061b Let mobile form declare if/how to auto-focus a field
and for mobile ordering, auto-focus the "units" field when editing a row
2018-07-24 21:29:52 -05:00
Lance Edgar
3dfdb26502 Improve basic support for unit/pack info when viewing product details 2018-07-08 00:01:14 -05:00
Lance Edgar
b0e8f7d985 Various changes to support current receiving workflows
i.e. for sake of truck dump, adding child from invoice etc.
2018-05-22 13:54:50 -05:00
Lance Edgar
cd7922f204 Add "most of" support for truck dump receiving
still not complete, but conceptually it sort of is...
2018-05-18 15:51:47 -05:00
Lance Edgar
9ed501a8cc Add initial support for receiving truck dump batch via mobile
i.e. just the initial truck dump, but secondary invoice batches are not yet
supported.  also this maybe breaks other things..we'll see
2018-05-16 09:15:52 -05:00
Lance Edgar
e6144ea08b Add Form.__contains__() method
for testing if a field is contained in the form
2018-05-03 10:54:40 -05:00
Lance Edgar
91bb38573b Add desktop support for creating inventory batches
with a workflow form of sorts
2018-02-28 21:53:39 -06:00
Lance Edgar
ff7341d272 Add Form.mobile flag and set link button styles accordingly 2018-02-22 11:12:51 -06:00
Lance Edgar
046a70c5f6 Add NumberInputWidget for <input type="number" /> 2018-02-21 19:51:31 -06:00
Lance Edgar
17d99e16b9 More tweaks for python 3 2018-02-12 19:22:05 -06:00
Lance Edgar
cdaf36f346 Rename 'forms2' package, templates to 'forms' 2018-02-11 22:57:33 -06:00
Lance Edgar
d0b78babd2 Remove legacy 'forms' package and templates
yay!
2018-02-11 22:46:35 -06:00