Commit Graph

4798 Commits

Author SHA1 Message Date
Nitwel
f2f6de949c Adding and removing collections from m2a (#4271)
* add adding and removing collections from m2a

* warn when the collection has been deleted

* simplify nonExistent items check

* Cleanup

* Remove unnecessary continue

Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>
2021-03-04 19:02:32 -05:00
Ben Haynes
3e5b9b2fea no errant commented out code
sorry rijk
2021-03-04 18:54:32 -05:00
Ben Haynes
7599e0a7aa primary color and various design updates 2021-03-04 18:50:47 -05:00
rijkvanzanten
1e89c25872 Remove "locked" field from directus_fields
Closes #3925
2021-03-04 18:41:59 -05:00
rijkvanzanten
5afa6c04fc Create field in transaction
Fixes #4211
2021-03-04 17:35:39 -05:00
rijkvanzanten
61c5522c06 Treat filter "null" as null
Closes #4386
2021-03-04 17:12:44 -05:00
rijkvanzanten
a878fa9aad Fix datetime readonly interactivity
Fixes #4387
2021-03-04 17:08:09 -05:00
rijkvanzanten
ec436170a0 Fix file import for admins 2021-03-04 17:02:29 -05:00
Martijn Boland
bed7890a6b Filter O2M collections with a subquery instead of joins to prevent cartesian products (#4278)
* Cherry-picked fix for 4078 from mssql-to-success branch

* Only use o2m joins in subqueries

* Allow more array nesting in query params

* Clarify naming

* Return empty nested o2m sets as array

Co-authored-by: Martijn Boland <martijn@taiga.nl>
Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>
2021-03-04 16:58:13 -05:00
Romain Lanz
3065d65b0c chore: add license to drive package (#4385) 2021-03-04 14:20:07 -05:00
rijkvanzanten
fb5c9068bc List updated min requirement 2021-03-04 14:14:31 -05:00
rijkvanzanten
490870858c Make revisions drawer detail more resiliant
Fixes #4344 (i think)
2021-03-04 14:05:27 -05:00
Rijk van Zanten
30f631b0b2 Allow deeply nested queries with deep (#4384)
* Allow deeply nested query using _prefix

* Support deeply nested deep-queries

* Parse nested deep in GraphQL correctly

* Update docs
2021-03-04 12:59:54 -05:00
rijkvanzanten
d8985bb823 Fix type issue 2021-03-04 11:10:47 -05:00
rijkvanzanten
9dfcc7c6fb Don't append index on first collection 2021-03-04 10:57:33 -05:00
rijkvanzanten
286f7191d4 Update monospace font
Fixes #4375
2021-03-04 10:42:37 -05:00
rijkvanzanten
a079184a56 Fix JS error on user delete
Fixes #4379
2021-03-04 10:36:24 -05:00
rijkvanzanten
f63edc266d Fix dnd in safari
Fixes #4345
2021-03-04 10:32:41 -05:00
rijkvanzanten
d9a09719cf Fix width/height of exif orientation image
Fixes #4323
2021-03-04 10:28:47 -05:00
rijkvanzanten
47c9657cc3 Prefix export url with app root path
Fixes #4258
2021-03-03 20:02:33 -05:00
rijkvanzanten
31b5dbfe66 Fix validation error on preset creation with app access
Fixes #4369
2021-03-03 19:57:04 -05:00
Nicola Krumschmidt
08293b8570 Update Knex to version 0.95.0 (#4374)
* Update Knex to version 0.95.0

* Fix formatting in schema dialects

* Fix Knex imports

* Update package-lock

Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>
2021-03-03 19:37:44 -05:00
rijkvanzanten
bd80c3e14d Fix disabled states of files/slider
Fixes #4370
2021-03-03 19:17:15 -05:00
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