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

Release v2.6.0 #1305

Merged
merged 50 commits into from
Sep 24, 2019
Merged

Release v2.6.0 #1305

merged 50 commits into from
Sep 24, 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
binal-7span and others added 20 commits September 4, 2019 16:54
* Fix #2017[Renaming `Public` role gives `unauthorized` error on API calls]

* src

* Remove unwanted file from use
* Fix #1209[M2M relation with directus_collections cant be saved]

* Implement condition on update

* Define variable

* Fix #1209[M2M relation with directus_collections cant be saved]
…abase/TableGateway/RelationalTableGateway.php on line 2125 (#1270)
This fixes an issue where cache.enabled is false but caching is still working.
@rijkvanzanten rijkvanzanten merged commit fcc9e7a into master Sep 24, 2019
@rijkvanzanten rijkvanzanten deleted the release-v2.6.0 branch September 24, 2019 13:41
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet