Commit Graph

10064 Commits

Author SHA1 Message Date
Nitwel
7f6511d6dc Fix too many SQL Variables (#18001)
* Fix too many SQL Variables

* run linter

* Use lodash' chunk instead of custom for loop

---------

Co-authored-by: Rijk van Zanten <rijkvanzanten@me.com>
2023-04-12 02:28:49 +00:00
Pascal Helfenstein
b220413819 Add register and update hooks for oauth2 and openid drivers (#18131)
* Add register and update hooks for oauth2 and openid drivers

* Add register and update hooks for ldap and saml drivers

* Update contributors.yml

Add username nicam to contributors.yml

---------

Co-authored-by: Rijk van Zanten <rijkvanzanten@me.com>
2023-04-11 19:47:40 -04:00
Rijk van Zanten
bce0c1c002 Use lodash set to format error (#18143) 2023-04-11 19:25:42 -04:00
Rijk van Zanten
08282b55f7 New Crowdin updates (#18055)
* New translations en-US.yaml (Chinese Simplified)

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

* New translations en-US.yaml (Dutch)

* New translations en-US.yaml (Persian)

* New translations en-US.yaml (Persian)

* New translations en-US.yaml (Italian)

* Update source file en-US.yaml

* New translations en-US.yaml (Polish)

* New translations en-US.yaml (Japanese)

* New translations en-US.yaml (Persian)

* New translations en-US.yaml (Persian)

* New translations en-US.yaml (French)

* New translations en-US.yaml (Arabic)

* New translations en-US.yaml (French, Canada)

* New translations en-US.yaml (French)

* Update source file en-US.yaml

* Update source file en-US.yaml
2023-04-11 19:16:13 -04:00
Azri Kahar
d6fb0fcd7e use DEFAULT_AUTH_DRIVER constant instead of hardcoded string (#17646)
* use DEFAULT_AUTH_DRIVER constant in login form

* also use constant in server store

---------

Co-authored-by: Rijk van Zanten <rijkvanzanten@me.com>
2023-04-11 19:02:31 -04:00
Julius Berger
b207af25ea Add support for AVIF image format (#17303)
Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch>
Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>
2023-04-11 21:57:38 +00:00
Matthew Rumery
8728c9ed13 Enhance local development setup instructions (#18133)
* docs: add local development setup instructions

* docs: move and simplify docs, and add reference in contributing

* docs: remove m1 reference to non-office docker image

* Update readme.md

* Remove note about volta since we've removed it from the package.json

* Adjust notes

* Quick update of the commands

---------

Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch>
Co-authored-by: Rijk van Zanten <rijkvanzanten@me.com>
2023-04-11 17:09:29 -04:00
Pascal Jufer
5205a8a17a Handle webhook request errors correctly (#18080) 2023-04-11 16:49:02 -04:00
Rijk van Zanten
b7f352eec2 Fix updating payload on request.error filter (#18137)
Fixes #17002
2023-04-11 16:14:44 -04:00
denkhaus
1a843061ee Translation dialogs: make fields full width / multiline again (#18135)
* Make inputs in Translation-String Dialog fullwidth and change translation input field from input -> input-multiline.

* Update contributors.yml

---------

Co-authored-by: Rijk van Zanten <rijkvanzanten@me.com>
2023-04-11 16:00:48 -04:00
Pascal Jufer
d8455c14e2 Clean-up after "Enhance bug reporting from within the app" (#18136)
* Remove duplicate v-menu._test.ts

* Making UsableProjectInfo private again
2023-04-11 15:49:51 -04:00
José Varela
54f5081e69 Users: Verify JWT on accept invitation (#16711)
* Adds ability to verify JWT with meaningful errors

* Fix tests

* Apply verify JWT to accept invitation

* Update per review

* Add joselcvarela to contributors

He's a core team member; already signed the CLA outside of GH

---------

Co-authored-by: Brainslug <br41nslug@users.noreply.github.com>
Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>
2023-04-11 15:49:26 -04:00
Pascal Jufer
dcc246e165 Introduce new directus wrapper package (#18134)
* Maybe?

* Maybe maybe

* ESM & version update

* Adjust Dockerfile to new wrapper package

* Clean-up api package.json file

* Update directus/package.json

* Update directus/package.json

* Update directus/package.json

* Regen pnpm lock

* Declare engines in new wrapper package

* Use wrapper version in app-settings

---------

Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>
2023-04-11 15:25:58 -04:00
rijkvanzanten
ff65665038 Remove unused import 2023-04-11 15:16:17 -04:00
Pascal Jufer
f09f440146 Enhance bug reporting from within the app (#16566)
* Fix paths of imports

* Process not-found.vue as ts

To prevent the following error from 'vue-tsc':
  error TS6504: File '/Users/pascal/Development/directus/app/src/modules/insights/routes/not-found.vue.js' is a JavaScript file. Did you mean to enable the 'allowJs' option?

Note: We could also enable 'allowJS' but since this is the only js file
this seems to be a more fitting fix

* Drop hljs language definition for GraphQL (now in core)

* Enhance bug reporting from within the app

* Simplify simplify simplify

---------

Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>
2023-04-11 15:04:26 -04:00
Pascal Jufer
15b91dee34 Blackbox tests restructuring (#18122)
Co-authored-by: Azri Kahar <42867097+azrikahar@users.noreply.github.com>
Co-authored-by: ian <licitdev@gmail.com>
Co-authored-by: Rijk van Zanten <rijkvanzanten@me.com>
2023-04-11 18:28:37 +02:00
Pascal Jufer
b4e9afcc88 Provide filename via Content-Disposition when accessing asset (#16809)
* Provide filename via Content-Disposition when accessing asset

* Remove unused const

---------

Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>
2023-04-11 11:52:09 -04:00
Nitwel
3028c645d0 Disallow selecting singletons (#17790)
* Disallow selecting singletons

* disallow for relations to singletons

* run linter

---------

Co-authored-by: Rijk van Zanten <rijkvanzanten@me.com>
2023-04-11 10:57:24 -04:00
Rijk van Zanten
dd93fe6032 Improve error message on failed import (#18130) 2023-04-11 10:46:33 -04:00
Nitwel
ea35a1ab73 Fix tabular headers (#17799)
* Rework table headers

* fix tabular headers

* run linter

* fix display with translations

* remove console log

* run linter

* Update app/src/layouts/tabular/tabular.vue

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

* Update app/src/layouts/tabular/tabular.vue

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

* add array prop

* turn to dealiased

---------

Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch>
Co-authored-by: Rijk van Zanten <rijkvanzanten@me.com>
Co-authored-by: Azri Kahar <42867097+azrikahar@users.noreply.github.com>
2023-04-11 10:22:06 -04:00
rijkvanzanten
cc25205494 Gh itself doesn't use title case 2023-04-11 10:18:14 -04:00
rijkvanzanten
6987b5a195 Update labels 2023-04-11 10:16:05 -04:00
Diego Leme
aaa0397c3a Block refresh token of suspended users (#17927)
* Block refresh token of suspended users

* Add diegoleme as contributor

---------

Co-authored-by: Rijk van Zanten <rijkvanzanten@me.com>
2023-04-11 09:22:00 -04:00
Azri Kahar
166ba2f8c1 refresh current user for Save and Stay action (#17925) 2023-04-11 09:09:10 -04:00
Gerard Lamusse
e66ee967f0 If undefined collection, use item as relative url (#15806)
* If no undefined collection, use item as relative url

* Only navigate if item is set

* Added Gerard Lamusse (u12206050)

---------

Co-authored-by: Brainslug <br41nslug@users.noreply.github.com>
Co-authored-by: Rijk van Zanten <rijkvanzanten@me.com>
2023-04-11 09:03:41 -04:00
Jan Arends
a13c52f123 added jaads to list of contributors (#18129) 2023-04-11 12:42:44 +02:00
ian
b9087c1aca Move activity Action enum from types to constants package (#18126)
Co-authored-by: Azri Kahar <42867097+azrikahar@users.noreply.github.com>
2023-04-11 08:30:48 +00:00
Pascal Jufer
1ba69ba851 Add missing typescript devDep to composables (#18127) 2023-04-11 08:29:34 +00:00
Matthew Rumery
0462d55615 [docs] add tip about bundle type not supporting migration extension type (#18123) 2023-04-10 22:11:08 -04:00
Azri Kahar
6bba1c38f8 Fix dark theme color for emoji picker (#17926) 2023-04-10 20:34:17 -04:00
bicouy0
d9d9901b02 serve rollup output chunks (#18084)
Co-authored-by: Rijk van Zanten <rijkvanzanten@me.com>
2023-04-11 00:09:00 +02:00
Nitwel
9cbfa88e81 Fix default values (#15710)
* Fix default values

* run linter

* use assign

* fix working with permissions

* run linter

* fix set related item to empty when having junction

* check for empty

* Update app/src/views/private/components/drawer-item.vue

---------

Co-authored-by: Rijk van Zanten <rijkvanzanten@me.com>
Co-authored-by: Brainslug <br41nslug@users.noreply.github.com>
Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch>
Co-authored-by: Azri Kahar <42867097+azrikahar@users.noreply.github.com>
2023-04-10 21:23:49 +00:00
Rijk van Zanten
c0345194ff Update contributing.md 2023-04-10 16:40:58 -04:00
Brainslug
ab8446dd16 throw an error on invalid file upload (#18035)
* throw an error on invalid file upload

* include size check in file validation

* removed accidental import
2023-04-10 15:47:42 -04:00
Rijk van Zanten
0ce2ef244d Upgrade tinymce (#18107)
* Upgrade tinymce

* Omit 'skin_url' instead of setting it to false

The option expect a string value. Instead of setting it to 'false' we
can just completly omit it.
Otherwise we get the following warning:
> Invalid value passed for the skin_url option. The value must be a string.

Although not explicitly mentioned in the migration doc, the stricter check / warning has
probably been introduced with v6.

* Disable pasting of images

From
https://www.tiny.cloud/docs/tinymce/6/migration-from-5x/#plugins-paste:

> A paste default has changed. The paste_data_images option now defaults to true.
> When paste was a plugin, this option was, by default, set to false, which prevented images being pasted from the local machine

* Update toolbar option names

---------

Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch>
2023-04-10 15:22:37 -04:00
Rijk van Zanten
54abbd1970 Update keyv/redis (#18119) 2023-04-10 15:22:22 -04:00
Rijk van Zanten
05af3a7774 Add items.sort to flow trigger events (#18118) 2023-04-10 14:53:51 -04:00
rijkvanzanten
340d9fbc7b Enable editLink 2023-04-10 14:43:18 -04:00
Azri Kahar
dd3202ce38 Fix diff validation and apply (#18048)
Co-authored-by: Rijk van Zanten <rijkvanzanten@me.com>
Co-authored-by: ian <licitdev@gmail.com>
2023-04-10 17:53:51 +02:00
Azri Kahar
98335f248f fix warning block accessibility for dark theme (#18117) 2023-04-10 10:17:47 -04:00
Pascal Jufer
3dff09346a Remove wrong info that SAML metadata options can be URLs (#18116)
* Improve typings in saml auth driver

* Remove wrong info that SAML metadata options can be URLs
2023-04-10 09:11:36 -04:00
Nitwel
8ea94c317b Fix sort icons (#17984)
* Fix sort icons

* Run linter

* Fix return value for unsorted headers

---------

Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch>
Co-authored-by: Brainslug <br41nslug@users.noreply.github.com>
Co-authored-by: Rijk van Zanten <rijkvanzanten@me.com>
2023-04-10 14:27:12 +02:00
Brainslug
e56a6715be security update in the vm2 dependency (#18112) 2023-04-08 19:32:55 +02:00
Rijk van Zanten
9ec6606694 Bro thats like just your opinion bro (#18106) 2023-04-07 16:28:57 -04:00
ian
fdf0fa2fb8 Add max batch mutation (#17535)
Co-authored-by: Brainslug <br41nslug@users.noreply.github.com>
Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch>
2023-04-07 18:25:25 +02:00
Pascal Jufer
ec5852b23b Small typo on configuration options page in docs (#18102) 2023-04-07 09:44:00 -04:00
Azri Kahar
9bafaef939 Fix falsy default values when reading singleton collection (#18101)
* fix falsy default value for readSingleton

* add unit test

* opt to check null only

* sign CLA
2023-04-07 21:29:36 +08:00
Pascal Jufer
f7c2f14181 Check if there are any missing contributors (#18099) 2023-04-07 07:58:47 -04:00
Nitwel
88a401ca20 Make headers sticky again (#17850)
Co-authored-by: Rijk van Zanten <rijkvanzanten@me.com>
Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch>
2023-04-07 12:29:41 +02:00
Pascal Jufer
99e6c7f8fd Clean-up configs (#18093)
* Consolidate gitignore config

* Remove editorconfig in subfolders

* Remove obsolete jest config
2023-04-07 17:29:28 +08:00