Refactor #58

Closed
wants to merge 220 commits into
from

Projects

None yet

6 participants

@iampersistent
Member

No description provided.

cordoval and others added some commits Dec 2, 2012
@cordoval cordoval Update .travis.yml
composer comes install in travis

https://github.com/Cilex/Cilex/pull/23/files
cbbb6ec
@iampersistent iampersistent Merge pull request #19 from cordoval/patch-1
Update .travis.yml
886da32
@inspiran inspiran Added partner models & interfaces 48b4130
@cordoval cordoval Update composer.json cbb5d62
@iampersistent iampersistent Merge pull request #27 from cordoval/patch-3
Update composer.json
7040d48
@iampersistent iampersistent move cart and order related entities into Order namespace 1d539d5
@iampersistent iampersistent update the tests to match the Order namespace reorganization 232b980
@iampersistent iampersistent add a test to make sure the product ValidationOptions is called 23d5483
@iampersistent iampersistent add product ValidateOptions f43d270
@iampersistent iampersistent remove option functionality except set and clear. It doesn't make sen…
…se to partially set options and it also prevents option validation
bcf7514
@iampersistent iampersistent add some simple event dispatching 30eadd6
@iampersistent iampersistent create an Event class, update interface 5c1342d
@iampersistent iampersistent add setting and getting a name for the cart e781558
@iampersistent iampersistent move the excpetions out of the Entity namespace 7794691
@iampersistent iampersistent allow the Product to be set when an Item is constructed c414c06
@iampersistent iampersistent add PricingSet to entities a88d663
@iampersistent iampersistent add pricingSet to Item 0bae23b
@iampersistent iampersistent fix namespace in pricingset 7705c57
@iampersistent iampersistent updates to items concerning the pricing set 4802596
@iampersistent iampersistent add pricing context to entities 94681fc
@iampersistent iampersistent add a test to make sure the product ValidationOptions is called 48a68e4
@iampersistent iampersistent add product ValidateOptions 0066d5e
@iampersistent iampersistent remove option functionality except set and clear. It doesn't make sen…
…se to partially set options and it also prevents option validation
611a534
@iampersistent iampersistent move the excpetions out of the Entity namespace 2df6178
@iampersistent iampersistent allow the Product to be set when an Item is constructed c159dc5
@iampersistent iampersistent add pricingSet to Item c979e81
@iampersistent iampersistent updates to items concerning the pricing set 4d2d4cc
@iampersistent iampersistent use the php Exception, since this section of code is going to be refa…
…ctored
ceabac3
@iampersistent iampersistent add methods to auto set the created at and updated at timestamps eea928f
@iampersistent iampersistent fucking typo d46ae34
@iampersistent iampersistent add $id to entity 9d4d51f
@iampersistent iampersistent create a new event from dispatcher 425bb7b
@iampersistent iampersistent remove name from the createEvent params, add api docs 0a87311
@iampersistent iampersistent update CartEvents consts 31fcf00
@iampersistent iampersistent remove Event from Core, it must be implement based on the system fb75240
@iampersistent iampersistent change method names from (s)(g)etPricingSet to (s)(g)etPricing 296483f
@iampersistent iampersistent update the tests to match the Order namespace reorganization daba9d6
@iampersistent iampersistent add a test to make sure the product ValidationOptions is called e1b89c9
@iampersistent iampersistent add product ValidateOptions 6382516
@iampersistent iampersistent remove option functionality except set and clear. It doesn't make sen…
…se to partially set options and it also prevents option validation
d256a14
@iampersistent iampersistent create an Event class, update interface 3d8d20d
@iampersistent iampersistent move the excpetions out of the Entity namespace 852465e
@iampersistent iampersistent allow the Product to be set when an Item is constructed 457dbbd
@iampersistent iampersistent add a test to make sure the product ValidationOptions is called 96c72c0
@iampersistent iampersistent add product ValidateOptions 0359964
@iampersistent iampersistent remove option functionality except set and clear. It doesn't make sen…
…se to partially set options and it also prevents option validation
65f9339
@iampersistent iampersistent move the excpetions out of the Entity namespace 0eef320
@iampersistent iampersistent allow the Product to be set when an Item is constructed d29d05b
@iampersistent iampersistent remove Event from Core, it must be implement based on the system d14434d
@iampersistent iampersistent move product classes into product folder ada88d0
@iampersistent iampersistent extract a base product class to be shared between product and merchan…
…dise
331ec04
@iampersistent iampersistent remove base product functions from product b9f97a4
@iampersistent iampersistent add Merchandise 824c9ec
@iampersistent iampersistent fix typo 5b28c3f
@iampersistent iampersistent CS 7428427
@iampersistent iampersistent load product into merchandise c3b0432
@iampersistent iampersistent add asset from ProductBundle 1335e08
@iampersistent iampersistent change filename to src to better reflect what its job is 523ec7e
@iampersistent iampersistent CS 189cce2
@iampersistent iampersistent add media to base product class, get tests passing 6dbf1e1
@iampersistent iampersistent add assets to merchandise d205768
@iampersistent iampersistent typo in folder name c42203a
@iampersistent iampersistent updates for loading Product into Merchandise 2446862
@iampersistent iampersistent add setter and getter for slug 4ca9da8
@iampersistent iampersistent add taxonomy to products e886fc9
@iampersistent iampersistent add SalesChannel to core 6d6cc1f
@iampersistent iampersistent changes SalesChannel to Channel 9fb6b44
@iampersistent iampersistent rename the Feature class Attribute 66640e0
@iampersistent iampersistent get rid of stray FeatureInterface ad8f185
@iampersistent @iampersistent iampersistent Add $id to BaseProduct cf6dc97
@iampersistent Willem-Jan Zijderveld Namespace fix d9cbdf7
@iampersistent iampersistent move taxonomy from taxonomy library 6de51d7
@iampersistent iampersistent namespace fix bf46ef6
@iampersistent iampersistent namespace fixes dfd0dbf
@iampersistent iampersistent fix namespace in test 41375f9
@iampersistent iampersistent typo f41f00e
@iampersistent iampersistent namespace fix 3f21fea
@iampersistent iampersistent updates to properties 36c6cfa
@iampersistent iampersistent remove redundant properties 380c8f3
@iampersistent iampersistent initial commit of PricingElement ab82974
@iampersistent iampersistent add interfaces for proccesing and getting the processed value 98b8c3f
@iampersistent iampersistent add interface to PricingContext for the quantity of items 2cebc26
@iampersistent iampersistent tests for updates in interface 8682fa5
@cordoval @iampersistent cordoval fix failing test due to unimplemented quantity accessors and default …
…to 1
cafbbb9
@cordoval @iampersistent cordoval == --> === on the very off chance to be 0 36aea09
@cordoval @iampersistent cordoval fix test the right way affecting Merchant constructor rather than test 917c415
@iampersistent iampersistent move invoice classes into Invoice namespace 825830f
@iampersistent iampersistent add Orders to the Invoice 1ae5616
@iampersistent iampersistent add methods to invoice class 7a43444
@iampersistent iampersistent move properties and methods from Cart to BaseOrder 7bb7db1
@iampersistent iampersistent add billing period to Invoice c8e40ec
@iampersistent iampersistent updates to classes and add tests for mapping 50d782c
@iampersistent iampersistent add InvalidInterfaceException 9cdf634
@cordoval @iampersistent cordoval sample of refactor for fluent interface 3cc58ff
@cordoval @iampersistent cordoval add and fix more fluency 49117c2
@cordoval @iampersistent cordoval some more d2a377e
@iampersistent iampersistent add fluency to BaseProduct 262ef1f
@cordoval @iampersistent cordoval make partner more fluent and fix test 9544c48
@iampersistent iampersistent add attributes to items that can carry additional information about t…
…heproduct bein purchased
87f99cb
@cordoval @iampersistent cordoval more fluency b44ab71
iampersistent and others added some commits Jan 23, 2013
@iampersistent iampersistent update the provder to use PricingSet object 5ed4186
@iampersistent iampersistent update the mapping for PricingElement bdd73fa
@cordoval @iampersistent cordoval temp commenting 70b7799
@cordoval @iampersistent cordoval fix for the case where getPricingElements returns array() and process…
…ed = this-processed
7e557b4
@theodorDiaconu @iampersistent theodorDiaconu updated order e4ad35e
@theodorDiaconu @iampersistent theodorDiaconu updated orderpricing 9f284c3
@iampersistent iampersistent update mapping for pricing set and elements b366385
@iampersistent iampersistent fix process for adding items price in order 1ed3120
@cordoval @iampersistent cordoval add fluency 85b3b86
@jcroll @iampersistent jcroll Fixed doctrine mapping error 24abc76
@theodorDiaconu @iampersistent theodorDiaconu changes af2ad82
@cordoval @iampersistent cordoval put body of cart into order entity a8bf5ab
@iampersistent iampersistent add pricing recurring element f80fced
@theodorDiaconu @iampersistent theodorDiaconu added base partner 079fe7a
@theodorDiaconu @iampersistent theodorDiaconu modified back to parent 9c3224b
@theodorDiaconu @iampersistent theodorDiaconu removed duplicate 85b598f
@theodorDiaconu @iampersistent theodorDiaconu product fd6540e
@theodorDiaconu @iampersistent theodorDiaconu added ids 5e1dcba
@cordoval @iampersistent cordoval remove some line breaks 4d443f2
@cordoval @iampersistent cordoval update partner interface to use the new interface 2cf00dd
@cordoval @iampersistent cordoval remove some line breaks cc63b34
@theodorDiaconu @iampersistent theodorDiaconu updated pricing set and order price provider f00c2d4
@theodorDiaconu @iampersistent theodorDiaconu removed interface from pricinv provider [temporarily only] 1218d53
@theodorDiaconu @iampersistent theodorDiaconu updated pricing set and recurring element e1b85fd
@theodorDiaconu @iampersistent theodorDiaconu fixed pricing provider when no pricing context supplied e264fc0
@iampersistent iampersistent handle missing processed key bb8a430
@iampersistent iampersistent handle startsOn date in RecurringElement::process() 7e0256d
@cordoval @iampersistent cordoval fix relations and add form types 9464e66
@cordoval @iampersistent cordoval wip 194a89a
@iampersistent iampersistent updates to pricing 6a69e4e
@cordoval @iampersistent cordoval fix interface for pricing element ee337bc
@cordoval @iampersistent cordoval add arg to process on pricing element interface 1453f12
@cordoval @iampersistent cordoval switch setPrice to setPriceSet f977485
@cordoval @iampersistent cordoval alter getPriceSet to getPricingSet 84e1aa6
@cordoval @iampersistent cordoval patch ff3a3a6
@theodorDiaconu @iampersistent theodorDiaconu pricing sets updates 8a103fb
@theodorDiaconu @iampersistent theodorDiaconu base order updates 1a43f2c
@jcroll @iampersistent jcroll Added constructor for one-to-many association dde0c91
@iampersistent iampersistent addition information for the BillingAgreement b0ccb03
@jmgtan @iampersistent jmgtan Added the attributes for the addresses collection in form type 2c86306
@theodorDiaconu @iampersistent theodorDiaconu updated pricing 1861da7
@cordoval @iampersistent cordoval make details from partner fluent d27094f
@cordoval @iampersistent cordoval add shortname property fa1e541
@jcroll @iampersistent jcroll Tell whether partner is paying by credit card e3dabc0
@jcroll @iampersistent jcroll Added radio for isPayByCreditCard 9e9eaab
@jcroll @iampersistent jcroll fluid interface ef46ab1
@cordoval @iampersistent cordoval fix docblock on OrderInterface 1dfd42c
@iampersistent iampersistent additions to BillingAgreement 2c99c0f
@theodorDiaconu @iampersistent theodorDiaconu added payment profile and linked partner to it c27203f
@theodorDiaconu @iampersistent theodorDiaconu added pay profile on construct 517a5bb
@theodorDiaconu @iampersistent theodorDiaconu modified attributes for product ffe8fcf
@jcroll @iampersistent jcroll Trying to create inheritance
More work
Working now
Moved child classes to sub directory
More updates
More work on payment profile
New partner property paymentProfileType
491edb6
@theodorDiaconu @iampersistent theodorDiaconu attribute interface back, and fixed item and orders 89f5f33
@iampersistent iampersistent add initial state of some properties for BillingAgreement 966d7c8
@iampersistent iampersistent add BillingRequest class d894f57
@cordoval @iampersistent cordoval add missing use statement and add slug fluency f3856f5
@theodorDiaconu @iampersistent theodorDiaconu events update 9f9f29c
@cordoval @iampersistent cordoval Update lib/Vespolina/Entity/Order/OrderEvents.php 6cf26db
@theodorDiaconu @iampersistent theodorDiaconu fixed getParent @return c0ac76a
@jcroll @iampersistent jcroll Moved address to parent class 8e33643
@jcroll @iampersistent jcroll More address properties 8da4a7b
@cordoval @iampersistent cordoval wip ecb42c2
@cordoval @iampersistent cordoval fix couple of docblocks d4a54b9
@theodorDiaconu @iampersistent theodorDiaconu fixed entities to work with the new mapping 9269115
@iampersistent iampersistent update to use Pimple extended PricingContext df2f9ad
@iampersistent iampersistent plus method for adding one pricing set to another 60565c1
@iampersistent iampersistent allow plus() to work with null set d78fd2a
@iampersistent iampersistent skip non scalars in plus() d768afe
@iampersistent iampersistent change in the behavior on the recurring intervals 81aad9e
@theodorDiaconu @iampersistent theodorDiaconu small check on partner existence ef2cca8
@jmgtan @iampersistent jmgtan Changed from using vespolina_address to payment profile for the billi…
…ng state, this is inline with the state that's being displayed
028b3d0
@inspiran @iampersistent inspiran Added missing interfaces 27ec95d
@iampersistent iampersistent remove unneeded forms 6344187
@inspiran @iampersistent inspiran Fixed namespace issue with TotalValueElement 0ae4adf
@inspiran @iampersistent inspiran Adjusted pricing context to use Pimple e11377a
@inspiran @iampersistent inspiran Adjusted composer 48d189e
@iampersistent iampersistent revert BaseOrder addItem d5037fe
@iampersistent @iampersistent iampersistent Add UPDATE_ITEM_QUANTITY event 37ca2e7
@iampersistent @iampersistent iampersistent Add PRE_PROCESS_ORDER and POST_PROCESS_ORDER 2ac213b
@iampersistent @iampersistent iampersistent Missed commas ce45165
@inspiran @iampersistent inspiran Fixed several tests 05838f8
@inspiran @iampersistent inspiran Added order date field, the date when the order was made (might be di…
…fferent from the order create date)
0290d2f
@inspiran @iampersistent inspiran Adjusted pricing set to implement ArrayAccess interface for convenience dc85d2b
@inspiran @iampersistent inspiran Moving tax related entities away from TaxationBundle 585f640
@iampersistent iampersistent remove partner so owner is used consistently & CS 54d8227
@inspiran @iampersistent inspiran Added OwnerNotes for Cart & Order, InternalNotes for Order 6ece735
@iampersistent iampersistent pass global Elements and related fixes e9fdf7d
@iampersistent iampersistent start refactoring of pricing set processed values and properties 5b326b0
@iampersistent iampersistent add attribute methods to product 9b6049f
@iampersistent iampersistent updates to pricing set code 5b309d8
@iampersistent iampersistent rename PricingElementValueInterface 0bf4caa
@iampersistent iampersistent updating elements d1c4835
@inspiran @iampersistent inspiran Added basic fields to the billing request entity 1ea6070
@iampersistent inspiran * Added tracking of consumption data (eg. bandwith consumed)
* Added billing period start & end
3f21e81
@inspiran @iampersistent inspiran * Adjusted billing agreement fields
* Added fiscal year & invoice type to Invoice
* Added an InvoiceItem interface
2008221
@iampersistent iampersistent remove BasePartner, update Partner to match interface 9356642
@iampersistent iampersistent updates to payment profiles, add bitcoin profile 8a26ed8
@iampersistent iampersistent CS for Partner add tests and methods for payment profiles 90aac07
@iampersistent iampersistent add a PayPal payment profile 73d20ed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment