Commit Graph
277 Commits
Author SHA1 Message Date
Stojan Dimitrovski 27f6781250 feat: restructure auth settings (#18496) 2023-11-01 11:27:40 +01:00
7f1de2f9fb feat: add content_sid variable (#18164)
* feat: add content_sid variable

* feat: update docs

* fix: update description and image

* Apply suggestions from code review

* fix: run prettier

* Update sid labels

---------

Co-authored-by: joel@joellee.org <joel@joellee.org>
Co-authored-by: Joshen Lim <joshenlimek@gmail.com>
2023-10-31 17:10:51 +08:00
8057309e51 chore: upgrade next 13 + react 18 (#17839)
* update deps + image codemod (studio)

* update next links (studio)

* update deps

* update links (ui)

* remove next-transpile-modules

* move next-themes dependency

* chore: update ConfirmDialog

* chore: remove old ConfirmModal js file. migrated to TS

* dependency wrangling

* remove empty page

* update next links (www)

* First run bump react-data-grid-v7 beta 4

* fix package-lock.json

* more deps wrangling

* update recharts

* update sentry options

* fix some broken things in www

* studio fixes

* fix graphiql

* fix studio build

* fix menu hydration

* small build error

* update turbo

* fix www typescript errors

* docs image codemod

* links codemod docs

* fix docs typescript errors

* move useConsent to ui to prevent circular deps

* Fix links

* Fix homepage

* Fix links

* move studio/ to apps/

* Revert "move studio/ to apps/"

This reverts commit 1b0a985fcb.

* disable outputFileTracingRoot

* remove outputFileTracingRoot

* fix homepage product cards

* fix PrivacySettings links

* Fix links

* Fix the build for www.

* Minor fixes for JWTGenerator.

* Fix the docs and ui tests.

* Revert codehike back to 0.8.3

* remove ConfirmAlert()

* reenable babel because mobx hates me

* fix blog image and comparison page avatar

* Fix svg errors

* update image synthax

* Fix code hike

* Move the button in a div so that it doesn't inherit its parent height and make the button look weird.

* When components are defined in a component, they get recreated on each render. This makes them unstable in certain cases and causes infinite rerenders.

* Replace the next/head usage with next/script.

* Chore/upgrade next 13 fix table editor (#18431)

* fix table editor styling and fix row deletion logic

* Fix deleting selected rows from header, and fix checkboxes not clearing up

* Fix deleting all rows when filter applied, and fix deleting all rows

* Fix grid size styling issue

* Fix TS error

* Hydration errors

* studio org pages fixes

* fix more studio links

* audit logs fixes

* dropdown icon styling fixes

* fix some images in www

* upgrade to next 14

* try new sentry wrapper for api

* see if this is even invoked

* Revert "see if this is even invoked"

This reverts commit 86c3973ffa.

* Revert "try new sentry wrapper for api"

This reverts commit f67623ebad.

* Revert "upgrade to next 14"

This reverts commit a24dd6131e.

* chore: allow node version 19/20

* Try to fix the LogTable so that it renders with the newer "react-data-grid" version.

* Fix type errors in the log renderer code.

* Fix the replication screen.

* Add the CSS for the GraphiQL.

* Fix SQL editor results rendering

* Lint

* Fix SQL editor results height issue

* Fix auth RLS not invalidating RQ when toggling RLS

* Fix database tables new/edit column regressed

* Fix migrations page empty state if migrations schema not yet created

* Fix API side panel docs temp remove postgrest text for column description PK and FK

* Fix + improve timeout handling in SQL editor

---------

Co-authored-by: Jonathan Summers-Muir <MildTomato@users.noreply.github.com>
Co-authored-by: Joshen Lim <joshenlimek@gmail.com>
Co-authored-by: Francesco Sansalvadore <f.sansalvadore@gmail.com>
Co-authored-by: Terry Sutton <saltcod@gmail.com>
Co-authored-by: Ivan Vasilov <vasilov.ivan@gmail.com>
Co-authored-by: Kevin Grüneberg <k.grueneberg1994@gmail.com>
2023-10-31 05:51:46 +00:00
Joshen Lim e670d4d04f Reinstate rate limit fields for token refresh and verify (#18328)
* reinstate rate limit fields for token refresh and verify

* Update max limit for rate limits
2023-10-20 10:37:22 +08:00
Joel Leeandjoel@joellee.org 911d0a4d47 feat: add LinkedIn OIDCProvider (#18225)
* feat: initial commit for linkedin

* fix: update docs

* chore: add italics on linkedin

* feat: add scopes image

* Apply suggestions from code review

* chore: run prettier

---------

Co-authored-by: joel@joellee.org <joel@joellee.org>
2023-10-18 21:02:02 +08:00
Joshen Lim 8be40f1fdb Chore/separate auth rate limits into its own page (#18265)
* Create new auth rate limits page

* Hook up RQ

* Remove rate limit fields from phone provider and SMTP settings

* Update default value and descriptions for token and verification rate limits

* Add ID to each form limit rate section

* Improve rate limit descriptions

* Hide token refresh and verify rate limits
2023-10-18 19:26:41 +08:00
Alaister Young 4b0ca12ae9 fix: users reload button show spinner (#18065) 2023-10-10 04:06:22 +00:00
Joshen LimandTerry Sutton 94f5fc5a61 Feat/api side panel (#17880)
* Demo api side panel

* Add docs for storage and edge functions

* Add content

* fix

* Add scroll to logic

* Add storage docs

* Add docs URLs

* Add connecting to project section in getting started

* Link back to docs site for product + resource specific docs

* Add entry points into API side panel for table editor, auth users and storage

* Add entry points into API side panel for edge functions

* Beef up feature preview modal with content

* Fix asset path

* Address several feedback

* Addressing more feedback

* Shift GraphiQL page to database if new api docs flag enabled

* Spelling

* Wording changes

* Spacing and wording

* Fix small issues

* Fix

* Update key showing toggle button

---------

Co-authored-by: Terry Sutton <saltcod@gmail.com>
2023-10-05 13:30:12 +08:00
Ivan Vasilov 7dea89cc35 Drop the _shadcn_ suffix from the the Dropdown component (#17804)
Replaced all occurrences of _shadcn_ for the Dropdown component.
2023-10-03 13:12:34 +02:00
Ivan Vasilov 18c11843ee Dropdowns migration followup (#17730)
* Remove text color from all dropdown items. The color was set by a class but it should be left to be decided by the parent.

* Make the text smaller in all dropdown elements.

(cherry picked from commit 9a71b3f987047ad26de6e5d496ccf53bc559f71d)

* Fix mismatched colors.

* Remove obsolete text-xs.

* Fix the button in the AI SQL editor.
2023-09-29 11:11:33 +00:00
Kevin Grüneberg bc1c9090c2 fix: use prettier on studio too (#17787) 2023-09-28 20:31:07 +02:00
Ivan Vasilov 282b08ba60 Migrate CSS classes for lighter text (#17728)
Change all occurences of text-scale-900 to text-foreground-lighter.
2023-09-27 12:01:25 +08:00
Ivan Vasilov 76db9f27b3 Migrate dropdowns to use the new Dropdown component (#17427)
* Remove unneeded component.

* Update the dropdown content to support size prop (medium by default). Add space-x-2 to the dropdown item. Add flex to DropdownTrigger so that it's more vertically centered.

* Migrate Insert row dropdown in the TableEditor.

* Refactor UserDropdown to use the new Dropdown from shadcn.

* Migrate the ColumnMenu to use the new dropdown.

* Migrate the rest of the dropdowns.

* Remove the size prop and set the w-64 as default.

* Fix build errors.

* More dropdown fixes.

* More fixes.

* More fixes to various dropdowns.

* Remove the flex from the DropdownTrigger and add it in where it's needed.

* Snapshot.

* Remove keys on dropdown separators.

* Fix the dropdown in the SQL editor.

* Minor type fix.

* Remove space-x-2 from DropdownMenuItem and add it to each item where it's needed.

* Remove the space from the dropdown item.

* Fix a build error.

* Fix the item text in some of the dropdowns.

* Remove duplicate CSS from all dropdown items.

* The SubMenuContent text should be lighter to match MenuContent.

* Fix various CSS issues.

* Revert "Remove unneeded component."

This reverts commit ef606f6695.

* Fix migrated CSS classes.

* Last round of feedback fixes.
2023-09-26 15:29:07 +02:00
Terry Sutton 1ecdd19d4d Chore/add linkedin warning (#17732)
* Add warning for linkedin oauth implementation

* Add warning title

* Update warning
2023-09-26 13:14:14 +00:00
Ivan Vasilov 6648acacea Migrate CSS classes for light text (#17725)
* Replace all occurences of text-scale-1100 to text-foreground-light.

* Replace all occurences of text-scale-1000 with text-foreground-light.

* Fix double uses of text-foreground-light.
2023-09-26 11:05:28 +02:00
Joshen Lim 7aee78a8b8 Replace all occurences of text-scale-1200 with text-foreground (#17723)
* Replace all occurences of text-scale-1200 with text-foreground

* Fix spelling
2023-09-26 15:53:03 +08:00
Joshen Lim 95344c246b Chore/deprecate local observable (#17642)
* Deprecate local observable in api.tsx

* Deprecate local observable in auth users pqage

* Replace prop drilling refetch with proper query invalidation in mutations
2023-09-26 13:25:38 +08:00
Greg Richardson 75e1f75551 feat(dashboard): header wording on discard modal warnings 2023-09-18 13:04:01 -06:00
Greg Richardson f86fd17e64 feat(dashboard): button wording on discard modal warnings 2023-09-18 12:44:16 -06:00
Joshen Lim 73636a133a ProviderForm convert all empty strings in payload to null values 2023-09-07 12:44:04 +08:00
Stojan Dimitrovski 645baca9bd feat: add test otp 2023-09-06 13:47:47 +02:00
Joshen Lim 55ce5c9f0b Add tooltip to show other roles 2023-09-06 14:26:29 +08:00
Joshen Lim 514467abfd Only show first 3 roles in each policy if theres more than 3 roles applied 2023-09-06 13:08:22 +08:00
Joshen Lim 9f982896ce Samll style fix 2023-09-05 17:41:22 +08:00
Terry Sutton 730ba8690e Merge branch 'master' into chore-enable-insert-policy 2023-09-01 15:11:40 -02:30
Stojan Dimitrovski a1e4a0971a feat: display rate limit alert on email templates page 2023-09-01 12:12:12 +02:00
Joshen Lim 6711f03141 Fix auth site url to only update site url param 2023-08-31 12:28:40 +08:00
Terry Sutton 4d33662661 Merge branch 'master' into chore-enable-insert-policy 2023-08-29 12:42:52 -02:30
Joshen Lim 72a0431bb1 Clean up feature flags 2023-08-29 14:04:18 +08:00
Terry Sutton 3a2b9f9017 Merge branch 'master' into chore-enable-insert-policy 2023-08-25 16:26:29 -02:30
kishanhitk bae7162130 fix: confirmAlert not dismissing. 2023-08-25 22:27:30 +05:30
kishanhitk cca4bfeb76 feat: add await and error handling in delete user api 2023-08-25 21:05:12 +05:30
Ivan Vasilov e277ebe95f Merge branch 'master' into chore/migrate-auth-to-react-query 2023-08-21 13:15:26 +02:00
Kang Ming 12d8e180e1 fix: improve jwt expiry description 2023-08-16 12:20:05 +08:00
Kang Ming 22877a5aed fix: update copy for site url 2023-08-16 12:17:53 +08:00
Ivan Vasilov 339bb538b6 Fix all remarks from Joshens review. 2023-08-11 14:23:00 +02:00
Ivan Vasilov 1c95b0766c Rewrite the Auth components using react-query. 2023-08-09 20:59:20 +02:00
Kang Ming 0da3d847b3 fix: relax isSmtpEnabled criteria 2023-08-08 17:46:44 +08:00
Ivan Vasilov 88ff55b923 Merge pull request #16255 from hellofaizan/master
Text center-aligned instead of left-aligned in dropdown menu #16243 |…
2023-08-07 15:42:11 +02:00
Joshen Lim 012b1493be Remove all usage of FC part 2 2023-08-07 10:28:23 +02:00
Joshen Lim 8a1bb9b36b Remove all usage of FC part 1 2023-08-07 13:56:43 +08:00
Mohammad Faizan 5900c7ff76 Text center-aligned instead of left-aligned in dropdown menu #16243 | Fixed 2023-08-06 10:20:19 +00:00
Abdurrahman Rajab cd9b301220 feat: add check 2023-08-03 22:39:09 +03:00
Greg Richardson 7204ac26fe Merge branch 'master' into chore/update-brand-colors 2023-08-01 16:10:52 -05:00
Ivan Vasilov 3c63780471 Merge pull request #16074 from supabase/fix/add-alert-for-custom-smtp
feat: Add an alert if the user is using the built-in email server
2023-07-31 17:13:06 +02:00
Ivan VasilovandJonathan Summers-Muir b246b1e5db Open a documentation link in a new tab.
Co-authored-by: Jonathan Summers-Muir <MildTomato@users.noreply.github.com>
2023-07-31 13:06:02 +02:00
Jonathan Summers-Muir 8b8e491627 chore: update old brand-1100 and brand-1200 to new brand-600 2023-07-30 17:15:54 +08:00
Jonathan Summers-Muir 2b3d49af3b chore: update old brand-700 to new brand-400 2023-07-30 17:03:30 +08:00
Jonathan Summers-Muir ab46d23d58 chore: update brand-900 to brand 2023-07-30 16:58:54 +08:00
Joshen Lim 4924b41781 Merge pull request #16115 from supabase/studio
Sync master <- studio
2023-07-30 16:45:02 +08:00