Commit Graph
351 Commits
Author SHA1 Message Date
Rotimi Best 5737765cb9 fix: update node version from 18.17 to 18.18 (#563)
* fix: update node version from 18.17 to 18.18

* update nvmrc

* add nvmrc
2025-07-17 12:23:56 +01:00
Rotimi BestandIniubong Obonguko 82be557a42 chore: move backend to hono + typescript (#558)
* feat: setup secure presigned uploads and downloads

* clean up

* update lock

* Get presigned url finally working

* 557: Migrate backend to hono + ts

* chore: update Dockerfile and package.json for backend configuration

* add dev command

* remove unused packages

* Enhance backend API and frontend components for course management

- Updated CORS configuration in the backend to allow specific methods and headers.
- Refactored lesson download endpoint to use a new route for PDF downloads.
- Removed unused certificate download functionality from the lesson router.
- Updated frontend components to reflect changes in API endpoints and improve video upload functionality.
- Introduced new video upload component and adjusted video handling in lesson materials.
- Cleaned up unnecessary imports and optimized component structure for better performance.

* PR cleanups

* Enhance email configuration by adding SMTP_SENDER environment variable

- Updated docker-compose.yaml to include SMTP_SENDER.
- Modified Dockerfile to accept SMTP_SENDER as an argument.
- Updated environment schema in env.ts to define SMTP_SENDER as optional.
- Adjusted mail service to use SMTP_SENDER for the email 'from' field.
- Updated documentation to reflect the new SMTP_SENDER variable.

* Remove debug log statement from sendEmail function

---------

Co-authored-by: Iniubong Obonguko <[email protected]>
2025-06-09 01:38:57 +01:00
Rotimi Best 9aeefc9f4f feat: Finally support a docker compose files that works (#555) 2025-05-20 01:37:58 +01:00
Rotimi Best 512fe06722 fix: show validation message in community ask page (#553)
* fix: show validation message in community ask page

* fix course app build issues
2025-05-16 12:08:42 +01:00
Rotimi Best 8d4a7b9ccf fix: add missing dependencies by vercel 2025-05-03 15:38:02 +01:00
Rotimi Best f8852ad34b chore: use vercel adapter in dashboard 2025-05-03 15:26:10 +01:00
Rotimi Best f343ca7974 docker improvements + delete unused package 2025-05-03 14:46:01 +01:00
Rotimi Best 52e181adf8 chore: remove more unused code 2025-04-19 23:33:35 +01:00
Rotimi Best 1ab07d8d95 fix: disable adding custom domain on free plan 2025-02-19 17:13:29 +01:00
Rotimi Best 9317b79afb chore: add user_id to response header 2025-02-16 09:24:13 +01:00
Rotimi Best 76c28ec70e fix: downgrade lemonsqueezy version 2025-01-10 09:47:26 +01:00
Rotimi Best 6ab64a26e5 feat: open billing for lmz customers #538 2025-01-10 07:53:00 +01:00
Rotimi Best 13fb58176f feat: add @polar-sh/sveltekit (#539)
* feat add @polar-sh/sveltekit

* remove all lemonsqueezy text
2025-01-09 01:30:01 +01:00
Rotimi Best 2a575c4955 fix: debug webhook error 2025-01-06 03:53:14 +01:00
Rotimi Best de1398b3a2 feat: migrate from lemonsqueezy to polar (#535)
* feat: move from lemonsqueezy to polar

* update lock

* add migration files

* test with demo product id
2025-01-06 03:36:00 +01:00
Rotimi Best 32ba251b77 feat: move lesson comments under lesson note 2025-01-04 05:55:14 +01:00
Rotimi Best 5f367a9540 chore: sort top courses by completion and spacing fixes #531 2024-12-31 17:47:07 +01:00
Rotimi Best e4c599044e chore: ui improvements on organisation stats #531 2024-12-31 17:18:42 +01:00
Rotimi Best c68bfb62b5 feat: organisation home page with analytics (#532) 2024-12-31 17:04:07 +01:00
Rotimi Best 09ef36de99 docs: students analytics blog post 2024-12-31 01:15:51 +01:00
Rotimi Best ae55349f27 chore: use session to update lastSeen and UI tweaks 2024-12-30 12:25:43 +01:00
Adeyemi AdetunjiandRotimi Best f69bf920a9 feat: org and course student analytics page (#509)
* UI initialization

* feat: structure API

* feat: audience & people analytics

* feat: quick changes

* feat: add comments

* redesign course student page

* chore: make requests to db more efficient

* clean up analytics page for course

* feat: finish up audience analytics page

* chore: minor UI tweaks

* translate all

* replace inserts of log in events to update

* catch error if last_login isn't inserted

---------

Co-authored-by: Rotimi Best <[email protected]>
2024-12-30 02:59:10 +01:00
Rotimi Best 381776f388 feat: automatically detect language on server and translate UI (#530)
* feat: detect language on the server and translate page

* translate auth pages

* PR reviews
2024-12-28 23:11:55 +01:00
Rotimi Best 1f1ee8afd3 fix: link validation not working for embed links 2024-12-26 20:49:08 +01:00
Rotimi Best 71d87c8bd9 fix: course settings warning popup 2024-12-26 07:24:41 +01:00
Rotimi Best 4b1a45dfe4 chore: refactor +layout.svelte 2024-12-26 07:23:46 +01:00
Rotimi Best 80dc392346 feat: implement invite, delete and share actions on course card. #513 2024-12-23 23:20:52 +01:00
Rotimi Best b3ca8b00a6 chore: disable mark as complete if all exercises are not complete #513 2024-12-23 02:31:53 +01:00
Rotimi Bestandemmanuel 26700dccd0 feat: introducing @classroomio/course-app (#490)
* feat: v1 templates

* update nvm

* working on the displaying the course content

* working on the displaying the course content

* displayed the content

* finished with the logic for rendering the content for all the courses and lessons

* post hog template UI is good to go

* classic and minimalistic template UI is good to go

* some refactoring

* some refactoring

* layout adjustments

* update tsconfig

* trying to get the filter to work well

* this is working now

* cleanup

* cleanup

* UI updates

* course page UI for posthog

* navbar and sidebar for course page in all templates complete

* all templates course page showing lesson content from md file with mdsvex
configured

* wokring on sections

* posthog lesson content done

* all templates fetches the lesson content from the section

* all templates properly typed

* scaffolding the new template

* finished the webflow-saas

* done with the webflow saas UI

* new calcom template

* new calcom template

* masonry layout for testitomonail section layout done

* calcom UI done

* UI all done

* cleanup

* trying to fix dark mode for the course page and home page

* done with this

* done with this

* working on tests

* migrated minimalistic template to svelte 5

* updated the syntax to svelte 5 for webflow

* migrated classic to svelte 5

* migrated posthog to svelte 5

* used svelte 5 syntax in calcom

* cli tool woks locally

* rename to course-sites

* use pnpm in root

* calcom refactoring

* remove unused files

* chore: biggest refactoring in my life

* add basic readme

* refactoring on course page

* restructure how courses are ordered

* proper state propagation

* add cf adapter

* fix pnpm i issue

* fix folder icon size

* use 18.17 version

* update npmrc

* add engine to packagejson

* pnpm install

* add engine to cio-com

* make it 18.x

* remove sequence

* move mdsvex to dependencies

* update lock

* mdsvex please work

* replace fs with import from vite

* add lock

* styling improvements

* fix styling

* sidebar style improvements

* fix: mobile concerns

* fix spacing of course header on desktop

* update header

* top nav fix

* feat: make cal template

* setup another template

* classic basic UI

* fixed the /courses fetching wrong page content

* fix breaking template cause of logo

* adding some updates

* improve styles theming

* finished updates from reviews

* updated the custom styling css

* clean up posthog template

* cli tool done, needs some cleaning though

* moved components to home

* improved the UI of the minimal template

* Add CLI tool and course app site

* prettier lint

* improve CLI

* ignore sveltekit folder

* publish course app

* fix tailwing theme + improve README

* finish up course-app site

* update README.md

---------

Co-authored-by: emmanuel <[email protected]>
2024-12-14 03:40:47 +01:00
Rotimi Best d010485c1a chore: collect org analytics 2024-11-28 16:02:34 +01:00
Rotimi Best 98c3060732 chore: proper certificate clean up + darkmode nav cleanup 2024-11-21 15:25:42 +01:00
Rotimi Best 660fc66bbb chore: PageNav border improvement 2024-11-21 15:15:53 +01:00
Rotimi Best 067aca5173 fix: certificate page hidden for students 2024-11-21 14:33:37 +01:00
Rotimi Best f890b8d84f fix: course settings showing save popup wrongly 2024-11-21 14:25:52 +01:00
Rotimi Best 02571e5ea7 feat: trigger confirm with unsaved changes (#378)
* trigger confirm with unsaved changes

* feat: add warning banner to course settings

* feat: implement on settings page.

* rename
2024-11-20 10:33:28 +01:00
Rotimi Best dc9e00a7ae chore: use progress bar for page transition 2024-11-19 19:45:31 +01:00
Rotimi Best bfed98b523 chore: validate domain on server 2024-11-15 02:40:32 +01:00
Rotimi Best e3e54a54e0 fix: validate domain isn't classroomio 2024-11-14 20:48:47 +01:00
Iniubong Obonguko 11990c6a57 feat: fix flashing avatar (#507) 2024-11-12 12:37:25 +01:00
Rotimi Best b78a0acc99 chore: send verification on mount 2024-11-06 21:28:55 +01:00
Rotimi Best febe1965d9 chore: add /learn 2024-11-05 02:54:44 +01:00
Iniubong ObongukoandRotimi Best c16d036cc3 feat: disable umami analytics on localhost for dashboard and classroomio-com (#505)
* feat: dsiable umami analytics on dashboard and landing page

* feat: disable umami on localhost

* re-add space

* move disabling umami to setupAnalytics function

* remove whitespace

* add comment

---------

Co-authored-by: Rotimi Best <[email protected]>
2024-10-20 02:03:37 +01:00
Rotimi Best 7d61fece4d chore: update og 2024-10-15 11:15:42 +01:00
Rotimi Best e7463ef78d fix: wrong grammer 2024-10-15 02:59:14 +01:00
Rotimi Best 033959cb82 fix: theme undefined prevents settings page from loading 2024-10-15 01:46:05 +01:00
Rotimi Best d1a089a369 chore: update supabase custom domain 2024-10-13 16:44:40 +01:00
Rotimi Best 5bb036b0c0 chore: add launch and course to reserved subdomains 2024-10-13 13:54:41 +01:00
Rotimi Best 92572ed2c2 fix: add dynamic env 2024-10-09 15:00:30 +01:00
Rotimi Best f9a8150c88 debug: use static env for is_selfhosted 2024-10-09 14:59:56 +01:00
Rotimi Best 8c846a70d5 debug: deployment log 2024-10-09 14:51:32 +01:00