Repository navigation
Releases
Releases · ChatBarAI/ai_lms
v0.3.0 - Beta release
First beta of AI LMS. Since the v0.2.0 alpha this release adds paid courses, course prerequisites and lessons in order, instructor marking and reports, a Tavus avatar tutor, new admin lessons pages, time zones and multi-instance deployment, and much more.
It reworks the admin and lesson layouts, improves email and includes a substantial round of security fixes.
| v0.2.0 → v0.3.0 | |
|---|---|
| Commits | 85 |
| Pull requests merged | 28 |
| Contributors | 4 |
| Automated tests | 488 → 1,184 |
| Files changed | 541 |
✨ Highlights
- Paid courses with Stripe. Sell courses by card, with access granted on payment and admin tools for manual grants, revocations and refunds (#116).
- Prerequisites and lessons in order. A course can require other courses to be completed before students enrol (#41), and can unlock its lessons one at a time.
- Instructor marking and reports. Instructors have their own marking queue and reports for the courses they own.
- Automatic progress. Lessons without a quiz complete themselves once their materials are done, and progress shows partial completion.
- Faster image loading. Uploaded images are automatically resized and served as WebP (#127).
- Tavus avatar tutor. Tavus avatars can be a lesson's AI tutor, alongside ChatBar and Anam (#135).
- New admin navigation. Admin pages now have a left sidebar, grouped into Content, People and Configure (#128).
- Admin lessons pages. Reorder a course's lessons by drag and drop, and browse every lesson across courses with search and filters (#134).
- Better email. A built-in mail relay, email diagnostics, and password emails in the recipient's own language.
- Multi-instance deployment. Run several LMS instances on one server (#126), with new backup, restore, export and health-check tools.
- Time zones. Dates and times show in each user's time zone, detected from the browser.
🎨 Layout and interface
Improvements
- Faster image loading (#127). Images are resized to the size they're shown at and served as WebP, for example a 653 KB screenshot becomes 98 KB. It applies to cover images, posters, materials, lesson text, avatars and the logo. Uploads are unchanged, and images in private courses are now cached by the browser.
- Admin sidebar (#128). The admin top bar had grown so crowded that its links overlapped on laptop screens. From 1024px wide, admin pages now have a fixed left sidebar grouped into Content, People and Configure, with the current page highlighted. "Back to site", your email and sign-out sit at the bottom. On smaller screens, a slim top bar opens the same menu as a drawer.
- Image crop tool (#49). An "Adjust image" dialog crops and sizes uploads to the recommended dimensions: covers 728×320, posters 1280×720, logo 512×512 and certificates A4.
- Lesson page: a left sidebar for progress and navigation, a progress button, and restyled progress indicators.
- The site header stays at the top of the screen on every page. On small screens only the avatar is shown.
- Lesson position breadcrumb in the lesson page and editor (#122), and the browser tab reads "Lesson 3 of 12: Title". Course edit pages get a subject → course breadcrumb.
- Locked lessons and courses share one padlock icon and one dialog that explains what to complete first.
- Materials open by default, and each student's open or closed choice is remembered. Materials can use a horizontal-scroll layout.
- Course and lesson cards show images at a consistent 728×320 shape (#55).
- "Recently published" on the landing page has Subjects / Courses / Lessons buttons to switch the list. Subjects appear only if enabled.
- The instructor menu item is renamed Marking and moved under My courses. It shows a badge while answers are waiting to be marked.
- A show/hide toggle has been added to password fields (#121).
- Danger zone for deletes (#136). Delete buttons for courses, lessons, materials, subjects and tags have moved out of lists and page headers into a Danger zone at the bottom of each edit page. Each opens a dialog that says what the delete removes, or why it's blocked (purchases, access grants, certificates, prerequisites, or a subject that still has courses).
- Page links on paginated tables are restyled as pills, with the current page highlighted.
- Course pages have an "Add lesson" button for people who can edit the course.
Fixes
- Quiz cropping: in one-question-at-a-time quizzes, opening the AI tutor panel narrowed the column and cut off answer choices. The quiz now resizes to fit.
- The lesson progress ring no longer shows an arc at 0%.
- Fixed a blank page when opening a course from admin (#54).
- The intro video no longer scrolls the page automatically when it ends.
- Answered quiz questions show a neutral "Answered" label instead of a green ✓, which looked like "correct".
🎓 Students
- Certificates. Completing a course opens a dialog with View certificate and Download PDF, the completion date and the time taken. Profile has a new My certificates section, and course cards show a certificate footer. A certificate stays available once issued.
- My learning is redesigned as cards with completion bars.
- Automatic lesson completion. A lesson without a quiz completes once its materials are done, so there's no "Mark complete" step. The progress ring and course % show partial progress (materials 20%, quiz 80%, capped at 99% until complete), not just 50% or 100%.
- Next lesson button (#67). After completing a lesson, students see "Next lesson →", or "Back to course" on the last lesson.
- Smoother progress (#125). Marking a material complete happens in place and collapses it, and the quiz unlocks once the last material is complete, all without a page reload, so a half-answered quiz isn't lost. Progress no longer drops to 0 when a material later becomes required.
- Prerequisites. Courses with unmet prerequisites show the required courses, and Enrol or Buy opens a dialog linking to them.
- Video. "Video — external URL" materials now embed YouTube (including Shorts and live) and Vimeo. Before, these didn't play. Other links show an "Open video" button.
- Language. Visitors who aren't signed in see the site in their browser's language.
- Avatar tutors (Anam and Tavus) have a microphone mute button. When the student switches tab, the microphone is muted straight away, and if the tab stays hidden past a timeout the session ends, which saves avatar minutes.
- ChatBar is now a material type. ChatBar conversations can use a two-column layout and a poster image.
- The "Download file" link under uploaded videos is now shown only in the editor.
🧑🏫 Instructors and admins
- Marking and reports.
- The marking queue shows the oldest 20 pending answers per lesson, and you can score them in place.
- Lesson reports have one row per free-text question, linking to a page that filters by pending, failed, passed or all, with student search.
- "Report" links on course and lesson pages.
- A "N answers waiting" banner on the home page (instructors) or dashboard (admins).
- Counts leave out AI-marked lessons and students who are no longer enrolled.
- Payments.
- Admin → Payments handles manual access grants and revocations (with a reason) and retries.
- Enrolling a user in a paid course requires a grant reason.
- Switching a course from free to paid grants access to students already enrolled.
- Unenrolling from a paid course archives the enrolment.
- Users and courses with purchases can't be deleted.
- A refund or a lost dispute removes access, but certificates are kept.
- Checkout is card-only, in EUR, USD, GBP or JPY.
- Tavus avatar tutor (#135). Choose Tavus Avatar as a lesson's AI tutor and enter a Tavus API key, a PAL/persona ID, an optional face/replica ID and conversation context for the lesson. Credentials are checked against Tavus on save, and the key is encrypted and masked on the form. Each student gets a private conversation that starts only when they click Ask AI tutor. Only the instructor's context text is sent to Tavus, never course or lesson titles.
- Avatar tutor settings. Admin → Site settings → Integration sets the exact Anam and Daily SDK versions (checked against npm on save; Anam no longer loads
@latest) and the hidden-tab timeout (default 30 seconds). - Admin lessons pages (#134).
- Each course has a lessons page ("Manage all lessons" on the course edit page) with drag-to-reorder, video source and AI tutor columns, and View, Edit, Report and Publish/Unpublish actions.
- A new Lessons sidebar entry lists every lesson across courses, with title search and course, subject and status filters.
- Publishing or unpublishing from these pages returns you to the page you came from.
- The questions and materials pages show the lesson breadcrumb, and course editors can reorder materials there.
- Prerequisites. Only published courses can be prerequisites, and circular chains are rejected. Admin force-enrol has a "Skip prerequisite check" option.
- Learning order. Courses have an optional learning order number, and the public and admin course lists can sort by it or by publication date. The admin list now sorts by publication date by default.
- Lessons in order. Turn on "sequential lessons" for a course to unlock each lesson once the earlier ones are complete. It's off by default.
- Lesson section order. Choose the order of a lesson page's sections (introduction, AI tutor, materials, progress, quiz results, quiz and rating) for each lesson, using up/down buttons or drag and drop. A reset button restores the default order.
- **Time zones.*...
v0.2.0 - Alpha release
Alpha release containing expanded lesson materials, quiz improvements, localization, SSO and email enhancements, AI-assisted design, additional import methods, deployment improvements, and security hardening.
v0.1.0 - Initial public release
Early public release intended for feedback and contribution.
See README.md for setup, configuration, and local development commands.