Commit graph

213 commits

Author SHA1 Message Date
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 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 4b5e415147 Add show all vs. show diffs for upgrade packages
plus some related tweaks
2017-08-12 22:38:23 -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 b28dc0702e Fix bug which caused new empty worked shift when editing time sheet 2017-08-08 17:59:57 -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 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 8186366b69 Add view for consuming new batch ID; misc. tweaks for grids etc. 2017-08-02 19:16:45 -05:00
Lance Edgar 5b35c3dd3b Make login template use same logo as home page 2017-07-31 13:58:38 -05:00
Lance Edgar f9906b26f2 Tweak some basic styles for forms/grids 2017-07-18 16:51:15 -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 df1c0b0b5e Fix grid pager styles; add default config for version grids
also remove all old grid code from v1 MasterView, since it now is
entirely superseded by v2 master
2017-07-14 21:50:07 -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 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 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 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 af0eea76e2 Add logic for mobile receiving if product not in batch and/or system 2017-07-11 00:59:51 -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 85d18a760b Fix CS/EA bug for mobile receiving 2017-07-10 16:14:55 -05:00
Lance Edgar 581ced2990 Switch license to GPL v3 (no longer Affero)
refs #2
2017-07-06 23:47:56 -05:00
Lance Edgar 0befc46070 Refactor "departments by vendor" grid to use newer-style 2017-07-06 14:34:35 -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 37a9153c4d Pad session timeout warning by 10 seconds, to account for drift 2017-05-24 18:38:33 -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 d6bc584831 Add convenience dialog_button() JS function 2017-05-17 14:02:00 -05:00
Lance Edgar 9460b41ec2 Add basic 'robots.txt' support to CommonView 2017-05-13 14:26:16 -05:00
Lance Edgar 9107a26b63 Add basic support for deletion speedbump for row data 2017-05-04 16:35:21 -05:00
Lance Edgar 2c14dce30d Add allowance for Escape key, in numeric.js 2017-05-04 16:33:34 -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 6156a80db0 Tweak field label styles for mobile 2017-03-30 20:15:09 -05:00
Lance Edgar 04e9752ee1 Detect "backwards" shift when time sheet is edited, alert user 2017-03-27 23:25:17 -05:00
Lance Edgar d373eb9ac1 Broad refactor to improve customization of purchase order form etc.
* add dropdown alternative for autocomplete renderer
* auto-enhance some common dropdowns
* refactor new purchase batch, order form view/templates
2017-03-24 17:22:12 -05:00
Lance Edgar e71204dcec Bump margin between grid and header table, i.e. buttons
hopefully this is a good amount..
2017-03-23 21:35:23 -05:00
Lance Edgar 581a21bd9d Add basic "mobile index" master view, plus support for demo mode 2017-03-19 11:21:00 -05:00
Lance Edgar 555935c71e Expose notes field for purchasing batches
Plus various other tweaks for styles and coding conventions etc.
2017-02-21 14:27:16 -06:00
Lance Edgar 3930ed9a16 Add beginnings of mobile receiving views
Very incomplete, not much is supported yet, but this is a start..
2017-02-19 13:17:28 -06:00
Lance Edgar 6ed752d477 Add generic "bulk delete" support to MasterView 2017-02-17 19:40:21 -06:00
Lance Edgar e3ec3be03b Add support for client-side session timeout warning 2017-02-16 13:32:20 -06:00
Lance Edgar c24120393f Tweak styles for 'sources' grid on products view page 2017-02-15 01:13:46 -06:00
Lance Edgar 6bcfd0515f Advance to password field when Enter pressed on username, login page 2017-02-13 19:08:18 -06:00
Lance Edgar 7ca03df04d Refactor the Edit Time Sheet view for "autocommit" mode
I.e. instead of letting changes queue up for "batch" mode, immediately
flush changes to server after each edit.
2017-02-09 16:11:40 -06:00
Lance Edgar cc7c1e162f Invoke timepicker to correct format of user input, for edit schedule/timesheet
It's hoped that this will prevent possibility of user submitting invalid data
2017-02-04 14:27:47 -06:00
Lance Edgar 7104e275c3 Add ability to edit employee time sheet
Also disable some unwanted autocomplete logic, plus add ability to
prevent autocomplete "change click" event
2017-01-29 18:53:52 -06:00
Lance Edgar 4c929055e6 Add style for 'half-width' grid 2016-12-17 00:30:18 -06:00
Lance Edgar 7f14f50ee0 More mobile view improvements, various 2016-12-12 15:24:26 -06:00
Lance Edgar 06dee96af6 Add mobile support for datasync restart 2016-12-11 21:20:51 -06:00
Lance Edgar 024d3c1975 Add mobile support for "become/stop root" feature 2016-12-11 19:16:24 -06:00
Lance Edgar ee0bdc4b74 OMG..lots of changes for sake of mobile login / user menu etc.
Feeling a bit sloppy right about now...oh well good enough
2016-12-11 18:07:30 -06:00
Lance Edgar 6a469a6f22 Add logic for handling Ctrl+V / Ctrl+X in numeric.js 2016-12-10 09:15:02 -06:00
Lance Edgar b3010465b6 Add generic 'not on file' product image for use as POD 404 2016-12-10 09:07:37 -06:00
Lance Edgar dd08b71458 Tweak various views for purchase batches 2016-12-09 14:20:16 -06:00
Lance Edgar 139d9a4fed Hopefully fix styles for 'print schedule' page 2016-11-26 20:29:10 -06:00
Lance Edgar a6e43d1658 Add support for new Purchase/Batch views, 'create row' master pattern
More refactoring here but hopefully not that important..
2016-11-06 12:58:29 -06:00
Lance Edgar a398a0a710 Tweak styles for global header 2016-10-28 10:26:23 -05:00
Lance Edgar 6bf60365ba Let any 'admin' user elevate to 'root' for full system access
But otherwise, let the Administrator role be "normal" and have perms of
its own.  Hopefully cuts down on unwanted screen noise for admins.
2016-10-18 16:59:38 -05:00
Lance Edgar 383d714214 Disable a focus() call in menubar.js which messed with search filter focus
Hopefully this is a good idea..?  Probably should look for a replacement
lib at some point...
2016-10-16 21:40:04 -05:00
Lance Edgar 6cb4b86fd0 Redo whitespace / indentation for menubar.js 2016-10-16 21:37:38 -05:00
Lance Edgar 9e7cb532c8 Add speed bump when leaving timesheet page w/ unsaved changes
Also add save/undo buttons to top as well as bottom of timesheet.
2016-10-14 13:57:57 -05:00
Lance Edgar 8a19b90efa Add hook to customize timesheet shift rendering
Also decrease font size slightly for shift text.
2016-08-22 17:25:43 -05:00
Lance Edgar cdde848275 Refactor batch view/edit pages to share some "execution options" logic 2016-08-22 15:46:16 -05:00
Lance Edgar 41ca3859f6 Only show granted permissions when viewing role details
Hopefully a little easier on the eyes..still could use more improvements
though I'm sure.
2016-08-11 22:29:55 -05:00
Lance Edgar bfcf6a9500 Add support for 10-key hyphen/period keys for numeric input fields 2016-08-09 11:45:34 -05:00
Lance Edgar 9ebff91db0 Allow negative sign, decimal point for "numeric" text fields 2016-08-05 15:12:36 -05:00
Lance Edgar 38927ce282 Add initial attempt at 'better' theme 2016-07-17 20:16:26 -05:00
Lance Edgar c6ab3b80f9 Hopefully fix some CSS for form field values 2016-05-27 14:33:01 -05:00
Lance Edgar 123f5ce0c6 Add support for "full" schedule and time sheet views
Temporarily removes support for viewing current user's time sheet; that
will be added back in soon.
2016-05-10 13:08:32 -05:00
Lance Edgar 3e6c1f28b9 Tweak timesheet styles, to give rows alternating background color 2016-05-06 11:39:45 -05:00
Lance Edgar 10f1c34a75 Tweak styles for jQuery UI selectmenu dropdowns
Give max height so that we get a scroll bar out of the deal, instead of
an endless list.
2016-05-06 11:38:36 -05:00
Lance Edgar b718336ac2 Refactor timesheet logic, add initial/basic schedule view
Clearly need to be able to filter by store/department yet.
2016-05-03 21:19:28 -05:00
Lance Edgar abb42e9f25 Add initial support for grid index URLs
Yay, been wanting this for some time now.
2016-05-01 17:50:57 -05:00
Lance Edgar c9afae3a44 Add testing image, for background / watermark 2016-05-01 00:06:16 -05:00
Lance Edgar 6d2af6d698 Overhaul newgrid template header a bit, to improve styles 2016-04-30 20:54:22 -05:00
Lance Edgar 8a1b86dd2d Tweak styles for form field labels
OMG so tired of these ugly fieldsets, where is the magic UI fairy?
2016-04-22 20:00:16 -05:00
Lance Edgar 0f3f39d5c6 Add new TimeFieldRenderer, make it default for Time fields
Uses a jQuery UI widget similar to datepicker:

https://fgelinas.com/code/timepicker/
2016-03-24 00:06:04 -05:00
Lance Edgar 36149e48ed Tweak some styles for label printing on products index page, etc. 2016-02-15 13:24:27 -06:00
Lance Edgar e10b956bf7 "Fix" the stupid styles for the grid tools section..sort of..for now.
At least this gets us back to the basics somewhat.  Still ugly as hell though.
2016-02-13 13:44:55 -06:00
Lance Edgar 583548cad5 Refactor products view(s) per new master pattern.
Finally!
2016-02-12 20:44:41 -06:00
Lance Edgar 687b83e2e1 Add support for sending new messages. 2016-02-05 14:42:56 -06:00
Lance Edgar f3b7781105 Make grid checkbox center-aligned within their column. 2016-01-13 02:40:40 -06:00
Lance Edgar ef40af814a Add readonly support for email profile settings.
More to come...  Also this required some form tweaking/overhaul(s).
2015-12-04 17:25:52 -06:00
Lance Edgar 2614236d50 Tweak layout CSS so page body expands to fill screen. 2015-08-24 13:00:58 -05:00
Lance Edgar c9b01f6061 More grid filter improvements; add choice/enum/date value renderers. 2015-08-20 21:17:48 -05:00
Lance Edgar 032d538062 Add "valueless verbs" concept to grid filters.
Plus some other improvements I'm sure...
2015-08-20 20:29:04 -05:00
Lance Edgar 1a929f8dd1 Remove some unused styles. 2015-08-15 16:59:49 -05:00
Lance Edgar 2b1bdec2f8 Add "Save Defaults" button so user can save personal defaults for any new grid. 2015-08-14 19:59:26 -05:00
Lance Edgar d57f5169b0 Add 'Default Filters' and 'Clear Filters' buttons to new grid filters form. 2015-08-14 18:53:39 -05:00
Lance Edgar d2b065a8fc Add basic checkbox support to new grids.
Also:

 * Add 'creatable', 'editable' etc. to master view class.
 * Add styles for warning/notice grid rows.
 * Misc. other tweaks.
2015-08-14 15:31:11 -05:00
Lance Edgar 9605d44b05 Convert Roles to use master view.
Also tweak the grid API here and there.
2015-08-11 15:01:21 -05:00
Lance Edgar 585eb09bec Add support for "new-style grids" and "model master views".
Finally, an API that makes some sense...  We don't yet have feature parity
with the old-style grids and CRUD views, but this is already a significant
improvement to the design.  Still needs a lot of docs though...
2015-08-10 18:58:31 -05:00
Lance Edgar 62b7194c21 Tweak jQuery UI styles, so button text etc. isn't so big. 2015-08-08 17:56:59 -05:00
Lance Edgar 17c6f390c0 Remove cached copies of jQuery / jQuery UI files.
We just need to use the CDN, or else folks are welcome to roll their own
theme etc. for use within their templates.
2015-08-08 15:26:06 -05:00
Lance Edgar b6192b49f2 Tweak form label area width for common forms.
This still needs to be overhauled I'm sure.
2015-07-20 10:43:19 -05:00
Lance Edgar 2f5f9c8c3c Make anchor tags with 'button' class render as jQuery UI buttons. 2015-05-02 20:39:03 -05:00
Lance Edgar 085ce70820 Add numeric.js script for numeric-only text inputs. 2015-03-10 12:46:10 -05:00
Lance Edgar 666b553255 Add "save" icon and grid column style. 2015-03-10 12:45:44 -05:00
Lance Edgar 6252c3f777 More tweaks to product details view. 2015-02-27 03:24:15 -06:00
Lance Edgar 3b9efe0ffb Add panels to product details view, etc. 2015-02-27 03:07:49 -06:00
Lance Edgar aee69f5a2c Force grid table background to white.
This can be helpful if the overall page background is not white, in the
case of batch rows etc. which use color-coding to help indicate status.
2015-02-16 17:51:47 -06:00
Lance Edgar eedbc5fb9a Various grid and form tweaks. 2015-02-09 13:20:34 -06:00
Lance Edgar b05f30d9fe New batch system! Hopefully nothing else broke...
Attempt number 5,176 at a decent batch system, we'll see.
2015-01-19 00:52:40 -06:00
Lance Edgar 78b09cacd0 Update base.css with various things from other projects.
Also update "progress" template accordingly.
2014-12-17 14:50:47 -06:00
Lance Edgar 8bf292ebac Remove some more edbob cruft. 2014-11-18 23:00:24 -06:00
Lance Edgar ba5dc6ab02 Added some autocomplete Javascript magic.
Not sure how this got missed the first time around.
2013-09-12 06:51:00 -07:00
Lance Edgar 7d19700c3c More standalone operation stuff.
Stop using `edbob.db.engine`, stop using all edbob templates, etc.
2013-09-01 20:25:34 -07:00
Lance Edgar 2a50e704ef Major overhaul for standalone operation.
This removes some of the `edbob` reliance, as well as borrowing some templates
and styling etc. from Dtail.
2013-09-01 15:31:50 -07:00
Lance Edgar 40efd8a3bc Rebranded to Tailbone. 2013-09-01 08:18:37 -07:00