Commit graph

3359 commits

Author SHA1 Message Date
Lance Edgar 12eeb5df97 Add basic support for Person quickie lookup
shows profile view if person is found
2023-06-17 16:09:24 -05:00
Lance Edgar d77de76c97 Add support for Notes tab in profile view 2023-06-17 14:24:08 -05:00
Lance Edgar 105dab7a3d Tweak SimpleRequestMixin to not rely on response.data.ok
instead just assume ok unless `response.data.error` is set
2023-06-17 14:13:37 -05:00
Lance Edgar ba2b4bf12c Cleanup some wording in profile view template 2023-06-17 02:27:17 -05:00
Lance Edgar b1489c56e2 Add basic Shopper tab for profile view 2023-06-17 02:22:18 -05:00
Lance Edgar c601d46970 Update changelog 2023-06-16 22:22:03 -05:00
Lance Edgar 51cad13f5a Update usage of app handler per upstream changes 2023-06-16 22:15:52 -05:00
Lance Edgar 17ae06f9c1 Update changelog 2023-06-16 20:43:00 -05:00
Lance Edgar 5a03f5c23e Join the Person model for Customers grid differently based on config 2023-06-16 20:08:27 -05:00
Lance Edgar bf1726a52b Add users context data for profile view
instead of using server-side data/logic for users tab
2023-06-16 17:04:39 -05:00
Lance Edgar c1f72e0d11 Fix grid filter bug when switching from 'equal' to 'between' verbs
and vice versa
2023-06-16 12:21:51 -05:00
Lance Edgar c2227b306b Update changelog 2023-06-15 10:47:38 -05:00
Lance Edgar 961cf803f2 Prefer account holder, shoppers over legacy Customers.people
but until all are migrated, support both
2023-06-14 23:33:05 -05:00
Lance Edgar eab3b75ae5 Update changelog 2023-06-12 20:35:00 -05:00
Lance Edgar 92538b87ad Add master view for CustomerShopper 2023-06-11 20:52:24 -05:00
Lance Edgar 5f4d393db3 Change label for Member.person to "Account Holder"
probably should rename table column etc. too but that can wait
2023-06-11 15:42:14 -05:00
Lance Edgar edd5d49e36 Improve shoppers/people display for Customer tab in profile view
also expose settings for people/clientele handlers
2023-06-11 14:52:07 -05:00
Lance Edgar 0d52d554e7 Add options for grid results to link straight to Profile view
probably should have done this a long time ago...
2023-06-10 23:19:52 -05:00
Lance Edgar f1a8b8df7f Include version history for CustomerShopper, in profile view 2023-06-10 21:09:35 -05:00
Lance Edgar 9e1b83cbbe Let external customer link buttons be more dynamic, for profile view
need to copy this pattern elsewhere yet i'm sure..
2023-06-10 20:12:33 -05:00
Lance Edgar 40ae14bd7a Consider vendor catalog batch views "typical" 2023-06-10 18:59:53 -05:00
Lance Edgar e2b91dca23 Move "view history" and related buttons, for person profile view
need those to be more front-and-center
2023-06-10 14:22:21 -05:00
Lance Edgar 3fde80f991 Add basic support for exposing Customer.shoppers
now there is a Shoppers field when viewing a Customer, unless
configured otherwise

also tweaked some logic for navigating Customer/Person relationships,
to handle implications of Shoppers being (maybe) present
2023-06-07 20:57:30 -05:00
Lance Edgar afd5c3a5fd Update changelog 2023-06-06 19:29:47 -05:00
Lance Edgar cfdb492349 Add support for version history in person profile view
yay, finally
2023-06-06 16:37:58 -05:00
Lance Edgar 816e652357 Add basic support for membership types 2023-06-06 13:13:19 -05:00
Lance Edgar 027d44e04a Remove old/unused feedback templates 2023-06-06 11:57:20 -05:00
Lance Edgar c38dc8b842 Use *actual* current URL for user feedback msg
was using current URL as of page load, but #hash can change after
that, e.g. on profile view
2023-06-06 11:54:58 -05:00
Lance Edgar 0d97ff2936 Add support for "configured customer/member key"
also improve product key support, same patterns
2023-06-06 11:36:19 -05:00
Lance Edgar 9b59b44609 Add "touch" support for Members 2023-06-06 09:40:14 -05:00
Lance Edgar 6f02e1b18e Tweak logic for MasterView.get_action_route_kwargs()
hopefully this improves default handling when model keys are
composite, and if we can confirm the "secondary" (previous) logic no
longer happens, then can remove that altogether..?
2023-06-06 09:39:02 -05:00
Lance Edgar 488126b92c Add customer number filter for People grid 2023-06-05 20:18:57 -05:00
Lance Edgar 4318f03bd6 Add "typical" view config, for e.g. Theo and the like
bring in all normal views for backoffice retail
2023-06-05 20:18:40 -05:00
Lance Edgar 13ac33bb27 Update changelog 2023-06-02 14:19:53 -05:00
Lance Edgar 93b03c9562 Expose mail handler and template paths in email config page 2023-06-02 14:14:33 -05:00
Lance Edgar e1685231c2 Update changelog 2023-06-01 12:17:19 -05:00
Lance Edgar 90cb25446b Fix datasync consumer setting save logic 2023-06-01 11:37:26 -05:00
Lance Edgar fd2b290fd0 Save datasync config with new keys, per RattailConfiguration 2023-06-01 11:12:31 -05:00
Lance Edgar b4816c6289 Share some code for validating vendor field
and add validation for new Ordering batch
2023-05-30 13:25:20 -05:00
Lance Edgar b840ae7513 Update changelog 2023-05-25 12:21:04 -05:00
Lance Edgar 29767dfcfb Define essential views for API 2023-05-19 19:46:18 -05:00
Lance Edgar dd3f91cf0c Tweak byjove project generator form 2023-05-19 19:45:41 -05:00
Lance Edgar ae38e09d1b Avoid error when filter params not valid 2023-05-19 17:43:31 -05:00
Lance Edgar de13e48aa5 Expose basic way to send test email
most of the mechanics of sending email could already be tested by
sending a "preview" email of any type, or e.g. via Feedback.  but it
seemed like the Configure Email Settings page should have a dedicated
way to test sending
2023-05-19 17:16:19 -05:00
Lance Edgar 05bb3849a2 Prevent bug in upgrade diff for empty new version
apparently this is quite the rare case..but can happen
2023-05-18 19:57:05 -05:00
Lance Edgar af405cfd10 Update changelog 2023-05-18 13:51:59 -05:00
Lance Edgar 8d880fc9dd Add workaround for "share grid link" on insecure sites 2023-05-18 13:48:22 -05:00
Lance Edgar c18367739f Add initial swagger.json endpoint for API
probably this needs more, but good enough to test with
2023-05-16 23:34:48 -05:00
Lance Edgar 26a6a4d991 Update changelog 2023-05-16 17:33:55 -05:00
Lance Edgar 93bce57888 Prevent error in old product search logic
when no POD image URL is configured
2023-05-16 17:33:07 -05:00
Lance Edgar d90cab40a6 Update changelog 2023-05-15 08:49:01 -05:00
Lance Edgar c002d3d182 Add basic support for managing, and accepting API tokens
also various other changes in pursuit of that.  so far tokens are only
accepted by web API and not traditional web app
2023-05-15 08:10:42 -05:00
Lance Edgar 85947878c4 Get rid of newstyle flag for Form.validate() method
we always/only use "new style" now
2023-05-15 08:10:42 -05:00
Lance Edgar a991dc0684 Update changelog 2023-05-13 16:57:36 -05:00
Lance Edgar 29817653ed Warn user if DB not up to date, in new table wizard
also start adding 'dirty' page behavior, to warn user if navigating
away that changes will be lost

also improve steps in wizard, so page header is scrolled into view
when prev/next buttons are clicked.  unfortunately it still does not
work right if user clicks the step number on left of screen..
2023-05-12 21:27:15 -05:00
Lance Edgar f5f973dc3a Tweak button wording in "find role by perm" form 2023-05-12 19:21:48 -05:00
Lance Edgar f49b4d1b8b Update changelog 2023-05-10 20:20:30 -05:00
Lance Edgar 82656f263d Move row delete check logic for receiving to batch handler 2023-05-10 18:47:11 -05:00
Lance Edgar f942716bf9 Update changelog 2023-05-09 20:31:43 -05:00
Lance Edgar dcc7819466 Misc. tweaks for "run import job" form 2023-05-09 20:25:05 -05:00
Lance Edgar 8fcef1fb4d Add form config for generating 'shopfoo' projects 2023-05-09 15:30:23 -05:00
Lance Edgar 2f5e01c9e9 Update changelog 2023-05-05 19:10:54 -05:00
Lance Edgar 50d1bbbe4d Add "rattail-adjacent" logic for generating projects 2023-05-05 13:30:32 -05:00
Lance Edgar 62bdf82627 Include project views by default, in "essential" views 2023-05-05 10:39:29 -05:00
Lance Edgar 2ed63b1c1a Massive overhaul of "generate project" feature
previous incarnation was woefully lacking.  new feature is much more
extensible.  still need to remove old POS integration specifics in
some places.

and a couple of unrelated things that snuck in..

- deprecate `rattail.util.OrderedDict`
- deprecate `rattail.util.import_module_path()`
- deprecate `rattail.util.import_reload()`
2023-05-05 00:18:16 -05:00
Lance Edgar 026d98551c Update changelog 2023-05-03 10:55:15 -05:00
Lance Edgar f913ed8332 Expose, honor the prevent_password_change flag for Users 2023-05-02 19:13:28 -05:00
Lance Edgar 4993b349ef Avoid error if tempmon probe has invalid status 2023-04-21 12:04:36 -05:00
Lance Edgar eb31fa9ab7 Update changelog 2023-04-17 16:10:37 -05:00
Lance Edgar 18f8577005 Improve global menu search behavior for multiple terms 2023-03-31 14:02:09 -05:00
Lance Edgar 6ab3898f27 Allow bulk-delete for products grid 2023-03-31 12:55:05 -05:00
Lance Edgar efb8f8f315 Update changelog 2023-03-27 12:53:16 -05:00
Lance Edgar e96f8844e2 Overhaul the "find by perm" feature a bit
use GET instead of POST on form submit, so can more easily share URL
for a particular result

also get rid of WTForms dependency!  sheesh

results table is still not pretty but..feeling lazy
2023-03-25 13:03:47 -05:00
Lance Edgar 45b8d9fb84 Fix table sorting for FK reference column in new table wizard
also add LargeBinary data type option
2023-03-25 11:34:30 -05:00
Lance Edgar 2f8411ba2f Add has_perm() etc. to request during the NewRequest event
still get the occasional server error when handling what should be a
simple 404 request e.g. for /wp-login.php

error indicates there is no `request.has_perm()` at the time, so
hoping this moves it earlier in the life cycle so it *will* exist..
2023-03-25 01:03:49 -05:00
Lance Edgar 714c0a6cfd Avoid accidental auto-submit of new msg form, for subject field 2023-03-23 10:23:19 -05:00
Lance Edgar 9125d7ef74 Update changelog 2023-03-15 09:43:21 -05:00
Lance Edgar 1ce67953df Let providers do DB connection setup for web API 2023-03-15 09:33:20 -05:00
Lance Edgar 9ee46107d2 Update changelog 2023-03-09 14:10:31 -06:00
Lance Edgar 2ebe0401c3 Fix JSON rendering for Cornice API views
also make sure we use Cornice for all API views
2023-03-09 14:07:10 -06:00
Lance Edgar 5aa982c95f Update changelog 2023-03-08 20:39:39 -06:00
Lance Edgar a9c4d37819 Update changelog 2023-03-02 11:05:20 -06:00
Lance Edgar e8f235e4f7 Allow download results for Trainwreck
just basic transaction headers so far..
2023-02-28 15:05:38 -06:00
Lance Edgar ad311e9e7e Add "equal to any of" verb for string-type grid filters 2023-02-28 14:30:25 -06:00
Lance Edgar 01af73502a Update changelog 2023-02-24 20:04:14 -06:00
Lance Edgar a81e121ffd Allow sort/filter by vendor for sample files grid 2023-02-22 22:41:12 -06:00
Lance Edgar cf7e3c2302 Update changelog 2023-02-22 22:00:36 -06:00
Lance Edgar 743a2ccd07 Add views for sample vendor files 2023-02-22 22:00:05 -06:00
Lance Edgar e77650c997 Update changelog 2023-02-21 19:14:19 -06:00
Lance Edgar d1fc5d5c38 Validate vendor for catalog batch upload 2023-02-21 17:35:47 -06:00
Lance Edgar 2fa62acbbd Update changelog 2023-02-20 21:50:44 -06:00
Lance Edgar ad4ec41e15 Make config param more explicit, for GridFilter constructor
i.e. the rattail config object
2023-02-14 17:32:04 -06:00
Lance Edgar 539f4a5c31 Update changelog 2023-02-14 16:07:23 -06:00
Lance Edgar 7b2faf90f2 Add dedicated view config methods for "view" and "edit help"
so they can be invoked explicitly from elsewhere, keeping same logic

cf. Catapult Worksheets
2023-02-13 20:29:59 -06:00
Lance Edgar ac57ddbb16 Update changelog 2023-02-12 10:04:27 -06:00
Lance Edgar b434fa108d More refactoring, Query.get() => Session.get() 2023-02-12 09:34:38 -06:00
Lance Edgar f611a5a521 Refactor Query.get() => Session.get() per SQLAlchemy 1.4 2023-02-11 22:05:45 -06:00
Lance Edgar 81aa0ae109 Update changelog 2023-02-11 11:55:43 -06:00
Lance Edgar 5736faf24c Use sa-filters instead of sqlalchemy-filters for API queries
latter was abandoned it seems; former has support for SQLAlchemy 1.4
and looks to be a drop-in replacement

another option, if needed at some point, though i like the looks of it
less, is https://sqlalchemy-filters-plus.readthedocs.io/

see also:

https://github.com/juliotrigo/sqlalchemy-filters/pull/69
https://github.com/juliotrigo/sqlalchemy-filters/issues/72
2023-02-11 11:53:47 -06:00
Lance Edgar c87c50bfb9 Update changelog 2023-02-11 09:59:45 -06:00
Lance Edgar 10162b378a Remove legacy grid for alt codes in product view
whoops missed this in jquery purge
2023-02-10 21:23:57 -06:00
Lance Edgar de4667cc71 Update changelog 2023-02-10 20:25:02 -06:00
Lance Edgar 8fc3a71e0f Fix multi-file upload widget bug
happened when only one file was being uploaded
2023-02-10 12:40:23 -06:00
Lance Edgar 2d2c94e4d7 Expose setting for POD image URL 2023-02-10 12:21:55 -06:00
Lance Edgar 21669b5f4a Remove legacy vendor sources grid for product view
whoops, missed that when purging jquery theme
2023-02-10 11:39:10 -06:00
Lance Edgar ad5dec3dc6 Use label handler to avoid deprecated logic 2023-02-08 20:19:15 -06:00
Lance Edgar 32fc0415da Fix auto-advance on ENTER for login form
if user hits ENTER while focused on username field, just set focus to
password field but do not submit form.  if user hits ENTER on while
the password field is focused, then submit form

this has long been the behavior but it was broken when removing jquery
2023-02-07 16:13:07 -06:00
Lance Edgar 5f70a524e9 Use latest zope.sqlalchemy package
session / transaction registration modified per upstream changes, but
previous logic kept to support older versions of zope.sqlalchemy - for
now, although probably should require minimum version soon?
2023-02-07 12:20:22 -06:00
Lance Edgar f17ff59ba6 Update changelog 2023-02-03 19:52:26 -06:00
Lance Edgar 15fb7f45b8 Fix auto-focus username for login form 2023-02-03 19:51:50 -06:00
Lance Edgar f71eadd409 Update changelog 2023-02-03 18:07:50 -06:00
Lance Edgar 49122d940d Stop including deform JS static files
although maybe we *should* be using that method, for some things?  can
revisit later if desired
2023-02-03 18:06:40 -06:00
Lance Edgar eb1351d108 Update changelog 2023-02-03 17:39:28 -06:00
Lance Edgar b67df1328b Remove liburl logic, config for jquery 2023-02-03 17:32:39 -06:00
Lance Edgar 976a5836a9 Purge even more jquery stuff
and related static files etc. from old themes

this might be the end of it..??
2023-02-03 17:08:33 -06:00
Lance Edgar 2ebae17839 Refactor the Ordering Worksheet generator, per Buefy 2023-02-03 16:10:08 -06:00
Lance Edgar eddbfcab36 Allow editing the Department field for a Subdepartment 2023-02-03 16:10:08 -06:00
Lance Edgar 320aaab4b3 Replace 'default' theme to match 'falafel'
falafel is now an empty wrapper around default

hell yeah
2023-02-03 16:10:08 -06:00
Lance Edgar f0880785a9 Add new Buefy-specific upgrade template
since that was broken..
2023-02-03 16:10:08 -06:00
Lance Edgar 9faaea881d Remove all deprecated use_buefy logic
also remove some static files no longer used, etc.
2023-02-03 16:10:04 -06:00
Lance Edgar 94a0a57cfe Update changelog 2023-02-02 22:45:58 -06:00
Lance Edgar 265c7ad76f Always assume use_buefy=True within main page template
so can start removing from context for various views
2023-02-02 21:18:00 -06:00
Lance Edgar 36a902398a Update changelog 2023-02-02 20:24:19 -06:00
Lance Edgar 506de0383f Form constructor assumes use_buefy=True by default
until we get rid of it altogether
2023-02-02 20:21:19 -06:00
Lance Edgar 9b67010f2c Fix checkbox behavior for Inventory Worksheet 2023-02-02 19:26:47 -06:00
Lance Edgar f7f8f8dabf Update changelog 2023-02-02 16:51:12 -06:00
Lance Edgar 01182ef752 Add progress bar page for Buefy theme 2023-02-01 23:09:33 -06:00
Lance Edgar 8410419717 Remove support for Buefy 0.8
only Buefy 0.9 and greater are supported now
2023-02-01 18:44:55 -06:00
Lance Edgar 5f7fa33eb2 Update changelog 2023-01-30 21:06:08 -06:00
Lance Edgar a1d88a5e6b Refactor the Inventory Worksheet generator, per Buefy 2023-01-30 11:56:09 -06:00
Lance Edgar a3723e4879 Tweak the Ordering Worksheet generator, per Buefy 2023-01-30 11:46:07 -06:00
Lance Edgar b7f3a67cd0 Add basic API support for printing product labels 2023-01-29 18:46:49 -06:00
Lance Edgar c880065da8 Tweak customer panel header style for new custorder 2023-01-29 13:02:39 -06:00
Lance Edgar 86af4baef5 Fix icon for multi-file upload widget 2023-01-29 12:45:14 -06:00
Lance Edgar 8cdfe4a22c Update changelog 2023-01-28 16:22:54 -06:00
Lance Edgar d6f05684be Tweak styles for Quantity panel when viewing Receiving row
when no buttons were visible in panel, right-hand side looked "cut off"
2023-01-28 16:12:03 -06:00
Lance Edgar 17251b2c88 Tweak import handler form, some fields not required
those particular fields are for read-only display, not meant for user
to provide values.  so must provide defaults, else form missing those
will not validate.
2023-01-28 15:54:53 -06:00
Lance Edgar 64acfbcb4e Update changelog 2023-01-26 13:36:14 -06:00
Lance Edgar 55a3f9669b Fix click event for right-aligned buttons on profile view
for some reason when `is-pulled-right` was used, buttons were not
clickable?!  never did figure out precisely why, but this fixes
anyway.  was not an issue w/ buefy 0.8 fwiw, but using 0.9 now
2023-01-26 13:34:13 -06:00
Lance Edgar 884f136e99 Update changelog 2023-01-18 22:04:35 -06:00
Lance Edgar dc6bd4d4a7 Rename frontend request handler logic to SimpleRequestMixin 2023-01-18 21:56:29 -06:00
Lance Edgar 1e5b7e7ee7 Add a couple more menu items to default set 2023-01-18 21:54:24 -06:00
Lance Edgar c874d97507 Add default view config for Trainwreck 2023-01-18 20:11:46 -06:00
Lance Edgar 3f61c9ee18 Add some more menu items to default set 2023-01-18 19:21:34 -06:00
Lance Edgar eece358e20 Update changelog 2023-01-18 18:58:32 -06:00
Lance Edgar 2b1fd9e986 Add way to override particular 'essential' views 2023-01-18 18:41:23 -06:00
Lance Edgar 79e4e596e8 Include permission views by default 2023-01-18 17:58:04 -06:00
Lance Edgar 23dea7bced Add more views, menus to default set 2023-01-18 16:55:30 -06:00
Lance Edgar e4c2336659 Add specific data type options for new table entry form
including basic FK / relationship support
2023-01-17 00:00:06 -06:00
Lance Edgar 98fa6eea05 Misc. tweaks for App Details / Configure Menus 2023-01-16 21:55:52 -06:00
Lance Edgar 9b21d52206 Update changelog 2023-01-16 18:44:54 -06:00
Lance Edgar 00548a259b Add basic "new model view" wizard 2023-01-16 13:50:27 -06:00
Lance Edgar f4bc280da7 Wrap up steps for new table wizard
it actually works.. :)  needs more polish, but will let usage drive that
2023-01-15 22:52:01 -06:00
Lance Edgar 68ed5942e6 Add basic "Review Model" step for new table wizard 2023-01-14 23:23:21 -06:00
Lance Edgar 9d2bcff96b Add full set of default menus
plus dynamic set of integration menus, from providers
2023-01-14 18:48:56 -06:00
Lance Edgar 39d53617bd Add new handlers, TailboneHandler and MenuHandler 2023-01-14 16:01:26 -06:00
Lance Edgar cfdaa1e927 Add default logic to get merge data for object 2023-01-14 12:17:05 -06:00
Lance Edgar aef679c030 Fix bug when adding new profile via datasync configure 2023-01-14 11:51:22 -06:00
Lance Edgar dec0ebba30 Let the API "rawbytes" response be just that, w/ no file 2023-01-14 10:31:31 -06:00
Lance Edgar e82e27acd7 Update changelog 2023-01-14 08:40:08 -06:00
Lance Edgar 23358d9c5d Tweak how backfill task is launched
per upstream changes
2023-01-14 02:20:21 -06:00
Lance Edgar 80989cc84f Update changelog 2023-01-13 20:53:26 -06:00
Lance Edgar d8bd4bd847 Prevent listing for top-level Messages view
user must access inbox, archive etc. directly instead
2023-01-13 20:28:00 -06:00
Lance Edgar f18f24962e Refactor tempmon dashboard view, for buefy themes 2023-01-13 20:18:42 -06:00
Lance Edgar 0753e956f9 Revert logic that assumes all themes use buefy
that just isn't a safe assumption yet..alas
2023-01-13 18:10:28 -06:00
Lance Edgar 83f9a3faa7 Fix "toggle batch complete" for Chrome browser 2023-01-13 16:49:16 -06:00
Lance Edgar cac005f993 Semi-finish logic for writing new table model class to file
definitely needs more polish and features, but the gist..
2023-01-13 03:51:12 -06:00
Lance Edgar fb7368993c Show basic column info as row grid when viewing Table 2023-01-12 22:56:12 -06:00
Lance Edgar 38f88407ff Update changelog 2023-01-12 15:33:56 -06:00
Lance Edgar d842a3d8e0 Add new views for App Info, and Configure App
and a way to specify version/url overrides for buefy, vue etc.

also, begin logic for "standard" admin menu
2023-01-12 15:30:10 -06:00
Lance Edgar 2163522e7c Update changelog 2023-01-11 23:31:09 -06:00
Lance Edgar 225e13f43b Allow all external dependency URLs to be set in config
so can host all files locally if needed.

we also now assume all themes support buefy unless otherwise
configured
2023-01-11 23:29:28 -06:00
Lance Edgar fa1cf353b8 Update changelog 2023-01-11 19:55:52 -06:00
Lance Edgar 4746b6fae9 Refactor inventory batch "add row" page, per new theme 2023-01-11 19:31:14 -06:00
Lance Edgar 2c7f2c0fcd Fix panel header icon behavior for new custorder
had to work around a buefy bug..?
2023-01-11 16:41:11 -06:00
Lance Edgar b8389c72bb Add support for per-item default discount, for new custorder 2023-01-11 16:41:07 -06:00
Lance Edgar dfa4178204 Add basic support for receiving from multiple invoice files 2023-01-10 16:46:21 -06:00
Lance Edgar 2b7ebedb22 Update changelog 2023-01-08 11:36:42 -06:00
Lance Edgar 33ffd7e855 Improve "download rows as XLSX" for importer batch
still could be better, but at least this avoids error
2023-01-07 22:46:35 -06:00
Lance Edgar b11f9f62b7 Update changelog 2023-01-07 11:53:10 -06:00
Lance Edgar c6765fd9a9 Expose, start to honor "units only" setting for products 2023-01-07 11:52:37 -06:00
Lance Edgar 8c201dced7 Update changelog 2023-01-05 13:43:38 -06:00
Lance Edgar 71851e1a05 Use product handler to normalize data for products API
at least, as much as possible
2023-01-04 21:23:57 -06:00
Lance Edgar db62bd20b3 Show help link when generating or viewing report, if applicable 2023-01-04 16:39:37 -06:00
Lance Edgar 31b213610f Fix template bug for generating report 2023-01-04 15:31:51 -06:00
Lance Edgar d0881cbd09 Keep aspect ratio for product images in new custorder 2023-01-04 12:38:04 -06:00
Lance Edgar 7e4bd851f1 Update changelog 2023-01-04 10:57:14 -06:00
Lance Edgar ab80aedb63 Allow xref buttons to have "internal" links
still assume external (open in new tab) by default
2023-01-04 00:09:35 -06:00
Lance Edgar c7537e7994 Update changelog 2023-01-02 16:55:39 -06:00
Lance Edgar 9f763b46eb Expose some settings for Trainwreck DB rotation 2023-01-02 13:12:01 -06:00
Lance Edgar d21826c70d Make invalid email more obvious, in profile view 2023-01-02 11:11:01 -06:00
Lance Edgar a061e362c3 Add beginnings of "New Table" feature
nowhere near complete yet, but skeleton is more or less in place
2023-01-02 09:44:05 -06:00
Lance Edgar 7e852c1836 Allow buefy version to be 'latest' 2023-01-01 13:17:55 -06:00
Lance Edgar a01982ae55 Show only "core" app settings by default 2022-12-31 17:57:22 -06:00
Lance Edgar 884f960d3b Update changelog 2022-12-28 16:12:33 -06:00
Lance Edgar 0c6bfcbee6 Use minified version of vue.js by default, in falafel theme 2022-12-28 14:40:50 -06:00
Lance Edgar 03639d73fa Show global search as button instead of link 2022-12-27 22:51:42 -06:00
Lance Edgar cfc92ac9e7 Hide the "configure field help" icons until user requests access
user can technically "request access" on "any page" and not just those
with configurable fields..but who cares for now i think..
2022-12-27 22:30:25 -06:00
Lance Edgar dc90abcf09 Add "global searchbox" for quicker access to main views 2022-12-26 17:31:37 -06:00
Lance Edgar b985124bef Fix product image view for python3 2022-12-26 10:33:12 -06:00
Lance Edgar b653351f71 Avoid error when no form present 2022-12-25 23:05:53 -06:00
Lance Edgar 0a0b471a03 Add support for websockets over HTTP
in addition to HTTPS
2022-12-25 15:37:54 -06:00
Lance Edgar c389ebabd0 Show *correct* system title when upgrading
may not be the same as primary app title
2022-12-25 15:13:59 -06:00
Lance Edgar 8264a69cec Add "direct link" support for master grids 2022-12-25 14:42:29 -06:00
Lance Edgar cd466a64e5 Filter by person instead of user, for Generated Reports "Created by" 2022-12-25 12:45:23 -06:00
Lance Edgar b04c1054fc Override document title when upgrading
when using websockets, to mimic old behavior without them
2022-12-25 12:25:55 -06:00
Lance Edgar 3befdc09e3 Add basic support for editing field help info 2022-12-24 21:46:02 -06:00
Lance Edgar 9fe9983bf9 Add basic support for editing page help info
site admin should be able to point help wherever they want
2022-12-24 16:08:09 -06:00
Lance Edgar ed54092268 Add cleanup logic for old Beaker session data
pretty basic, but good enough for now
2022-12-23 23:30:45 -06:00
Lance Edgar 50dafc91d4 Preserve current tab for page reload in profile view
also makes sharing links better etc.
2022-12-23 20:58:27 -06:00
Lance Edgar d409e1d088 Make static files optional, for new tailbone-integration project 2022-12-23 20:18:49 -06:00
Lance Edgar 64c8768314 Fix checkbox values when re-running a report 2022-12-23 19:43:31 -06:00
Lance Edgar c5bd40793b Fix HUD display when toggling employee status in profile view 2022-12-23 19:06:05 -06:00
Lance Edgar 8a6fdb5ea5 Warn user when luigi is not installed, for relevant view
better than getting a server error
2022-12-23 18:55:53 -06:00
Lance Edgar 6fbc79fe5e Add support for Buefy 0.9.x
or: add hacks to continue supporting Buefy 0.8.x

..depending on your perspective
2022-12-22 20:49:20 -06:00
Lance Edgar 7ccd9ad896 Update changelog 2022-12-21 20:01:31 -06:00
Lance Edgar ef9dc9ff6d Expose the terms field for Vendor CRUD 2022-12-21 18:05:38 -06:00
Lance Edgar ed0a1f2740 Add make_status_renderer() to MasterView
batches aren't the only table/view where a status code/text combo may
be in use
2022-12-20 19:15:31 -06:00
Lance Edgar 871ea84f96 Add support for "is row checkable" in grids
i.e. when grid has checkboxes, some rows maybe shouldn't get one
2022-12-20 19:14:54 -06:00
Lance Edgar e427e50d67 Update changelog 2022-12-15 13:32:27 -06:00
Lance Edgar 99a5615e91 Add configure_execute_form() hook for batch views
also enable bulk-delete of row results by default for batch views
2022-12-15 09:12:26 -06:00
Lance Edgar c8201de2ff Update changelog 2022-12-10 12:41:41 -06:00
Lance Edgar 3c54960612 Fix error if no view supplements defined 2022-12-10 12:41:10 -06:00
Lance Edgar 5045df0b57 Update changelog 2022-12-10 11:35:02 -06:00
Lance Edgar f388f84b07 Suppress error if menu entry has bad route name 2022-12-10 10:09:39 -06:00
Lance Edgar f8f6b76657 Add xref buttons for Customer, Member tabs in profile view 2022-12-10 09:48:22 -06:00
Lance Edgar cb6c25f829 Let view supps give data instead of actual xref button 2022-12-10 09:48:22 -06:00
Lance Edgar 05a3e3f805 Add common logic to determine panel fields for product view
so we don't have to override templates, but just the view logic

more needed, but this proves the concept
2022-12-10 09:48:22 -06:00
Lance Edgar 273fa7eb55 Add common logic for xref buttons, links when viewing object
about dang time for this..probaby needs improvement but a good start
2022-12-10 09:48:22 -06:00
Lance Edgar 2278082a4d Cleanup employees view per new supplements
also add permission for "view employee secrets" (where applicable)
2022-12-10 09:48:22 -06:00
Lance Edgar d5d9c644a2 Add the ViewSupplement concept
also fix cell-class for grid columns.  cannot use "raw" fieldname
because in some cases (e.g. 'number', 'rate') Bulma may interpret that
as actually meaning something, and affect the display
2022-12-10 09:46:54 -06:00
Lance Edgar 1a51f3d854 Fix ordering worksheet API for date objects 2022-12-08 14:54:36 -06:00
Lance Edgar f80d3cd530 Show simple error string, when subprocess batch actions fail
logs still have more info, can't show user the whole traceback..but
this is better than we had before..
2022-12-08 14:15:38 -06:00
Lance Edgar cea06c9673 Update changelog 2022-12-07 14:20:04 -06:00
Lance Edgar 22176e89dd Add support for Beaker >= 1.12.0
but still support previous versions too, for now
2022-12-07 14:00:32 -06:00
Lance Edgar c1b2b7e177 Update changelog 2022-12-06 19:32:10 -06:00
Lance Edgar 6ac07e1255 Fix bug when viewing certain receiving batches 2022-12-06 19:31:22 -06:00
Lance Edgar 1509b6fce5 Update changelog 2022-12-06 10:33:57 -06:00
Lance Edgar ebe2013849 Add helptext for "Admin-ish" field when editing Role 2022-12-06 10:30:30 -06:00
Lance Edgar cceb66e500 Add support for editing invoice cost in receiving batch, per new theme 2022-12-05 16:25:55 -06:00
Lance Edgar 36a5f2ab49 Show invoice cost in receiving batch, if "from scratch" 2022-12-05 16:05:27 -06:00
Lance Edgar 9c54a4ada1 Add receiving workflow as param when making receiving batch 2022-12-05 15:26:43 -06:00
Lance Edgar 2e3823364c Add support for editing catalog cost in receiving batch, per new theme
had to add several "under the hood" features to make this work, to
embed a Vue component within grid `<td>` cells, etc.
2022-12-05 14:03:03 -06:00
Lance Edgar ec71f532a1 Include email address for current API user info 2022-12-04 09:39:08 -06:00
Lance Edgar 4030904d40 Add simple template hook for "before object helpers"
not sure how useful, but needed in one place, and hook makes for
cleaner template inheritance
2022-12-02 12:16:51 -06:00
Lance Edgar 9f62c280de Update changelog 2022-12-01 13:14:17 -06:00
Lance Edgar 94fa0380ba Avoid web config when launching overnight task 2022-12-01 09:37:30 -06:00
Lance Edgar b3bdee60bb Add way to quickly re-run "any" report 2022-11-28 17:55:08 -06:00
Lance Edgar 434633924a Update changelog 2022-11-28 10:54:37 -06:00
Lance Edgar 88aeaf31c2 Show "next date" when launching overnight task
just to make things a bit more clear
2022-11-27 14:55:49 -06:00