Commit graph

2956 commits

Author SHA1 Message Date
Lance Edgar
0a165c5b93 Don't set order date for new ordering batch when created via mobile
that really should be set upon batch execution instead
2018-02-22 11:19:33 -06:00
Lance Edgar
2a2ff721c1 Bind batch to its execution options schema, when applicable
so the batch can provide default values, etc.  this also tweaks logic for using
defaults from session storage, so that they don't take priority over batch values
2018-02-22 11:18:11 -06:00
Lance Edgar
d75fe88c44 Expose ship_method and notes_to_vendor for purchase, ordering batch 2018-02-22 11:16:33 -06:00
Lance Edgar
37a788a141 Use Form.submit_label if present, or fall back to save_label
latter should probably be deprecated / removed at some point
2018-02-22 11:14:21 -06:00
Lance Edgar
e1a9da0716 Always show flash-error-style message when form has errors
probably will regret this and change it back soon, we'll see
2018-02-22 11:13:29 -06:00
Lance Edgar
ff7341d272 Add Form.mobile flag and set link button styles accordingly 2018-02-22 11:12:51 -06:00
Lance Edgar
046a70c5f6 Add NumberInputWidget for <input type="number" /> 2018-02-21 19:51:31 -06:00
Lance Edgar
a8a4e362a0 Add basic mobile support for executing batches
no progress, or options, yet..
2018-02-21 18:55:16 -06:00
Lance Edgar
6ca69802f5 Add download path for batch master views 2018-02-19 19:59:01 -06:00
Lance Edgar
1b059c5293 Refactor ordering worksheet to use shared logic 2018-02-19 18:19:19 -06:00
Lance Edgar
b529a005d8 Remove some redundant / unused code 2018-02-19 17:09:12 -06:00
Lance Edgar
12dd6ae6b0 Use all "normal" product form fields, for mobile view 2018-02-19 15:31:02 -06:00
Lance Edgar
e93e1b91a9 Update changelog 2018-02-15 18:49:16 -06:00
Lance Edgar
5c1008a0df More tweaks for python 3 2018-02-15 12:48:14 -06:00
Lance Edgar
135e98cde1 Fix encoding bug for python 3, when downloading CSV results 2018-02-14 15:27:55 -06:00
Lance Edgar
79634d402e Update changelog 2018-02-14 14:18:38 -06:00
Lance Edgar
cb2234cef5 Fix encoding for robots.txt view response 2018-02-14 10:31:04 -06:00
Lance Edgar
cfb6cf5ab4 Tweak rendering for python 3 2018-02-14 09:52:19 -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
a0d9b5ddf4 Add generic 'login_as_home' setting
i.e. redirect anonymous users to login instead of showing home page
2018-02-12 22:18:59 -06:00
Lance Edgar
2ab00bfd78 More python 3 tweaks 2018-02-12 22:17:38 -06:00
Lance Edgar
f411dcde24 Remove pyramid_debugtoolbar dependency 2018-02-12 21:25:58 -06:00
Lance Edgar
585db147ac Tweak dependencies per rattail changes 2018-02-12 19:39:04 -06:00
Lance Edgar
17d99e16b9 More tweaks for python 3 2018-02-12 19:22:05 -06:00
Lance Edgar
b0821e8011 More tweaks for python 3 2018-02-12 15:32:54 -06:00
Lance Edgar
ee35cc6f22 Misc. cleanup for Python 3 2018-02-12 14:41:40 -06:00
Lance Edgar
189bc1faa8 Officially remove pyramid_simpleform dependency 2018-02-12 12:16:56 -06:00
Lance Edgar
d9ff59afda Refactor grid filters to use colander/deform 2018-02-12 12:15:07 -06:00
Lance Edgar
f636b98cb3 Officially remove FormEncode dependency 2018-02-11 23:33:09 -06:00
Lance Edgar
33e345f4ae Officially remove FormAlchemy dependency (yay!) 2018-02-11 23:25:54 -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
66769ab34b Stop configuring FormAlchemy engine etc. on app startup 2018-02-11 22:41:20 -06:00
Lance Edgar
dd04459748 Refactor batch execution options to use colander/deform 2018-02-11 22:37:17 -06:00
Lance Edgar
2cbacd6187 Remove legacy fieldset configuration logic 2018-02-11 16:25:09 -06:00
Lance Edgar
1c27efc8f1 Refactor feedback feature to use colander/deform 2018-02-11 16:05:56 -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
d30e5e2b02 Update changelog 2018-02-10 20:22:19 -06:00
Lance Edgar
4191a56bfb Fix some bugs with importer batch views 2018-02-10 17:14:32 -06:00
Lance Edgar
ec438ead51 Refactor user login, change password to use colander/deform 2018-02-10 16:47:53 -06:00
Lance Edgar
cff757fe9e Refactor mobile inventory to use colander/deform 2018-02-10 14:07:16 -06:00
Lance Edgar
a65235c0fd Refactor mobile receiving to use colander/deform 2018-02-10 14:00:28 -06:00
Lance Edgar
ec275b2fe0 Remove tests for legacy forms 2018-02-10 02:29:42 -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
a3b2fbadb7 Make sure each grid has unique set of actions 2018-02-09 15:04:57 -06:00
Lance Edgar
4760295d6a Add some basic ORM object field types for new forms 2018-02-09 15:04:22 -06:00
Lance Edgar
035a7b2096 Add 'newstyle' behavior for Form.validate() 2018-02-09 15:03:44 -06:00
Lance Edgar
c35bfa3e4e Let forms choose *not* to auto-disable their cancel button 2018-02-07 20:06:35 -06:00