Skip to content

Releases: maarifa-org/dt-maarifa

Release v1.2.2

Choose a tag to compare

@github-actions github-actions released this 17 Sep 08:54

Full Changelog: v1.2.1...v1.2.2

Release v1.2.1

Choose a tag to compare

@github-actions github-actions released this 02 Sep 09:27

What's Changed

  • Bump wp-coding-standards/wpcs from 3.1.0 to 3.4.1 by @dependabot[bot] in #7
  • Bump squizlabs/php_codesniffer from 3.13.5 to 3.13.6 by @dependabot[bot] in #8

New Contributors

Full Changelog: v1.2.0...v1.2.1

Release v1.2.0

Choose a tag to compare

@github-actions github-actions released this 22 Jul 07:26

Summary

New

  • Duplicate interaction cleanup tool. A new "Clean Duplicates" tab has been added to the plugin's admin page. It lets an admin (manage_dt capability) scan for and remove duplicate maarifa-type comments (interactions) on contacts, filtered by contact/post ID, a date range, or across the whole site.
    • Includes a dry-run mode (on by default) that previews what would be deleted before committing to it.
    • Backed by a new authenticated REST endpoint: POST /wp-json/dt-maarifa/v1/cleanup-duplicates, accepting post_id, start_date/end_date, all, and dry_run parameters (mutually exclusive filters — exactly one of post_id, a date range, or all must be provided).

Fixed

  • Root cause of duplicate interactions fixed. The add_interactions endpoint now checks for an existing comment with the same post, content, type, and date before inserting, so Resource Sync (RS) → DT interaction syncing no longer creates duplicate comments on retries/resends.
  • The bulk-comment insert loop no longer aborts entirely on the first WP_Error; each interaction in a batch is now processed independently, with errors collected and logged rather than short-circuiting the remaining items.
  • Skipped empty/missing comment values in incoming interaction payloads instead of inserting blank comments.

Chores

  • PHPCS lint fixes across rest-api.php and admin-menu-and-tabs.php.

Full Changelog: v1.1.4...v1.2.0

Release v1.1.4

Choose a tag to compare

@github-actions github-actions released this 10 Jun 14:35

Full Changelog: v1.1.3...v1.1.4

Release v1.1.3

Choose a tag to compare

@github-actions github-actions released this 10 Jun 13:28

Full Changelog: v1.1.2...v1.1.3

Release v1.1.2

Choose a tag to compare

@github-actions github-actions released this 03 Jun 08:24

Full Changelog: v1.1.1...v1.1.2

Release v1.1.1

Choose a tag to compare

@github-actions github-actions released this 04 Mar 10:29

Full Changelog: v1.1.0...v1.1.1

Release v1.1.0

Choose a tag to compare

@github-actions github-actions released this 04 Mar 10:20

What's Changed

Full Changelog: v1.0.1...v1.1.0

Release v1.0.1

Choose a tag to compare

@github-actions github-actions released this 06 Nov 12:36

Full Changelog: v1.0.0...v1.0.1

Release v1.0.0

Choose a tag to compare

@github-actions github-actions released this 06 Nov 12:32

What's Changed

  • [DT-M3] Create dt-maarifa API to receive contact and interaction data by @adventureit in #2
  • DT-Maarifa (0 Milestones bug and deleting milestones when "false"). by @adventureit in #3
  • Updating rest-api.php - interactions and location (country to street) by @adventureit in #4

New Contributors

Full Changelog: v0.9.9...v1.0.0