Commit graph

479 commits

Author SHA1 Message Date
Lance Edgar 5c1008a0df More tweaks for python 3 2018-02-15 12:48:14 -06:00
Lance Edgar 0a16cc2ded Add tailbone version to base stylesheet URLs
hopefully this forces clients to refresh after upgrade?
2018-02-13 00:10:32 -06:00
Lance Edgar ee35cc6f22 Misc. cleanup for Python 3 2018-02-12 14:41:40 -06:00
Lance Edgar d9ff59afda Refactor grid filters to use colander/deform 2018-02-12 12:15:07 -06:00
Lance Edgar cb8db266cd Remove last references to any "fieldset" type things 2018-02-11 23:19:30 -06:00
Lance Edgar cdaf36f346 Rename 'forms2' package, templates to 'forms' 2018-02-11 22:57:33 -06:00
Lance Edgar d0b78babd2 Remove legacy 'forms' package and templates
yay!
2018-02-11 22:46:35 -06:00
Lance Edgar dd04459748 Refactor batch execution options to use colander/deform 2018-02-11 22:37:17 -06:00
Lance Edgar 4191e50456 Refactor time sheet, schedule filter forms to use colander/deform
also add "print employee schedule" feature, didn't realize that was missing
2018-02-11 15:58:06 -06:00
Lance Edgar ec438ead51 Refactor user login, change password to use colander/deform 2018-02-10 16:47:53 -06:00
Lance Edgar 91b395118e Allow passing arbitrary attrs when rendering grid 2018-02-09 21:13:41 -06:00
Lance Edgar e2bfb31cb2 Add 'gridcore' jQuery plugin, for core behavior
also add 'selected' status for checkbox grids, etc.
2018-02-09 15:17:29 -06:00
Lance Edgar c35bfa3e4e Let forms choose *not* to auto-disable their cancel button 2018-02-07 20:06:35 -06:00
Lance Edgar 00a3b8fc33 Make it easier to hide buttons for a form 2018-02-07 19:28:54 -06:00
Lance Edgar 5b4718fac4 Avoid "auto disable" button logic for new message form 2018-02-06 11:23:28 -06:00
Lance Edgar 7730080afc Let each form define its "save" button text
where applicable etc.
2018-02-05 16:53:17 -06:00
Lance Edgar 6cc509f5b4 Add Form.show_cancel flag, for hiding that button
also use fields from schema by default, if fields not provided
2018-02-05 14:24:49 -06:00
Lance Edgar 8137d715df Refactor purchasing batch views per master4 2018-02-05 13:00:34 -06:00
Lance Edgar 63290154eb Add master4, refactor customers view to use it 2018-02-05 13:00:28 -06:00
Lance Edgar ab16ffc823 Add "hidden" concept for form fields
i.e. include hidden fields but don't show label or other dressing
2018-02-05 13:00:28 -06:00
Lance Edgar 868b184069 Add 'plain' and 'jquery' templates for deform select widget
need to refactor things to get all that straight, at some point
2018-02-04 15:03:33 -06:00
Lance Edgar 7b4f7d758e Add setting for "force home" mobile behavior 2018-02-04 15:03:33 -06:00
Lance Edgar 33931b4bf2 Refactor vendor invoice batch views to use master3 2018-02-03 12:37:24 -06:00
Lance Edgar e821b2a025 Always redirect to mobile home page, if "other" page is refreshed
also applies when becoming / stopping root, and maybe other cases?
2018-01-29 22:47:30 -06:00
Lance Edgar 9beb32cea2 Fix mobile logout behavior 2018-01-29 18:07:29 -06:00
Lance Edgar 19cd6336f9 Refactor vendor catalog batch views to use master3 2018-01-28 01:26:51 -06:00
Lance Edgar eac59ba5c8 Refactor purchasing batch views to use master3 2018-01-27 11:59:52 -06:00
Lance Edgar efdbc3c5b5 Show "buttons" when viewing an object, with forms2
also tweak logic when creating a batch..we'll see if it works..
2018-01-26 19:04:34 -06:00
Lance Edgar 580f817dd9 Add vendor links in cost grid when viewing product 2018-01-26 18:30:29 -06:00
Lance Edgar e5c5a071f2 Add generic "download results as XLSX" feature 2018-01-26 14:24:06 -06:00
Lance Edgar 1453d33123 Add support for extra column(s) in timesheet view table 2018-01-25 17:02:53 -06:00
Lance Edgar f32cf3342c Allow disabling auto-dismiss of flash messages on mobile 2018-01-25 14:15:25 -06:00
Lance Edgar 96e5c42795 Add support for detaching Person from Customer 2018-01-24 23:53:12 -06:00
Lance Edgar 8044039d78 Add 'delete-instance' class to delete link when viewing a record
so that JS can watch its click event
2018-01-24 13:12:42 -06:00
Lance Edgar 04d1e303be Let custom inventory batch view override logic for mobile UPC scanning 2018-01-23 19:00:33 -06:00
Lance Edgar 18af33c9bb Add basic support for per-page help URL 2018-01-18 11:47:11 -06:00
Lance Edgar 80e9a9cf1c Add creates_multiple flag for master view 2018-01-18 11:46:10 -06:00
Lance Edgar 3097f46aa1 Refactor products view to use master3 2018-01-08 18:03:51 -06:00
Lance Edgar 66d3b7b4af Tweak diff styles when viewing upgrade 2018-01-07 19:44:39 -06:00
Lance Edgar fb140f24c1 Add basic UI support for "importer batch" feature 2018-01-06 20:28:59 -06:00
Lance Edgar c3c77ed586 Tweak diffs.css and refactor 'view_version' template to use it 2018-01-06 20:28:13 -06:00
Lance Edgar 568a625500 Add row_title to template context for view_row 2018-01-06 20:26:57 -06:00
Lance Edgar 85e6e7e08a Refactor away the row_route_prefix concept 2018-01-06 20:25:55 -06:00
Lance Edgar b2020686f5 Tweak conditions for CSV row download link 2018-01-06 19:27:37 -06:00
Lance Edgar aa4051a7cd Exclude JS for refreshing batch unless it's relevant 2018-01-06 19:26:31 -06:00
Lance Edgar 067cd60e20 Change how select menus are enhanced for batch exec options
jquery selectmenu doesn't play nicely in a dialog, when expanded (options are
cut off from screen)
2018-01-05 17:13:01 -06:00
Lance Edgar 6ed37743a5 Fix some styles for execution options dialog 2018-01-05 11:21:30 -06:00
Lance Edgar 80903bde38 Refactor forms logic when making batch from product query
use colander/deform instead of wtforms.  also make sure param names are unique
per batch type, within form controls
2018-01-04 15:08:03 -06:00
Lance Edgar 9f14d01c22 Add "price required" flag to product view 2017-12-20 19:02:03 -06:00
Lance Edgar 1e8a4534d5 Various forms2 changes 2017-12-07 20:35:44 -06:00
Lance Edgar 86cfc59d33 Refactor user and role views to use master3 2017-12-06 12:40:27 -06:00
Lance Edgar 789bdef190 Add cleared/selected callbacks for jquery autocomplete in forms2 2017-12-05 20:36:57 -06:00
Lance Edgar 8041c085f6 Add basic "helptext" support for forms2 2017-12-05 15:07:25 -06:00
Lance Edgar c20fdf4450 Change template prefix for vendor catalog batches 2017-12-05 13:33:05 -06:00
Lance Edgar c3fb86e391 Refactor messages view to use master3 2017-12-04 17:52:25 -06:00
Lance Edgar 6da013bf6c Fix permission bug for executing multiple batch results 2017-12-02 18:14:31 -06:00
Lance Edgar d27759ac2d Fix bug? or maybe there's no point 2017-12-02 17:20:40 -06:00
Lance Edgar a7d8cfcdbb Let batch views allow or deny "execute results" option 2017-12-02 17:08:17 -06:00
Lance Edgar ac733ae6ea Various tweaks for sake of forms2 refactor 2017-11-27 12:10:17 -06:00
Lance Edgar 43ce0fb44f Auto-scroll window as needed to ensure drop-down choices are visible 2017-11-22 11:21:59 -06:00
Lance Edgar 6ea88808b2 Add date/time-picker, autocomplete support for forms2 (deform) 2017-11-20 17:01:08 -06:00
Lance Edgar 2bbe6c8346 Add "make user" button when viewing person w/ no user account 2017-10-29 01:18:05 -07:00
Lance Edgar c95e2dbb06 Add "download row results as CSV" feature to master view 2017-10-14 14:14:24 -07:00
Lance Edgar 8d002f76d2 Convert user feedback mechanism to use modal dialog
instead of navigating to new page.  this is how it should have been done
to begin with...
2017-10-13 08:01:43 -07:00
Lance Edgar e283288a26 Fix deform widget resource inclusion for master/create template 2017-09-23 16:26:22 -05:00
Lance Edgar 52747ea6bd Auto-enhance all select widget fields for deform 2017-09-23 16:26:03 -05:00
Lance Edgar 3361adf08a Copy select field template from deform
this is before any modifications, straight from deform
2017-09-23 14:12:27 -05:00
Lance Edgar 3564ab0e1c Tweak title for master view row template 2017-09-15 21:02:13 -05:00
Lance Edgar 9ff6df83e5 Add generic support for downloading list results as CSV 2017-09-14 21:57:37 -05:00
Lance Edgar 63e336d4bb Override deform template for checkbox field; fix label behavior 2017-08-17 17:21:07 -05:00
Lance Edgar 3477637c74 Allow batch execution to require options on a per-batch basis
plus some other changes i think..
2017-08-16 23:27:27 -05:00
Lance Edgar 860f990a2e Fix mobile inventory template 2017-08-16 22:11:30 -05:00
Lance Edgar e945ebe325 Fix auto-disable button on form submit, per Chrome issues
dang it chrome, why you gotta be like that
2017-08-16 19:10:39 -05:00
Lance Edgar ec4e52fa1a Add mechanism for user to bulk-change status for purchase credits
trying to stay pretty generic yet...
2017-08-15 12:58:16 -05:00
Lance Edgar 4639d4a7db Give older/newer buttons the autodisable treatment 2017-08-13 20:07:37 -05:00
Lance Edgar 0e42efd32b Fix core styles/javascript for base template 2017-08-13 19:14:54 -05:00
Lance Edgar 7d0bb80a90 Merge 'better' theme into base templates
i.e. for now there is no 'better' (or any other) theme
2017-08-13 19:11:53 -05:00
Lance Edgar c0a28716f5 Add prev/next buttons when viewing upgrade details 2017-08-13 18:28:40 -05:00
Lance Edgar 55f96c4730 Add initial support for changelog links for upgrade package diffs
definitely still just playing around so far...
2017-08-13 00:25:32 -05:00
Lance Edgar 4b5e415147 Add show all vs. show diffs for upgrade packages
plus some related tweaks
2017-08-12 22:38:23 -05:00
Lance Edgar 0ad2113b81 Various tweaks to inventory batch logic
really to support zero-all mode, but several generic changes too
2017-08-10 11:10:42 -05:00
Lance Edgar 773a0c769d Fix upgrade stdout handling if file doesn't exist yet
plus some other tweaks..
2017-08-09 11:56:25 -05:00
Lance Edgar e5b0fe7198 Add running display of stdout.log when executing upgrade 2017-08-09 11:44:31 -05:00
Lance Edgar d7f5211fc4 Add support for cloning an upgrade record
until this is all ironed out, seems like it will often be helpful
2017-08-08 21:26:31 -05:00
Lance Edgar 3fcc105b78 Only use monospace fonts in diff table if so specified 2017-08-07 23:23:58 -05:00
Lance Edgar e14b5a89c3 Improve status tracking for upgrades; add package version diff 2017-08-07 22:23:07 -05:00
Lance Edgar f46e20c119 Refactor progress bars somewhat to allow file-based sessions
hoping this solves issue of Apache restart at end of upgrade
2017-08-07 18:19:29 -05:00
Lance Edgar f5688f1f90 Add basic support for performing / tracking app upgrades
also add `MasterView.executable` and friends
2017-08-05 22:07:49 -05:00
Lance Edgar f476c696fd Make datasync changes bulk-deletable 2017-08-05 16:12:06 -05:00
Lance Edgar b4cabadcd9 Fix row highlighting for sources panel on product view 2017-08-04 10:05:43 -05:00
Lance Edgar 8186366b69 Add view for consuming new batch ID; misc. tweaks for grids etc. 2017-08-02 19:16:45 -05:00
Lance Edgar 65c63dad3e Initial support for mobile ordering
plus various other changes required for that
2017-08-02 12:08:23 -05:00
Lance Edgar 93fa361292 Add "on order" count to products grid, tweak product notes panel 2017-08-01 14:54:04 -05:00
Lance Edgar 0171f3ebba Various improvements to batch worksheets, index links etc. 2017-08-01 14:53:45 -05:00
Lance Edgar 00027b09f6 Fix styles for message compose template 2017-08-01 14:39:38 -05:00
Lance Edgar cbf4ca8479 Improve verbiage for exception view
suggest the user submit Feedback to be notified of bugfix etc.
2017-08-01 14:38:53 -05:00
Lance Edgar 5b35c3dd3b Make login template use same logo as home page 2017-07-31 13:58:38 -05:00
Lance Edgar 61d504afb8 Various tweaks for support of native inventory
certaianly some other things made it in here too..
2017-07-19 01:42:18 -05:00
Lance Edgar 4dcd89fba7 Add new v3 master with v2 forms, with colander/deform
goal here is to replace FormAlchemy dependency, slowly but surely..
so far only the Settings and Stores views use v3 master
2017-07-18 16:17:00 -05:00
Lance Edgar 965dac9f43 Refactor (coalesce) all batch-related templates 2017-07-14 22:08:48 -05:00
Lance Edgar a18f55854d Refactor master2/index => master/index template 2017-07-14 21:23:40 -05:00
Lance Edgar 292546e44b Final grid refactor for all templates and CSS/JS (newgrid -> grid) 2017-07-14 21:15:22 -05:00
Lance Edgar c57e2e17cc Final grid refactor; we now have just 'grids' :)
this also removes some old UI stuff for the first attempt at continuum
versioning..among other cruft
2017-07-14 20:30:00 -05:00
Lance Edgar 52c7f485ab Remove some more references to 'newgrids' / old MasterView 2017-07-14 19:20:19 -05:00
Lance Edgar 172efe2ab9 Add flexible grid class for v3 grids for width=half etc.
also add 'percent' type renderer, and include column name in <td> class
2017-07-14 18:21:24 -05:00
Lance Edgar 242d37c95d Fix bug for printing one-off product labels 2017-07-14 16:03:23 -05:00
Lance Edgar c18774e5e5 Fix template/styles for v3 grid views, add purchasing batch status 2017-07-14 15:45:31 -05:00
Lance Edgar 5b1ae27a10 Add new "v3" grids, refactor all views to use them
or at least that's the idea..hopefully we caught them all
2017-07-14 03:57:36 -05:00
Lance Edgar 270b33de27 Make background color white, for merge diff table 2017-07-11 23:58:36 -05:00
Lance Edgar 4e7837baa9 Tweak (fix) color highlight for version diff view 2017-07-11 23:56:02 -05:00
Lance Edgar 5bff7d16b9 Tweak wording for master merge template 2017-07-11 23:23:23 -05:00
Lance Edgar 1685d37c01 Fix typo 2017-07-11 23:20:51 -05:00
Lance Edgar 1791bd745b More tweaks to support mobile inventory batches 2017-07-11 21:59:12 -05:00
Lance Edgar 8a5dbc33a7 Refactor keypad widget for mobile receiving
logic for this is now held in common
2017-07-11 21:05:26 -05:00
Lance Edgar 32d256932e Various tweaks to support mobile inventory batches
still not fully there I think, but pretty close..
2017-07-11 20:57:52 -05:00
Lance Edgar 452cb99349 Add basic support for viewing inventory batches on mobile 2017-07-11 16:23:11 -05:00
Lance Edgar 60104f05c7 Make all batches support mobile by default
with default pending/etc. filter also
2017-07-11 15:25:05 -05:00
Lance Edgar 48f5da4511 Add global key handler for mobile receiving, for scanner wedge input
this way we don't have to focus the UPC search box, since that seems to
always popup the device keyboard.
2017-07-11 13:05:35 -05:00
Lance Edgar bf3d7b9143 Stop using popup for expiration date, for mobile receiving
that was causing event headaches..this way is simpler
2017-07-11 12:13:19 -05:00
Lance Edgar 72b2510681 Prevent mobile receiving actions for batch which is complete or executed 2017-07-11 10:45:05 -05:00
Lance Edgar af0eea76e2 Add logic for mobile receiving if product not in batch and/or system 2017-07-11 00:59:51 -05:00
Lance Edgar 7bbdf38551 Disable unused Clear button for mobile receiving
its purpose was unclear..go figure
2017-07-10 22:41:52 -05:00
Lance Edgar 98ff71a2dd Add filter support for mobile row grid; plus mark receiving as complete 2017-07-10 22:10:27 -05:00
Lance Edgar f47157102c Add initial/basic support for "simple" mobile grid filter w/ radio buttons
so far only one such filter is (presumably?) supported..etc.
2017-07-10 21:04:56 -05:00
Lance Edgar f0d177e5df Fix broken product image tag, per webhelpers2
this still probably needs more attention but this will do for now
2017-07-07 09:21:10 -05:00
Lance Edgar 631665e208 Refactor all remaining usage of webhelpers; use webhelpers2 etc. instead 2017-07-06 21:11:05 -05:00
Lance Edgar 6302d5a351 Refactor grids to use new 'paginate' library
instead of the older `webhelpers.paginate`
2017-07-06 20:57:53 -05:00
Lance Edgar 83751f7c9e Fix background color for diff tables 2017-07-05 21:27:58 -05:00
Lance Edgar 85bdefc25b Add versioning display support for contact-related models 2017-07-05 17:16:28 -05:00
Lance Edgar 20ddf2687b Tweak header/title for versions listing page 2017-07-05 13:20:14 -05:00
Lance Edgar 0b68d56ddb Add basic versioning history support for master view
as with actual data versioning, we only support Person thus far
2017-07-05 03:07:35 -05:00
Lance Edgar a03083efdd Add initial support for expiration date for mobile receiving 2017-07-03 21:07:57 -05:00
Lance Edgar 318189b839 Hide "execute results" button for handheld batches, unless permissions 2017-06-22 02:42:14 -05:00
Lance Edgar 17017adde8 Tweak behavior when executing handheld batch results
redirect to final batch when done, try to warn user a bit
2017-06-22 01:02:03 -05:00
Lance Edgar 5a0fa20e03 Add way to execute multiple handheld batches at once 2017-06-21 17:29:06 -05:00
Lance Edgar 2d29174772 Remove all views etc. for old-style batches 2017-05-25 16:46:31 -05:00
Lance Edgar 522aad5880 Add basic ability to download Ordering Batch as Excel spreadsheet 2017-05-24 21:13:18 -05:00
Lance Edgar 346bb48f9c Add highlight to active row within Order Form view 2017-05-24 19:41:51 -05:00
Lance Edgar 38d623bcf9 Fix behavior of mobile receiving when first entering a quantity
i.e. replace default of '1' if user first presses a numeric key, but
always append to quantity after that
2017-05-24 00:17:06 -05:00
Lance Edgar 5eca2347d5 Add initial support for mobile receiving views 2017-05-24 00:04:56 -05:00
Lance Edgar d68bf6b012 Refactor "purchasing" batch views, split off "ordering"
remainder will be handled when the time comes..
2017-05-23 13:44:07 -05:00
Lance Edgar 4875c8ebdc Simplify page title display for mobile base template 2017-05-23 11:30:38 -05:00
Lance Edgar d93b91f491 Various tweaks for mobile receiving batches
this is temporary, soon will refactor all that again..
2017-05-22 13:13:44 -05:00
Lance Edgar d7160a0a38 Add daily hour totals when viewing or editing single employee time sheet 2017-05-15 17:34:47 -05:00
Lance Edgar 17f9e6d4a9 Remove customer view template
we shouldn't be doing anything special here, leave that up to derived app
2017-05-11 13:59:51 -05:00
Lance Edgar ee2137e1bf Add simple flag to prevent multiple submits for Order Form AJAX 2017-04-18 18:43:14 -05:00
Lance Edgar 589a747662 Auto-save time sheet day editor on Enter press if time field is focused
Hopefully this is a good idea, may have to revisit someday..?
2017-04-17 16:24:59 -05:00
Lance Edgar e64cdb3f80 Tweak mobile home page to leverage config for main image 2017-03-30 23:32:18 -05:00
Lance Edgar a3d0966139 Allow config to define home page image URL 2017-03-30 22:19:44 -05:00
Lance Edgar 0ad29c5283 Add basic paging grid/index support for mobile
still lots to do for this yet..but readonly basics are here..
2017-03-30 20:11:17 -05:00