Commit graph

2563 commits

Author SHA1 Message Date
Lance Edgar 5f8dc20312 Raise 404 not found instead of error, when user is not employee
i.e. when they try to view "employee schedule" or "time sheet"
2020-02-25 15:35:39 -06:00
Lance Edgar 2b70ed1407 Fix "edit row" logic for ordering batch
previous logic allowed `colander.null` to be passed to batch handler, which
caused an error.  also it allowed editing "all" fields for the row, which we
really don't need to do, so now we just support the order quantities
2020-02-24 13:38:58 -06:00
Lance Edgar fc830f60e8 Tweak worksheet_update() of ordering batch view, to leverage handler
specifically this is to make use of handler's `update_row_quantity()` method,
when user enters new order quantities via worksheet
2020-02-24 12:36:47 -06:00
Lance Edgar c3f4a3d9ea Tweak save_edit_row_form() of purchase batch view, to leverage handler
specifically this is to make use of handler's `update_row_quantity()` method,
when editing a row for ordering batches
2020-02-24 12:27:26 -06:00
Lance Edgar 6c5cc95e51 Overhaul the /ordering batch API somewhat; update docs
mostly a savepoint; the /ordering API still needs some work for sure
2020-02-23 21:07:50 -06:00
Lance Edgar 877e6088e2 Update changelog 2020-02-21 14:30:08 -06:00
Lance Edgar c96ab426a4 Return new user permissions when logging in via API 2020-02-21 12:36:11 -06:00
Lance Edgar 5e028ce547 Add API view for changing current user password 2020-02-12 17:32:18 -06:00
Lance Edgar da16f25cf2 Update changelog 2020-02-12 14:49:32 -06:00
Lance Edgar c9cf59762a Return package names as list, from "about" page from API
so client knows in what order to display package versions
2020-02-12 14:47:48 -06:00
Lance Edgar c95008703c Add common get_user_info() method for all API views 2020-02-11 13:31:02 -06:00
Lance Edgar a6f80e07e0 Add way to prevent user login via API, per custom logic 2020-02-10 15:43:10 -06:00
Lance Edgar 5faced8d22 Tweak how default config is defined for auth API views
so it may be more easily extended
2020-02-10 14:13:50 -06:00
Lance Edgar 4a35620820 Allow override of "email key" for user feedback, sent via API 2020-02-10 12:35:30 -06:00
Lance Edgar 76839c48cf Fix email preview for TXT templates on python3 2020-02-09 15:32:22 -06:00
Lance Edgar 6925c460c5 Add some custom display logic for "current price" in pricing batch 2020-02-07 18:12:44 -06:00
Lance Edgar 6a8f64a9e8 Use new Email.obtain_sample_data() method when generating preview
per upstream changes
2020-02-07 16:21:51 -06:00
Lance Edgar f1dc773bfd Update changelog 2020-02-03 18:46:19 -06:00
Lance Edgar d00449465f Go ahead and expose theme picker by default
might as well let everyone see that out of the gate..right?
2020-01-29 22:20:53 -06:00
Lance Edgar 77f26f01d4 Make sure falafel theme is somewhat available by default 2020-01-29 22:01:44 -06:00
Lance Edgar b633c91b66 Add red highlight for SRP breach, for generic product batch 2020-01-28 17:24:10 -06:00
Lance Edgar 132b2b9ec7 Fix vendor ID/name for Excel download of pricing batch rows 2020-01-28 16:33:23 -06:00
Lance Edgar b875540397 Update changelog 2020-01-28 15:11:31 -06:00
Lance Edgar 201f7cc21e Add warning for "price breaches SRP" rows in pricing batch 2020-01-28 11:59:40 -06:00
Lance Edgar 6e7ee99b47 Sort report options by name, when choosing which to generate 2020-01-28 06:47:59 -06:00
Lance Edgar 99f1e000bf Stop including deprecated views
probably this only affected the "tests"
2020-01-27 16:13:28 -06:00
Lance Edgar 35875b7826 Tweak how we import pip internal things, for upgrade view
ugh, just kicking the can down the road here
2020-01-27 12:57:40 -06:00
Lance Edgar e9533727db Allow populate of new pricing batch from products w/ "SRP breach" 2020-01-23 10:48:21 -06:00
Lance Edgar 842882e766 Include regular price changes, for current price history dialog 2020-01-21 11:41:37 -06:00
Lance Edgar 09e18b064d Update changelog 2020-01-20 12:28:49 -06:00
Lance Edgar 0e4b33be96 Add "cost history" dialog for product view
older jquery theme only, for now
2020-01-16 11:56:45 -06:00
Lance Edgar 91c1c1c5c8 Add "current price history" dialog for product view
hopefully this does everything it needs to...guess we'll see
2020-01-16 11:31:49 -06:00
Lance Edgar 09a383f89c Fix SRP warning logic!
dang, had it reversed for some testing and then forgot to switch back
2020-01-15 19:26:28 -06:00
Lance Edgar 133ca622a0 Expose batch ID, sequence for datasync change queue 2020-01-15 19:03:16 -06:00
Lance Edgar 0fbe3380cd Highlight SRP in red, if reg price is greater (in product view) 2020-01-14 16:49:56 -06:00
Lance Edgar 8f07f27a61 Highlight SRP in red, if reg price is greater (in products grid)
seems like a good enough idea generally...
2020-01-14 16:35:30 -06:00
Lance Edgar bbd462c85a Cleanup "diff" table for importer batch row view, per Buefy theme 2020-01-14 12:15:02 -06:00
Lance Edgar 234fd8b2e1 Add support for Row Status Breakdown, for Import/Export batches 2020-01-14 11:54:00 -06:00
Lance Edgar 02649709aa Add regular price history dialog for product view 2020-01-08 08:04:48 -06:00
Lance Edgar 910e82a795 Hide the SRP history link for new buefy themes
until support for that is added...
2020-01-07 06:44:27 -06:00
Lance Edgar 3fc8254219 Update changelog 2020-01-06 08:03:29 -06:00
Lance Edgar 4c5b01f287 Move "delete results" logic for master grid
should be easier to customize this way..?  previous way seemed to be broken
2020-01-06 07:46:10 -06:00
Lance Edgar 03c8d3409a Update changelog 2020-01-02 12:39:32 -06:00
Lance Edgar 7dce154cc3 Add dialog for viewing product SRP history
only old jquery theme is supported, for now
2020-01-02 06:55:02 -06:00
Lance Edgar 8947a4d14f Add Grid.set_filters_sequence() convenience method
sometimes a properly-ordered filter sequence can really help
2020-01-01 12:05:08 -06:00
Lance Edgar 3895734c32 Update changelog 2019-12-04 16:53:39 -06:00
Lance Edgar a96c5712ab Use currency formatting for costs in vendor catalog batch
and related tweaks
2019-12-04 16:51:55 -06:00
Lance Edgar 7b5ac7eba4 Update changelog 2019-12-02 08:40:45 -06:00
Lance Edgar 6c029382d9 Add API views for admin user to become / stop being "root" 2019-11-26 16:42:27 -06:00
Lance Edgar 31ae68f96e Allow override of user authentication logic for API 2019-11-26 15:28:03 -06:00