Commit Graph
39 Commits
Author SHA1 Message Date
Rotimi Best 3d64e25b89 chore: debug lms detection on client side 2025-11-08 05:34:17 +01:00
Rotimi Best 7715834566 chore: debug getSubdomain 2025-11-08 05:22:38 +01:00
Rotimi Best 168866c81b feat: optimize docker compose for dashboard and api (#578)
* chore: use turbo for build

* fix docker compose file and remove backend

* chore: update .dockerignore to include additional files and directories for improved build management

* copy everything in both docke filed

* refactor: streamline Dockerfile to copy entire dashboard app and remove unnecessary node_modules references

* update api to use turbo to start

* run ls la for docker files

* update cmd commands

* update cmds to use node

* fix: add redis url to docker compose

* fix: reduce memory allocation for dashboard build in Dockerfile

* debug dashboard build

* update api docker file

* update dashboard

* add tsconfig

* chore: add echo to dockerfile

* fix: change echo to run

* chore: install pnpm before switching to non-root user in Dockerfile

* refactor: update start commands in package.json and Dockerfiles to use pnpm

* install turbo

* use turbo 1.10.16

* update turbo config

* fix: update CMD in Dockerfile to run the API directly using Node.js

* change

* add commands to turbo.json

* copy over turbo

* add workspace

* fix: update start commands in package.json to specify ports for dashboard and API

* publish docker images

* add dev branch

* update compose

* build only for amd64 platform

* refactor: update docker-compose to use pre-built images and remove build context

* coolify-dockertest

* point to latest

* chore: update docker-compose to use specific version tags for API and dashboard images

* remove envs for docker file

* 0.1.3

* use dynamic env

* 0.1.4

* add PUBLIC_IS_SELFHOSTED=true

* chore: update docker-compose to use version 0.1.5 for API and dashboard images

* use static for PUBLIC_IS_SELFHOSTED

* disable cache for tag

* use 0.1.7

* add PUBLIC_IS_SELFHOSTED=true

* comment out caching

* update docker-compose to use version 0.1.8 for API and dashboard images

* update api port

* use tag 0.1.9

* add cache

* use latest tag in compose file
2025-10-11 13:27:50 +01:00
Rotimi Best 9055c45384 chore: move IS_SELFHOSTED to public env 2025-09-07 10:24:34 +01:00
Rotimi Best 1c2760fd50 fix: add fallback empty array for APP_SUBDOMAINS when env variable is undefined 2025-08-26 16:46:01 +01:00
Rotimi Best 195e5e8fd2 refactor: reorganize imports and add comment for selfhosted instances 2025-08-05 17:40:31 +01:00
Rotimi Best f343ca7974 docker improvements + delete unused package 2025-05-03 14:46:01 +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 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 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
Rotimi Best c7722cb18a docs: let the launch week begin 🚀 (#491)
* docs: update meta tags

* fix: make env dynamic

* docs: let the launch week begin 🚀
2024-10-07 01:36:07 +01:00
Adeyemi AdetunjiandRotimi Best 947181a3c5 feat: custom org brand color (#474)
* feat: add package

* feat: add a new color picker

* feat: integrate with supabase

* feat: add translation

* run translation script

* feat: hover state

* quick fix

* fix: requested PR fixes

* update lock

* ux improvements

* remove log

* cleanup and improve code

---------

Co-authored-by: Rotimi Best <best@classroomio.com>
2024-10-06 01:20:32 +01:00
Rotimi Best 2a50b22ad2 fix: make env dynamic 2024-09-20 11:16:19 +01:00
Rotimi Best f7640b8a67 chore: update og url 2024-09-05 15:51:05 +01:00
Rotimi Best 2d5f0ba6ad fix: getCurrentOrg query for subdomains 2024-09-04 06:55:50 +01:00
Rotimi Best 12d7a1ac3c feat: support custom domain (#462)
* feat: add custom domain CRUD

* chore: fetch organization in layout in server before render

* debugging

* update log
2024-09-04 06:32:54 +01:00
Rotimi Best 1b84d98398 docs: 100 students milestone (#449)
* write blog post

* add link to dblocked

* improve blog SEO

* fix build error

* fix overide metatags issue
2024-08-25 21:35:59 +01:00
Rotimi Best 99f236b70d feat: support course meta tags (#421)
* support course meta tags

* fix import
2024-08-01 14:04:50 +01:00
Rotimi Best fecdaa116d feat: improve fetch course by slug query 2024-06-16 05:01:35 +01:00
Rotimi Best e8a79e5995 chore: reuse getSubdomain function 2024-06-15 09:23:02 +01:00
Rotimi Best ba3f4ef816 feat: selfhost url mapping 2024-06-15 08:55:46 +01:00
Rotimi Best c4c3f3d5d5 chore: make setting locahost cookie easier 2024-04-25 07:22:46 +01:00
Rotimi Best d877eb206a fix: too many redirects 2024-04-21 20:32:47 +01:00
Rotimi Best a95be6d620 ci: cypres test setup(#274)
* fix: font size broken

* add first cypress test

* save onboarding language

* load language

* get first test to work

* update command

* install pnpm

* update workflow

* install

* update

* test

* increase timeout

* another update

* update 2

* update 3

* upsdada 4

* sfgsfgf 5

* add def supabase url

* fix supabase issue

* add ci

* fix ci

* update .env.example

* update port

* tired

* prepare

* preview

* this is it

* ?????

* 99999900

* fix log issue

* ci

* nkkh

* =====

* 200000
2024-04-20 04:39:16 +01:00
Adeyemi AdetunjiandRotimi Best d75e2f258e feat: multi language support (#254)
* feat: multitranslational support

* - completion of settings page
- completion of sidebar

* sidebar rerendering bug fix

* completion of the lesson navigation & materials page

* completion of the course navigation

* completion of requested languages

* - Implementation of Language Picker
- Rename Bug Fixes

* checkpoint save

* - addition of the language picker to the onboarding.
- addition of the language switcher for the lesson notes.

* merge completion

* initialization of the new branch

* add transition.svelte file

* lesson note bug fix

* feat: add translation migration

* completion of translation

* fix height issue of dropdown

* refactoring

* fix: improve code with LOCALE from db

* finally get it fully functional

* connect with AI

* backward compatibility for lesson note

* preserve old content, when generating AI content

* undo translations in upgrade modal

* fix duplicate key issue from codacy trigger

---------

Co-authored-by: Rotimi Best <best@classroomio.com>
2024-04-19 05:45:48 +01:00
Adeyemi AdetunjiandRotimi Best 13ab070178 feat: filter community questions by course (#157)
* checkpoint save

* checkpoint

* feat: course dropdown

* added comments

* feat: generate db migration

* fixes

* PR Fixes

* PR Fixes

* refactoring

* show empty state

* improve styling

* fix styling issue

* PR Fixes

* PR Fixes

* PR Fixes

* dropdown for edit mode

* test db schema change on staging

* fix: change course_id to courseId

* fix theming issue

---------

Co-authored-by: Rotimi Best <best@classroomio.com>
2024-02-13 22:17:15 +01:00
Rotimi Best 93bda000f9 fix: meta tag on docs are broken (#162)
* feat: db mock data

* update meta tags

* feat: update seed file

* undo sql change
2024-02-12 11:26:37 +01:00
Rotimi Best 7ee12e90e4 fix: redirect docs in new page, handle 404 vercel url 2024-02-02 08:25:15 +01:00
Rotimi Best 845b87b21f chore: update posthug and change all 301 to 307 2023-12-14 22:41:16 +03:00
Rotimi Best b420105ddf feat: implement forward domain for gauth 2023-12-14 12:07:27 +03:00
Rotimi Best bbe6e78f88 chore: login/signup improvements 2023-12-11 21:18:31 +03:00
Rotimi Best fb0faa75cd fix: avoid redirecting for app 2023-12-11 10:24:07 +03:00
Rotimi Best 28e9281fdc chore: redirect to app if no dns for blocked subdomains 2023-12-11 03:44:31 +03:00
Rotimi Best b116bdec60 redirect to app.classroomio.com for 404 2023-12-11 03:36:22 +03:00
Rotimi Best 820a59c80e feat: 404 for not found subdomain 2023-12-11 03:27:13 +03:00
Rotimi Best d0e90b30e4 improve layout.server 2023-12-03 16:29:27 +03:00
Rotimi Best 41e29014ef feat: 🚀 😃 convert repo into a monorepo 🚀 😃 (#51)
* Merge main into turbo-monrepo

* feat: rename apps

* feat: remove supbase videos and serve all from project

* feat: move supabase to root

* feat: update README

* docs: update link
2023-11-25 21:56:02 +00:00