Commit Graph
29750 Commits
Author SHA1 Message Date
Saxon Fletcher cf173d6917 add suggestions for policy 2024-11-25 11:28:59 +10:00
Saxon Fletcher d43557b912 add table and schema context 2024-11-25 10:58:08 +10:00
Saxon Fletcher 05beda5482 sql toggle copy and border fix 2024-11-25 10:56:55 +10:00
Saxon Fletcher 9f39ace2c3 show thinking if last message is empty 2024-11-25 09:39:58 +10:00
Joshen Lim b61a5bdf9c fixc 2024-11-22 18:35:05 +08:00
Joshen Lim c6b502cd37 Address all comments 2024-11-22 17:10:54 +08:00
Joshen Lim 1509c43824 Add policy satement to assistant when editing 2024-11-22 17:07:11 +08:00
Joshen Lim 625fc8d40d Merge master resolve conflicts 2024-11-22 16:59:50 +08: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
Saxon Fletcher 7f114b0b01 Update generate-v3.ts
prompt to get auth schema too
2024-11-20 11:25:53 +10:00
Saxon Fletcher c137c1305f fix rls editing via assistant 2024-11-20 11:16:01 +10: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
Joshen Lim 678c2f092c Update prompts 2024-11-19 21:56:47 +08:00
Jordi Enric bf3b251934 capitalize editor (#30549)
fix
2024-11-19 11:33:10 +00:00
Joshen Lim 6ccb67567e A bit more telemetry stuff 2024-11-19 19:24:28 +08:00
TheOtherBrian1 94a9ae62b7 Update pgsodium.mdx | add note about vault (#30229) 2024-11-19 10:41:42 +00:00
Joshen Lim f0a0064a16 Rough fix to padding when assistant is open 2024-11-19 18:11:22 +08:00
Joshen Lim 56df0faa16 Beef up a bit more event tracking 2024-11-19 17:11:36 +08:00
Joshen Lim 8c6b14bd6e Fix PH tracking 2024-11-19 16:55:25 +08: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
Joshen Lim 5727b64828 ONly show ai button within a project 2024-11-19 11:19:40 +08:00
Joshen Lim c0634c3c77 Fix tests 2024-11-19 10:49:29 +08:00
Joshen Lim 45ec78c07d Te4st 2024-11-19 10:41:02 +08:00
Joshen Lim f38b00be9e Fix 2024-11-19 10:31:03 +08:00
Joshen Lim 63db78e325 Fix 2024-11-19 10:30:47 +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