EDDiMark Changelog

2.2 – 2020 May 20

  • Feature – per-download watermarking settings! Have unique watermarks on a per-download basis.
  • Feature – more granular control of file protections with owner passwording and choice of encryption type.
  • Feature – allow for unlocking document entirely with user password only (override of owner password with user password)
  • Feature – settings page UX designed to indicate passwording/protections require encryption.
  • Feature – designate end page for watermarking
  • Feature – [TIMESTAMP] shortcode to stamp PDF with date watermarked
  • Feature – Compatibility with EDD Free Downloads
  • Tweak – refactor/reduce redundancy in classes/wwpdf-file-handler.php, classes/wwpdf-test.php, classes/test-watermark.php, and classes/watermark.php to improve speed and readability
  • Tweak – use str_replace instead of preg_replace to improve speed of shortcode handling
  • Update EDD SL library to version 1.6.19

2.1.1 – 2020 April 30

  • Fix – in testing whether to watermark file or not, comparison operator used where values weren’t of same type, causing misses

2.1 – 2020 March 27

  • Fix – while testing whether file is watermarked or not, file extension not included in file[‘name’] in classes/eddimark-file-handler.php and files missed
  • Beta version support, turn on beta delivery in Easy Digital Downloads > Tools > Beta Versions
  • update TCPDF to 6.3.5
  • PHP 7.4 compatibility in tcpdi/tcpdi-parser.php and tcpdi/tcpdi.php
  • Stay safe out there!

2.0 – 2020 January 27

  • Feature – Test and on-the-fly watermarked PDF creation from EDD Extensions Settings panel (create watermarked PDFs any time), including easy PDF uploader
  • Feature – New option in settings to serve already-watermarked file to customer to conserve processing
  • Feature – New option in settings to serve un-watermarked file smoothly if watermarking fails, or show error and do not serve
  • Feature – Move fonts and custom fonts outside the plugin directory, which is over-written with updates. Fonts are now at wp-content/uploads/eddimark-pdf/fonts
  • Feature – Optional weekly cron for weekly removal of watermarked files (other schedules could be arranged with your own cron jobs, see web.little-package.com/blog)
  • Feature – Error logging in Easy Digital Downloads logs
  • Tweak – Performance improvements with selective loading of classes
  • Tweak – Confusing ‘eddimark_dont_cleanup’ deprecated and ‘eddimark_do_cleanup’ added in classes/class-eddimark-file-handler.php
  • Tweak – Only do_cleanup() in classes/class-eddimark-file-handler.php for forced downloads – not yet a way to determine download is complete and hook in.
  • Tweak – Improve autoloader
  • Tweak – Check for system requirements, fail on basic requirements (such as EDD loaded)
  • Tweak – File naming system changed, “_#.pdf” is appended to downloaded files, where # is the payment ID. Previous use of time() meant customers’ files could possibly criss-cross if downloaded simultaneously.
  • Fix – Bad assignment operators used when $overlay_X == ’00’ or $overlay_Y == ’00’ in EDDiMark_Watermark class
  • Fix – uninstall.php now actually removes most all traces of EDDiMark upon plugin delete

1.5.2 – 2020 January 2

  • Update Flate filter in inc/tcpdf/include/tcpdf_filters.php

1.5.1 – 2019 December 23

  • Feature – ‘eddimark_filter_overlay’ and ‘eddimark_filter_footer’ filter hooks added
  • Tweak – Simplify use of of Multicell in class-wwpdf-watermark.php and class-wwpdf-watermark-test.php to deal with HTML/no HTML
  • Fix – Mis-named TCPDF_IMAGES class
  • Required Wordpress version moved from 4.4 to 4.9

1.5 – 2019 October 25

  • Feature – Easy AJAX font uploader (uploads TTF files) for watermarking with custom fonts via TCPDF (in beta). Once uploaded,
    fonts are available to select amongst core fonts in EDDiMark settings, general and per-product.
  • Feature – allow for altering PDF file permissions array using ‘eddimark_set_permissions’ filter hook, details about options at https://tcpdf.org/examples/example_016/
  • Update tcpdi_parser.php and TCPDF files, including updates for PHP 7.4
  • Update Deja Vu Sans font included with EDDiMark to version 2.37
  • Tweak – save API license key when clicking Activate/Deactivate in order to prevent user frustration
  • Tweak – allow font sizes down to 1pt in settings (previously 6pt)
  • Fix – adjust PDF parser to accommodate PDFs with NUL characters in XREF, causing missing pages otherwise
  • Testing with WC 3.7.1

1.4.4 – October 10 2019

  • Tweak – install new license API manager (Easy Digital Downloads “Sofware License”); your account information is now at web.little-package.com/account instead of web.little-package.com/my-account

1.4.3 – August 18 2019

  • Fix for when someone wants to delete all data when deleting plugin
  • Update support URLs from eddimark.me to web.little-package.com

1.4.2 – July 26 2019

  • Fix – count() cannot evaluate expression in line 510 of inc/tcpdi/tcpdi_parser.php
  • Change API server address – no longer at eddimark.me

1.4.1 – July 16 2019

  • Fix – remove PHP 5.2 bug fix that breaks PHP 7.3.4+ functioning in inc/tcpdf/include/tcpdf_fonts.php
  • Tweak – /inc/tcpdi/tcpdi_parser.php property getXrefData() – runs 4-5x faster
  • Update WC API integration to version 2.2
  • Confirm compatibility with EDD Dropbox extension

1.4 – July 3 2019

  • Feature – Update TCPDF (bundled third-party software)
  • Feature – Preserve PDF metadata (title, subject, keywords, creation date) while parsing
  • Feature – New filter ‘eddimark_timeout_extend’ in class-eddimark-file-handler.php to better handle HTTP timeouts
  • Fix – count() syntax error in /inc/tcpdi/tcpdi.php line 302

1.3.6 – 2019.06.24

  • Fix – to allow file to be stored locally after EDD 2.9.13 update

1.3.3 – 2018.8.12

  • Early testing for WP 5.0 beta
  • Tweak – don’t load plugin if EDD not active

2018.8.12 – 1.3.2

  • Fix – Left/right margin setting not calculated correctly in class-eddimark-watermark.php
  • Tweak – use MultiCell() instead of WriteHTMLCell() where possible to save memory using TCPDF
  • Tweak – set K_THAI_TOPCHARS constant to FALSE to speed up TCPDF
  • Tweak – each() function removed for PHP 7 compatibility

2018.8.9 – 1.3.1

  • Fix – Don’t serve existing watermarked files if file cleanup not being done

2018.7.5 – 1.3

  • Tweak – remove global $edd_options and use edd_get_option() instead
  • Tweak – empty default values for empty option values
  • Tweak – unique classnames for TCPDI/TCPDF to prevent possible conflicts
  • Fix/Feature – new hook ‘eddimark_dont_cleanup’ to address files remaining in tmp folder without unique names.
  • Feature – ‘eddimark_file_name’ filter hook added in case custom file naming desired

2018.6.4 – 1.2

  • Tweak – simplify text encoding, remove use of iconv(). This allows more characters to watermark.
  • Add filter ‘eddimark_use_uploads_dir’ in /classes/class-eddimark-file-handler.php
  • Add filter ‘eddimark_download_file_name’ in /classes/class-eddimark-file-handler.php – file name will remain unchanged by watermarking unless this filter is used.

2018.3.11 – 1.1

  • Feature – {OPAC} shortcode

2018.1.29 – 1.0.1

  • Fix – bug where some dictionary values would cause the offset to exceed data length

2018.12.29 – 1.0

  • First release