summaryrefslogtreecommitdiff
path: root/billing
AgeCommit message (Collapse)Author
2014-04-11move engines into engines directoryAzul
Also renamed help to support so it's harder to confuse it with documentation
2014-04-11moving broken billing integration tests out of the wayAzul
They are currently using fake_braintree. I think this is not a good approach for integration tests. It's a fake - we should test against braintrees test api. However that requires getting an api key that we want to keep outside the repository. So these test can only run on travis if we manage to setup secret values in .travis.yml - which has been failing so far. So for now i moved the broken billing integration tests to billing/test/broken to move on.
2014-04-11make sure billing tests do not interfere with othersAzul
they are still broken though.
2014-04-08moving all of core into toplevel, tests fail.Azul
2014-02-10minor: more robust destruction of records in testsAzul
2014-02-10rename authorize to require_loginAzul
authorize_admin -> require_admin also add require_token which will ensure token has been used for auth.
2014-02-07stop taking screenshot - will happen no failure autmatically nowAzul
2014-02-06integration test with en-EN languageAzul
Tests fail on machines that default to other available languages. Also move setting capybara driver to be javascript driver into the BrowserIntegrationTest.
2014-01-23added default pricing, privacy policy and tos pages.elijah
2013-12-22locale prefix support:elijah
* set locale based on request header * enforce locale path prefix when current locale is not the default * note: don't use root_path anymore, instead use home_path
2013-12-22re-generated Gemfile.lock with the new versions of engine gems. as a side ↵elijah
effect, it also upgraded rails to the the latest in the 3.2 series.
2013-12-20enable billing engine by default, consolidate APP_CONFIG[:payments] and ↵elijah
APP_CONFIG[:braintree] into APP_CONFIG[:billing][:braintree]
2013-12-17Merge branch 'develop' into feature/billing-no-authenticated-paymentsjessib
Conflicts: billing/config/locales/en.yml
2013-10-18use https sources in Gemfiles and also in the documentation (#4109)Azul
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-10Merge branch 'develop' into feature/billing-past-due-subscriptionsjessib
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-07Fix typo in test name.jessib
2013-10-07Updates to billing/README file.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-18minor: include missing CustomerTestHelperAzul
2013-09-18working integration testAzul
2013-09-18refactor: stub_customer test helperAzul
2013-09-18test subscription owner via credit card not transactionsAzul
There might not have been any transactions. Fixes the functional test
2013-09-18failing tests for subscriptionsAzul
functional: test canceling a subscription integration: investigate the issue with creating a subscription
2013-09-17This doesn't actually run any tests, but at least includes what we might ↵jessib
want to test regarding subscriptions.
2013-09-09First run at having admins cancel user subscriptions.jessib
2013-09-03remove the user after integration testing customer creationAzul
2013-09-03different tests need different namesAzul
2013-09-03do not leave behind users in billing unit and functional testsAzul
2013-08-30also replace find_by_param in billing engineAzul
2013-08-22Some more billing cleanup.jessib
2013-08-15Some notes on tests that don't work. (Failing tests are skipped though.)jessib
2013-08-12Remove broken test.jessib
2013-08-12more integration tests for billingAzul
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-08Merge pull request #1 from azul/braintree_conf_from_filejessib
Read Braintree config from file
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-08read braintree configuration from config/config.ymlAzul
This can be set per environment and also is not tracked in git
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