-
Notifications
You must be signed in to change notification settings - Fork 72
access to the license server. #22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
enescantuerk
wants to merge
352
commits into
Arsenal21:master
Choose a base branch
from
michelve:master
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Fix an issue that prevented the plugin from working when woocommerce plugin was not active
…nse product in woocommerce
…nse product in woocommerce
…-commerce was not installed or active
…-commerce was not installed or active
…-commerce was not installed or active
…-commerce was not installed or active
Bumps [handlebars](https://github.com/wycats/handlebars.js) from 4.1.2 to 4.5.3. - [Release notes](https://github.com/wycats/handlebars.js/releases) - [Changelog](https://github.com/wycats/handlebars.js/blob/master/release-notes.md) - [Commits](handlebars-lang/handlebars.js@v4.1.2...v4.5.3) Signed-off-by: dependabot[bot] <support@github.com>
…rs-4.5.3 Bump handlebars from 4.1.2 to 4.5.3
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.
6.1.8 release
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
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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)