Skip to content

Commit

Permalink
mercado update
Browse files Browse the repository at this point in the history
  • Loading branch information
liedekef committed Jan 13, 2025
1 parent ad2295b commit b5569da
Show file tree
Hide file tree
Showing 393 changed files with 11,322 additions and 22,619 deletions.
156 changes: 156 additions & 0 deletions changelog.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,161 @@
(newer changes: see readme.txt)

= 2.4.53 (2024/07/19) =
* A renamed option was not taken into account in all pages

= 2.4.52 (2024/07/17) =
* Fix an option code typo

= 2.4.51 (2024/07/17) =
* Add an EME dashboard to the main WP dashboard page
* Make automatic redirect to payment gateway work in all cases again, this time for memberships too

= 2.4.50 (2024/07/15) =
* Make automatic redirect to payment gateway work in all cases again

= 2.4.49 (2024/07/11) =
* Mollie API update
* Add email settings in case a member is deleted in the admin interface
* Also support #_CONSENT as placeholder (alias for #_GDPR)
* Show notice after upgrading EME (will be used to show/point to the changelog too)

= 2.4.48 (2024/07/01) =
* Mollie API update
* Avoid creating past events for recurrences
* Make sure captcha settings can be deactivated per event/membership
* Planned mailings will now no longer insert the individual mails but do that just before being sent
* Recurrences no longer need an end date, in which case the next 10 events will be planned (checked daily),
while older events will be removed except the most recent one.
* The number of spaces for a task can now be 0 too. If that's the case, the description of that task
will be used as a section header for the next set of tasks.
* Added action hook eme_ical_header_action, allows to add custom headers by just echo-ing them

= 2.4.47 (2024/06/08) =
* Make sort on membership name work in members overview
* Small fix in membership statistics (some counters included pending members)

= 2.4.46 (2024/05/26) =
* #_IS_USER_IN_GROUP fix for lists of group names (not ids)
* Get the first user with admin rights as default contact person if no other is found
* Only email is required for person import
* When trashing bookings for a trashed event, also execute the hook eme_trash_rsvp_action if present

= 2.4.45 (2024/05/21) =
* Update dompdf to 3.0.0
* Fix #_IS_USER_IN_GROUP for static groups
* Fix ical php warning

= 2.4.44 (2024/05/17) =
* Make #_IS_USER_IN_GROUP also work for dynamic groups
* Account for empty/forced from-email when inserting a mailing (the individual mails were ok, so it just caused a php warning)

= 2.4.43 (2024/05/09) =
* Correct direct adding of dynamic groups of people or members
* Added an option for exact search match for custom field searches (for dynamic groups too)

= 2.4.42 (2024/05/03) =
* Added an option to anonymize old members (and not just remove them), this allows for membership stats to be more correct and kept longer
* The date/time format set for custom fields was not respected in the form itself in firefox, this has been corrected
* When updating from a version older than 2.4.34, the per-event rsvp end cutoff day was set to the start date (if set at all)

= 2.4.41 (2024/04/24) =
* Typo caused #_IS_USER_MEMBER_OF not to work

= 2.4.40 (2024/04/24) =
* Better people-cleanup function
* Update dompdf to 2.0.7
* Make #_IS_USER_MEMBER_PENDING work
* Fix membership edit

= 2.4.39 (2024/04/18) =
* Show RSVP and task info overview in the event edit window too (in the sidebar), like in the events overview table
* PDF templates can now be added to the paid/pending/booking made/approved mails (default and per event)
* PDF templates can now be added to the paid/extended/new member mails (set per membership)
* Update dompdf to 2.0.5

= 2.4.38 (2024/04/01) =
* Avoid html-encoding of some options (like the smtp password)
* Make #_IS_REGISTERED_PENDING and #_IS_REGISTERED_APPROVED work as expected (there was a typo in the executed sql statement)
* Small tasklist improv: disable checkboxes if appropriate (not remove them), makes the list more uniform
* Upgraded braintree API to 6.18.0
* Fix auto-approve payments if pending seats are not considered as free

= 2.4.37 (2024/03/24) =
* Fix setting the "Allow renewal" property for memberships
* Check a borderline case for full events when a pending booking is being paid for
* Added a mail for the case when a payment arrives for a pending booking for an event with auto-approve active but the
event is fully booked so the booking can't get approved automatically
By default this mail will only be sent to the contact person (and is empty for the booker).
The mail content can only be changed via a mail filter (see doc on eme_rsvp_email_text_xxx_filter and eme_rsvp_email_html_xxx_filter
with 'xxx' being 'pendingButPaid')

= 2.4.36 (2024/03/18) =
* Fix typo for event payment gateways registration/activation

= 2.4.35 (2024/03/17) =
* Added #_IS_PERSON_MEMBER_OF{xx} so you can check if a person is an active member of certain memberships
* Added #_IS_PERSON_IN_GROUP{xx} so you can check if a person is a member of certain groups
* Added shortcode eme_person_memberinfo, that works like eme_mymemberinfo but on the EME person being treated (like during mail)
Takes 3 required arguments: person_id, template_id and membership_id. person_id can be #_PERSONID if used inside another shortcode (that then first replaces #_PERSONID with the required value and then the shortcode is interpreted)

= 2.4.34 (2024/03/10) =
* Fix a newly introduced bug if rsvp cutoff times were floating point numbers

= 2.4.33 (2024/03/08) =
* Remove abandonned 2Checkout payment gateway
* Event DB columns rsvp_number_days and rsvp_number_hours are gone, both are now event properties (in line with some other settings) and called rsvp_end_number_days and rsvp_end_number_hours
* Slovak language contribution by Jozef Gaal
* Make sure no countries with double alpha-2 code and the same language can exist
* Correct the use of the setting "Limit event listing?" It was not working due to a wrong column name in the database query
* Show the people/members of a group when editing that group (and allow filtering/actions as if in the people/member section)
* Added support for event placeholders #_RSVPSTART{xx} and #_RSVPEND{xx}, next to just #_RSVPSTART and #_RSVPEND so you can format the layout to your liking ('xx' being the date/time format in php date notation)

= 2.4.32 (2024/02/23) =
* Fix yet another named parameter usage (typo) causing event listing not to show in some shortcodes

= 2.4.31 (2024/02/23) =
* Fix a new named parameter usage (typo) causing rsvp not to work

= 2.4.30 (2024/02/22) =
* Fix extra charge for payment gateways if eme_payment_gateway_extra_cost was defined
* The dompdf included with EME uses a php-svg-lib version that had a security vulnerability
The php-svg-lib version has been upgraded to address this (probability to misuse this was low to non-existing in EME)

= 2.4.29 (2024/02/17) =
* Allow to have a folder wp-content/uploads/events-made-easy/includes. Files present in that folder will be included by EME
This allows for EME extensions and are not overwritten by theme/plugin updates

= 2.4.28 (2024/02/05) =
* Fix payment button for memberships
* Fix weekly recurrence edit

= 2.4.27 (2024/02/01) =
* Correction release: for payments the failure message was shown even after successfull payment (apart from the message, all is correctly handled)

= 2.4.26 (2024/02/01) =
* Added action hook eme_options_postsave_action, to allow own code to be called upon saving options
This is needed for e.g. custom payment gateways that need a webhook created
* Added option "old_select" for filters, so people wanting the old style of select back, they can get it
This option defaults to 0, other value: 1
* For multiselects and filter form, the label was not shown anymore: fixed
* Fix task cancel and the use of custom task signup forms
* Braintree API update to 6.16

= 2.4.25 (2024/01/23) =
* Added filters eme_payment_gateway_change_total and eme_payment_gateway_exra_cost.
Together with the filters eme_payment_gateways, eme_offline_payment_gateways and eme_configured_payment_gateways
these allow to create custom payment gateways
This all still needs to be documented though ...
* Fix the category/notcategory option for events when using a name and not an id
* Add shortcde eme_mymemberinfo (see doc: takes template_id and membership_id as parameters and returns the rendered template)

= 2.4.24 (2024/01/15) =
* Fix recurrence creation for specific/repeated months

= 2.4.23 (2024/01/15) =
* Prefill Stripe Payment Form with E-Mail from EME Booking Form (thanks to EweLoHD)

= Older changes: see changelog.txt
= 2.4.22 (2023/12/30) =
* Fix #_CONTACT and #_AUTHOR event placeholders if no EME person is linked to that wp id
* Sumup and Mollie API updates
Expand Down
8 changes: 4 additions & 4 deletions payment_gateways/mercadopago/composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions payment_gateways/mercadopago/howto.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
composer update --no-dev
cd vendor/mercadopago/dx-php
rm -rf phpDocumentor.phar phpunit.* docs .phpdoc .git* .travis.yml

rm -rf phpDocumentor.phar phpunit.* docs .phpdoc .git* .travis.yml tests
rm -f .pre-commit-config.yaml *md
Original file line number Diff line number Diff line change
Expand Up @@ -322,6 +322,7 @@ private static function getInstalled()
}

$installed = array();
$copiedLocalDir = false;

if (self::$canGetVendors) {
foreach (ClassLoader::getRegisteredLoaders() as $vendorDir => $loader) {
Expand All @@ -330,9 +331,11 @@ private static function getInstalled()
} elseif (is_file($vendorDir.'/composer/installed.php')) {
/** @var array{root: array{name: string, pretty_version: string, version: string, reference: string|null, type: string, install_path: string, aliases: string[], dev: bool}, versions: array<string, array{pretty_version?: string, version?: string, reference?: string|null, type?: string, install_path?: string, aliases?: string[], dev_requirement: bool, replaced?: string[], provided?: string[]}>} $required */
$required = require $vendorDir.'/composer/installed.php';
$installed[] = self::$installedByVendor[$vendorDir] = $required;
if (null === self::$installed && strtr($vendorDir.'/composer', '\\', '/') === strtr(__DIR__, '\\', '/')) {
self::$installed = $installed[count($installed) - 1];
self::$installedByVendor[$vendorDir] = $required;
$installed[] = $required;
if (strtr($vendorDir.'/composer', '\\', '/') === strtr(__DIR__, '\\', '/')) {
self::$installed = $required;
$copiedLocalDir = true;
}
}
}
Expand All @@ -350,7 +353,7 @@ private static function getInstalled()
}
}

if (self::$installed !== array()) {
if (self::$installed !== array() && !$copiedLocalDir) {
$installed[] = self::$installed;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,5 @@
$baseDir = dirname($vendorDir);

return array(
'Psr\\Cache\\' => array($vendorDir . '/psr/cache/src'),
'MercadoPago\\' => array($vendorDir . '/mercadopago/dx-php/src/MercadoPago', $vendorDir . '/mercadopago/dx-php/tests', $vendorDir . '/mercadopago/dx-php/src/MercadoPago/Generic', $vendorDir . '/mercadopago/dx-php/src/MercadoPago/Entities', $vendorDir . '/mercadopago/dx-php/src/MercadoPago/Entities/Shared'),
'Doctrine\\Persistence\\' => array($vendorDir . '/doctrine/persistence/src/Persistence'),
'Doctrine\\Deprecations\\' => array($vendorDir . '/doctrine/deprecations/lib/Doctrine/Deprecations'),
'Doctrine\\Common\\Lexer\\' => array($vendorDir . '/doctrine/lexer/src'),
'Doctrine\\Common\\Annotations\\' => array($vendorDir . '/doctrine/annotations/lib/Doctrine/Common/Annotations'),
'Doctrine\\Common\\' => array($vendorDir . '/doctrine/event-manager/src', $vendorDir . '/doctrine/common/src'),
'MercadoPago\\' => array($vendorDir . '/mercadopago/dx-php/src/MercadoPago'),
);
41 changes: 0 additions & 41 deletions payment_gateways/mercadopago/vendor/composer/autoload_static.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,57 +7,16 @@
class ComposerStaticInit2a77cfe213b42943b28c0552e079ba1f
{
public static $prefixLengthsPsr4 = array (
'P' =>
array (
'Psr\\Cache\\' => 10,
),
'M' =>
array (
'MercadoPago\\' => 12,
),
'D' =>
array (
'Doctrine\\Persistence\\' => 21,
'Doctrine\\Deprecations\\' => 22,
'Doctrine\\Common\\Lexer\\' => 22,
'Doctrine\\Common\\Annotations\\' => 28,
'Doctrine\\Common\\' => 16,
),
);

public static $prefixDirsPsr4 = array (
'Psr\\Cache\\' =>
array (
0 => __DIR__ . '/..' . '/psr/cache/src',
),
'MercadoPago\\' =>
array (
0 => __DIR__ . '/..' . '/mercadopago/dx-php/src/MercadoPago',
1 => __DIR__ . '/..' . '/mercadopago/dx-php/tests',
2 => __DIR__ . '/..' . '/mercadopago/dx-php/src/MercadoPago/Generic',
3 => __DIR__ . '/..' . '/mercadopago/dx-php/src/MercadoPago/Entities',
4 => __DIR__ . '/..' . '/mercadopago/dx-php/src/MercadoPago/Entities/Shared',
),
'Doctrine\\Persistence\\' =>
array (
0 => __DIR__ . '/..' . '/doctrine/persistence/src/Persistence',
),
'Doctrine\\Deprecations\\' =>
array (
0 => __DIR__ . '/..' . '/doctrine/deprecations/lib/Doctrine/Deprecations',
),
'Doctrine\\Common\\Lexer\\' =>
array (
0 => __DIR__ . '/..' . '/doctrine/lexer/src',
),
'Doctrine\\Common\\Annotations\\' =>
array (
0 => __DIR__ . '/..' . '/doctrine/annotations/lib/Doctrine/Common/Annotations',
),
'Doctrine\\Common\\' =>
array (
0 => __DIR__ . '/..' . '/doctrine/event-manager/src',
1 => __DIR__ . '/..' . '/doctrine/common/src',
),
);

Expand Down
Loading

0 comments on commit b5569da

Please sign in to comment.