Commit graph

3779 commits

Author SHA1 Message Date
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 0d9a502801 Fix test for config object 2023-05-25 14:55:41 -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 5f6b389556 Replace setup.py contents with setup.cfg 2023-05-16 15:02:39 -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 2863ff7a5c Remove references to deprecated extra in tox.ini 2023-04-27 09:22:48 -05:00
Lance Edgar 4993b349ef Avoid error if tempmon probe has invalid status 2023-04-21 12:04:36 -05:00