Commit Graph

364 Commits

Author SHA1 Message Date
Nitwel
32fabbd2ee fix repeater type not being able to be set (#4149) 2021-02-18 11:22:57 -05:00
Nitwel
84c52feb71 Reset value of interface interface when type gets changed (#4125) 2021-02-17 11:03:38 -05:00
Jian Liao
fcfee6bde3 fix #4058 set index correctly for deletion (#4104)
Co-authored-by: Jian Liao <jianliao@adobe.com>
2021-02-16 16:15:47 -05:00
rijkvanzanten
3d08c02e4c Fix disabled state of code editor
Fixes #3916
2021-02-16 16:03:04 -05:00
YannickMol
e691c2a911 Update readonly styling for code editor (#4085)
Fixes #3365
2021-02-16 13:56:15 -05:00
Adrian Dimitrov
9d7dccfac0 Fix readonly colors; Fix font selecting (#4086) 2021-02-16 11:30:02 -05:00
Jian Liao
f7a9b25e3b fix #4060 by setting array $index (#4077)
Co-authored-by: Jian Liao <jianliao@adobe.com>
2021-02-15 17:22:39 -05:00
YannickMol
8fb5c10544 Update midnight DateTime format (#4076)
Fixes #3870
2021-02-15 17:13:58 -05:00
YannickMol
d6b6821258 Remove button in O2M fields works in readonly mode (#4070)
Fixes #3930
2021-02-15 15:37:47 -05:00
Nitwel
8d0a23e2e6 add clear button to datetime interface (#4064) 2021-02-15 12:58:47 -05:00
Nitwel
e02d36d3a5 add reset button for color interface (#4063) 2021-02-15 12:58:26 -05:00
Nitwel
d1149260e3 add default values to toggle interface (#4062) 2021-02-15 12:53:15 -05:00
Adrian Dimitrov
e4bf978655 Add file library integration for WYSIWYG interface (#3263)
* Add file library integration for WYSIWYG interface

* Fix typing; Prevent selecting non-image on image field

* Allow imageToken in the interface; addTokenToURL() replace token if presents

* Add file library integration for WYSIWYG interface

* Fix typing; Prevent selecting non-image on image field

* Allow imageToken in the interface; addTokenToURL() replace token if presents

Co-authored-by: Nitwel <nitwel@arcor.de>
2021-02-15 10:15:11 -05:00
Rijk van Zanten
81fc8443df Don't wrap text in nav (#4035)
* Move v-list-item-text to v-text-overflow, use in tables

* Fix type issue
2021-02-12 16:39:17 -05:00
Rijk van Zanten
ee3f5cbad3 Various m2a builder fixes (#4032)
* Fix drawer opening empty item after sort

* Fix null sorting

* Fix sending null for a type in field creation

* Fix sort / edit existing on sorted values in m2a builder

Fixes #4005, fixes #4007

* Remove stray console log
2021-02-12 15:23:23 -05:00
Rijk van Zanten
1064d10296 Fix file imports now that vetur supports monorepos (#4016) 2021-02-11 13:08:59 -05:00
Rijk van Zanten
b7d87e581a System permissions for app access (#4004)
* Pass relations through schema, instead of individual reads

* Fetch field transforms upfront

* Fix length check

* List if user has app access or not in accountability

* Load permissions up front, merge app access minimal permissions

* Show app access required permissions in permissions overview

* Show system minimal permissions in permissions detail

* Fix app access check in authenticate for jwt use

* Fix minimal permissions for presets

* Remove /permissions/me in favor of root use w/ permissions

* Fix logical nested OR in an AND

* Use root permissions endpoint with filter instead of /me

* Allow filter query on /permissions

* Add system minimal app access permissions into result of /permissions

* Remove stray console log

* Remove stray console.dir

* Set current role as role for minimal permissions

* Fix no-permissions state for user detail

* Add filter items function that allows altering existing result set
2021-02-11 12:50:56 -05:00
Rijk van Zanten
f3cb3ddc2b Fix query param handling in file interface (#3977)
Fixes #3944
2021-02-08 17:44:36 -05:00
rijkvanzanten
77e10a7130 Use sort value in m2a preview values
Fixes #3315
2021-01-29 10:36:18 -05:00
rijkvanzanten
68ef095875 Fix image interface not fetching image in drawers
Fixes #3512
2021-01-27 17:50:08 -05:00
rijkvanzanten
c89b83a76a Add token to download links
Fixes #3451
2021-01-27 15:28:14 -05:00
Nicola Krumschmidt
8f8b33de09 Fix v-input usages requiring nullable to be false 2021-01-26 13:08:29 +01:00
rijkvanzanten
5a050a22db Fix wysiwyg toolbar height 2021-01-25 17:51:04 -05:00
rijkvanzanten
7abd2842d4 Don't nullify input in icon interface
Fixes #3787
2021-01-25 17:26:06 -05:00
Ben Haynes
0b3aa71940 Merge branch 'main' of https://github.com/directus/directus into main 2021-01-25 10:52:51 -05:00
Ben Haynes
da22c48cb8 fix color placard 2021-01-25 10:52:14 -05:00
rijkvanzanten
7bbce08b98 Add edit drawers to file/image interfaces
Closes #3752
2021-01-21 11:49:35 -05:00
rijkvanzanten
f01685bcc9 Add imageToken option to markdown interface 2021-01-19 12:27:08 -05:00
rijkvanzanten
4ea6aa1f7c Add image picker to md interface 2021-01-19 12:11:16 -05:00
rijkvanzanten
b30324a06c Add custom syntax block option to markdown
And fix v-form overrides
2021-01-15 11:43:27 -05:00
rijkvanzanten
596230107a Various markdown improvements 2021-01-15 11:07:55 -05:00
rijkvanzanten
9a15f2baa1 Remove unused import 2021-01-14 19:37:31 -05:00
rijkvanzanten
2aeafb2bce Finish markdown interface v3 2021-01-14 19:34:16 -05:00
rijkvanzanten
ca36e312c4 Start on new md interface 2021-01-14 14:48:40 -05:00
Rijk van Zanten
e090593a45 Merge pull request #3691 from nickrum/color-interface-fixes
Color interface fixes
2021-01-14 09:30:32 -07:00
Nicola Krumschmidt
d5e757c026 Don't re-emit value propagated to color interface 2021-01-14 16:15:53 +01:00
Nicola Krumschmidt
5c018948f3 Round rgb and hsl values in color interface 2021-01-14 16:09:13 +01:00
Nicola Krumschmidt
127ba9ec01 Fix setting hue greater than 100 in color interface 2021-01-14 16:06:42 +01:00
rijkvanzanten
f05e264c85 Fix datetime interface displayvalue not initializing on load
Fixes #3137, fixes #3252
2021-01-13 17:44:57 -05:00
Nicola Krumschmidt
d5890df4c2 Add Nullable option to text-input interface 2021-01-13 17:13:35 -05:00
rijkvanzanten
05f0bc967e Turn hash into type
Fixes #3542
2021-01-12 17:08:19 -05:00
Ben Haynes
47705e5e1d margin top divider interface option 2021-01-12 15:52:54 -05:00
Ben Haynes
3c7be941bd clean up m2a dropdown 2021-01-12 14:38:09 -05:00
Ben Haynes
9e800dbdf6 m2a spacing 2021-01-07 14:58:32 -05:00
Nicola Krumschmidt
87e6e54e13 Fix template option of code interface 2020-12-28 00:23:24 +01:00
rijkvanzanten
52b8334e39 Fix deselect button not showing up for non-admin users
Fixes #3265
2020-12-14 19:54:55 -05:00
rijkvanzanten
14cc248022 Fix recommended display name
Fixes #3390
2020-12-11 17:50:07 -05:00
rijkvanzanten
d893e44bf7 Fix code interface not staging values in plain text mode
Fixes #3296
2020-12-08 18:32:53 -05:00
rijkvanzanten
6f7cc4fcce Move en-US translations to YAML file 2020-12-08 10:14:10 -05:00
Igor Savin
7cddb458cb Run prettier across app and api 2020-12-08 02:22:00 +02:00