GitHub PushEvent at 2014-01-16 08:44:21
Repository: WP-e-Commerce
Actor: benhuson
Payload: {"shas":[["45e184a127d69b2fba639117dbad68da336aebe0","fbc81c63646b1a369b20303eaeb363962c86a826@reactorshop.com","See #756 UPS/USPS modules try to calculate rates over and over\n\nHere are the modifications indicated in issue #756:\n\na) Modified the TXT_WPSC_OVER_UPS_WEIGHT constant to\nTXT_WPSC_OVER_WEIGHT in wpsc-languages/EN_en.php. The text now reads:\n\"Your order exceeds the standard shipping weight limit. Please contact\nus to quote other shipping alternatives.\". This text is now used in\nboth USPS and UPS weight limit checks.\n\nb) Added a checkbox to provide the ability of disabling international\nshipping, for those who don't want to offer it. The standard behavior\nis not affected (Enabled). This is part of the getQuote initial\nconditions check.\n\nc) The UPS module getQuote filter now matches the more efficient USPS\nrates initial conditions check. The data checked is the destination\ncountry, zip code, and shipment weight. Then there's a shipper weight\nlimit check if you want the whole shipment to be rated as one envelope.\nIf any of these data checks fail, bail. If these datas checks are ok,\ncheck cache and return the rate table if found. Else, continue the rate\ntable request process.\n\nd) The UPS cache check process now matches the USPS cache check\nprocess, which uses less variables.\n\ne) Moved UPS's shipment being assigned at the constructor to getQuote\n(right after the bail checks). This avoids the shipment being assigned\nto the ash_ups class every time this class is instantiated during each\nsession, matching the USPS module behavior.\n\nf) I removed some redundant variable assignments done at the end of\ngetQuote (rates_expire, set_destination). These values have already\nbeing assigned before the cache check.\n\ng) I'm assigning the shipper's internal name to the $args (UPS) or\n$data (USPS) arrays, so the wpsc_cart_shipment hook $this->name\nparameter is now changed to $args or $data, depending on the shipper\nmodule. I'm using this hook to apply a partitioning problem/bin packing\nalgorithm to reduce the package quantity, and therefore reduce the\nshipping cost. It's a new hook, so at this point no one else should be\naffected with this modification.\n\nh) I'm adding a new hook called wpsc_shipment_data, after setting the\nquote request data and before requesting the quote. I'm using this hook\nto check if the shipment could be rated as shipped as an envelope\n(movies), instead of packages, to modify on the shipment type data flag.\n\ni) I'm adding another hook called wpsc_rates_table right before\nreturning the rates table. I use this to add packaging costs to the\nrates, based on the shipment contents.\n\nIf you have any questions or comments, please don't hesitate to ask.","ReactorShop",false],["f78e66249121bab564193f69dcef6153397859c9","fbc81c63646b1a369b20303eaeb363962c86a826@reactorshop.com","Revert \"See #756 UPS/USPS modules try to calculate rates over and over\"\n\nThis reverts commit 45e184a127d69b2fba639117dbad68da336aebe0.","ReactorShop",false],["de016f0f0901652ff0114ec6779228d17e548d6e","fbc81c63646b1a369b20303eaeb363962c86a826@reactorshop.com","PR for issue #756 UPS/USPS modules try to calculate rates over and over with corrected spacing\n\nSame commit, but corrected spacing and removed the EN_en.php file\nmodification, in favor of __('Your order exceeds the standard shipping\nweight limit. Please contact us to quote other shipping\nalternatives.','wpsc’).","ReactorShop",false],["2f95e54134c933bd850b59384f6c84256488ba2a","fbc81c63646b1a369b20303eaeb363962c86a826@reactorshop.com","Revert \"PR for issue #756 UPS/USPS modules try to calculate rates over and over with corrected spacing\"\n\nThis reverts commit de016f0f0901652ff0114ec6779228d17e548d6e.","ReactorShop",false],["6bd9be98d8525a1e62a447c884ef4c4abf9c7c98","fbc81c63646b1a369b20303eaeb363962c86a826@reactorshop.com","PR for issue #756 UPS/USPS modules try to calculate rates over and over (missed 2 spacings)\n\nSame commit, but noticed I missed respacing 2 lines.","ReactorShop",false],["cb47175d782d40c85cdc57543a55f54c752d2898","73675debcd8a436be48ec22211dcf44fe0df0a64@thewhiteroom.net","Product admin pre WordPress 3.8 CSS compatibility.","Ben Huson",false],["93c446f98b147543342a4a89ecc6ee48f92e1266","f30b7ba503fc57a257b460080777e56966a7db63@gmail.com","Merge pull request #789 from benhuson/issue_777_wp37-admin-css\n\nProduct admin pre WordPress 3.8 CSS compatibility.","JustinSainton",false],["ed382d2fc28daa89b52cb1a6e9e90af413a0be0a","a1908e0e7bdf3bc2fbbcb5baa6f9b0f5c0a6a8e5@garyc40.com","Fix: Logging in on checkout page empties shopping cart.","Gary Cao",false],["edfd9f969725bbbbac7ac926f26c2735d7114eac","f30b7ba503fc57a257b460080777e56966a7db63@gmail.com","Merge pull request #790 from garyc40/pr-775\n\nFix: Logging in on checkout page empties shopping cart.","JustinSainton",false],["362e73db9b348ec8a2f11883a9e661ac7ab1b7c5","f30b7ba503fc57a257b460080777e56966a7db63@gmail.com","Fixing fatal error caused by erroneous if() statement in _wpsc_action_setup_customer().","Justin Sainton",false],["487bd852fbd8dadd6e0550ed359fd41c455540e6","fe09bc2ef2737a3258f978e26226dcbac1b3f948@reality66.com","added in the ability to create purchase meta by duplicating existing cart item meta","Benjamin Rojas",false],["96f8351581864f2dbd78b3ad2f9a26f278d1ab57","a9dcef2ede646c3e93dcff7280a669dd2076ae85@gmail.com","Usps Weird characters again\n\nFix for #793","misulicus",false],["395039af306e5848870c8882a296b52261b421c1","f30b7ba503fc57a257b460080777e56966a7db63@gmail.com","Merge pull request #794 from misulicus/patch-6\n\nUsps Weird characters again","JustinSainton",false],["24a24b9e80a912676af908070d722c4e0445492f","a1908e0e7bdf3bc2fbbcb5baa6f9b0f5c0a6a8e5@garyc40.com","Fix wpsc_meta_migrate() omitting 'wpsc_' prefix.","Gary Cao",false],["b24216cc5dfdbfdc0bacc26c53de109505297897","a1908e0e7bdf3bc2fbbcb5baa6f9b0f5c0a6a8e5@garyc40.com","Bump stable tag and changelog.","Gary Cao",false],["b05ae84a4f53b80f53ffa67df5af6b32dbe1c9e2","fe09bc2ef2737a3258f978e26226dcbac1b3f948@benjaminrojas.net","added in spaces to conform to WordPress standards","Benjamin Rojas",false],["77244c09e5422de2e9a45b4f65df7b6a1649b8d0","fe09bc2ef2737a3258f978e26226dcbac1b3f948@benjaminrojas.net","added in missing wpsc_ prefix","Benjamin Rojas",false],["1b79b240f8590ae104ca6caa73b7bacc19da5ae4","fe09bc2ef2737a3258f978e26226dcbac1b3f948@benjaminrojas.net","added braces to adhere to new WP coding standards","Benjamin Rojas",false],["629d5d47ec76eb1ceb9d1a339230923c30777b6c","f30b7ba503fc57a257b460080777e56966a7db63@gmail.com","Merge pull request #791 from benjaminprojas/feature-purchase-meta\n\nAdded Purchase Meta feature","JustinSainton",false],["bd8af62848e9f40feb8e16e3f011bd798403d344","f30b7ba503fc57a257b460080777e56966a7db63@gmail.com","Merge pull request #757 from ReactorShop/master\n\nPR for issue #756 UPS/USPS modules try to calculate rates over and over","JustinSainton",false]],"size":35,"ref":"refs/heads/master","head":"959097c233174c4edac70d997a1122c267500a30"}