Changeset 3435093
- Timestamp:
- 01/08/2026 11:55:58 AM (3 months ago)
- Location:
- fluent-boards
- Files:
-
- 8 edited
- 1 copied
-
tags/1.91.1 (copied) (copied from fluent-boards/trunk)
-
tags/1.91.1/app/Http/Controllers/TaskController.php (modified) (1 diff)
-
tags/1.91.1/app/Services/TaskService.php (modified) (2 diffs)
-
tags/1.91.1/fluent-boards.php (modified) (2 diffs)
-
tags/1.91.1/readme.txt (modified) (2 diffs)
-
trunk/app/Http/Controllers/TaskController.php (modified) (1 diff)
-
trunk/app/Services/TaskService.php (modified) (2 diffs)
-
trunk/fluent-boards.php (modified) (2 diffs)
-
trunk/readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
fluent-boards/tags/1.91.1/app/Http/Controllers/TaskController.php
r3426833 r3435093 424 424 $board_id = absint($board_id); 425 425 $task_id = absint($task_id); 426 //Properties in col: settings, assignees,crm_contact_id, archived_at(AUTO_SET_TIMESTAMP) , status, title, description, priority, is_watching, is_template 426 427 $col = $request->getSafe('property', 'sanitize_text_field'); 427 $value = $request->getSafe('value', 'sanitize_text_field'); 428 if ($col === 'description') { 429 $value = $request->getSafe('value', 'wp_kses_post'); 430 } elseif ($col === 'settings') { 431 $value = $request->get('value'); 432 if (is_array($value) && isset($value['cover']) && is_array($value['cover'])) { 433 if (isset($value['cover']['backgroundColor'])) { 434 $value['cover']['backgroundColor'] = sanitize_text_field($value['cover']['backgroundColor']); 435 } 436 } 437 } else { 438 $value = $request->getSafe('value', 'sanitize_text_field'); 439 } 428 440 429 441 $validatedData = $this->updateTaskPropValidationAndSanitation($col, $value); -
fluent-boards/tags/1.91.1/app/Services/TaskService.php
r3426833 r3435093 191 191 192 192 if (in_array($col, $validColumns) && $task->{$col} != $value) { 193 if ($col == 'settings'&& $value['cover']['backgroundColor']) {193 if ($col == 'settings' && isset($value['cover']['backgroundColor']) && $value['cover']['backgroundColor']) { 194 194 $settings = $task->settings; 195 195 $this->deleteTaskCoverImage($settings); … … 2224 2224 2225 2225 } 2226 -
fluent-boards/tags/1.91.1/fluent-boards.php
r3426833 r3435093 6 6 Plugin Name: Fluent Boards - Project Management Tool 7 7 Description: Fluent Boards is a powerful tool designed for efficient management of to-do lists, projects, and tasks with kanban board and more.. 8 Version: 1.91 8 Version: 1.91.1 9 9 Author: WPManageNinja 10 10 Author URI: https://fluentboards.com … … 21 21 22 22 define('FLUENT_BOARDS', 'fluent-boards'); 23 define('FLUENT_BOARDS_PLUGIN_VERSION', '1.91 ');23 define('FLUENT_BOARDS_PLUGIN_VERSION', '1.91.1'); 24 24 define('FLUENT_BOARDS_PLUGIN_PATH', plugin_dir_path(__FILE__)); 25 25 define('FLUENT_BOARDS_DIR_FILE', __FILE__); -
fluent-boards/tags/1.91.1/readme.txt
r3426833 r3435093 5 5 Tested up to: 6.9 6 6 Requires PHP: 7.3 7 Stable tag: 1.91 7 Stable tag: 1.91.1 8 8 License: GPLv2 or later 9 9 License URI: https://www.gnu.org/licenses/gpl-2.0.html … … 170 170 171 171 == Changelog == 172 = v1.91.1 (Date: January 08, 2025) = 173 - Fixed: Task description formatting . 174 - Fixed: Task cover change error . 175 172 176 = v1.91 (Date: December 24, 2025) = 173 177 - Improvement: Global add button moved for better user experience. -
fluent-boards/trunk/app/Http/Controllers/TaskController.php
r3426833 r3435093 424 424 $board_id = absint($board_id); 425 425 $task_id = absint($task_id); 426 //Properties in col: settings, assignees,crm_contact_id, archived_at(AUTO_SET_TIMESTAMP) , status, title, description, priority, is_watching, is_template 426 427 $col = $request->getSafe('property', 'sanitize_text_field'); 427 $value = $request->getSafe('value', 'sanitize_text_field'); 428 if ($col === 'description') { 429 $value = $request->getSafe('value', 'wp_kses_post'); 430 } elseif ($col === 'settings') { 431 $value = $request->get('value'); 432 if (is_array($value) && isset($value['cover']) && is_array($value['cover'])) { 433 if (isset($value['cover']['backgroundColor'])) { 434 $value['cover']['backgroundColor'] = sanitize_text_field($value['cover']['backgroundColor']); 435 } 436 } 437 } else { 438 $value = $request->getSafe('value', 'sanitize_text_field'); 439 } 428 440 429 441 $validatedData = $this->updateTaskPropValidationAndSanitation($col, $value); -
fluent-boards/trunk/app/Services/TaskService.php
r3426833 r3435093 191 191 192 192 if (in_array($col, $validColumns) && $task->{$col} != $value) { 193 if ($col == 'settings'&& $value['cover']['backgroundColor']) {193 if ($col == 'settings' && isset($value['cover']['backgroundColor']) && $value['cover']['backgroundColor']) { 194 194 $settings = $task->settings; 195 195 $this->deleteTaskCoverImage($settings); … … 2224 2224 2225 2225 } 2226 -
fluent-boards/trunk/fluent-boards.php
r3426833 r3435093 6 6 Plugin Name: Fluent Boards - Project Management Tool 7 7 Description: Fluent Boards is a powerful tool designed for efficient management of to-do lists, projects, and tasks with kanban board and more.. 8 Version: 1.91 8 Version: 1.91.1 9 9 Author: WPManageNinja 10 10 Author URI: https://fluentboards.com … … 21 21 22 22 define('FLUENT_BOARDS', 'fluent-boards'); 23 define('FLUENT_BOARDS_PLUGIN_VERSION', '1.91 ');23 define('FLUENT_BOARDS_PLUGIN_VERSION', '1.91.1'); 24 24 define('FLUENT_BOARDS_PLUGIN_PATH', plugin_dir_path(__FILE__)); 25 25 define('FLUENT_BOARDS_DIR_FILE', __FILE__); -
fluent-boards/trunk/readme.txt
r3426833 r3435093 5 5 Tested up to: 6.9 6 6 Requires PHP: 7.3 7 Stable tag: 1.91 7 Stable tag: 1.91.1 8 8 License: GPLv2 or later 9 9 License URI: https://www.gnu.org/licenses/gpl-2.0.html … … 170 170 171 171 == Changelog == 172 = v1.91.1 (Date: January 08, 2025) = 173 - Fixed: Task description formatting . 174 - Fixed: Task cover change error . 175 172 176 = v1.91 (Date: December 24, 2025) = 173 177 - Improvement: Global add button moved for better user experience.
Note: See TracChangeset
for help on using the changeset viewer.