rijkvanzanten
3d33b9db55
Allow and ignore null schema in field update
...
Fixes #4254
2021-02-23 17:06:35 -05:00
rijkvanzanten
142b250c8d
Use pino error instead of fatal
...
Fatal throws flushing error when using 'pretty' log style
2021-02-23 11:29:37 -05:00
rijkvanzanten
435d6ec84a
Validate DB_CLIENT env var before creating DB connection
...
Fixes #3556
2021-02-23 11:28:56 -05:00
rijkvanzanten
2a738b7b52
Scope order by clause to table
...
Fixes #4246
2021-02-23 10:53:25 -05:00
rijkvanzanten
b087967c29
Prioritize env vars over stored vars in config file
...
Fixes #4191
2021-02-22 20:21:50 -05:00
rijkvanzanten
81bb7cfa53
Allow configuring the connection pool size
...
Closes #3165
2021-02-22 20:19:08 -05:00
Rijk van Zanten
0beaf56dc3
Add on-error hook ( #4233 )
...
* Add on-error hook
Closes #2906
* Ignore unspecified listeners
* Document error hook
2021-02-22 19:00:53 -05:00
Rijk van Zanten
f87cbb5824
Make max-payload-size configurable ( #4232 )
...
* Make max post size configurable
Closes #2925
* Document max payload size env var
2021-02-22 18:35:07 -05:00
Pyll Gomez
08e4400935
Fix for generating meta data gif and tiff images ( #4230 )
...
* Rotate JPG image on upload #4206
* fixes #3949 width/height generated for gif and tif
2021-02-22 17:10:24 -05:00
Pyll Gomez
87ec42c1bc
Rotate JPG image on upload #4206 ( #4223 )
2021-02-22 12:36:03 -05:00
Juan Carlos Blanco Delgado
7dee95e8aa
Adding syntax prefix parsing to specific types instead of only string var ( #4190 )
...
* Adding syntax prefix parsing to specific types instead of only strings env variables
* Update api/src/env.ts
* Update docs/reference/environment-variables.md
* Update docs/reference/environment-variables.md
* Ignore pre-parsed types
Co-authored-by: Rijk van Zanten <rijkvanzanten@me.com >
2021-02-22 11:36:24 -05:00
rijkvanzanten
0233e56c88
Fix type check of refresh cookie secure env var
...
Fixes #4205
2021-02-22 11:14:39 -05:00
rijkvanzanten
eb9069c42c
Don't use string parsed values in .env
2021-02-19 15:09:14 -05:00
rijkvanzanten
315456916a
Fix default limit for nested o2m sets
...
Ref #3743
2021-02-19 10:52:24 -05:00
Rijk van Zanten
ee3eb2818e
Fix null case in directus_permissions.fields ( #4161 )
...
Fixes #4095
2021-02-18 17:06:48 -05:00
Nicola Krumschmidt
065f7ea72a
Check if array is empty before inserting into database ( #4003 )
2021-02-18 15:10:12 -05:00
rijkvanzanten
f9685b0d4a
Base content-length on stat instead of saved value
2021-02-18 13:33:03 -05:00
rijkvanzanten
930028b083
Merge branch 'main' of github.com:directus/directus into main
2021-02-17 19:01:05 -05:00
rijkvanzanten
1624681487
Remove .flat usage
...
Fixes #4118
2021-02-17 19:00:54 -05:00
Martijn Boland
d95ab172bd
Prevent duplicates in select list. Fix taken from PR 3498 and fixes #2930 ( #4140 )
...
Co-authored-by: Martijn Boland <martijn@taiga.nl >
2021-02-17 18:59:43 -05:00
Rijk van Zanten
6661633031
Fetch all meta rows when retrieving collections ( #4142 )
2021-02-17 18:55:29 -05:00
Rijk van Zanten
b81cfe0a49
Implement byte-range requests on /assets ( #4136 )
...
Fixes #3640
2021-02-17 17:56:44 -05:00
alejandro-tss
d9cff2f8f3
Fixed authorization service ( #4130 )
...
Fix permission filter when validate payload in authorization service
2021-02-17 11:19:07 -05:00
rijkvanzanten
3615612da0
Apply search to filter_count
...
Fixes #4121
2021-02-17 10:47:57 -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
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
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
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
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