Skip to content
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

Release 8.0 #2847

Merged
merged 30 commits into from
Jan 20, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
30 commits
Select commit Hold shift + click to select a range
8b6fe0d
Merge branch 'trunk' of https://github.com/gocodebox/lifterlms into dev
github-actions[bot] Dec 17, 2024
0d4e7b9
Deleting unused travis config files.
brianhogg Dec 18, 2024
7bcb252
Removing release docs, they are in the team.lifterlms.com site.
brianhogg Dec 18, 2024
e87d184
Merge branch 'trunk' of https://github.com/gocodebox/lifterlms into dev
github-actions[bot] Jan 6, 2025
300ffdc
Merge branch 'trunk' of https://github.com/gocodebox/lifterlms into dev
github-actions[bot] Jan 7, 2025
a5edd68
Merge branch 'trunk' of https://github.com/gocodebox/lifterlms into dev
github-actions[bot] Jan 7, 2025
0cede23
Add purchase link to access plan (#2798)
brianhogg Jan 9, 2025
5d2d1c4
Popup modal when Add Access Plan clicked (#2797)
brianhogg Jan 9, 2025
4a22c1e
Added filter to hide Membership Settings for Access Plans (#2831)
andrewlimaza Jan 9, 2025
400bc66
Avoid text wrapping in buttons (#2839)
brianhogg Jan 9, 2025
0918e6b
Beaver builder (#2815)
brianhogg Jan 9, 2025
bc59b6e
Fix translation unloading (#2840)
brianhogg Jan 9, 2025
63a5abd
Displaying if a lesson in the syllabus has a quiz, assignment, or bot…
kimcoleman Jan 9, 2025
0f74e20
Q3 cycle accessibility (#2834)
brianhogg Jan 13, 2025
1b9a28a
Fix Connect Mailhawk and Connect SendWP errors (#2837)
brianhogg Jan 13, 2025
aa3209d
Initial work to add password visibility toggle button on Student Dash…
brianhogg Jan 13, 2025
222cfe6
Allow more html in quiz question descriptions (#2842)
brianhogg Jan 13, 2025
27631b9
llmsPostsSelect2 improvements (#2806)
brianhogg Jan 13, 2025
80bb021
Allow lesson access based on enrollment drip setting with Course Star…
brianhogg Jan 13, 2025
00513ac
Removing incorrect changelog. Updating password toggle wording.
brianhogg Jan 13, 2025
6391fd8
Featured Pricing Information on catalogs (#2804)
brianhogg Jan 13, 2025
fee2062
Formatting and position of has quiz / has assignment on syllabus when…
brianhogg Jan 13, 2025
bf42e3e
Removing Mailhawk from the list of email providers. Refs #2792
brianhogg Jan 14, 2025
3337651
Removing error log.
brianhogg Jan 14, 2025
cf0d871
Beaver builder membership support (#2850)
brianhogg Jan 14, 2025
79e32ac
Lesson preview favorite and review accessibility (#2853)
brianhogg Jan 16, 2025
d18ceb0
Switching course information header from h3 to h2 by default in Eleme…
brianhogg Jan 17, 2025
3d43315
Fix confirmation toggle and course info heading default (#2854)
brianhogg Jan 17, 2025
92df405
Updating log since Mailhawk has been removed.
brianhogg Jan 17, 2025
84636e0
Build for 8.0.0.
brianhogg Jan 20, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 0 additions & 25 deletions .config/travis/add-on.yml

This file was deleted.

20 changes: 0 additions & 20 deletions .config/travis/e2e.yml

This file was deleted.

23 changes: 0 additions & 23 deletions .config/travis/eslint.yml

This file was deleted.

129 changes: 0 additions & 129 deletions .config/travis/main.yml

This file was deleted.

46 changes: 46 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,52 @@
LifterLMS Changelog
===================

v8.0.0 - 2025-01-20
-------------------

##### New Features

+ New popup when adding an Access Plan with templates to help set options quickly.
+ Adds support for Beaver Builder for Courses, Memberships and Lessons. [#2761](https://github.com/gocodebox/lifterlms/issues/2761)
+ Ability to show typed password for verification on the Student Dashboard login form.
+ Adds new "Featured Pricing Information" setting for Courses and Memberships.
+ Showing 'Has Quiz' or 'Has Assignment' in the Course Syllabus.

##### Updates and Enhancements

+ Improved accessibility of various front-end and back-end UIs including the Access Plans metaboxes to use proper labels and screen reader text where needed.
+ Allow lesson access based on enrollment drip setting with Course Start Date set. [#2843](https://github.com/gocodebox/lifterlms/issues/2843)
+ Course Information header is now h2 instead of h3 by default, for accessibility in heading order.
+ Adding purchase checkout link to the access plan header as an icon. [#2793](https://github.com/gocodebox/lifterlms/issues/2793)
+ Accessibility updates for lesson favorite and write a review forms. [#2852](https://github.com/gocodebox/lifterlms/issues/2852)

##### Bug Fixes

+ Allow additional shortcodes like [audio] within the description (content) of a quiz question.
+ Can now deactivate the Confirmation field for blocks like E-mail address and Password in forms. [#2646](https://github.com/gocodebox/lifterlms/issues/2646)
+ Fix SendWP connect button. [#2792](https://github.com/gocodebox/lifterlms/issues/2792)
+ Avoid unloading the textdomain for core translations in case the lifterlms textdomain is used before init (WP 6.7). [#2807](https://github.com/gocodebox/lifterlms/issues/2807)
+ Avoid wrapping of the text of buttons. [#2820](https://github.com/gocodebox/lifterlms/issues/2820)

##### Developer Notes

+ Improved llmsPostsSelect2 method when called on multiple elements at once, each with different options. [#2805](https://github.com/gocodebox/lifterlms/issues/2805)

##### Updated Templates

+ [templates/course/favorite.php](https://github.com/gocodebox/lifterlms/blob/8.0.0/templates/course/favorite.php)
+ [templates/course/lesson-preview.php](https://github.com/gocodebox/lifterlms/blob/8.0.0/templates/course/lesson-preview.php)
+ [templates/global/form-login.php](https://github.com/gocodebox/lifterlms/blob/8.0.0/templates/global/form-login.php)
+ [templates/global/form-registration.php](https://github.com/gocodebox/lifterlms/blob/8.0.0/templates/global/form-registration.php)
+ [templates/loop/featured-pricing.php](https://github.com/gocodebox/lifterlms/blob/8.0.0/templates/loop/featured-pricing.php)
+ [templates/myaccount/form-edit-account.php](https://github.com/gocodebox/lifterlms/blob/8.0.0/templates/myaccount/form-edit-account.php)
+ [templates/myaccount/form-redeem-voucher.php](https://github.com/gocodebox/lifterlms/blob/8.0.0/templates/myaccount/form-redeem-voucher.php)
+ [templates/notifications/basic.php](https://github.com/gocodebox/lifterlms/blob/8.0.0/templates/notifications/basic.php)
+ [templates/product/access-plan-button.php](https://github.com/gocodebox/lifterlms/blob/8.0.0/templates/product/access-plan-button.php)
+ [templates/product/free-enroll-form.php](https://github.com/gocodebox/lifterlms/blob/8.0.0/templates/product/free-enroll-form.php)
+ [templates/quiz/questions/description.php](https://github.com/gocodebox/lifterlms/blob/8.0.0/templates/quiz/questions/description.php)


v7.8.7 - 2024-12-17
-------------------

Expand Down
6 changes: 1 addition & 5 deletions assets/js/app/llms-lesson-preview.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ LLMS.LessonPreview = {

var self = this;

this.$locked = $( 'a[href="#llms-lesson-locked"]' );
this.$locked = $( '.llms-lesson-locked' );

if ( this.$locked.length ) {

Expand Down Expand Up @@ -56,10 +56,6 @@ LLMS.LessonPreview = {

var self = this;

this.$locked.on( 'click', function() {
return false;
} );

this.$locked.on( 'mouseenter', function() {

var $tip = $( this ).find( '.llms-tooltip' );
Expand Down
76 changes: 76 additions & 0 deletions assets/js/app/llms-visibility-toggle.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,76 @@
/**
* Handle Password Visibility Toggle for LifterLMS Forms
*
* @package LifterLMS/Scripts
*
* @since TBD
*/

LLMS.PasswordVisibility = {

/**
* Initialize references and setup event binding
*
* @since TBD
* @return void
*/
init: function() {
this.$toggleButtons = $( '.llms-visibility-toggle button' );

if ( this.$toggleButtons.length ) {
this.$toggleButtons.removeClass( 'hide-if-no-js' );
this.bind();
}
},

/**
* Bind DOM events for toggle buttons
*
* @since TBD
* @return void
*/
bind: function() {
var self = this;

// Remove any previous click events and bind the new click event
this.$toggleButtons.off('click').on('click', function(event) {
self.toggleVisibility( $(this) );
});
},

/**
* Toggle visibility of password fields
*
* @since TBD
* @param {Object} $button The jQuery object of the clicked button
* @return void
*/
toggleVisibility: function( $button ) {
var isVisible = parseInt( $button.attr('data-toggle'), 10 );
var $form = $button.closest( '.llms-form-fields' );
var $passwordFields = $form.find( 'input.llms-field-input' );
var $icon = $button.find( 'i' );
var $stateText = $button.find( '.llms-visibility-toggle-state' );

// Toggle the visibility state
if ( isVisible === 1 ) {
// Show password
$passwordFields.filter('[type="password"]').attr('type', 'text');
$button.attr('data-toggle', 0);
$icon.removeClass('fa-eye').addClass('fa-eye-slash');
$stateText.text(LLMS.l10n.translate('Hide Password'));
} else {
// Hide password
$passwordFields.filter('[type="text"]').attr('type', 'password');
$button.attr('data-toggle', 1);
$icon.removeClass('fa-eye-slash').addClass('fa-eye');
$stateText.text(LLMS.l10n.translate('Show Password'));
}
}

};

// Initialize the Password Visibility module on document ready
jQuery(document).ready(function($) {
LLMS.PasswordVisibility.init();
});
Loading
Loading