Skip to content
This repository has been archived by the owner on Jan 6, 2023. It is now read-only.

v8.0.0-rc.2 #1457

Merged
merged 171 commits into from
Nov 21, 2019
Merged

v8.0.0-rc.2 #1457

merged 171 commits into from
Nov 21, 2019

Conversation

rijkvanzanten
Copy link
Member

No description provided.

binal-7span and others added 30 commits August 8, 2019 16:37
* Parent + Nested validation changes (#1138)

* Add migration schema for 2FA Secret user field

* Add 2fa_secret field to FieldsSeeder

* Create Missing 2FA Password Exception

* Add googleauthenticator dependency

* Add getter for User's 2FA secret

* Check for otp param in login request, and login with it

* Add enforce_2fa parameter to directus_settings

* Create Utils endpoint and service method to generate 2fa secret

* Add enforce_2fa field to roles

* Add enforce_2fa field to FieldsSeeder

* Change Missing2FAPasswordException error code to 111

* Change 2FA Library

* Change 2fa_secret interface in FieldsSeeder

* Created exception for invalid otp

* Changed findUserWithCredentials to through an InvalidOTPException on otp check

* Created new exception if 2fa is enforced but not enabled by user

* Added function to check if 2fa is enforced for a user

* Check in AuthenticationMiddleware whether 2fa is enforced and enabled for user

* Add optional needs2FA field to auth token and on token refresh

* Catch error if enforce_2fa column doesn't exist
Fixes crash when has2FAEnforced is called on a DB that hasn't been migrated

* Use relative positions for target path array to check user edit

* Fix unset on payload_arr instead of payload

* Change 2FA activation on login to use activate2FA endpoint

* Update ItemsService.php
* Issue Fix #1194

* Update comment
There are cases when $type is not a string but an object that inherits from ObjectType.
In that situation array_key_exists failing because it should get only integers or strings 
as a first parameter. So in order to avoid that the 'name' property of the object is used 
as a key.
Adds in detection and parsing for youtu.be shorthand URLs.
* added file meta data for audio/video

* updates as per PR feedback
* Fix for smtp send mail issue #1205

Missing additional config settings
#1205

* Update Schema.php
* Change namespace for PHPUnit.

* Removing old tests.
* Fix #1238[PDF support for Embedded URL]

* Add array support

* Update comment

* Update Files.php
* Fix #1255 [Support batch create/update/delete for user]

* Add exception
rijkvanzanten and others added 28 commits November 12, 2019 15:53
…stallation as well with already existing fields (#1391)" (#1424)

This reverts commit 483e065.
When using Imagick less than version 3.4.4, it will throw error `Constant Imagick::ALPHACHANNEL_REMOVE is undefined`.

The const `ALPHACHANNEL_REMOVE` only exist in 3.4.4 as described [here](Imagick/imagick#281).
* Add Migration for theme

* Fix #1442 [Reset password throws email error on inactive user]
* Update role to m2o

* Remove debug code

* If exist condition

* Update migrations/db/seeds/RelationsSeeder.php
* Fix #1434

* Remove unwanted code

* Try catch for response

* Remove the superadmin token from payload and place it as a param

* Remove admin condition to delete the project

* Remove whitespace
*  Issue fix 1450

* Remove optional from social_providers as it will add a blank string too.
* Fix #1417 [Resolve edit permission is required to create a file]

* Remove unwanted enter from file

* Remove unwanted files from git commit

* Remove unwanted files from git commit
* Stop migrtions execution for server endpoints

* Remove trailing slash from get request
* Add support for redis cluster

* Add cache adapter type for rediscluster

* Use cache/cache for dev-master (which support RedisCluster)
Fix instanciation of RedisCluster
@rijkvanzanten rijkvanzanten merged commit 25fa223 into master Nov 21, 2019
@rijkvanzanten rijkvanzanten added this to Done in v8.0.0 Dec 3, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
No open projects
v8.0.0
  
Done
Development

Successfully merging this pull request may close these issues.

None yet