Commit graph

1718 commits

Author SHA1 Message Date
Lance Edgar 2d2c94e4d7 Expose setting for POD image URL 2023-02-10 12:21:55 -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 15fb7f45b8 Fix auto-focus username for login form 2023-02-03 19:51:50 -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 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 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 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 c874d97507 Add default view config for Trainwreck 2023-01-18 20:11:46 -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 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 cfdaa1e927 Add default logic to get merge data for object 2023-01-14 12:17:05 -06:00
Lance Edgar 23358d9c5d Tweak how backfill task is launched
per upstream changes
2023-01-14 02:20:21 -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 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 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 4746b6fae9 Refactor inventory batch "add row" page, per new theme 2023-01-11 19:31:14 -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 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 c6765fd9a9 Expose, start to honor "units only" setting for products 2023-01-07 11:52:37 -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 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 9f763b46eb Expose some settings for Trainwreck DB rotation 2023-01-02 13:12: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 a01982ae55 Show only "core" app settings by default 2022-12-31 17:57:22 -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 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 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 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 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 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 3c54960612 Fix error if no view supplements defined 2022-12-10 12:41:10 -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 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 6ac07e1255 Fix bug when viewing certain receiving batches 2022-12-06 19:31:22 -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 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 604420c7d4 Auto-format phone number when saving for contact records 2022-11-23 12:27:09 -06:00
Lance Edgar b64f6c7884 Use newer config strategy for all views
to make inheritance easier
2022-11-23 12:20:58 -06:00
Lance Edgar 4741ee0a7b Let the Luigi handler take care of removing some DB settings
so that command line can also remove them via same logic
2022-11-21 14:01:22 -06:00
Lance Edgar 194f49c561 Add luigi module/class awareness for overnight tasks 2022-11-20 19:37:29 -06:00
Lance Edgar 7f0305fb7a Fix how keys are stored for luigi overnight/backfill tasks 2022-11-20 13:58:39 -06:00
Lance Edgar e4392cd00a Allow disabling, or per-day scheduling, of problem reports 2022-11-19 17:44:09 -06:00
Lance Edgar 3c740549e2 Turn on download results feature for Employees 2022-11-18 11:20:29 -06:00
Lance Edgar fec259629e Let the auth handler manage user merge 2022-11-15 13:37:37 -06:00
Lance Edgar be533922a2 Show UPC for receiving line item if no product reference
to help with troubleshooting invoice file parsing etc.
2022-11-03 11:28:38 -05:00
Lance Edgar 38e6441b61 Log a warning to troubleshoot luigi restart failure 2022-10-31 21:41:01 -05:00
Lance Edgar c2b2d11141 Use shared logic for rendering percentage values 2022-10-29 13:40:35 -05:00
Lance Edgar 22c33b58c7 Fix start_date param for pricing batch upload 2022-10-19 16:26:05 -05:00
Lance Edgar 9b101963e5 Use people handler to update address 2022-10-18 10:55:47 -05:00
Lance Edgar f7a019ed83 Make past item lookup optional for custorders 2022-09-06 16:44:26 -05:00
Lance Edgar 2950827c63 Add basic per-item discount support for custorders 2022-09-06 16:31:59 -05:00
Lance Edgar c43a4edec7 Move logic for "bulk-delete row objects" into MasterView
i guess so far it has only been needed for batch, but some day surely
it will be needed for something else..?

some of the template logic is still batch only i think..
2022-08-31 20:55:03 -05:00
Lance Edgar 12e4b0a139 Expose more attrs for new product batch rows 2022-08-30 13:57:18 -05:00
Lance Edgar 731c2168b0 Improve parsing of purchase order quantities 2022-08-30 11:28:48 -05:00
Lance Edgar bb4e98af8d Add uom fields, configurable template for newproduct batch 2022-08-30 10:58:13 -05:00
Lance Edgar f005ef4d52 Add max lengths when editing person name via profile view 2022-08-25 22:15:56 -05:00
Lance Edgar 6a0a4627b4 Avoid error when no datasync profiles configured
at least, according to the web app none are configured..but they may
be in another config file
2022-08-24 20:06:38 -05:00
Lance Edgar 78500770d9 Add basic support for backfill Luigi tasks
idea being, sometimes you must import many days worth of data into
Trainwreck or what-not, and it must be split up b/c e.g. it would take
too long to import all at once (i.e. might interfere with overnight
tasks)
2022-08-23 23:27:47 -05:00
Lance Edgar 488696cb39 Fix index title for datasync configure page 2022-08-22 01:07:58 -05:00
Lance Edgar e50356d276 Expose, honor "admin-ish" flag for roles
prevent user (un)assignment etc. unless admin is doing it
2022-08-21 19:36:48 -05:00
Lance Edgar 7b2fef5f09 Allow configuring datasync watcher kwargs 2022-08-21 15:22:29 -05:00
Lance Edgar bdbbe990dd Add global context from handler, for email previews 2022-08-20 23:07:19 -05:00
Lance Edgar 2ca93a07e9 Make separate tasks for collect vs. transmit of upgrade progress data 2022-08-20 22:40:16 -05:00
Lance Edgar 0a113611e8 Let just one "task" handle collect/transmit of progress for websocket
first client to connect, will cause task to start; subsequent clients
are just added to running set, for broadcast messaging
2022-08-20 21:19:20 -05:00
Lance Edgar e93063a344 Refactor upgrade websocket progress, so "anyone" can join in to see
now while an upgrade is executing, anyone with permission can "view"
the upgrade and see the same progress the executor is seeing
2022-08-20 18:56:35 -05:00