Skip to content

Conversation

enescantuerk
Copy link

hi

If there is no access to the license server, it gives a license error. It would be great if this solved!

(No action taken if there is no access to the server)

michelve and others added 30 commits November 6, 2019 19:44
Fix an issue that prevented the plugin from working when woocommerce plugin was not active
…rs-4.5.3

Bump handlebars from 4.1.2 to 4.5.3
--------
Updated license overview page
Fixed minor php warnings
Added about page
Added license key to file name when exporting a license key
When sorting by ID and comparing strings, the order is wrong - it sorts by the first letter in the string - example: descending order 99,98,97...100
…te set

After upgrading SLM from old version all my licences were set as expired even though they don't have expiration date set.
Also the function check_for_expired_lic sends e-mail to the Customer and creates log entry even though the Auto expiration is not set.
Error - sets all licences as Expired if they don't have Expiration da…
Sorting by ID not working properly
Sorting by ID not working properly
Sorting by ID not working properly
thanks to @MechComp for the help
Fixed: Activation date was not displaying correctly when saving or adding new licenses
UPDATE: when a license is set to lifetime the expiration field will be disabled and ignore.
FIXED: when a license was set to lifetime the expiration was getting populated with a future date.
Improvement: fixed some typos and improved the Spanish language pack
Updated: updated the product type template to work with any theme.
michelve and others added 30 commits November 8, 2024 15:35
6.1.8 release
Enhanced security measures, optimized plugin functionality, and resolved minor bugs.
Features:

Added new license renewal workflow to track historical orders and update associated_orders column for licenses.
Introduced improved handling for WooCommerce order IDs during license renewal.
Added new templates for license management, including renewal pages and license product display suggestions for empty carts.
Improvements:

Enhanced wc_slm_create_new_license to manage expiration dates, logging, and associated orders seamlessly.
Refactored license renewal logic to ensure existing orders are appended to the associated_orders column.
Improved database schema management for adding missing columns like associated_orders, ensuring backward compatibility and smoother upgrades.
Introduced structured retrieval of associated orders with the SLM_Utility::slm_get_associated_orders function to return well-formatted data.
Fixes:

Addressed metadata dependency by replacing _slm_lic_key usage with database lookups for better accuracy and reliability.
Fixed database version handling logic to ensure schema updates are properly applied during version upgrades.
Templates:

Added license cart template with suggested license products display for empty cart scenarios.
Included robust template structure to handle renewal messages and new license purchases dynamically.
Notes:

The new renewal workflow improves traceability by appending historical orders to the license's associated_orders.
Templates are designed to integrate seamlessly with WooCommerce workflows, providing a consistent user experience.
feat: Add custom block category "SLM Plus" and improve shortcode blocks

- Registered a new block category "SLM Plus" for better organization.
- Updated "Forgot License" and "List Licenses" blocks to assign them to the custom category.
- Improved block editor previews for both blocks:
  - "Forgot License" block displays a preview with a form placeholder.
  - "List Licenses" block displays a preview with a sample list of licenses.
- Fixed issues with blocks appearing under "Uncategorized" by ensuring proper category registration.
- Ensured unique naming in block scripts to avoid conflicts.
- Added clear styles for block previews and frontend rendering in `slm-blocks.css`.
- Verified shortcode functionality for rendering licenses dynamically.
### How to Use the New Shortcodes and Blocks

#### Shortcodes:
1. **Forgot License**: `[slm_forgot_license]`
   - Displays a form where users can enter their email to retrieve license information.
   - Can be added to any page or post manually.

2. **List Licenses**: `[slm_list_licenses]`
   - Dynamically displays a table of licenses associated with the logged-in user.
   - Useful for pages where users manage their licenses.

#### Blocks:
1. **Forgot License Block**:
   - Found under the "SLM Plus" category in the block editor.
   - Provides an interactive form preview in the editor.
   - On the frontend, renders the `[slm_forgot_license]` shortcode.
Fix: status table not creating after update
…tibility

- Updated the `create_log` method to handle the new `time` (DATETIME) and `time_only` (TIME) columns.
- Ensured sanitized input for `license_key`, `action`, and `origin`.
- Improved error handling with detailed success and failure logs.
- Streamlined origin determination for better readability.
- Added example usage and database insertion validation.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants