Commit Graph
879 Commits
Author SHA1 Message Date
gbuomprisco 85c1f35631 Added custom "tailwindFunctions" parameters for linting and formatting the Tailwind CSS classes. 2024-09-20 18:40:58 +02:00
gbuomprisco f2118e97f8 Stripe: allow passing custom parameters to the Checkout session 2024-09-20 18:38:44 +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 9751b5982d Fix Migrations error with setting a picture URL 2024-09-15 15:12:23 +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 691cad1c0d Fix animations bug in Firefox. Minor updates to marketing components. 2024-09-10 20:53:18 +02:00
gbuomprisco bc624e7d96 Updated dependencies; fixes some TS issues uncovered by update 2024-09-10 10:55:28 +02:00
gbuomprisco 460479bf1a Provide a public variable "NEXT_PUBLIC_KEYSTATIC_STORAGE_REPO" to allow Keystatic to detect the storage client-side. This is fundamental to make the Admin work. 2024-09-09 11:21:43 +02:00
gbuomprisco c275526b07 Provide a public variable "NEXT_PUBLIC_KEYSTATIC_STORAGE_KIND" to allow Keystatic to detect the storage client-side. This is fundamental to make the Admin work. 2024-09-09 11:17:02 +02:00
Giancarlo Buomprisco 2931f6bb1d Updated main migration with a fix to include user name and avatar if these are found (e.g. they come from oAuth) (#65) 2024-09-09 16:59:49 +08:00
gbuomprisco b2f4cf039c Updated dependencies 2024-09-09 10:23:58 +02:00
gbuomprisco eba782a11d Minor adjustments 2024-09-09 10:22:34 +02:00
gbuomprisco e4941435a2 Updated dependencies 2024-09-06 19:54:24 +02:00
gbuomprisco 106d6ec9fa Specify environment variable required in Zod message 2024-09-06 19:47:06 +02:00
gbuomprisco b32b0939b1 Only emit sign up event when the property "shouldCreateUser" is truthy 2024-09-06 18:37:09 +02:00
gbuomprisco 117602ac5e Add Lemon Squeezy environment variable schema validation and removed NODE_ENV from production variables, as it causes issues in Vercel
- Implement `getLemonSqueezyEnv` function to validate required environment variables for Lemon Squeezy integration using `zod`.
- Ensure `LEMON_SQUEEZY_SECRET_KEY`, `LEMON_SQUEEZY_SIGNING_SECRET`, and `LEMON_SQUEEZY_STORE_ID` are present and valid.
2024-09-05 15:36:11 +02:00
gbuomprisco 3e1c12fcbb Updated Next.js to 14.2.8 and other deps 2024-09-05 00:56:42 +02:00
gbuomprisco 0bd0cd975f Added missing NEXT_PUBLIC_BASELIME_KEY to instrumentation 2024-09-03 22:15:14 +02:00
Giancarlo Buomprisco 4c7a3354b9 Added shared mailer package to remove circular dependencies between packages. (#63) 2024-09-04 03:34:48 +08:00
Giancarlo Buomprisco d18f810c6e Refactored CMS packages to remove a circular dependency (#62) 2024-09-04 03:10:50 +08:00
gbuomprisco 51a40b6d40 Fix typo in translation interpolation in AppBreadcrumbs component 2024-09-03 21:04:42 +02:00
gbuomprisco 9ffa210b13 Updated dependencies 2024-09-03 19:21:23 +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 5d8e4b24d7 Fix correct locale env variable 2024-09-03 13:50:22 +02:00
gbuomprisco 65a04fcf1b Merge remote-tracking branch 'origin/main' 2024-09-03 12:18:51 +02:00
Giancarlo Buomprisco fafcafc221 Updated UI package to work with the new Shadcn CLI (#59)
Updated UI package to work with the new Shadcn CLI
2024-09-03 18:17:51 +08:00
Giancarlo Buomprisco b3b061fc2e Remove RQ experimental (#60)
* Updated dependencies

* Remove RQ Experimental - unused and some customers report issues with it
2024-09-03 18:17:11 +08: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
Giancarlo Buomprisco 5fada83913 Fix invitations to lower roles (#58)
Adjusted the SQL query to include a condition for roles at the same hierarchy level. This ensures that users with the same level of permission can properly manage invitations, improving the accuracy of role-based access control.
2024-08-30 20:43:17 +08:00
Giancarlo Buomprisco e23489d308 Fix RLS Policy for Storage preventing non-uuid file names (#57) 2024-08-30 20:39:10 +08: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 015df51cf9 Add type annotations and import missing dependencies
Added type annotations to CustomMarkdocTags to ensure type safety. Also, included missing imports for Schema and block, improving the integrity of the file.
2024-08-22 10:32:17 +02:00
Giancarlo Buomprisco 1d10dd210a Refactor to support custom Markdoc components (#52)
* Refactor to support custom Markdoc components

Introduced a new file for custom Markdoc components and updated the client to render Markdoc content using React components. Modified content renderer to handle React nodes instead of dangerously setting inner HTML.

* Add custom Markdoc tags support in Keystatic

Introduced `CustomMarkdocTags` for defining user tags. Updated `transform` to accommodate the new custom tags, enhancing tag customization in the CMS.
2024-08-22 04:34:10 +08: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 475325d5eb Add onClose callback to LemonSqueezyEmbeddedCheckout
This update introduces an optional onClose callback for the LemonSqueezyEmbeddedCheckout component. The callback is triggered when the "PaymentMethodUpdate.Closed" event occurs, providing a way to execute custom logic upon closing the payment window. Additionally, proper cleanup of the script element is implemented in the useEffect hook.
2024-08-16 12:32:01 +02:00
gbuomprisco 8647c13896 Integrate user traits into event payloads
Extends the user traits (e.g., email) in dispatch events and integrates monitoring to identify users alongside emitting events. Additionally, ensures the analytics service captures these traits when identifying users.
2024-08-16 11:00:37 +02:00
gbuomprisco 9b114454e6 Update dependencies across multiple packages
Upgraded various library versions for monitoring, UI, ESLint, and other dependencies. This includes changes to `@sentry/nextjs`, `tailwindcss`, `eslint-config-turbo`, and various other packages to ensure compatibility and enhance features. Changes were reflected in `pnpm-lock.yaml` to maintain consistency.
2024-08-16 10:29:00 +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 2f0c4b4ae3 Update dependencies across multiple packages
Upgraded several dependencies, including `wp-types`, `tailwind-merge`, `supabase`, and `typescript-eslint` plugins, to their latest versions. This ensures compatibility and includes critical bug fixes and performance improvements.
2024-08-13 13:00:21 +02:00