Commit Graph
27353 Commits
Author SHA1 Message Date
Jonathan Summers-Muir 22e218d4ff Merge branch 'master' into feat/input-pattern 2024-03-05 16:08:44 +08:00
Chloe bd46f3df8e Add capitalization to pages for better readability: ‘settings page’ -… (#21768)
Add capitalization to pages for better readability: ‘settings page’ -> ‘Settings page'

'welcome page' -> 'Welcome page'
2024-03-05 07:52:22 +00:00
Nick James 9a68e5a377 Update with-svelte.mdx (#21432)
### Account page fixed sign out function
2024-03-05 06:38:20 +00:00
Ryan HallidayandCharis c7650b100e Update next.js setup docs email template (#21466)
* Update next.js setup docs email template

The email templates need to have the type parameter. 

The wording here is a bit clumsy but it's hard to convey succinctly. A variable for the email type would be kinda cool. 

I was getting 401 `AuthApiError: Email link is invalid or has expired` until I changed this for my `magiclink`

* Update apps/docs/content/guides/auth/server-side/nextjs.mdx

---------

Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
2024-03-05 06:33:22 +00:00
LeoandCharis 4d829bfb93 Add missing import to nextjs.mdx (#21527)
* Add missing import to nextjs.mdx

* Update apps/docs/content/guides/auth/server-side/nextjs.mdx

---------

Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
2024-03-05 06:27:20 +00:00
Tyler 64863f407f docs: Add params option to reference docs so that non-js client libs can add parameters (#21708)
* Adds params option for reference docs

* move params below description

* Apply suggestions from code review

* Update apps/docs/spec/supabase_dart_v2.yml
2024-03-05 15:06:07 +09:00
Minh AuandCharis fb9e6aa9b1 Sync NextJs Quick Start and Web App Tutorials (#21718)
* rename 'web app tutorials' to 'web app demos'

* replace auth helper with server-side auth

* add more descriptive instructions

* fix small typos

* create a section on supabase utitlies

* update middleware section to include utilities

* update supabase auth ui to include the utilities

* add a login/signup form

* replace supabase auth ui section with a note

* update PCKE section to use /auth/confirm route instead of /auth/callback

* update Account Page section to use utilities and switch locations

* update Sign out section to use utilities

* update bonus section to include utilities

* minor fixes

* Apply suggestions from code review

* format

* format

* fix js examples

---------

Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
2024-03-05 01:04:48 -05:00
Menushka WeeratungaandCharis 4f7874edfe docs: Add missing import (#21767)
Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
2024-03-05 06:04:26 +00:00
hallidayoandChris Gwilliams e9763360a1 docs: nextjs missing createClient example code (#21532)
added createClient function example

Co-authored-by: Chris Gwilliams <517923+encima@users.noreply.github.com>
2024-03-05 00:49:38 -05:00
Jonathan Summers-Muir 5b9630ecfc Chore/upgrade sb (#21726)
* remove un-needed stuff

* Update preview.js

* Update preview.js

* upgrade sb

* Update preview.js

* Update main.js
2024-03-05 13:44:44 +08:00
Beng Eu c390068102 fix: handle new size for connection pooling settings (#21700) 2024-03-05 13:14:43 +08:00
Kevin Grüneberg f16810af06 perf: load hcaptcha on demand (#21745) 2024-03-05 12:52:39 +08:00
Kevin Grüneberg c98c59938a perf: lazyload feature preview modal (#21744) 2024-03-05 12:51:47 +08:00
Kevin Grüneberg 0073518136 perf: improve prism-react-renderer setup (#21752) 2024-03-05 12:51:11 +08:00
Kevin Grüneberg 136728f6ab perf: reorganize a few imports to improve bundle size (#21743) 2024-03-05 12:49:58 +08:00
Charis cb7c67864b chore: linting rule tweaks and error fixes (#21678) 2024-03-04 23:32:46 -05:00
CoppleandHan Qiao 21d1b8afbb chore: update cli reference doc (#21764)
* chore: update cli reference doc

* Update apps/docs/spec/cli_v1_commands.yaml

---------

Co-authored-by: Han Qiao <sweatybridge@gmail.com>
2024-03-04 23:27:37 -05:00
Copple 950a3f8efb chore: update self-hosted image versions (#21763)
chore: update image versions for docker/docker-compose.yml
2024-03-05 11:29:05 +08:00
David 5d7e6bc333 fixed local development link in RBAC docs (#21762) 2024-03-05 03:28:56 +00:00
Ariel NathanandCharis 33d73f2e7a docs: reword phone login sentence (#21716)
Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
2024-03-05 02:55:48 +00:00
Div Arora cc2425d11b fix: typo in region name (#21761) 2024-03-05 09:43:06 +08:00
Madhav BansalandCharis 70c118df90 Guide to Setting Up TextLocal as Your Phone Login Provider (#21499)
* Add TextLocal SMS Login to NavigationMenu.constants.ts and create guide for Phone Auth with TextLocal

* Fix typo in Textlocal SMS Login

* Update Textlocal integration and documentation for DLT compliance.

* Addressed comments

* Update Textlocal SMS Login name

* Update Textlocal SMS Login name to 'Textlocal SMS Login (Community Supported)'

---------

Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
2024-03-05 01:11:57 +00:00
Kamil Ogórek 148a872e17 docs(branching): Specify that only migrations are applied (#21759) 2024-03-04 18:37:25 -05:00
Wen Bo XieandCharis 4085e31304 docs: re-order Read Replicas doc sections (#21703)
* docs: re-order Read Replicas doc sections

* chore: fix typo about compute size change

* Update apps/docs/content/guides/platform/read-replicas.mdx

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

* Update apps/docs/content/guides/platform/read-replicas.mdx

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

* Update apps/docs/content/guides/platform/read-replicas.mdx

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

* docs: remove duplicate image

---------

Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
2024-03-04 15:09:12 -08:00
Michael Owen b7ea0994e4 Format numbers in statistics charts #21742 (#21750)
use Intl.NumberFormat() without explicit locale.
2024-03-04 18:36:44 +00:00
Thor 雷神 SchaeffandCharis 7ce6958030 feat: add rbac claim auth hook. (#21263)
* feat: add rbac claim auth hook.

* feat: get user role from jwt.

* chore: update full-schema.

* feat: add RBAC guide.

* feat: use plpgsql.

* Apply suggestions from code review

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

* chore: make top level claim.

* chore: set search_paths.

* chore: accessing custom claims.

---------

Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
2024-03-04 14:24:32 +00:00
Kevin Grüneberg f9a55935f5 chore: use type imports for types/interfaces (#21738) 2024-03-04 20:48:22 +08:00
Tyler 8921b977e7 fix: Fix minor format errors in the Postgrest aggregate function article (#21735)
Fix format
2024-03-04 12:22:23 +01:00
Joshen Lim fb9dfac075 Remove observer and ui.setNotification calls (#21725)
* Remove observer and ui.setNotification calls

* lint

* Fix missing export
2024-03-04 11:12:22 +00:00
Kevin Grüneberg 13cfc0abb5 fix: barrel imports (#21728)
Avoid importing all components via barrel files that lead to bloated bundles/chunks
2024-03-04 18:39:53 +08:00
Ivan Vasilov 520562f72e fix: Better errors in SQL editor (#21696)
Throw the same error instead of wrapping it and losing information like formattedError.
2024-03-04 11:18:15 +01:00
Chris Gwilliams d66c0aea2a Add recommended disk sizes to Compute docs (#21446) 2024-03-04 10:58:32 +02:00
Joshen Lim bb5108e154 Chore/foreign key management in column editor (#21683)
* Support adding foreign key via ColumnEditor

* Support updating/deleting foreign key from ColumnEditor
2024-03-04 16:00:00 +08:00
74563fbeba chore(branching): GitHub integration 2.0 (#21008)
* start new github integration

* query/mutation updates

* progress

* branch management

* update codegen

* progress

* progress

* Refactor GitHub integration URLs

* Refactor GitHubIntegrationAuthorize component

* Updates

* Do not remove GitHub connection when creating new one

* Deleting a GH connection when branching is enabled for the project, will also disable branching for that project

* Add link to configure connection from org integration settings page

* Slight refactor

* Support updating CWD path

* Change cwd_path to workdir and disallow empty values

* Allow for triggering branches on supabase directory changes only

* Pass missing supabaseChangesOnly value

* Small style fix

* Add Authorization GitHub step

* Small change

* Fix supabase integrations form in project settings

* Revert URLa nd client ID

* Fix UI issues

---------

Co-authored-by: Joshen Lim <joshenlimek@gmail.com>
Co-authored-by: Kamil Ogórek <kamil.ogorek@gmail.com>
2024-03-04 18:17:26 +11:00
Joshen Lim 5c9ab30902 Close nav bar on click link (#21686)
* Close nav bar on click link

* Remove onClick for navigationiconbutton

* If user clicked on nav icon thats within the nav bar, dont reopen until mouse left side bar once

* Fix
2024-03-04 15:05:20 +08:00
2901606b08 feat/ add log out button, and user details into user popover (#21724)
* Update NavigationBar.tsx

* small nits

* only show email if it's different from username

* Update apps/studio/components/layouts/ProjectLayout/NavigationBar/NavigationBar.tsx

Co-authored-by: Jonathan Summers-Muir <MildTomato@users.noreply.github.com>

---------

Co-authored-by: Alaister Young <a@alaisteryoung.com>
Co-authored-by: Alaister Young <alaister@users.noreply.github.com>
2024-03-04 06:43:41 +00:00
Joshen Lim 8fa042930e Update content to show project ref (#21680)
* Update content to show project ref

* fix

* Fix

* Remove stray console logs

* Fix

* Update
2024-03-04 14:14:24 +08:00
Pamela Chia 6cf3fcc20b chore: improve disk related descriptions (#21720) 2024-03-04 12:43:10 +08:00
Alaister Young 528285b54d fix: remove wrong non-null assertion operator (#21717)
* fix: remove wrong non-null assertion operator

* make organizationSlug optional

* also make projectRef optional while we're at it
2024-03-03 18:38:19 +11:00
Tyler acbb3a1cc6 chore: Update GitHub repo link on the Flutter content recommendation article (#21709) 2024-03-03 11:57:15 +08:00
Terry SuttonandJoshen Lim 8f9b1367c1 Chore/fix intellisense query (#21702)
* Remove window check on intellisense query

* Fix

---------

Co-authored-by: Joshen Lim <joshenlimek@gmail.com>
2024-03-02 03:59:08 +00:00
CharisandHan Qiao 538fb7ee0c docs: add federated terraform docs (#21307)
Co-authored-by: Han Qiao <sweatybridge@gmail.com>
2024-03-02 03:17:50 +00:00
Tyler 68513fd618 docs: Ppdate Flutter auth UI docs to be up to date (#21691)
update flutter auth ui docs to be up to date
2024-03-02 08:36:04 +09:00
Egidio SalinaroandCharis 51dd35283d Update error about Magic Link in auth-ui.mdx (#21694)
In documentation, the default label for Magic Link `link_text` was wrong

Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
2024-03-01 16:25:06 +00:00
Vojtech NovakandCharis 5302a01c60 docs: mention local option in generating-types.mdx (#21695)
Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
2024-03-01 16:18:46 +00:00
Jordi Enric 24da48d0b1 FIX: rm breaking error handler (#21692)
rm breaking error handler
2024-03-01 15:36:57 +01:00
Jordi EnricandJoshen Lim 6fcb3c1254 feat: SQL Editor Charts (#21638)
* add charts

* add ff

* Some minor style fixes

* Fix

* reuse imports for resizable

* fix jsonb breaking the chartconfig component, fix format of numbers in chart

* swap checkbox compo

* rm unnecessary divs, make jonny happy

---------

Co-authored-by: Joshen Lim <joshenlimek@gmail.com>
2024-03-01 13:38:14 +01:00
8344d4772b blog: add postgREST aggregate functions (#21640)
* blog: add postgREST aggregate functions

* add code tabs

* remove wrong title

* prettier fixes

* remove wrong link

* add image, fix authors file

* feat: adds agg functions blog image

---------

Co-authored-by: Oliver Rice <github@oliverrice.com>
Co-authored-by: awalias <antwilson@hotmail.co.uk>
2024-03-01 12:02:11 +00:00
Ivan Vasilov 0942bfee87 fix: Refactor the host calculation logic for the realtime inspector (#21689)
Refactor the host calculation logic for the realtime inspector.
2024-03-01 11:48:33 +01:00
Jonathan Summers-Muir d8e7ecbfe5 Chore/move dialog to patterns (#21688)
* update exampleps

* move text confirm modal
2024-03-01 10:47:36 +00:00