Commit Graph

248 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 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 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 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 c28135f212 * fixed #1573;
* WPCS;
2024-11-06 14:30:27 +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 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 be439cb8f3 - fixed parsing error on license activation; 2024-04-23 12:39:58 +03:00
Mykyta Synelnikov 7aaf47dc2d - WPCS;
- hookdocs;
2024-03-07 14:56:55 +02:00
Mykyta Synelnikov 41e9a50e0b - strict typing with UM settings; 2024-03-07 02:02:03 +02:00
Mykyta Synelnikov abc0b9b331 - strict typing with UM settings; 2024-03-06 23:52:25 +02:00
Mykyta Synelnikov cd8d22ab94 - fixed texts; 2024-02-19 11:42:09 +02:00
Mykyta Synelnikov 6a604e6821 - fixed issue with errors detection in license response; 2024-02-19 11:21:33 +02:00
Mykyta Synelnikov 966aecd320 - changed texts; 2024-02-16 16:34:17 +02:00
Mykyta Synelnikov 1cb2b9590b - changed texts;
- added a few links to docs;
2024-02-16 16:29:16 +02:00
Mykyta Synelnikov 6369a3b5d0 - changed texts;
- added a few links to docs;
2024-02-16 16:16:54 +02:00
Mykyta Synelnikov e1f550afb5 - changed "e-mail" to "email";
- changed texts for admin notices;
- added a few links to docs;
2024-02-16 15:12:21 +02:00
Mykyta Synelnikov 555c56211f - override templates changed transients and logic for using together with Site Health tests; 2024-02-16 00:34:16 +02:00
Mykyta Synelnikov 87428f9738 - changed settings; 2024-02-15 12:52:47 +02:00
Mykyta Synelnikov 7f4d000ed2 - fixed spelling; 2024-02-15 12:48:09 +02:00
Mykyta Synelnikov 17c1b2a250 - added Advanced > Developers section in Settings; 2024-02-14 16:41:41 +02:00
Mykyta Synelnikov ff0b90f29e - fixed Install Info section; 2024-02-14 16:17:20 +02:00
Mykyta Synelnikov 53bde16d12 - fixed the place for User Role setting; 2024-02-14 15:09:04 +02:00
Mykyta Synelnikov c326ee9bce - fixed spelling; 2024-02-14 15:01:38 +02:00
Mykyta Synelnikov e44d2a16ad - fixed spelling; 2024-02-14 14:47:19 +02:00
Mykyta Synelnikov 3d13907c2b - fixed Member Directory predefined page option; 2024-02-13 17:16:45 +02:00
Mykyta Synelnikov 8918b61295 - updated settings texts; 2024-02-07 15:20:28 +02:00
Mykyta Synelnikov c1a5459b1f - updated settings texts; 2024-02-07 15:01:52 +02:00
Mykyta Synelnikov fce290fe74 - updated settings texts; 2024-02-07 14:51:01 +02:00
Mykyta Synelnikov 59fc5e70cd - updated settings texts; 2024-02-07 14:26:14 +02:00
Mykyta Synelnikov a051715d6f - updated settings texts; 2024-02-07 03:41:50 +02:00
Mykyta Synelnikov 7698bd1c36 - reviewed #1449; 2024-02-06 01:49:56 +02:00
Mykyta Synelnikov 328de82d60 - added UM_DEV_MODE constant -> display Experimental features; 2024-01-18 16:00:11 +02:00