Commit Graph
29693 Commits
Author SHA1 Message Date
Jordi Enric 0f7d91b8a6 add react scan 2024-11-22 14:52:29 +01:00
Joshen Lim ecf001ab90 Refactor restore to new project by breaking into smaller components (#30604)
* Refactor restore to new project by breaking into smaller components

* Shift generateStrongPassword into a utils

* Update each notice component in restore to new project to be more consistent

* Add long polling in restore to new project

* Call refetch
2024-11-22 16:42:12 +08:00
Alaister Young 8c72360707 chore: update invoice pay now redirect (#30565) 2024-11-22 12:07:50 +08:00
Charis fe50beb8a5 ci(docs): lint only changed files (#30589) 2024-11-21 17:00:20 -05:00
Andrew ValleteauandCharis 009a5668d0 feat(docs): update cli config documentation (#30272)
* feat(docs): update cli config spec

Added in: https://github.com/supabase/cli/releases/tag/v1.208.0

* Update apps/docs/spec/cli_v1_config.yaml

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

---------

Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
2024-11-21 17:55:00 +01:00
37f77ae482 Add new ui for restore to new project (#30325)
* add new ui for restore to new project

* rm false

* fix typeerr badly

* add form with name and new project pass

* fix flash in loading > results state change

* restore api types

* update api types, add pitr picker

* add additional monthly spend section

* fix loading state jump

* update copy

* update api types

* update to new clone status api res

* fix mutation missing vars

* dont render logical backups in list

* fix state issue on submit

* better pitr empty state

* Update apps/studio/pages/project/[ref]/database/backups/restore-to-new-project.tsx

Co-authored-by: Wen Bo Xie <5532241+w3b6x9@users.noreply.github.com>

* Update apps/studio/pages/project/[ref]/database/backups/restore-to-new-project.tsx

Co-authored-by: Joshen Lim <joshenlimek@gmail.com>

* Apply suggestions from code review

Co-authored-by: Joshen Lim <joshenlimek@gmail.com>
Co-authored-by: Wen Bo Xie <5532241+w3b6x9@users.noreply.github.com>

* update api types to accept recoveryTimeTarget for PITR restores

* simplify pitr code a bit cleanup state bugs

* cleanup

* add PITR submit

* dont show restore btn unless status is complete

* update api types

* fix backups nav

* markdown descs and fix type err in nav

* check if project is cloned

* fix: make source project data optional

* fix datepicker highlighted day style

* fix tz picker

* check if its same or before/after in isWithinRange

* update api types fix issue with clones

* unsus

* fix markdown rendering issues

* add badge

* Update database roles and permissions description

* Update restore message text in PITR form component

* Update key attribute to item.id in DatabaseBackupsNav component

* Add conditional rendering for multiple available dates

* Refactor dialog section styles in restore-to-new-project.tsx

* Update null to undefined in conditional text assignment

* reuse component in pitr backups

* Update apps/studio/pages/project/[ref]/database/backups/restore-to-new-project.tsx

Co-authored-by: Wen Bo Xie <5532241+w3b6x9@users.noreply.github.com>

* Update link to original project in RestoreToNewProject

* fix prettier

---------

Co-authored-by: Wen Bo Xie <5532241+w3b6x9@users.noreply.github.com>
Co-authored-by: Joshen Lim <joshenlimek@gmail.com>
Co-authored-by: Crispy1975 <12525875+Crispy1975@users.noreply.github.com>
2024-11-21 17:52:10 +01:00
Jonathan Summers-Muir 5cd436a16f override feature flag for FLY (#30578) 2024-11-21 11:49:50 +08:00
Ozan Tekin acfbc8a5e5 style(docs): remove unused account import from app file in react native (#30567) 2024-11-20 17:44:24 +00:00
Terry SuttonandJoshen Lim 4fb9b58486 Chore/cron ai nudges (#30527)
* Adjust prompt, ui

* Account for seconds properly

* More minute adjustments

* Account for seconds properly, again

* Lint

---------

Co-authored-by: Joshen Lim <joshenlimek@gmail.com>
2024-11-20 08:18:22 -03:30
Monica Khoury 72e8c84bf9 fix: LinkedIn (OIDC) & Slack (OIDC) providers filter under Authentication > Users (#30474)
* fix: linkedin & slack providers filter

* Fix typecheck
2024-11-20 12:14:20 +01:00
Alaister Young a2b3415236 feat: display trigger condition (#30521) 2024-11-20 19:01:42 +08:00
Joel Lee b80a9bbb9e fix: document skip_nonce_check in expo guide (#30537)
* fix: add section about skip_nonce_check

* fix: update Google Auth docs
2024-11-20 17:50:51 +08:00
dependabot[bot] 8a311b9b25 chore(deps): bump cross-spawn from 7.0.3 to 7.0.6 (#30542)
Bumps [cross-spawn](https://github.com/moxystudio/node-cross-spawn) from 7.0.3 to 7.0.6.
- [Changelog](https://github.com/moxystudio/node-cross-spawn/blob/master/CHANGELOG.md)
- [Commits](https://github.com/moxystudio/node-cross-spawn/compare/v7.0.3...v7.0.6)

---
updated-dependencies:
- dependency-name: cross-spawn
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-11-20 17:01:36 +08:00
Lara Raoof a579396dcd Update actions/checkout to use v4 (node 20) (#30502) 2024-11-20 08:19:12 +00:00
Thibaut Fatus aa4269f764 Fix PostGIS doc (#30520)
postgis uses `"gis"` schema, thus running the command as it is in the docs leads to an error
`type "geography" does not exist`

prefixing using the schema `gis.geometry` fixes the issue
2024-11-20 08:07:28 +00:00
reneeandrenee 821a6afd23 update Chinese README (#30562)
update Chinese docs to reflect Python and Swift as official clients

Co-authored-by: renee <50965960+wurenee@users.noreply.github.com>
2024-11-20 07:25:47 +00:00
Chris Gwilliams a496191122 Add warning about custom role passwords omitted in backups to relevant docs pages (#28760)
add note  on custom roles for backups
2024-11-20 09:12:12 +02:00
Chris GwilliamsandCharis 315f963486 Add WAL disk usage to Disk Usage docs (#28248)
* add WAL info to db size docs

* Apply suggestions from code review

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

---------

Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
2024-11-20 09:10:36 +02:00
6e456911c7 Fix: Dynamic texts for CHECK constraint placeholder (#29230)
* Create dynamic texts for CHECK constraint placeholder relative to the selected option of Postgres Data types

* modify text to use column name instead of hard-coded string

* prettier and small updates

* only update placeholder when format or name changes

* remove extra whitespace

---------

Co-authored-by: Jason <jason@debian>
Co-authored-by: Alaister Young <alaister@users.noreply.github.com>
Co-authored-by: Alaister Young <a@alaisteryoung.com>
2024-11-20 06:56:13 +00:00
Terry Sutton c931e3001a Chore/realtime policies (#30552)
Allow editing realtime messages rls policies
2024-11-19 12:03:29 -03:30
Han Qiao 1440bf04dc chore: update auth url config for preview (#30544) 2024-11-19 22:41:24 +08:00
Terry Sutton 0c99d0dc5d Chore/pass islocked to policy rows (#30495)
Pass isLocked all the way down to the row
2024-11-19 10:43:05 -03:30
Jordi Enric bf3b251934 capitalize editor (#30549)
fix
2024-11-19 11:33:10 +00:00
TheOtherBrian1 94a9ae62b7 Update pgsodium.mdx | add note about vault (#30229) 2024-11-19 10:41:42 +00:00
Chris Gwilliams f999d90aa5 Add bullet point for custom otp emails using admin api or hooks (#27559)
add example for custom otp emails using admin api or hooks
2024-11-19 08:32:32 +00:00
CoppleandQiao Han d28a4aa0ea chore: update cli reference doc (#30539)
* chore: update cli reference doc

* chore: add config push command section

---------

Co-authored-by: Qiao Han <qiao@supabase.io>
2024-11-19 15:54:43 +08:00
CoppleandHan Qiao ab13a1eb34 chore: update self-hosted image versions (#29739)
* chore: update image versions for docker/docker-compose.yml

* chore: update image versions for docker/docker-compose.yml

* chore: update image versions for docker/docker-compose.yml

* chore: update image versions for docker/docker-compose.yml

* chore: update image versions for docker/docker-compose.yml

* chore: update image versions for docker/docker-compose.yml

* chore: update image versions for docker/docker-compose.yml

---------

Co-authored-by: Han Qiao <sweatybridge@gmail.com>
2024-11-19 13:49:10 +08:00
TheOtherBrian1andCharis 8ec4a79aae Update custom-postgres-config.mdx | added pg_net variables to "configurable list" (#29985)
* Update custom-postgres-config.mdx | added pg_net variables to "configurable" list

* Update apps/docs/content/guides/database/custom-postgres-config.mdx

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

---------

Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
2024-11-18 16:05:59 +00:00
Joel Lee 76cc09c3f5 fix: update CLI to show skip nonce check (#30515) 2024-11-18 22:44:52 +08:00
Joel Lee 93c2730c43 fix: update GOTRUE_EXTERNAL_SKIP_NONCE_CHECK (#30514) 2024-11-18 22:27:25 +08:00
Alaister Young da01e5a354 chore: add prefetching delay (#30519)
* chore: add prefetching delay

* adjust delay to 75ms
2024-11-18 22:20:49 +08:00
Terry Sutton 1b0dc084c8 Chore/side panel formatting (#30498)
side panel header area formatting
2024-11-18 09:50:19 -03:30
Alaister YoungandJoshen Lim 6c592dec99 chore: remove useExecuteSqlQuery() part 2 (#30467)
* foreign-key-constraints

* update entity-types stale time

* schemas query

* deprecate useExecuteSqlQuery

* users count query

* database size query

* indexes query

* keywords query

* migrations query

* table columns

* database functions

* database roles query

* fdws query

* replication lag query

* ongoing queries query

* vault secrets query

* remove unneeded staleTime: 0

* max connections query

* fix entity types key in tests

* Some fixes

---------

Co-authored-by: Joshen Lim <joshenlimek@gmail.com>
2024-11-18 05:15:37 +00:00
Joshen Lim af4cc07a36 Add users length to dependency array for formatting user column (#30507)
* Add users length to dependency array for formatting user column

* Just check on users
2024-11-18 12:29:44 +08:00
Lakshan Perera a37c91c9e5 chore: update background tasks guide (#30481) 2024-11-15 12:54:45 -05:00
Copple 41c261240e chore: update cli reference doc (#30487) 2024-11-15 12:52:54 -05:00
Kevin Grüneberg e36be4e102 fix: copy for downgrading Fly partner org (#30464) 2024-11-15 17:01:20 +08:00
Jonathan Summers-MuirandJoshen Lim 59ecdeb1b9 chore: update compute redirect with flag (#30408)
* Update ComputeInstanceSidePanel.tsx

* add redirect on new page

* Update ComputeInstanceSidePanel.tsx

* Fix order

* Small refactor

---------

Co-authored-by: Joshen Lim <joshenlimek@gmail.com>
2024-11-15 15:48:11 +08:00
T.K ef656ff753 docs(auth): update PKCE flow and Next.js example for password-based auth (#29971)
* docs(auth): update PKCE flow and Next.js example for password-based auth

Update the password-based authentication documentation to improve consistency and clarity:

- Add email redirect information to PKCE flow, mirroring the Implicit flow section
- Align the Next.js example in app/auth/confirm/route.ts with the official Supabase documentation for server-side auth in Next.js
- Update email template to include 'next' parameter for better redirect handling
- Improve error handling and redirect logic in the Next.js example

These changes aim to provide a more comprehensive and consistent guide for implementing password-based authentication, especially for Next.js applications using the PKCE flow.

Ref: https://supabase.com/docs/guides/auth/server-side/nextjs

* fix(docs): format email confirmation link and update sign-up function example
2024-11-14 20:58:23 +00:00
ceba5ebc87 feat: image transformatio toggle (#30094)
* feat: image transformatio toggle

* fix api types

* move form field to top level

* regenerate api types

* fix ProjectDailyStatsAttribute type

* fix ts

* update styling

* Update image transformation description

---------

Co-authored-by: Alaister Young <a@alaisteryoung.com>
Co-authored-by: Joshen Lim <joshenlimek@gmail.com>
2024-11-15 00:35:02 +08:00
Etienne Stalmans 37a9a58880 chore: add security as codeowners (#30432)
Security need to review pages that contain payment processor content, as
per PCI-DSS.
2024-11-14 14:52:26 +01:00
Ivan Vasilov 1157a20fbd feat: Queues v0.5 (#30418)
* Rename the regular/normal queues to basic.

* Move the partitioned type of queues to the end.

* Add metrics for the queues.

* Add actions for postponing and deleting a message.

* Add queue actions for purging and deleting a queue.

* Minor fixes for the empty stateof the queues page.

* Add a modal to send a message to the queue.

* Minor fixes.

* Correct some button texts.

* Refactor the metrics to switch to a rougher estimate method if it timeouts.

* Fix type errors.

* More minor fixes.
2024-11-14 13:02:29 +01:00
Kevin Grüneberg d6b32f05e9 fix: billing page not rendering with Google Translate (#30468)
Markdown component seems to be the root of evil here.
2024-11-14 18:54:23 +08:00
Terry SuttonandJoshen Lim 1826e838aa Dont allow editing cron job names (#30443)
* Dont allow editing cron job names

* Cleanup

* Update apps/studio/components/interfaces/Integrations/CronJobs/CreateCronJobSheet.tsx

---------

Co-authored-by: Joshen Lim <joshenlimek@gmail.com>
2024-11-14 15:31:37 +08:00
Alaister Young 0e3bc5804b chore: remove useExecuteSqlQuery (part 1) (#30437)
* chore: remove useExecuteSqlQuery part 1

* fix invalidation

* fixes

* more fixes

* I fixed it, but tested on preview instead of local 🤦🏻

* only refetch table rows and not count on row updates

* removed unneeded invalidations and prefetched new table after create
2024-11-14 15:21:29 +08:00
Craig Cannon 0984800fae updating start time to 6pm + timezone to pst (#30463) 2024-11-13 21:12:06 -05:00
Craig CannonandFrancesco Sansalvadore eca93011b1 Updating copy on YC hackathon -- event is full (#30462)
* Updating copy on YC hackathon -- event is full

* disable event cta

---------

Co-authored-by: Francesco Sansalvadore <f.sansalvadore@gmail.com>
2024-11-13 21:00:01 -05:00
f7292dce8c Chore/spam page (#29854)
* Add spam page

* Add select

* Add experimental flag in next.config to see if it resolves the build issue

* Add slack webhook call

* updated endpoint

* revert

* update

* fix placeholder styling in Select

* clean

* Update [ref].tsx

* Update select.tsx

* revert

* protect form and endpoint from bad ref abuse

* Delete spam api route

* Add api route back

* Basic api route

* Rename

* rename route

* Add as route handler

* Stub in supabase update

* Add the proper supabase project

* Rename spam to opt-out

* Swap anon for service role key

* Rename env var

---------

Co-authored-by: Joshen Lim <joshenlimek@gmail.com>
Co-authored-by: Jonathan Summers-Muir <MildTomato@users.noreply.github.com>
2024-11-13 14:09:24 -03:30
12b6389090 Update pgvector.mdx (for 0.8.0) (#30414)
* Update pgvector.mdx

Add usage of iterative search (from version 0.8.0)

* Update pgvector.mdx

* Update apps/docs/content/guides/database/extensions/pgvector.mdx

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

* Update apps/docs/content/guides/database/extensions/pgvector.mdx

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

* Update apps/docs/content/guides/database/extensions/pgvector.mdx

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

* Update apps/docs/content/guides/database/extensions/pgvector.mdx

Co-authored-by: Artur Zakirov <zaartur@gmail.com>

* Update pgvector.mdx

Remove repeat

---------

Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
Co-authored-by: Artur Zakirov <zaartur@gmail.com>
2024-11-13 15:11:16 +00:00
Kamil Ogórek a882994565 docs: Update next.js and sveltekit quick start guides (#30457) 2024-11-13 15:49:42 +01:00