10719 Commits

Author SHA1 Message Date
rijkvanzanten
e908db17b4 v10.6.2 v10.6.2 2023-09-19 13:28:29 -04:00
Rijk van Zanten
db5082eeb2 New Crowdin updates (#19532)
* New translations en-US.yaml (Chinese Simplified)

* New translations en-US.yaml (Chinese Simplified)

* New translations en-US.yaml (Vietnamese)

* New translations en-US.yaml (Vietnamese)

* New translations en-US.yaml (German)

* New translations en-US.yaml (Italian)

* New translations en-US.yaml (Arabic)

* New translations en-US.yaml (Arabic)

* New translations en-US.yaml (Spanish)

* New translations en-US.yaml (Croatian)

* New translations en-US.yaml (Turkish)

* New translations en-US.yaml (Turkish)

* New translations en-US.yaml (Chinese Simplified)

* New translations en-US.yaml (Italian)

* New translations en-US.yaml (Spanish, Mexico)

* New translations en-US.yaml (Croatian)

* New translations en-US.yaml (Spanish, Chile)

* New translations en-US.yaml (Spanish, Latin America)

* Update source file en-US.yaml

* New translations en-US.yaml (Estonian)

* New translations en-US.yaml (Estonian)

* New translations en-US.yaml (Italian)
2023-09-19 13:15:39 -04:00
Brainslug
243eed781b Merge pull request from GHSA-hmgw-9jrg-hf2m
* Add extra error handling for invalid messages

* added description and logging

* renamed fix function

---------

Co-authored-by: Rijk van Zanten <rijkvanzanten@me.com>
2023-09-19 13:12:42 -04:00
Pascal Jufer
adb1617fef Require less items to show search in v-select & v-field-list (#19737)
* Require less items to show search in v-select & v-field-list

* Add changeset
2023-09-19 12:59:10 -04:00
Pascal Jufer
c413788c67 Apply workaround for update permission check for rules with relational fields (#19728)
* Apply workaround for update permission check for rules with relational fields

* Add basic update tests for isAllowed

* Enhance parseFilter tests

* Add changeset
2023-09-19 11:30:25 -04:00
Pascal Jufer
a6de008059 Fix collection selection in field duplication (#19732)
* Fix collection selection in field duplication

* Add changeset

* Remove unused import

---------

Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>
2023-09-19 10:08:22 -04:00
rijkvanzanten
f82e03fe9f Add 'optional' flag to supabase endpoint 2023-09-19 09:43:09 -04:00
Pascal Jufer
a82f5b9a56 Show divider in related item drawer only if necessary (#19715)
* Show divider in related item drawer only if necessary

* Enhance types while we're at it

* Add changeset

---------

Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>
2023-09-18 16:28:44 -04:00
Brainslug
8d3bf6cd5d SDK Removed invalid login provider option (#19722)
* Removed provider option

* Create lazy-zebras-dress.md

---------

Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch>
2023-09-18 16:28:04 -04:00
Jeremy Zilar
3967f9fe6f Add clarity to ROOT_REDIRECT and SERVE_APP (#19725)
* Add clarity to ROOT_REDIRECT and SERVE_APP

Clarifying the function of the `ROOT_REDIRECT` and `SERVE_APP` settings in the config docs.

* Add my username to contributors.yml

* fix typo

* Tweak descriptions

---------

Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>
2023-09-18 16:27:34 -04:00
Pascal Jufer
ab64b3db28 Ensure all dependent packages are bumped on release (#19711)
Co-authored-by: Daniel Biegler <DanielBiegler@users.noreply.github.com>
2023-09-18 09:35:33 +00:00
Brainslug
366b8678f1 SDK Improved input checks (#19702)
* added extra guards for a couple commands

* Abstracted guard checking to util

* Updated the delete commands

* Updated the read commands

* Updated the update commands

* Create slow-buckets-draw.md

* my friend prettier
2023-09-16 11:51:13 -04:00
Kevin Lewis
d423fe61dc Updated SendGrid extension guide to import package (#19687)
Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch>
2023-09-15 15:07:01 +00:00
Christian Rendl
59c795d7a9 Fix initialization order to avoid page-not-found error (#19685)
* Fix initialization order to avoid page-not-found error

* Sign CLA

* Sign CLA

* Slightly adjust the comment

* Add changeset

---------

Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch>
2023-09-15 15:57:58 +02:00
José Varela
9819049f0c Assets: Handle transformation timeout errors (#19684)
Co-authored-by: Azri Kahar <42867097+azrikahar@users.noreply.github.com>
Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch>
Co-authored-by: ian <licitdev@gmail.com>
2023-09-15 13:32:50 +00:00
Brainslug
523c57739c Update npm init docs (#19688)
* Update npm init docs

* prettier
2023-09-14 10:43:52 -04:00
Brainslug
c200de8e2d Added SDK TypeScript version to docs (#19686)
Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch>
2023-09-14 14:10:45 +02:00
Esther Agbaje
ac43a43223 docs: update sdk imports (#19681) 2023-09-13 22:09:59 +02:00
Pascal Jufer
b51c26d725 Use v-form for field conditions and validation settings (#19639)
Co-authored-by: Azri Kahar <42867097+azrikahar@users.noreply.github.com>
Co-authored-by: Brainslug <tim@brainslug.nl>
2023-09-13 18:27:33 +02:00
thame
3ece72eac9 Fix typo (#19667)
Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch>
2023-09-13 15:39:20 +02:00
Pascal Jufer
9854a2174f Import config.js file as ESM (#19654)
Co-authored-by: Brainslug <tim@brainslug.nl>
2023-09-13 13:19:34 +00:00
Pascal Jufer
0c56c46fdf Attempt to make "require shares fields" migration safer/more reliable (#19619)
Co-authored-by: Azri Kahar <42867097+azrikahar@users.noreply.github.com>
2023-09-12 21:10:58 +02:00
Kevin Lewis
9f216c09bc Tab-based snippet toggler (#19670)
Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch>
2023-09-12 17:31:03 +02:00
Pascal Jufer
1389c95f73 Clean-up code in block editor & fix value watcher (#19634)
* Clean-up code in block editor & fix value watcher

* Add changeset

* Update .changeset/large-gorillas-decide.md
2023-09-12 08:51:33 +02:00
Brainslug
a9116ab5ef Updated sharp dependency (#19658)
* updated sharp dependency

* added package lock

* Create chilly-adults-rule.md
2023-09-11 11:24:15 -04:00
Brainslug
0910f6fb13 Update node version in docs (#19656)
* fix node version in docs

* always prettier
2023-09-11 14:51:41 +02:00
Pascal Jufer
9b4ac46fa7 Allow update-check to work in read-only envs & add timeout (#19636)
* Allow update-check to work in read-only envs & add timeout

* Update deps in 'update-check'

* Add changeset

* Switch to `got`

* Fix dir check

The cache dir usually doesn't exist, so we need to create it first.

If the dir shouldn't exist already, this also catches the case when fs is read only -
if it should exist but fs is read only, the cache is now forgivable enough to not fail.
'fs.access' would not be sufficiently reliable anyway,
since permission could change between the check and write action.

* Add basic test

* Disable retry
2023-09-11 13:52:54 +02:00
Pascal Jufer
28887d3d29 Format code blocks in documentation guides (#19655) 2023-09-11 13:16:47 +02:00
Brainslug
77599aa3e5 Update hint about WebSocket timeout (#19653) 2023-09-11 11:54:50 +02:00
Pascal Jufer
3a7080444a Add hint about WebSocket timeout (#19652) 2023-09-11 10:23:59 +02:00
Pascal Jufer
d5694ec443 Add example requests to "Upload a File" (#19651) 2023-09-11 09:59:23 +02:00
cheddar
a806cb38b0 Docs: Fix broken link (#19645)
* Fix broken link

Link was pointing to an older page (I assume). Updated to what I believe is the right page.

* Update link description

* Create clever-guests-stare.md

* Clarify changeset

---------

Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch>
2023-09-10 15:08:31 +02:00
Pascal Jufer
e7e699dc97 Align the validation error message and icon (#19640) 2023-09-08 20:04:57 +02:00
ian
71d7f731ab Fix cropped v-icon (#19638)
Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch>
2023-09-08 19:53:27 +02:00
Brainslug
975f75a9ad SDK Make globals configurable (#19606)
Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch>
Co-authored-by: Azri Kahar <42867097+azrikahar@users.noreply.github.com>
2023-09-08 15:22:42 +02:00
Jan Arends
5c8d3d22c6 Reset auto increment sequence (#19328)
Co-authored-by: ian <licitdev@gmail.com>
Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch>
2023-09-08 11:19:14 +02:00
Azri Kahar
fad16a62fc Fix JSON values in raw editors and input-code (#19608) 2023-09-08 09:39:18 +02:00
Azri Kahar
585cd52bec Add RTL support to markdown interface (#19628) 2023-09-07 23:45:17 -04:00
Azri Kahar
548819686c Rerender forms in translations interface when switching languages (#19618)
* rerender the form only when switching languages

* add changeset
2023-09-07 13:15:14 +02:00
Pascal Jufer
8b0a866ca8 Switch to pnpm v8.7.4 (#19617) 2023-09-07 12:55:32 +02:00
Alex van der Valk
28301c58b5 Ensure routes to items are encoded correctly (#19604)
* add encodeURIComponent to item id

* signoff on contributers.yml

* Update test

* Normalize URLs

* Add changeset

* Don't rely on encodeURIComponent in test

* Don't use router.resolve as resulting URL wouldn't be loaded correctly

* Split out 'getItemRoute' into new 'getCollectionRoute' function

* Switch to 'get-route' utils

* Omit mock & add test for singleton system collection

* Add hint for return type

* Update changeset

* Update app/src/utils/get-route.test.ts

* Update app/src/utils/get-route.ts

---------

Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch>
Co-authored-by: Azri Kahar <42867097+azrikahar@users.noreply.github.com>
2023-09-07 09:45:40 +00:00
Nitwel
26fb314e97 Improve notifications view (#19503)
* improve notifications view

* add pagination

* add dense option

* cas to boolean

* add archive all button

* fix padding

* make links colored

* Update app/src/lang/translations/en-US.yaml

Co-authored-by: Daniel Biegler <DanielBiegler@users.noreply.github.com>

* Update notifications-drawer.vue

* Use v-text-overflow component for title & time, clean-up styles

* Load notifications only as soon as drawer is opened

* Fix link when item is undefined

* fix resetting page

* Start search bar in collapsed state when opening drawer

* Effectively apply smaller width to search bar

* Custom sidebar label

* Remove unused/obsolete `useTimeFromNow` composable

* Move datetime logic to reusable composable & use it in notification drawer

Nice benefit is that it now uses the same refresh interval for all usages of `useDatetime` across the whole page

* Update unread count on archive actions

* Finalize

- Transform use-datetime composable into renderless component,
  see https://vuejs.org/guide/components/slots.html#scoped-slots

  With this we can get rid of the hacky 'refresher' but still use it in
  any context, e.g. together with v-text-overflow

- Only update unread count on archive all action as we cannot be sure
  about the current count in case of single archive/unarchive

- Renaming some variables/classes for clarity

* Add missing newline

* Add changeset

* Fix optional props definition

* Make notification content selectable

* Reuse markdown style from markdown interface

* Generalize small search input if sidebar active

---------

Co-authored-by: Daniel Biegler <DanielBiegler@users.noreply.github.com>
Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch>
2023-09-06 12:54:31 +02:00
Azri Kahar
ece722871b Fix emit value for system-raw-editor component (#19601)
* emit value even for technically invalid json

* add changeset
2023-09-05 22:12:04 -04:00
Azeem Haider
f770fefc96 Ignore extra envs for mysql (#19589)
* fix #7420 ignore extra envs for mysql

* Update contributors.yml

* Run formatter

* Add changeset

---------

Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>
2023-09-05 07:33:32 -07:00
Brainslug
17a0317f8b SDK Fix realtime infinite auth loop (#19586)
* fixed event handler leaking

* fix infinite authentication loop

* ran prettier

* Create tiny-penguins-roll.md

* Added extra checks

* add timeout to awaiting messages

* re-tested subscribe subscription error paths

* ran rpettier
2023-09-05 10:10:25 -04:00
Pascal Jufer
f8d39cfee7 Ensure scroll bar is shown again after toggling of Live Preview (#19582)
* Ensure scroll bar is shown again after toggeling of Live Preview

* Add changeset

* Update .changeset/dry-geckos-remain.md
2023-09-05 09:59:24 -04:00
Diego Leme
c009ba4af9 Add hook filter events in flow interface (#19575)
* Add hook filter events in flow interface

* Add changeset

---------

Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch>
2023-09-05 15:17:34 +08:00
Brainslug
6c95cfb6f4 Authentication fixes for the SDK (#19354)
Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch>
2023-09-04 17:39:19 +02:00
GitStart
7fdd34e2c4 Enhance search in Checkboxes (Tree) interface (#19451)
Co-authored-by: Thiago Nascimbeni <tnascimbeni@gmail.com>
Co-authored-by: v1b3m <vibenjamin6@gmail.com>
Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch>
2023-09-04 17:26:02 +02:00
Brainslug
e34e49fc65 Improving SDK error/response handling (#19539)
* improving error/response handling

* updated request function to expose the response on error

* updated the composables where needed

* Create few-rules-talk.md

* ran prettier

* undid unintended type change

* added missing awaits for onResponse

* Update few-rules-talk.md

* Mark it as major change

* unpack directus errors instead of nesting

* ran prettier

* Update .changeset/few-rules-talk.md

Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch>

---------

Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch>
2023-09-04 13:58:11 +02:00