Lance Edgar
678c966113
Allow inherited theme to set location of Vue.js, Buefy etc.
...
that way, can use a local version instead of CDN
2019-05-21 16:00:56 -05:00
Lance Edgar
d5d04b7dac
Add support for Buefy datepicker in grid filters
2019-05-21 13:44:02 -05:00
Lance Edgar
0f0b32d797
Move logic used to determine if current request should use Buefy
...
so that function-based views can leverage it also
2019-05-21 12:34:18 -05:00
Lance Edgar
fbf3ee5cd1
Improve readonly form templates somewhat, for Buefy
...
progress at least, more polish needed yet
2019-05-21 12:14:49 -05:00
Lance Edgar
40e957fff2
Let view template define how to render "row grid tools"
...
seems much cleaner that way. must adopt Buefy to use this style though
2019-05-20 20:00:28 -05:00
Lance Edgar
3c8d16a368
Add custom tailbone-datepicker
component for Buefy
...
for easier reuse, outside of main CRUD forms
2019-05-20 19:59:21 -05:00
Lance Edgar
dfe0f49655
Add basic/generic Buefy support to the Form class
...
mostly just affects rendering, apparently backend logic needn't really change?
2019-05-20 16:24:14 -05:00
Lance Edgar
a125e381a9
Add basic Buefy support for batch refresh, execute buttons
...
still doesn't yet handle the "execution options" use case though
2019-05-20 14:43:51 -05:00
Lance Edgar
93d0cfcfeb
Make email preview buttons use primary color
...
i.e. for bulma/buefy
2019-05-20 14:20:54 -05:00
Lance Edgar
6ea4d9c413
Add default sort for PersonNote grid
2019-05-15 15:34:32 -05:00
Lance Edgar
e6301f0d06
Add basic master view for PersonNote data model
2019-05-14 15:59:57 -05:00
Lance Edgar
f61cf318ae
Add verbose
flag for util.raw_datetime()
rendering
...
just seems like could be useful somewhere...though not used yet
2019-05-14 15:58:43 -05:00
Lance Edgar
13db4861e1
Update changelog
2019-05-09 12:34:18 -05:00
Lance Edgar
684363bcde
Add basic/generic email validator logic
...
for use mostly in non-web scenarios, probably
2019-05-09 12:28:57 -05:00
Lance Edgar
a8db5db308
Add basic Buefy form support when generating reports
...
apparently we have a lot of work to do yet for Buefy forms elsewhere...
2019-05-08 20:24:19 -05:00
Lance Edgar
4a198ce473
Tweak how we disable grid filter options
...
hoping to find some magic combo that works for everyone...
2019-05-08 17:16:27 -05:00
Lance Edgar
e9976635ba
Align pseudo-columns for grid filters; let app settings define widths
2019-05-08 17:13:01 -05:00
Lance Edgar
079680d72e
Add simple_field()
def for base falafel template
...
hopefully this is a useful abstraction which will allow for smoother transition
to Buefy-style fields, when the time comes?
2019-05-08 16:15:54 -05:00
Lance Edgar
4c3dc6362c
Make "view profile" buttons use "primary" color
...
for sake of Buefy themes
2019-05-08 16:15:24 -05:00
Lance Edgar
98428bf8c2
Fix sorting info bug when Buefy grid doesn't support it
2019-05-08 15:37:03 -05:00
Lance Edgar
73eec8f112
Add support for "quickie" search in falafel theme
2019-05-08 14:19:20 -05:00
Lance Edgar
789512de55
Must still define "jquery theme" for falafel theme, for now
...
ugh, need to get rid of that ASAP
2019-05-08 13:40:27 -05:00
Lance Edgar
070d4fc43e
Force unicode string behavior for left/right arrow thingies
...
...hopefully this fixes an error we're suddenly seeing on a staging server?
2019-05-08 13:21:43 -05:00
Lance Edgar
fadf540422
Allow choosing report from simple list, when generating new
...
refs #6619
2019-05-08 13:00:09 -05:00
Lance Edgar
3cb803ffe3
Clean up falafel theme, move some parts to root template path
2019-05-07 21:10:48 -05:00
Lance Edgar
6ef217c546
Expose params and type key for report output
2019-05-07 17:15:52 -05:00
Lance Edgar
118f22c164
Update changelog
2019-05-07 15:01:45 -05:00
Lance Edgar
b2b4e1bfbc
Add basic Buefy support for merging 2 objects
...
i.e. special grid stuff, plus "merge" view
2019-05-06 21:43:59 -05:00
Lance Edgar
9d6cc86e60
Add basic Buefy support for row grids
...
possibly even "complete" support...guess we'll see
2019-05-06 19:53:59 -05:00
Lance Edgar
a3ca6abb7a
Add basic support for "quickie" search
...
a master view can "support" quickie search, which means it will setup a route
suitable for the quickie search form action. and/or it can "expose" quickie
search which means it will actually show a quickie search form on its views
2019-05-06 18:34:42 -05:00
Lance Edgar
35158204c5
Update changelog
2019-05-05 20:15:42 -05:00
Lance Edgar
4c4cefde6d
Add basic Buefy support for full "profile" view for Person
2019-05-04 03:19:40 -05:00
Lance Edgar
ff9554adc1
Update changelog
2019-05-03 14:28:08 -05:00
Lance Edgar
303c741a10
Add basic support for "touching" a data record object
...
to trigger further datasync logic for it, etc.
2019-05-03 14:24:55 -05:00
Lance Edgar
6b2ba3a285
Update changelog
2019-04-30 20:39:58 -05:00
Lance Edgar
06bedf6cb4
Pass batch execution kwargs when doing that via subprocess
...
i.e. instead of the normal in-app method
2019-04-29 09:06:54 -05:00
Lance Edgar
a5f04b6c7f
Add filter for Vendor ID in Pricing Batch row grid
2019-04-25 21:29:10 -05:00
Lance Edgar
364257fe05
Update changelog
2019-04-25 15:40:12 -05:00
Lance Edgar
0d00bd746e
Don't assume grid model class declares its title
...
that works for Rattail models, but not e.g. those from Onager
2019-04-25 15:39:30 -05:00
Lance Edgar
5c86ab38a4
Update changelog
2019-04-25 14:49:45 -05:00
Lance Edgar
cb67a23d0a
Add render_person()
convenience method for MasterView
2019-04-25 14:46:11 -05:00
Lance Edgar
25c8edd81c
Allow config to specify grid "page size" options
2019-04-23 22:56:38 -05:00
Lance Edgar
798a9893e9
Add category, family, report code support for generic product batch
2019-04-23 22:50:58 -05:00
Lance Edgar
f8d26b4f8f
Fix some issues with progress "socket" workaround for batches
2019-04-19 17:28:45 -05:00
Lance Edgar
2c1985bef3
Add support for generic "product" batch type
2019-04-19 13:23:21 -05:00
Lance Edgar
4a5f1ce19a
Improve default people "profile" view somewhat
2019-04-19 11:20:45 -05:00
Lance Edgar
efb1a73e88
Add basic Buefy support for "find user/role with permission X"
...
still not totally polished, but works as expected
2019-04-18 22:13:05 -05:00
Lance Edgar
ea54ca6c11
Expose new code fields for pricing batch
2019-04-18 18:21:32 -05:00
Lance Edgar
1016b46243
Add "created by" and "executed by" grid filters for all batch views
2019-04-18 17:51:22 -05:00
Lance Edgar
a66ea53743
Declare row fields for vendor catalog batches
...
also exposes new "allowance" fields
2019-04-18 17:02:24 -05:00
Lance Edgar
95fb78f645
Fix auto-disable action for new message form
...
i.e. we don't want auto-disable there, b/c template does its own thing
2019-04-18 15:30:08 -05:00
Lance Edgar
6d68b56c56
Add views for "new product" batches
2019-04-17 21:48:41 -05:00
Lance Edgar
fcfc8b56bb
Add basic Buefy support for App Settings page
...
also various buttons have been tweaked on some other "master view" pages
2019-04-17 14:55:27 -05:00
Lance Edgar
e1ff4578e9
Improve logic used to determine if current theme supports Buefy
...
let settings define this per theme, but have sane defaults also
2019-04-16 15:44:02 -05:00
Lance Edgar
e45dfd7351
More tweaks for Buefy support
2019-04-15 20:34:34 -05:00
Lance Edgar
4a92b05b57
Add Buefy support for email preview buttons
2019-04-15 19:54:17 -05:00
Lance Edgar
a0cd1f4cd0
Add "most of" Buefy support for grid filters
...
still a couple of details to wrap up yet, but this is most of it!
2019-04-15 18:36:14 -05:00
Lance Edgar
23c38e33d4
Update changelog
2019-04-12 16:01:21 -05:00
Lance Edgar
80158ffa95
Add "view profile" helper for all person-related views
2019-04-12 15:54:56 -05:00
Lance Edgar
97345c9710
Add raw_datetime()
function to tailbone.helpers
module
2019-04-12 12:55:22 -05:00
Lance Edgar
fdb76fc56c
Add a bit more context for "view person profile"
2019-04-12 12:55:09 -05:00
Lance Edgar
df43abf9d3
Hopefully fix style bug when new filter is added to grid
...
i.e. when user selects a new filter from dropdown, sometimes it would display
incorrectly, with everything "after" the checkbox appearing *below* instead of
to the right of it
2019-04-12 10:48:56 -05:00
Lance Edgar
6ae703dfd9
Add "view profile" for viewing *all* details of a given person at once
...
feature preview (easter egg) only for now though, lots of refinement to do yet
2019-04-10 16:46:16 -05:00
Lance Edgar
ec70d85638
Add custom grid filter for phone number fields
...
and use it in various grid views
2019-04-10 14:20:36 -05:00
Lance Edgar
2bdcc4fe47
Can finally assume "simple" menus by default
...
all apps in the wild already using them
2019-04-02 21:55:54 -05:00
Lance Edgar
c26af4758b
Update changelog
2019-04-02 14:48:59 -05:00
Lance Edgar
511ba61b1c
Add move_before()
convenience method for GridFilterSet
...
to more easily rearrange sort order of grid filters
2019-04-02 14:44:59 -05:00
Lance Edgar
bf189bb704
Use shipped instead of ordered, for receiving authority
...
i.e. compare receiving quantities to shipped quantities instead of ordered
2019-04-01 13:32:43 -05:00
Lance Edgar
49017fda39
Make sure user sees "receive row" page on mobile, after scanning UPC
...
was still redirecting to "view row" which is sort of deprecated now...
2019-04-01 13:31:57 -05:00
Lance Edgar
53917e9bf5
Require invoice parser selection for new truck dump child from invoice
2019-04-01 12:32:35 -05:00
Lance Edgar
503d508a86
Update changelog
2019-03-29 12:51:14 -05:00
Lance Edgar
8ee20e52f8
Add icon for Feedback button, in falafel theme
2019-03-29 00:29:16 -05:00
Lance Edgar
05b8ed7153
Add support for "row status" in Buefy grid tables
2019-03-28 23:09:10 -05:00
Lance Edgar
24547b4fc5
Add proper hamburger menu for falafel theme
...
fixes "disappearing menu" issue on mobile
2019-03-28 22:15:08 -05:00
Lance Edgar
18ad664acb
Add validation when "declaring credit" for receiving batch row
...
i.e. don't just blindly attempt, when it isn't supported
2019-03-27 21:06:23 -05:00
Lance Edgar
d60679adfd
Don't allow deletion of some receiving data rows on mobile
...
specifically, rows on a truck dump parent, which originated from a child
batch (and therefore presumably, an invoice)
2019-03-27 20:11:32 -05:00
Lance Edgar
9ace36c459
Remove duplicate code
...
not sure how that got in there, oh well
2019-03-27 20:10:09 -05:00
Lance Edgar
e9c9772c58
Fix HTML escaping bug when rendering products with pack price
2019-03-27 19:42:44 -05:00
Lance Edgar
d20d22ffb6
Fix rendering bug when price.multiple is null
2019-03-27 19:39:58 -05:00
Lance Edgar
a139d9c844
Add feature for generating new report of arbitrary type and params
2019-03-27 18:38:33 -05:00
Lance Edgar
13bba63382
Remove 'number' column for Customers grid by default
2019-03-24 21:09:12 -05:00
Lance Edgar
8d6ecc3ec7
Add basic "Buefy" support for grids (master index view)
...
still pretty experimental at this point, but making progress
2019-03-24 21:09:08 -05:00
Lance Edgar
3cef591719
Add support for one more package link in upgrade diffs
2019-03-22 20:02:36 -05:00
Lance Edgar
34a3aa0e3d
Add smarts for a couple more projects in the upgraded packages links
2019-03-22 19:59:32 -05:00
Lance Edgar
1938884656
Update changelog
2019-03-21 19:34:15 -05:00
Lance Edgar
30ed84fd1d
Allow width of object helper panel to grow
2019-03-21 19:30:10 -05:00
Lance Edgar
b67414bb84
Update changelog
2019-03-14 13:37:49 -05:00
Lance Edgar
5b9e97b4eb
Add "declare credit" UI for receiving batch rows
2019-03-13 19:15:53 -05:00
Lance Edgar
c869516449
Add basic "receive row" desktop view for receiving batches
...
not terribly polished yet, but works
2019-03-13 18:31:57 -05:00
Lance Edgar
7fab472fc4
Add "time ago" for "product already receieved" alert on mobile
2019-03-13 12:49:54 -05:00
Lance Edgar
f755aefbfa
Honor enum sort order where possible, for grid filter values
2019-03-12 15:13:34 -05:00
Lance Edgar
43122381f5
Add mobile alert when receiving product for 2nd time
...
optional per config. idea is to alert user so they don't accidentally
double-receive a given item
2019-03-12 14:25:40 -05:00
Lance Edgar
d0b1cb527e
Tweak how batch handler is invoked to remove row
...
also, removes some related logic which now lives in handler
2019-03-11 19:32:41 -05:00
Lance Edgar
c78d6f2104
Update changelog
2019-03-11 13:26:46 -05:00
Lance Edgar
eac2c2ddb2
Fix some unicode literals for base template
...
only necessary for python2, but we still must support that for now...
2019-03-11 13:17:26 -05:00
Lance Edgar
9b1efc3e45
Update changelog
2019-03-11 13:01:31 -05:00
Lance Edgar
512084194d
Fix PO unit cost calculation for ordering row, batch
2019-03-11 12:20:56 -05:00
Lance Edgar
8bb09f5739
Begin to customize grid filters, for 'falafel' theme
2019-03-10 23:24:24 -05:00
Lance Edgar
0a68ff6dd0
Add 'falafel' theme, based on bobcat
...
but with more aggressive approach, includes no jQuery UI JS/CSS (and is
somewhat broken accordingly, for now)
2019-03-10 21:36:25 -05:00
Lance Edgar
e18e2492af
Fix script tag for dodo theme
2019-03-10 18:17:59 -05:00