Commit graph

245 commits

Author SHA1 Message Date
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 70a2f10c81 Add auto-hide/show magic to message recipients field when viewing 2016-05-01 14:57:41 -05:00
Lance Edgar 6d2af6d698 Overhaul newgrid template header a bit, to improve styles 2016-04-30 20:54:22 -05:00
Lance Edgar 22e4d38d58 Add initial Time Sheet view
Hardly complete at this point, but proves the concept.
2016-04-28 18:18:11 -05:00
Lance Edgar 8141e90a8e Add commas to record/page count in grid footer
I.e. when those numbers are big enough to need them.
2016-04-21 13:44:31 -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 715dce1655 Split off the jquery theme from the rest of core head stuff, for easier override. 2016-02-14 21:41:43 -06:00
Lance Edgar 215a8c13b0 Refactor some more model views to use MasterView.
(emailbounce, depositlink, tax)
2016-02-14 21:34:01 -06:00
Lance Edgar 874fd6d4b3 More tweaks to new master-based batch views, etc. 2016-02-14 18:50:57 -06:00
Lance Edgar 7ac4af5f34 Refactor vendor invoice batch views to use BatchMasterView. 2016-02-14 17:50:03 -06:00
Lance Edgar c83a3e6eb0 Overhaul vendor catalog batch views, to use BatchMasterView. 2016-02-14 17:07:48 -06:00
Lance Edgar 62221a1a25 Add new BatchMasterView for new-style batches. 2016-02-14 16:47:35 -06:00
Lance Edgar 7338560fc3 Tweak button label for restarting datasync. 2016-02-14 16:39:50 -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 c65bc6f229 Refactor magic recipients field when sending new message.
Uses local cache of user mappings instead of AJAX calls; has just enough
customization hooks to allow for a department/user mapping for MJ...
2016-02-11 17:05:56 -06:00
Lance Edgar ad9cd8be8e Protect message reply functions with 'create' permission. 2016-02-10 22:17:49 -06:00
Lance Edgar 46923d40da Add initial reply / reply-all support for messages. 2016-02-10 21:59:13 -06:00
Lance Edgar 84f85f0870 Add 'Move' button to message view template.
Get rid of context menu link.
2016-02-10 15:22:47 -06:00
Lance Edgar 687b83e2e1 Add support for sending new messages. 2016-02-05 14:42:56 -06:00
Lance Edgar de7496e1aa Remove style hack for message grid views.
For now...still need to really fix this at some point.
2016-02-01 16:34:04 -06:00
Lance Edgar 7edfc98747 Add 'Stores' and 'Departments' fields to Employee fieldset. 2016-01-30 15:19:04 -06:00
Lance Edgar bcf1032156 Change default form buttons so Cancel is also a button. 2016-01-30 15:18:20 -06:00
Lance Edgar d6bdc0e87d Change vendor catalog upload, to allow vendor-less parsers.
The user must provide the vendor if the parser does not; the user cannot
override the vendor if the parser does provide it.
2016-01-21 20:05:01 -06:00
Lance Edgar b78b49d79e Add 'restart datasync' button to datasync changes list page. 2016-01-19 17:29:19 -06:00
Lance Edgar 973b9903ae Add employee/department relationships to employee and department views. 2016-01-17 19:45:42 -06:00
Lance Edgar 84ebb158bc Add initial support for 'messages' views. 2016-01-13 02:43:20 -06:00
Lance Edgar 9e3b2a646c Fix 'index' URL used in master view template. 2016-01-13 02:41:17 -06:00
Lance Edgar 1956c4c9cf Add edit mode for email "profile" settings.
Plus some related tweaks, needed to make that happen.
2016-01-10 17:35:34 -06:00
Lance Edgar 654c69772e Add "grid tools" to "complete" grid template.
We'll see about this...
2016-01-08 10:50:14 -06:00
Lance Edgar 640bb736b2 Add speed bump / confirmation page when deleting records.
Also cleanup the context menu links on various master CRUD pages.
2016-01-07 20:55:10 -06:00
Lance Edgar 16bbbb4a75 Convert (most?) basic views to use master view pattern. 2015-12-07 15:08:14 -06:00
Lance Edgar fee00b96a2 Convert 'people' view to use MasterView pattern. 2015-12-06 18:04:23 -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 226ca01720 Add HTML5 doctype to base template. 2015-08-20 21:17:21 -05:00
Lance Edgar b75d94cbab Tweak labels for new grid filter form buttons. 2015-08-20 20:32:50 -05:00
Lance Edgar 73939b825e Add ability to download batch row data as CSV. 2015-08-19 20:06:13 -05:00
Lance Edgar 6c5eec7981 Add progress indicator to batch execution.
Also disable Execute button immediately when clicked.
2015-08-19 18:49:09 -05:00
Lance Edgar 3d44e3e857 Add CustomFieldRenderer and DateFieldRenderer. 2015-08-18 23:47:42 -05:00
Lance Edgar 6feb488884 Various tweaks to base batch views.
These were made to support a non-file batch; apparently that use case
hadn't seen much attention yet.
2015-08-18 21:17:15 -05:00
Lance Edgar e688471732 Don't show Save Defaults button if no user is logged in. 2015-08-17 17:21:41 -05:00
Lance Edgar 9d426fa54f Fix bug when rendering hidden field in FA fieldset.
Field wasn't being rendererd at all, if hidden.
2015-08-15 16:58:51 -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 761620028c Fix progress template, per jQuery CDN changes. 2015-08-13 13:50:42 -05:00
Lance Edgar d4210844ac Convert label profiles to use master view.
Plus some more minor tweaks to the framework.
2015-08-12 00:46:39 -05:00
Lance Edgar af07f477dc Convert User pages to use master view.
And of course make some more tweaks to new grids etc.
2015-08-11 23:24:02 -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 0db1c252cd Add "core" JS/CSS defs to base template, for sharing's sake. 2015-08-08 17:00:04 -05:00
Lance Edgar 0ddb5bffd7 Add plain text of message body to email bounce view.
Also tweak some labels.
2015-07-23 15:47:17 -05:00
Lance Edgar f523146a4b Add initial support for email bounce management. 2015-07-22 20:01:16 -05:00
Lance Edgar e0cb47d03a Add list of assigned users to role view page.
This surely could be better still; at least this is *something*.
2015-07-16 17:11:25 -05:00
Lance Edgar 4290f0d8df Allow batch view to disable the Execute button in some cases.
Although this only disables the UI button element, it doesn't really
prevent anything beyond that...
2015-07-09 01:42:19 -05:00
Lance Edgar ef2dcee4c5 Add "extra panels" customization hook to product details template. 2015-03-24 13:12:24 -05:00
Lance Edgar 366572e0a7 Add view template for vendor catalog batch rows. 2015-03-19 02:25:03 -05:00
Lance Edgar 8285993fa6 Add ability to view details (i.e. all fields) of a batch row. 2015-03-19 01:25:38 -05:00
Lance Edgar 3fed317805 Add UI support for Product.last_sold and current_price_ends pseudo-field. 2015-03-10 17:51:12 -05:00
Lance Edgar 2762e8e072 Tweak product detail layout some more. 2015-02-27 17:02:12 -06:00
Lance Edgar 2a8dc14e1c And some more tweaks.. 2015-02-27 03:26:27 -06: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 d50aef4e49 Add views for deposit links, taxes; update product view. 2015-02-26 19:06:20 -06:00
Lance Edgar dba0f1fd51 Add edit template for vendor catalog batches. 2015-02-22 00:21:14 -06:00
Lance Edgar 2e8db05717 Add initial support for vendor invoice batch feature, etc.
Also included:

* Add "edit batch" template, refactor "view batch" template.
* Tweak form templates to allow specifying form ID and buttons HTML.
* Make deleting batch rows only work when editing a batch.
2015-02-16 18:00:45 -06:00
Lance Edgar 16be06821a Wrap up initial vendor catalog batch support etc.
* Adds the ability to delete all batch rows matching current query.
* Refactors some progress factory args.
* If batch initialization fails, don't persist batch.
2015-02-12 21:35:28 -06:00
Lance Edgar e6b448f298 More versioning support fixes, to allow on or off. 2015-02-10 20:10:03 -06:00
Lance Edgar aa70ffc9f0 Rework versioning support to allow it to be one or off.
Turns out versioning isn't quite ready for prime time, so let's have a
fallback plan shall we?
2015-02-10 19:07:46 -06:00
Lance Edgar def466935b Add initial versioning support with SQLAlchemy-Continuum. 2015-02-09 23:36:40 -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 c4a19f279b Remove some edbob, unicode tweak, etc.
In particular it was noticed that edbob has been configuring FormAlchemy
all this time, whoops.  That's still partially the case but now at least
it's explicit.
2015-01-19 00:49:07 -06:00
Lance Edgar 9f62ed6b07 Ugh, add unwanted jQuery libs to progress template.
This is really just a hack to get around the problem of `tailbone.js`
always trying to load the menubar and make buttons pretty etc...
2015-01-11 19:15:05 -06:00
Lance Edgar 646956dfdb Fix bug with progress template, when error occurs (?).
Not real clear about why this problem existed.  Hopefully this "fix" comes
with no side effects...
2014-12-17 14:51:13 -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 cc2c2573e5 Add grid, CRUD views for Setting model.
This required some tweaks to the base CRUD view etc.
2014-11-23 14:27:00 -06:00
Lance Edgar 86507cf660 Tweak CRUD form buttons a little.
Change submit button wording for edit forms, from "Update" to "Save".  Also
show Cancel as a link instead of button.
2014-11-23 14:25:13 -06:00
Lance Edgar 8bf292ebac Remove some more edbob cruft. 2014-11-18 23:00:24 -06:00
Lance Edgar b2439dee70 Add monospace font for label printer format command. 2014-10-29 16:29:16 -05:00
Lance Edgar 350c944e91 Fix some bugs with printer profile stuff, per recent rattail changes. 2014-09-26 15:31:34 -07:00
Lance Edgar a3cfbd1e09 Add "exclude not for sale" option to Inventory Worksheet. 2014-09-11 20:59:43 -07:00
Lance Edgar dcc1699f69 Add explicit file encoding to all Mako templates.
Also remove some u"" style strings within templates, since they appear to
be unnecessary.
2014-07-23 21:35:33 -07:00
Lance Edgar f9d22f59f2 Add customer phone autocomplete and customer "info" AJAX view.
This autocomplete view is a little different than the typical ones used
prior, and required some refactoring of the base autocomplete view as well
as the autocomplete template.
2014-07-13 12:47:03 -07:00
Lance Edgar 6943298ee0 Add product report codes to the UI. 2014-07-12 16:03:31 -07:00
Lance Edgar 389bb5dcc6 Add POD image support to product view page. 2014-04-13 17:54:22 -07:00
Lance Edgar 087342b09c Add Family and Product.family to the general grid/crud UI. 2014-04-13 00:04:30 -07:00
Lance Edgar 0d65691952 Update URL references to Rattail home page. 2014-02-21 10:10:49 -08:00
Lance Edgar 857a4b88e5 Fixed change password template/form. 2013-09-10 20:37:19 -07:00
Lance Edgar 332122a4e9 Added progress template. 2013-09-10 09:54:11 -07:00
Lance Edgar 017815a9e2 Made logo more easily customizable in login template. 2013-09-09 21:57:35 -07:00
Lance Edgar 2e84873666 Added global_title() to base template. 2013-09-06 04:13:50 -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