Commit Graph

1035 Commits

Author SHA1 Message Date
rijkvanzanten
b6837b24cb v9.0.0-rc.39 2021-02-16 18:37:45 -05:00
Rijk van Zanten
35830a5dfe Move Flydrive home and implement Azure (#4110)
* Add new packages

* Update docs

* Update linked packages

* Setup file pointers

* Don't require getStream to be async

* List credits

* Load azure in storage

* Fix typo in docs

* Fix another typo

* Remove not about raising an issue
2021-02-16 18:33:50 -05:00
rijkvanzanten
ee96c99ec5 Don't fail on missing config file
Fixes #4106
2021-02-16 17:14:24 -05:00
YannickMol
7830453cfc Align CORS environment variables between middleware and cos (#4099)
* Align CORS environment variables between middleware and cos

Fixes #4080

* Move CORS environment variables to env.ts
2021-02-16 14:56:09 -05:00
Adrian Dimitrov
335c3eab57 Update system fields default displays (#4089) 2021-02-16 13:44:26 -05:00
rijkvanzanten
b3d0e2bcea v9.0.0-rc.38 2021-02-16 12:05:34 -05:00
WoLfulus
813c731d27 Add config override support to env module (#4029)
* add override support for env module

* Override instead of merge w/ config file

* Default to reading .env instead of process.env

* Make env available in process.env

* Add docs for config-files

* Extend note

Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>
2021-02-16 11:38:07 -05:00
YannickMol
3bbf7f0d8b Add default displays to directus_users (#4069)
Fixes #3971
2021-02-15 16:27:03 -05:00
rijkvanzanten
b88150c29d Save "null" default value as null
Closes #3190
2021-02-15 14:04:02 -05:00
rijkvanzanten
76f1a387c7 Throw error on reading forbidden collection
Ref #4043
2021-02-15 13:50:44 -05:00
rijkvanzanten
d1ecac4394 Cleanup import 2021-02-15 13:50:17 -05:00
Nitwel
953b141245 fix fields not updateable because type is null (#4061) 2021-02-15 12:01:26 -05:00
Nitwel
a589b9553c Make fields of files either readonly or hide them (#4053)
* make fields of file readonly to hinder confusion

* hide upload fields because duplication of information
2021-02-15 10:10:25 -05:00
rijkvanzanten
e3fabe22a4 v9.0.0-rc.37 2021-02-12 18:23:59 -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
62f040b5d8 Warn on usage of __ prefixed fields in GraphQL (#4033)
Fixes #3825
2021-02-12 15:36:11 -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
andriusign
d74e121dc2 Add missing invite_url key to inviteSchema. (#4028) 2021-02-12 09:58:16 -05:00
rijkvanzanten
998c0fd148 v9.0.0-rc.36 2021-02-11 18:16:56 -05:00
rijkvanzanten
510cbe4ed4 Fix missing type info 2021-02-11 18:14:55 -05:00
rijkvanzanten
1464e690cd Fix init command in CLI
Fixes #4017
2021-02-11 18:07:19 -05:00
rijkvanzanten
351a6991dd Fix field name validation on field update 2021-02-11 14:46:53 -05:00
rijkvanzanten
9ec8f0d973 v9.0.0-rc.35 2021-02-11 13:23: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
41240fae14 Revert patch on fields root (#3994)
Fixes #3991
2021-02-10 09:51:10 -05:00
Daniel Stoyanoff
54bab04b3c #3982 - Write logs as part of health check in case the status is ERROR or WARN to help investigating issues easier (#3993)
Co-authored-by: Daniel <daniel.s@appgr8.com>
2021-02-10 09:37:21 -05:00
rijkvanzanten
82f9af67e0 Validate field update payload
Fixes #3928
2021-02-09 18:45:21 -05:00
Rijk van Zanten
e6fa07dba8 Allow field creation with just field/type combo (#3990)
Fixes #3926
2021-02-09 18:43:25 -05:00
andriusign
c00e89a8c0 Allow to pass custom URL for user invitation (#3972)
* Allow to pass custom URL for invitation to enable verification of user's email on custom Frond-End page (other than Directus Admin page).

* Update api/src/services/users.ts

Co-authored-by: Rijk van Zanten <rijkvanzanten@me.com>

* Update api/src/services/users.ts

Co-authored-by: Rijk van Zanten <rijkvanzanten@me.com>

* Update api/src/services/users.ts

Co-authored-by: Rijk van Zanten <rijkvanzanten@me.com>

Co-authored-by: Rijk van Zanten <rijkvanzanten@me.com>
2021-02-08 16:39:11 -05:00
Rijk van Zanten
4144cecef5 Fix validation structure in authorization service (#3967)
Fixes #3597
2021-02-08 15:13:14 -05:00
Rijk van Zanten
6108de4f3e Scope column name in table on search query (#3966)
Fixes #3964
2021-02-08 14:16:37 -05:00
WoLfulus
b8e7c80b72 Application initialization events (#3680)
* Adds `not_found` hook

* Separate hooks and endpoints initialization process

* Adds additional application events

* Remove unused import

* Change the event order to accound for notFound and errorHandler

* Change emitAsync.catch to use the emitAsyncSafe function

* Updated docs, reordered table by lifecycle and usage
2021-02-08 12:30:09 -05:00
Joseph Geis
42f0f01b13 Add system collections to GraphQL schema (wip) (#3872) 2021-02-08 12:21:50 -05:00
Rijk van Zanten
817ccf3620 Overhaul docs (#3951)
* Add Quickstart Guide

* Update installation

* Remove unused files

* Update support/backing

* Tweaks in concepts

* Setup file structure for API reference 2.0

* Setup page layout for reference

* Add clean-urls plugin

* getting started updates

* Finish authentication rest

* getting started updates

* Render stylus in 2 spaces

* Various

* Various

* Finish activity docs

* Add collections reference

* Add extension reference

* concepts updates

* Fields/tweaks

* Add files doc

* Add revisions

* concepts docs

* More api reference

* Finish rest api reference (finally)

* initial concepts

* More things

* Add assets api ref

* Move sections from file to assets

* Add environment variables

* contributing docs

* Add field transforms page

* Left align table headers

* concept links

* Add API config

* Fix mobile nav

* Add migrating a project

* doc link fixes

Co-authored-by: Ben Haynes <ben@rngr.org>
2021-02-05 18:51:54 -05:00
rijkvanzanten
a0fb2abbe9 Remove batch delete for fields/collections
It's too destructive
2021-02-04 11:19:32 -05:00
rijkvanzanten
fbd6a4a6b2 Validate that to-be-deleted record is comment before allowing 2021-02-03 18:18:09 -05:00
rijkvanzanten
4992a17a8b Validate comment update 2021-02-03 18:12:13 -05:00
Rijk van Zanten
693e770ca3 Make filename disk readonly (#3883)
Fixes #3863
2021-02-01 10:24:27 -05:00
Aleksandar
22bcf1244d Fix sdk auth (#3337)
* Fix format errors

* Fix lint error

* Fix auth token setter on server

* Fix auth logout for JSON
2021-01-29 18:13:15 -05:00
rijkvanzanten
b2263e614a v9.0.0-rc.34 2021-01-29 17:14:12 -05:00
rijkvanzanten
e6f8f910b5 Check for allowed fields existence before reading
Fixes #3853
2021-01-29 17:09:28 -05:00
Rijk van Zanten
5a019b4284 Implemented Union Types in GraphQL (#3852)
* Fetch correct amount of data

* Allow system required data to be returned in items service

* Fetch non-requested required data, find type through context

Fixes #3718
2021-01-29 16:23:33 -05:00
Rijk van Zanten
6cce246b92 Prefix union type name with collection name (#3847)
Fixes #3835
2021-01-29 10:56:41 -05:00
rijkvanzanten
91cb0cc58f v9.0.0-rc.33 2021-01-28 17:54:19 -05:00
rijkvanzanten
5632bd0ea7 Only check existense of user password when using password auth
Fixes #3831
2021-01-28 11:52:59 -05:00
rijkvanzanten
f1bd175e16 Remove limit temp for all nested collections 2021-01-27 17:30:16 -05:00
rijkvanzanten
55951a6f68 Don't crash on empty CSV export
Fixes #3820
2021-01-27 15:36:30 -05:00
rijkvanzanten
9bf8b5242c Fix modifying payloads from before hooks
Fixes #3776
2021-01-27 12:48:46 -05:00
rijkvanzanten
2f005063cd Force type of certain env vars
Fixes #3705
2021-01-27 11:37:51 -05:00
rijkvanzanten
fac2e280dd Fix CLI silencing errors
Fixes #3761
2021-01-27 10:45:01 -05:00