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
604420c7d4
Auto-format phone number when saving for contact records
2022-11-23 12:27:09 -06: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
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
Lance Edgar
18cec49a86
Add websockets progress, "multi-system" support for upgrades
...
and related things to better support that
2022-08-20 17:39:33 -05:00
Lance Edgar
8470126918
Add render_person_profile()
method to MasterView
2022-08-18 19:22:04 -05:00
Lance Edgar
d23e5d169a
Add basic views for Luigi / overnight tasks
2022-08-18 15:11:09 -05:00
Lance Edgar
409a49ba20
Standardize merge logic when a handler is defined for it
...
also adds basic merge support for products view
2022-08-12 14:27:26 -05:00
Lance Edgar
fe4c3d4942
Make sure "configure" pages use AppHandler to save/delete settings
...
so that beaker config cache is invalidated, if in use
2022-08-07 18:23:15 -05:00
Lance Edgar
8776cd19dd
Clean up URL routes for row CRUD
2022-08-05 12:09:32 -05:00
Lance Edgar
862198cf82
Improve "touch" logic for employees
...
also use app handler for default touch logic
2022-08-03 11:13:43 -05:00
Lance Edgar
17810d9cae
Misc. improvements for desktop receiving views
...
- don't expose "cases" if config says not to
- don't expose "expired" if config says not to
- use `numeric-input` for quantity fields
- add `product_key_field` to global-ish template context
2022-07-26 16:30:04 -05:00
Lance Edgar
e656f769b1
Allow optional row grid title for master view
2022-07-23 22:18:17 -05:00
Lance Edgar
10628eeb91
Add template_kwargs_clone()
stub for master view
2022-07-20 11:01:22 -05:00
Lance Edgar
cb6499522e
Let default grid page size correspond to first option
2022-06-14 11:25:29 -05:00
Lance Edgar
e3b1be5835
Expose config for identifying supported vendors
...
unfortunately must identify vendors at each app node separately, but
this is definitely still an improvement..
2022-05-15 16:04:22 -05:00
Lance Edgar
a49aa77ec0
Tweak how family data is displayed
2022-05-03 13:36:14 -05:00
Lance Edgar
80b9593651
Add template kwargs stub for view_row()
2022-03-29 17:30:37 -05:00
Lance Edgar
da910b1414
Add default help link for Receiving feature
...
also stop showing "buyer" filter by default
2022-03-11 20:55:01 -06:00
Lance Edgar
511e185f33
Link to email settings profile when viewing email attempt
2022-03-07 10:53:12 -06:00
Lance Edgar
66a15fb9a1
Add initial/basic support for configuring "included views"
...
also stub for managing "poser views"
2022-03-05 09:26:25 -06:00
Lance Edgar
72177aef0a
Add basic support for Poser reports, list/create
2022-03-02 17:21:38 -06:00
Lance Edgar
59a9d2cf86
Pass query along for download results, so subclass can modify
2022-03-01 12:17:06 -06:00
Lance Edgar
74fecf553e
Add page/way to configure main menus
...
just the basics so far, index page routes and separators should be
supported but nothing else. also "menus from config" is all or
nothing, no way to mix config + code at this point
2022-02-26 17:22:54 -06:00
Lance Edgar
57e22c9ff5
Only show DB picker for permissioned users
2022-02-18 15:39:12 -06:00
Lance Edgar
962d31c4c2
Add initial support for editing user preferences
...
by default this exposes just one setting which has only one possible
value, so not very useful. but can override as needed
2022-02-14 20:30:15 -06:00
Lance Edgar
85ef73dcb9
Tell browser not to cache certain pages, by default
...
main grid/index pages, and any view page which contains a row grid
2022-02-11 16:55:25 -06:00
Lance Edgar
9584fb57b0
Only prevent cache for index pages if so configured
...
there is a performance hit for this, depending on your perspective, so
let's make it opt-in only for now
2022-02-10 20:31:03 -06:00
Lance Edgar
cabe422508
Add progress support when deleting a batch
...
b/c we must delete all rows individually, and some batches can be
several thousand rows each
2022-01-09 19:25:18 -06:00
Lance Edgar
0545099a2b
Add buefy support for quick-printing product labels; also speed bump
2022-01-09 15:20:35 -06:00
Lance Edgar
6af5157b4e
Update some method calls to avoid deprecation warnings
2022-01-08 19:48:14 -06:00
Lance Edgar
3aac855fa1
Add basic configure page for Trainwreck
...
also the beginnings of a "yearly rollover" page which hopefully will
prove useful for helping to automate that, once i figure out how best
to go about it...
2022-01-01 19:12:46 -06:00
Lance Edgar
82dfce6f81
Add basic "resolve" support for person, product from new custorder
2021-12-23 20:24:43 -06:00
Lance Edgar
c0db03bc28
Add basic "pending product" support for new custorder batch
2021-12-22 16:34:17 -06:00
Lance Edgar
30f95e2f08
Add common configuration logic for "input file templates"
...
just used in one batch so far but should be useful for many more..once
can get around to migrating them
had to rework the configuration logic to use HTML form instead of
JSON, to allow for the file uploads
2021-12-17 20:25:17 -06:00
Lance Edgar
ca57bd3572
Auto-register all config pages, for dropdown in App Settings
2021-12-15 00:00:46 -06:00
Lance Edgar
6f62f141d2
Fix params field when deleting a report
2021-12-14 19:08:32 -06:00
Lance Edgar
1244659064
Add more basic config views, obviating some App Settings
2021-12-13 21:33:10 -06:00
Lance Edgar
1fbe429a08
Add basic "config" view for Receiving
2021-12-13 20:35:23 -06:00
Lance Edgar
340a177a29
Overhaul desktop views for receiving, for efficiency
...
still could use even more i'm sure, but this takes advantage of buefy
to add dialogs etc. from the "view receiving batch row" page. this
batch no longer allows direct edit of rows but that's hopefully for
the better.
2021-12-13 18:37:47 -06:00
Lance Edgar
871dd35a3a
Add basic views to expose Problem Reports, and run them
...
not very sophisticated yet but heck better than we had yesterday
2021-12-07 18:01:07 -06:00
Lance Edgar
cc4b2278e7
OMG a ridiculous commit to overhaul import handler config etc.
...
- add `MasterView.configurable` concept, `/configure.mako` template
- add new master view for DataSync Threads (needs content)
- tweak view config for DataSync Changes accordingly
- update the Configure DataSync page per `configurable` concept
- add new Configure Import/Export page, per `configurable`
- add basic views for Raw Permissions
2021-12-06 20:04:34 -06:00
Lance Edgar
282185c5af
Add basic import/export handler views, tool to run jobs
2021-12-05 17:23:11 -06:00
Lance Edgar
5f9d311cdb
Add views for PendingProduct model; also DepartmentWidget
2021-11-10 12:39:51 -06:00
Lance Edgar
df8778f85d
Add render_brand()
method for MasterView
2021-11-05 15:11:30 -05:00
Lance Edgar
2be1d12116
Make separate method for writing results XLSX file
...
so subclass can customize
2021-11-05 15:11:07 -05:00
Lance Edgar
8a378317c0
Try to prevent caching for any /index (grid) page
...
if this works, maybe also should do it for /view since that can have a
rows grid?
2021-11-03 18:15:13 -05:00
Lance Edgar
a7f4b2e6ef
Refactor autocomplete view logic to leverage new "autocompleters"
...
finally! this cleans up some view config and AFAIK there is no loss
in functionality etc.
2021-10-01 10:28:06 -04:00