Commit Graph
3910 Commits
Author SHA1 Message Date
Kang MingandJoshen Lim cdf1159b3f feat: add email template preview (#20681)
* feat: add email template preview

* fix: change tab order & add alert

* Update apps/studio/components/interfaces/Auth/EmailTemplates/TemplateEditor.tsx

---------

Co-authored-by: Joshen Lim <joshenlimek@gmail.com>
2024-01-24 14:27:15 +07:00
Joshen Lim 205e8b55a7 Change error highlghting color sql editor (#20691) 2024-01-24 14:15:57 +07:00
Kang Ming 3ef2a4b584 refactor: use the platform route instead of v1 (#20668)
fix: use the platform route instead of v1
2024-01-24 13:43:29 +07:00
c4f58c7815 fix: add rate limit exhaustion content card for auth email rate limits (#18785)
* fix: add rate limit exhaustion

* feat: update copy on warning

* feat: update copy

* feat: update copy of message

* feat: add docsUrl

* Update ResourceExhaustionWarningBanner.constants.ts

* Update

* Fix ts

---------

Co-authored-by: joel@joellee.org <joel@joellee.org>
Co-authored-by: joel <joel@joels-MacBook-Pro.local>
Co-authored-by: Joshen Lim <joshenlimek@gmail.com>
2024-01-24 14:30:20 +08:00
Thomas b0fa64f07b Adds note about potential downtime to IPv4 add-on panel (#20669)
* Adds note and links to docs instead of GH discussion
2024-01-23 15:06:17 +01:00
Joshen Lim 401d6ad6e8 Chore/update connection string settings kaizen (#20658)
* Add pooling mode dropdown to toggle between ports

* Fix

* Default pooling mode to the one thats configured

* Update based on feedback

* Fix

* Update pooling modes modal copy

* Small update

* Small copy update

* Small copy update

* Another one

* One final one
2024-01-23 20:12:20 +07:00
Francesco Sansalvadore 83db476a17 ipv4 banners (#20666)
add ipv4 deprecation banner in www
2024-01-23 14:12:08 +01:00
Jordi Enric 0b6b449c4c fix: copying row values not working (#20671)
add deps to keyboard shortcut hook
2024-01-23 09:34:49 -03:30
Joshen Lim 2bf174335e Fix CSP for storage preview (#20667) 2024-01-23 17:59:23 +07:00
Joshen Lim 88ef61bd6f Add cron schema to EXCLUDED_SCHEMAS (#20664) 2024-01-23 09:56:52 +00:00
Alaister Young caa5f4c5fa fix: include websockets in CSP (#20657) 2024-01-23 18:26:32 +11:00
Kevin Grüneberg c3976cf73e chore: align naming for micro instance (#20656) 2024-01-23 15:25:25 +08:00
Thomas 755461cdca chore: Customize price plan info for partner Fly (#20642) 2024-01-23 12:51:28 +08:00
Terry SuttonandAlaister Young 554fcb2531 Add worker to csp (#20644)
* Add worker to csp

* Prettier

* Prettier

* Prettier

* Prettier

* fix prettier

---------

Co-authored-by: Alaister Young <a@alaisteryoung.com>
2024-01-22 22:46:44 -03:30
Joshen Lim bf500447a6 Update CSP for staging storage (#20633)
* Update CSP for staging storage

* Update
2024-01-22 15:00:57 +00:00
Thomas dba3fcb852 chore(usage-summary): Link to docs in Compute Hours tooltip (#20630)
Adds link to docs to Compute Hours tooltip
2024-01-22 22:04:18 +08:00
ThomasandKevin Grüneberg 43cc703ce8 Improve Billing Breakdown section (#20498)
* Displays current costs

* Displays Compute Credits

* Adds tooltips for Compute Hours, Compute Credits, Current Costs and Projected Costs

* Formats amounts properly

---------

Co-authored-by: Kevin Grüneberg <k.grueneberg1994@gmail.com>
2024-01-22 13:18:51 +01:00
Joshen Lim d76c46cc42 Chore/update db connection string kaizen 2 (#20621)
* Add logic to determine if project resolves to ipv6, change badge text on use pooler connection checkbox based on that

* Fix text

* Fix type
2024-01-22 18:10:25 +07:00
Joshen Lim 078a694ed4 Fix database tables page not updating when creating/deleting tables (#20625) 2024-01-22 18:02:15 +07:00
Joshen Lim 2d8e6f1f75 Trim enum values when creating or updating enums on database enums page (#20626)
* Trim enum values when creating or updating enums on database enums page

* Fix database webhooks truncate name if too long

* Wrap badges in DB triggers page
2024-01-22 18:00:10 +07:00
Alaister Young 677f7aada5 chore: update dashboard CSP (#20519)
* chore: update dashboard CSP

* allow images from supabase.com

* allow vercel thingy on preview

* more vercel thingy things

* fix incorrect semicolons

* add gotrue url

* allow connecting to projects

* more fixes for vercel

* add stripe

* add stripe frame

* add 1.1.1.1

* add cloudflare url

* add more domains
2024-01-22 21:33:46 +11:00
Jordi Enric a30d293881 chore: use new menu component in org tabs (#20549)
* use new menu component in org tabs

* rm unused import

* rm ternary add filtered items const
2024-01-22 11:19:33 +01:00
Jordi Enric 10bd13fba8 chore: use new nav in database backups page (#20552)
use new nav in database backups page
2024-01-22 11:19:11 +01:00
Nabhag Motivaras eaf38b38c8 fix(dashboard): enumerated types window showing other types such as composite (#20576)
fix(dashboard): enumerated types window showing other types
2024-01-22 16:33:16 +11:00
Joshen Lim 89a96c788a Update network restrictions to support IPv6 (#20548)
* Update network restrictions to support IPv6

* Fix conditional

* Fix

* Fix
2024-01-22 11:24:35 +07:00
Joshen Lim a194856cd7 Update connection string syntax for python (#20615) 2024-01-22 04:17:35 +00:00
683fe3a6cd Chore/update database settings (#20575)
* Add connection string syntax

* Add more description to pooling modes

* Fix

* Test

* Fix

* Sm wording change

* Update apps/studio/components/interfaces/Settings/Database/ConnectionPooling/ConnectionPooling.tsx

* prettier

---------

Co-authored-by: Terry Sutton <saltcod@gmail.com>
Co-authored-by: Kevin Grüneberg <k.grueneberg1994@gmail.com>
2024-01-22 11:07:17 +07:00
Jordi Enric 62e1a3fb2a fix: add schema name to url query params (#20580)
add schema name to url query params
2024-01-19 18:22:47 +01:00
Joshen LimandAlaister Young c5ebc8023c Add error handling for realtime inspector broadcast (#20565)
* Add error handling for realtime inspector broadcast

* upgrade supabase-js

* broadcast button styling changes

---------

Co-authored-by: Alaister Young <a@alaisteryoung.com>
2024-01-19 13:59:01 +08:00
Jordi Enric b35443ccaa chore: migrate tabs component to new NavMenu component (#20447)
* migrate vault tabs to shadcn

* fix lightmode D:

* refactor to use <Link> so its more accessible

* rm commented code

* add navigation-tabs compo

* use shadcn tabs instead

* rm navigationtabs compo

* add new navmenu compo for tabs that require navigation

* make label optional and pass ref of nav element
2024-01-18 11:40:50 +01:00
divit d9c0e1e39c fix: supavisor network restrictions date (#20546)
* fix: supavisor network restrictions date

* fix: supavisor network restrictions date
2024-01-18 18:29:29 +11:00
Joel Leeandjoel a9057f401a feat: drop deprecated linkedin provider from frontend (#20510)
Co-authored-by: joel <joel@joels-MacBook-Pro.local>
2024-01-18 05:25:17 +00:00
Aleksander a459da88dd Fixed a typo in database connection pool settings (#20530)
fixed typo
2024-01-18 02:58:28 +00:00
Ivan Vasilov 2c59176ceb fix: Handle an unparseable connection string in the connection pooling page (#20538)
Add a try catch if the connection string can't be parsed.
2024-01-17 21:58:00 +01:00
Inian 11cd11c3d1 note about pooler network restrictions enforcement (#20478)
* note about pooler network restrictions enforcement

* update studio network restrictions page

* update network restrictions doc

* improve wording

* update date
2024-01-17 14:08:55 +00:00
Joshen Lim da2d94d41a Normalize IP address when adding restriction (#20514)
* Normalize IP address when adding restriction

* 🤦‍ actually use normalized address in the payload

* Swap geoplugin with ipify

* Remove use my ip address button
2024-01-17 18:03:56 +08:00
Jonathan Summers-Muir 0415e6e6e3 Remove branching early access support link (#20505)
* Update EmptyStates.tsx

* Update BranchingWaitlistPopover.tsx

* Update BranchingWaitlistPopover.tsx
2024-01-17 18:02:12 +08:00
Terry Sutton a652bae7d6 Check if project is loading (#20497) 2024-01-16 16:41:33 -03:30
Joshen LimandIvan Vasilov 9110b56ef5 Update pooler conn string syntax (#20488)
* Update pooler conn string syntax

* Handle the case where the cloud provider is fly. Remove an extra password field from the string.

* Delete a comment.

---------

Co-authored-by: Ivan Vasilov <vasilov.ivan@gmail.com>
2024-01-16 16:56:42 +00:00
Joshen Lim 73c134ceb4 Table editor cell enum dropdown, dont show null option if column is not nullable (#20474)
Table editor cell enum dropdown, dont show null option if column is not nullabl
2024-01-16 22:56:39 +08:00
Div Arora b14f283f3d fix: add a note that extensions might need to be dropped (#20473) 2024-01-16 14:47:28 +01:00
Alaister Young 4bf421c5c3 fix: entity types query keepPreviousData (#20476) 2024-01-16 23:06:22 +11:00
Austin Tran 8e5b289fcf fix: table editor not refresh when change schema (#20466)
fix: reset table if change schema
2024-01-16 21:06:35 +11:00
Joshen LimandAlaister Young f482c67ef1 Replace branching waitlist CTA with support CTA (#20472)
* Replace branching waitlist CTA with support CTA

* Add docs URL

* Update apps/studio/components/interfaces/BranchManagement/EmptyStates.tsx

Co-authored-by: Alaister Young <alaister@users.noreply.github.com>

* Update apps/studio/components/layouts/AppLayout/EnableBranchingButton/BranchingWaitlistPopover.tsx

Co-authored-by: Alaister Young <alaister@users.noreply.github.com>

---------

Co-authored-by: Alaister Young <alaister@users.noreply.github.com>
2024-01-16 16:35:53 +08:00
Kevin Grüneberg 4152d21478 feat: configure ipv4 addon (#20433) 2024-01-16 16:08:50 +08:00
Joshen Lim 53d0ae84dd Update max client conns (#20469) 2024-01-16 05:48:52 +00:00
Joshen Lim 09a77a85e5 Chore/update database connection string settings (#20429)
* Slight refactor to DatabaseConnectionString

* Add IPv4 deprecation warning to database connection strings + link to pooler settings

* Add description in connection pool url to show the format

* Add badges to connection settings and connection pooling settings RE resolving to ipv4 or ipv6

* Add default pooler size as placeholder in connection  pooling depending on compute instance size

* Fix badge

* Add note to use session pool mode in pooler settings if using prepared statements in db

* Shift connection pooling settings up top and change titles of panels

* Fix

* Update pooling size default value based on compute size

* Show max client conns for supavisor pooling settings

* Adjust copywriting

* Combine database settings and connection strings sections

* Address comments

* Update description to use 5432 as alternative for pooling when using prepared statements

* Fix
2024-01-16 13:38:32 +08:00
Jordi EnricandAlaister Young c1705a22ab Feat: add log explorer query update and deletion (#20343)
* add log explorer query deletion, align table vertically, fix longer descriptions breaking table layout

* undo change in logsexplorer indexts, rm unused import

* add update query feature

* use IconMoreVertical in users table

* add err handler and loading button while deleting a query

* disable save btn while saving new query

* fix tiny nit

---------

Co-authored-by: Alaister Young <a@alaisteryoung.com>
2024-01-15 17:40:30 +01:00
Ivan VasilovandJoshen Lim 5417ba344f fix: Handle Cloudflare errors in the region selector (#20435)
* Simplify the logic when selecting another cloud provider.

* Make the regionSelector handle errors and not block the selec when it's loading.

* Add retry logic in get default region query

---------

Co-authored-by: Joshen Lim <joshenlimek@gmail.com>
2024-01-15 23:40:00 +08:00
Lokesh Vasnik 63a72e1db6 fix Enumerated Types Doesn't Reset the List (#20240) 2024-01-15 09:53:30 -03:30