Issue 2163 #2181

Merged
merged 42 commits into from Nov 28, 2016

Projects

None yet

2 participants

@JustinSainton
Member

No description provided.

jtsternberg and others added some commits Nov 4, 2016
@jtsternberg jtsternberg Kill more $purchlogitem global usage 3fd0959
@jtsternberg jtsternberg Merge branch 'issue-2163' of github.com:wp-e-commerce/WP-e-Commerce i…
…nto issue-2163
7f3d583
@jtsternberg jtsternberg Add utility methods for getting forms data in different ways 2a4b5f5
@jtsternberg jtsternberg Refactor wpsc_purchaselogs_items to use WPSC_Purchase_Log and WPSC_Ch…
…eckout_Form_Data objects.
8f37408
@JustinSainton JustinSainton Favor the get_items() method, over get_cart_contents(). We are not, i…
…n fact, getting cart contents - we are getting order items - legacy table names be darned.
777306a
@JustinSainton JustinSainton Capitalize classes WPSC_Cart and WPSC_Cart_Item. Backwards-compatible…
…, as PHP class names are case-insensitive.
d387fb0
@jtsternberg jtsternberg Static WPSC_Purchase_Log::update_cache is now just a wrapper for call…
…ing the WPSC_Purchase_Log::update_caches method
7337654
@jtsternberg jtsternberg Static WPSC_Purchase_Log::delete_cache is now just a wrapper for call…
…ing the WPSC_Purchase_Log::delete_caches method
e5786c5
@jtsternberg jtsternberg Fix typos
4e64950
@jtsternberg jtsternberg Add note about delete_caches params being for back-compat
429f8f9
@jtsternberg jtsternberg Add a contextual document title on sales log view pages
ee21836
@JustinSainton JustinSainton Scrutinize PR. c80e411
@JustinSainton JustinSainton No longer necessary to pass object to update_caches() method. 52e80f7
@JustinSainton JustinSainton Docs improvements. d1b9264
@JustinSainton JustinSainton Stub for new wpsc_get_order() helper function. 995c223
@JustinSainton JustinSainton Log property should be a log object, not checkout form data object.
a804ed5
@jtsternberg jtsternberg Add reset method to WPSC_Query_Base e200a66
@jtsternberg jtsternberg Be sure $exists is set with each fetch() e747906
@jtsternberg jtsternberg WPSC_Coupon now also extends WPSC_Query_Base f173182
@jtsternberg jtsternberg add WPSC_Purchase_Log::form_data for initiating WPSC_Checkout_Form_Da…
…ta object
751a8c5
@jtsternberg jtsternberg fix shipping_name missing last name
4b7a210
@jtsternberg jtsternberg Replace log cart language with "item"
c99560a
@jtsternberg jtsternberg Update @return docs for the fetch methods
0023ab5
@jtsternberg jtsternberg Implement contact details editing for logs.
7341bd7
@JustinSainton

Out of curiosity, why was this removed?

Contributor

B/c there is already an exit statement in _wpsc_download_purchase_log_csv()

@JustinSainton

Should be checking for WPSC_Purchase_Log?

Contributor

No. :)

Contributor

To clarify, the $purchase_log_id is only used to get the form data. This allow sending in the form data object instead of needing to initiate a new one.

jtsternberg and others added some commits Nov 15, 2016
@jtsternberg jtsternberg Introduce multiple_meta static key definition, and use to get multiple
Also _wpsc_doing_it_wrong for when get()-ing 'notes' key
bf34c72
@jtsternberg jtsternberg Introduce better sales log notes. Re: #194, for #2165 ad4e15a
@jtsternberg jtsternberg Hookup adding/deleting notes via ajax
f46aebc
@JustinSainton JustinSainton Pass item_id to remove_item() method.
e68935c
@jtsternberg jtsternberg move shipping/billing display output to separate methods 826ebbc
@jtsternberg jtsternberg Hook up ajax-saving for log-page contact-details editing
81c75a0
@jtsternberg jtsternberg Ajax-load payment details as well, since fields are ajax-editable
3ff6965
@jtsternberg jtsternberg Move to proper WP metaboxes on log screen
afa611e
@jtsternberg jtsternberg Move to proper WP metaboxes on log screen b2cfaba
@jtsternberg jtsternberg Merge branch 'issue-2163' of github.com:wp-e-commerce/WP-e-Commerce i…
…nto issue-2163
4a32ef4
@jtsternberg jtsternberg Add a edit-contact-details cancel button
0a01775
@jtsternberg jtsternberg Clean up log pagination styling 5872a28
@jtsternberg jtsternberg Include item shipping when calculating the total log shipping total
c016d76
@JustinSainton JustinSainton If we're going to reference a global, we better darn well define it.
7e4fbb8
@jtsternberg
Contributor

❤️ 🌏als

JustinSainton added some commits Nov 25, 2016
@JustinSainton JustinSainton Add helper function for payment gateway support checking 3d44d83
@JustinSainton JustinSainton Add action for registering metaboxes.
f2053a8
@JustinSainton JustinSainton Add base method for processing refunds.
2842a25
@JustinSainton JustinSainton Minor whitespace and docs cleanup
b7a785e
@JustinSainton JustinSainton merged commit d8f22bf into master Nov 28, 2016

1 of 3 checks passed

continuous-integration/travis-ci/pr The Travis CI build could not complete due to an error
Details
continuous-integration/travis-ci/push The Travis CI build is in progress
Details
Scrutinizer 19 new issues, 141 updated code elements
Details
@JustinSainton JustinSainton deleted the issue-2163 branch Nov 28, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment