Commit Graph
1234 Commits
Author SHA1 Message Date
Rotimi Best 85474ea022 chore: update umami domain 2025-09-27 18:12:29 +01:00
Rotimi Best 2c3ee88e13 chore: move course analytics a step after content 2025-09-21 20:44:30 +01:00
Rotimi Best 6d68351a46 feat: end to end api type safety with redis rate limiting (#573)
* feat: support hono rpc

* add wrangler file

* update name of wrangler file

* add wrangler as a dependency

* add compatibility_flags

* trigger ci

* core: add health check to docker file

* expose port 80

* update custom healthcheck

* feat: implement openapi

* install dependencies in root

* debug yml

* update yml

* update port

* update dockerfile with envs

* completely move away from apiClient

* rename backend to api

* refactor: update server descriptions and comment out local spec saving

* update lock file

* use api.classroomio.com

* add support for redis

* fix: add missing line break in WelcomeModal.svelte

* refactor: remove wrangler configuration and update Vite config for API integration
2025-09-21 19:35:41 +01:00
Rotimi Best a6880f1b54 feat: implement percentage calculation utility and refactor analytics to use it
- Added `calcPercentageWithRounding` function for consistent percentage calculations with rounding.
- Updated course and user analytics to utilize the new utility for progress and average grade calculations.
- Removed redundant rounding logic from analytics functions.
2025-09-18 10:34:54 +01:00
Rotimi Best bcd17dd0df feat: add unique constraint to lesson_completion table 2025-09-18 09:16:46 +01:00
Nwosu EmmanuelandRotimi Best ec3875bac2 feat: course analytics (#574)
* feat: added anaytics for the course page

* feat: Added pagination

* feat: cleanup

* feat: added translations

* feat: added fixes

* my improvements

---------

Co-authored-by: Rotimi Best <[email protected]>
2025-09-18 01:00:49 +01:00
Nwosu Emmanuel f3de6a063e feat: Trigger confirm warning for unsaved changes (#547)
* added the triger warning for the settings page

* all done

* added translation to the window message

* window issue now fixed
2025-09-16 09:21:41 +01:00
Rotimi Best caa48003af fix: include types 2025-09-15 19:15:50 +01:00
Rotimi Best fb0131de2d fix: load documents on client 2025-09-15 19:14:22 +01:00
Rotimi Best def5318c07 refactor: improve number rounding and handling in analytics calculations 2025-09-15 14:17:37 +01:00
Rotimi Best 7d150ea500 fix: ensure overall average grade defaults to 0 and adjust course image fallback 2025-09-10 21:23:36 +01:00
Rotimi Best a078971064 fix: update loading state variable for input fields in invite page 2025-09-10 21:12:50 +01:00
Rotimi Best 01e9aa9700 chore: hide login fields if logged in user matches invite email 2025-09-10 21:01:17 +01:00
Rotimi Best f161e8dbfd debug: google auth + invite 2025-09-10 20:45:50 +01:00
Rotimi Best 98acd93133 fix: disable accept button if still fetching user details 2025-09-10 20:39:16 +01:00
Rotimi Best 47563410d8 fix: allow google invite user to accept invite 2025-09-10 20:05:37 +01:00
Rotimi Best f63b3021f6 feat: enhance AuthUI with redirectPathname prop for improved navigation 2025-09-10 18:49:50 +01:00
Rotimi Best 34a4e867bc debug: team member invite with google auth 2025-09-10 18:27:49 +01:00
Rotimi Best 06de8d44b8 chore: add orgname to org landing page header 2025-09-10 18:17:27 +01:00
Rotimi Best 8bafacb792 fix: remove loading state before adding group member 2025-09-10 17:26:22 +01:00
Rotimi Best f87a8beb17 chore: change node version to 20.19.3 2025-09-10 17:24:35 +01:00
Rotimi Best f60809a249 fix: only redirect in layout only if on redirect page 2025-09-10 17:18:01 +01:00
Rotimi Best 12c0f00007 debug: auth redirect 2025-09-10 16:50:31 +01:00
Rotimi Best b73f2cc150 debug: sign in with google 2025-09-10 16:35:47 +01:00
Nwosu EmmanuelandRotimi Best 937f1d8155 feat: add documents to Lesson materials (#572)
* feat: Initial logic for the pdf upload

* feat: uploa logic, translations and ui flow complete

* chore:console log cleanup

* feat: fixed upload issue and added cancel upload button

* feat: fixing the download document ish

* feat: All done and ready for use

* feat: updated the document viewing logic

* feat: some minor refactor

* feat: added migration file

* fix: dark mode, translations, restyling,

---------

Co-authored-by: Rotimi Best <[email protected]>
2025-09-10 11:39:06 +01:00
Rotimi Best 7a77bd6c79 chore: check permission only after org is loaded 2025-09-09 13:12:56 +01:00
Rotimi Best 05fc61330c chore: remove pnpm version from package.json 2025-09-07 23:22:13 +01:00
Rotimi Best c421ec29d9 chore: add custom domain validation for classroomio.com 2025-09-07 16:44:32 +01:00
Rotimi Best 513dc1c6d7 fix: add .nvmrc to classroomio-com 2025-09-07 16:40:32 +01:00
Rotimi Best 733e24ae75 chore: use node v20.19.4 2025-09-07 16:30:57 +01:00
Rotimi Best 11a65783e7 chore: upgrade to node 22.12 2025-09-07 15:04:09 +01:00
Rotimi Best 33cb6286a9 chore: domain can't include classroomio.com 2025-09-07 10:57:06 +01:00
Rotimi Best 9055c45384 chore: move IS_SELFHOSTED to public env 2025-09-07 10:24:34 +01:00
Rotimi Best f7a66f851f fix: rename provider_id column to id in auth.identities table 2025-09-04 13:29:41 +01:00
Rotimi Best aacd95f92f feat: add error handling for unauthenticated users in hooks middleware 2025-08-30 08:00:25 +01:00
Rotimi Best 7dfabf6e7f fix: center tooltip text 2025-08-27 22:21:03 +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 392e1abd1f fix: allow user navigate to profile settings after coming to org settings first 2025-08-23 00:35:29 +01:00
Rotimi Best f56c86ab87 feat: convert get started button to link on employee training page 2025-08-08 05:09:45 +01:00
Rotimi Best 279d10a914 feat: add Polish language support 2025-08-08 04:53:38 +01:00
Rotimi Best 0d0719e8f9 feat: implement row-level security policies for course-related tables and actions 2025-08-08 04:12:46 +01:00
Rotimi Best 195e5e8fd2 refactor: reorganize imports and add comment for selfhosted instances 2025-08-05 17:40:31 +01:00
Rotimi Best 0441b6ad12 style: reorder Tailwind CSS classes in PricingSection component and add prettierignore file 2025-08-05 02:01:03 +01:00
Rotimi Best c841823bda fix: prevent duplicate comment channel subscriptions and improve translation check 2025-08-03 17:59:21 +01:00
Rotimi Best db21265136 fix: add '/api/verify' to public routes in hooks.server.ts 2025-07-30 20:36:04 +01:00
Rotimi Best d6abb425d7 chore: update docker-compose.yaml to include optional node_modules and dist volume mounts 2025-07-29 00:03:37 +01:00
Rotimi Best 1eb0099938 chore: update org.ts to trigger CI 2025-07-21 21:53:00 +01:00
Rotimi Best 8a6d35b8ed fix: update currentOrgDomain to derive root domain from window location 2025-07-21 21:33:50 +01:00
Rotimi Best be0d05abc6 fix: remove pgsodium extension creation from migration and clean up data.sql 2025-07-20 20:21:23 +01:00
Rotimi Best d45a82a62c chore: add supabase command to package.json 2025-07-18 20:57:02 +01:00