Age | Commit message (Collapse) | Author | |
---|---|---|---|
2020-11-19 | Associate first order to subscriptionnirebu/associate-first-order-to-subscription | Nicolò Rebughini | |
As introduced by an earlier PR, orders were linked back to subscriptions, however that missed to associate the first order because that one is generated in another service object. This adds the aforementioned association also on the first order. | |||
2020-11-16 | Merge pull request #165 from ↵ | Nicolò Rebughini | |
solidusio-contrib/nirebu/ignore-past-unfulfilled-installments Add config to ignore past unfulfilled installments | |||
2020-11-16 | Add config to ignore past unfulfilled installments | Nicolò Rebughini | |
This implements a configuration to ignore past unfulfilled installments for subscriptions upon installments creations. Since failed installments (e.g. because of an expired credit card) are retried indefinitely, they can overlap and also be retried after another subscription cycle began. In this particular case, a customer who fixes their payment method after a new cycle, would be charged for double (or X times as much based on how long it passed) and sent double the quantity of the same product. Because in some cases this is not desirable, this adds a switch to skip any failed past installment when a new installment gets created under the same subscription. | |||
2020-11-16 | Merge pull request #166 from solidusio-contrib/aldesantis/fix-update-form | Alessandro Desantis | |
Fix `ActiveRecord::ReadOnlyRecord` when updating subscriptions | |||
2020-11-16 | Remove admin link spec | Alessandro Desantis | |
This spec was used to test that the Subscriptions item is present in the backend's navbar, but it's redundant as we now have other specs that leverage that same link. | |||
2020-11-16 | Fix `ActiveRecord::ReadOnlyRecord` when updating subscriptions | Alessandro Desantis | |
When updating a subscription that had a billing/shipping address, the admin would get a `ActiveRecord::ReadOnlyRecord` because we were attempting to update the existing address instead of creating a new one. This shouldn't be the case anymore, and a new address will always be created. | |||
2020-10-30 | Merge pull request #162 from igorbp/add-subscription-tab-to-admin-users | Alberto Vena | |
Add Subscriptions tab to User page in Admin | |||
2020-10-30 | Add Subscriptions tab to User page in Admin | Igor Barbosa | |
2020-10-21 | Merge pull request #161 from ↵ | Alessandro Desantis | |
solidusio-contrib/aldesantis/fix-default-customer-permissions Fix DefaultCustomer permission set giving guests access to admin | |||
2020-10-21 | Fix coding style violations | Alessandro Desantis | |
2020-10-21 | Fix `authorize!` calls using strings instead of symbols | Alessandro Desantis | |
CanCan requires `authorize!` calls to specify the name of the action as a symbol, if that's how it was specified in the ability. | |||
2020-10-21 | Fix DefaultCustomer permission set giving guests access to admin | Alessandro Desantis | |
The DefaultCustomer permission set would allow guests to see the subscriptions list (although they wouldn't be able to see any subscriptions). | |||
2020-10-13 | Merge pull request #160 from solidusio-contrib/aldesantis/maximum-retry-period | Alessandro Desantis | |
Add maximum_reprocessing_attempts preference | |||
2020-10-10 | Cancel subscription once it reaches the maximum retry attempts | Alessandro Desantis | |
2020-10-10 | Add maximum_reprocessing_attempts preference | Alessandro Desantis | |
2020-10-10 | Merge pull request #152 from solidusio-contrib/aldesantis/churn-buster | Alessandro Desantis | |
Integrate Churn Buster | |||
2020-10-09 | Rely on automatic event listener subscription | Alessandro Desantis | |
2020-10-09 | Report subscription lifecycle events to Churn Buster | Alessandro Desantis | |
2020-10-09 | Implement Churn Buster API client | Alessandro Desantis | |
2020-10-09 | Fire events for subscription payment method updates | Alessandro Desantis | |
2020-10-09 | Fire events for subscription installment processing | Alessandro Desantis | |
2020-10-09 | Install and configure VCR | Alessandro Desantis | |
2020-10-09 | Merge pull request #159 from solidusio-contrib/aldesantis/permissions-fix | Alessandro Desantis | |
Add scope to permission set | |||
2020-10-09 | Fix coding style violations | Alessandro Desantis | |
2020-10-09 | Fix DefaultCustomer permission set with CanCan 2 | Alessandro Desantis | |
CanCan 2 complains about not being able to merge abilities that use an ActiveRecord scope, so we need to use an SQL string instead. | |||
2020-10-09 | Add a permission set for administrators | Alessandro Desantis | |
2020-10-08 | Add scope to subscription permissions | Alessandro Desantis | |
With an AR scope, `#accessible_by` can be properly used. | |||
2020-10-08 | Merge pull request #158 from solidusio-contrib/aldesantis/guest-token | Alessandro Desantis | |
Enable authorization via guest tokens | |||
2020-10-08 | Migrate to request specs for testing API controllers | Alessandro Desantis | |
2020-10-08 | Use guest token to authorize API controller actions | Alessandro Desantis | |
2020-10-08 | Implement a base API controller class | Alessandro Desantis | |
2020-10-08 | Generate guest_token for all subscriptions | Alessandro Desantis | |
2020-10-07 | Simplify line item management permissions | Alessandro Desantis | |
It isn't possible to manage line items through an order anymore, so we can greatly simplify the permission set. | |||
2020-10-07 | Migrate ability to permission sets | Alessandro Desantis | |
Custom abilities are deprecated in favor of the new permission sets API. | |||
2020-10-05 | Merge pull request #157 from ↵ | Alessandro Desantis | |
solidusio-contrib/aldesantis/remove-repopulated-event Remove subscription_repopulated event | |||
2020-10-05 | Remove subscription_repopulated event | Alessandro Desantis | |
This event is not really useful in its current form. Instead, each store should track repopulation in a way that makes sense for them. | |||
2020-10-05 | Merge pull request #156 from solidusio-contrib/aldesantis/additional-events | Alessandro Desantis | |
Track additional events for subscription updates | |||
2020-10-05 | Track additional events for subscription updates | Alessandro Desantis | |
2020-10-05 | Fix failing LineItem test | Alessandro Desantis | |
The subscription_repopulated event is now created with the details of the subscription, not of the line item that is causing the repopulation. | |||
2020-10-01 | Merge pull request #154 from solidusio-contrib/aldesantis/improve-events | Alessandro Desantis | |
Streamline event emission and tracking | |||
2020-10-01 | Streamline event emission and tracking | Alessandro Desantis | |
2020-10-01 | Merge pull request #155 from solidusio-contrib/aldesantis/refactor-dispatchers | Alessandro Desantis | |
Improve dispatchers API | |||
2020-10-01 | Remove logging from dispatchers | Alessandro Desantis | |
The way it is currently implemented, the default logging behavior from this extension could easily pollute the logs of large applications. Logging should be implemented by individual users if they need it. | |||
2020-10-01 | Merge pull request #153 from solidusio-contrib/aldesantis/config-reformat | Alessandro Desantis | |
Reformat sample configuration file | |||
2020-10-01 | Reformat sample configuration file | Alessandro Desantis | |
2020-09-30 | Merge pull request #149 from ↵ | Alessandro Desantis | |
solidusio-contrib/aldesantis/store-subscribable-type Implement a `LineItem#subscribable` association | |||
2020-09-27 | Implement a `LineItem#subscribable` association | Alessandro Desantis | |
2020-09-27 | Merge pull request #151 from solidusio-contrib/aldesantis/fix-mysql-migration | Alessandro Desantis | |
Fix foreign key type for MySQL | |||
2020-09-27 | Fix foreign key type for MySQL | Alessandro Desantis | |
2020-09-25 | Use integer foreign keys for compatibility with old tables | Alessandro Desantis | |