summaryrefslogtreecommitdiff
path: root/billing/app
AgeCommit message (Collapse)Author
2014-02-10rename authorize to require_loginAzul
authorize_admin -> require_admin also add require_token which will ensure token has been used for auth.
2013-12-17Merge branch 'develop' into feature/billing-no-authenticated-paymentsjessib
Conflicts: billing/config/locales/en.yml
2013-10-17Some cleanup of code to deal with past due subscriptions.jessib
2013-10-15Add permissions to subscriptions index, and fix test to stub the ↵jessib
subscription's balance.
2013-10-10Admins can cancel pastdue subscriptions, but users cannot cancel their own ↵jessib
pastdue subscription, as then admins won't be able to search for them.
2013-10-08Consider pending & past due subscriptions as 'active' in the sense that they ↵jessib
should prevent one from adding a new subscription.
2013-10-08Payments made when authenticated will be donations, and not connected to ↵jessib
customer in any way.
2013-10-08Minor tweaks.jessib
2013-10-03And removing comment..jessib
2013-10-03Some refactoring of displayed of past-due subscriptions.jessib
2013-10-01Allow admins to view past-due subscriptions.jessib
2013-09-18test subscription owner via credit card not transactionsAzul
There might not have been any transactions. Fixes the functional test
2013-09-09First run at having admins cancel user subscriptions.jessib
2013-08-30also replace find_by_param in billing engineAzul
2013-08-22Some more billing cleanup.jessib
2013-08-09fix billing tests to use user id with customer resourcesAzul
I think this is very confusing and should be changed to: resource :users do |user| user.resource :customer end
2013-08-08Still a bit hacky, but catching some more corner cases as far as setting the ↵jessib
user variable, due to complication that an admin might be accessing data for another user.
2013-08-06Some more tweaks to have billing code work, and allow admins to view but not ↵jessib
edit for other users.
2013-08-01Start to functionality for admins viewing billing of other users.jessib
2013-07-25Have navigation link to new customer form if user is not already a braintree ↵jessib
customer.
2013-07-23Maybe not optimized, but gets working.jessib
2013-07-23More little display cleanup.jessib
2013-07-23Some clean-up of billing display.jessib
2013-07-23Some navigation tweaks.jessib
2013-07-22Slight tweaks so navigation basically should work with billing.jessib
2013-07-17billing: helper for the typical BraintreeFormAzul
2013-07-17billing: functional test for payments controllerAzul
2013-07-17billing: update customer records - do not create new onesAzul
2013-07-17billing: fix issue with customer.braintree_customerAzul
The default CouchRest Model belongs_to does not respect the class option. So we need to write our own getter method.
2013-07-17use fake_braintree, fix and test customer with braintree infoAzul
2013-07-17test non braintree parts of customer, validate userAzul
2013-07-17More cleanup of billing code.jessib
2013-07-17Fix issue with transparent redirect if form is first submitted incorrectly. ↵jessib
Based on: https://github.com/bvsatyaram/braintree_ruby_examples/commit/00f4852af60f0b1aae188fb11a9d5d06780d1539
2013-07-17Back to singular-customer controller, in hopes that would help some confusions.jessib
2013-07-17Some links at end of confirmation pages.jessib
2013-07-17Note about knowing sort order for returned transactionsjessib
2013-07-17Display 3 most recent transactions on a customer's page, with a link to all ↵jessib
of their transactions.
2013-07-17Show single active subscription from user's page, with link to index showing ↵jessib
all the user's subscriptions.
2013-07-17Added notices to redirects.jessib
2013-07-17Changing customers route to be plural.jessib
2013-07-17Some improvements to navigation, and pulling out separate show/edit views ↵jessib
for customers.
2013-07-17Basic functionality to edit credit card on file.jessib
2013-07-17Basic display of a customer's transaction informationjessib
2013-07-17Some permission checks for viewing/cancelling subscriptions.jessib
2013-07-17Allow subscriptions to be canceled.jessib
2013-07-17Displaying of user's subscription. Still not committed to whether user can ↵jessib
have multiple subscriptions at a time or not.
2013-07-17Much more efficient way to get a customer's subscriptions, thanks to ↵jessib
http://stackoverflow.com/questions/15910980/retrieving-a-braintree-customers-subscriptions
2013-07-17Display of subscription information on a customer's edit page. It is *super* ↵jessib
slow. Posted stackoverflow question as not clear if there is more efficient way to get this information via braintree API.
2013-07-17Some tweaks to optimize number of requests to braintree API.jessib
2013-07-17Some refactoringjessib