Commit graph

3596 commits

Author SHA1 Message Date
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
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 e19adf8907 Remove version workaround for sphinx
no longer needed
2023-03-09 15:26:34 -06: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 46c7ef42de Remove version cap for cornice, now that we require python3 2023-03-08 20:38:16 -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 f1496c771e Stop running tests for python 3.5; do run for 3.6, 3.9 2023-02-12 09:29:30 -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