Commit Graph

756 Commits

Author SHA1 Message Date
Mykyta Synelnikov fc2c5456e4 Implement directory privacy settings and add rate limiting
Adds configurable privacy options for member directories, allowing restrictions on visibility based on roles or login status. Introduces rate limiting for unauthenticated AJAX requests to prevent brute-force attacks or abuse.
2025-12-11 17:36:42 +02:00
Mykyta Synelnikov 24bb2fd9e9 Merge pull request #1761 from ultimatemember/fix/check_empty_response
Fix license validation retries and add improved error logging
2025-11-18 13:10:18 +02:00
yuriinalivaiko 42c5ed7b2b - corrected a typo in the warning text 2025-11-03 20:18:33 +02:00
Mykyta Synelnikov 796eb46f87 Fix license validation retries and add improved error logging
Previously, requests on license validation did not adequately handle empty responses or WP errors. This update ensures retries are performed with `sslverify=true` in such cases and enhances debug logging to provide clearer error details for troubleshooting.
2025-10-28 22:06:48 +02:00
Mykyta Synelnikov 1e30027605 Add license request debugging functionality
Introduced a new method `is_license_debug_enabled` to check debug conditions and added extensive logging for license requests when debugging is enabled. A new constant `UM_LICENSE_REQUEST_DEBUG` was also defined to control debug mode. These changes enhance visibility into license request handling during development or troubleshooting.
2025-09-27 10:49:10 +03:00
Mykyta Synelnikov e26bd8eafb Fix default page creation check in admin form logic
Updated logic to handle the 'predefined' field flag when determining default page creation. This ensures buttons for creating default pages only appear under the correct conditions, improving reliability and consistency.
2025-09-17 15:37:13 +03:00
ashubawork 4522e6d64c - fix fatal error 2.0-beta1 package update 2025-07-30 13:09:54 +03:00
Mykyta Synelnikov 524670ad53 Merge pull request #1683 from ultimatemember/fix/sitehealth
Sitehealth
2025-06-24 16:56:38 +03:00
Mykyta Synelnikov d2dcfb645a Refactor debug information structure across plugins
Updated the structure of debug information methods by replacing `array_merge` with simpler array extensions and renaming variables for clarity. This ensures consistent handling of role metadata and improves readability and maintainability of code across multiple plugins.
2025-06-24 16:42:20 +03:00
Mykyta Synelnikov 032119a8ce Refactor batch action scheduling for account status updates (#1692)
Updated batch action logic to utilize correct constants and ensure proper scheduling. Added fallback scheduling logic in admin notices to address unscheduled batch actions and improve reliability.
2025-06-18 15:17:19 +03:00
Mykyta Synelnikov 9d83fba560 Update dynamic function blacklist for security enhancement
Added a mechanism to dynamically retrieve and merge updated WordPress function lists into the blacklist to prevent unsafe usage in dropdown options. Addresses a security issue (CVE-2025-47691) by using a JSON-based function source tied to WordPress versioning.
2025-05-12 13:16:17 +03:00
Mykyta Synelnikov df7e0e9357 Merge pull request #1676 from ultimatemember/fix/extend_baneed_fields
Extend baneed fields
2025-04-17 19:58:01 +03:00
Mykyta Synelnikov 206dab3215 Merge pull request #1670 from ultimatemember/feature/schedule_account_status_check
account_status schedule action
2025-04-17 19:57:21 +03:00
Mykyta Synelnikov f89b29426a Add validation for banned and blacklisted custom fields.
This update enhances security by introducing checks for banned and blacklisted meta keys in custom fields. It includes CSS updates for admin builder styles and ensures banned fields are flagged accurately in the site health tool.
2025-04-15 18:08:44 +03:00
Mykyta Synelnikov 5356148cc4 Implement batch processing for users with empty account statuses
Introduced a new batch process to handle users lacking an `account_status` meta efficiently. Refactored legacy methods, added async scheduling, and created helper functions to manage and track progress. These changes improve performance and reliability for large user bases.
2025-04-15 14:27:59 +03:00
Mykyta Synelnikov 695d522cb7 Rename 'auto_user_approve' to 'admin_ignore_user_status'.
Updated the setting name across relevant files to improve clarity and better reflect its functionality. Adjusted related logic to ensure consistent behavior with the new naming.
2025-04-14 16:04:29 +03:00
ashubawork 42e6e71e65 - add auto approval after the wp-admin registration 2025-04-10 11:07:13 +03:00
Mykyta Synelnikov 3858c6af83 Refactor Action Scheduler for not only email handling.
Updated the Action Scheduler implementation to improve flexibility and clarity. Replaced the 'enable_action_scheduler' option with 'enable_as_email_sending' for better specificity. Introduced hook-based checks to selectively enable email scheduling, ensuring compatibility and optimized performance.
2025-04-04 12:59:10 +03:00
Mykyta Synelnikov ccc7cd099b Add comments and legacy key for WooCommerce 9.1.0 support
Added comments to clarify the usage of meta keys introduced in WooCommerce 9.1.0 and marked TODOs for future cleanup. Also included a legacy key, `_money_spent`, for backward compatibility with WooCommerce versions below 9.1.0.
2025-04-03 13:05:10 +03:00
Mykyta Synelnikov 77f6a13730 Refactor and enhance member directory search functionality.
Replaced deprecated and complex search query methods with a more streamlined and flexible implementation. Introduced improved handling of core and custom search fields, optimized search logic, and added better filter support. Incremented plugin version to 2.10.2 to reflect these changes.
2025-03-25 23:31:13 +02:00
Mykyta Synelnikov 38593400ba Merge pull request #1644 from ultimatemember/fix/updates-request
Fixes updates request
2025-02-12 17:16:56 +02:00
Mykyta Synelnikov 4adbe19cbe * fixed CVE-2024-12276;
* reviewed using $wpdb and WPCS;
* set minimum required version to 6.2 due to using %i for $wpdb->prepare;
2025-02-03 16:17:37 +02:00
Mykyta Synelnikov a760a6242e * updated requests to site URL;
* WPCS;
2025-01-31 15:19:28 +02:00
Mykyta Synelnikov 817bc4b2e3 * fixed #1636 2025-01-24 18:32:11 +02:00
Mykyta Synelnikov b0b9f82ebe * fixed order_count meta table update 2025-01-15 12:02:08 +02:00
Mykyta Synelnikov 0624a634d2 * fixed money_spent meta table update 2025-01-14 17:36:20 +02:00
Mykyta Synelnikov a0892e18aa * enhancements related to #1599; 2024-12-19 17:24:52 +02:00
Mykyta Synelnikov f5d81f1a41 * added todos; 2024-11-29 12:57:18 +02:00
Mykyta Synelnikov 48371d1d06 * fixed #1581; 2024-11-13 16:42:26 +02:00
Mykyta Synelnikov 920fb168dc * fix related to commit 945b79a97940406b40a5996f9aa2159bd11e29ab 2024-11-11 18:53:17 +02:00
Mykyta Synelnikov 9712e507ce Merge pull request #1575 from ultimatemember/security/uploader_conditions
Fixes security issue related to the file/image upload and image resize
2024-11-11 14:01:55 +02:00
Mykyta Synelnikov c28135f212 * fixed #1573;
* WPCS;
2024-11-06 14:30:27 +02:00
Mykyta Synelnikov 61ea1b3e8d * maybe fixed CVE-2024-10528; 2024-11-05 11:55:07 +02:00
Mykyta Synelnikov 91a0c13399 Merge branch 'development/2.8.x' into feature/action-schedule-integration 2024-10-21 17:45:42 +03:00
Mykyta Synelnikov f27dcd6e41 * manually reviewed https://github.com/ultimatemember/ultimatemember/tree/fix/um_member_directory_data; 2024-10-14 17:14:56 +03:00
Mykyta Synelnikov d4bd0a5133 * fixed sanitizing for activation_link_expiry_time setting; 2024-10-11 16:35:54 +03:00
Yurii Nalivaiko da58fa200d Removed Action Scheduler setting from global settings 2024-09-26 18:36:21 +02:00
Mykyta Synelnikov 3211fb2994 * fixed #1516; 2024-09-25 23:12:17 +03:00
Mykyta Synelnikov 33bc484629 * Admin Users bulk-actions
* Admin single user actions
* Frontend single user action
2024-09-24 13:18:48 +03:00
Mykyta Synelnikov 512dc53a18 - changed wp-admin > Users page;
* updated filters by status, avoid slow queries for getting users count;
* updated bulk-actions for changing statuses (moved to WP native dropdown)
* separate handlers for changing user statuses on wp-admin and frontend (partially implemented);
* created class UM()->common()->users() to handle user statuses in more clear format;
* deprecated old hooks and old functions
2024-09-20 18:41:08 +03:00
Mykyta Synelnikov 2c0478757f - added bulk actions to WordPress native dropdown; 2024-09-18 14:03:18 +03:00
Mykyta Synelnikov e7c86052ab - WPCS; 2024-09-12 16:22:37 +03:00
Mykyta Synelnikov 6df83f4f09 - updated structure for action scheduler; 2024-09-06 15:03:50 +03:00
Yurii Nalivaiko 024cfcc4d4 Added Action Scheduler Option 2024-09-03 12:42:12 +02:00
Mykyta Synelnikov 9803f840ab - prepared to release; 2024-05-20 13:56:59 +03:00
Mykyta Synelnikov 59ce02ab47 - fixed PHP errors while update from 1.3.x version; 2024-05-08 13:53:13 +03:00
Mykyta Synelnikov 13f2b94351 - changed texts; 2024-04-30 17:55:19 +03:00
Mykyta Synelnikov 4900244c4c - changed the place for the icon field because select2 styling don't work properly work at the bottom of the modal; 2024-04-25 02:43:57 +03:00
Mykyta Synelnikov c642505a0e Merge remote-tracking branch 'origin/development/2.8.x' into feature/new_fa 2024-04-25 01:41:04 +03:00
Mykyta Synelnikov 07ca89a243 - wp-admin icon field integrated with new FA library; 2024-04-23 15:26:19 +03:00