solidus_subscriptions 1.1.0 → 2.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.circleci/config.yml +34 -56
- data/CHANGELOG.md +1 -243
- data/OLD_CHANGELOG.md +245 -0
- data/Rakefile +2 -0
- data/app/models/solidus_subscriptions/promotion/rules/subscription_creation_order.rb +1 -1
- data/app/models/solidus_subscriptions/promotion/rules/subscription_installment_order.rb +1 -1
- data/app/subscribers/solidus_subscriptions/churn_buster_subscriber.rb +8 -9
- data/app/subscribers/solidus_subscriptions/event_storage_subscriber.rb +9 -10
- data/app/subscribers/solidus_subscriptions/order_subscriber.rb +3 -6
- data/lib/solidus_subscriptions/engine.rb +20 -22
- data/lib/solidus_subscriptions/version.rb +1 -1
- data/solidus_subscriptions.gemspec +2 -2
- metadata +6 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f229279a8b2a541d098058fb4a5783d783c5e1df0de88c0cbebe7fa896702ccf
|
4
|
+
data.tar.gz: 54f1be94ee063d37b4f720a0df951babf6459cb471a1c742cdd6d877f88a55e7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cb5bc225b2e7a123d29ea12b1f626b7a4d671e4437dc3ca77a1d9dab316c0099ccdc066ff6b4799ba56c5641764649b9038372bc1154a76f72aa8db15e5c8c40
|
7
|
+
data.tar.gz: 3b0a0180d0b584bf31ed3410886510021a15ca9177f272fbc3552fe93a3b68b75a50c74635761d456aa3c34df981fe7016d80071273c96bbd552fe70a6b5840d
|
data/.circleci/config.yml
CHANGED
@@ -8,66 +8,45 @@ orbs:
|
|
8
8
|
solidusio_extensions: solidusio/extensions@volatile
|
9
9
|
|
10
10
|
jobs:
|
11
|
-
run-specs
|
12
|
-
executor:
|
13
|
-
name: solidusio_extensions/mysql
|
14
|
-
ruby_version: <<parameters.ruby_version>>
|
15
|
-
steps:
|
16
|
-
- checkout
|
17
|
-
- solidusio_extensions/run-tests-solidus-older
|
18
|
-
- solidusio_extensions/run-tests-solidus-current
|
19
|
-
- solidusio_extensions/run-tests-solidus-master
|
20
|
-
- solidusio_extensions/store-test-results
|
11
|
+
run-specs:
|
21
12
|
parameters:
|
22
|
-
|
13
|
+
solidus:
|
23
14
|
type: string
|
24
|
-
default:
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
steps:
|
30
|
-
- checkout
|
31
|
-
- solidusio_extensions/run-tests-solidus-older
|
32
|
-
- solidusio_extensions/run-tests-solidus-current
|
33
|
-
- solidusio_extensions/run-tests-solidus-master
|
34
|
-
- solidusio_extensions/store-test-results
|
35
|
-
parameters:
|
36
|
-
ruby_version:
|
15
|
+
default: master
|
16
|
+
db:
|
17
|
+
type: string
|
18
|
+
default: "postgres"
|
19
|
+
ruby:
|
37
20
|
type: string
|
38
|
-
default:
|
39
|
-
run-specs-with-sqlite:
|
21
|
+
default: "3.2"
|
40
22
|
executor:
|
41
|
-
name: solidusio_extensions
|
42
|
-
ruby_version: <<parameters.
|
23
|
+
name: solidusio_extensions/<< parameters.db >>
|
24
|
+
ruby_version: << parameters.ruby >>
|
43
25
|
steps:
|
44
26
|
- checkout
|
45
|
-
- solidusio_extensions/run-tests-solidus
|
46
|
-
- solidusio_extensions/run-tests-solidus-current
|
47
|
-
- solidusio_extensions/run-tests-solidus-master
|
48
|
-
- solidusio_extensions/store-test-results
|
49
|
-
parameters:
|
50
|
-
ruby_version:
|
51
|
-
type: string
|
52
|
-
default: '3.1'
|
27
|
+
- solidusio_extensions/run-tests-solidus-<< parameters.solidus >>
|
53
28
|
lint-code:
|
54
|
-
executor:
|
29
|
+
executor:
|
30
|
+
name: solidusio_extensions/sqlite-memory
|
31
|
+
ruby_version: 2.5
|
55
32
|
steps:
|
56
33
|
- solidusio_extensions/lint-code
|
57
34
|
|
58
35
|
workflows:
|
59
36
|
"Run specs on supported Solidus versions":
|
60
37
|
jobs:
|
61
|
-
- run-specs
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
name:
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
38
|
+
- run-specs:
|
39
|
+
name: &name "run-specs-solidus-<< matrix.solidus >>-ruby-<< matrix.ruby >>-db-<< matrix.db >>"
|
40
|
+
matrix:
|
41
|
+
parameters: { solidus: ["master"], ruby: ["3.2"], db: ["postgres"] }
|
42
|
+
- run-specs:
|
43
|
+
name: *name
|
44
|
+
matrix:
|
45
|
+
parameters: { solidus: ["current"], ruby: ["3.1"], db: ["mysql"] }
|
46
|
+
- run-specs:
|
47
|
+
name: *name
|
48
|
+
matrix:
|
49
|
+
parameters: { solidus: ["older"], ruby: ["3.0"], db: ["sqlite"] }
|
71
50
|
|
72
51
|
"Weekly run specs against master":
|
73
52
|
triggers:
|
@@ -78,12 +57,11 @@ workflows:
|
|
78
57
|
only:
|
79
58
|
- master
|
80
59
|
jobs:
|
81
|
-
- run-specs
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
name:
|
87
|
-
|
88
|
-
|
89
|
-
name: run-specs-with-sqlite-ruby-3.1
|
60
|
+
- run-specs:
|
61
|
+
name: *name
|
62
|
+
matrix:
|
63
|
+
parameters: { solidus: ["master"], ruby: ["3.2"], db: ["postgres"] }
|
64
|
+
- run-specs:
|
65
|
+
name: *name
|
66
|
+
matrix:
|
67
|
+
parameters: { solidus: ["current"], ruby: ["3.1"], db: ["mysql"] }
|
data/CHANGELOG.md
CHANGED
@@ -1,245 +1,3 @@
|
|
1
1
|
# Changelog
|
2
2
|
|
3
|
-
|
4
|
-
|
5
|
-
[Full Changelog](https://github.com/solidusio/solidus_subscriptions/compare/v1.0.0...v1.0.1)
|
6
|
-
|
7
|
-
**Implemented enhancements:**
|
8
|
-
|
9
|
-
- Free trials [\#231](https://github.com/solidusio/solidus_subscriptions/issues/231)
|
10
|
-
- Allow managing individual orders [\#219](https://github.com/solidusio/solidus_subscriptions/issues/219)
|
11
|
-
|
12
|
-
**Fixed bugs:**
|
13
|
-
|
14
|
-
- N+1 in admin when loading subscription line items [\#274](https://github.com/solidusio/solidus_subscriptions/issues/274)
|
15
|
-
- Bugfix update column when pausing [\#245](https://github.com/solidusio/solidus_subscriptions/pull/245) ([FrancescoAiello01](https://github.com/FrancescoAiello01))
|
16
|
-
|
17
|
-
**Closed issues:**
|
18
|
-
|
19
|
-
- The extension should be tested on all supported ruby versions [\#280](https://github.com/solidusio/solidus_subscriptions/issues/280)
|
20
|
-
- Allow guest orders to manage subscriptions via API [\#279](https://github.com/solidusio/solidus_subscriptions/issues/279)
|
21
|
-
- Fix broken link to API docs [\#271](https://github.com/solidusio/solidus_subscriptions/issues/271)
|
22
|
-
- Add endpoint to list all subscriptions for a user [\#272](https://github.com/solidusio/solidus_subscriptions/issues/272)
|
23
|
-
- Link to API docs in README is broken [\#266](https://github.com/solidusio/solidus_subscriptions/issues/266)
|
24
|
-
- I can't get rid of sollidus\_subscription [\#265](https://github.com/solidusio/solidus_subscriptions/issues/265)
|
25
|
-
- Subscription appears on all product pages. [\#264](https://github.com/solidusio/solidus_subscriptions/issues/264)
|
26
|
-
- Stop decorating `order#finalize!` to create subscriptions [\#260](https://github.com/solidusio/solidus_subscriptions/issues/260)
|
27
|
-
- Allow overriding `Checkout` with a custom class [\#238](https://github.com/solidusio/solidus_subscriptions/issues/238)
|
28
|
-
- Method to filter out line\_items that are associated with a subscription [\#227](https://github.com/solidusio/solidus_subscriptions/issues/227)
|
29
|
-
|
30
|
-
**Merged pull requests:**
|
31
|
-
|
32
|
-
- Allow updating subscription information in cart [\#282](https://github.com/solidusio/solidus_subscriptions/pull/282) ([kennyadsl](https://github.com/kennyadsl))
|
33
|
-
- Run specs on Ruby 2.7, 3.0 and 3.1 [\#281](https://github.com/solidusio/solidus_subscriptions/pull/281) ([FrancescoAiello01](https://github.com/FrancescoAiello01))
|
34
|
-
- Support the new starter frontend installation [\#276](https://github.com/solidusio/solidus_subscriptions/pull/276) ([kennyadsl](https://github.com/kennyadsl))
|
35
|
-
- Fix filtering by line item in admin [\#275](https://github.com/solidusio/solidus_subscriptions/pull/275) ([nirebu](https://github.com/nirebu))
|
36
|
-
- Update README links [\#273](https://github.com/solidusio/solidus_subscriptions/pull/273) ([elia](https://github.com/elia))
|
37
|
-
- Restore running specs for solidus master [\#262](https://github.com/solidusio/solidus_subscriptions/pull/262) ([elia](https://github.com/elia))
|
38
|
-
- Create order finalized subscriber/job for subscription creation [\#261](https://github.com/solidusio/solidus_subscriptions/pull/261) ([FrancescoAiello01](https://github.com/FrancescoAiello01))
|
39
|
-
- Update to use forked solidus\_frontend when needed [\#259](https://github.com/solidusio/solidus_subscriptions/pull/259) ([waiting-for-dev](https://github.com/waiting-for-dev))
|
40
|
-
- Make the subscription generator a configurable class [\#258](https://github.com/solidusio/solidus_subscriptions/pull/258) ([elia](https://github.com/elia))
|
41
|
-
- Fix CI for broken solidus master [\#257](https://github.com/solidusio/solidus_subscriptions/pull/257) ([elia](https://github.com/elia))
|
42
|
-
- Added a way for admins to filter subscriptions by line item [\#256](https://github.com/solidusio/solidus_subscriptions/pull/256) ([styrken](https://github.com/styrken))
|
43
|
-
- Compare GemVersions to GemVersions instead of string [\#255](https://github.com/solidusio/solidus_subscriptions/pull/255) ([styrken](https://github.com/styrken))
|
44
|
-
- Support Rails 7 and Solidus 3.2 [\#252](https://github.com/solidusio/solidus_subscriptions/pull/252) ([waiting-for-dev](https://github.com/waiting-for-dev))
|
45
|
-
- Link to the user in the subscription details sidebar [\#251](https://github.com/solidusio/solidus_subscriptions/pull/251) ([nirebu](https://github.com/nirebu))
|
46
|
-
- support ruby 3 [\#246](https://github.com/solidusio/solidus_subscriptions/pull/246) ([ccarruitero](https://github.com/ccarruitero))
|
47
|
-
- Add ability to pause/resume subscriptions [\#244](https://github.com/solidusio/solidus_subscriptions/pull/244) ([FrancescoAiello01](https://github.com/FrancescoAiello01))
|
48
|
-
- Log installments errors by default [\#235](https://github.com/solidusio/solidus_subscriptions/pull/235) ([kennyadsl](https://github.com/kennyadsl))
|
49
|
-
- Upgrade to GitHub-native Dependabot [\#228](https://github.com/solidusio/solidus_subscriptions/pull/228) ([dependabot-preview[bot]](https://github.com/apps/dependabot-preview))
|
50
|
-
|
51
|
-
## [v1.0.0](https://github.com/solidusio/solidus_subscriptions/tree/v1.0.0) (2021-05-16)
|
52
|
-
|
53
|
-
[Full Changelog](https://github.com/solidusio/solidus_subscriptions/compare/a8a92654ba21b22bd3f8d07c3ae25e3604e7942a...v1.0.0)
|
54
|
-
|
55
|
-
**Breaking changes:**
|
56
|
-
|
57
|
-
- Improve description for promotion rules [\#205](https://github.com/solidusio/solidus_subscriptions/issues/205)
|
58
|
-
- Improve dispatchers API [\#155](https://github.com/solidusio/solidus_subscriptions/pull/155) ([aldesantis](https://github.com/aldesantis))
|
59
|
-
- Streamline event emission and tracking [\#154](https://github.com/solidusio/solidus_subscriptions/pull/154) ([aldesantis](https://github.com/aldesantis))
|
60
|
-
- Remove references to subscriptions only having one line item [\#123](https://github.com/solidusio/solidus_subscriptions/pull/123) ([aldesantis](https://github.com/aldesantis))
|
61
|
-
- Retrieve payment method from payment source [\#121](https://github.com/solidusio/solidus_subscriptions/pull/121) ([aldesantis](https://github.com/aldesantis))
|
62
|
-
- Use subscription's `end_date` in `Subscription#can_be_deactivated?` [\#112](https://github.com/solidusio/solidus_subscriptions/pull/112) ([aldesantis](https://github.com/aldesantis))
|
63
|
-
|
64
|
-
**Implemented enhancements:**
|
65
|
-
|
66
|
-
- Validate payment source ownership [\#208](https://github.com/solidusio/solidus_subscriptions/issues/208)
|
67
|
-
- Prepare Solidus Subscriptions for Solidus 3.0 [\#194](https://github.com/solidusio/solidus_subscriptions/issues/194)
|
68
|
-
- Process each subscription in a separate background job [\#190](https://github.com/solidusio/solidus_subscriptions/issues/190)
|
69
|
-
- Skip ActiveJob retrying for ProcessInstallmentsJob [\#175](https://github.com/solidusio/solidus_subscriptions/issues/175)
|
70
|
-
- Installment.unfulfilled is a drag on performance [\#171](https://github.com/solidusio/solidus_subscriptions/issues/171)
|
71
|
-
- Simplify subscription processing logic [\#170](https://github.com/solidusio/solidus_subscriptions/issues/170)
|
72
|
-
- Add currency to subscriptions [\#138](https://github.com/solidusio/solidus_subscriptions/issues/138)
|
73
|
-
- Allow marking the master variant as subscribable [\#130](https://github.com/solidusio/solidus_subscriptions/issues/130)
|
74
|
-
- Show orders generated by a subscription [\#129](https://github.com/solidusio/solidus_subscriptions/issues/129)
|
75
|
-
- Allow creating a subscription via the API [\#122](https://github.com/solidusio/solidus_subscriptions/issues/122)
|
76
|
-
- Load factories using the new standard [\#203](https://github.com/solidusio/solidus_subscriptions/pull/203) ([kennyadsl](https://github.com/kennyadsl))
|
77
|
-
- Add maximum\_reprocessing\_attempts preference [\#160](https://github.com/solidusio/solidus_subscriptions/pull/160) ([aldesantis](https://github.com/aldesantis))
|
78
|
-
- Enable authorization via guest tokens [\#158](https://github.com/solidusio/solidus_subscriptions/pull/158) ([aldesantis](https://github.com/aldesantis))
|
79
|
-
- Reformat sample configuration file [\#153](https://github.com/solidusio/solidus_subscriptions/pull/153) ([aldesantis](https://github.com/aldesantis))
|
80
|
-
- Integrate Churn Buster [\#152](https://github.com/solidusio/solidus_subscriptions/pull/152) ([aldesantis](https://github.com/aldesantis))
|
81
|
-
- Implement a `LineItem#subscribable` association [\#149](https://github.com/solidusio/solidus_subscriptions/pull/149) ([aldesantis](https://github.com/aldesantis))
|
82
|
-
- Installation and configuration updates [\#148](https://github.com/solidusio/solidus_subscriptions/pull/148) ([aldesantis](https://github.com/aldesantis))
|
83
|
-
- Add order association to subscriptions [\#147](https://github.com/solidusio/solidus_subscriptions/pull/147) ([nirebu](https://github.com/nirebu))
|
84
|
-
- Improve event tracking [\#142](https://github.com/solidusio/solidus_subscriptions/pull/142) ([aldesantis](https://github.com/aldesantis))
|
85
|
-
- Subscription events [\#141](https://github.com/solidusio/solidus_subscriptions/pull/141) ([aldesantis](https://github.com/aldesantis))
|
86
|
-
- Use Spree.user\_class instead of Spree::User to allow for custom user classes [\#140](https://github.com/solidusio/solidus_subscriptions/pull/140) ([marcrohloff](https://github.com/marcrohloff))
|
87
|
-
- Update default permitted attributes [\#136](https://github.com/solidusio/solidus_subscriptions/pull/136) ([aldesantis](https://github.com/aldesantis))
|
88
|
-
- Allow admins to make master variants subcribable [\#131](https://github.com/solidusio/solidus_subscriptions/pull/131) ([aldesantis](https://github.com/aldesantis))
|
89
|
-
- Store payment method and source on subscriptions [\#127](https://github.com/solidusio/solidus_subscriptions/pull/127) ([aldesantis](https://github.com/aldesantis))
|
90
|
-
- Allow setting subscription interval and end date via the API [\#125](https://github.com/solidusio/solidus_subscriptions/pull/125) ([aldesantis](https://github.com/aldesantis))
|
91
|
-
- Allow setting a billing address on the subscription [\#119](https://github.com/solidusio/solidus_subscriptions/pull/119) ([aldesantis](https://github.com/aldesantis))
|
92
|
-
- Improve installment visualization and sorting [\#111](https://github.com/solidusio/solidus_subscriptions/pull/111) ([aldesantis](https://github.com/aldesantis))
|
93
|
-
- Add subscription details to backend [\#109](https://github.com/solidusio/solidus_subscriptions/pull/109) ([aldesantis](https://github.com/aldesantis))
|
94
|
-
- Add shipping address to backend subscription form [\#108](https://github.com/solidusio/solidus_subscriptions/pull/108) ([aldesantis](https://github.com/aldesantis))
|
95
|
-
- Allow admins to remove subscription line items [\#107](https://github.com/solidusio/solidus_subscriptions/pull/107) ([aldesantis](https://github.com/aldesantis))
|
96
|
-
- Allow admins to add subscription items when editing subscription [\#103](https://github.com/solidusio/solidus_subscriptions/pull/103) ([aldesantis](https://github.com/aldesantis))
|
97
|
-
|
98
|
-
**Fixed bugs:**
|
99
|
-
|
100
|
-
- Set default currency when creating subscription from admin panel [\#207](https://github.com/solidusio/solidus_subscriptions/issues/207)
|
101
|
-
- skip\_count is never incremented [\#146](https://github.com/solidusio/solidus_subscriptions/issues/146)
|
102
|
-
- FailureDispatcher is not compatible with Solidus v2.11 [\#135](https://github.com/solidusio/solidus_subscriptions/issues/135)
|
103
|
-
- Handle subscriptions with deleted products [\#133](https://github.com/solidusio/solidus_subscriptions/issues/133)
|
104
|
-
- Fix double creation of subscription line items [\#132](https://github.com/solidusio/solidus_subscriptions/issues/132)
|
105
|
-
- \#Interval incorrectly builds interval [\#44](https://github.com/solidusio/solidus_subscriptions/issues/44)
|
106
|
-
- Fix skip counters to handle skip limits [\#188](https://github.com/solidusio/solidus_subscriptions/pull/188) ([AlessioRocco](https://github.com/AlessioRocco))
|
107
|
-
- Fix legacy unsubscribable subscriptions not being processed [\#173](https://github.com/solidusio/solidus_subscriptions/pull/173) ([aldesantis](https://github.com/aldesantis))
|
108
|
-
- Fix automatic cancellation in case of subscription failure [\#168](https://github.com/solidusio/solidus_subscriptions/pull/168) ([aldesantis](https://github.com/aldesantis))
|
109
|
-
- Fix `ActiveRecord::ReadOnlyRecord` when updating subscriptions [\#166](https://github.com/solidusio/solidus_subscriptions/pull/166) ([aldesantis](https://github.com/aldesantis))
|
110
|
-
- Fix DefaultCustomer permission set giving guests access to admin [\#161](https://github.com/solidusio/solidus_subscriptions/pull/161) ([aldesantis](https://github.com/aldesantis))
|
111
|
-
- Fix default permission set breaking accessible\_by [\#159](https://github.com/solidusio/solidus_subscriptions/pull/159) ([aldesantis](https://github.com/aldesantis))
|
112
|
-
- Fix foreign key type for MySQL [\#151](https://github.com/solidusio/solidus_subscriptions/pull/151) ([aldesantis](https://github.com/aldesantis))
|
113
|
-
- Fix "Store must exist" when creating a subscription via the backend [\#102](https://github.com/solidusio/solidus_subscriptions/pull/102) ([aldesantis](https://github.com/aldesantis))
|
114
|
-
|
115
|
-
**Deprecated:**
|
116
|
-
|
117
|
-
- Deprecate nested subscription attributes from user [\#193](https://github.com/solidusio/solidus_subscriptions/pull/193) ([luca-landa](https://github.com/luca-landa))
|
118
|
-
- Update admin UI to match new backend guidelines [\#99](https://github.com/solidusio/solidus_subscriptions/pull/99) ([aldesantis](https://github.com/aldesantis))
|
119
|
-
- Fix deprecated call to `SolidusSupport.solidus_gem_version` [\#97](https://github.com/solidusio/solidus_subscriptions/pull/97) ([aldesantis](https://github.com/aldesantis))
|
120
|
-
|
121
|
-
**Removed:**
|
122
|
-
|
123
|
-
- Remove nested subscription attributes from User [\#124](https://github.com/solidusio/solidus_subscriptions/issues/124)
|
124
|
-
- Remove time component from actionable\_date columns [\#174](https://github.com/solidusio/solidus_subscriptions/pull/174) ([aldesantis](https://github.com/aldesantis))
|
125
|
-
- Remove subscription\_repopulated event [\#157](https://github.com/solidusio/solidus_subscriptions/pull/157) ([aldesantis](https://github.com/aldesantis))
|
126
|
-
- Remove checks on unsupported Solidus versions [\#101](https://github.com/solidusio/solidus_subscriptions/pull/101) ([aldesantis](https://github.com/aldesantis))
|
127
|
-
- Remove legacy sidebar and form [\#100](https://github.com/solidusio/solidus_subscriptions/pull/100) ([aldesantis](https://github.com/aldesantis))
|
128
|
-
|
129
|
-
**Closed issues:**
|
130
|
-
|
131
|
-
- Dependabot can't resolve your Ruby dependency files [\#226](https://github.com/solidusio/solidus_subscriptions/issues/226)
|
132
|
-
- Fix sandbox generation [\#196](https://github.com/solidusio/solidus_subscriptions/issues/196)
|
133
|
-
- Dependabot can't resolve your Ruby dependency files [\#187](https://github.com/solidusio/solidus_subscriptions/issues/187)
|
134
|
-
- Dependabot can't resolve your Ruby dependency files [\#186](https://github.com/solidusio/solidus_subscriptions/issues/186)
|
135
|
-
- Dependabot can't resolve your Ruby dependency files [\#185](https://github.com/solidusio/solidus_subscriptions/issues/185)
|
136
|
-
- Dependabot can't resolve your Ruby dependency files [\#184](https://github.com/solidusio/solidus_subscriptions/issues/184)
|
137
|
-
- Avoid reprocessing installments with cancelled subscriptions [\#180](https://github.com/solidusio/solidus_subscriptions/issues/180)
|
138
|
-
- Minimum cancellation date is always +1 day from what you set it to [\#177](https://github.com/solidusio/solidus_subscriptions/issues/177)
|
139
|
-
- Unable to edit or disable admin links [\#163](https://github.com/solidusio/solidus_subscriptions/issues/163)
|
140
|
-
- Dependabot can't resolve your Ruby dependency files [\#144](https://github.com/solidusio/solidus_subscriptions/issues/144)
|
141
|
-
- Dependabot can't resolve your Ruby dependency files [\#143](https://github.com/solidusio/solidus_subscriptions/issues/143)
|
142
|
-
- Retrieve payment method from the payment source [\#120](https://github.com/solidusio/solidus_subscriptions/issues/120)
|
143
|
-
- Cannot update interval or end date via API [\#118](https://github.com/solidusio/solidus_subscriptions/issues/118)
|
144
|
-
- Add billing address to subscriptions [\#117](https://github.com/solidusio/solidus_subscriptions/issues/117)
|
145
|
-
- Store payment details on subscription [\#116](https://github.com/solidusio/solidus_subscriptions/issues/116)
|
146
|
-
- Dependabot couldn't find a Gemfile-local for this project [\#91](https://github.com/solidusio/solidus_subscriptions/issues/91)
|
147
|
-
- Dependabot can't resolve your Ruby dependency files [\#90](https://github.com/solidusio/solidus_subscriptions/issues/90)
|
148
|
-
- Dependabot can't resolve your Ruby dependency files [\#88](https://github.com/solidusio/solidus_subscriptions/issues/88)
|
149
|
-
- Dependabot can't resolve your Ruby dependency files [\#87](https://github.com/solidusio/solidus_subscriptions/issues/87)
|
150
|
-
- Dependabot can't resolve your Ruby dependency files [\#86](https://github.com/solidusio/solidus_subscriptions/issues/86)
|
151
|
-
- Dependabot can't resolve your Ruby dependency files [\#85](https://github.com/solidusio/solidus_subscriptions/issues/85)
|
152
|
-
- Dependabot can't resolve your Ruby dependency files [\#84](https://github.com/solidusio/solidus_subscriptions/issues/84)
|
153
|
-
- Dependabot can't resolve your Ruby dependency files [\#82](https://github.com/solidusio/solidus_subscriptions/issues/82)
|
154
|
-
- Unable to seed dummy store [\#22](https://github.com/solidusio/solidus_subscriptions/issues/22)
|
155
|
-
- Solidus Subscriptions incompatible with solidus 2.3 [\#14](https://github.com/solidusio/solidus_subscriptions/issues/14)
|
156
|
-
- Promo codes? [\#8](https://github.com/solidusio/solidus_subscriptions/issues/8)
|
157
|
-
- Default store subscription field views [\#7](https://github.com/solidusio/solidus_subscriptions/issues/7)
|
158
|
-
- There is no subscribable toggle for master variants [\#6](https://github.com/solidusio/solidus_subscriptions/issues/6)
|
159
|
-
- What is the plan? [\#1](https://github.com/solidusio/solidus_subscriptions/issues/1)
|
160
|
-
|
161
|
-
**Merged pull requests:**
|
162
|
-
|
163
|
-
- Introduce Installment OrderCreator configuration [\#229](https://github.com/solidusio/solidus_subscriptions/pull/229) ([cesartalves](https://github.com/cesartalves))
|
164
|
-
- Update solidus\_core requirement from \>= 2.0.0, \< 3 to \>= 2.0.0, \< 4 [\#225](https://github.com/solidusio/solidus_subscriptions/pull/225) ([dependabot-preview[bot]](https://github.com/apps/dependabot-preview))
|
165
|
-
- Fix Api Subscription Permitted LineItem Attributes [\#223](https://github.com/solidusio/solidus_subscriptions/pull/223) ([cesartalves](https://github.com/cesartalves))
|
166
|
-
- Fix Spree::OrdersController decoration [\#221](https://github.com/solidusio/solidus_subscriptions/pull/221) ([cesartalves](https://github.com/cesartalves))
|
167
|
-
- Reload order during finalize action [\#220](https://github.com/solidusio/solidus_subscriptions/pull/220) ([seand7565](https://github.com/seand7565))
|
168
|
-
- Update specs to conform with rubocop [\#217](https://github.com/solidusio/solidus_subscriptions/pull/217) ([seand7565](https://github.com/seand7565))
|
169
|
-
- Update promotion rule names on db [\#216](https://github.com/solidusio/solidus_subscriptions/pull/216) ([luca-landa](https://github.com/luca-landa))
|
170
|
-
- Improve promotion rules names [\#215](https://github.com/solidusio/solidus_subscriptions/pull/215) ([luca-landa](https://github.com/luca-landa))
|
171
|
-
- Validate payment\_source ownership on the subscription [\#214](https://github.com/solidusio/solidus_subscriptions/pull/214) ([ChristianRimondi](https://github.com/ChristianRimondi))
|
172
|
-
- Add missing permissions sets for Solidus v2.11 [\#213](https://github.com/solidusio/solidus_subscriptions/pull/213) ([elia](https://github.com/elia))
|
173
|
-
- Require a version of solidus\_support that autoloads subscribers [\#212](https://github.com/solidusio/solidus_subscriptions/pull/212) ([elia](https://github.com/elia))
|
174
|
-
- Remove variant from subscriptions on soft deletion [\#211](https://github.com/solidusio/solidus_subscriptions/pull/211) ([luca-landa](https://github.com/luca-landa))
|
175
|
-
- Set default config currency to subscription [\#210](https://github.com/solidusio/solidus_subscriptions/pull/210) ([luca-landa](https://github.com/luca-landa))
|
176
|
-
- Skip ActiveJob retrying for ProcessInstallmentJob [\#206](https://github.com/solidusio/solidus_subscriptions/pull/206) ([ikraamg](https://github.com/ikraamg))
|
177
|
-
- Cleanup the duplicated fields on subscription creation [\#202](https://github.com/solidusio/solidus_subscriptions/pull/202) ([blocknotes](https://github.com/blocknotes))
|
178
|
-
- Move subscription processing to its own background job [\#201](https://github.com/solidusio/solidus_subscriptions/pull/201) ([nirebu](https://github.com/nirebu))
|
179
|
-
- Use `name` in customer serializer [\#200](https://github.com/solidusio/solidus_subscriptions/pull/200) ([nvandoorn](https://github.com/nvandoorn))
|
180
|
-
- Setup the subcription create endpoint [\#199](https://github.com/solidusio/solidus_subscriptions/pull/199) ([blocknotes](https://github.com/blocknotes))
|
181
|
-
- Add currency to subscriptions [\#198](https://github.com/solidusio/solidus_subscriptions/pull/198) ([luca-landa](https://github.com/luca-landa))
|
182
|
-
- Fix sandbox creation error [\#197](https://github.com/solidusio/solidus_subscriptions/pull/197) ([blocknotes](https://github.com/blocknotes))
|
183
|
-
- Fix duplicated line items creation [\#195](https://github.com/solidusio/solidus_subscriptions/pull/195) ([igorbp](https://github.com/igorbp))
|
184
|
-
- Admin: expose the subscription orders [\#192](https://github.com/solidusio/solidus_subscriptions/pull/192) ([blocknotes](https://github.com/blocknotes))
|
185
|
-
- Improve "unfulfilled" scope by adding subquery [\#191](https://github.com/solidusio/solidus_subscriptions/pull/191) ([AlessioRocco](https://github.com/AlessioRocco))
|
186
|
-
- Remove "canonical-rails" from the Gemfile [\#189](https://github.com/solidusio/solidus_subscriptions/pull/189) ([AlessioRocco](https://github.com/AlessioRocco))
|
187
|
-
- Update permissions check on user subscription tab [\#183](https://github.com/solidusio/solidus_subscriptions/pull/183) ([seand7565](https://github.com/seand7565))
|
188
|
-
- Add Installment Details association to Order [\#182](https://github.com/solidusio/solidus_subscriptions/pull/182) ([seand7565](https://github.com/seand7565))
|
189
|
-
- Avoid processing installments with cancelled subscriptions [\#181](https://github.com/solidusio/solidus_subscriptions/pull/181) ([seand7565](https://github.com/seand7565))
|
190
|
-
- Update cancel method on subscription to respect minimum date [\#178](https://github.com/solidusio/solidus_subscriptions/pull/178) ([seand7565](https://github.com/seand7565))
|
191
|
-
- Fix typo in subscription admin notifications [\#176](https://github.com/solidusio/solidus_subscriptions/pull/176) ([igorbp](https://github.com/igorbp))
|
192
|
-
- Processor and Checkout refactoring [\#172](https://github.com/solidusio/solidus_subscriptions/pull/172) ([aldesantis](https://github.com/aldesantis))
|
193
|
-
- Move maximum reprocessing retries to a time based criterion [\#167](https://github.com/solidusio/solidus_subscriptions/pull/167) ([nirebu](https://github.com/nirebu))
|
194
|
-
- Add config to ignore past unfulfilled installments [\#165](https://github.com/solidusio/solidus_subscriptions/pull/165) ([nirebu](https://github.com/nirebu))
|
195
|
-
- Add Subscriptions tab to User page in Admin [\#162](https://github.com/solidusio/solidus_subscriptions/pull/162) ([igorbp](https://github.com/igorbp))
|
196
|
-
- Track additional events for subscription updates [\#156](https://github.com/solidusio/solidus_subscriptions/pull/156) ([aldesantis](https://github.com/aldesantis))
|
197
|
-
- Update shoulda-matchers requirement from ~\> 3.1 to ~\> 4.4 [\#145](https://github.com/solidusio/solidus_subscriptions/pull/145) ([dependabot-preview[bot]](https://github.com/apps/dependabot-preview))
|
198
|
-
- Use parent strategy when building associations in factories [\#134](https://github.com/solidusio/solidus_subscriptions/pull/134) ([aldesantis](https://github.com/aldesantis))
|
199
|
-
- Move service objects to `app/services` [\#110](https://github.com/solidusio/solidus_subscriptions/pull/110) ([aldesantis](https://github.com/aldesantis))
|
200
|
-
- Convert API documentation into OpenAPI [\#106](https://github.com/solidusio/solidus_subscriptions/pull/106) ([aldesantis](https://github.com/aldesantis))
|
201
|
-
- Add github\_changelog\_generator configuration [\#105](https://github.com/solidusio/solidus_subscriptions/pull/105) ([aldesantis](https://github.com/aldesantis))
|
202
|
-
- Reorganize and clean up readme [\#104](https://github.com/solidusio/solidus_subscriptions/pull/104) ([aldesantis](https://github.com/aldesantis))
|
203
|
-
- Fix unsupported `around(:all)` RSpec configuration [\#98](https://github.com/solidusio/solidus_subscriptions/pull/98) ([aldesantis](https://github.com/aldesantis))
|
204
|
-
- Update to the latest solidus\_dev\_support [\#96](https://github.com/solidusio/solidus_subscriptions/pull/96) ([aldesantis](https://github.com/aldesantis))
|
205
|
-
- Relax solidus\_support dependency [\#95](https://github.com/solidusio/solidus_subscriptions/pull/95) ([kennyadsl](https://github.com/kennyadsl))
|
206
|
-
- Fix Dependabot looking for Gemfile-local [\#92](https://github.com/solidusio/solidus_subscriptions/pull/92) ([aldesantis](https://github.com/aldesantis))
|
207
|
-
- Update solidus\_dev\_support [\#89](https://github.com/solidusio/solidus_subscriptions/pull/89) ([blocknotes](https://github.com/blocknotes))
|
208
|
-
- Adopt solidus\_extension\_dev\_tools [\#81](https://github.com/solidusio/solidus_subscriptions/pull/81) ([aldesantis](https://github.com/aldesantis))
|
209
|
-
- Fix CI on Rails 6 [\#71](https://github.com/solidusio/solidus_subscriptions/pull/71) ([aldesantis](https://github.com/aldesantis))
|
210
|
-
- Fixes admin sorting on fields without a natural order [\#70](https://github.com/solidusio/solidus_subscriptions/pull/70) ([mdesantis](https://github.com/mdesantis))
|
211
|
-
- Perform maintenance tasks [\#69](https://github.com/solidusio/solidus_subscriptions/pull/69) ([mdesantis](https://github.com/mdesantis))
|
212
|
-
- Run specs with CircleCI [\#68](https://github.com/solidusio/solidus_subscriptions/pull/68) ([kennyadsl](https://github.com/kennyadsl))
|
213
|
-
- Fix broken factories associations [\#67](https://github.com/solidusio/solidus_subscriptions/pull/67) ([aitbw](https://github.com/aitbw))
|
214
|
-
- Remove Solidus v2.3 from Travis config \(EOL\) [\#66](https://github.com/solidusio/solidus_subscriptions/pull/66) ([aitbw](https://github.com/aitbw))
|
215
|
-
- Add Solidus v2.8 to Travis config [\#65](https://github.com/solidusio/solidus_subscriptions/pull/65) ([aitbw](https://github.com/aitbw))
|
216
|
-
- Do not run rubocop on Travis [\#64](https://github.com/solidusio/solidus_subscriptions/pull/64) ([aitbw](https://github.com/aitbw))
|
217
|
-
- Update rubocop to fix vulnerability CVE-2017-8418 [\#63](https://github.com/solidusio/solidus_subscriptions/pull/63) ([aitbw](https://github.com/aitbw))
|
218
|
-
- Fix deprecations warnings and failing specs [\#61](https://github.com/solidusio/solidus_subscriptions/pull/61) ([aitbw](https://github.com/aitbw))
|
219
|
-
- Change api url in documentation [\#58](https://github.com/solidusio/solidus_subscriptions/pull/58) ([jacobeubanks](https://github.com/jacobeubanks))
|
220
|
-
- Fix factory girl dependency for Solidus \< 2.5 [\#57](https://github.com/solidusio/solidus_subscriptions/pull/57) ([jacobherrington](https://github.com/jacobherrington))
|
221
|
-
- Add Solidus 2.7 to .travis.yml [\#56](https://github.com/solidusio/solidus_subscriptions/pull/56) ([jacobherrington](https://github.com/jacobherrington))
|
222
|
-
- Change static factory attrs to dynamic [\#55](https://github.com/solidusio/solidus_subscriptions/pull/55) ([fastjames](https://github.com/fastjames))
|
223
|
-
- Update factory\_girl to factory\_bot [\#50](https://github.com/solidusio/solidus_subscriptions/pull/50) ([fastjames](https://github.com/fastjames))
|
224
|
-
- Update solidus version for travis [\#46](https://github.com/solidusio/solidus_subscriptions/pull/46) ([fastjames](https://github.com/fastjames))
|
225
|
-
- Fix typos in comments [\#39](https://github.com/solidusio/solidus_subscriptions/pull/39) ([swcraig](https://github.com/swcraig))
|
226
|
-
- Add ffaker dependency to gemspec [\#35](https://github.com/solidusio/solidus_subscriptions/pull/35) ([swcraig](https://github.com/swcraig))
|
227
|
-
- Small UI change to canceling in the admin [\#28](https://github.com/solidusio/solidus_subscriptions/pull/28) ([seantaylor](https://github.com/seantaylor))
|
228
|
-
- Authorize subscriptions admin sidebar link [\#23](https://github.com/solidusio/solidus_subscriptions/pull/23) ([qr8r](https://github.com/qr8r))
|
229
|
-
- Subs track their own interval now [\#21](https://github.com/solidusio/solidus_subscriptions/pull/21) ([qr8r](https://github.com/qr8r))
|
230
|
-
- Fix/the broken admin [\#20](https://github.com/solidusio/solidus_subscriptions/pull/20) ([qr8r](https://github.com/qr8r))
|
231
|
-
- Allow destroying nested line items [\#18](https://github.com/solidusio/solidus_subscriptions/pull/18) ([isaacfreeman](https://github.com/isaacfreeman))
|
232
|
-
- Update Readme to correct repo [\#17](https://github.com/solidusio/solidus_subscriptions/pull/17) ([asecondwill](https://github.com/asecondwill))
|
233
|
-
- Support Rails 5.1 [\#16](https://github.com/solidusio/solidus_subscriptions/pull/16) ([jhawthorn](https://github.com/jhawthorn))
|
234
|
-
- Allows for subscription checkout to accommodate a more flexible checko… [\#15](https://github.com/solidusio/solidus_subscriptions/pull/15) ([joeljackson](https://github.com/joeljackson))
|
235
|
-
- Only load permitted attributes once [\#11](https://github.com/solidusio/solidus_subscriptions/pull/11) ([qr8r](https://github.com/qr8r))
|
236
|
-
- Fix duplicated docs [\#10](https://github.com/solidusio/solidus_subscriptions/pull/10) ([qr8r](https://github.com/qr8r))
|
237
|
-
- Add Subcription inputs to product page [\#9](https://github.com/solidusio/solidus_subscriptions/pull/9) ([qr8r](https://github.com/qr8r))
|
238
|
-
- Fixes for Solidus 2.2 [\#5](https://github.com/solidusio/solidus_subscriptions/pull/5) ([jhawthorn](https://github.com/jhawthorn))
|
239
|
-
- Allow Failed installments to not be reprocessed [\#4](https://github.com/solidusio/solidus_subscriptions/pull/4) ([qr8r](https://github.com/qr8r))
|
240
|
-
- Lock travis bundler version [\#3](https://github.com/solidusio/solidus_subscriptions/pull/3) ([qr8r](https://github.com/qr8r))
|
241
|
-
- Group subscriptions by subscription configurations [\#2](https://github.com/solidusio/solidus_subscriptions/pull/2) ([qr8r](https://github.com/qr8r))
|
242
|
-
|
243
|
-
|
244
|
-
|
245
|
-
\* *This Changelog was automatically generated by [github_changelog_generator](https://github.com/github-changelog-generator/github-changelog-generator)*
|
3
|
+
See https://github.com/solidusio/solidus_subscriptions/releases or [OLD_CHANGELOG.md](OLD_CHANGELOG.md) for older versions.
|
data/OLD_CHANGELOG.md
ADDED
@@ -0,0 +1,245 @@
|
|
1
|
+
# Changelog
|
2
|
+
|
3
|
+
## [v1.0.1](https://github.com/solidusio/solidus_subscriptions/tree/v1.0.1) (2023-03-01)
|
4
|
+
|
5
|
+
[Full Changelog](https://github.com/solidusio/solidus_subscriptions/compare/v1.0.0...v1.0.1)
|
6
|
+
|
7
|
+
**Implemented enhancements:**
|
8
|
+
|
9
|
+
- Free trials [\#231](https://github.com/solidusio/solidus_subscriptions/issues/231)
|
10
|
+
- Allow managing individual orders [\#219](https://github.com/solidusio/solidus_subscriptions/issues/219)
|
11
|
+
|
12
|
+
**Fixed bugs:**
|
13
|
+
|
14
|
+
- N+1 in admin when loading subscription line items [\#274](https://github.com/solidusio/solidus_subscriptions/issues/274)
|
15
|
+
- Bugfix update column when pausing [\#245](https://github.com/solidusio/solidus_subscriptions/pull/245) ([FrancescoAiello01](https://github.com/FrancescoAiello01))
|
16
|
+
|
17
|
+
**Closed issues:**
|
18
|
+
|
19
|
+
- The extension should be tested on all supported ruby versions [\#280](https://github.com/solidusio/solidus_subscriptions/issues/280)
|
20
|
+
- Allow guest orders to manage subscriptions via API [\#279](https://github.com/solidusio/solidus_subscriptions/issues/279)
|
21
|
+
- Fix broken link to API docs [\#271](https://github.com/solidusio/solidus_subscriptions/issues/271)
|
22
|
+
- Add endpoint to list all subscriptions for a user [\#272](https://github.com/solidusio/solidus_subscriptions/issues/272)
|
23
|
+
- Link to API docs in README is broken [\#266](https://github.com/solidusio/solidus_subscriptions/issues/266)
|
24
|
+
- I can't get rid of sollidus\_subscription [\#265](https://github.com/solidusio/solidus_subscriptions/issues/265)
|
25
|
+
- Subscription appears on all product pages. [\#264](https://github.com/solidusio/solidus_subscriptions/issues/264)
|
26
|
+
- Stop decorating `order#finalize!` to create subscriptions [\#260](https://github.com/solidusio/solidus_subscriptions/issues/260)
|
27
|
+
- Allow overriding `Checkout` with a custom class [\#238](https://github.com/solidusio/solidus_subscriptions/issues/238)
|
28
|
+
- Method to filter out line\_items that are associated with a subscription [\#227](https://github.com/solidusio/solidus_subscriptions/issues/227)
|
29
|
+
|
30
|
+
**Merged pull requests:**
|
31
|
+
|
32
|
+
- Allow updating subscription information in cart [\#282](https://github.com/solidusio/solidus_subscriptions/pull/282) ([kennyadsl](https://github.com/kennyadsl))
|
33
|
+
- Run specs on Ruby 2.7, 3.0 and 3.1 [\#281](https://github.com/solidusio/solidus_subscriptions/pull/281) ([FrancescoAiello01](https://github.com/FrancescoAiello01))
|
34
|
+
- Support the new starter frontend installation [\#276](https://github.com/solidusio/solidus_subscriptions/pull/276) ([kennyadsl](https://github.com/kennyadsl))
|
35
|
+
- Fix filtering by line item in admin [\#275](https://github.com/solidusio/solidus_subscriptions/pull/275) ([nirebu](https://github.com/nirebu))
|
36
|
+
- Update README links [\#273](https://github.com/solidusio/solidus_subscriptions/pull/273) ([elia](https://github.com/elia))
|
37
|
+
- Restore running specs for solidus master [\#262](https://github.com/solidusio/solidus_subscriptions/pull/262) ([elia](https://github.com/elia))
|
38
|
+
- Create order finalized subscriber/job for subscription creation [\#261](https://github.com/solidusio/solidus_subscriptions/pull/261) ([FrancescoAiello01](https://github.com/FrancescoAiello01))
|
39
|
+
- Update to use forked solidus\_frontend when needed [\#259](https://github.com/solidusio/solidus_subscriptions/pull/259) ([waiting-for-dev](https://github.com/waiting-for-dev))
|
40
|
+
- Make the subscription generator a configurable class [\#258](https://github.com/solidusio/solidus_subscriptions/pull/258) ([elia](https://github.com/elia))
|
41
|
+
- Fix CI for broken solidus master [\#257](https://github.com/solidusio/solidus_subscriptions/pull/257) ([elia](https://github.com/elia))
|
42
|
+
- Added a way for admins to filter subscriptions by line item [\#256](https://github.com/solidusio/solidus_subscriptions/pull/256) ([styrken](https://github.com/styrken))
|
43
|
+
- Compare GemVersions to GemVersions instead of string [\#255](https://github.com/solidusio/solidus_subscriptions/pull/255) ([styrken](https://github.com/styrken))
|
44
|
+
- Support Rails 7 and Solidus 3.2 [\#252](https://github.com/solidusio/solidus_subscriptions/pull/252) ([waiting-for-dev](https://github.com/waiting-for-dev))
|
45
|
+
- Link to the user in the subscription details sidebar [\#251](https://github.com/solidusio/solidus_subscriptions/pull/251) ([nirebu](https://github.com/nirebu))
|
46
|
+
- support ruby 3 [\#246](https://github.com/solidusio/solidus_subscriptions/pull/246) ([ccarruitero](https://github.com/ccarruitero))
|
47
|
+
- Add ability to pause/resume subscriptions [\#244](https://github.com/solidusio/solidus_subscriptions/pull/244) ([FrancescoAiello01](https://github.com/FrancescoAiello01))
|
48
|
+
- Log installments errors by default [\#235](https://github.com/solidusio/solidus_subscriptions/pull/235) ([kennyadsl](https://github.com/kennyadsl))
|
49
|
+
- Upgrade to GitHub-native Dependabot [\#228](https://github.com/solidusio/solidus_subscriptions/pull/228) ([dependabot-preview[bot]](https://github.com/apps/dependabot-preview))
|
50
|
+
|
51
|
+
## [v1.0.0](https://github.com/solidusio/solidus_subscriptions/tree/v1.0.0) (2021-05-16)
|
52
|
+
|
53
|
+
[Full Changelog](https://github.com/solidusio/solidus_subscriptions/compare/a8a92654ba21b22bd3f8d07c3ae25e3604e7942a...v1.0.0)
|
54
|
+
|
55
|
+
**Breaking changes:**
|
56
|
+
|
57
|
+
- Improve description for promotion rules [\#205](https://github.com/solidusio/solidus_subscriptions/issues/205)
|
58
|
+
- Improve dispatchers API [\#155](https://github.com/solidusio/solidus_subscriptions/pull/155) ([aldesantis](https://github.com/aldesantis))
|
59
|
+
- Streamline event emission and tracking [\#154](https://github.com/solidusio/solidus_subscriptions/pull/154) ([aldesantis](https://github.com/aldesantis))
|
60
|
+
- Remove references to subscriptions only having one line item [\#123](https://github.com/solidusio/solidus_subscriptions/pull/123) ([aldesantis](https://github.com/aldesantis))
|
61
|
+
- Retrieve payment method from payment source [\#121](https://github.com/solidusio/solidus_subscriptions/pull/121) ([aldesantis](https://github.com/aldesantis))
|
62
|
+
- Use subscription's `end_date` in `Subscription#can_be_deactivated?` [\#112](https://github.com/solidusio/solidus_subscriptions/pull/112) ([aldesantis](https://github.com/aldesantis))
|
63
|
+
|
64
|
+
**Implemented enhancements:**
|
65
|
+
|
66
|
+
- Validate payment source ownership [\#208](https://github.com/solidusio/solidus_subscriptions/issues/208)
|
67
|
+
- Prepare Solidus Subscriptions for Solidus 3.0 [\#194](https://github.com/solidusio/solidus_subscriptions/issues/194)
|
68
|
+
- Process each subscription in a separate background job [\#190](https://github.com/solidusio/solidus_subscriptions/issues/190)
|
69
|
+
- Skip ActiveJob retrying for ProcessInstallmentsJob [\#175](https://github.com/solidusio/solidus_subscriptions/issues/175)
|
70
|
+
- Installment.unfulfilled is a drag on performance [\#171](https://github.com/solidusio/solidus_subscriptions/issues/171)
|
71
|
+
- Simplify subscription processing logic [\#170](https://github.com/solidusio/solidus_subscriptions/issues/170)
|
72
|
+
- Add currency to subscriptions [\#138](https://github.com/solidusio/solidus_subscriptions/issues/138)
|
73
|
+
- Allow marking the master variant as subscribable [\#130](https://github.com/solidusio/solidus_subscriptions/issues/130)
|
74
|
+
- Show orders generated by a subscription [\#129](https://github.com/solidusio/solidus_subscriptions/issues/129)
|
75
|
+
- Allow creating a subscription via the API [\#122](https://github.com/solidusio/solidus_subscriptions/issues/122)
|
76
|
+
- Load factories using the new standard [\#203](https://github.com/solidusio/solidus_subscriptions/pull/203) ([kennyadsl](https://github.com/kennyadsl))
|
77
|
+
- Add maximum\_reprocessing\_attempts preference [\#160](https://github.com/solidusio/solidus_subscriptions/pull/160) ([aldesantis](https://github.com/aldesantis))
|
78
|
+
- Enable authorization via guest tokens [\#158](https://github.com/solidusio/solidus_subscriptions/pull/158) ([aldesantis](https://github.com/aldesantis))
|
79
|
+
- Reformat sample configuration file [\#153](https://github.com/solidusio/solidus_subscriptions/pull/153) ([aldesantis](https://github.com/aldesantis))
|
80
|
+
- Integrate Churn Buster [\#152](https://github.com/solidusio/solidus_subscriptions/pull/152) ([aldesantis](https://github.com/aldesantis))
|
81
|
+
- Implement a `LineItem#subscribable` association [\#149](https://github.com/solidusio/solidus_subscriptions/pull/149) ([aldesantis](https://github.com/aldesantis))
|
82
|
+
- Installation and configuration updates [\#148](https://github.com/solidusio/solidus_subscriptions/pull/148) ([aldesantis](https://github.com/aldesantis))
|
83
|
+
- Add order association to subscriptions [\#147](https://github.com/solidusio/solidus_subscriptions/pull/147) ([nirebu](https://github.com/nirebu))
|
84
|
+
- Improve event tracking [\#142](https://github.com/solidusio/solidus_subscriptions/pull/142) ([aldesantis](https://github.com/aldesantis))
|
85
|
+
- Subscription events [\#141](https://github.com/solidusio/solidus_subscriptions/pull/141) ([aldesantis](https://github.com/aldesantis))
|
86
|
+
- Use Spree.user\_class instead of Spree::User to allow for custom user classes [\#140](https://github.com/solidusio/solidus_subscriptions/pull/140) ([marcrohloff](https://github.com/marcrohloff))
|
87
|
+
- Update default permitted attributes [\#136](https://github.com/solidusio/solidus_subscriptions/pull/136) ([aldesantis](https://github.com/aldesantis))
|
88
|
+
- Allow admins to make master variants subcribable [\#131](https://github.com/solidusio/solidus_subscriptions/pull/131) ([aldesantis](https://github.com/aldesantis))
|
89
|
+
- Store payment method and source on subscriptions [\#127](https://github.com/solidusio/solidus_subscriptions/pull/127) ([aldesantis](https://github.com/aldesantis))
|
90
|
+
- Allow setting subscription interval and end date via the API [\#125](https://github.com/solidusio/solidus_subscriptions/pull/125) ([aldesantis](https://github.com/aldesantis))
|
91
|
+
- Allow setting a billing address on the subscription [\#119](https://github.com/solidusio/solidus_subscriptions/pull/119) ([aldesantis](https://github.com/aldesantis))
|
92
|
+
- Improve installment visualization and sorting [\#111](https://github.com/solidusio/solidus_subscriptions/pull/111) ([aldesantis](https://github.com/aldesantis))
|
93
|
+
- Add subscription details to backend [\#109](https://github.com/solidusio/solidus_subscriptions/pull/109) ([aldesantis](https://github.com/aldesantis))
|
94
|
+
- Add shipping address to backend subscription form [\#108](https://github.com/solidusio/solidus_subscriptions/pull/108) ([aldesantis](https://github.com/aldesantis))
|
95
|
+
- Allow admins to remove subscription line items [\#107](https://github.com/solidusio/solidus_subscriptions/pull/107) ([aldesantis](https://github.com/aldesantis))
|
96
|
+
- Allow admins to add subscription items when editing subscription [\#103](https://github.com/solidusio/solidus_subscriptions/pull/103) ([aldesantis](https://github.com/aldesantis))
|
97
|
+
|
98
|
+
**Fixed bugs:**
|
99
|
+
|
100
|
+
- Set default currency when creating subscription from admin panel [\#207](https://github.com/solidusio/solidus_subscriptions/issues/207)
|
101
|
+
- skip\_count is never incremented [\#146](https://github.com/solidusio/solidus_subscriptions/issues/146)
|
102
|
+
- FailureDispatcher is not compatible with Solidus v2.11 [\#135](https://github.com/solidusio/solidus_subscriptions/issues/135)
|
103
|
+
- Handle subscriptions with deleted products [\#133](https://github.com/solidusio/solidus_subscriptions/issues/133)
|
104
|
+
- Fix double creation of subscription line items [\#132](https://github.com/solidusio/solidus_subscriptions/issues/132)
|
105
|
+
- \#Interval incorrectly builds interval [\#44](https://github.com/solidusio/solidus_subscriptions/issues/44)
|
106
|
+
- Fix skip counters to handle skip limits [\#188](https://github.com/solidusio/solidus_subscriptions/pull/188) ([AlessioRocco](https://github.com/AlessioRocco))
|
107
|
+
- Fix legacy unsubscribable subscriptions not being processed [\#173](https://github.com/solidusio/solidus_subscriptions/pull/173) ([aldesantis](https://github.com/aldesantis))
|
108
|
+
- Fix automatic cancellation in case of subscription failure [\#168](https://github.com/solidusio/solidus_subscriptions/pull/168) ([aldesantis](https://github.com/aldesantis))
|
109
|
+
- Fix `ActiveRecord::ReadOnlyRecord` when updating subscriptions [\#166](https://github.com/solidusio/solidus_subscriptions/pull/166) ([aldesantis](https://github.com/aldesantis))
|
110
|
+
- Fix DefaultCustomer permission set giving guests access to admin [\#161](https://github.com/solidusio/solidus_subscriptions/pull/161) ([aldesantis](https://github.com/aldesantis))
|
111
|
+
- Fix default permission set breaking accessible\_by [\#159](https://github.com/solidusio/solidus_subscriptions/pull/159) ([aldesantis](https://github.com/aldesantis))
|
112
|
+
- Fix foreign key type for MySQL [\#151](https://github.com/solidusio/solidus_subscriptions/pull/151) ([aldesantis](https://github.com/aldesantis))
|
113
|
+
- Fix "Store must exist" when creating a subscription via the backend [\#102](https://github.com/solidusio/solidus_subscriptions/pull/102) ([aldesantis](https://github.com/aldesantis))
|
114
|
+
|
115
|
+
**Deprecated:**
|
116
|
+
|
117
|
+
- Deprecate nested subscription attributes from user [\#193](https://github.com/solidusio/solidus_subscriptions/pull/193) ([luca-landa](https://github.com/luca-landa))
|
118
|
+
- Update admin UI to match new backend guidelines [\#99](https://github.com/solidusio/solidus_subscriptions/pull/99) ([aldesantis](https://github.com/aldesantis))
|
119
|
+
- Fix deprecated call to `SolidusSupport.solidus_gem_version` [\#97](https://github.com/solidusio/solidus_subscriptions/pull/97) ([aldesantis](https://github.com/aldesantis))
|
120
|
+
|
121
|
+
**Removed:**
|
122
|
+
|
123
|
+
- Remove nested subscription attributes from User [\#124](https://github.com/solidusio/solidus_subscriptions/issues/124)
|
124
|
+
- Remove time component from actionable\_date columns [\#174](https://github.com/solidusio/solidus_subscriptions/pull/174) ([aldesantis](https://github.com/aldesantis))
|
125
|
+
- Remove subscription\_repopulated event [\#157](https://github.com/solidusio/solidus_subscriptions/pull/157) ([aldesantis](https://github.com/aldesantis))
|
126
|
+
- Remove checks on unsupported Solidus versions [\#101](https://github.com/solidusio/solidus_subscriptions/pull/101) ([aldesantis](https://github.com/aldesantis))
|
127
|
+
- Remove legacy sidebar and form [\#100](https://github.com/solidusio/solidus_subscriptions/pull/100) ([aldesantis](https://github.com/aldesantis))
|
128
|
+
|
129
|
+
**Closed issues:**
|
130
|
+
|
131
|
+
- Dependabot can't resolve your Ruby dependency files [\#226](https://github.com/solidusio/solidus_subscriptions/issues/226)
|
132
|
+
- Fix sandbox generation [\#196](https://github.com/solidusio/solidus_subscriptions/issues/196)
|
133
|
+
- Dependabot can't resolve your Ruby dependency files [\#187](https://github.com/solidusio/solidus_subscriptions/issues/187)
|
134
|
+
- Dependabot can't resolve your Ruby dependency files [\#186](https://github.com/solidusio/solidus_subscriptions/issues/186)
|
135
|
+
- Dependabot can't resolve your Ruby dependency files [\#185](https://github.com/solidusio/solidus_subscriptions/issues/185)
|
136
|
+
- Dependabot can't resolve your Ruby dependency files [\#184](https://github.com/solidusio/solidus_subscriptions/issues/184)
|
137
|
+
- Avoid reprocessing installments with cancelled subscriptions [\#180](https://github.com/solidusio/solidus_subscriptions/issues/180)
|
138
|
+
- Minimum cancellation date is always +1 day from what you set it to [\#177](https://github.com/solidusio/solidus_subscriptions/issues/177)
|
139
|
+
- Unable to edit or disable admin links [\#163](https://github.com/solidusio/solidus_subscriptions/issues/163)
|
140
|
+
- Dependabot can't resolve your Ruby dependency files [\#144](https://github.com/solidusio/solidus_subscriptions/issues/144)
|
141
|
+
- Dependabot can't resolve your Ruby dependency files [\#143](https://github.com/solidusio/solidus_subscriptions/issues/143)
|
142
|
+
- Retrieve payment method from the payment source [\#120](https://github.com/solidusio/solidus_subscriptions/issues/120)
|
143
|
+
- Cannot update interval or end date via API [\#118](https://github.com/solidusio/solidus_subscriptions/issues/118)
|
144
|
+
- Add billing address to subscriptions [\#117](https://github.com/solidusio/solidus_subscriptions/issues/117)
|
145
|
+
- Store payment details on subscription [\#116](https://github.com/solidusio/solidus_subscriptions/issues/116)
|
146
|
+
- Dependabot couldn't find a Gemfile-local for this project [\#91](https://github.com/solidusio/solidus_subscriptions/issues/91)
|
147
|
+
- Dependabot can't resolve your Ruby dependency files [\#90](https://github.com/solidusio/solidus_subscriptions/issues/90)
|
148
|
+
- Dependabot can't resolve your Ruby dependency files [\#88](https://github.com/solidusio/solidus_subscriptions/issues/88)
|
149
|
+
- Dependabot can't resolve your Ruby dependency files [\#87](https://github.com/solidusio/solidus_subscriptions/issues/87)
|
150
|
+
- Dependabot can't resolve your Ruby dependency files [\#86](https://github.com/solidusio/solidus_subscriptions/issues/86)
|
151
|
+
- Dependabot can't resolve your Ruby dependency files [\#85](https://github.com/solidusio/solidus_subscriptions/issues/85)
|
152
|
+
- Dependabot can't resolve your Ruby dependency files [\#84](https://github.com/solidusio/solidus_subscriptions/issues/84)
|
153
|
+
- Dependabot can't resolve your Ruby dependency files [\#82](https://github.com/solidusio/solidus_subscriptions/issues/82)
|
154
|
+
- Unable to seed dummy store [\#22](https://github.com/solidusio/solidus_subscriptions/issues/22)
|
155
|
+
- Solidus Subscriptions incompatible with solidus 2.3 [\#14](https://github.com/solidusio/solidus_subscriptions/issues/14)
|
156
|
+
- Promo codes? [\#8](https://github.com/solidusio/solidus_subscriptions/issues/8)
|
157
|
+
- Default store subscription field views [\#7](https://github.com/solidusio/solidus_subscriptions/issues/7)
|
158
|
+
- There is no subscribable toggle for master variants [\#6](https://github.com/solidusio/solidus_subscriptions/issues/6)
|
159
|
+
- What is the plan? [\#1](https://github.com/solidusio/solidus_subscriptions/issues/1)
|
160
|
+
|
161
|
+
**Merged pull requests:**
|
162
|
+
|
163
|
+
- Introduce Installment OrderCreator configuration [\#229](https://github.com/solidusio/solidus_subscriptions/pull/229) ([cesartalves](https://github.com/cesartalves))
|
164
|
+
- Update solidus\_core requirement from \>= 2.0.0, \< 3 to \>= 2.0.0, \< 4 [\#225](https://github.com/solidusio/solidus_subscriptions/pull/225) ([dependabot-preview[bot]](https://github.com/apps/dependabot-preview))
|
165
|
+
- Fix Api Subscription Permitted LineItem Attributes [\#223](https://github.com/solidusio/solidus_subscriptions/pull/223) ([cesartalves](https://github.com/cesartalves))
|
166
|
+
- Fix Spree::OrdersController decoration [\#221](https://github.com/solidusio/solidus_subscriptions/pull/221) ([cesartalves](https://github.com/cesartalves))
|
167
|
+
- Reload order during finalize action [\#220](https://github.com/solidusio/solidus_subscriptions/pull/220) ([seand7565](https://github.com/seand7565))
|
168
|
+
- Update specs to conform with rubocop [\#217](https://github.com/solidusio/solidus_subscriptions/pull/217) ([seand7565](https://github.com/seand7565))
|
169
|
+
- Update promotion rule names on db [\#216](https://github.com/solidusio/solidus_subscriptions/pull/216) ([luca-landa](https://github.com/luca-landa))
|
170
|
+
- Improve promotion rules names [\#215](https://github.com/solidusio/solidus_subscriptions/pull/215) ([luca-landa](https://github.com/luca-landa))
|
171
|
+
- Validate payment\_source ownership on the subscription [\#214](https://github.com/solidusio/solidus_subscriptions/pull/214) ([ChristianRimondi](https://github.com/ChristianRimondi))
|
172
|
+
- Add missing permissions sets for Solidus v2.11 [\#213](https://github.com/solidusio/solidus_subscriptions/pull/213) ([elia](https://github.com/elia))
|
173
|
+
- Require a version of solidus\_support that autoloads subscribers [\#212](https://github.com/solidusio/solidus_subscriptions/pull/212) ([elia](https://github.com/elia))
|
174
|
+
- Remove variant from subscriptions on soft deletion [\#211](https://github.com/solidusio/solidus_subscriptions/pull/211) ([luca-landa](https://github.com/luca-landa))
|
175
|
+
- Set default config currency to subscription [\#210](https://github.com/solidusio/solidus_subscriptions/pull/210) ([luca-landa](https://github.com/luca-landa))
|
176
|
+
- Skip ActiveJob retrying for ProcessInstallmentJob [\#206](https://github.com/solidusio/solidus_subscriptions/pull/206) ([ikraamg](https://github.com/ikraamg))
|
177
|
+
- Cleanup the duplicated fields on subscription creation [\#202](https://github.com/solidusio/solidus_subscriptions/pull/202) ([blocknotes](https://github.com/blocknotes))
|
178
|
+
- Move subscription processing to its own background job [\#201](https://github.com/solidusio/solidus_subscriptions/pull/201) ([nirebu](https://github.com/nirebu))
|
179
|
+
- Use `name` in customer serializer [\#200](https://github.com/solidusio/solidus_subscriptions/pull/200) ([nvandoorn](https://github.com/nvandoorn))
|
180
|
+
- Setup the subcription create endpoint [\#199](https://github.com/solidusio/solidus_subscriptions/pull/199) ([blocknotes](https://github.com/blocknotes))
|
181
|
+
- Add currency to subscriptions [\#198](https://github.com/solidusio/solidus_subscriptions/pull/198) ([luca-landa](https://github.com/luca-landa))
|
182
|
+
- Fix sandbox creation error [\#197](https://github.com/solidusio/solidus_subscriptions/pull/197) ([blocknotes](https://github.com/blocknotes))
|
183
|
+
- Fix duplicated line items creation [\#195](https://github.com/solidusio/solidus_subscriptions/pull/195) ([igorbp](https://github.com/igorbp))
|
184
|
+
- Admin: expose the subscription orders [\#192](https://github.com/solidusio/solidus_subscriptions/pull/192) ([blocknotes](https://github.com/blocknotes))
|
185
|
+
- Improve "unfulfilled" scope by adding subquery [\#191](https://github.com/solidusio/solidus_subscriptions/pull/191) ([AlessioRocco](https://github.com/AlessioRocco))
|
186
|
+
- Remove "canonical-rails" from the Gemfile [\#189](https://github.com/solidusio/solidus_subscriptions/pull/189) ([AlessioRocco](https://github.com/AlessioRocco))
|
187
|
+
- Update permissions check on user subscription tab [\#183](https://github.com/solidusio/solidus_subscriptions/pull/183) ([seand7565](https://github.com/seand7565))
|
188
|
+
- Add Installment Details association to Order [\#182](https://github.com/solidusio/solidus_subscriptions/pull/182) ([seand7565](https://github.com/seand7565))
|
189
|
+
- Avoid processing installments with cancelled subscriptions [\#181](https://github.com/solidusio/solidus_subscriptions/pull/181) ([seand7565](https://github.com/seand7565))
|
190
|
+
- Update cancel method on subscription to respect minimum date [\#178](https://github.com/solidusio/solidus_subscriptions/pull/178) ([seand7565](https://github.com/seand7565))
|
191
|
+
- Fix typo in subscription admin notifications [\#176](https://github.com/solidusio/solidus_subscriptions/pull/176) ([igorbp](https://github.com/igorbp))
|
192
|
+
- Processor and Checkout refactoring [\#172](https://github.com/solidusio/solidus_subscriptions/pull/172) ([aldesantis](https://github.com/aldesantis))
|
193
|
+
- Move maximum reprocessing retries to a time based criterion [\#167](https://github.com/solidusio/solidus_subscriptions/pull/167) ([nirebu](https://github.com/nirebu))
|
194
|
+
- Add config to ignore past unfulfilled installments [\#165](https://github.com/solidusio/solidus_subscriptions/pull/165) ([nirebu](https://github.com/nirebu))
|
195
|
+
- Add Subscriptions tab to User page in Admin [\#162](https://github.com/solidusio/solidus_subscriptions/pull/162) ([igorbp](https://github.com/igorbp))
|
196
|
+
- Track additional events for subscription updates [\#156](https://github.com/solidusio/solidus_subscriptions/pull/156) ([aldesantis](https://github.com/aldesantis))
|
197
|
+
- Update shoulda-matchers requirement from ~\> 3.1 to ~\> 4.4 [\#145](https://github.com/solidusio/solidus_subscriptions/pull/145) ([dependabot-preview[bot]](https://github.com/apps/dependabot-preview))
|
198
|
+
- Use parent strategy when building associations in factories [\#134](https://github.com/solidusio/solidus_subscriptions/pull/134) ([aldesantis](https://github.com/aldesantis))
|
199
|
+
- Move service objects to `app/services` [\#110](https://github.com/solidusio/solidus_subscriptions/pull/110) ([aldesantis](https://github.com/aldesantis))
|
200
|
+
- Convert API documentation into OpenAPI [\#106](https://github.com/solidusio/solidus_subscriptions/pull/106) ([aldesantis](https://github.com/aldesantis))
|
201
|
+
- Add github\_changelog\_generator configuration [\#105](https://github.com/solidusio/solidus_subscriptions/pull/105) ([aldesantis](https://github.com/aldesantis))
|
202
|
+
- Reorganize and clean up readme [\#104](https://github.com/solidusio/solidus_subscriptions/pull/104) ([aldesantis](https://github.com/aldesantis))
|
203
|
+
- Fix unsupported `around(:all)` RSpec configuration [\#98](https://github.com/solidusio/solidus_subscriptions/pull/98) ([aldesantis](https://github.com/aldesantis))
|
204
|
+
- Update to the latest solidus\_dev\_support [\#96](https://github.com/solidusio/solidus_subscriptions/pull/96) ([aldesantis](https://github.com/aldesantis))
|
205
|
+
- Relax solidus\_support dependency [\#95](https://github.com/solidusio/solidus_subscriptions/pull/95) ([kennyadsl](https://github.com/kennyadsl))
|
206
|
+
- Fix Dependabot looking for Gemfile-local [\#92](https://github.com/solidusio/solidus_subscriptions/pull/92) ([aldesantis](https://github.com/aldesantis))
|
207
|
+
- Update solidus\_dev\_support [\#89](https://github.com/solidusio/solidus_subscriptions/pull/89) ([blocknotes](https://github.com/blocknotes))
|
208
|
+
- Adopt solidus\_extension\_dev\_tools [\#81](https://github.com/solidusio/solidus_subscriptions/pull/81) ([aldesantis](https://github.com/aldesantis))
|
209
|
+
- Fix CI on Rails 6 [\#71](https://github.com/solidusio/solidus_subscriptions/pull/71) ([aldesantis](https://github.com/aldesantis))
|
210
|
+
- Fixes admin sorting on fields without a natural order [\#70](https://github.com/solidusio/solidus_subscriptions/pull/70) ([mdesantis](https://github.com/mdesantis))
|
211
|
+
- Perform maintenance tasks [\#69](https://github.com/solidusio/solidus_subscriptions/pull/69) ([mdesantis](https://github.com/mdesantis))
|
212
|
+
- Run specs with CircleCI [\#68](https://github.com/solidusio/solidus_subscriptions/pull/68) ([kennyadsl](https://github.com/kennyadsl))
|
213
|
+
- Fix broken factories associations [\#67](https://github.com/solidusio/solidus_subscriptions/pull/67) ([aitbw](https://github.com/aitbw))
|
214
|
+
- Remove Solidus v2.3 from Travis config \(EOL\) [\#66](https://github.com/solidusio/solidus_subscriptions/pull/66) ([aitbw](https://github.com/aitbw))
|
215
|
+
- Add Solidus v2.8 to Travis config [\#65](https://github.com/solidusio/solidus_subscriptions/pull/65) ([aitbw](https://github.com/aitbw))
|
216
|
+
- Do not run rubocop on Travis [\#64](https://github.com/solidusio/solidus_subscriptions/pull/64) ([aitbw](https://github.com/aitbw))
|
217
|
+
- Update rubocop to fix vulnerability CVE-2017-8418 [\#63](https://github.com/solidusio/solidus_subscriptions/pull/63) ([aitbw](https://github.com/aitbw))
|
218
|
+
- Fix deprecations warnings and failing specs [\#61](https://github.com/solidusio/solidus_subscriptions/pull/61) ([aitbw](https://github.com/aitbw))
|
219
|
+
- Change api url in documentation [\#58](https://github.com/solidusio/solidus_subscriptions/pull/58) ([jacobeubanks](https://github.com/jacobeubanks))
|
220
|
+
- Fix factory girl dependency for Solidus \< 2.5 [\#57](https://github.com/solidusio/solidus_subscriptions/pull/57) ([jacobherrington](https://github.com/jacobherrington))
|
221
|
+
- Add Solidus 2.7 to .travis.yml [\#56](https://github.com/solidusio/solidus_subscriptions/pull/56) ([jacobherrington](https://github.com/jacobherrington))
|
222
|
+
- Change static factory attrs to dynamic [\#55](https://github.com/solidusio/solidus_subscriptions/pull/55) ([fastjames](https://github.com/fastjames))
|
223
|
+
- Update factory\_girl to factory\_bot [\#50](https://github.com/solidusio/solidus_subscriptions/pull/50) ([fastjames](https://github.com/fastjames))
|
224
|
+
- Update solidus version for travis [\#46](https://github.com/solidusio/solidus_subscriptions/pull/46) ([fastjames](https://github.com/fastjames))
|
225
|
+
- Fix typos in comments [\#39](https://github.com/solidusio/solidus_subscriptions/pull/39) ([swcraig](https://github.com/swcraig))
|
226
|
+
- Add ffaker dependency to gemspec [\#35](https://github.com/solidusio/solidus_subscriptions/pull/35) ([swcraig](https://github.com/swcraig))
|
227
|
+
- Small UI change to canceling in the admin [\#28](https://github.com/solidusio/solidus_subscriptions/pull/28) ([seantaylor](https://github.com/seantaylor))
|
228
|
+
- Authorize subscriptions admin sidebar link [\#23](https://github.com/solidusio/solidus_subscriptions/pull/23) ([qr8r](https://github.com/qr8r))
|
229
|
+
- Subs track their own interval now [\#21](https://github.com/solidusio/solidus_subscriptions/pull/21) ([qr8r](https://github.com/qr8r))
|
230
|
+
- Fix/the broken admin [\#20](https://github.com/solidusio/solidus_subscriptions/pull/20) ([qr8r](https://github.com/qr8r))
|
231
|
+
- Allow destroying nested line items [\#18](https://github.com/solidusio/solidus_subscriptions/pull/18) ([isaacfreeman](https://github.com/isaacfreeman))
|
232
|
+
- Update Readme to correct repo [\#17](https://github.com/solidusio/solidus_subscriptions/pull/17) ([asecondwill](https://github.com/asecondwill))
|
233
|
+
- Support Rails 5.1 [\#16](https://github.com/solidusio/solidus_subscriptions/pull/16) ([jhawthorn](https://github.com/jhawthorn))
|
234
|
+
- Allows for subscription checkout to accommodate a more flexible checko… [\#15](https://github.com/solidusio/solidus_subscriptions/pull/15) ([joeljackson](https://github.com/joeljackson))
|
235
|
+
- Only load permitted attributes once [\#11](https://github.com/solidusio/solidus_subscriptions/pull/11) ([qr8r](https://github.com/qr8r))
|
236
|
+
- Fix duplicated docs [\#10](https://github.com/solidusio/solidus_subscriptions/pull/10) ([qr8r](https://github.com/qr8r))
|
237
|
+
- Add Subcription inputs to product page [\#9](https://github.com/solidusio/solidus_subscriptions/pull/9) ([qr8r](https://github.com/qr8r))
|
238
|
+
- Fixes for Solidus 2.2 [\#5](https://github.com/solidusio/solidus_subscriptions/pull/5) ([jhawthorn](https://github.com/jhawthorn))
|
239
|
+
- Allow Failed installments to not be reprocessed [\#4](https://github.com/solidusio/solidus_subscriptions/pull/4) ([qr8r](https://github.com/qr8r))
|
240
|
+
- Lock travis bundler version [\#3](https://github.com/solidusio/solidus_subscriptions/pull/3) ([qr8r](https://github.com/qr8r))
|
241
|
+
- Group subscriptions by subscription configurations [\#2](https://github.com/solidusio/solidus_subscriptions/pull/2) ([qr8r](https://github.com/qr8r))
|
242
|
+
|
243
|
+
|
244
|
+
|
245
|
+
\* *This Changelog was automatically generated by [github_changelog_generator](https://github.com/github-changelog-generator/github-changelog-generator)*
|
data/Rakefile
CHANGED
@@ -1,15 +1,14 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
3
|
module SolidusSubscriptions
|
4
|
-
|
5
|
-
include ::
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
event_action :report_payment_method_change, event_name: 'solidus_subscriptions.subscription_payment_method_changed'
|
4
|
+
class ChurnBusterSubscriber
|
5
|
+
include Omnes::Subscriber
|
6
|
+
|
7
|
+
handle :"solidus_subscriptions.subscription_canceled", with: :report_subscription_cancellation
|
8
|
+
handle :"solidus_subscriptions.subscription_ended", with: :report_subscription_ending
|
9
|
+
handle :"solidus_subscriptions.installment_succeeded", with: :report_payment_success
|
10
|
+
handle :"solidus_subscriptions.installment_failed_payment", with: :report_payment_failure
|
11
|
+
handle :"solidus_subscriptions.subscription_payment_method_changed", with: :report_payment_method_change
|
13
12
|
|
14
13
|
def report_subscription_cancellation(event)
|
15
14
|
churn_buster&.report_subscription_cancellation(event.payload.fetch(:subscription))
|
@@ -1,17 +1,16 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
3
|
module SolidusSubscriptions
|
4
|
-
|
5
|
-
include ::
|
6
|
-
include ::SolidusSupport::LegacyEventCompat::Subscriber
|
4
|
+
class EventStorageSubscriber
|
5
|
+
include Omnes::Subscriber
|
7
6
|
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
7
|
+
handle :"solidus_subscriptions.subscription_created", with: :track_subscription_created
|
8
|
+
handle :"solidus_subscriptions.subscription_activated", with: :track_subscription_activated
|
9
|
+
handle :"solidus_subscriptions.subscription_canceled", with: :track_subscription_canceled
|
10
|
+
handle :"solidus_subscriptions.subscription_ended", with: :track_subscription_ended
|
11
|
+
handle :"solidus_subscriptions.subscription_shipping_address_changed", with: :track_subscription_shipping_address_changed
|
12
|
+
handle :"solidus_subscriptions.subscription_billing_address_changed", with: :track_subscription_billing_address_changed
|
13
|
+
handle :"solidus_subscriptions.subscription_frequency_changed", with: :track_subscription_frequency_changed
|
15
14
|
|
16
15
|
def track_subscription_created(event)
|
17
16
|
event.payload.fetch(:subscription).events.create!(
|
@@ -1,13 +1,10 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
3
|
module SolidusSubscriptions
|
4
|
-
|
5
|
-
include ::
|
6
|
-
include ::SolidusSupport::LegacyEventCompat::Subscriber
|
4
|
+
class OrderSubscriber
|
5
|
+
include Omnes::Subscriber
|
7
6
|
|
8
|
-
|
9
|
-
|
10
|
-
private
|
7
|
+
handle :order_finalized, with: :create_subscription
|
11
8
|
|
12
9
|
def create_subscription(event)
|
13
10
|
SolidusSubscriptions::CreateSubscriptionJob.perform_later(event.payload[:order])
|
@@ -51,29 +51,27 @@ module SolidusSubscriptions
|
|
51
51
|
end
|
52
52
|
|
53
53
|
initializer 'solidus_subscriptions.pub_sub' do |app|
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
::Spree::Bus.register(:"solidus_subscriptions.#{event_name}")
|
72
|
-
end
|
73
|
-
SolidusSubscriptions::ChurnBusterSubscriber.omnes_subscriber.subscribe_to(::Spree::Bus)
|
74
|
-
SolidusSubscriptions::EventStorageSubscriber.omnes_subscriber.subscribe_to(::Spree::Bus)
|
75
|
-
SolidusSubscriptions::OrderSubscriber.omnes_subscriber.subscribe_to(::Spree::Bus)
|
54
|
+
app.reloader.to_prepare do
|
55
|
+
%i[
|
56
|
+
subscription_created
|
57
|
+
subscription_activated
|
58
|
+
subscription_canceled
|
59
|
+
subscription_ended
|
60
|
+
subscription_skipped
|
61
|
+
subscription_resumed
|
62
|
+
subscription_paused
|
63
|
+
subscription_frequency_changed
|
64
|
+
subscription_shipping_address_changed
|
65
|
+
subscription_billing_address_changed
|
66
|
+
installment_succeeded
|
67
|
+
installment_failed_payment
|
68
|
+
subscription_payment_method_changed
|
69
|
+
].each do |event_name|
|
70
|
+
::Spree::Bus.register(:"solidus_subscriptions.#{event_name}")
|
76
71
|
end
|
72
|
+
SolidusSubscriptions::ChurnBusterSubscriber.new.subscribe_to(::Spree::Bus)
|
73
|
+
SolidusSubscriptions::EventStorageSubscriber.new.subscribe_to(::Spree::Bus)
|
74
|
+
SolidusSubscriptions::OrderSubscriber.new.subscribe_to(::Spree::Bus)
|
77
75
|
end
|
78
76
|
end
|
79
77
|
end
|
@@ -15,7 +15,7 @@ Gem::Specification.new do |spec|
|
|
15
15
|
|
16
16
|
spec.metadata['homepage_uri'] = spec.homepage
|
17
17
|
spec.metadata['source_code_uri'] = 'https://github.com/solidusio/solidus_subscriptions'
|
18
|
-
spec.metadata['changelog_uri'] = 'https://github.com/solidusio/solidus_subscriptions/
|
18
|
+
spec.metadata['changelog_uri'] = 'https://github.com/solidusio/solidus_subscriptions/releases'
|
19
19
|
|
20
20
|
spec.required_ruby_version = Gem::Requirement.new('>= 2.5')
|
21
21
|
|
@@ -32,7 +32,7 @@ Gem::Specification.new do |spec|
|
|
32
32
|
spec.add_dependency 'deface'
|
33
33
|
spec.add_dependency 'httparty', '~> 0.18'
|
34
34
|
spec.add_dependency 'i18n'
|
35
|
-
spec.add_dependency 'solidus_core', '>= 2.11', '<
|
35
|
+
spec.add_dependency 'solidus_core', '>= 2.11', '< 5'
|
36
36
|
spec.add_dependency 'solidus_support', '~> 0.9'
|
37
37
|
spec.add_dependency 'state_machines'
|
38
38
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: solidus_subscriptions
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 2.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Solidus Team
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-05-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: deface
|
@@ -61,7 +61,7 @@ dependencies:
|
|
61
61
|
version: '2.11'
|
62
62
|
- - "<"
|
63
63
|
- !ruby/object:Gem::Version
|
64
|
-
version: '
|
64
|
+
version: '5'
|
65
65
|
type: :runtime
|
66
66
|
prerelease: false
|
67
67
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -71,7 +71,7 @@ dependencies:
|
|
71
71
|
version: '2.11'
|
72
72
|
- - "<"
|
73
73
|
- !ruby/object:Gem::Version
|
74
|
-
version: '
|
74
|
+
version: '5'
|
75
75
|
- !ruby/object:Gem::Dependency
|
76
76
|
name: solidus_support
|
77
77
|
requirement: !ruby/object:Gem::Requirement
|
@@ -230,6 +230,7 @@ files:
|
|
230
230
|
- CHANGELOG.md
|
231
231
|
- Gemfile
|
232
232
|
- LICENSE
|
233
|
+
- OLD_CHANGELOG.md
|
233
234
|
- README.md
|
234
235
|
- Rakefile
|
235
236
|
- app/assets/javascripts/spree/backend/solidus_subscriptions.js
|
@@ -433,7 +434,7 @@ licenses:
|
|
433
434
|
metadata:
|
434
435
|
homepage_uri: https://github.com/solidusio/solidus_subscriptions
|
435
436
|
source_code_uri: https://github.com/solidusio/solidus_subscriptions
|
436
|
-
changelog_uri: https://github.com/solidusio/solidus_subscriptions/
|
437
|
+
changelog_uri: https://github.com/solidusio/solidus_subscriptions/releases
|
437
438
|
post_install_message:
|
438
439
|
rdoc_options: []
|
439
440
|
require_paths:
|