Commit Graph
28248 Commits
Author SHA1 Message Date
Jānis RuduksandCharis e8ca554bee fix: .env variable typo (#22884)
typo fix

Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
2024-06-11 05:18:03 +00:00
Tyler b4e3f47008 docs: Add Flutter / Dart sample codes into the guides. (#27106)
* docs: Adds Dart sample code into using custom schemas guide

* Add Flutter code to OAuth docs

* docs: Add sign out Flutter code to the OAuth guides

* Add Flutter code samples to the auth guides

* docs: Add Flutter code samples to storage docs

* docs: align all Flutter sample code to say Flutter instead of Dart

* docs: sort clean up Flutter and Dart labels

* docs: minor sample code fix

* run prettier
2024-06-11 14:05:52 +09:00
Dhairya Shah 85d12f090e bug: fixed indentation issue in docs (#27112)
fixed indentation issue
2024-06-10 23:50:24 +00:00
Bhaskar Rijal 24cf4c78b7 docs: fix the broken link (#27118)
Update passwords.mdx fixing the broken link of email template page
2024-06-10 22:55:55 +00:00
github-actions[bot]andphamhieu 8d9dda6d12 feat: update mgmt api docs (#26987)
Co-authored-by: phamhieu <689843+phamhieu@users.noreply.github.com>
2024-06-10 22:25:03 +00:00
Pamela Chia cc66ffced4 chore: add contact button across docs (#27161) 2024-06-10 18:03:53 -04:00
Pamela Chia ce0fef654c fix: typo in migration docs (#27160) 2024-06-10 22:09:43 +01:00
Kang Ming f205b95e22 docs: update auth ui (#27158) 2024-06-11 01:41:35 +08:00
Alaister Young 08955bfe68 chore: enable webpackBuildWorker (#27145)
* chore: enable webpackBuildWorker

* prettier
2024-06-10 17:20:53 +02:00
Ivan Vasilov 9b72cd8cf6 fix: Move the sentry user generation logic into the telemetry component (#27152)
* Move the sentry user generation logic into the telemetry component.

* Fix a missing import.
2024-06-10 14:41:18 +00:00
karlo 64fa8721b6 chore: Add Operational Error Codes for Realtime (#27110) 2024-06-09 09:21:15 +08:00
Stojan Dimitrovski 5772fbf911 docs: add error codes auth (#22793) 2024-06-08 12:31:52 +02:00
Joel Lee 7547c52e4f fix: revoke role on public for hooks (#27077)
* fix: revoke role on public for hooks

* fix: update SQL editor queries

* fix: update examples

* fix: update RBAC doc

* fix: update description to describe why we revoke public

* fix: correct use of we

* fix: run prettier

* fix: remove unintentionally added files
2024-06-07 22:03:12 +02:00
Ivan Vasilov 5847ad54cf fix: Test the playwright tests in Github actions (#26799)
* Add an API page for run-lints endpoint.

* Fix the playwright test.

* Make the check mandatory in the github action.

* Fix a console.log.

* Use a more stable way of waiting for buttons before clicking them.

* Add helper method for dismissing toasts.

* Wait for the other toast.

* Try and fix the flakiness of the toasts.

* Minor fix.

* Upload artifacts at the end of the github action run.

* Fix yaml stuff.

* Use the newer action for uploading. Shorten the retention period to 7 days.

* Add waitForResponse for the entity types API call.

* snapshot.

* Wait for the page to be loaded.

* Make the timeout bigger when waiting for response.

* Try to fix the timeouts.

* Minor restructuring of the test.

* Add another test and few minor todo tests.

* Fix the table names.

* Don't render hcaptcha in test mode.

* Expand the test to include sorting and filtering.

* Add a test for checking if the other schemas are can be listed.

* Make the sort popover button more stable.

* Fix a unused forward ref in the NavMenuItem component.

* Don't render the Toaster container when in test mode.

* Simplify starting the dev server when testing.

* Fix all inputs to have proper test ids.

* Fix the command for testing.
2024-06-07 17:44:28 +02:00
Kamil Ogórek 7940e50d93 Sentry docs updates (#27092)
* docs: Update Sentry integration docs to work with SDK v8

* docs: Update Edge Functions monitoring with Sentry with note about scopes

* docs: Reportdog stylistic updates

* misc: Fix prettier errors
2024-06-07 14:49:47 +00:00
Alaister YoungandIvan Vasilov a82bf1311d chore: branches tabs use url state (#27085)
* chore: branches tabs use url state

* break out tab type

* Add extra type niceness.

---------

Co-authored-by: Ivan Vasilov <vasilov.ivan@gmail.com>
2024-06-07 22:13:06 +08:00
Monica KhouryandTerry Sutton 538b59b698 Feat: Populate docs search on support form subject field (#23667)
* Draft: Docs Search

* Add: Command_Shadcn_

* Fix: typecheck error

* Fix: typecheck null error

* Fix: docs search when the subject field is emptied

* Make the design more compact and show only 5 results

* Add inset around results

* Fix inset

* Fix conflict errors

* Fix hover effect

* replace commands with links

* Fix broken links

* Nudges

---------

Co-authored-by: Terry Sutton <saltcod@gmail.com>
2024-06-07 10:16:01 -02:30
Ivan Vasilov cc47815af9 fix: Show the notice only on local/staging (#27089)
Show the notice only on local/staging.
2024-06-07 17:40:18 +07:00
Alaister Young e169e47171 fix: create preview branch modal (#27083)
* fix: create preview branch modal

* remove console.log
2024-06-07 08:26:08 +00:00
Joshen Lim e89c66fafd Add note for project creation region selection for local/staging (#27082) 2024-06-07 15:01:10 +07:00
Kevin Grüneberg 6f708d3f62 chore: adapt to new v2 customer update endpoint (#27081) 2024-06-07 15:40:06 +08:00
1e108491c1 chore: Refactor the StorageExplorerStore to use API calls from the data folder (#23222)
* Migrate all API calls to data folder.

* Remove unused mutation.

* MInor leftover type fixes.

* chore: Make the `StorageExplorerStore` fully typed (#23397)

* Migrate all API calls to data folder.

* Convert the poor man enums into proper enums.

* Add types to most of the methods.

* Add types around the methods for uploading files.

* Add types for file cache.

* Add types for buckets.

* Fix bunch of type errors.

* Add types to all store methods. Fix all types in components related to the store.

* Remove all anys from the Storage components.

* Fix the multiple selection.

* Fix the selected checkbox.

* Set all private methods to private and delete some unneeded code.

* Remove unneeded mutation.

* Update all mutations for storage explorer to follow template syntax

* Update apps/studio/components/to-be-cleaned/Storage/StorageExplorer/PreviewPane.tsx

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

---------

Co-authored-by: Joshen Lim <joshenlimek@gmail.com>
Co-authored-by: Alaister Young <alaister@users.noreply.github.com>
2024-06-07 14:01:45 +07:00
Joshen Lim 72fd5f5121 More whitelisting non critical errors (#27057)
* More whitelisting non critical errors

* 2 more whitelist errors
2024-06-07 13:51:20 +07:00
Charis 308b3e06b9 fix(last changed): timestamps from gh actions (#27075)
Need a fetch-depth 0 in order to preserve commit dates within GitHub
Actions, otherwise a shallow fetch will use the current date as the
commit date, which renders this entire flow useless.
2024-06-06 18:13:39 -04:00
Greg Richardson 78ebcd8397 chore: bump @supabase/sql-to-rest to v0.1.6 (#27076) 2024-06-06 14:26:53 -06:00
Charis c281dd0eb1 ci(docs): update last_changed table action (#27038)
Keeps track of fine-grained (per section) edit times for docs content.

Once daily, a GitHub Action runs that:

- Checks whether content hashes have changed for each section
- Updates the table that tracks content edit times if the hashes have changed

Note: The cron job isn't scheduled yet. I'll run the Action manually a few times to validate it, then turn it on in another PR.
2024-06-06 15:20:05 -04:00
Charis a210d3a15e fix(docs): fix broken link (#27073) 2024-06-06 18:26:35 +00:00
Peter 9fd79a410c docs: Update pgAdmin connection guide (#26955)
Update pgAdmin connection guide
2024-06-06 12:18:14 -05:00
Ivan Vasilov 04251d7a36 fix: Try to fix the content-layer task in www (#27060)
* Empty commit.

* Another empty commit.

* Remove a postbuild command.

* Empty commit to trigger www caching.

* Organize the www tasks into turbo.

* Revert "Empty commit to trigger www caching."

This reverts commit d9c1c66c7f.

* Revert all changes but add caching for the www#build.

* Random change.

* Revert "Random change."

This reverts commit c925da9046.

* Remove unneeded script.
2024-06-06 16:59:29 +02:00
Jonathan Summers-Muir 4b1780b764 [Dashboard] fix: dialog branching, add block (#27064)
* fix: dialog branching

* TS fixes
2024-06-06 16:23:36 +02:00
Jonathan Summers-MuirandJoshen Lim 330ae6e407 [Dashboard] Chore/refactor new project form (#26997)
* init layouts in project settings

* Update general.tsx

* update gap

* Update Scaffold.tsx

* Update PostgrestConfig.tsx

* Update PostgrestConfig.tsx

* spacing issues

* now added a enabled switch

* Revert "now added a enabled switch"

This reverts commit f22050302a.

* Update PostgrestConfig.tsx

* Update PostgrestConfig.tsx

* revert

* Update project-postgrest-config-update-mutation.ts

* add bottom padding

* init changes

* Update PostgrestConfig.tsx

* Update [slug].tsx

* Update PostgrestConfig.tsx

* fix

* Update PostgrestConfig.tsx

* Update PostgrestConfig.tsx

* Update PostgrestConfig.tsx

* Pull updates, resolve conflicts

* remove staging/local specific logic.

• stopped provider Select from flashing
•

* Update [slug].tsx

* split up region query

* Update [slug].tsx

* Update [slug].tsx

---------

Co-authored-by: Joshen Lim <joshenlimek@gmail.com>
2024-06-06 19:32:10 +08:00
Michael RidleyandMichael Ridley e84d4de131 Customerstory/tinloof (#27042)
Customer Story: Tinloof

new file:   apps/www/_customers/tinloof.mdx
modified:   apps/www/public/customers-rss.xml

Co-authored-by: Michael Ridley <michael@supabase.io>
2024-06-06 11:15:30 +00:00
Jonathan Summers-Muir 36dcd0b63e [Design System] fix: <Sheet /> z-index value (#27058)
* Update sheet.tsx

* Update defaultTheme.ts
2024-06-06 18:53:30 +08:00
Thor 雷神 Schaeff dda1c05ebd docs: Debugging Edge Functions with Inspector (#27014)
* chore: update ai types.

* docs: start ef inspector docs.

* chore: break out into own page.

* chore: spelling.

* chore: chrome devtools only.
2024-06-06 17:21:36 +08:00
Alaister Young 95aa2c6d14 fix: quote get cell value column (#27036) 2024-06-06 13:02:33 +07:00
Joshen Lim fcbf4f8f06 White list some non critical auth errors (#27049) 2024-06-06 12:45:42 +07:00
Kevin Grüneberg 53bc34fa9e chore: adjust project transfer texts (#27048) 2024-06-06 13:40:39 +08:00
Joshen Lim 3a9e99f30e Add sentry alerts for critical points of failures (#27029)
* Add sentry alerts for critical points of failures

* Prettier
2024-06-06 11:07:34 +07:00
Tyler 3276d64075 docs: Fix the headings within tabs of Google sign-in guide (#27017)
* docs: Minor update to match the new section titles

* minor format fix
2024-06-06 10:32:49 +09:00
9edb8bbcba Customerstory/voypost (#27039)
* Customer Story: Voypost

* Customer Story: Voypost

* Update apps/www/_customers/voypost

* Updated to use new imnage paths

---------

Co-authored-by: Michael Ridley <mridley@Michaels-MacBook-Pro-2.local>
Co-authored-by: Michael Ridley <michael@supabase.io>
2024-06-05 22:39:51 +02:00
Rodrigo MansueliandCharis 0c6dbb14e1 chore: add limitation on multithreading & update HTML reqs (#27012)
* chore: add limitation on multithreading & update HTML

Add limitation on multithreading & update HTML requests limitation

* Update apps/docs/content/guides/functions/limits.mdx

Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>

---------

Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
2024-06-05 19:57:53 +00:00
Terry SuttonandIvan Vasilov 91c8e6538d Chore/hide infrainfo on fly (#27035)
* Hide InfraInfo component on fly projects

* Show loading screen on the read replicas widget until the project details come in.

* Revert "Show loading screen on the read replicas widget until the project details come in."

This reverts commit 79611f4b57.

* Fix the flash on read replicas on Fly deploys.

---------

Co-authored-by: Ivan Vasilov <vasilov.ivan@gmail.com>
2024-06-05 19:14:36 +00:00
Charis d2621183e2 refactor(docs): move components out of app (#25819) 2024-06-05 11:04:45 -04:00
Charis 71f012a527 feat(command menu v2): complete state management (#27019)
Add all the outstanding pieces for state management of new command menu:

- Pages state (handles routing between command menu views, e.g., docs
  search, AI, etc.)
- View state (handles opening and closing and initiation (needed for
  lazy loading))
- Query state (handles active search term)
2024-06-05 10:53:00 -04:00
Charis cb8b43ff8e feat(docs): track last-changed date (#27016)
Add a table to track the last-changed date for docs content, and a
script to seed the database with last-changed dates based on Git commit
dates.
2024-06-05 09:51:45 -04:00
Greg RichardsonandIvan Vasilov 801ad65603 RLS AI improvements (#26895)
* chore: libpg-query types

* feat: improved rls ai tests

* feat: simplify assertitions for sql expressions

* refactor: split ai logic into separate files

* feat(rls-ai): test select, insert, update, delete policies

* feat: adds withMetadata wrapper for failed tests

* chore: remove custom libpg-query types

* feat(rls-ai): make tests concurrent

* fix(rls-ai): rules for 'using' and 'with check'

* feat(rls-ai): discourages restrictive policies

* feat(ai): makes withMetadata util sync or async

* refactor(ai): moves withMetadata to generic test utils

* feat(rls-ai): test joined table

* feat(rls-ai): test mfa

* chore(ai): make all tests concurrent

* fix(ai): chatSql function rename in studio

* refactor(ai): isolate logic into separate files

* chore(ai): remove trailing comma in tsconfig

* chore(ai): remove unused dep

* Reset some of the package versions to the versions from master.

* chore(ai): remove unused imports

---------

Co-authored-by: Ivan Vasilov <vasilov.ivan@gmail.com>
2024-06-05 14:33:56 +02:00
Francesco Sansalvadore 44a29c184f update customers og images (#26954)
* customer stories dynamic og image

* query cleanup

* remove type from customers og handler

* update customers meta data

* foreground-muted og line

* add customer logos

* test prettier gh action fix

* revert commit

* update good-tape file name
2024-06-05 13:03:54 +02:00
Jonathan Summers-Muir 972773ca87 [Dashboard] Chore: update Modal component to use new components (#26844)
* init

* add more examples

* update modal

* update modals

* more modals updated

* update modal

* Update NewAccessTokenButton.tsx

* Update NewAccessTokenButton.tsx

* fix: issue with scale on dialog opening. chore: added bg-dialog color

* fix modals

* add deprecation notices

* revert bg

* revert

* Update Modal.tsx

* Update PITRSelection.tsx

* update dialog docs

* fix: issue with payment method modal

* update terminal instructions

* update padding defaults
2024-06-05 10:06:55 +00:00
Joshen Lim 21890675e5 Chore/sentry fixes 050624 (#27025)
* Add check before generating nodes in settings infrastructure

* Fix conditional in ResourceContent and add some typing

* Wrap checkIfPrivate with try catch

* Add ? in TableEditor.utils generateTableFieldsFromPostgresTable

* More typing

* Add ternary in RPC

* Remove mobx from API docs v1

* Fix renaming folder in storage explorer
2024-06-05 16:32:24 +07:00
Alaister Young 0a4295e119 chore: remove custom domain activation warning (#27023)
* chore: remove custom domain activation warning

* update language
2024-06-05 14:17:58 +08:00