Commit Graph

280 Commits

Author SHA1 Message Date
gbuomprisco
c5d7464e61 1. Hoist i18n dependencies
2. Updated react-i18next
3. Updated Prettier plugins to use import.meta.resolve, so we don't have issues with hoisting
2024-11-08 14:34:28 +08:00
gbuomprisco
a7eb9d6cf6 Updated dependencies 2024-11-08 13:43:59 +08:00
gbuomprisco
198f7239ef Updated dependencies 2024-11-05 14:53:05 +08:00
gbuomprisco
9681d51a08 Create team: Improve error handling when creating team. 2024-11-01 14:46:29 +08:00
gbuomprisco
2f1be787f7 Updated dependencies 2024-11-01 10:55:46 +08:00
gbuomprisco
6490102e9f Updated packages 2024-10-30 12:46:55 +08:00
gbuomprisco
81e468adc0 Updated dependencies 2024-10-29 10:30:13 +08:00
gbuomprisco
64e7e30b3d React Compiler: maximize compatibility with react-hook-form 2024-10-28 10:44:40 +08:00
gbuomprisco
8e9d6659e1 Syncpack: introducing syncpack to fix versions of packages; packages fixed with Syncpack. 2024-10-26 12:18:24 +08:00
Giancarlo Buomprisco
14c2220904 Update Shadcn Sidebar (#73)
Migrated Sidebar to use Shadcn UI's
2024-10-25 15:43:34 +08:00
Giancarlo Buomprisco
5b9285a575 Next.js 15 Update (#26)
* Update Next.js and React versions in all packages
* Replace onRedirect function with next/link in BillingSessionStatus, since it's no longer cached by default
* Remove unused revalidatePath import in billing return page, since it's no longer cached by default
* Add Turbopack module aliases to improve development server speed
* Converted new Dynamic APIs to be Promise-based
* Adjust mobile layout
* Use ENABLE_REACT_COMPILER to enable the React Compiler in Next.js 15
* Report Errors using the new onRequestError hook
2024-10-22 14:39:21 +08:00
Giancarlo Buomprisco
b2c27eb25b Sidebar: make it possible to set the sidebar as collapsed (#72)
* Sidebar: make it possible to set the sidebar as collapsed
2024-10-14 17:31:18 +08:00
gbuomprisco
d137df2675 MFA: shuffled components to avoid re-rendering closing the setup dialog 2024-10-13 22:19:37 +08:00
gbuomprisco
fe2148730a MFA: Fix factors dialog closing when factors re-render. Removed debugging line setting the popup to Infinite 2024-10-13 09:32:05 +08:00
Giancarlo Buomprisco
25adc2d1e3 Fix password update (#71)
* Fix password update
* Use next or callback params for retro-compatibility
2024-10-12 11:09:34 +08:00
gbuomprisco
2fe8fc0231 Revert hard coded setting 2024-10-12 04:38:00 +02:00
gbuomprisco
f2b74a9c7e MFA: display meaningful errors 2024-10-12 04:35:03 +02:00
gbuomprisco
e9500463bf Enforce deletion environment variables server side; added logging 2024-10-08 00:37:35 +02:00
gbuomprisco
046e8d749c Added RLS to delete a team account; converted 2024-10-07 17:31:10 +02:00
gbuomprisco
595b38dd21 Adjust query to select the correct owner of the Team deleting the account 2024-10-07 16:57:01 +02:00
gbuomprisco
a5e1366b06 Normalize search targets to lowercase in accounts tables 2024-10-03 15:54:08 +02:00
gbuomprisco
0c7c2e66f7 Updated Dependencies 2024-10-01 12:01:12 +02:00
gbuomprisco
fff0b40a65 Updated license checker to log errors; updated dependencies. 2024-09-22 19:55:25 +02:00
gbuomprisco
98b77d8ee1 Updated dependencies 2024-09-20 13:24:42 +02:00
gbuomprisco
871df6ad43 Updated dependencies 2024-09-16 23:38:47 +02:00
gbuomprisco
5706a3486c Updated dependencies; added translation string to CreateTeamSchema schema 2024-09-13 11:03:31 +02:00
gbuomprisco
4be76ac797 Created a list of reserved names that the user cannot choose to create a team account 2024-09-13 10:52:59 +02:00
gbuomprisco
2649ac3a4e Updated deps; Keystatic pinned to a previous version to work around a bug. Pinned eslint-plugin-react as well because of weird unrelated errors with any "this" usages. 2024-09-12 11:05:21 +02:00
gbuomprisco
bc624e7d96 Updated dependencies; fixes some TS issues uncovered by update 2024-09-10 10:55:28 +02:00
gbuomprisco
b2f4cf039c Updated dependencies 2024-09-09 10:23:58 +02:00
gbuomprisco
e4941435a2 Updated dependencies 2024-09-06 19:54:24 +02:00
gbuomprisco
b32b0939b1 Only emit sign up event when the property "shouldCreateUser" is truthy 2024-09-06 18:37:09 +02:00
gbuomprisco
3e1c12fcbb Updated Next.js to 14.2.8 and other deps 2024-09-05 00:56:42 +02:00
gbuomprisco
2f082b1c56 Refactored Scopes for oAuth providers 2024-09-03 16:13:47 +02:00
gbuomprisco
7c7c3340a6 Updated dependencies 2024-09-03 13:51:29 +02:00
gbuomprisco
8a0648be4a Updated dependencies 2024-09-03 11:47:19 +02:00
gbuomprisco
53302fba7e Update dependencies
Upgraded multiple dependencies across the project, including @types/node to ^22.5.1 and @supabase/supabase-js to ^2.45.3. This change also includes updates to react-related types and various other packages to their latest versions to maintain compatibility and leverage new features.
2024-08-31 17:47:21 +02:00
gbuomprisco
0c415be8ee Refactor account-selector to use useMemo instead of useEffect
Replaced useEffect with useMemo for computing the account value. This simplifies the state management and ensures that the value is memoized based on the selectedAccount prop.
2024-08-30 17:05:57 +02:00
gbuomprisco
94d0c1607d Fix async rendering in email templates
Updated `render` calls to be `await` in account-delete and invite email templates to ensure proper asynchronous operation. Added an empty line in `account-webhooks.service.ts` for code clarity.
2024-08-29 11:46:18 +02:00
gbuomprisco
d477a5c7bb Update dependencies to latest versions
Upgraded various dependencies across multiple packages to their latest versions, including `@supabase/supabase-js` to `2.45.2`, `next` to `14.2.7`, and `react-hook-form` to `7.53.0`. This ensures compatibility and includes the latest features and bug fixes.
2024-08-29 11:35:54 +02:00
gbuomprisco
bfe16a24de Switch to server-admin-client in dashboard loader. Reverts wrong refactoring to new clients. 2024-08-29 11:32:31 +02:00
gbuomprisco
5cc3c2c097 Upgrade dependencies to latest versions
Updated multiple packages including @marsidev/react-turnstile, @tanstack/react-query, @types/react, lucide-react, next, and others to their latest versions. This ensures we stay up-to-date with the latest features and bug fixes.
2024-08-22 10:36:42 +02:00
gbuomprisco
2afa736f4c Update dependencies across multiple packages
Upgraded various dependencies in package.json files and pnpm-lock.yaml to their latest versions. This includes updates to @tanstack/react-query, lucide-react, and @playwright/test, among others, to ensure compatibility and improved performance.
2024-08-19 19:24:12 +02:00
gbuomprisco
089fd37ece Refactor Supabase type imports for improved clarity
Replaced specific object paths with generic type helpers across several files to enhance readability and maintainability. This change standardizes the import patterns and type definitions for database tables and enums.
2024-08-16 12:48:29 +02:00
gbuomprisco
ff18a294ad Refactor Supabase client usage
Replaced various Supabase client imports with standardized admin and server clients across multiple files. This change ensures consistent and appropriate usage of admin and non-admin Supabase clients in server actions and services.
2024-08-14 13:43:53 +02:00
Giancarlo Buomprisco
ba6e649461 Refactored Supabase Clients using the new recommended approach by Supabase by centralizing all clients around one single implementation. (#51)
The previous clients have been marked as deprecated and will be removed at some point.
2024-08-14 17:13:59 +08:00
gbuomprisco
085980316c Enable conditional password update card in settings page
Added a conditional check for displaying the password update card in the account settings page based on the new `enablePasswordUpdate` feature flag. This ensures the card is shown only if the password update feature is supported.
2024-08-13 12:58:24 +02:00
gbuomprisco
29e23c837d Update dependencies in multiple packages
Upgraded various dependencies including "@tanstack/react-query" to 5.51.23, "tailwindcss" to 3.4.9, "lucide-react" to 0.427.0, and "tailwind-merge" to 2.5.0. These updates were applied across multiple packages to ensure compatibility and access to the latest features and bug fixes.
2024-08-12 11:00:36 +02:00
gbuomprisco
babdecb78f Refactor code and update dependencies
Rearranged imports for better organization and readability across multiple files. Updated the `react-i18next` dependency to version 15.0.1 in various `package.json` files. Adjusted formatting in multiple TypeScript files to ensure code style consistency.
2024-08-11 12:04:49 +02:00
gbuomprisco
573f3495e6 Updated dependencies 2024-08-07 10:30:20 +02:00