Commit Graph

67 Commits

Author SHA1 Message Date
Mykyta Synelnikov 820ef35104 Fix user meta key for registration progress handling
Updated the user meta key from `um_registration_in_progress` to `_um_registration_in_progress` across multiple files for consistency and proper functionality. This change ensures accurate checking and handling of users in the registration process.
2025-04-15 14:54: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 bdd973c14c Remove unused WP_User_Query import
The WP_User_Query import was removed as it is not used in the code. This helps to clean up unnecessary code and improve maintainability. No functionality is affected by this change.
2025-04-14 23:13:32 +03:00
Mykyta Synelnikov c8bd79fceb Add scheduled user account status check and improve approval
Introduce a new `Users` class to handle scheduled tasks for user status checks and batch processing. Refactor user approval functionality to allow silent operations and avoid sending notifications where unnecessary. Enhance user registration to prevent unfinished registrations from being processed in scheduled checks.
2025-04-14 23:12:29 +03:00
ashubawork 08a7b48d53 - add schedule action for account_status check 2025-04-07 15:01:07 +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 7f586ef47e Update Ultimate Member to version 2.10.2 with filesystem fixes
Introduced `maybe_init_wp_filesystem` for better WP_Filesystem initialization and added new utility methods like `remove_dir`. Improved cache handling and documentation annotations for several methods. These changes enhance file management and ensure smoother integration.
2025-03-18 17:28:15 +02:00
Mykyta Synelnikov 8d33c43130 Fixes 'um_dispatch_email' action #1589
* Sending email notifications directly (without Action Scheduler) on user delete action;
* Changed activation handler priority for integration with Action Scheduler
* Added 'fetch_user_id' argument for fetching the necessary user before email sending when Action Scheduler is active.
2024-11-19 17:48:10 +02:00
Mykyta Synelnikov 34ee3d5ebc * reviewed and updated docs; 2024-11-06 17:13:38 +02:00
Mykyta Synelnikov 550a90873d * compatibility with recent changes in 2.8.9; 2024-10-21 18:02:52 +03: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 1cbbb70a03 * added security condition to check that one logged-in user cannot activate another one user via email activation link;
* fixed double handler of email activation link (wp_die doesn't stop the script for some reason);
* added redirects to login page with error notices instead of wp_die text;
2024-10-11 18:47:40 +03:00
Mykyta Synelnikov 7f7820e67c * fixed sending emails upon registration;
* fixed using `um_user( 'status' )` and `um_user( 'account_status' )` functions;
* fixed using `set_status()` function;
* based on https://github.com/ultimatemember/ultimatemember/pull/1564
2024-10-10 18:18:56 +03:00
Mykyta Synelnikov b4a221837e * fixed first install scripts; 2024-10-03 13:04:20 +03:00
Mykyta Synelnikov b9704ad28b * fixed $force arguments and not existed user; 2024-10-01 12:08:52 +03:00
Mykyta Synelnikov 49b99f10db * fixed #1554;
* updated changelog.txt;
* updated readme.txt;
* clean comments;
2024-09-30 23:48:18 +03:00
Mykyta Synelnikov 6f9be57495 * updated statuses logic; 2024-09-30 23:10:15 +03:00
Mykyta Synelnikov ea316d0474 * fixed #1553; 2024-09-30 17:37:04 +03:00
Mykyta Synelnikov 6d183cc983 * added UM()->common()->filesystem() class from new UI version;
* prepared to release;
2024-09-27 17:34:47 +03:00
Mykyta Synelnikov 35e3727bca * added force attribute to change user status actions for ignore current user condition in some cases; 2024-09-27 15:41:01 +03:00
Yurii Nalivaiko b1d2f20d84 Renamed action to be more clear 2024-09-26 15:35:25 +02:00
Mykyta Synelnikov e9a3bcc9fa * fixed #1541; 2024-09-26 12:08:16 +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
Yurii Nalivaiko adb770bdbb Updated to use action scheduler 2024-09-11 14:28:04 +02:00
Yurii Nalivaiko 928f59b191 Updated hook name 2024-09-10 13:15:53 +02:00
Mykyta Synelnikov 6df83f4f09 - updated structure for action scheduler; 2024-09-06 15:03:50 +03:00
Yurii Nalivaiko ec18f52dd9 Added Action Scheduler 2024-09-04 18:03:22 +02:00
Yurii Nalivaiko f2d4c6135a Added Action Scheduler 2024-09-03 14:49:07 +02:00
Mykyta Synelnikov 3b63b19cbb - added um-confirm JS library for better UI with js.confirm interfaces; 2024-05-02 13:13:19 +03:00
Mykyta Synelnikov d58d065a68 - changed form builder > icon field to new dropdown type; 2024-04-23 12:36:36 +03:00
Mykyta Synelnikov 595945c96e - changed form builder > icon field to new dropdown type; 2024-04-17 17:55:21 +03:00
Mykyta Synelnikov 9a4bf10df5 - setting for new FA and enqueue styles based on this option; 2024-04-17 12:54:07 +03:00
Mykyta Synelnikov 6456e4b68e - reviewed #1499; 2024-04-17 02:31:10 +03:00
ashubawork c1751db8ce - fix for directories 2024-04-16 15:52:56 +03:00
ashubawork f15dabe752 - change hook 2024-04-16 14:43:52 +03:00
ashubawork ba0c9331c5 - transfer action 2024-04-12 13:56:13 +03: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 5673f1c450 - fixed displaying outdated templates admin notice between theme switching; 2024-02-14 14:35:16 +02:00
Mykyta Synelnikov c5931289b7 - fixed deregistered select2 styling; 2024-01-04 16:48:26 +02:00
Mykyta Synelnikov 6d0f9494f3 - reviewed #1340; 2023-11-29 19:18:38 +02:00
Mykyta Synelnikov 8ba184a844 Merge pull request #1340 from ultimatemember/fix/secure-scanner
Fix date and time to filter suspicious accounts + minor fixes to the timestamp in GMT
2023-11-28 15:00:54 +02:00
Mykyta Synelnikov 9798c81a5e - minified assets;
- updated readme.txt > changelog section;
- PHPDoc + Hookdocs updated for enqueue classes (common, admin, frontend);
- fixed typos in PHPDoc;
2023-11-17 17:25:47 +02:00
Mykyta Synelnikov 0bb3e243f6 - updated changelog 2023-11-16 04:10:20 +02:00
Mykyta Synelnikov ecc4346d1f - wp-admin assets refactoring (in process); 2023-11-09 13:47:49 +02:00
Mykyta Synelnikov c65d7169d7 - wp-admin assets refactoring (in process); 2023-11-07 15:51:58 +02:00
Mykyta Synelnikov 10d580908a - wp-admin assets refactoring (in process);
- partially frontend scripts review related to the form builder preview;
2023-11-07 11:34:32 +02:00
Mykyta Synelnikov 8f9ea9c9cb - wp-admin assets refactoring (in process); 2023-11-06 14:22:22 +02:00
Mykyta Synelnikov b40edd26e6 - wp-admin assets refactoring (in process); 2023-11-03 17:31:18 +02:00
Champ Camba 3422c08b98 Fix date range filters for suspicious accounts and use correct datetime with right timezone settings 2023-10-27 13:38:49 +08:00