This repository has been archived by the owner on Oct 9, 2024. It is now read-only.
forked from gocodebox/lifterlms
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request gocodebox#2546 from gocodebox/dev
Pending Release
- Loading branch information
Showing
167 changed files
with
1,891 additions
and
515 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
significance: minor | ||
type: dev | ||
entry: Added `LLMS_Payment_Gateway::can_process_access_plan()` method to determine if an | ||
access plan can be processed by the gateway. Also added the filter hook | ||
`llms_can_gateway_process_access_plan` to filter its result. |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
significance: minor | ||
type: dev | ||
entry: Added a check on whether the gateway can process a specific plan when | ||
purchasing a plan, or switching the payment gateway of a recurring payment. |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
significance: minor | ||
type: dev | ||
entry: Added action hook `llms_checkout_form_gateway_cant_process_plan` fired on | ||
the checkout form gateways section, when a gateway cannot process a specific | ||
plan. |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
significance: patch | ||
type: changed | ||
entry: Updates LifterLMS Blocks to | ||
[v2.5.2](https://make.lifterlms.com/2023/11/01/lifterlms-blocks-version-2-5-2/). |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
significance: patch | ||
type: dev | ||
entry: Added new filter hook | ||
`llms_unschedule_recurring_payment_on_access_pan_expiration` to control | ||
whether or not the recurring payments fo an order need to be | ||
unscheduled when the related access plan expires (`true` by default). |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
significance: patch | ||
type: security | ||
attributions: | ||
- "[Huseyin Tintas (stif)](https://linkedin.com/in/huseyintintas)" | ||
entry: "Improved security when exporting a reporting table: make sure to avoid | ||
path traversals." |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
significance: minor | ||
type: dev | ||
entry: Added 'favorites' in User postmeta for getting all user's favorites. |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
significance: minor | ||
type: dev | ||
entry: Added filter `llms_course_syllabus_lesson_favorite_visibility` for | ||
disabling favorites in syllabus view. |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
significance: minor | ||
type: dev | ||
entry: Added filter `llms_is_$object_type_favorite` to change object's (lesson, | ||
student, course) favorite boolean value. |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
significance: patch | ||
type: dev | ||
entry: Added `llms_lesson_preview_before_title` and | ||
`llms_lesson_preview_after_title` action hooks. |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
significance: patch | ||
type: dev | ||
entry: Added function `llms_template_syllabus_favorite_lesson_preview`. |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
significance: minor | ||
type: dev | ||
entry: Added filter `llms_favorites_enabled` to enable/disable Favorites feature. |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
significance: patch | ||
type: fixed | ||
links: | ||
- "#2550" | ||
entry: Fixed checking for the wrong function name when | ||
defining the pluggable function `lifterlms_student_dashboard`. |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
significance: patch | ||
type: added | ||
links: | ||
- "#2511" | ||
entry: Added `LLMS_Add_On::get_image()` method to get the addon and author image. |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
significance: patch | ||
type: changed | ||
links: | ||
- "#2511" | ||
entry: Bundled Add-ons & More Banners/Author Images in Core LifterLMS. |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
significance: patch | ||
type: dev | ||
links: | ||
- "#2552" | ||
attributions: | ||
- "@AlexVCS" | ||
entry: Removed references to the unused quiz's property `random_answers`. |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
significance: minor | ||
type: added | ||
links: | ||
- "#2434" | ||
entry: Added a paragraph to show Number of lessons in a course at Course Catalog | ||
and My Courses. |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
significance: patch | ||
type: fixed | ||
entry: Only show LifterLMS-authored Addons in All section. |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
significance: patch | ||
type: dev | ||
entry: Improved some unit tests compatibility with PHP 8.2. |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
significance: patch | ||
type: fixed | ||
entry: Improved compatibility with WordPress 6.4 by using | ||
`traverse_and_serialize_blocks` in place of the deprecated | ||
`_inject_theme_attribute_in_block_template_content`. |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
significance: patch | ||
type: fixed | ||
entry: "PHP 8.2 compatibility fix: Fixed creation of dynamic property | ||
`LLMS_Meta_Box_Access::$_saved`." |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
significance: patch | ||
type: changed | ||
entry: Updates LifterLMS Rest to | ||
[v1.0.0-beta.29](https://make.lifterlms.com/2023/10/24/lifterlms-rest-api-version-1-0-0-beta-29/). |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
significance: patch | ||
type: changed | ||
entry: Update Action Scheduler to version 3.5.4. To improve compatibility | ||
with PHP 8.2. |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+60.2 KB
assets/images/addons/Beginners-Guide-Building-Successful-Online-Courses.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+53.1 KB
assets/images/addons/Complete-WordPress-Beginner-Essentials-Masterclass.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+97.8 KB
assets/images/addons/Enroll-Summit-Getting-Your-First-10-Enrollments.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Binary file added
BIN
+67.4 KB
assets/images/addons/course-organizer-worksheet-covers-product-featured-image.jpg
Oops, something went wrong.
Binary file added
BIN
+23.9 KB
assets/images/addons/cropped-lifterlms_icon-square-e1550951572396.png
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Binary file added
BIN
+50.7 KB
...ages/addons/lifterlms-course-business-roi-calculator-product-featured-image.jpg
Oops, something went wrong.
Binary file added
BIN
+62.4 KB
assets/images/addons/lifterlms-course-membership-pricing-calculator-screenshot.jpg
Oops, something went wrong.
Binary file added
BIN
+86.1 KB
assets/images/addons/lifterlms-free-course-3-course-blueprints-chris-badgett.jpg
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,93 @@ | ||
/* global LLMS, $ */ | ||
/* jshint strict: true */ | ||
|
||
/** | ||
* Front End Favorite Class. | ||
* | ||
* @type {Object} | ||
* | ||
* @since [version] | ||
* @version [version] | ||
*/ | ||
( function( $ ) { | ||
|
||
var favorite = { | ||
|
||
/** | ||
* Bind DOM events. | ||
* | ||
* @since [version] | ||
* | ||
* @return {Void} | ||
*/ | ||
bind: function() { | ||
|
||
var self = this; | ||
|
||
// Favorite clicked. | ||
$( '.llms-favorite-wrapper' ).on( 'click', function( e ) { | ||
e.preventDefault(); | ||
var $btn = $( this ).find( '.llms-heart-btn' ); | ||
$btn && self.favorite( $btn ); | ||
} ); | ||
|
||
// Adding class in Favorite's parent. | ||
$( '.llms-favorite-wrapper' ).parent().addClass( 'llms-has-favorite' ); | ||
|
||
}, | ||
|
||
/** | ||
* Favorite / Unfavorite an object. | ||
* | ||
* @since [version] | ||
* | ||
* @param {Object} $btn jQuery object for the "Favorite / Unfavorite" button. | ||
* @return {Void} | ||
*/ | ||
favorite: function( $btn ) { | ||
|
||
var object_id = $btn.attr( 'data-id' ), | ||
object_type = $btn.attr( 'data-type' ), | ||
user_action = $btn.attr( 'data-action' ); | ||
|
||
LLMS.Ajax.call( { | ||
data: { | ||
action: 'favorite_object', | ||
object_id: object_id, | ||
object_type: object_type, | ||
user_action: user_action | ||
}, | ||
beforeSend: function() {}, | ||
success: function( r ) { | ||
/** | ||
* Get all the favorite buttons on the page related to the same lesson, e.g. when the syllabus | ||
* is shown on the sidebar of a lesson or a course, in that case you will have the same favorite | ||
* button twice. The code below makes sure both the buttons are updated. | ||
*/ | ||
var $fav_btns = $( '[data-id='+object_id+'][data-type='+object_type+'][data-action='+user_action+']' ); | ||
if( r.success ) { | ||
$fav_btns.each( | ||
function() { | ||
if( 'favorite' === user_action ) { | ||
$(this).removeClass( 'fa-heart-o' ).addClass( 'fa-heart' ); | ||
$(this).attr( 'data-action', 'unfavorite' ); | ||
} else if ( 'unfavorite' === user_action ) { | ||
$(this).removeClass( 'fa-heart' ).addClass( 'fa-heart-o' ); | ||
$(this).attr( 'data-action', 'favorite' ); | ||
} | ||
// Updating count. | ||
$(this).closest( '.llms-favorite-wrapper' ).find( '.llms-favorites-count' ).text( r.total_favorites ); | ||
} | ||
); | ||
} | ||
} | ||
} ); | ||
} | ||
}; | ||
|
||
favorite.bind(); | ||
|
||
window.llms = window.llms || {}; | ||
window.llms.favorites = favorite; | ||
|
||
} )( jQuery ); |
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Oops, something went wrong.