Changeset 3230431
- Timestamp:
- 01/28/2025 11:15:02 AM (14 months ago)
- Location:
- crowdaa-sync
- Files:
-
- 4 edited
- 43 copied
-
tags/2.0.2 (copied) (copied from crowdaa-sync/trunk)
-
tags/2.0.2/CHANGELOG (copied) (copied from crowdaa-sync/trunk/CHANGELOG) (1 diff)
-
tags/2.0.2/README.txt (copied) (copied from crowdaa-sync/trunk/README.txt) (1 diff)
-
tags/2.0.2/admin/class-crowdaa-sync-add-info-api.php (copied) (copied from crowdaa-sync/trunk/admin/class-crowdaa-sync-add-info-api.php)
-
tags/2.0.2/admin/class-crowdaa-sync-add-info-wp.php (copied) (copied from crowdaa-sync/trunk/admin/class-crowdaa-sync-add-info-wp.php)
-
tags/2.0.2/admin/class-crowdaa-sync-admin-display.php (copied) (copied from crowdaa-sync/trunk/admin/class-crowdaa-sync-admin-display.php)
-
tags/2.0.2/admin/class-crowdaa-sync-admin.php (copied) (copied from crowdaa-sync/trunk/admin/class-crowdaa-sync-admin.php)
-
tags/2.0.2/admin/class-crowdaa-sync-api.php (copied) (copied from crowdaa-sync/trunk/admin/class-crowdaa-sync-api.php)
-
tags/2.0.2/admin/class-crowdaa-sync-ext-hooks.php (copied) (copied from crowdaa-sync/trunk/admin/class-crowdaa-sync-ext-hooks.php)
-
tags/2.0.2/admin/class-crowdaa-sync-rest-api.php (copied) (copied from crowdaa-sync/trunk/admin/class-crowdaa-sync-rest-api.php) (3 diffs)
-
tags/2.0.2/admin/class-crowdaa-sync-wp-hooks.php (copied) (copied from crowdaa-sync/trunk/admin/class-crowdaa-sync-wp-hooks.php)
-
tags/2.0.2/admin/css/crowdaa-sync-admin.css (copied) (copied from crowdaa-sync/trunk/admin/css/crowdaa-sync-admin.css)
-
tags/2.0.2/admin/js/crowdaa-sync-admin.js (copied) (copied from crowdaa-sync/trunk/admin/js/crowdaa-sync-admin.js)
-
tags/2.0.2/admin/partials/crowdaa-sync-admin-display.php (copied) (copied from crowdaa-sync/trunk/admin/partials/crowdaa-sync-admin-display.php)
-
tags/2.0.2/crowdaa-sync.php (copied) (copied from crowdaa-sync/trunk/crowdaa-sync.php) (2 diffs)
-
tags/2.0.2/includes/class-crowdaa-sync-activator.php (copied) (copied from crowdaa-sync/trunk/includes/class-crowdaa-sync-activator.php)
-
tags/2.0.2/includes/class-crowdaa-sync-deactivator.php (copied) (copied from crowdaa-sync/trunk/includes/class-crowdaa-sync-deactivator.php)
-
tags/2.0.2/includes/class-crowdaa-sync-exception.php (copied) (copied from crowdaa-sync/trunk/includes/class-crowdaa-sync-exception.php)
-
tags/2.0.2/includes/class-crowdaa-sync-i18n.php (copied) (copied from crowdaa-sync/trunk/includes/class-crowdaa-sync-i18n.php)
-
tags/2.0.2/includes/class-crowdaa-sync-loader.php (copied) (copied from crowdaa-sync/trunk/includes/class-crowdaa-sync-loader.php)
-
tags/2.0.2/includes/class-crowdaa-sync-lock.php (copied) (copied from crowdaa-sync/trunk/includes/class-crowdaa-sync-lock.php)
-
tags/2.0.2/includes/class-crowdaa-sync-logs.php (copied) (copied from crowdaa-sync/trunk/includes/class-crowdaa-sync-logs.php)
-
tags/2.0.2/includes/class-crowdaa-sync-permissions.php (copied) (copied from crowdaa-sync/trunk/includes/class-crowdaa-sync-permissions.php)
-
tags/2.0.2/includes/class-crowdaa-sync-syncdb.php (copied) (copied from crowdaa-sync/trunk/includes/class-crowdaa-sync-syncdb.php)
-
tags/2.0.2/includes/class-crowdaa-sync-timer.php (copied) (copied from crowdaa-sync/trunk/includes/class-crowdaa-sync-timer.php)
-
tags/2.0.2/includes/class-crowdaa-sync-utils.php (copied) (copied from crowdaa-sync/trunk/includes/class-crowdaa-sync-utils.php)
-
tags/2.0.2/includes/class-crowdaa-sync-versions.php (copied) (copied from crowdaa-sync/trunk/includes/class-crowdaa-sync-versions.php)
-
tags/2.0.2/includes/class-crowdaa-sync.php (copied) (copied from crowdaa-sync/trunk/includes/class-crowdaa-sync.php)
-
tags/2.0.2/languages/crowdaa-sync-fr_FR.mo (copied) (copied from crowdaa-sync/trunk/languages/crowdaa-sync-fr_FR.mo)
-
tags/2.0.2/languages/crowdaa-sync-fr_FR.po (copied) (copied from crowdaa-sync/trunk/languages/crowdaa-sync-fr_FR.po)
-
tags/2.0.2/vendor/autoload.php (copied) (copied from crowdaa-sync/trunk/vendor/autoload.php)
-
tags/2.0.2/vendor/composer/ClassLoader.php (copied) (copied from crowdaa-sync/trunk/vendor/composer/ClassLoader.php)
-
tags/2.0.2/vendor/composer/InstalledVersions.php (copied) (copied from crowdaa-sync/trunk/vendor/composer/InstalledVersions.php)
-
tags/2.0.2/vendor/composer/LICENSE (copied) (copied from crowdaa-sync/trunk/vendor/composer/LICENSE)
-
tags/2.0.2/vendor/composer/autoload_classmap.php (copied) (copied from crowdaa-sync/trunk/vendor/composer/autoload_classmap.php)
-
tags/2.0.2/vendor/composer/autoload_files.php (copied) (copied from crowdaa-sync/trunk/vendor/composer/autoload_files.php)
-
tags/2.0.2/vendor/composer/autoload_namespaces.php (copied) (copied from crowdaa-sync/trunk/vendor/composer/autoload_namespaces.php)
-
tags/2.0.2/vendor/composer/autoload_psr4.php (copied) (copied from crowdaa-sync/trunk/vendor/composer/autoload_psr4.php)
-
tags/2.0.2/vendor/composer/autoload_real.php (copied) (copied from crowdaa-sync/trunk/vendor/composer/autoload_real.php)
-
tags/2.0.2/vendor/composer/autoload_static.php (copied) (copied from crowdaa-sync/trunk/vendor/composer/autoload_static.php)
-
tags/2.0.2/vendor/composer/installed.json (copied) (copied from crowdaa-sync/trunk/vendor/composer/installed.json)
-
tags/2.0.2/vendor/composer/installed.php (copied) (copied from crowdaa-sync/trunk/vendor/composer/installed.php)
-
tags/2.0.2/vendor/composer/platform_check.php (copied) (copied from crowdaa-sync/trunk/vendor/composer/platform_check.php)
-
trunk/CHANGELOG (modified) (1 diff)
-
trunk/README.txt (modified) (1 diff)
-
trunk/admin/class-crowdaa-sync-rest-api.php (modified) (3 diffs)
-
trunk/crowdaa-sync.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
crowdaa-sync/tags/2.0.2/CHANGELOG
r3229463 r3230431 7 7 8 8 ## [Unreleased] 9 10 ## [2.0.2] - 2025-01-28 11 12 ### Changed 13 14 - Reverted back to the old API path (it changed with the major version update) 9 15 10 16 ## [2.0.1] - 2025-01-27 -
crowdaa-sync/tags/2.0.2/README.txt
r3229463 r3230431 6 6 Requires PHP: 7.3 7 7 Tested up to: 5.9 8 Stable tag: 2.0. 18 Stable tag: 2.0.2 9 9 License: GPLv2 or later 10 10 License URI: http://www.gnu.org/licenses/gpl-2.0.html -
crowdaa-sync/tags/2.0.2/admin/class-crowdaa-sync-rest-api.php
r3149200 r3230431 18 18 { 19 19 private $plugin_name; 20 private $namespace ;20 private $namespace_v1; 21 21 22 22 /** … … 31 31 { 32 32 $this->plugin_name = $plugin_name; 33 $this->namespace = $this->plugin_name . '/v' . intval($version);33 $this->namespace_v1 = $this->plugin_name . '/v1'; 34 34 } 35 35 … … 37 37 { 38 38 if (get_option('crowdaa_sync_wpapi_register_enabled', 'yes') === 'yes') { 39 register_rest_route($this->namespace , 'users/register', array(39 register_rest_route($this->namespace_v1, 'users/register', array( 40 40 'methods' => 'POST', 41 41 'callback' => array($this, 'register_user'), 42 42 'permission_callback' => array($this, 'permission_allow_all_api'), 43 43 )); 44 register_rest_route($this->namespace , 'users/forgotpassword', array(44 register_rest_route($this->namespace_v1, 'users/forgotpassword', array( 45 45 'methods' => 'POST', 46 46 'callback' => array($this, 'forgot_password'), 47 47 'permission_callback' => array($this, 'permission_allow_all_api'), 48 48 )); 49 register_rest_route($this->namespace , 'session/checks', array(49 register_rest_route($this->namespace_v1, 'session/checks', array( 50 50 'methods' => 'GET', 51 51 'callback' => array($this, 'session_checks'), 52 52 'permission_callback' => array($this, 'permission_allow_auth_api'), 53 53 )); 54 register_rest_route($this->namespace , 'sync/badges/users', array(54 register_rest_route($this->namespace_v1, 'sync/badges/users', array( 55 55 'methods' => 'POST', 56 56 'callback' => array($this, 'sync_badges'), -
crowdaa-sync/tags/2.0.2/crowdaa-sync.php
r3229463 r3230431 14 14 * Plugin URI: 15 15 * Description: Plugin for synchronizing WordPress site and Crowdaa CMS 16 * Version: 2.0. 116 * Version: 2.0.2 17 17 * Requires at least: 5.5 18 18 * Requires PHP: 7.2 … … 34 34 * Uses SemVer - https://semver.org 35 35 */ 36 define('CROWDAA_SYNC_VERSION', '2.0. 1');36 define('CROWDAA_SYNC_VERSION', '2.0.2'); 37 37 define('CROWDAA_SYNC_PLUGIN_DIR', __DIR__); 38 38 define('CROWDAA_SYNC_PLUGIN_NAME', 'crowdaa-sync'); -
crowdaa-sync/trunk/CHANGELOG
r3229463 r3230431 7 7 8 8 ## [Unreleased] 9 10 ## [2.0.2] - 2025-01-28 11 12 ### Changed 13 14 - Reverted back to the old API path (it changed with the major version update) 9 15 10 16 ## [2.0.1] - 2025-01-27 -
crowdaa-sync/trunk/README.txt
r3229463 r3230431 6 6 Requires PHP: 7.3 7 7 Tested up to: 5.9 8 Stable tag: 2.0. 18 Stable tag: 2.0.2 9 9 License: GPLv2 or later 10 10 License URI: http://www.gnu.org/licenses/gpl-2.0.html -
crowdaa-sync/trunk/admin/class-crowdaa-sync-rest-api.php
r3149200 r3230431 18 18 { 19 19 private $plugin_name; 20 private $namespace ;20 private $namespace_v1; 21 21 22 22 /** … … 31 31 { 32 32 $this->plugin_name = $plugin_name; 33 $this->namespace = $this->plugin_name . '/v' . intval($version);33 $this->namespace_v1 = $this->plugin_name . '/v1'; 34 34 } 35 35 … … 37 37 { 38 38 if (get_option('crowdaa_sync_wpapi_register_enabled', 'yes') === 'yes') { 39 register_rest_route($this->namespace , 'users/register', array(39 register_rest_route($this->namespace_v1, 'users/register', array( 40 40 'methods' => 'POST', 41 41 'callback' => array($this, 'register_user'), 42 42 'permission_callback' => array($this, 'permission_allow_all_api'), 43 43 )); 44 register_rest_route($this->namespace , 'users/forgotpassword', array(44 register_rest_route($this->namespace_v1, 'users/forgotpassword', array( 45 45 'methods' => 'POST', 46 46 'callback' => array($this, 'forgot_password'), 47 47 'permission_callback' => array($this, 'permission_allow_all_api'), 48 48 )); 49 register_rest_route($this->namespace , 'session/checks', array(49 register_rest_route($this->namespace_v1, 'session/checks', array( 50 50 'methods' => 'GET', 51 51 'callback' => array($this, 'session_checks'), 52 52 'permission_callback' => array($this, 'permission_allow_auth_api'), 53 53 )); 54 register_rest_route($this->namespace , 'sync/badges/users', array(54 register_rest_route($this->namespace_v1, 'sync/badges/users', array( 55 55 'methods' => 'POST', 56 56 'callback' => array($this, 'sync_badges'), -
crowdaa-sync/trunk/crowdaa-sync.php
r3229463 r3230431 14 14 * Plugin URI: 15 15 * Description: Plugin for synchronizing WordPress site and Crowdaa CMS 16 * Version: 2.0. 116 * Version: 2.0.2 17 17 * Requires at least: 5.5 18 18 * Requires PHP: 7.2 … … 34 34 * Uses SemVer - https://semver.org 35 35 */ 36 define('CROWDAA_SYNC_VERSION', '2.0. 1');36 define('CROWDAA_SYNC_VERSION', '2.0.2'); 37 37 define('CROWDAA_SYNC_PLUGIN_DIR', __DIR__); 38 38 define('CROWDAA_SYNC_PLUGIN_NAME', 'crowdaa-sync');
Note: See TracChangeset
for help on using the changeset viewer.