Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
29 commits
Select commit Hold shift + click to select a range
ee5c56b
Merge branch 'trunk' of https://github.com/gocodebox/lifterlms into dev
github-actions[bot] Nov 5, 2026
863ba09
Merge branch 'trunk' of https://github.com/gocodebox/lifterlms into dev
github-actions[bot] Nov 6, 2026
7ca7c22
Merge branch 'trunk' of https://github.com/gocodebox/lifterlms into dev
github-actions[bot] Nov 6, 2026
8476d85
Restrict membership auto-enroll course editing to admins and LMS mana…
noruzzamans Nov 6, 2026
d88bff3
Add bulk Move to Trash to the Orders & Transactions screen (#3449)
brianhogg Nov 6, 2026
a84a8be
Require manage_lifterlms to update membership auto-enroll courses via…
brianhogg Nov 6, 2026
133f17f
Merge branch 'trunk' of https://github.com/gocodebox/lifterlms into dev
github-actions[bot] Nov 6, 2026
91bb452
Make llms_get_dom_document() test independent of the libxml2 version …
brianhogg Nov 6, 2026
a5ce29a
Show the switch payment source form when the order's access plan was …
brianhogg Nov 6, 2026
d42cef4
feat(notifications): add student full name code (#3460)
faisalahammad Nov 9, 2026
cde1b5f
Fix certificate editor crash when the Certificate Title block is unav…
brianhogg Nov 9, 2026
bedd3e0
Wrap the My Grades summary widgets on small screens (#3463)
brianhogg Nov 10, 2026
1bdcff0
Space the Orders table filters from the header and stop restoring sta…
brianhogg Nov 11, 2026
01b1d1b
Add bulk Move to Trash to the Subscriptions screen (#3470)
brianhogg Nov 11, 2026
8d6970a
Show order access status on the Orders & Transactions and Subscriptio…
brianhogg Nov 11, 2026
8346929
Use the running Debian release for the PHP apt source in orb setup (#…
brianhogg Nov 11, 2026
ab803b0
Add automatic retries for failed webhook deliveries (#3416)
brianhogg Nov 11, 2026
8697ea9
Embed youtube.com/embed and youtube-nocookie.com/embed video URLs (#3…
brianhogg Nov 12, 2026
b9509a3
Check membership auto_enroll REST permission before saving (#3474)
brianhogg Nov 12, 2026
93fc282
Copy media protected to a course when cloning it (#3475)
brianhogg Nov 12, 2026
ec10b93
Fix 12-hour times shifting an hour in builder date pickers (#3479)
brianhogg Nov 12, 2026
ec6f593
Fix the quiz attempt group description in personal data exports (#3477)
brianhogg Nov 12, 2026
00a4829
Show a trashed order's previous status in the Payment Status column (…
brianhogg Nov 16, 2026
6d75b21
Insert merge codes at the cursor in text fields (#3481)
brianhogg Nov 16, 2026
e2f1501
Keep a quiz question's editors when toggling its image or video (#3482)
brianhogg Nov 16, 2026
f28333c
Omit empty properties from ability input schemas (#3491)
theluckystrike Nov 16, 2026
a0119d8
Speed up the awarded certificates and achievements lists (#3489)
brianhogg Nov 16, 2026
fc3503c
Fix Orders & Transactions timing out before the 11.0.0 database updat…
brianhogg Nov 16, 2026
620b16b
Save a builder drip date or time typed and confirmed with Tab (#3486)
brianhogg Nov 16, 2026
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
9 changes: 5 additions & 4 deletions .agents/setup
Original file line number Diff line number Diff line change
Expand Up @@ -34,12 +34,13 @@ for pkg in "${apt_packages[@]}"; do
dpkg-query -W -f='${Status}' "$pkg" 2>/dev/null | grep -q 'install ok installed' || missing+=("$pkg")
done
if ((${#missing[@]})); then
# Debian 12 ships PHP 8.2; PHP 8.4 comes from the deb.sury.org repository.
# PHP 8.4 comes from the deb.sury.org repository (Debian 12 ships only PHP 8.2). Its suite must
# match the running release: bookworm builds depend on libraries trixie no longer ships.
sury_list=/etc/apt/sources.list.d/php-sury.list
if [ ! -f "$sury_list" ]; then
sury_source="deb [signed-by=/usr/share/keyrings/deb.sury.org-php.gpg] https://packages.sury.org/php/ $(. /etc/os-release && echo "$VERSION_CODENAME") main"
if [ "$(cat "$sury_list" 2>/dev/null)" != "$sury_source" ]; then
sudo curl -fsSL -o /usr/share/keyrings/deb.sury.org-php.gpg https://packages.sury.org/php/apt.gpg
echo "deb [signed-by=/usr/share/keyrings/deb.sury.org-php.gpg] https://packages.sury.org/php/ bookworm main" \
| sudo tee "$sury_list" >/dev/null
echo "$sury_source" | sudo tee "$sury_list" >/dev/null
fi
sudo apt-get update -qq
sudo apt-get install -y -qq --no-install-recommends "${missing[@]}"
Expand Down
5 changes: 5 additions & 0 deletions .changelogs/1557-student-full-name-merge-code.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
significance: minor
type: added
entry: "Added the `{{STUDENT_FULL_NAME}}` notification merge code, which always outputs the student's name. The `{{STUDENT_NAME}}` merge code is unchanged and still outputs \"you\" when a student views their own notification."
links:
- "#1557"
5 changes: 5 additions & 0 deletions .changelogs/3433-switch-source-deleted-plan.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
significance: patch
type: fixed
links:
- "#3433"
entry: Fixed the "Update Payment Method" and "Reactivate Subscription" buttons missing from a student's subscription when its access plan was permanently deleted.
5 changes: 5 additions & 0 deletions .changelogs/3441-restrict-membership-auto-enroll.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
significance: minor
type: changed
links:
- "#3441"
entry: Restrict membership auto-enroll course editing to administrators and LMS managers.
5 changes: 5 additions & 0 deletions .changelogs/3462-my-grades-widgets-wrap.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
significance: patch
type: fixed
entry: "The My Grades summary widgets wrap onto more rows on small screens, and the grades table scrolls within its own area instead of widening the page."
links:
- "#3462"
5 changes: 5 additions & 0 deletions .changelogs/3465-orders-access-status.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
significance: patch
type: fixed
entry: "The Orders & Transactions and Subscriptions screens and their exports show each order's access status again (\"Expires: <date>\", \"Expired: <date>\", or \"Lifetime Access\"), as the Orders screen did before 11.0.0."
links:
- "#3465"
5 changes: 5 additions & 0 deletions .changelogs/3466-subscriptions-bulk-trash.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
significance: patch
type: added
entry: "Added bulk Move to Trash to the Subscriptions screen."
links:
- "#3466"
5 changes: 5 additions & 0 deletions .changelogs/3467-orders-tables-header-filters.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
significance: patch
type: fixed
entry: "On the Orders & Transactions and Subscriptions screens, the filters no longer sit flush against the LifterLMS header, and going back to the page no longer shows a filter or search value that the table isn't using."
links:
- "#3467"
5 changes: 5 additions & 0 deletions .changelogs/3478-builder-12-hour-time.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
significance: patch
type: fixed
links:
- "#3478"
entry: Fixed course builder times, such as a lesson's drip time, moving back an hour each time focus left the time field.
5 changes: 5 additions & 0 deletions .changelogs/3478-builder-date-picker-close.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
significance: patch
type: fixed
links:
- "#3478"
entry: Fixed course builder date and time pickers staying open and causing a "Maximum call stack size exceeded" error when leaving the field.
5 changes: 5 additions & 0 deletions .changelogs/3485-builder-typed-drip-time.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
significance: patch
type: fixed
entry: "In the Course Builder, a lesson's drip date or time typed into the field and confirmed with Tab now marks the lesson as having unsaved changes and saves, instead of being held back until another field loses focus."
links:
- "#3485"
5 changes: 5 additions & 0 deletions .changelogs/abilities-meta-empty-properties.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
significance: patch
type: fixed
entry: "Fixed the create and update course and lesson abilities being rejected by MCP clients because the `meta` input schema encoded its empty `properties` as a JSON list."
links:
- "#3484"
3 changes: 3 additions & 0 deletions .changelogs/awarded-certificates-list-slow.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
significance: patch
type: performance
entry: "Improved the speed of the awarded certificates and achievements lists, which could time out on sites with a lot of student data."
3 changes: 3 additions & 0 deletions .changelogs/builder-question-toggle-editor-flash.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
significance: patch
type: fixed
entry: Fixed a quiz question's description editor flashing in the course builder when the question's Image or Video setting is toggled.
3 changes: 3 additions & 0 deletions .changelogs/certificate-title-block-unavailable.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
significance: patch
type: fixed
entry: Fixed the certificate template editor crashing with "The editor has encountered an unexpected error." when the Certificate Title block is hidden or not available in the block inserter.
3 changes: 3 additions & 0 deletions .changelogs/clone-copy-local-images.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
significance: patch
type: performance
entry: "When cloning or importing content, featured images and quiz image choices from the same site are copied on the server instead of downloaded again."
3 changes: 3 additions & 0 deletions .changelogs/clone-protected-media.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
significance: patch
type: fixed
entry: "When cloning a course, media protected to the course or its quizzes is copied and protected to the new course, and the new course's content and quizzes use the copies."
5 changes: 5 additions & 0 deletions .changelogs/fix-3247-webhook-retries.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
significance: minor
type: added
links:
- "#3247"
entry: "Failed webhook deliveries are retried on a delay before the webhook is disabled, and an admin notice explains when a webhook has been disabled."
3 changes: 3 additions & 0 deletions .changelogs/merge-code-insert-at-cursor.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
significance: patch
type: fixed
entry: Fixed merge codes being added to the end of text fields, such as a notification's title or an email's subject, instead of where the cursor is.
3 changes: 3 additions & 0 deletions .changelogs/orders-transactions-bulk-trash.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
significance: patch
type: added
entry: "Added a bulk \"Move to Trash\" action to the Orders & Transactions screen."
3 changes: 3 additions & 0 deletions .changelogs/orders-transactions-months-timeout.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
significance: patch
type: fixed
entry: "Fixed the Orders & Transactions screen timing out on large stores while the 11.0.0 database update is still pending."
3 changes: 3 additions & 0 deletions .changelogs/orders-trash-payment-status.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
significance: patch
type: fixed
entry: Fixed the Payment Status column showing "trash" for orders in the Trash. It now shows the order's status from before it was trashed.
5 changes: 5 additions & 0 deletions .changelogs/privacy-quiz-export-group-description.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
significance: patch
type: fixed
entry: "Fixed a PHP warning when exporting a student's personal data, and the missing description for their quiz attempt data in the export."
links:
- "#3476"
3 changes: 3 additions & 0 deletions .changelogs/youtube-embed-urls.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
significance: patch
type: fixed
entry: "Course and lesson videos using `youtube.com/embed/` or `youtube-nocookie.com/embed/` URLs now display a video player instead of a link. `youtube-nocookie.com` URLs keep YouTube's Privacy Enhanced Mode."
25 changes: 24 additions & 1 deletion assets/js/builder/Views/Question.js
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,13 @@ define( [
this.listenTo( this.model, event, this.render );
}, this );

this.listenTo( this.model.get( 'image' ), 'change', this.render );
// Re-render only the image and video settings so the question's editors aren't rebuilt.
this.listenTo( this.model.get( 'image' ), 'change', function() {
this.render_toggle_group( 'image.enabled' );
} );
this.listenTo( this.model, 'change:video_enabled', function() {
this.render_toggle_group( 'video_enabled' );
} );

this.listenTo( this.model.get_parent(), 'change:_points', this.render_points_percentage );

Expand Down Expand Up @@ -142,6 +148,23 @@ define( [
return this;
},

/**
* Re-renders the toggle group of a feature switch, such as the image or video settings, without re-rendering the question.
*
* @since [version]
*
* @param {String} name Name attribute of the feature's switch input.
* @return {Void}
*/
render_toggle_group: function( name ) {

var selector = 'input[name="' + name + '"]',
$group = $( '<div>' ).html( this.template( this.model ) ).find( selector ).first().closest( '.llms-editable-toggle-group' );

this.$el.find( selector ).first().closest( '.llms-editable-toggle-group' ).replaceWith( $group );

},

/**
* rerender points percentage when question points are updated
* @return void
Expand Down
11 changes: 10 additions & 1 deletion assets/js/builder/Views/_Editable.js
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,16 @@ define( [], function() {
datepicker: ( undefined === $( this ).attr( 'data-date-datepicker' ) ) ? true : ( 'true' == $( this ).attr( 'data-date-datepicker' ) ),
timepicker: ( undefined === $( this ).attr( 'data-date-timepicker' ) ) ? true : ( 'true' == $( this ).attr( 'data-date-timepicker' ) ),
onClose: function( current_time, $input ) {
$input.blur();
// Pressing Tab closes the picker from its keydown handler. Blurring there saves the value and re-renders
// the view before the browser moves focus, so Tab lands on the view's first field and the model keeps
// `_has_focus`, which holds back the change. Wait until Tab has moved focus away on its own.
setTimeout( function() {
// Blurring runs the picker's own blur handler, which closes it again. Only blur a focused input so that
// second close doesn't blur again and recurse until the stack overflows, which left the picker open.
if ( $input.is( ':focus' ) ) {
$input.trigger( 'blur' );
}
} );
}
} );

Expand Down
11 changes: 11 additions & 0 deletions assets/js/llms-admin-tables.js
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,17 @@
self.export( $table, $( this ) );
} );

$table.on( 'change', 'thead .llms-table-select-all', function() {
$table.find( 'tbody td.cb input[type="checkbox"]' ).prop( 'checked', this.checked );
} );

// Rows that share a value (e.g. transactions of one order) select the same item, so keep them in sync.
$table.on( 'change', 'tbody td.cb input[type="checkbox"]', function() {
var $boxes = $table.find( 'tbody td.cb input[type="checkbox"]' );
$boxes.filter( '[value="' + this.value + '"]' ).prop( 'checked', this.checked );
$table.find( 'thead .llms-table-select-all' ).prop( 'checked', $boxes.length === $boxes.filter( ':checked' ).length );
} );

$table.on( 'click', 'a.llms-sortable', function( e ) {
e.preventDefault();
self.change_order( $table, $( this ) );
Expand Down
22 changes: 21 additions & 1 deletion assets/js/private/llms-metaboxes.js
Original file line number Diff line number Diff line change
Expand Up @@ -934,6 +934,15 @@

} );

// Remember the cursor position of input targets, which is lost when the merge code button is clicked.
$wrappers.find( '.llms-merge-codes[data-target^="#"]' ).each( function() {

$( document.getElementById( $( this ).attr( 'data-target' ).slice( 1 ) ) ).on( 'blur', function() {
$( this ).data( 'llms-merge-code-pos', this.selectionEnd );
} );

} );

$wrappers.find( '.llms-merge-codes li' ).on( 'click', function() {

var $el = $( this ),
Expand All @@ -956,7 +965,18 @@
// dealing with a DOM id
else {

$( target ).val( $( target ).val() + code );
// Look the input up by ID rather than passing `target` to jQuery, which would parse HTML.
var $input = $( document.getElementById( target.slice( 1 ) ) ),
val = $input.val(),
pos = $input.data( 'llms-merge-code-pos' );

// Insert where the cursor was when the input last lost focus, or at the end if it was never focused.
if ( 'number' !== typeof pos || pos > val.length ) {
pos = val.length;
}

$input.val( val.slice( 0, pos ) + code + val.slice( pos ) ).trigger( 'focus' );
$input[0].setSelectionRange( pos + code.length, pos + code.length );

}

Expand Down
20 changes: 19 additions & 1 deletion assets/scss/admin/post-tables/_llms_orders.scss
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@
display: flex;
flex-wrap: wrap;
gap: 8px 12px;
margin: 0 0 12px;
// The LifterLMS admin header has no bottom margin, so space the filters away from it.
margin: 16px 0 12px;

// The shared header clearfix stretches the row and shoves the table down.
&:before,
Expand Down Expand Up @@ -48,4 +49,21 @@
.llms-table-search {
order: 2;
}

// Bulk actions get their own row directly above the table, aligned left like the post type list table.
.llms-table-bulk-actions {
align-items: center;
display: flex;
flex-basis: 100%;
gap: 8px;
order: 3;
}

.llms-table-trash-link {
margin-left: auto;

.count {
color: #50575e;
}
}
}
23 changes: 13 additions & 10 deletions assets/scss/frontend/_student-dashboard.scss
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,7 @@
display: grid;
grid-gap: 25px;
grid-template-areas: "nav header" "nav tab";
grid-template-columns: 200px 1fr;
grid-template-columns: 200px minmax( 0, 1fr ); // minmax() lets wide content scroll instead of widening the column.
grid-template-rows: auto 1fr;

&:has(> .llms-notice) {
Expand Down Expand Up @@ -327,6 +327,12 @@
}
}

// The grades tables scroll sideways when they don't fit, instead of widening the page.
.llms-sd-grades > .llms-sd-section {
overflow-x: auto;
position: relative; // Keep positioned content, such as tooltips, inside the scroll area.
}

// grades table for a single course
.llms-table.llms-single-course-grades {

Expand Down Expand Up @@ -386,22 +392,19 @@
}

.llms-sd-widgets {
display: flex;
// Wrap onto more rows when there isn't room for every widget side by side.
display: grid;
gap: 20px;
grid-template-columns: repeat( auto-fit, minmax( 140px, 1fr ) );
margin: 10px 0 20px;

.llms-sd-widget {
background: $color-white;
border: llms-element-border();
border-bottom-right-radius: llms-var( radius-sm );
border-bottom-left-radius: llms-var( radius-sm );
flex: 1;
margin: 10px 10px 20px;
min-width: 0;
padding: 0 0 20px;
&:first-child {
margin-left: 0;
}
&:last-child {
margin-right: 0;
}

.llms-sd-widget-title {
background: llms-var( color-primary );
Expand Down
Loading
Loading