Commit Graph

9503 Commits

Author SHA1 Message Date
Azri Kahar
f940b6a1fc correct the documented default type for argon2 (#15594) 2022-09-15 22:15:52 +08:00
Azri Kahar
3ec17671e9 Only pass singleton prop in CollectionOrItem component when necessary (#15570)
* Disable attribute inheritance for layout wrapper

* only pass singleton prop when necessary
2022-09-15 14:52:08 +02:00
Rafly Maulana
e13c8e36b0 Allow user to send a WYSIWYG email body (#15514)
* Allow user to send a WYSIWYG email body

* Revert "Allow user to send a WYSIWYG email body"

This reverts commit b65aeb4efc.

* Use a dropdown to select between WYSIWYG and Markdown Editor

* Change input-rich-text-* to wysiwyg or markdown

Co-authored-by: Azri Kahar <42867097+azrikahar@users.noreply.github.com>
2022-09-15 13:53:19 +08:00
Vincent Kempers
42261e5fa4 checking if there is a text or an error (#15579) 2022-09-15 11:36:57 +08:00
Nicola Krumschmidt
d68a8768fa Add a pathToRelativeUrl util function (#15578) 2022-09-14 15:01:31 -04:00
ian
bf8eec7df8 Update pull_request_template.md (#15577) 2022-09-14 13:05:41 -04:00
Nicola Krumschmidt
6bcd514161 Fix starting Directus using a custom start file (#15574)
This should resolve #15091 without breaking #14728.
2022-09-14 12:47:02 -04:00
Azri Kahar
9b24233aa4 Handle Date objects in compress util (#15547) 2022-09-13 13:41:17 -04:00
Azri Kahar
c0e12638c6 Fix O2M edits on unsaved items (#15221)
* fix o2m reopening unsaved item in drawer

* fix use-relation-multiple edits w/ display fields

* remove cloneDeep in #15220 since it's reverted

* use isObjectLike

* update the logic of cleaning edited item

* revert o2m fix

* fix merging of edits

Co-authored-by: Nitwel <nitwel@arcor.de>
Co-authored-by: Brainslug <br41nslug@users.noreply.github.com>
2022-09-13 11:30:41 -04:00
ian
551f1d82b4 Fix display dimensions of SVG in image edit drawer (#15463) 2022-09-12 21:49:22 -04:00
Rijk van Zanten
08ac07c639 Update pull_request_template.md 2022-09-12 21:04:15 -04:00
Kepi
5a7974aa19 GraphQLID is always Non-Nullable (#15465) 2022-09-12 21:02:28 -04:00
Azri Kahar
c8ae40f827 fix v-list-group active state (#15442) 2022-09-12 20:00:17 -04:00
Azri Kahar
487112e679 Ensure case insensitive email for password resets (#15420) 2022-09-12 19:59:33 -04:00
Nitwel
b36ea51e13 Fix duplicate indexes (#15500)
* fix duplicate indexes

* lint

Co-authored-by: Azri Kahar <42867097+azrikahar@users.noreply.github.com>
2022-09-12 17:55:08 -04:00
Brainslug
e72ae3b2a7 Item Duplication for manually entered primary keys (#14947)
* disable save as copy for manually entered primary keys

* only mark primaryKey as readonly for generated pk's

* re-enable save-as-copy for manual ids
2022-09-12 17:23:54 -04:00
Jonathan Schneider
212481ff07 Add missing download and token parameter in File interface (#14871)
* add missing download and token parameter

* add download name

* update all file download links (:download and :href), update icon, add single file drawer download

* add filename_download to adjustFieldsForDisplays

* add new computed use asset url logic

* switch composable to utility function

* switch to new URL and add tests

* add getAssetUrl to file-image

* Update app/src/interfaces/files/files.vue

Co-authored-by: Nitwel <mail@nitwel.de>

* update code style error

* add download to drawer of file-image, fix wrong css selector and update preview download icon

* Remove debugging database

Co-authored-by: Rijk van Zanten <rijkvanzanten@me.com>
Co-authored-by: Brainslug <br41nslug@users.noreply.github.com>
Co-authored-by: ian <licitdev@gmail.com>
Co-authored-by: Nitwel <mail@nitwel.de>
2022-09-12 16:30:43 -04:00
Roger Stringer
b1106e183d revisions for CRUD operations with $full (#15467)
* revisions for CRUD operations with $full

* Update api/src/operations/item-update/index.ts

Co-authored-by: ian <licitdev@gmail.com>

* add system role to getAccountabilityForRole and add it to create, delete and update items operations

* Whitespace consistency

Co-authored-by: ian <licitdev@gmail.com>
2022-09-13 02:25:05 +08:00
Nitwel
b0c9107d3e Fix rotating called twice (#15494)
* fix double rotating

* Fix linting

Co-authored-by: ian <licitdev@gmail.com>
2022-09-12 09:36:55 +00:00
Vincent Kempers
5f3f44a386 redudant message in unexpected error (#15520) 2022-09-11 15:08:15 +00:00
GBSTR
8c53346126 fix autofocus (#15450)
Co-authored-by: dev name <devn@brainpop.com>
2022-09-09 15:12:05 +08:00
Chaiwat Trisuwan
06cff9457a fix: add arrow-placement logic check if folder empty (#15405) (#15441) 2022-09-08 17:32:14 +02:00
rijkvanzanten
4d465764a1 v9.17.4 2022-09-06 17:01:09 -04:00
rijkvanzanten
7e3ece5d9f v9.17.4 v9.17.4 2022-09-06 16:59:25 -04:00
Azri Kahar
ac2275f3b8 Prevent v-highlight infinite loop (#15438) 2022-09-06 16:57:43 -04:00
rijkvanzanten
41995dbd45 v9.17.3 2022-09-06 14:18:13 -04:00
rijkvanzanten
2cb00e8809 v9.17.3 v9.17.3 2022-09-06 14:16:25 -04:00
ian
67ca1c266f Merge with M2M junction value when validating in drawer-item (#15433)
* Merge with M2M junction value when validating in drawer-item

* Simplify for null values

* Clear validation error messages on save
2022-09-06 14:14:50 -04:00
rijkvanzanten
7a48adc928 v9.17.2 2022-09-06 10:58:32 -04:00
rijkvanzanten
a04b733504 v9.17.2 v9.17.2 2022-09-06 10:54:03 -04:00
Azri Kahar
f087b3e43c Fix drawer item empty form for o2m/treeview (#15413) 2022-09-06 10:49:21 -04:00
rijkvanzanten
fd9c75b27c v9.17.1 2022-09-05 11:39:54 -04:00
rijkvanzanten
a17a0f4fb9 v9.17.1 v9.17.1 2022-09-05 11:38:28 -04:00
Rijk van Zanten
d95394bc98 New Crowdin updates (#15381)
* New translations en-US.yaml (Spanish)

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

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

* New translations en-US.yaml (Indonesian)

* New translations en-US.yaml (Turkish)

* New translations en-US.yaml (Norwegian)

* New translations en-US.yaml (Turkish)

* New translations en-US.yaml (Turkish)

* Update source file en-US.yaml

* New translations en-US.yaml (French)

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

* New translations en-US.yaml (Russian)

* New translations en-US.yaml (Polish)

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

* New translations en-US.yaml (Spanish)

* New translations en-US.yaml (Danish)

* New translations en-US.yaml (German)

* New translations en-US.yaml (Bulgarian)

* New translations en-US.yaml (Italian)

* New translations en-US.yaml (Czech)

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

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

* New translations en-US.yaml (French, Canada)
2022-09-05 11:31:55 -04:00
ian
1ef17c2ed2 Disable foreign check outside the trx in SQLite (#15403)
* Disable foreign check outside the trx in SQLite

* Update test

* Test if working for all vendors

* Fix sequential tests flow

* Revert triggering for all vendors
2022-09-05 11:31:36 -04:00
Nitwel
358e6266c0 Add unit tests for useRelationMultiple (#15372)
* add unit tests

* add more tests
2022-09-05 11:14:33 -04:00
GBSTR
213de3f5c6 fix divider not showing/ showing when not needed (drawer-item) (#14605)
* fix form divider when opened from drawer item

* remove redundant functions

* change back the form order to what is was

* add the option to swap between relation fields and junction fields

* fix language

* added m2m options as dropdown with more abilities

* remove the hide options and put off instead

* remove the off option from m2m junctionFieldLocation

Co-authored-by: Gabriel Shtenberg <gabriels@brainpop.com>
Co-authored-by: dev name <devn@brainpop.com>
2022-09-05 16:23:44 +02:00
Mehdi Nassim KHODJA
31a6fd208f Adding SendGrid email transport (#15384)
* Adding SendGrid email transport

* Formatting

Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>
2022-09-05 10:14:41 -04:00
Bobby Alex Philip
ac34279eb1 Move supertest to devDependencies (#15397) 2022-09-05 10:01:36 -04:00
ian
cb914746d2 Add singleton tests (#15402)
* Add singleton tests

* Test if working for all vendors

* Revert triggering for all vendors
2022-09-05 09:58:59 -04:00
Kadir ESEN
e7854549fd fix: date-fns date format for tr-TR translations (#15396) 2022-09-04 09:36:14 -04:00
ian
6be7e8f83b Merge with existing item when validating in drawer-item (#15386) 2022-09-04 11:54:24 +02:00
ian
8f7d2f8c5d Set limit as -1 for local exports when field is cleared (#15385) 2022-09-03 15:45:38 -04:00
Azri Kahar
7ccd787975 Fix context menu (#15376) 2022-09-03 21:16:33 +08:00
rijkvanzanten
39c8c6aa83 v9.17.0 2022-09-02 16:19:24 -04:00
rijkvanzanten
200c2dd2c7 v9.17.0 v9.17.0 2022-09-02 16:17:56 -04:00
rijkvanzanten
ac125cd41f Update docs 2022-09-02 16:14:14 -04:00
Rijk van Zanten
f600d46edf New Crowdin updates (#15166)
* New translations en-US.yaml (German)

* New translations en-US.yaml (Turkish)

* New translations en-US.yaml (Turkish)

* New translations en-US.yaml (Turkish)

* New translations en-US.yaml (Turkish)

* New translations en-US.yaml (Turkish)

* New translations en-US.yaml (Turkish)

* New translations en-US.yaml (Turkish)

* New translations en-US.yaml (Turkish)

* New translations en-US.yaml (German)

* New translations en-US.yaml (Vietnamese)

* New translations en-US.yaml (Vietnamese)

* New translations en-US.yaml (Polish)

* New translations en-US.yaml (Polish)

* Update source file en-US.yaml

* New translations en-US.yaml (Portuguese, Brazilian)

* New translations en-US.yaml (Turkish)

* New translations en-US.yaml (Turkish)

* New translations en-US.yaml (Bulgarian)

* New translations en-US.yaml (Bulgarian)

* New translations en-US.yaml (Italian)

* New translations en-US.yaml (Italian)

* New translations en-US.yaml (Finnish)

* New translations en-US.yaml (Finnish)

* New translations en-US.yaml (German)

* New translations en-US.yaml (Hebrew)

* New translations en-US.yaml (Spanish)

* New translations en-US.yaml (German)

* New translations en-US.yaml (German)

* New translations en-US.yaml (Polish)

* New translations en-US.yaml (Spanish)

* New translations en-US.yaml (Spanish)

* New translations en-US.yaml (Spanish)

* New translations en-US.yaml (Spanish)

* New translations en-US.yaml (French)

* New translations en-US.yaml (Italian)

* New translations en-US.yaml (Italian)

* New translations en-US.yaml (Italian)

* Update source file en-US.yaml

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

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

* New translations en-US.yaml (Spanish)

* New translations en-US.yaml (Bulgarian)

* New translations en-US.yaml (Italian)

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

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

* New translations en-US.yaml (Turkish)

* New translations en-US.yaml (German)

* New translations en-US.yaml (Italian)

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

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

* New translations en-US.yaml (French)

* New translations en-US.yaml (Polish)
2022-09-02 16:03:14 -04:00
Brainslug
0d56357475 Sort is set to NULL for new items (#15241)
* Fix sort field assignment in relationships

* fixed a merge error

* add sort logic to API

* using isNil for a more concise condition expression

* Removed the custom getSortMax function in favor of Math.max

* increment sort value accordingly for bulk creates

* make reordering sort start with 1 instead of 0

* account for bulk create in API side

* removed the redundant frontend sorting code

* reverted change from pr #14987

* updated selectedOnPage to support both item duplication and sorting

* Revert "account for bulk create in API side"

This reverts commit b37ed207f3.

* re-add bulk create increment sort logic

* prevent sending "+" as primary key for newly created relational items (#15353)

* re-add the removed new line as it felt odd

* ensure sql query fires once only

* fix return value

* use `.max()`

Co-authored-by: André Gaul <andre@gaul.io>
Co-authored-by: Azri Kahar <42867097+azrikahar@users.noreply.github.com>
Co-authored-by: Rijk van Zanten <rijkvanzanten@me.com>
2022-09-02 15:58:30 -04:00
Roger Stringer
07135d7250 check that collection exists and not a singleton on panels (#15355)
* check that collection exists and not a singleton on panels

* add a prop to includeSingleton
2022-09-02 15:52:08 -04:00