François Turbelin
|
9abe41f6cb
|
Use OrderTaxAdjustmentsFetcher service
|
2020-06-16 14:01:27 +02:00 |
|
Pau Pérez Fabregat
|
257b311e04
|
Merge pull request #5158 from openfoodfoundation/3-0-stable
Merge 3-0-stable to master
|
2020-06-15 13:35:58 +02:00 |
|
Pau Perez
|
456f369b76
|
Fix outstanding Rubocop violations
|
2020-06-15 10:17:34 +02:00 |
|
Pau Perez
|
29246c15fe
|
Defend from order without billing address
This a data integrity issue that needs deeper investigation but while
this happens, our users can still render their reports.
|
2020-06-12 16:34:23 +02:00 |
|
Matt-Yorkley
|
e725f33318
|
Defend from an order w/o payments when building table
|
2020-06-11 12:37:51 +02:00 |
|
Luis Ramos
|
f34f693620
|
Merge branch 'master' into 3-0-stable-may-22
|
2020-05-22 22:54:19 +01:00 |
|
Luis Ramos
|
6fcca0197c
|
Merge pull request #5450 from rmklaus12/5095-ordercycle-amtqty-translations
Changed report_header fields for amount and quantity to reflect corre…
|
2020-05-21 21:21:14 +01:00 |
|
Maikel Linke
|
2d95e9ebc0
|
List each order only once in report
|
2020-05-19 10:38:28 +10:00 |
|
Robin Klaus
|
311bbd2aa2
|
Changed report_header fields for amount and quantity to reflect correct translation to French
|
2020-05-18 18:41:04 +10:00 |
|
Luis Ramos
|
19da0ba969
|
Merge branch 'master' into 3-0-stable-may13
|
2020-05-13 19:50:32 +01:00 |
|
Luis Ramos
|
1671184a3c
|
Merge pull request #5375 from luisramos0/sample_order
[Spree 2.1] OFN v3 comes with sample orders :-)
|
2020-05-13 12:04:06 +01:00 |
|
Luis Ramos
|
be998a9eb6
|
Reload shipment before shipping otherwise shipment stays as ready but with shipped_at defined
|
2020-05-13 12:00:37 +01:00 |
|
Matt-Yorkley
|
ab143ceaed
|
Merge pull request #5352 from pacodelaluna/change-date-displayed-on-sales-tax-report
Change date displayed on sales_tax reports
|
2020-05-11 09:56:38 +02:00 |
|
Pau Pérez Fabregat
|
c38c59b0b9
|
Merge pull request #5223 from luisramos0/def_user
Change default user from spree@example.com to ofn@example.com ❤️
|
2020-05-08 09:51:31 +02:00 |
|
Luis Ramos
|
d967d855fc
|
Merge pull request #5319 from Matt-Yorkley/caching-by-class
[Caching] Caching data by class
|
2020-05-07 11:43:44 +01:00 |
|
Pau Pérez Fabregat
|
65433c6ac6
|
Merge pull request #5351 from luisramos0/improve_sample_data
Improve ship methods names on sample data
|
2020-05-06 11:27:34 +02:00 |
|
Luis Ramos
|
825f747dff
|
Add more types of sample orders
|
2020-05-05 23:16:54 +01:00 |
|
Luis Ramos
|
4083da5b16
|
Add sample order to sample data
|
2020-05-05 23:16:54 +01:00 |
|
Luis Ramos
|
be4104d6f3
|
Merge branch 'master' into 3-0-stable-may-5
|
2020-05-05 19:11:20 +01:00 |
|
Luis Ramos
|
24414b83dd
|
Merge pull request #5325 from oeoeaio/enhancement-5214
Add order number and date/time to order cycles customer report
|
2020-05-05 14:34:47 +01:00 |
|
François Turbelin
|
6e5cbebf4a
|
Change date value on order_and_distributor_report
|
2020-05-05 12:27:17 +02:00 |
|
François Turbelin
|
9cfd7db99d
|
Change date displayed on sales_tax reports
|
2020-05-05 12:27:17 +02:00 |
|
Luis Ramos
|
44872844ed
|
Make ship methods in sample data have the name of the enterprise so it's easier to distinguish them
|
2020-05-03 16:36:12 +01:00 |
|
Luis Ramos
|
bf0b941e1c
|
Merge pull request #4935 from coopdevs/data-archiving
Allow data archiving using the :truncate_data task
|
2020-05-03 12:58:31 +01:00 |
|
Luis Ramos
|
92d0a5b735
|
Change default user from spree@example.com to ofn@example.com
|
2020-05-03 10:12:43 +01:00 |
|
Pau Perez
|
647a7bdddf
|
Clarify we won't use truncate_date in prod yet
We initially aimed at implementing data archiving in production reusing
this rake task but priorities have changed. It'll be just a refactor for
now.
|
2020-04-29 17:00:53 +02:00 |
|
Pau Perez
|
e0228f66af
|
Default to archiving data older than 2 years.
This is safer than the current 3 months.
|
2020-04-29 16:49:43 +02:00 |
|
Pau Perez
|
38ea95ea85
|
Prevent nil input to turn into 0
|
2020-04-29 16:49:43 +02:00 |
|
Pau Perez
|
6ceeda7d9e
|
Instrument TruncateData logging start and end
|
2020-04-29 16:49:43 +02:00 |
|
Pau Perez
|
703706ee0b
|
Replace one-letter variable with full word
|
2020-04-29 16:49:43 +02:00 |
|
Pau Perez
|
e2a3dd0c6f
|
Delete only return auths. of the deleted orders
They are associated to order and as such we can't remove them all
blindly.
|
2020-04-29 16:49:43 +02:00 |
|
Pau Perez
|
a3b8638faf
|
Delete sessions older than two weeks
This affects users that are actively purchasing, so 2 weeks data is more
than enough. Others can afford to log in again.
|
2020-04-29 16:49:43 +02:00 |
|
Pau Perez
|
4f015320a3
|
Upper case DELETE statement
This keeps it consistent with the rest of the log.
|
2020-04-29 16:49:43 +02:00 |
|
Pau Perez
|
0f1d57db73
|
Delete LogEntries older than a month
They are useful for troubleshooting but a month data seems enough.
|
2020-04-29 16:49:43 +02:00 |
|
Pau Perez
|
5f84c51c13
|
Delete StateChanges older than a month
They are useful for troubleshooting but a month data seems enough.
|
2020-04-29 16:49:43 +02:00 |
|
Pau Perez
|
d215c76bc9
|
Make it even more explicit the action is dangerous
We're yelling at the person to make a backup before proceeding.
|
2020-04-29 16:49:43 +02:00 |
|
Pau Perez
|
e1a80edb7e
|
Carefully doc how to archive data from an instance
|
2020-04-29 16:49:43 +02:00 |
|
Pau Perez
|
a4372e4d31
|
Fix long lines
|
2020-04-29 16:49:43 +02:00 |
|
Pau Perez
|
b6d3c3039a
|
Fix "Method has too many lines" violation
|
2020-04-29 16:49:43 +02:00 |
|
Pau Perez
|
f199cb1bea
|
Warn but allow executing :truncate_data in prod
|
2020-04-29 16:49:43 +02:00 |
|
Pau Perez
|
be123b2a72
|
Specify how much data to remove in :truncate_data
|
2020-04-29 16:49:43 +02:00 |
|
Pau Perez
|
60d29d619f
|
Replace :truncate_data definition with new class
And cover it with a test.
|
2020-04-29 16:49:43 +02:00 |
|
Pau Perez
|
78fd785f0c
|
Extract TruncateData out of :truncate_data task
|
2020-04-29 16:49:43 +02:00 |
|
Luis Ramos
|
0e5d7c1eb1
|
Add migration to drop dead spree_mail_methods table and some dead mail_methods preferences
|
2020-04-29 13:34:50 +01:00 |
|
Rob H
|
6405c34428
|
Add order number and date/time to order cycles customer report
|
2020-04-29 21:20:14 +10:00 |
|
Matt-Yorkley
|
ec581dccb8
|
Use class-based caching for queries in EnterpriseInjectionData
|
2020-04-28 15:11:59 +02:00 |
|
Luis Ramos
|
839b373b5c
|
Merge branch 'master' into 3-0-stable-Apr28
|
2020-04-28 13:40:19 +01:00 |
|
Rob H
|
dcdd3f2444
|
Modify interface of VariantOverridesIndexed#indexed
Stop using keyword args and accept variant_ids instead of line_items
|
2020-04-13 22:11:58 +10:00 |
|
Rob H
|
6820919552
|
Rename VariantOverrides class to VariantOverridesIndexed
|
2020-04-13 21:56:37 +10:00 |
|
Rob H
|
4a4173bdc0
|
Move VariantOverrides class to app/services
|
2020-04-13 21:54:10 +10:00 |
|