Commit Graph
100 Commits
Author SHA1 Message Date
gbuomprisco 124edb006e Docs: handle errors gracefully when extracting headings from JSX 2024-11-01 15:03:42 +08:00
gbuomprisco 9681d51a08 Create team: Improve error handling when creating team. 2024-11-01 14:46:29 +08:00
gbuomprisco 3b88733d6c Added pino-pretty for prettifying logging 2024-11-01 14:45:02 +08:00
gbuomprisco 2f1be787f7 Updated dependencies 2024-11-01 10:55:46 +08:00
gbuomprisco 1faa5772fd Docs: improved sidebar size and scrolling when has a large number of items 2024-10-30 21:49:48 +08:00
Giancarlo Buomprisco 9615d1a4bb Documentation Updates (#79)
* Docs: Added Shadcn sidebar; added algorithm to automatically infer parents without needing to specify it.
* Extracted Markdoc compilation in a separate file
* Site Navigation: simplify nav by removing the border
* Docs Navigation: added TOC; improved layout on mobile
2024-10-30 20:49:44 +08:00
gbuomprisco 6490102e9f Updated packages 2024-10-30 12:46:55 +08:00
gbuomprisco c386fabbc2 Requirements: check PNPM version is compatible with Makerkit's required version 2024-10-29 15:24:25 +08:00
Giancarlo Buomprisco 3bfc643691 Added requirements script to ensure the current system can run Makerkit. (#78)
1. Check Node.js version is greater than 18.18.0
2. Check the current path doesn't include OneDrive. OneDrive causes issue with importing modules.
2024-10-29 12:57:06 +08:00
gbuomprisco f9bd5b3802 Node.js minimum versions is now 18.18.0.
Updated other dependencies and run linting fixes.
2024-10-29 11:07:47 +08:00
gbuomprisco 81e468adc0 Updated dependencies 2024-10-29 10:30:13 +08:00
gbuomprisco 8da8ed3376 Force i18next version in the package.json overrides to make sure peer dependencies use the same version. 2024-10-28 15:26:34 +08:00
gbuomprisco b47151fb3c React Compiler: never memo Tanstack Table 2024-10-28 12:14:53 +08:00
gbuomprisco 74c4f3cc85 Fix dev tooling script at startup to also check pending commits 2024-10-28 11:13:27 +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
gbuomprisco 93b0f3d450 Sidebar: fix collapsible props 2024-10-26 11:44:18 +08:00
gbuomprisco 681a7c9233 Sidebar: fix collapsible state 2024-10-25 20:55:38 +08:00
Giancarlo Buomprisco 2209e2988b Sitemap: renamed server-sitemap to sitemap; added caching; set up redirect for retro-compatibility (#76) 2024-10-25 17:26:02 +08:00
gbuomprisco c00ec761d3 Updated dependencies 2024-10-25 15:48:01 +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 df944bb1e5 Scripts across various package encapsulated into a package named "scripts". Added a script to verify no secrets were leaked into the Git .env files (#74) 2024-10-25 15:43:10 +08:00
gbuomprisco 8d1cdcfa11 Monitoring Service: ensure service is ready before calling captureException 2024-10-24 00:50:23 +08:00
gbuomprisco 4134315076 Convert enhanceRouteHandler params into a Promise-based Dynamic API 2024-10-22 15:08:17 +08:00
gbuomprisco a99d9483d6 Updated Lock file 2024-10-22 14:55:11 +08:00
gbuomprisco 201bca128d Remove debugging script 2024-10-22 14:42:01 +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
gbuomprisco 93cb011260 Sidebar: Collapse logo when sidebar is collapsed 2024-10-15 16:58:09 +08:00
gbuomprisco 03cd7fcd3f Sidebar: added transition to text, reduced animation speed 2024-10-15 14:45:53 +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 8f5690b959 Allow customers to subscribe for a free trial without the need to enter their CC details (#68) 2024-10-12 12:19:46 +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 1ee6d8c669 Orders: Use "id" instead of wrong "session_id" property 2024-10-09 17:04:26 +02:00
gbuomprisco 6d74d7d958 Update buggy version of the Supabase CLI 2024-10-09 14:52:21 +02:00
gbuomprisco 08e3d22d48 Update Shadcn CLI settings 2024-10-09 11:24:56 +02:00
gbuomprisco 376f2cc2a9 Update i18next 2024-10-08 18:02:05 +02:00
gbuomprisco 832ae117fa Update Supabase to use the latest CLI 2024-10-08 14:37:53 +02:00
gbuomprisco e9500463bf Enforce deletion environment variables server side; added logging 2024-10-08 00:37:35 +02:00
gbuomprisco 67f428a56d Fix version checker 2024-10-07 19:41:14 +02:00
gbuomprisco 87212d397c Display severity of current outdated version 2024-10-07 19:38:39 +02:00
gbuomprisco 00906d9564 Remove "dev:web" command in favour of "dev" 2024-10-07 18:34:29 +02:00
gbuomprisco 2f7e582483 Added check to war user if some migrations are not yet applied 2024-10-07 18:06:32 +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 3bf16eecdf Added issue template to Github 2024-10-03 11:09:03 +02:00
gbuomprisco b912e6376b Allow restricted keys in Stripe line item IDs 2024-10-02 22:16:23 +02:00
gbuomprisco 0c7c2e66f7 Updated Dependencies 2024-10-01 12:01:12 +02:00
gbuomprisco d6bcbbdfdf Use a custom config named user.username to pass Github username to the checker 2024-09-22 23:19:22 +02:00
gbuomprisco d5f23cd49f Updated setup generator with a pre-commit script 2024-09-22 20:21:25 +02:00
gbuomprisco fff0b40a65 Updated license checker to log errors; updated dependencies. 2024-09-22 19:55:25 +02:00
gbuomprisco e16ca0b856 Do not throw if a remote repository is not found 2024-09-22 18:24:25 +02:00
gbuomprisco 3221677bd3 Use version checker to inform customers that they may be running an outdated version of Makerkit 2024-09-22 16:23:55 +02:00
gbuomprisco b0d052a108 Updated checker to use JS; Added initial setup script as a Turbo command 2024-09-22 15:42:27 +02:00
gbuomprisco 1433acfff7 Added license checker 2024-09-22 11:53:54 +02:00
gbuomprisco 8d13d31162 Added "use client" to a React Context file 2024-09-22 09:45:30 +02:00
gbuomprisco 9f5c2f57b0 Page Header: do not add markup if the prop is not passed in 2024-09-20 20:41:45 +02:00
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