Lance Edgar
93b03c9562
Expose mail handler and template paths in email config page
2023-06-02 14:14:33 -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
dd3f91cf0c
Tweak byjove project generator form
2023-05-19 19:45:41 -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
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
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
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
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
82656f263d
Move row delete check logic for receiving to batch handler
2023-05-10 18:47:11 -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
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
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
6ab3898f27
Allow bulk-delete for products grid
2023-03-31 12:55:05 -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
714c0a6cfd
Avoid accidental auto-submit of new msg form, for subject field
2023-03-23 10:23:19 -05: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
a81e121ffd
Allow sort/filter by vendor for sample files grid
2023-02-22 22:41:12 -06:00
Lance Edgar
743a2ccd07
Add views for sample vendor files
2023-02-22 22:00:05 -06:00
Lance Edgar
d1fc5d5c38
Validate vendor for catalog batch upload
2023-02-21 17:35:47 -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
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
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