blender-store.git
4 months agoFix "A bug of tweaks" plugin breaking if Subscriptions plugin is deactivated master
Anna Sirota [Thu, 22 Jul 2021 10:09:12 +0000 (12:09 +0200)]
Fix "A bug of tweaks" plugin breaking if Subscriptions plugin is deactivated

This fixes "Uncaught Error: Call to undefined function
wcs_is_subscription()", which causes Edit Order page to break
when Woocommerce Subscriptions plugin is deactivated.
With this change orders should be displayed normally even if WCS remains
deactivated.

4 months agoReduce number of concurrent subscription renewal batches
Sybren A. Stüvel [Fri, 16 Jul 2021 14:31:14 +0000 (16:31 +0200)]
Reduce number of concurrent subscription renewal batches

Reduce the number of concurrent subscription renewal batches from 2 to 1.

This is to (hopefully) avoid timeouts when renewing.

9 months agoUser admin: user deletion options
Sybren A. Stüvel [Fri, 19 Feb 2021 16:33:50 +0000 (17:33 +0100)]
User admin: user deletion options

Allow deletion from the user edit page (otherwise only possible from the
user list itself), and show deletion request timestamp as received from
Blender ID.

9 months agoBlender ID: store 'deletion requested' timestamp in user metadata
Sybren A. Stüvel [Fri, 19 Feb 2021 16:32:34 +0000 (17:32 +0100)]
Blender ID: store 'deletion requested' timestamp in user metadata

When the Blender ID webhook sends a `date_deletion_requested` field, store
it in the user's metadata field `blender_id_date_deletion_requested`.

This allows the request timestamp to be shown in the admin, and some
future cron job to actually delete the user.

11 months agoFind mismatches script: Connect to MySQL with credentials from WordPress
Sybren A. Stüvel [Thu, 7 Jan 2021 16:34:30 +0000 (17:34 +0100)]
Find mismatches script: Connect to MySQL with credentials from WordPress

Parsing the WordPress config to find the database credentials makes it
possible to run the script unaltered in different environments.

11 months agogitignore: ignore logfiles produced by 'find mismatches' script
Sybren A. Stüvel [Thu, 7 Jan 2021 16:25:30 +0000 (17:25 +0100)]
gitignore: ignore logfiles produced by 'find mismatches' script

11 months agoFind mismatches script: add instructions on how to run
Sybren A. Stüvel [Thu, 7 Jan 2021 13:54:34 +0000 (14:54 +0100)]
Find mismatches script: add instructions on how to run

11 months agoFind mismatches script: Fix some MyPy errors
Sybren A. Stüvel [Thu, 7 Jan 2021 13:49:28 +0000 (14:49 +0100)]
Find mismatches script: Fix some MyPy errors

11 months agoFind mismatches script: Move DB configuration to the top of the file
Sybren A. Stüvel [Thu, 7 Jan 2021 13:47:44 +0000 (14:47 +0100)]
Find mismatches script: Move DB configuration to the top of the file

11 months agoFind mismatches script: write log file
Sybren A. Stüvel [Thu, 7 Jan 2021 13:32:48 +0000 (14:32 +0100)]
Find mismatches script: write log file

The log file consists of a JSON file with information about all the
found subscriptions, their inconsistencies, and the queries that were
run to fix those.

11 months agoCleanup: rename function
Sybren A. Stüvel [Thu, 7 Jan 2021 12:39:19 +0000 (13:39 +0100)]
Cleanup: rename function

This makes it a bit clearer what the function does.

11 months agoAdd more explanation of what the script does
Sybren A. Stüvel [Thu, 7 Jan 2021 12:38:59 +0000 (13:38 +0100)]
Add more explanation of what the script does

11 months agoAdd mypy.ini to maintenance scripts dir
Sybren A. Stüvel [Thu, 7 Jan 2021 11:34:43 +0000 (12:34 +0100)]
Add mypy.ini to maintenance scripts dir

11 months agoFind mismatches script: gracefully handle missing data
Sybren A. Stüvel [Thu, 7 Jan 2021 11:26:59 +0000 (12:26 +0100)]
Find mismatches script: gracefully handle missing data

Some subscriptions are incomplete because they are in the process of
being created. These can be safely skipped, as they're likely to be
correct right after creation. If not, we should address that in the
Store code itself rather than in this script.

11 months agoWooCommerce tweaks: handle staging sites in some functions
Sybren A. Stüvel [Thu, 7 Jan 2021 11:00:51 +0000 (12:00 +0100)]
WooCommerce tweaks: handle staging sites in some functions

Handle the "this is a staging site" status in the
`bo_subscription_handle_manual_flag()` and
`bo_admin_show_subscription_status()` functions, such that:

- the admin interface no longer shows "this subscription is incorrectly
  marked as automatic" on a staging site, and
- new subscriptions are no longer forced to be manually paid on a
  staging site.

11 months agoRemove time-sensitive assertion
Sybren A. Stüvel [Thu, 7 Jan 2021 09:58:36 +0000 (10:58 +0100)]
Remove time-sensitive assertion

The assertion was only valid for testing with one specific database
snapshot.

11 months agoFixer script: also fix variation renewal type in order item metadata
Sybren A. Stüvel [Tue, 5 Jan 2021 17:47:00 +0000 (18:47 +0100)]
Fixer script: also fix variation renewal type in order item metadata

Correct the variation renewal type ("automatic"/"manual") in the order item
metadata of both the subscription and the last order.

11 months agoAdd Python script for finding & fixing mismatches between renewal types
Sybren A. Stüvel [Tue, 5 Jan 2021 16:59:34 +0000 (17:59 +0100)]
Add Python script for finding & fixing mismatches between renewal types

Blender Cloud subscriptions have a metadata field
`_requires_manual_renewal` which is set to `true` for manually renewed
subscriptions, and `false` for automatic ones. When switching
subscriptions, this field can change value. However, the subscription's
variation isn't always updated correctly.

This script detects these inconsistencies, and can fix them. Run
`./find_mismatches.py` to detect, and add `--fix` to actually perform
the fixes. If `--fix` is NOT used, changes are still sent to the
database but are subsequently rolled back.

11 months agoPlace password confirmation field above the reCaptcha
Sybren A. Stüvel [Mon, 21 Dec 2020 16:49:27 +0000 (17:49 +0100)]
Place password confirmation field above the reCaptcha

11 months agoStyling: add a thin border around input fields
Sybren A. Stüvel [Mon, 21 Dec 2020 16:45:12 +0000 (17:45 +0100)]
Styling: add a thin border around input fields

Some fields are white on a white background, making them invisible.

11 months agoAdd note about NOT upgrading StagTools
Sybren A. Stüvel [Mon, 21 Dec 2020 16:23:22 +0000 (17:23 +0100)]
Add note about NOT upgrading StagTools

11 months agoBlender-Crux: apply our changes to upgraded WooCommerce templates
Sybren A. Stüvel [Mon, 21 Dec 2020 15:53:51 +0000 (16:53 +0100)]
Blender-Crux: apply our changes to upgraded WooCommerce templates

11 months agoUpdate form-checkout.php.diff to contain the actual changes
Sybren A. Stüvel [Mon, 21 Dec 2020 15:40:55 +0000 (16:40 +0100)]
Update form-checkout.php.diff to contain the actual changes

The previous revision of this diff was made against an older file, and
contained some changes not made by us.

11 months agoDowngrade StagTools 2.3.5 → 2.3.3
Sybren A. Stüvel [Mon, 21 Dec 2020 15:26:37 +0000 (16:26 +0100)]
Downgrade StagTools 2.3.5 → 2.3.3

Versions 2.3.4 and 2.3.5 are missing the Twitter widget, which is used by
the JW Twitter Cards plugin.

11 months agoUpgrade JW Twitter Cards 11.1.0 → 11.1.1
Sybren A. Stüvel [Mon, 21 Dec 2020 14:30:49 +0000 (15:30 +0100)]
Upgrade JW Twitter Cards 11.1.0 → 11.1.1

11 months agoUpgrade WordPress 5.3.2 → 5.6
Sybren A. Stüvel [Mon, 21 Dec 2020 13:58:07 +0000 (14:58 +0100)]
Upgrade WordPress 5.3.2 → 5.6

11 months agoUpdate UPGRADING_STORE.md to reflect the recent upgrades
Sybren A. Stüvel [Mon, 21 Dec 2020 09:34:33 +0000 (10:34 +0100)]
Update UPGRADING_STORE.md to reflect the recent upgrades

11 months agoUpgrade reCaptcha for WooCommerce 1.0.17 → 2.4
Sybren A. Stüvel [Mon, 21 Dec 2020 13:49:11 +0000 (14:49 +0100)]
Upgrade reCaptcha for WooCommerce 1.0.17 → 2.4

11 months agoUpdate and apply patches/pdf-invoices-infinite-loop.diff
Sybren A. Stüvel [Mon, 21 Dec 2020 13:43:27 +0000 (14:43 +0100)]
Update and apply patches/pdf-invoices-infinite-loop.diff

Upstream has tried to resolve the issue, but not properly, so there are
still problems creating the temporary directory.

11 months agoUpgrade Aelia Currency Switcher for WooCommerce 4.7.14 → 4.9.4
Sybren A. Stüvel [Mon, 21 Dec 2020 13:35:45 +0000 (14:35 +0100)]
Upgrade Aelia Currency Switcher for WooCommerce 4.7.14 → 4.9.4

11 months agoUpgrade Google XML Sitemaps 4.1.0 → 4.1.1
Sybren A. Stüvel [Mon, 21 Dec 2020 13:23:05 +0000 (14:23 +0100)]
Upgrade Google XML Sitemaps 4.1.0 → 4.1.1

11 months agoUpgrade WooCommerce DYMO Print 5.0.9 → 6.0.0
Sybren A. Stüvel [Mon, 21 Dec 2020 13:20:54 +0000 (14:20 +0100)]
Upgrade WooCommerce DYMO Print 5.0.9 → 6.0.0

11 months agoApply patches/paypal-gateway-ipn-handler.diff
Sybren A. Stüvel [Mon, 21 Dec 2020 13:19:04 +0000 (14:19 +0100)]
Apply patches/paypal-gateway-ipn-handler.diff

11 months agoUpgrade WP Crontrol 1.7.1 → 1.8.5
Sybren A. Stüvel [Mon, 21 Dec 2020 13:15:31 +0000 (14:15 +0100)]
Upgrade WP Crontrol 1.7.1 → 1.8.5

11 months agoDelete WooCommerce EU VAT Number
Sybren A. Stüvel [Mon, 21 Dec 2020 13:10:40 +0000 (14:10 +0100)]
Delete WooCommerce EU VAT Number

We haven't used this plugin since it was replaced with WooCommerce EU
VAT Assistant in 9e0da142cba07bb05f55fed09b830ce01b47ec0e

11 months agoUpgrade StagTools 2.3.1 → 2.3.5
Sybren A. Stüvel [Mon, 21 Dec 2020 12:44:09 +0000 (13:44 +0100)]
Upgrade StagTools 2.3.1 → 2.3.5

11 months agoInstall Crux Assistant plugin 1.0.1
Sybren A. Stüvel [Mon, 21 Dec 2020 12:39:19 +0000 (13:39 +0100)]
Install Crux Assistant plugin 1.0.1

11 months agoUpgrade theme Crux 2.1 → 2.2.0
Sybren A. Stüvel [Mon, 21 Dec 2020 12:37:29 +0000 (13:37 +0100)]
Upgrade theme Crux 2.1 → 2.2.0

11 months agoUpgrade Aelia Tax Display by Country 1.12.0 → 1.15.4
Sybren A. Stüvel [Mon, 21 Dec 2020 12:34:55 +0000 (13:34 +0100)]
Upgrade Aelia Tax Display by Country 1.12.0 → 1.15.4

11 months agoUpgrade WooCommerce Currency Switcher - Subscriptions Integration 1.4.9 → 1.5.9
Sybren A. Stüvel [Mon, 21 Dec 2020 12:20:05 +0000 (13:20 +0100)]
Upgrade WooCommerce Currency Switcher - Subscriptions Integration 1.4.9 → 1.5.9

11 months agoUpgrade WooCommerce 3.8.1 → 4.8.0
Sybren A. Stüvel [Mon, 21 Dec 2020 11:43:02 +0000 (12:43 +0100)]
Upgrade WooCommerce 3.8.1 → 4.8.0

11 months ago.htaccess: automatically added note
Sybren A. Stüvel [Mon, 21 Dec 2020 11:31:31 +0000 (12:31 +0100)]
.htaccess: automatically added note

I'm not sure which of the preceeding upgrades caused these lines to be
added. Doesn't matter much, since it's just an added comment. No functional
changes.

11 months agoUpgrade WooCommerce Subscriptions 2.6.5 → 3.0.11
Sybren A. Stüvel [Mon, 21 Dec 2020 11:30:04 +0000 (12:30 +0100)]
Upgrade WooCommerce Subscriptions 2.6.5 → 3.0.11

11 months agoUpgrade WooCommerce PayPal Powered by Braintree Gateway 2.3.5 → 2.4.3
Sybren A. Stüvel [Mon, 21 Dec 2020 11:09:36 +0000 (12:09 +0100)]
Upgrade WooCommerce PayPal Powered by Braintree Gateway 2.3.5 → 2.4.3

11 months agoUpgrade WooCommerce Sequential Order Numbers Pro 1.15.0 → 1.17.0
Sybren A. Stüvel [Mon, 21 Dec 2020 11:07:20 +0000 (12:07 +0100)]
Upgrade WooCommerce Sequential Order Numbers Pro 1.15.0 → 1.17.0

11 months agoRecreate and apply `patches/woocommerce-pdf-invoices.diff`
Sybren A. Stüvel [Mon, 21 Dec 2020 13:07:13 +0000 (14:07 +0100)]
Recreate and apply `patches/woocommerce-pdf-invoices.diff`

The patched file was changed quite a lot since the upgrade. Fortunately
the same logic was just moved somewhere else, and the patch was easily
recreated.

The biggest hurdle was working around an auto-whitespace-trimming editor
and DOS line-ends in a Linux environment.

11 months agoUpgrade WooCommerce PDF Invoices & Packing Slips 2.4.2 → 2.7.3
Sybren A. Stüvel [Mon, 21 Dec 2020 11:03:49 +0000 (12:03 +0100)]
Upgrade WooCommerce PDF Invoices & Packing Slips 2.4.2 → 2.7.3

11 months agoUpgrade WooCommerce EU VAT Assistant 1.12.1 → 1.14.13
Sybren A. Stüvel [Mon, 21 Dec 2020 10:59:29 +0000 (11:59 +0100)]
Upgrade WooCommerce EU VAT Assistant 1.12.1 → 1.14.13

11 months agoUpgrade User Switching 1.5.3 → 1.5.6
Sybren A. Stüvel [Mon, 21 Dec 2020 10:54:18 +0000 (11:54 +0100)]
Upgrade User Switching 1.5.3 → 1.5.6

11 months agoUpgrade Aelia Foundation Classes 2.0.8 → 2.0.24
Sybren A. Stüvel [Mon, 21 Dec 2020 10:32:36 +0000 (11:32 +0100)]
Upgrade Aelia Foundation Classes 2.0.8 → 2.0.24

11 months agoUpgrade JM Twitter Cards 10.1.0 → 11.1.0
Sybren A. Stüvel [Mon, 21 Dec 2020 14:25:06 +0000 (15:25 +0100)]
Upgrade JM Twitter Cards 10.1.0 → 11.1.0

14 months agoAdd plugin: reCaptcha for WooCommerce
Sybren A. Stüvel [Tue, 29 Sep 2020 10:26:51 +0000 (12:26 +0200)]
Add plugin: reCaptcha for WooCommerce

This is in response to the BrainTree email warning us that this is a
necessity.

15 months agoFixed renewal redirection bug
Sybren A. Stüvel [Fri, 4 Sep 2020 08:51:42 +0000 (10:51 +0200)]
Fixed renewal redirection bug

Removed assumption that the renewal orders for a subscription are returned
in chronological order. Instead, the orders are inspected on whether they
need payment, and the first-seen one that needs payment is redirected to.

15 months agoAdded plugin WP Fortune 1.0.8
Sybren A. Stüvel [Thu, 3 Sep 2020 13:37:57 +0000 (15:37 +0200)]
Added plugin WP Fortune 1.0.8

This plugin is required for entering the WooCommerce DYMO Print plugin's
license key. WP Fortune is the company who created that plugin.

15 months agoAdded plugin WooCommerce DYMO Print 5.0.9
Sybren A. Stüvel [Thu, 3 Sep 2020 13:34:53 +0000 (15:34 +0200)]
Added plugin WooCommerce DYMO Print 5.0.9

The plugin claims to work for WooCommerce 3.5, and we're running 3.8 now.
I don't see any disturbance to the Store functionality, though, so it seems
to work.

15 months agoAdded plugin JM Twitter Cards 10.1.0
Sybren A. Stüvel [Thu, 3 Sep 2020 12:58:59 +0000 (14:58 +0200)]
Added plugin JM Twitter Cards 10.1.0

Pablo Vazquez installed this plugin, I'm just committing it.

17 months agoWhen subscription cancels, also cancel all of its failed orders
Sybren A. Stüvel [Tue, 16 Jun 2020 10:52:00 +0000 (12:52 +0200)]
When subscription cancels, also cancel all of its failed orders

By request of Anja, to clean up the orders after a subscription has been
cancelled.

This is an extension of 9ccd4c0758e77393a8a5e23d2f6e03620d7c4cd8.

17 months agoCleanup: removed trailing spaces
Sybren A. Stüvel [Tue, 16 Jun 2020 10:47:48 +0000 (12:47 +0200)]
Cleanup: removed trailing spaces

No functional changes.

23 months agoUpdate Blender ID link on 'my account' page
Sybren A. Stüvel [Fri, 27 Dec 2019 13:08:22 +0000 (14:08 +0100)]
Update Blender ID link on 'my account' page

The link pointed to the password change page, but should point to the
profile change page.

23 months agoMentioned missing patch in UPGRADING_STORE.md
Sybren A. Stüvel [Fri, 27 Dec 2019 12:40:14 +0000 (13:40 +0100)]
Mentioned missing patch in UPGRADING_STORE.md

23 months agoRemoved obsolete Crux patch patches/crux-get_cart_url-deprecation-warning.diff
Sybren A. Stüvel [Fri, 27 Dec 2019 12:08:35 +0000 (13:08 +0100)]
Removed obsolete Crux patch patches/crux-get_cart_url-deprecation-warning.diff

Crux contains the fix now, so we no longer have to patch.

23 months agoRemoved patches/woocommerce-allow-all-extensions.diff from UPGRADING_STORE.md
Sybren A. Stüvel [Fri, 27 Dec 2019 12:06:26 +0000 (13:06 +0100)]
Removed patches/woocommerce-allow-all-extensions.diff from UPGRADING_STORE.md

The patch is no longer necessary and was removed in
1d740b1c9c8fcb6e10f094ecf51695cd5e021d8c

23 months agoApplied patches/paypal-gateway-ipn-handler.diff
Sybren A. Stüvel [Fri, 27 Dec 2019 12:05:59 +0000 (13:05 +0100)]
Applied patches/paypal-gateway-ipn-handler.diff

23 months agoApplied + updated patch pdf-invoices-infinite-loop.diff
Sybren A. Stüvel [Fri, 27 Dec 2019 12:04:37 +0000 (13:04 +0100)]
Applied + updated patch pdf-invoices-infinite-loop.diff

Upstream applied part of our patch, but forgot the `$recursive = true`
parameter of the `mkdir()` call.

23 months agoUpgrade WordPress 5.0.2 → 5.3.2
Sybren A. Stüvel [Fri, 27 Dec 2019 11:55:48 +0000 (12:55 +0100)]
Upgrade WordPress 5.0.2 → 5.3.2

23 months agoUpgrade LayerSlider 6.7.6 → 6.8.4 from Crux theme
Sybren A. Stüvel [Fri, 27 Dec 2019 11:37:31 +0000 (12:37 +0100)]
Upgrade LayerSlider 6.7.6 → 6.8.4 from Crux theme

23 months agoUpgrade theme Crux 2.0.1 → 2.1
Sybren A. Stüvel [Fri, 27 Dec 2019 11:35:24 +0000 (12:35 +0100)]
Upgrade theme Crux 2.0.1 → 2.1

23 months agoUpgrade Aelia Tax Display by Country 1.9.11 → 1.12.0
Sybren A. Stüvel [Fri, 27 Dec 2019 11:32:24 +0000 (12:32 +0100)]
Upgrade Aelia Tax Display by Country 1.9.11 → 1.12.0

23 months agoUpgrade WooCommerce Currency Switcher - Subscriptions Integration 1.4.2 → 1.4.9
Sybren A. Stüvel [Fri, 27 Dec 2019 11:11:36 +0000 (12:11 +0100)]
Upgrade WooCommerce Currency Switcher - Subscriptions Integration 1.4.2 → 1.4.9

23 months agoUpgrade WooCommerce 3.5.7 → 3.8.1
Sybren A. Stüvel [Fri, 27 Dec 2019 11:08:55 +0000 (12:08 +0100)]
Upgrade WooCommerce 3.5.7 → 3.8.1

23 months agoUpgrade WooCommerce Subscriptions 2.5.3 → 2.6.5
Sybren A. Stüvel [Fri, 27 Dec 2019 10:53:30 +0000 (11:53 +0100)]
Upgrade WooCommerce Subscriptions 2.5.3 → 2.6.5

23 months agoUpgrade WooCommerce PayPal Powered by Braintree Gateway 2.2.4 → 2.3.5
Sybren A. Stüvel [Fri, 27 Dec 2019 10:29:33 +0000 (11:29 +0100)]
Upgrade WooCommerce PayPal Powered by Braintree Gateway 2.2.4 → 2.3.5

23 months agoUpgrade WooCommerce Sequential Order Numbers Pro 1.13.1 → 1.15.0
Sybren A. Stüvel [Fri, 27 Dec 2019 10:21:07 +0000 (11:21 +0100)]
Upgrade WooCommerce Sequential Order Numbers Pro 1.13.1 → 1.15.0

23 months agoUpgrade WooCommerce PDF Invoices & Packing Slips 2.2.11 → 2.4.2
Sybren A. Stüvel [Fri, 27 Dec 2019 10:19:54 +0000 (11:19 +0100)]
Upgrade WooCommerce PDF Invoices & Packing Slips 2.2.11 → 2.4.2

23 months agoUpgrade WooCommerce EU VAT Assistant 1.9.8 → 1.12.1
Sybren A. Stüvel [Fri, 27 Dec 2019 10:14:31 +0000 (11:14 +0100)]
Upgrade WooCommerce EU VAT Assistant 1.9.8 → 1.12.1

23 months agoUpgrade Aelia Currency Switcher 4.7.0 → 4.7.14
Sybren A. Stüvel [Fri, 27 Dec 2019 10:09:20 +0000 (11:09 +0100)]
Upgrade Aelia Currency Switcher 4.7.0 → 4.7.14

23 months agoUpgrade User Switching 1.5.0 → 1.5.3
Sybren A. Stüvel [Fri, 27 Dec 2019 10:03:40 +0000 (11:03 +0100)]
Upgrade User Switching 1.5.0 → 1.5.3

23 months agoUpgrade Aelia Foundation Classes 2.0.4 → 2.0.8
Sybren A. Stüvel [Fri, 27 Dec 2019 10:01:35 +0000 (11:01 +0100)]
Upgrade Aelia Foundation Classes 2.0.4 → 2.0.8

23 months agoAdded some clarifications about commercial plugins and where to get them
Sybren A. Stüvel [Fri, 27 Dec 2019 10:01:07 +0000 (11:01 +0100)]
Added some clarifications about commercial plugins and where to get them

2 years agoRespond with a HTTP 403 Forbidden status after a login failure before-big-update-2019
Sybren A. Stüvel [Fri, 1 Nov 2019 09:55:05 +0000 (10:55 +0100)]
Respond with a HTTP 403 Forbidden status after a login failure

WordPress (/wp-login.php) and WooCommerce (/my-account/) both return a
HTTP 200 OK on login failure. This makes it impossible to recognise
failed logins from the access logs.

I had to add a filter to force a 403 Forbidden header. It is a dirty
hack to work around code in WordPress, which overwrites the 403
Forbidden we set with a 200 OK. The offending code can be found in
class-wp.php, function handle_404(). If $wp_query doesn't report 'not
found', it forces a 200 OK.

2 years agoWorkaround for: Call to undefined method WP_Error::set_payment_method()
Sybren A. Stüvel [Fri, 27 Sep 2019 15:21:30 +0000 (17:21 +0200)]
Workaround for: Call to undefined method WP_Error::set_payment_method()

Apply `patches/paypal-gateway-ipn-handler.diff` to work around a bug
where a function that no longer exists is called anyway. If the patch
doesn't apply, hopefully the bug has been fixed.

2 years agoAdded note to checklist about preventing email changes
Sybren A. Stüvel [Fri, 23 Aug 2019 10:50:17 +0000 (12:50 +0200)]
Added note to checklist about preventing email changes

2 years agoCancel pending/on-hold orders when a subscription is cancelled
Sybren A. Stüvel [Fri, 16 Aug 2019 14:46:15 +0000 (16:46 +0200)]
Cancel pending/on-hold orders when a subscription is cancelled

When a subscription moves to (pending) cancel status, it is no longer
possible to resurrect it. All outstanding orders need to be cancelled as
well, otherwise people can still pay for them and assume they'll get
their subscription back.

2 years agoFix deprecated access to WP_User->id (should be WP_User->ID)
Sybren A. Stüvel [Wed, 10 Jul 2019 14:22:00 +0000 (16:22 +0200)]
Fix deprecated access to WP_User->id (should be WP_User->ID)

2 years agoPrevent email editing on "edit my account" page
Sybren A. Stüvel [Wed, 12 Jun 2019 07:42:37 +0000 (09:42 +0200)]
Prevent email editing on "edit my account" page

2 years agoAction to fix end/cancelled date of a subscription now also for on-hold
Sybren A. Stüvel [Thu, 16 May 2019 08:14:54 +0000 (10:14 +0200)]
Action to fix end/cancelled date of a subscription now also for on-hold

On Hold subscriptions also need this fix. (see 64389db8)

2 years agoAdd action to fix end/cancelled date of a subscription
Sybren A. Stüvel [Tue, 30 Apr 2019 11:03:30 +0000 (13:03 +0200)]
Add action to fix end/cancelled date of a subscription

The End and Cancelled dates have to be set to later than the Last Payment
date, otherwise WooCommerce doesn't allow us to change anything. Because of
this, some subscriptions were hanging in `pending-cancellation` state.

With this Action, shop admins can hack the dates so that we can manually
cancel a subscription again.

2 years agoRemoved some unusued code
Sybren A. Stüvel [Tue, 30 Apr 2019 11:01:42 +0000 (13:01 +0200)]
Removed some unusued code

2 years agoExtra subscription filter: always return the first argument
Sybren A. Stüvel [Tue, 30 Apr 2019 11:01:28 +0000 (13:01 +0200)]
Extra subscription filter: always return the first argument

2 years agoAdded extra filter for subscriptions that should have been cancelled
Sybren A. Stüvel [Tue, 30 Apr 2019 09:15:02 +0000 (11:15 +0200)]
Added extra filter for subscriptions that should have been cancelled

Sometimes the Store misses the fact that a pending-cancellation has passed
its end date. This new filter allows us to show those subscriptions and
manually mark them as cancelled.

2 years agoFixed get_card_url() deprecation warning in Crux
Sybren A. Stüvel [Fri, 19 Apr 2019 13:11:22 +0000 (15:11 +0200)]
Fixed get_card_url() deprecation warning in Crux

Maybe they've fixed this upstream already, but I don't want to upgrade
Crux right now.

2 years agoDeleted old WooCommerce Braintree plugin
Sybren A. Stüvel [Fri, 19 Apr 2019 12:43:25 +0000 (14:43 +0200)]
Deleted old WooCommerce Braintree plugin

2 years agoOrder numbers: search both for _order_number meta key and post_id
Sybren A. Stüvel [Fri, 19 Apr 2019 08:41:43 +0000 (10:41 +0200)]
Order numbers: search both for _order_number meta key and post_id

After an update the order numbers reverted back to the post ID, and thus
the 'go to order number' in the Blender Stuff page was broken. At least
that search works now again.

2 years agoUpgraded WooCommerce 3.5.3 → 3.5.7
Sybren A. Stüvel [Mon, 15 Apr 2019 10:44:08 +0000 (12:44 +0200)]
Upgraded WooCommerce 3.5.3 → 3.5.7

2 years agoUpgraded WooCommerce Subscriptions 2.4.7 → 2.5.3
Sybren A. Stüvel [Mon, 15 Apr 2019 10:41:16 +0000 (12:41 +0200)]
Upgraded WooCommerce Subscriptions 2.4.7 → 2.5.3

2 years agoUpgraded WooCommerce PayPal Powered by Braintree Gateway 2.2.0 → 2.2.4
Sybren A. Stüvel [Mon, 15 Apr 2019 10:38:23 +0000 (12:38 +0200)]
Upgraded WooCommerce PayPal Powered by Braintree Gateway 2.2.0 → 2.2.4

2 years agoUpgraded WooCommerce EU VAT Assistant 1.9.2 → 1.9.8
Sybren A. Stüvel [Mon, 15 Apr 2019 10:36:27 +0000 (12:36 +0200)]
Upgraded WooCommerce EU VAT Assistant 1.9.2 → 1.9.8

2 years agoRe-applied & refreshed pdf-invoices-infinite-loop.diff
Sybren A. Stüvel [Mon, 15 Apr 2019 10:34:44 +0000 (12:34 +0200)]
Re-applied & refreshed pdf-invoices-infinite-loop.diff

2 years agoUpgraded WooCommerce PDF Invoices & Packing Slips 2.2.5 → 2.2.11
Sybren A. Stüvel [Mon, 15 Apr 2019 10:31:49 +0000 (12:31 +0200)]
Upgraded WooCommerce PDF Invoices & Packing Slips 2.2.5 → 2.2.11

2 years agoUpgraded WooCommerce Currency Switcher 3.5.1 → 3.5.6
Sybren A. Stüvel [Mon, 15 Apr 2019 10:29:26 +0000 (12:29 +0200)]
Upgraded WooCommerce Currency Switcher 3.5.1 → 3.5.6