Commit graph

634 commits

Author SHA1 Message Date
Lance Edgar 2bd2839107 Export Person.users relationship (readonly) 2017-10-24 10:09:28 -07:00
Lance Edgar a51d4e54db Add item_id to trainwreck views
er, add scancode, since item_id was renamed..
2017-10-24 09:51:18 -07:00
Lance Edgar 512405f01f Fix bug in MasterView.get_effective_row_query()
really this method should be removed...
2017-10-22 12:55:41 -07:00
Lance Edgar 855153f121 Fix bug with products view config 2017-10-20 11:51:07 -07:00
Lance Edgar f8e98a5817 Avoid potential bugs when generating CSV results data for download 2017-10-16 17:38:42 -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 f338a03c97 Add 'active' column to Users table view 2017-10-13 14:12:28 -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 47ce0fd448 Add "populatable" for master views (populating new objects with progress) 2017-09-23 16:27:22 -05:00
Lance Edgar 8a945f8baf Pass form along to before_create_flush() in master3 2017-09-23 16:26:56 -05:00
Lance Edgar 3bcec30a4c Don't set batch input file on creation, if no file exists 2017-09-23 13:32:12 -05:00
Lance Edgar e1384c2ab1 Tweak default labels for created(by) batch form fields 2017-09-23 11:48:38 -05:00
Lance Edgar 8d78fad621 Fix data type/size issue with CSV download 2017-09-16 18:42:18 -05:00
Lance Edgar 9ff6df83e5 Add generic support for downloading list results as CSV 2017-09-14 21:57:37 -05:00
Lance Edgar 45d4329630 Log debug instead of error when package diff render fails
we probably don't want email noise about this..
2017-08-20 13:12:55 -05:00
Lance Edgar f74c93e3e7 Fix some bugs for rendering upgrade package diffs
in particular, when a new package gets installed and there is no "old"
version for it
2017-08-20 13:03:30 -05:00
Lance Edgar 2448d71edd Convert customer groups view to master3 2017-08-17 20:28:54 -05:00
Lance Edgar 7dbdaf1f8a Convert categories view to master3 2017-08-17 20:25:21 -05:00
Lance Edgar 34bc59f96f Convert brands view to master3 2017-08-17 20:20:15 -05:00
Lance Edgar e3de40bdfe Convert bouncer view to master3
also move common file field logic from upgrades into master3
2017-08-17 20:13:42 -05:00
Lance Edgar 2db9d31386 Use shared logic for executing upgrade
now that it's part of the handler
2017-08-17 18:16:28 -05:00
Lance Edgar c038d74302 Show all grid actions by default, if there are 3 or less 2017-08-17 17:25:18 -05:00
Lance Edgar 0d144ff58b Convert subdepartments view to master3 2017-08-17 00:45:11 -05:00
Lance Edgar bbfa15845a Convert departments view to master3 2017-08-17 00:45:08 -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 98ca378302 Add extra perms for creating inventory batch w/ different modes 2017-08-16 22:26:52 -05:00
Lance Edgar 0469ddea7a Fix permission used for mobile receiving item lookup 2017-08-15 16:49:49 -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 0516d44842 Let handler delete files when deleting upgrade 2017-08-14 01:05:21 -05:00
Lance Edgar 56910ea4c1 Add generic changelog link for rattail/tailbone packages
i.e. production changelog, when not running from src
2017-08-13 21:23:11 -05:00
Lance Edgar c0a28716f5 Add prev/next buttons when viewing upgrade details 2017-08-13 18:28:40 -05:00
Lance Edgar 852bafdfa0 Improve logic for generating changelog links for upgrade package diffs 2017-08-13 16:30:31 -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 41e09271a2 Flush session once every 1000 records when bulk-deleting 2017-08-10 16:32:03 -05:00
Lance Edgar 46a43981df Fix join bug for users grid 2017-08-10 15:32:04 -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 4f2bf5431d Fix clone config bug for label batches 2017-08-09 23:15:38 -05:00
Lance Edgar a3e7556a06 Fix encoding bug when reading stdout during upgrade 2017-08-09 22:34:03 -05:00
Lance Edgar 18f4b4ff5c Various changes to support a certain new app
improve inventory support, plus "hiding" person data but still using it
2017-08-09 21:41: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 fbd73a48c4 Fix status when cloning upgrade 2017-08-08 21:43:04 -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 77880abb87 Add awareness of upgrade exit code, success/fail 2017-08-08 20:32:17 -05:00
Lance Edgar 4101e056e4 Fix permission check for deleting single batch rows 2017-08-08 17:00:38 -05:00
Lance Edgar 2dc539c357 Fix bulk-delete for batch rows, allow it for pricing batches 2017-08-08 16:57:05 -05:00
Lance Edgar e91f18f344 Add some links to employees grid 2017-08-08 13:02:57 -05:00
Lance Edgar 2714d3c03c Tweak logging when object fails to be executed 2017-08-07 23:07:36 -05:00
Lance Edgar e14b5a89c3 Improve status tracking for upgrades; add package version diff 2017-08-07 22:23:07 -05:00
Lance Edgar 430a1416c6 Fix recipients renderer for email settings grid 2017-08-07 19:09:03 -05:00
Lance Edgar 4cb4d9b14c Stop trying to persist session used for upgrade execution progress
apparently that trick won't work as long as we're waiting in-process
for the upgrade process to complete..
2017-08-07 18:50:50 -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 941ce1a9cb Record become/stop root user events 2017-08-05 16:11:56 -05:00
Lance Edgar 2f0f3fa463 Expose UserEvent table in UI
normal table access, plus per-user row grid
2017-08-04 17:14:38 -05:00
Lance Edgar 3205d61ba6 Add progress support for bulk deletion
plus bulk-delete all tempmon readings when deleting client or probe
2017-08-04 16:11:45 -05:00
Lance Edgar d8be651e95 Make tempmon readings bulk-deletable
although if there are enough of them, it can still suck..  need to add a
progress bar for bulk-delete at some point..
2017-08-04 15:15:43 -05:00
Lance Edgar dce0efb5fa Various view tweaks 2017-08-04 11:55:53 -05:00
Lance Edgar ea7eb47551 Add auto-links for most grids
probably still missing some yet?
2017-08-03 19:16:53 -05:00
Lance Edgar d1aaac5b16 Don't assume all rows belong to a batch
whooops..
2017-08-03 17:06:26 -05:00
Lance Edgar f20a40e818 Add some links to various grid columns 2017-08-02 23:31:08 -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 6ae129ea24 Fix bug when request.user becomes unattached from session (?)
this sure seems unexpected.  so far the behavior has only been seen on
mobile when a new ordering batch was created
2017-08-02 13:18:19 -05:00
Lance Edgar 961249722f Some tweaks to ordering batch views 2017-08-02 13:18:05 -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 3820891277 Fix batch links when viewing purchase object 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 5b35c3dd3b Make login template use same logo as home page 2017-07-31 13:58:38 -05:00
Lance Edgar 39cf32bb0a Allow master view to decide whether each grid checkbox is checked
aka. un-break what the v3 grids broke..
2017-07-26 17:10:44 -05:00
Lance Edgar d3bc1abb57 Add some more support for product inventory and status 2017-07-19 03:08:32 -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 69778a4682 Fix import bug 2017-07-18 13:26:04 -05:00
Lance Edgar bea28e97e9 Expose version history for all supported tables
mostly for sake of products, but various..
2017-07-15 02:46:39 -05:00
Lance Edgar 965dac9f43 Refactor (coalesce) all batch-related templates 2017-07-14 22:08:48 -05:00
Lance Edgar 951057d8c2 Refactor / cleanup v2 batch master
also remove old/unused logic from v1 batch master
2017-07-14 21:55:35 -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 55ca7d5117 Remove references to master2 templates 2017-07-14 21:38:46 -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 2a9cf3db49 Fix master view get_effective_data() for v3 grids
used when creating new batch from product results etc.

this also tweaks purchase credits view a bit
2017-07-14 16:43:49 -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 8636db2a53 Add unit cost for inventory batches 2017-07-11 22:40:53 -05:00
Lance Edgar 1791bd745b More tweaks to support mobile inventory batches 2017-07-11 21:59:12 -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 dda79a491f Fix bug with mobile receiving UPC lookup; require stronger perm
doing a UPC lookup for mobile receiving now requires "create batch row"
permissions, since the view is capable of just that
2017-07-11 11:15:26 -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 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 9da7ba21bf Sort mobile receiving batches by ID desc 2017-07-10 16:39:35 -05:00
Lance Edgar 21476d8173 Fix encoding bugs 2017-07-07 00:52:04 -05:00
Lance Edgar 581ced2990 Switch license to GPL v3 (no longer Affero)
refs #2
2017-07-06 23:47:56 -05:00