-
Notifications
You must be signed in to change notification settings - Fork 6
/
readme.txt
575 lines (426 loc) · 29.7 KB
/
readme.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
=== Digital License Manager ===
Contributors: darkog, codeverve
Tags: license key, license manager, software license, serial key, woocommerce
Requires at least: 4.7
Requires PHP: 7.0
Tested up to: 6.6
Stable tag: 1.7.0
License: GPLv3
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Efficiently sell and manage software license keys / codes on your WooCommerce webshop
== Description ==
**Digital License Manager** is licensing plugin that allows you to efficiently sell and manage license keys that also supports bulk import, export, stock synchronization, separate activations table and much more.
The plugin is actively maintained, secure, well documented and very extendable.
[Plugin & API Documentation](https://docs.codeverve.com/digital-license-manager/)
### ✔️ Core Features
* Manage Licenses efficiently ([Read more](https://docs.codeverve.com/digital-license-manager/handbook/licenses/))
* Manage License Activations - See activation ip, useragent, label... ([Read more](https://docs.codeverve.com/digital-license-manager/handbook/activations/))
* Manage License Generators - Customize the look of the licenses ([Read more](https://docs.codeverve.com/digital-license-manager/handbook/generators/))
* Supports Simple and Variable products for License key delivery ([Read more](https://docs.codeverve.com/digital-license-manager/handbook/woocommerce/products/))
* Deliver License key on product purchase from stock ([Read more](https://docs.codeverve.com/digital-license-manager/handbook/woocommerce/deliver-from-stock/))
* Deliver License key on product purchase based on the Generator ([Read more](https://docs.codeverve.com/digital-license-manager/handbook/woocommerce/products/))
* Synchronizes stock with licenses assigned to product ([Read more](https://docs.codeverve.com/digital-license-manager/handbook/woocommerce/stock-synchronization/))
* Configure the order status on which License is delivered ([Read more](https://docs.codeverve.com/digital-license-manager/handbook/get-started/configuration/#WooCommerce))
* Show purchased Licenses in WooCommerce > MyAccount ( ([Read more](https://docs.codeverve.com/digital-license-manager/handbook/woocommerce/my-account/licenses/))
* Singe License page in WooCommerce My Account page ([Read more](https://docs.codeverve.com/digital-license-manager/handbook/woocommerce/my-account/single-license/))
* Activate License from WooCommerce MyAccount page ([Read more](https://docs.codeverve.com/digital-license-manager/handbook/woocommerce/my-account/single-license/manual-activations/))
* Allow/Disallow Customers to download PDF License Certificate ([Read more](https://docs.codeverve.com/digital-license-manager/handbook/woocommerce/my-account/single-license/pdf-certificates/))
* Adds purchased License Keys in the Order Confirmation email ([Read more](https://docs.codeverve.com/digital-license-manager/handbook/woocommerce/emails/order-confirmation/))
* Manually re-send License Key to customer via email ([Read more](https://docs.codeverve.com/digital-license-manager/handbook/woocommerce/emails/manual-email/))
* Rest API endpoints for working License. ([Read more](https://docs.codeverve.com/digital-license-manager/rest-api/licenses/))
* Rest API endpoints for working Generators. ([Read more](https://docs.codeverve.com/digital-license-manager/rest-api/generators/))
* Rest API endpoints for working Software. ([Read more](https://docs.codeverve.com/digital-license-manager/rest-api/software/))
* Rest API protected by API Key & Endpoint permissions ([Read more](https://docs.codeverve.com/digital-license-manager/rest-api/authentication/))
* Option to Import Licenses ([Read more](https://docs.codeverve.com/digital-license-manager/handbook/licenses/import-export/#import))
* Option to Export Licenses ([Read more](https://docs.codeverve.com/digital-license-manager/handbook/licenses/import-export/#export))
* Effortless migration from License Manager for WooCommerce ([Read more](https://docs.codeverve.com/digital-license-manager/migration/migrate-from-license-manager-for-woocommerce/))
* Support for "WooCommerce PDF Invoices and Packing Slips" ([Read more](https://docs.codeverve.com/digital-license-manager/integrations/pdf-invoices-and-packing-slips/))
* Licenses List Block - Lists licenses assigned to the current user ([Read more](https://docs.codeverve.com/digital-license-manager/handbook/blocks/licenses-table/))
* License Check Block - Show a form for checking license key ([Read more](https://docs.codeverve.com/digital-license-manager/handbook/blocks/license-check/))
* Licenses Shortcode - Lists Licenses assigned to the current user ([Read more](https://docs.codeverve.com/digital-license-manager/handbook/blocks/licenses-table/))
* License Check Shortcode - Show a form for checking license key ([Read more](https://docs.codeverve.com/digital-license-manager/handbook/blocks/license-check/))
* Customizable WooCommerce templates ([Read more](https://docs.codeverve.com/digital-license-manager/codex/templates/))
For a full list of features, please check [Documentation](https://docs.codeverve.com/digital-license-manager/).
### ✨ Pro Features
Our PRO version focuses on support for WooCommerce Subscriptions, detailed software showcase in the product page tabs, software update delivery through special REST API endpoints and more.
List of features:
* WooCommerce Subscriptions Support ([Read more](https://docs.codeverve.com/digital-license-manager/integrations/woocommerce-subscriptions/))
* Subscriptions for WooCommerce support ([Read more](https://docs.codeverve.com/digital-license-manager/integrations/subscriptions-for-woocommerce/))
* Register License Keys in WooCommerce > My Account ([Read more](https://docs.codeverve.com/digital-license-manager/handbook/woocommerce/my-account/register-license/))
* License Revealing ([Read more](https://docs.codeverve.com/digital-license-manager/handbook/licenses/license-revealing/))
* WPML Translation Plugin support ([Read more](https://docs.codeverve.com/digital-license-manager/integrations/wpml/))
* Software Management - Set up gallery, support, documentation... ([Read more](https://docs.codeverve.com/digital-license-manager/handbook/software/managing-software/))
* Software Releases - Publish releases for each software ([Read more](https://docs.codeverve.com/digital-license-manager/handbook/software/manage-releases/))
* Software Product Details - Assign software to products. ([Read more](https://docs.codeverve.com/digital-license-manager/handbook/software/product-details/))
* Software Product Details - Show last updated, version, etc. ([Read more](https://docs.codeverve.com/digital-license-manager/handbook/software/product-details/))
* Software Product Details - Show gallery, support, docs, changelog ([Read more](https://docs.codeverve.com/digital-license-manager/handbook/software/product-details/))
* Software Download Page in WooCommerce My Account ([Read more](https://docs.codeverve.com/digital-license-manager/handbook/woocommerce/my-account/single-license/downloads/))
* Software Download RestAPI endpoint ([Read more](https://docs.codeverve.com/digital-license-manager/rest-api/software/download/))
* Software Details RestAPI endpoint ([Read more](https://docs.codeverve.com/digital-license-manager/rest-api/software/single/))
* License Activation Enable/Disable in WooCommerce > My Account ([Read more](https://docs.codeverve.com/digital-license-manager/handbook/woocommerce/my-account/single-license/activations-table/))
* WordPress Premium Theme & Plugin Updater ([Read more](https://docs.codeverve.com/digital-license-manager/wordpress-theme-plugin-updates/))
* Software Analytics (Coming soon)
[[GET PRO VERSION]](https://docs.codeverve.com/digital-license-manager/).
For a full list of features, please check [Documentation](https://docs.codeverve.com/digital-license-manager/).
### 📃 REST API Documentation
The REST API is one of the crucial features that this plugin provides.
It allows developers to create, update, activate, deactivate, validate licenses through the API.
The full REST API documentation can be found on the link below:
<a href="https://docs.codeverve.com/digital-license-manager/rest-api/" target="_blank">[See Documentation]</a>
### 📃 Complete Documentation
The complete documentation can be found on the link below:
<a href="https://docs.codeverve.com/digital-license-manager/handbook/woocommerce/products/" target="_blank">[See Documentation]</a>
### 📃 Client Libraries
The following client libraries and integrations are available:
* <a href="https://github.com/ideologix/dlm-php" target="_blank">PHP Library</a>
* <a href="https://github.com/ideologix/dlm-cpp" target="_blank">C++ Client (Libcurl)</a> / <a href="https://github.com/ideologix/dlm-cpp-example" target="_blank">C++ Example</a>
* <a href="https://github.com/ideologix/DLM-NET" target="_blank">C# Library</a>
* <a href="https://github.com/ideologix/dlm-python" target="_blank">Python Library</a>
* <a href="https://github.com/ideologix/dlm-plugin-pro" target="_blank">Premium WordPress Updater (Requires PRO)</a>
* <a href="https://github.com/ideologix/dlm-plugin-pro" target="_blank">Premium Plugin Example (Requires PRO)</a>
* <a href="https://github.com/ideologix/dlm-theme-pro" target="_blank">Premium Theme Example (Requires PRO)</a>
### ➕ Issues / Feature Requests
The development can be tracked on our <a href="https://github.com/gdarko/digital-license-manager">Github Repository</a>.
Any contributions are welcome! Feel free to submit pull requests or report issues.
* <a href="https://github.com/gdarko/digital-license-manager">Digital License Manager on GitHub</a>
### 👏 Acknowledgements
This plugin was early fork of License Manager for WooCommerce by Drazen Bebic and WPExperts. However, nowadays, the code has been completely rewritten in order to modernize it and provide better support, stability and new features.
Other acknowledgments: Micromodal, Tom-Select, Flatpickr, defuse/PHP-Encryption, spipu/html2pdf, tecnickcom/tcpdf, 10quality/wp-query-builder, ignitekit/wp-notices.
Props to <a href="https://profiles.wordpress.org/pondermatic/">@pondermatic</a> for contributing to our plugin.
### ⚠️ Important Note
The plugin will create `wp-content/uploads/dlm-files` directory which stores the cryptographic secrets that are required to decrypt the licenses. If you lose this file, you will lose your license keys as well. **Make sure you backup those files!**
== Installation ==
### Manual installation
1. Upload the plugin files to the `/wp-content/plugins/digital-license-manager` directory, or install the plugin through the WordPress *Plugins* page directly.
1. Activate the plugin through the *Plugins* page in WordPress.
1. Use the *License Manager* → *Settings* page to configure the plugin.
### Installation through WordPress
1. Open up your WordPress Dashboard and navigate to the *Plugins* page.
1. Click on *Add new*
1. In the search bar type "Digital License Manager"
1. Select this plugin and click on *Install now*
### Important
The plugin will create `wp-content/uploads/dlm-files` directory which stores the cryptographic secrets that are required to decrypt the licenses. If you lose this file, you will lose your license keys as well. **Make sure you backup those files!**
== Frequently Asked Questions ==
= Does it work without WooCommerce? =
Yes it does.
= How License Activations work? =
The License activations are stored as a separate database entries and not using a counter. This allows easier management of License Activation per device/installation/etc.
= I am using "License Manager for WooCommerce", how to migrate to Digital License Manager?
Looking to migrate from License Manager for WooCommerce? <a href="https://docs.codeverve.com/digital-license-manager/migration/migrate-from-license-manager-for-woocommerce/">Read more</a>!
= How to create a license through the REST API? =
To create a license through the REST API, please follow this <a href="http://docs.codeverve.com/digital-license-manager/rest-api/licenses/create/" target="_blank">guide</a>.
= How to activate a license through the REST API? =
To activate a license through the REST API, please follow this <a href="http://docs.codeverve.com/digital-license-manager/rest-api/licenses/activate/" target="_blank">guide</a>.
= How to deactivate a license through the REST API? =
To deactivate a license through the REST API, please follow this <a href="http://docs.codeverve.com/digital-license-manager/rest-api/licenses/deactivate/" target="_blank">guide</a>.
= How to validate a license through the REST API? =
To validate a license through the REST API, please follow this <a href="http://docs.codeverve.com/digital-license-manager/rest-api/licenses/validate/" target="_blank">guide</a>.
= Can I assign license keys to past WooCommerce orders that were placed before i installed Digital Licnese Manager?
Yes, you can do this by going to Settings > Tools > "Generate Licneses For Past Orders". You must select a Generator that will be used to generate keys for the orders.
== Screenshots ==
1. Licenses - Overview page
2. Licenses - Add/Edit form
3. Licenses - CSV Export form
4. Generators - Overview page
5. Generators - Add/Edit form
6. Generators - "Generate" page for generating license keys
7. Activations - Overview page
8. Settings - General
9. Settings - WooCommerce (if WooCommerce is activated)
10. Settings - API Keys - Overview
11. Settings - API Keys - Add/Edit form
12. Settings - Tools page. Includes tool for Migration from License Manager for WooCommerce, etc
13. My Account - Licenses overview
14. My Account - Single license page, includes: basic details, certificate download and activations log table
15. My Account - Single license page > Manual Activation Form (if enabled)
16. My Account - Single license page > PDF Certificate download
17. My Account - Single order page that includes licenses
18. Order Email - Shows the licenses
19. Re-send licenses via Order page
20. Gutenberg blocks for user licenses table and license check form
21. Shortcodes for user licenses table and license check form
22. User licenses table displayed by using block or shortcode
23. License check form displayed by using block or shortcode
== Changelog ==
= 1.7.0 =
*Release date - 24 Sep 2024*
* Improved Expired license display in WC > My Account
* Improved general code quality
* Fix status display on the single license page in WC > My Account
* Fix PDF export and missing font DejaVuSans
* Fix Issues when using CloudFlare and HttpHelper::clinetIp()
* Fix license status not centered in WC > My Account
* Add low level database actions dlm_object_{created/updated/deleted}
* Add database integrity maintenance (delete activations and other related data on license delete)
* Confirm compatibility with WC 9.3+
* Resync the .pot template
= 1.6.6 =
*Release date - 05 Aug 2024*
* Allow license key "copy to clipobard" on order-received confirmation page
* Fix issue on MyAccount license single page when License order is not set
= 1.6.5 =
*Release date - 24 Jul 2024*
* Add action hook dlm_rest_response_error to REST endpoints
* Test with WordPress 6.6
* Test with WooCommerce 9.1
= 1.6.4 =
*Release date - 21 Jun 2024*
* Fix broken stylesheets when plugin is translated to other language
* Fix broken My Accounts pages (404) in some instances
* Add HPOS support for the order link in the licenses table
* Blocks build process improvements
* Comprehensive test with WooCommerce 9
= 1.6.3 =
*Release date - 12 May 2024*
* Fix issue that prevented the license key from displaying in My Account single license page
* Test with WooCommerce 8.8.3
= 1.6.2 =
*Release date - 25 April 2024*
* Fix issue introduced in v1.6.1 that caused the plugin to ignore generator's valid_for and activations_limit when creating licenses from orders
* Improved error logging for the order license creation process
= 1.6.1 =
*Release date - 22 April 2024*
* Fix stock syncing when license is deleted
* Deprecated method LicenseService::saveGeneratedLicenseKeys() in favor of LicenseService::createMultiple()
* Deprecated method LicenseService::saveImportedLicenseKeys() in favor of LicenseService::createMultiple()
* Test with WooCommerce 8.8
= 1.6.0 =
*Release date - 15 March 2024*
* Add filter dlm_license_certification_logo_width for changing the logo width in PDF certificate
* Add filter dlm_license_certification_title for changing the title in PDF Certificate
* Add support for hashed license keys in RestAPI (<a href="https://docs.codeverve.com/digital-license-manager/rest-api/complex-licenses/" target="_blank">Read more</a>)
* Add plugin deactivation feedback form
* Fix $order null access that triggered an error in My Account
* Fix conflict with Download Manager
* Fix issues related to .csv import
* Improved Admin UI
* Improved PDF Certificate display
* Improved WooCommerce "My Account" templates
* Improved license delete operation handling, remove database relations
* Renamed Activations "activate/deactivate" buttons to "enable/disable" in Admin screen
* Update default plugin settings
* Confirm compatibility with WP 6.5.0
* Confirm compatibility with WC 8.6.2
* Resync the .pot template
= 1.5.9 =
*Release date - 17 Feb 2024*
* Fix API last access date
* Fix duplicate license keys in PDF invoices
* Fix delete confirmation dialog issue in API keys settings
* Fix delete button on single api key edit page in settings
* Add improvements to the Rest API permissions check
* Resync the .pot template
= 1.5.8 =
*Release date - 23 Jan 2024*
* Fix PHP warning in My Account page
= 1.5.7 =
*Release date - 22 Jan 2024*
* Fix fatal error reported by customer
* Add copy to clipboard functionality
= 1.5.6 =
*Release date - 01 Dec 2023*
* Fix the License Activations table display in My Account
* Fix issues related to API calls
* Improvements to single License/Generator UI
* Improvements to the uninstallation cleanup procedure
* Removed unused wp_ajax endpoint
= 1.5.5 =
*Release date - 27 Nov 2023
* Fix issue related to notice display
= 1.5.4 =
*Release date - 27 Nov 2023*
* Improvements to the <a href="https://docs.codeverve.com/digital-license-manager/migration/migrate-from-license-manager-for-woocommerce/">migration tool</a> from License Manager for WooCommerce
* Add <a href="https://docs.codeverve.com/digital-license-manager/migration/migrate-from-license-manager-for-woocommerce/">Compatibility layer</a> for the REST API for License Manager for WooCommerce
* Add public <a href="https://github.com/gdarko/digital-license-manager/blob/master/helpers.php">helper functions</a> that can be used to interact with the plugin's database
* Add migration notices
* Fixes various smaller issues here and there
* Improves the unit tests collection
= 1.5.3 =
*Release Date - 22 Oct 2023*
* Fix activating license as customer "permission denied" from My Account page
* Update block dependencies
* Test with WooCommerce 8.2
= 1.5.2 =
*Release Date - 20 Sep 2023*
* Fix High-Performance-Order-Storage compatibility issues
* Fix issue when generating bulk licenses from the Generators > Generate page
* Add filter to allow adjustments to the WooCommerce product edit tab classes
* Fix confusing logic on the dlm_validate_product/order_id filters
= 1.5.1 =
*Release Date - 16 Sep 2023*
* Fix issue that caused no license key to be sent via email/order thank you page
* Add Gutenberg Block: "DLM: Licenses Table" -> The block lists the licenses owned by the current user
* Add Gutenberg Block: "DLM: Licenses Check" -> The block provides a form where user can check validity of a license key
* Add Shortcode: "[dlm_licenses_table]" -> The shortcode lists the licenses owned by the current user
* Add Shortcode: "[dlm_licenses_check]" -> The shortcode provides a form where user can check validity of a license key
* Add support for "WooCommerce PDF Invoices and Packing Slips" by WP Overnight. License key will be displayed in the invoice.
= 1.5.0 =
*Release Date - 01 Aug 2023*
* Add copyright information to the files, a nice welcome screen.
* Add more unit tests
* Improvements to the data api
* Improvements to the order_complete meta saving
* Improvements to the license stock database query
* Fix PHP warnings, improve PHP 8.2 compatibility
* Fix generator crud bugs
* Test with WordPress 6.3
* Test with WooCommerce 8.0
= 1.4.4 =
*Release Date - 25 Jul 2023*
= 1.4.3 =
*Release Date - 03 May 2023*
* Do not enforce expired license validation when deactivting token through the REST API
* Add option in Settings > WooCommerce to enable masking the license keys on the public facing pages like Order Received" page
* Show My Account licenses status as Expired when license is expired
* Fix issue when clearing Generator valeus in edit page
* Move "Max Activations" at the bottom before expiresIn in Generator edit
* Add support on the dropdown search endpoint for generators
* Add "Past Orders License Generator" tool in Settings > Tools that allows users to generate licenses for past orders by selectting Generator.
* Add UI improvements to the styling of the Tools page
* Add unit tests for orders/products
= 1.4.2 =
*Release Date - 22 Mar 2023*
* Fix for PHP wranings caused by the new activations table revamp reported <a href="https://github.com/gdarko/digital-license-manager/issues/20">here</a>
* Various improvements to the source code for flexibility
* Minor improvements for the License Service
= 1.4.1 =
*Release Date - 13 Feb 2023*
* Hotfix for Product Edit page issue in the License Manager tab, conditionals were not working
= 1.4.0 =
*Release Date - 13 Feb 2023*
* Add support for <a target="_blank" href="https://woocommerce.com/document/high-performance-order-storage/">WooCommerce High Performance Order Storage</a>
* Add support to filter /licenses and /generators GET REST API endpoints with query parameters
* Add Manual License Activations to allow customers enter manual activations, feature enabled from Settings
* Refactored My Account's single license activations table actions, allow developers to add custom actions here
* Add Delete button on the Activations that were added manually in My Account's single license activations table
* Removed jQuery relience, refactored all the javascript to get rid of jQuery completely
* Replaced Select2 (jQuery) with Tom-Select, a native JS library for select dropdowns with ajax support
* Replaced jQuery UI's datepicker with flatpicker, a native JS library for date/time picker input
* Refactored and simplified license reveal functionality in WooCommerce single order page in admin
* Add a filter dlm_woocommerce_order_item_actions for managing the order item actions in the WooCommerce single order page in admin
* Fixed issue introduced in v1.3.9 that thrown error when updating a license from admin
* Tested compatibility with WordPress 6.2
* Tested compatibility with WooCommerce 7.3
* A lot of other small code quality improvements
= 1.3.9 =
*Release Date - 08 Jan 2023*
* Add Generators Abstraction layer/hook and Abstract class. <a href="https://docs.codeverve.com/digital-license-manager/handbook/generators/extending-abstraction/">Read more</a>
* Add "Max Activations Behavior" option to "Product Edit" > "License Manager" to make the purchased quantity of the product to be used as max activations limit, by default the old behavior will be preserved and the limit will depend on the Generator/Stock
* Add `$orderItem` parameter to the `dlm_skip_licenses_generation_for_order_product` filter
* Add services layer, move business logic code form Utils\Data to Core\Services, mark the old ones as deprecated and keep it backwards compatible
* Fix PHP warnings on certain actions
* Update i18n .pot template
= 1.3.8 =
*Release Date - 16 Dec 2022*
* Fix possible fatal error when using kadence woocommerce email customizer
* Test compatibility with WooCommerce 7.2
= 1.3.7 =
*Release Date - 12 Dec 2022*
* Fix logic error that made the order note when no licenses in stock found incorrect
* Add action hook `dlm_stock_delivery_assigned_licenses($assignedLicenses, $neededAmount, $availableStock, $order, $product)` that is triggered once licenses from stock assignment finished. Useful to notify third party something based on the delivered licenses or if no licenses were delivered due to empty stock
* Add duplicate check to Licenses import based on plugin settings for allowing duplicates
* Add duplicate check warnings into admin notices when importing licenses
* Fix issue in Licenses import that allowed empty lines to be imported as empty licenses from clipboard or file
* Refactor file import process, moved temporary import file path from plugin folder to uploads
* Refactor order licenses resend email/action, the resend was not working on some environments
* Make use of 'paginate' property for wc_get_products in dropdown search fields
* Code quality and formatting improvements
= 1.3.6 =
*Release Date - 24 Nov 2022*
* Add code and status to error when license key is not found via rest api.
* Refactor Migrator class for better flexibility and reusability, fixes issues related to migrations.
= 1.3.5 =
*Release Date - 14 Nov 2022*
* Add support for assinging product variations to Licenses when selling from stock
* Rewrite stock syncrhonization functionality
* Test with the latest WooCommerce version
* Test with the latest WordPress version
= 1.3.4 =
*Release Date - 04 Oct 2022*
* Fix conflict with WooCommerce subscriptions in the product editor
* Add valid_for that tells how many days the license will be valid after purchased from *stock*
* Improve license create/edit screen field labels wording
* Fix invalid markup on the generator create/edit pages in admin
* Fix generator title badges in the generators list table in admin
* Fix license import functionality, do not set expiry date immediately and make use of the valid_for property
* Fix potential issue with stock decreasing and set validFor=null in save license procedure in admin
* Fix issue warning thrown when deleting licenses in the admin side, props @pondermatic
* Replaced WordPress meta function calls with WooCommerce product/order meta functions calls to comply with upcoming WooCommerce custom tables database implementation
= 1.3.3 =
*Release Date - 20 Aug 2022*
* Added option to specify license expiration date/time format in Settings. Props <a href="https://github.com/gdarko/digital-license-manager/pull/6">@pondermatic</a>
* Fixed issues related to license expiration date/time output consistency. Props <a href="https://github.com/gdarko/digital-license-manager/pull/6">@pondermatic</a>
* Fixed issues with PHP warnings. Props <a href="https://github.com/gdarko/digital-license-manager/pull/6">@pondermatic</a>
* Fixed issues in "License Manager for WooCommerce" data migration tool, related to unhandled PHP exceptions.
* Fixed several typos in "License Manager for WooCommerce" data migration tool.
= 1.3.2 =
*Release Date - 26 Jul 2022*
* Fix typo in the migration file
= 1.3.1 =
*Release Date - 26 Jun 2022*
* Fix PHP warning on Admin > Activations page
= 1.3.0 =
*Release Date - 25 May 2022*
* Added Support for WordPress 6.0 and WooCommerce 6.5
* Added License Certifications feature in PDF format (integrates in WooCommerce and Licenses table admin screens)
* Added RestAPI optional 'token' parameter to the /activate endpoint to reactivate existing license token and not create new one if needed
* Added Single License page in My Account
* Added License Activation log in My Account single License page
* Added Migration tool for migrating from "License Manager for Woocommerce"
* Added permalinks flush mechanism to flush permalinks after plugin activation. Fixes issues with 404 pages in WooCommerce "My Account"
* Added "Help" page in "Settings"
* Removed redundant valid_for column in the licenses table in favor of expires_at
* Fixed issue with the pagination and filters on the License Activations page
* Fixed a problem that caused admins not able to clear activation limit on a license (set unlimited activations)
* Refreshed admin edit/create screens style
* Refreshed admin settings screens style
* Simplified the Licenses list table in admin screen
* Simplified the WooCommerce templates directory tree
* Improved the css/js resource queuing
* Improved PHP 8.1 compatibility
* Refactor the Abstracts/Interfaces naming to support PSR standard
* Upgraded jQuery UI css version to v1.13.1
= 1.2.2 =
*Release Date - 23 Mar 2022*
* Fix various notices found
* Fix license/validate endpoint. It was returning error response when activation token is deactivated. It should return the activation object with the populated deactivated_at prperty.
* Re-write the license generation in WooCommerce
* Improve code, add various hooks for better extendibility.
= 1.2.1 =
*Release Date - 03 Mar 2022*
* Fix Multisite database/fileystem initial setup. Run the database/filesystem setup on each blog once the plugin is activated network wide.
= 1.2.0 =
*Release Date - 15 Dec 2021*
* Complete rewrite of product edit data DLM fields
* Added error display when validation fails upon product save
* Added welcome notice
* Fix admin dropdowns product search
* Fix admin dropdowns order search
* Fix license update process that removed expiration date
* Fix purchased licenses display in the order page
* Fix Generator REST API problems related to the delete endpoint
* Fix API key last access date/time display
* Fix a problem that skipped the creation of the product_downloads table
* Fix activations limit calculations
* Imrpoved REST API validation and handling
* Improved the license expiration display in license table
* Updated the product fields. Instead of use stock and use generator this is now a single dropdown.
* Code style improvements
= 1.1.1 =
*Release Date - 10 Oct 2021*
* Add PRO version references
* Minor bug fixes
= 1.1.0 =
*Release Date - 24 Sep 2021*
* Add delete rest endpoint for Licenses and Generators
* Fix license activation validate endpoint
* Fix dlm_rest_api_pre_response filter
* Fix Generators update endpoint
* Improve "Re-send licenses" button in order screen
* Improve Customer delivery email
* Code style improvements
= 1.0.0 =
*Release Date - 19 Jul 2021*
* Everything is new
== Upgrade Notice ==