Commit Graph

30424 Commits

Author SHA1 Message Date
Abbas Mkhzomi
439f0391c3 Update laravel.mdx (#32716) 2025-01-22 23:30:44 +00:00
Sandeep Salwan
7463454424 docs: update auth-azure.mdx (#32730) 2025-01-22 21:48:33 +00:00
GauntletRunner2025
4b87612507 Update branching.mdx (#32949) 2025-01-22 19:29:30 +00:00
Alaister Young
30c390c19c chore: unify telemetry event sending (#32861)
* chore: unify telemetry event sending

* organize some imports

* remove final useTelemetryProps

* add www telemetry actions typing and docs

* remove gaevents

* fix build

* move telemetry identify into PageTelemetry

* fix telemetry constants import

---------

Co-authored-by: Pamela Chia <pamelachiamayyee@gmail.com>
Co-authored-by: Joshen Lim <joshenlimek@gmail.com>
2025-01-22 23:52:32 +08:00
Han Qiao
1dc92a529d docs: update project restore docs for past 90 days backup (#32990)
* docs: update project restore docs for past 90 days backup

* chore: rephrase a few lines
2025-01-22 08:56:40 -06:00
Long Hoang
feaf64e55d Fix event grouping (#32928)
* fix: pass ref and slug for event grouping

* fix: add missing imports

* fix: correct types

* remove duplicate import

* fix: duplicates and extra events from merge

---------

Co-authored-by: Pamela Chia <pamelachiamayyee@gmail.com>
2025-01-22 22:41:41 +08:00
Sanden Gocka
ecd7b5f4dd Prototype: Enhance Supabase Studio User Impersonation with External Auth Support (#32786)
* feat: add support for impersonation with external auth

* update typescript type

---------

Co-authored-by: Alaister Young <a@alaisteryoung.com>
2025-01-22 18:00:58 +08:00
Joshen Lim
60763ab1e7 Reports V2: support dragging blocks from assistant to custom report (#32964)
* Support dragging blocks from assistant to custom report

* Show toast when new snippet is created from dragging block into custom report

* Only show drag handle for block in assistant panel if in custom reports

* Feature flag dragging Assistant query block to custom report

* Optimize DX for dragging block into report from assistant

* Update import

* Remove max width

* Fix dragging non sql block causing client crash

* Fix chart suffix

* Fix tooltip value for non % values

* Misc fixes

* Support persisting non sql block line or bar view, and fix cancelling not resetting the block state

* Update

* Preserve chart config when dragging block from assistant to report

* Fix
2025-01-22 16:35:52 +08:00
Joshen Lim
c635d46b53 Add missing users delete endpoint for local/self-host (#32945)
* Add missing users delete endpoint for local/self-host

* Update
2025-01-22 16:22:45 +08:00
Ziinc
45f7561d30 fix: show database charts at 1h resolution (#32962)
* fix: drop default interval

* fix: add datepicker override

* chore: remove comments
2025-01-22 14:26:29 +08:00
Joshen Lim
12645ec023 Fix SQL editor menu wrongly hiding results (#32960) 2025-01-22 14:26:20 +08:00
Joshen Lim
cedcc5315f Swap PATCH content to PUT (#32950)
* Swap PATCH content to PUT

* Fix tests

* Swap create Logs Explorer query to use upsert content
2025-01-22 14:14:34 +08:00
Joshen Lim
6b4fd6c088 Set chart height to 1 (#32987) 2025-01-22 13:32:20 +08:00
Jordi Enric
ee9931afd3 service status: hide info footer if all services OK (#32966)
hide if all services are operational
2025-01-21 18:01:16 +01:00
Ivan Vasilov
b5437c630e feat: Add a banner for clock skew in studio (#32866)
* Add a ClockSkewBanner on top of studio.

* Fix the color of the RestrictionBanner.

* Add an API endpoint which return the current UTC time on the server.

* Fix the glob pattern for docs in turbo.json.

* Force docs to build.

* Revert unneeded changes.

* Add feature flag for clock skew banner.

* Add a comment.
2025-01-21 17:45:06 +01:00
Joshen Lim
3f5e586995 Fix table editor selected row BG color (#32961) 2025-01-22 00:28:21 +08:00
Jordi Enric
d9fbf14a81 Fix chart click (#32834)
fix chart click
2025-01-21 17:24:42 +01:00
Jordi Enric
3a9e575761 SQL Charts fixes (#32795)
* add better empty states

* fix crashes and edge cases

* rm unnecessary empty state

* move empty state outside chartpanel

* validate Y axis before flip to prevent crash

* fix flip

* disable btn instead of toast

* fix types in canFlip

* Update tooltip

---------

Co-authored-by: Joshen Lim <joshenlimek@gmail.com>
2025-01-21 17:11:39 +01:00
Joshen Lim
3440dc9c95 Feat/reports v2/standardize block design (#32936)
* Standardize block designs

* Clean up

* Add warning threshold colors for infra-monitoring stats

* Address all other comments

* Swap create custom report to use PUT
2025-01-21 20:56:13 +08:00
Alaister Young
fb569f9a13 fix: local storage test mocks (#32957) 2025-01-21 12:39:41 +00:00
Alaister Young
7a73817316 fix: sign users out if profile request 401s (#32955)
* fix: sign users out if profile request 401s

* remove console.log
2025-01-21 12:25:56 +00:00
Bobbie Soedirgo
1f9af325c2 docs: add example to order parent table by referenced table (#32920)
* docs: add example to order parent table by referenced table

* docs: more ordering by referenced table examples
2025-01-21 15:59:50 +08:00
Alaister Young
473c4a5639 chore: skip invalidation on sql only changes (#32934) 2025-01-21 12:51:11 +08:00
Alaister Young
29d72b6249 fix: remove duplicate archive function from pgmq_public (#32942)
remove duplicate archive function
2025-01-21 12:07:18 +08:00
dependabot[bot]
78dee45ae4 chore(deps): bump katex from 0.16.10 to 0.16.21 (#32876)
Bumps [katex](https://github.com/KaTeX/KaTeX) from 0.16.10 to 0.16.21.
- [Release notes](https://github.com/KaTeX/KaTeX/releases)
- [Changelog](https://github.com/KaTeX/KaTeX/blob/main/CHANGELOG.md)
- [Commits](https://github.com/KaTeX/KaTeX/compare/v0.16.10...v0.16.21)

---
updated-dependencies:
- dependency-name: katex
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-01-20 21:49:07 -05:00
Ivan Vasilov
52735e38bf chore: Rename all uses of Tooltip_Shadcn_ to just Tooltip (#32860)
* Rename all uses of Tooltip_Shadcn_ to just Tooltip.

* Fix a leftover change.
2025-01-20 22:23:45 +01:00
Ivan Vasilov
616edd8b5e chore: Fix the turbo tasks for docs app (#32941)
* Separate turbo config for docs app into its own separate file. Add a task dependency for codegen tasks.

* Fix the clean command. Remove the prebuild command cause it's already covered by turbo.
2025-01-20 16:04:05 -05:00
Han Qiao
5e12593262 Update branching docs to mention vercel connection (#32939) 2025-01-20 23:45:35 +08:00
RampantDespair
d1bf79838a chore: refactor docker-compose.yml unify syntax style (#32668)
* Update docker-compose.yml

* Moved SECRET_KEY_BASE and VAULT_ENC_KEY to .env
2025-01-20 23:29:03 +09:00
Nicolas
51d4f053db fix(dashboard): Fixed broken link in the 'secure foreign table' popover (#31855)
dashboard: fix broken link
2025-01-20 14:11:20 +00:00
Joshen Lim
d139a8f0ed Swap CALL to SELECT for database functions in cron jobs (#32927) 2025-01-20 14:27:54 +01:00
Andrew Valleteau
31da214451 chore(docs): update custom db settings docs (#32853) 2025-01-20 21:09:49 +09:00
Francesco Sansalvadore
78f7a0439a Fix: mobile styling bugs (#32931)
* fix project card height

* fix panel notice
2025-01-20 10:34:35 +01:00
Bobbie Soedirgo
1983f50433 chore: vault -> supabase_vault (#32647) 2025-01-20 16:30:35 +08:00
Jordi Enric
0a3df2296e keep polling til all services are healthy (#32794)
* keep polling til all services are healthy

* fix type errs

* use loader in coming up icon

* consistent icons
2025-01-20 16:26:22 +08:00
Joshen Lim
0129c94cf1 ReportsV2 P2: Support adding SQL snippets to Reports (#32851)
* midway

* Render, save, and save configuration of SQL blocks

* Fix re ordering of blocks not showing save UI

* Remove console log

* Smol fix

* Add queryHeight param to queryBlock

* Reinstate telemetry for run query clicked from assistant

* Add

* Add resizing

* Change compactType

* Fix switching reports doesnt update

* ONly show date picker if theres a chart thats using daily stats or infra monitoring

* Fix client crash

* Smol update
2025-01-20 15:49:32 +08:00
Joshen Lim
d9a7b43cac Chore/fix cron job card (#32767)
* Add copy action to cron job card command

* Fix

* Remove unused code

* Refactor the cron job parsing. Expanded some of the existing tests. Added more tests.

* The last run data can be undefined if the cron was just created. The data for caching in RQ can't be undefined so it's forced to null.

* Test whether the edge function points to its own project. If not, parse it as a HTTP request.

* Use toStrictEqual instead of toMatchObject for more correct tests.

* Add min height to the codeblock, the copy button was obscured if the code was a one-liner.

* Add snippet to all types of cron jobs. Automatically update it when the form changes.

* Minor fixes.

---------

Co-authored-by: Ivan Vasilov <vasilov.ivan@gmail.com>
2025-01-20 14:33:53 +08:00
Joshen Lim
9f9b2be262 Assistant chat check keycode enter (#32898) 2025-01-20 14:13:09 +08:00
Alaister Young
c5d664d214 fix: don't retry queries on 4xx errors (#32923) 2025-01-20 14:03:28 +08:00
github-actions[bot]
347dbcc875 feat: update mgmt api docs (#32918)
Co-authored-by: phamhieu <689843+phamhieu@users.noreply.github.com>
Co-authored-by: Bobbie Soedirgo <31685197+soedirgo@users.noreply.github.com>
2025-01-20 05:18:11 +00:00
Pamela Chia
8acc80ec38 feat: pro benefit wording test (#32862) 2025-01-20 12:14:22 +08:00
Alaister Young
9d534c9f5a fix: response error codes (#30581)
* fix: response error codes

* upgrade docs

* remove request url modification middleware

* move api routes for self-hosted to platform folder

* remove some lib/common/fetch usage

* docs: use middleware for openapi-fetch (#30600)

Get rid of the unauthedAllowedPost function (I don't think there's any harm in letting any requests that require authentication to just 403, they should be disabled at the React Query level and if not they will fail gracefully enough...)

* fix local count query

* add default values for clone mutation

* fix ts and codegen

* add missing lodash dep to playwright tests

* Fix the playwright tests to match the new folder structure for selfhosted variant.

* remove unused import

* Remove unused state

* remove unused sql debug mutation

* remove unused export

* fix notifications query

* fix jwt updating status

* fix typescript

* save sql snippet after renaming

* update codegen & fix ts error

* override array querySerializer

---------

Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
Co-authored-by: Joshen Lim <joshenlimek@gmail.com>
Co-authored-by: Ivan Vasilov <vasilov.ivan@gmail.com>
2025-01-20 11:27:38 +08:00
Charis
bd0e979f8c fix: search index upload (#32904)
Search index pipeline shouldn't be trying to read troubleshooting section yet (those are still searched via GH discussions). Trying to read it errors as they don't have the same frontmatter shape as other guides content.
2025-01-19 00:31:40 +08:00
github-actions[bot]
2b9d796a2b [bot] sync troubleshooting guides to db (#32895)
Co-authored-by: github-docs-sync-bot <github-docs-sync-bot@supabase.com>
2025-01-18 01:54:43 +00:00
github-actions[bot]
25e376a8b1 [bot] fix lint errors (#32894)
Co-authored-by: github-docs-bot <github-docs-bot@supabase.com>
2025-01-18 01:53:33 +00:00
Charis
d1281dad91 migrate(docs): troubleshooting 16 (#30953)
* migrate(docs): troubleshooting 16

db performance, configuration

* Update how-long-does-it-take-to-restore-a-database-from-a-point-in-time-backup-pitr-qO8gOG.mdx

Added keywords for PITR restore article

* Apply suggestions from code review

---------

Co-authored-by: Kevin Brolly <kevin.brolly@supabase.io>
2025-01-18 01:47:48 +00:00
github-actions[bot]
9742de2ab2 [bot] fix lint errors (#32892)
Co-authored-by: github-docs-bot <github-docs-bot@supabase.com>
2025-01-18 01:45:26 +00:00
github-actions[bot]
c2ece15f22 [bot] sync troubleshooting guides to db (#32893)
Co-authored-by: github-docs-sync-bot <github-docs-sync-bot@supabase.com>
2025-01-18 01:36:49 +00:00
Charis
7837deee41 migrate(docs): troubleshooting 12 (#30942)
* migrate(docs): troubleshooting 12

database connections

* Update database-error-remaining-connection-slots-are-reserved-for-non-replication-superuser-connections-3V3nIb.mdx

* Update how-do-i-update-connection-pool-settings-in-my-dashboard-wAxTJ_.mdx

Added missing content

* Apply suggestions from code review

---------

Co-authored-by: Kevin Brolly <kevin.brolly@supabase.io>
2025-01-18 01:30:04 +00:00
github-actions[bot]
a9ed0b4a66 [bot] fix lint errors (#32890)
Co-authored-by: github-docs-bot <github-docs-bot@supabase.com>
2025-01-18 01:12:34 +00:00