Commit Graph

4775 Commits

Author SHA1 Message Date
rijkvanzanten
eb4deaa955 Default field sort order to database ordinal sort
And use alphabetical where appropriate

Fixes #4341
2021-03-03 18:36:21 -05:00
rijkvanzanten
c3dd7023a7 Don't surface forbidden reasoning 2021-03-03 17:33:11 -05:00
rijkvanzanten
bac8b9ebab Merge branch 'main' of github.com:directus/directus into main 2021-03-03 17:17:13 -05:00
rijkvanzanten
3b389aed9e Default autocomplete to off in v-input
Fixes #4348
2021-03-03 17:16:43 -05:00
rijkvanzanten
738ef8622d Don't leak collection name in param exception 2021-03-03 17:04:44 -05:00
Rijk van Zanten
7ab359eacf Throw forbidden error on /fields (#4366)
Fixes #4349
2021-03-03 17:04:39 -05:00
rijkvanzanten
a5cb9f6b6a Update docs, tweak type 2021-03-03 16:38:21 -05:00
Rijk van Zanten
5f08b5e331 Support root option in S3/Azure/GCS (#4364)
* Support `root` option in S3

* Ignore GCS key files for local testing

* Default root to empty string

* Add dev watchers to drive-* packages

* Add file rootpath to Azure
2021-03-03 16:37:44 -05:00
reolat
24548680d5 Create allow list for custom migration file extensions (#4358) 2021-03-03 12:24:04 -05:00
Rijk van Zanten
679fff1736 New translations en-US.yaml (Turkish) (#4343) 2021-03-03 10:04:45 -05:00
Rijk van Zanten
fda5a81888 New Crowdin updates (#4340)
* New translations en-US.yaml (Turkish)

* New translations en-US.yaml (Turkish)
2021-03-02 09:46:03 -05:00
Rijk van Zanten
9006b8efd0 New Crowdin updates (#4320)
* New translations en-US.yaml (French)

* New translations en-US.yaml (Vietnamese)
2021-03-01 11:07:31 -05:00
Doron Cohen
f9ffb36a11 docs: fix broken link in config files page (#4321) 2021-02-28 03:09:11 -05:00
Ben Haynes
aace1668bc docs link update 2021-02-26 18:46:36 -05:00
Ben Haynes
8f96917342 updated youtube link 2021-02-26 18:38:44 -05:00
rijkvanzanten
8aedc29aa1 v9.0.0-rc.44 v9.0.0-rc.44 2021-02-26 17:32:48 -05:00
rijkvanzanten
ba4810bac3 Prevent direct(us_) access through /items 2021-02-26 17:30:51 -05:00
rijkvanzanten
09a4b673eb Fix filtering by number
Fixes #3917
2021-02-26 17:30:20 -05:00
rijkvanzanten
827e332cec Fix cards allowing sorting on m2a
Fixes #4316
2021-02-26 17:26:03 -05:00
Rijk van Zanten
1d9ffc2d7f Tweak asset metadata on upload (#4317)
* Update sharp

* Only read image metadata after upload

Preserves animated gifs and other files

Fixes #4297

* Rotate thumbnails based on exif data

Ref #4206
2021-02-26 17:18:17 -05:00
Dominic Marcelino
fe0d81c86a Feature/markdown shortcuts (#4314)
* add shortcuts to markdown editor

* Update Tooltips

* remove comment

* Use meta in shortcut translation

* Correct spacing in heading dropdown

* Scope shortcuts to current interface instance

Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>
2021-02-26 16:18:37 -05:00
rijkvanzanten
f6c4ab0e6a Check if table still exists before auto-dropping columns 2021-02-26 16:08:10 -05:00
rijkvanzanten
d8432df75f Only show loader if there's no preview yet 2021-02-26 16:04:20 -05:00
Jian Liao
d1a6a61a16 Fix issue 4280 by initializing sortField when create new item (#4294)
* add more ignore pattern for git

* revert the change for api/.gitignore

* fix #4288 initialize sortField when create new item

* init the maxSort counter as -1

* use more reliable way to check if sortField exists or not

* reverted unexpected file changes

* Use local previewValues for start sort index

Co-authored-by: Jian Liao <jianliao@adobe.com>
Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>
2021-02-26 16:04:04 -05:00
Rijk van Zanten
2b53532bd7 New Crowdin updates (#4305)
* New translations en-US.yaml (Dutch)

* Update source file en-US.yaml
2021-02-26 15:25:17 -05:00
rijkvanzanten
3a7fd847e4 Filter out revisions without related activity record
Fixes #4160
2021-02-26 14:44:18 -05:00
rijkvanzanten
a9da412a35 Add names this time? 2021-02-26 12:13:03 -05:00
Ben Haynes
83b1aa53c2 desaturate all system dividers 2021-02-26 11:32:52 -05:00
rijkvanzanten
c2a5622cef Remove unused environment variable 2021-02-26 10:49:19 -05:00
rijkvanzanten
6a2f4c42a0 Fix permission presets parsing on mysql
Fixes #4199
2021-02-26 10:30:16 -05:00
Rijk van Zanten
900125fe3a Update api-config.md 2021-02-26 10:07:41 -05:00
Rijk van Zanten
1fcb38b7c8 Update authentication.md 2021-02-26 10:06:27 -05:00
Rijk van Zanten
db30acbb8a Move sortField to relationship setup (#4304)
* Add migration

* Add sort field to relation types

* Remove sortfield options in favor of relationship

* Add sort field configuration to relational setup

* Save m2a sortfield on the correct row

* Add default sort field to system data
2021-02-25 19:13:36 -05:00
rijkvanzanten
f088074d48 Only return full 500 stack trace to authenticated admin users 2021-02-25 19:12:18 -05:00
rijkvanzanten
f2d8c9e5be Check file create permissions before fetching external file 2021-02-25 19:03:38 -05:00
Ben Haynes
5fb42db374 Update assets.md 2021-02-25 18:11:06 -05:00
Manuel Schoebel
59464bacf8 Add documentation on how to download an asset as a file (#4303) 2021-02-25 17:41:14 -05:00
YannickMol
9e1b185c13 Show dialog text in tox in dark mode (#4302)
Fix #4289
2021-02-25 17:13:32 -05:00
rijkvanzanten
0951bf8b98 Tweak relational docs 2021-02-25 16:08:04 -05:00
Pyll Gomez
62eb1484b6 Docs Spell check (#4299)
* Rotate JPG image on upload #4206

* fixes #3949 width/height generated for gif and tif

* API hooks for event added for auth.login #4079

* updated doc for api hooks for new auth.login event

* Style tweaks

* Update docs

* Tweak docs some more

* Spelling error

* Allow non-required flags and pass to hook

* SDK - Persistent login refresh fixes #4113

* Fixed #4145 SDK, Token Expired error

* Spell check

* Docs Spell check

* Docs Spell check

* Docs Spell check

Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>
2021-02-25 15:09:44 -05:00
Ben Haynes
e4f76b1288 Update security.md 2021-02-25 14:59:51 -05:00
Pyll Gomez
88eda07c23 SDK, Token Expired error Fixes #4145 (#4296)
* Rotate JPG image on upload #4206

* fixes #3949 width/height generated for gif and tif

* API hooks for event added for auth.login #4079

* updated doc for api hooks for new auth.login event

* Style tweaks

* Update docs

* Tweak docs some more

* Spelling error

* Allow non-required flags and pass to hook

* SDK - Persistent login refresh fixes #4113

* Fixed #4145 SDK, Token Expired error

Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>
2021-02-25 14:17:41 -05:00
Rijk van Zanten
b0f3c0591a Add "explicit" o2m update syntax (#4295)
* Add support for a new o2m relational update structure

* Document these wonders
2021-02-25 14:08:57 -05:00
MiniDigger | Martin
01ecf994d4 wysiwyg: set the default link protocol to https (#4291)
See https://www.tiny.cloud/docs/plugins/opensource/link/#link_default_protocol

when you don't enter a protocol, and tinyemc thinks you entered an external link, it will prompt you to add https
2021-02-25 11:59:49 -05:00
Nitwel
b69fcec3a4 Add download buttons to files interface (#4287)
* add download button to files interface

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

Co-authored-by: Rijk van Zanten <rijkvanzanten@me.com>
2021-02-25 10:01:32 -05:00
Nitwel
496768af2f hide overflow and location when on mobile (#4286) 2021-02-25 09:59:24 -05:00
Nitwel
0db81f13ff fix new collection fields position (#4285) 2021-02-25 09:58:10 -05:00
Nitwel
4ab1d76b2f change order of toggle icons (#4284) 2021-02-25 09:55:06 -05:00
rijkvanzanten
8e0cce9c0b 🤷‍♀️ 2021-02-25 09:35:37 -05:00
rijkvanzanten
64b012bccc Revert "Link devDependencies"
This reverts commit 63ec4b8e60.
2021-02-24 19:03:26 -05:00