Jonathan Summers-Muir
8ce8a80a3c
fix: local builds for ./www for community ( #26596 )
...
* add missing env var
* fix: build issues with misnamed tags
* Update .env.local.example
2024-05-23 06:56:44 +00:00
Joshen Lim
35506d8550
Allow dropping replica irregardless of status ( #26691 )
...
* Allow dropping replica irregardless of status
* Prettier lint
2024-05-23 14:37:36 +08:00
TheOtherBrian1 and Charis
a5785afba6
Add note about security definer views ( #26571 )
...
* Add note about security definer views
* expand acronym
* Update apps/docs/content/guides/database/tables.mdx
Co-authored-by: Charis <26616127+charislam@users.noreply.github.com >
---------
Co-authored-by: Charis <26616127+charislam@users.noreply.github.com >
2024-05-23 03:38:42 +00:00
Charis
3c196e3bf5
enhance(refs): add params and return examples for database and auth ( #26676 )
...
enhance(refs): add params and return types
Add params and return types for database and auth functions in
supabase-js library.
2024-05-22 19:55:00 -04:00
Jordi Enric
ac83ab8e9e
fix icon size and color ( #26662 )
2024-05-22 22:09:04 +02:00
Charis
2caf5ba564
enhance(docs): reorg google auth guide (web) ( #25969 )
...
* enhance(docs): reorg google auth guide (web)
* revert: sign in capitalization
2024-05-22 18:38:23 +00:00
Greg Richardson and Charis
3f1df65bba
SQL to REST translator ( #25978 )
...
* feat: sql-to-rest poc
* feat: sql-to-supabase-js poc
* chore: upgrade to libpg-query@15
* feat: sql-to-rest docs tool
* docs(sql-to-rest): add introduction
* docs: wording improvements
* fix: theme
* chore: tailwind placeholder
* feat(sql-to-rest): limit, offset, and range
* feat(sql-to-rest): sort by
* fix(sql-to-rest): ui theme
* feat(sql-to-rest): casts
* feat(sql-to-rest): dynamic faqs in ui
* feat(sql-to-rest): improve ui responsiveness
* feat(sql-to-rest): more advanced faqs in ui
* feat(sql-to-rest): http and curl syntax highlighting
* feat(sql-to-rest): baseUrl in http/curl rendering
* docs(sql-to-rest): clarification on curl flags
* feat(sql-to-rest): more faqs
* refactor(sql-to-rest): split faqs into own file
* refactor(sql-to-rest): move formatters to sql-to-rest package
* docs(sql-to-rest): move page to new tools section
* feat(sql-to-rest): joins and resource embeddings
* chore(sql-to-rest): rename 'convert' to 'translate'
* feat(sql-to-rest): add faqs
* feat(sql-to-rest): ui improvements
* feat(sql-to-rest): faq title adjustment
* feat(sql-to-rest): link to client lib docs
* feat(sql-to-rest): assumptions
* feat(sql-to-rest): friendly 'not supported yet' errors
* feat(sql-to-rest): json columns
* feat(sql-to-rest): remove curl -G flag if unused
* feat(sql-to-rest): better error handling
* chore: revert accidental rls ai work
* fix: build errors
* fix(sql-to-rest): theme
* feat(sql-to-rest): change base url
* feat(sql-to-rest): basic aggregate poc
* feat(sql-to-rest): group by
* feat(sql-to-rest): more group by checks
* feat(sql-to-rest): count(*) special case
* fix(sql-to-rest): tests
* feat(sql-to-rest): faq on 'and' operator
* fix(sql-to-rest): error messages
* fix(sql-to-rest): multiple filters on same column
* refactor(sql-to-rest): error hints
* feat(sql-to-rest): match and imatch
* feat(sql-to-rest): in operator
* feat(sql-to-rest): parsing error hints
* feat(sql-to-rest): default language to curl
* feat(sql-to-rest): format on cmd+s
* feat(sql-to-rest): format initial value
* fix(sql-to-rest): turn off tab query group
* feat(sql-to-rest): improve wording in error messages
* feat(sql-to-rest): animated code blocks
* feat(sql-to-rest): more error hints
* fix(sql-to-rest): strip primary relation prefix from columns
* feat(sql-to-rest): json column in order by clause
* feat(sql-to-rest): validate all referenced relations exist in from clause
* refactor(sql-to-rest): split core sql-to-rest lib into separate repo
* feat(sql-to-rest): upgrade to v0.1.1
* feat(sql-to-rest): upgrade to v0.1.2
* feat(sql-to-rest): upgrade to v0.1.4
* chore: upgrade libpg-query
* feat: update 'create a pr' link
* fix: app builds
* fix: prettier
* fix: typecheck
* fix: studio tests
* chore: remove console.log
Co-authored-by: Charis <26616127+charislam@users.noreply.github.com >
* docs(sql-to-rest): remove broken link to client libraries
---------
Co-authored-by: Charis <26616127+charislam@users.noreply.github.com >
2024-05-22 12:37:01 -06:00
Olivier
6bf236cce2
Update hybrid-search.mdx fix column name on documents table, fixes #26364 ( #26365 )
...
* Update hybrid-search.mdx fix column name on documents table
The function uses `doc_vector` but table is setup with `embedding` so changed it to `doc_vector`
* Update col description in hybrid-search.mdx
* Update hybrid-search.mdx
back to `embedding` as col name
2024-05-22 18:36:28 +00:00
Charis
69c1988965
fix: replace non-word chars in uploaded filenames ( #26022 )
...
fix: replace non-word chars in uploaded filenames
Storage maintains a list of allowed characters, which excludes some
characters used automatically by OSes for naming files (e.g., Mac
default screenshot naming). To preempt errors, replace any characters
that aren't alphanumerics, underscores, hyphens, or periods with
underscores.
See: https://forum.obsidian.md/t/unable-to-attach-screenshot-images-in-macos-14-0-when-wikilinks-turned-off-urlencode-u-202f-char/68410/6
2024-05-22 12:11:18 -04:00
Jordi Enric
9ded715346
fix crash in security advisor ( #26658 )
2024-05-22 10:56:35 -02:30
Monica Khoury and Terry Sutton
adcf22c9aa
Chore: Reorder support form fields for better user flow and clarity ( #26473 )
...
* Reorder support form fields for better user flow and clarity
* Modify subscription information box
* Modify whats shown after ticket submission
---------
Co-authored-by: Terry Sutton <saltcod@gmail.com >
2024-05-22 09:18:01 -02:30
Ivan Vasilov
79dbfd1ccc
fix: Add sourcemaps and error stacks in Sentry errors ( #26474 )
...
* Use Sentry Error boundary.
* Add a button for throwing error to test the sentry error boundary.
* trigger an error during rendering.
* Move the throwing of error.
* Fix the error boundary state.
* Try to throw an error from the project list.
* Revert to using react error boundary.
* Minor fixes.
* Add an example page for throwing an exception to be caught by Sentry. Remove the error filter from the Sentry client config.
* Remove config for allowing errors only from our code.
* When capturing an exception with Sentry, add a tag if the exception is in the boundary.
* Minor fixes.
* Remove testing code.
* Move forgotten code.
* Add a function for anonymized user id.
* Set the sentry user id by anonymizing the actual user id.
* Don't send Sentry reports if the user hasn't consented to the telemetry.
* Add a helper function whether the studio can send telemetry data.
* Reuse the helper function in the _app file.
2024-05-22 10:35:15 +00:00
Pamela Chia
ea40c7c99f
chore: fix sentry policy ( #26616 )
2024-05-22 11:31:17 +02:00
Jordi Enric
a9aa3acf72
Sentry: capture message on support form err ( #26656 )
...
capture message on support form err
2024-05-22 10:05:18 +02:00
Thibault CHAUSSON and Charis
f5324af575
📝 Update pg_cron documentation with examples for calling function ( #26186 )
...
📝 Update pg_cron documentation with examples for calling database functions and stored procedures
Co-authored-by: Charis <26616127+charislam@users.noreply.github.com >
2024-05-22 02:08:52 +00:00
Andreas Elia and Charis
4a2a68bab3
Fix "Options" component border radius transition and padding ( #26332 )
...
fix options border radius transition and padding
Co-authored-by: Charis <26616127+charislam@users.noreply.github.com >
2024-05-22 02:06:04 +00:00
Tim McEwan and Charis
d230f6efed
Correct minor typo in Logs.constants.ts ( #26475 )
...
Co-authored-by: Charis <26616127+charislam@users.noreply.github.com >
2024-05-22 01:02:31 +00:00
Nicholas Moschopoulos and Charis
cc845f07b9
Update custom-domains.mdx ( #26582 )
...
Co-authored-by: Charis <26616127+charislam@users.noreply.github.com >
2024-05-22 00:38:34 +00:00
H0onnn and Charis
3a8369d899
Docs Add Supabase project initialization step ( #26594 )
...
Co-authored-by: Charis <26616127+charislam@users.noreply.github.com >
2024-05-22 00:33:50 +00:00
Tyler Fontaine and Alaister Young
c97ddaafe3
Update index_advisor.mdx ( #26511 )
...
* Update index_advisor.mdx
Fix universal dashboard link to query-performance
* escape underscores
---------
Co-authored-by: Alaister Young <a@alaisteryoung.com >
2024-05-22 00:04:37 +00:00
grumpy-miner and Charis
5da928a0a1
Update auth.mdx - update fetching the user code example ( #26614 )
...
Update auth.mdx
Add constant authHeader in code example of Fetching the user
Co-authored-by: Charis <26616127+charislam@users.noreply.github.com >
2024-05-21 23:33:44 +00:00
hallidayo and Charis
e606e1e5ca
docs: metadata changes ( #26626 )
...
metadata changes
Co-authored-by: Charis <26616127+charislam@users.noreply.github.com >
2024-05-21 23:29:06 +00:00
Greg Richardson
dce497c650
chore: upgrade libpg-query ( #26618 )
2024-05-21 13:30:06 -06:00
Joshen Lim
3558dc0c61
Fix security advisor check on OTP length ( #26604 )
2024-05-21 14:52:58 -02:30
Greg Richardson
b173ca0404
Docs: fix column name in match_documents example ( #26494 )
2024-05-21 08:34:09 -06:00
Joshen Lim
3654f8e74b
Resolve query of undefined error in query-performance page ( #26600 )
...
* Resolve query of undefined error in query-performance page
* smol update
* Lint
2024-05-21 17:59:51 +08:00
Joshen Lim
82a0ad93c8
Fix ref issue on AlertError component ( #26602 )
2024-05-21 17:42:34 +08:00
Hieu
d48948ba10
fix: RefSectionHandler to support mgmt-api/api sections ( #26601 )
2024-05-21 11:29:31 +02:00
Joshen Lim and Ivan Vasilov
bb6349f34f
Second round of wrapping RQ errors with handleError ( #26428 )
...
* First round of wrapping RQ errors with handleError
* Remove the throw before the handleError usage.
* Make the handling of an API error more versatile. Add logging in Sentry if the error is of unknown type.
* Remove throwing of the handleError function.
* Add return type to the handleError function to be never so that we're sure it always throws.
* Second round of wrapping RQ errors with handleError
* Temp fix in delete credential mutation, and fix loading state
---------
Co-authored-by: Ivan Vasilov <vasilov.ivan@gmail.com >
2024-05-21 15:51:11 +08:00
Hieu and Charis
c5a88a9fc4
feat: render mgmt api body params ( #26319 )
...
* feat: render body parameters
* feat: api parameters render
* fix: update mgmt api spec to latest
* fix: body param format and support content type selection
* fix: prettier errors
* fix: use Options to render accepted enum values
* fix: prettier again
* fix: merge conflict
* fix: expose new api routes
* fix: prettier again
* refactor: ApiBodyParam
* fix: add missing apis
* chore: tidy up
* feat: improve api response with sample + schema tabs
* fix: support show/hide object param schema
* fix: show no content text
* refactor: use collapsible for hidden content
* Update apps/docs/components/reference/ApiOperationSection.tsx
Co-authored-by: Charis <26616127+charislam@users.noreply.github.com >
* Update apps/docs/components/ApiSchemaOption.tsx
Co-authored-by: Charis <26616127+charislam@users.noreply.github.com >
* fix: resolve comments
---------
Co-authored-by: Charis Lam <26616127+charislam@users.noreply.github.com >
2024-05-21 13:30:34 +07:00
Joshen Lim and Alaister Young
429f3d2851
Error boundary handle removeChild error ( #26580 )
...
* Error boundary handle removeChild error
* Update apps/studio/components/ui/ErrorBoundaryState.tsx
Co-authored-by: Alaister Young <alaister@users.noreply.github.com >
* Lint
---------
Co-authored-by: Alaister Young <alaister@users.noreply.github.com >
2024-05-21 10:55:35 +08:00
Charel Felten
987df83904
Change Role Level Security to Row Level Security in users.mdx ( #26589 )
...
Fix mistake in users.mdx
Generally I dont like fixing spelling mistakes in repos, but this one specifically is bothering me as I am already slightly confused by Row Level Security, in particular when to use the Postgres roles, and when to use application roles (like making a `profile` table where each profile has a `role` column). This is a mistake, or not?
2024-05-20 20:01:53 +00:00
Guilherme Souza
cdd04e5fe5
chore(docs): add linkIdentity and drop .database from swift docs ( #26439 )
...
* chore(docs): drop .database from swift examples
* chore(docs): add linkIdentity method to swift docs
2024-05-20 10:51:39 -03:00
Pamela Chia
b1bda77a2c
fix: access control doc redirect ( #26534 )
2024-05-20 23:04:46 +10:00
Terry Sutton
f6fa953d69
Chore/fix cardbutton ( #26496 )
...
Fix cardbutton overlapping
2024-05-20 09:42:27 -02:30
Peter
4cdf4e0f77
Add self to humans.txt ( #26563 )
2024-05-20 15:02:08 +10:00
Peter
025932143d
Docs: Fix CLI Login hyperlink for various doc pages ( #26548 )
...
Fix CLI log in hyperlink for various doc pages
2024-05-19 11:58:15 +08:00
Terry Sutton
aa02bd2188
Chore/sentry fixes ( #26402 )
...
* Add a key
* Make full page crashes errors
* Add a span around form label
2024-05-17 08:28:14 -02:30
Joshen Lim
91c6026784
resolve find of undefined in api ( #26382 )
...
* resolve find of undefined in api
* Fix
2024-05-17 17:56:25 +08:00
Joshen Lim
80d748facb
Disable restart button if replica is not active healthy ( #26429 )
...
* Disable restart button if replica is not active healthy
* Prettier
2024-05-17 17:38:19 +08:00
Joshen Lim
434d7ea74d
Fix maximum call stack error in SQL editor ( #26434 )
2024-05-17 17:31:40 +08:00
Joshen Lim and Ivan Vasilov
163263c3c5
First round of wrapping RQ errors with handleError ( #26384 )
...
* First round of wrapping RQ errors with handleError
* Remove the throw before the handleError usage.
* Make the handling of an API error more versatile. Add logging in Sentry if the error is of unknown type.
* Remove throwing of the handleError function.
* Add return type to the handleError function to be never so that we're sure it always throws.
---------
Co-authored-by: Ivan Vasilov <vasilov.ivan@gmail.com >
2024-05-17 16:30:55 +08:00
Joshen Lim
48869ee26f
Add redirect identifier to log selection if available ( #26383 )
2024-05-17 15:24:11 +08:00
Joshen Lim
b4f5c0c16a
Chore/support more granular updates via events for spinning up replica ( #26378 )
...
* Support more granular updates via events for spinning up replica
* Add duration estimates as tooltips
* Show granular error message if error happens during replica set up
* Add support for hours in duration estimates
2024-05-17 14:09:58 +08:00
Thor 雷神 Schaeff
b0dd85d2a2
chore: update example dependencies. ( #26381 )
...
* chore: update example dependencies.
* chore: bump expo.
2024-05-17 13:39:31 +08:00
Joshen Lim
a25242e352
POC resolve google translate remove node problem in table editor ( #26380 )
2024-05-16 12:59:35 +02:00
Joshen Lim
12222ca641
Support checking API gateway logs for load balancer ( #26353 )
2024-05-16 13:05:14 +08:00
Joshen Lim
b638f53ce0
Chore/remove optimistic rendering for spinning up replicas ( #26331 )
...
* Remove optimistic rendering when spinning up read replicas
* Fix missing edge when load balancer renders
* Tiny style fix
2024-05-16 13:04:18 +08:00
Thomas
7f61132bc2
chore: adjust copy in addon update modal for partner billing[GEN-8953] ( #26306 )
2024-05-16 11:40:39 +08:00
Thomas
4e111f8f4d
chore: adjust copy for partner billed org when up/downgrading plan [GEN-8952] ( #26361 )
2024-05-16 11:26:03 +08:00