Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Refactor #58

Closed
wants to merge 220 commits into from

7 participants

@iampersistent

No description provided.

cordoval and others added some commits
@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 Add $id to BaseProduct cf6dc97
@wjzijderveld wjzijderveld 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 cordoval fix failing test due to unimplemented quantity accessors and default …
…to 1
cafbbb9
@cordoval cordoval == --> === on the very off chance to be 0 36aea09
@cordoval 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 cordoval sample of refactor for fluent interface 3cc58ff
@cordoval cordoval add and fix more fluency 49117c2
@cordoval cordoval some more d2a377e
@iampersistent iampersistent add fluency to BaseProduct 262ef1f
@cordoval 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 cordoval more fluency b44ab71
@iampersistent iampersistent make the incomplete test 315f0f0
@cordoval cordoval move interfaces from billing bundle to core c6ff121
@iampersistent iampersistent move manager interface to VespolinaBilling e37ab4a
@iampersistent iampersistent fix filename 97a3092
@iampersistent iampersistent add addition methods to BillingAgreementInterface, implement aa08c17
@iampersistent iampersistent inital commit 164b481
@iampersistent iampersistent update the tests to the current needs 5bb9f26
@iampersistent iampersistent update test, start implementing 8c0f2ff
@cordoval cordoval Update composer.json fa5c333
@cordoval cordoval prepare and fix autoload 1fbe120
@cordoval cordoval move things inside an il folder 6975fd0
@cordoval cordoval fix namespace and add method add element ec70203
@cordoval cordoval add setNetValue method and various fixes 8161227
@cordoval cordoval implement addElement 94193db
@cordoval cordoval wip add id and mapping to pricing element cc055c4
@theodorDiaconu theodorDiaconu fixed entities 70a52a3
@theodorDiaconu theodorDiaconu added pricing provider 4828127
@theodorDiaconu theodorDiaconu pricing set updates f2a743f
@iampersistent iampersistent add initial charge to recurring element 3f943cc
@iampersistent iampersistent use netValue as the the initial charge, set recurring charge as its o…
…wn value
334bfcb
@iampersistent iampersistent get the tests for pricing sets working 4a35b06
@iampersistent iampersistent update the provder to use PricingSet object 5ed4186
@iampersistent iampersistent update the mapping for PricingElement bdd73fa
@cordoval cordoval temp commenting 70b7799
@cordoval cordoval fix for the case where getPricingElements returns array() and process…
…ed = this-processed
7e557b4
@theodorDiaconu theodorDiaconu updated order e4ad35e
@theodorDiaconu 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 cordoval add fluency 85b3b86
@jcroll jcroll Fixed doctrine mapping error 24abc76
@theodorDiaconu theodorDiaconu changes af2ad82
@cordoval cordoval put body of cart into order entity a8bf5ab
@iampersistent iampersistent add pricing recurring element f80fced
@theodorDiaconu theodorDiaconu added base partner 079fe7a
@theodorDiaconu theodorDiaconu modified back to parent 9c3224b
@theodorDiaconu theodorDiaconu removed duplicate 85b598f
@theodorDiaconu theodorDiaconu product fd6540e
@theodorDiaconu theodorDiaconu added ids 5e1dcba
@cordoval cordoval remove some line breaks 4d443f2
@cordoval cordoval update partner interface to use the new interface 2cf00dd
@cordoval cordoval remove some line breaks cc63b34
@theodorDiaconu theodorDiaconu updated pricing set and order price provider f00c2d4
@theodorDiaconu theodorDiaconu removed interface from pricinv provider [temporarily only] 1218d53
@theodorDiaconu theodorDiaconu updated pricing set and recurring element e1b85fd
@theodorDiaconu 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 cordoval fix relations and add form types 9464e66
@cordoval cordoval wip 194a89a
@iampersistent iampersistent updates to pricing 6a69e4e
@cordoval cordoval fix interface for pricing element ee337bc
@cordoval cordoval add arg to process on pricing element interface 1453f12
@cordoval cordoval switch setPrice to setPriceSet f977485
@cordoval cordoval alter getPriceSet to getPricingSet 84e1aa6
@cordoval cordoval patch ff3a3a6
@theodorDiaconu theodorDiaconu pricing sets updates 8a103fb
@theodorDiaconu theodorDiaconu base order updates 1a43f2c
@jcroll jcroll Added constructor for one-to-many association dde0c91
@iampersistent iampersistent addition information for the BillingAgreement b0ccb03
@jmgtan jmgtan Added the attributes for the addresses collection in form type 2c86306
@theodorDiaconu theodorDiaconu updated pricing 1861da7
@cordoval cordoval make details from partner fluent d27094f
@cordoval cordoval add shortname property fa1e541
@jcroll jcroll Tell whether partner is paying by credit card e3dabc0
@jcroll jcroll Added radio for isPayByCreditCard 9e9eaab
@jcroll jcroll fluid interface ef46ab1
@cordoval cordoval fix docblock on OrderInterface 1dfd42c
@iampersistent iampersistent additions to BillingAgreement 2c99c0f
@theodorDiaconu theodorDiaconu added payment profile and linked partner to it c27203f
@theodorDiaconu theodorDiaconu added pay profile on construct 517a5bb
@theodorDiaconu theodorDiaconu modified attributes for product ffe8fcf
@jcroll 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 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 cordoval add missing use statement and add slug fluency f3856f5
@theodorDiaconu theodorDiaconu events update 9f9f29c
@cordoval cordoval Update lib/Vespolina/Entity/Order/OrderEvents.php 6cf26db
@theodorDiaconu theodorDiaconu fixed getParent @return c0ac76a
@jcroll jcroll Moved address to parent class 8e33643
@jcroll jcroll More address properties 8da4a7b
@cordoval cordoval wip ecb42c2
@cordoval cordoval fix couple of docblocks d4a54b9
@theodorDiaconu 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 theodorDiaconu small check on partner existence ef2cca8
@jmgtan 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 inspiran Added missing interfaces 27ec95d
@iampersistent iampersistent remove unneeded forms 6344187
@inspiran inspiran Fixed namespace issue with TotalValueElement 0ae4adf
@inspiran inspiran Adjusted pricing context to use Pimple e11377a
@inspiran inspiran Adjusted composer 48d189e
@iampersistent iampersistent revert BaseOrder addItem d5037fe
@iampersistent iampersistent Add UPDATE_ITEM_QUANTITY event 37ca2e7
@iampersistent iampersistent Add PRE_PROCESS_ORDER and POST_PROCESS_ORDER 2ac213b
@iampersistent iampersistent Missed commas ce45165
@inspiran inspiran Fixed several tests 05838f8
@inspiran inspiran Added order date field, the date when the order was made (might be di…
…fferent from the order create date)
0290d2f
@inspiran inspiran Adjusted pricing set to implement ArrayAccess interface for convenience dc85d2b
@inspiran inspiran Moving tax related entities away from TaxationBundle 585f640
@iampersistent iampersistent remove partner so owner is used consistently & CS 54d8227
@inspiran 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 inspiran Added basic fields to the billing request entity 1ea6070
inspiran * Added tracking of consumption data (eg. bandwith consumed)
* Added billing period start & end
3f21e81
@inspiran 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
Something went wrong with that request. Please try again.