Commit Graph
44 Commits
Author SHA1 Message Date
Rotimi Best f3f3f2e599 fix: courseapp failing due to typescript eslint 2025-07-17 12:02:20 +01:00
Rotimi Best c1f3761996 chore: update return type of generateCertificate function to implicit 2025-06-26 14:13:45 +01:00
Adeyemi AdetunjiandRotimi Best 8f26399741 feat: cloudflare browser rendering for pdf generation (#562)
* feat: cloudflare browser rendering for pdf generation

* feat: sync env

* fix: imports correction & remove puppeteer

* update return type

* update dependencies

---------

Co-authored-by: Rotimi Best <best@classroomio.com>
2025-06-23 08:55:34 +01:00
Rotimi Best 179faf0d2c fix: katex fetching from the backend 2025-06-13 16:56:09 +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 <iniubongobonguko2018@gmail.com>
2025-06-09 01:38:57 +01:00
Rotimi Best 9eb7b01587 fix: monorepo install error on backend docker 2025-06-03 09:52:19 +01:00
Rotimi Best 5c66c99f80 fix: update dockerfile paths in docker-compose and fly.toml for backend service 2025-05-20 12:21:31 +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 adb8173869 chore: disable sentry on backend 2024-11-02 17:22:15 +01:00
Rotimi Best af17f2b07e fix: remove lock file in backend 2024-09-30 01:54:26 +01:00
Adeyemi AdetunjiandRotimi Best 2413120e95 feat: Integrate Sentry to backend (#270)
* feat: Integrate Sentry to backend

* update lock

* update .env

---------

Co-authored-by: Rotimi Best <best@classroomio.com>
2024-09-30 01:49:59 +01:00
Rotimi Best 9a75a9dafa chore: remove logs 2024-09-29 05:01:22 +01:00
Rotimi Best a1fedfa975 fix: fly build + adapter-node peer dependency 2024-09-28 21:49:52 +01:00
Rotimi Best e3a278c0da chore: rename Dockerfile to Dockerfile.dev 2024-09-28 20:58:07 +01:00
Rotimi Best 692fe39a10 debug: check env 2024-09-28 20:54:36 +01:00
Rotimi Best fc4c115c46 fix: ZOHO_TOKEN missing 2024-09-23 21:37:37 +01:00
Rotimi Best 7c9b7bb920 fix: remove isPersonalEmail logic 2024-09-23 21:18:33 +01:00
Rotimi Best eaf078d8e2 fix: welcome email failing 2024-09-23 20:58:50 +01:00
Rotimi Best 0349e8c531 fix: get backend docker working 2024-09-23 01:37:57 +01:00
Rotimi Best 25b010ebf2 chore: disable puppeteer 2024-09-22 16:28:54 +01:00
Rotimi Best 4199fce976 chore: i think the docker should now build 2024-09-20 09:10:05 +01:00
Rotimi Best a28a0e8f92 chore: setup docker-compose 2024-09-19 10:12:54 +01:00
Rotimi Best a1e02173aa feat: add a docker compose file 2024-09-18 04:26:24 +01:00
Rotimi Best 79839fca42 fix: auth for invite 2024-09-17 13:32:51 +01:00
Rotimi Best a742b1af43 feat: move transaction emails to zeptomail 2024-08-10 09:58:33 +01:00
Adeyemi AdetunjiandRotimi Best 72b58ed2c7 feat: add 4 certificate templates (#295)
* add cloud translation api package

* feat: Script that auto generates translations for other languages

* add comments

* fix: broken translation

* improve translation

* update locck file

* clean up

* all round trasnlations check

* checkpoint

* finish up

* move to dev dependencies

* fix vercel build error

* translations fix

* - add documentation
- translation bug fix

* quick adjust

* PR Fixes

* add new line

* update docs

* checkpoint

* feat: redesign & addition of certificates

* text color update

* patterned width fix

* "student-name" class remove

* checkpoint

* PR Fix

* quick fix

* PR Fixes

* update certificate ready page for students

* PR Fixes

* quick cleanup

* move fetchCourses into .ts file

* feat: give students access to certificates only after completing course

* checkpoint

* height fix

* Merge branch 'main' of https://github.com/rotimi-best/classroomio into classroomio-issue-272

* Fix; merge PR Fix

* fix: width of plain & professional certs

* PR Fix

* feat: add translation

* handle error when trying to download a certificate

* add fetchExploreCourses

* fix: requested reviews

* review fixes checkpoint

* replace the certificate background

* height fix for patterned certififcates

* fix more bugs

* rename schema

---------

Co-authored-by: Rotimi Best <best@classroomio.com>
2024-07-21 03:02:33 +01:00
Rotimi Best e75924b851 chore: rename cloudflare env var 2024-06-16 06:08:46 +01:00
Rotimi Best ba3f4ef816 feat: selfhost url mapping 2024-06-15 08:55:46 +01:00
Rotimi Best ec3dfb0d14 chore: email template improvements 2024-06-10 21:07:54 +01:00
Rotimi Bestandemmanuel 68b04e3385 chore: redesign email template (#358)
* updated the email template

* impelement design that works on email

---------

Co-authored-by: emmanuel <chifez1@gmail.com>
2024-06-09 23:34:17 +01:00
Rotimi Best a1b721b23a Revert "chore: updated the email template (#353)" (#357)
This reverts commit a401f8a5d3.
2024-06-09 21:34:03 +01:00
Em_Dev a401f8a5d3 chore: updated the email template (#353) 2024-06-08 05:01:21 +01:00
Rotimi Best ae5d7ad012 chore: update verification email content 2024-05-09 09:15:08 +01:00
Rotimi Best 2f44697bf8 chore: get transporter only once 2024-04-12 14:52:14 +01:00
Rotimi Best a94205a0ed fix: restore fly.io 2024-04-12 14:25:51 +01:00
Em_DevandRotimi Best 3fe15e6633 feat: remove defer (#243)
* working on moving the email logic to the backend

* Moved nodemailer to the backend

* uninstall defer

* updated relative import path in tsconfig

* working on the zod validation

* Merge branch 'main' into send-email

* fixed the zod import issue

* fixed the zod import issue

* updated the env example files

* docs: update README.md (#249)

* fix: handle catex error

* chore: remove fly.io github action

* Update README.md

Updated the Readme to reflect changes made to the emailing flow

---------

Co-authored-by: Rotimi Best <best@classroomio.com>

* chore: wrapp up email sending

---------

Co-authored-by: Rotimi Best <best@classroomio.com>
2024-04-12 04:57:19 +01:00
Em_DevandRotimi Best 6c12411dca feat: move landing page videos to cloudfare (#253)
* moved videos to cloudfare

* add custom domain

* add border to iframe

---------

Co-authored-by: Rotimi Best <best@classroomio.com>
2024-04-11 21:25:29 +01:00
Rotimi Best 37f1466932 fix: handle catex error 2024-04-09 21:34:01 +01:00
Rotimi Best c14f73a47c feat: add math equation support in Tinymce (#233) 2024-04-02 15:21:49 +01:00
Em_DevandRotimi Best 23b3b5f555 feat: stream video upload progress (#210)
* working on the streaming progress

* connected video upload progress from frontend to server to bucket

* cleanup

* cleanup

* added the progress bar

* finished the supabase upload-progress using supabse realtime

* use only progress bar

* updating the helpertext

* Merge branch 'upload-progress' of https://github.com/rotimi-best/classroomio into upload-progress

* updated the supabase import

* Update LocalVideo.svelte

* update lock file

---------

Co-authored-by: Rotimi Best <best@classroomio.com>
2024-03-28 10:42:49 +01:00
Rotimi Best 62a32a6204 feat: make video upload speed down to 5min for <500mb (#209)
* feat: make video upload down to 5min for <500mb

* update to 15 minutes timeout
2024-03-16 17:35:23 +01:00
Rotimi Best 4893950fd2 feat: video upload - disable muse upload + upgrade server (#207)
* fix: only upload to cloudflare

* feat: ci/cd for apps/backend
2024-03-16 06:27:09 +01:00
Rotimi Best b68a56928b chore: add .env.example to apps/backend 2024-03-04 20:30:58 +01:00
Adeyemi AdetunjiandRotimi Best 3a22a73380 feat: add classroomio's server to the monorepo (#168)
* add classroomio server to apps

* ReadME upadte

* Update README.md

* rename project to backend

* fix lock file

---------

Co-authored-by: Rotimi Best <best@classroomio.com>
2024-02-28 03:25:25 +01:00