Skip to content

Commit

Permalink
Release v2.6.0 (directus#1305)
Browse files Browse the repository at this point in the history
* Issue Fix directus#1180 (directus#1183)

* Issue fix directus#1191 (directus#1192)

* Issue fix directus#1196 (directus#1197)

* Add 2fa authentication (directus#1031)

* Parent + Nested validation changes (directus#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 directus#1194 (directus#1195)

* Issue Fix directus#1194

* Update comment

* Valildation issue of O2M/M2O at insertion (directus#1198)

* Fox directus#1201 (directus#1202)

* Fix directus#1203 (directus#1204)

* Update collections() method in types.php (directus#1184)

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.

* Improve YouTube Embed Provider (directus#1210)

Adds in detection and parsing for youtu.be shorthand URLs.

* Add check for environment on bootstrap (directus#1215)

* Fix directus#1186 [Create new error code for invalid login entity] (directus#1218)

* Fix directus#1217 (Changing password over the CLI doesn't work) (directus#1220)

* Feature/audio video upload (directus#1214)

* added file meta data for audio/video

* updates as per PR feedback

* Fix directus#1207 [Permission denied issue  when using translation interface] (directus#1221)

* Fix for smtp send mail issue directus#1205 (directus#1223)

* Fix for smtp send mail issue directus#1205

Missing additional config settings
directus#1205

* Update Schema.php

* Fix 1232[Auth token is not refreshed] (directus#1233)

* Change Authencation Error code to 114 from 109 (directus#1231)

* Fix issue while update item. (directus#1224)

* directus#1227 : Ignore all the alias fields except file interface (directus#1240)

* Fix directus#1224 [Deletion of m2o/o2m field error for enabled cache] (directus#1241)

* Fix 845 (directus#1244)

* Change namespace for PHPUnit.

* Removing old tests.

* Fix directus#1238 [PDF support for Embedded URL] (directus#1245)

* Fix directus#1238[PDF support for Embedded URL]

* Add array support

* Update comment

* Update Files.php

* Fix directus#1243[Dynamic charset for DB] (directus#1246)

* Fix directus#1249[saveData: height is set to width] (directus#1251)

* Fix directus#2017[Renaming `Public` role gives `unauthorized` error on API calls] (directus#1253)

* Revert "Fix directus#2017[Renaming `Public` role gives `unauthorized` error on API calls] (directus#1253)" (directus#1254)

This reverts commit 7fe9056.

* FIX/core/Directus/Files.php: return $height instead of $width (directus#1250)

* Fix directus#1255 [Add support of batch Create/Update/Delete for user] (directus#1257)

* Fix directus#1255 [Support batch create/update/delete for user]

* Add exception

* Fix directus/app#2017 (directus#1256)

* Fix directus#2017[Renaming `Public` role gives `unauthorized` error on API calls]

* src

* Remove unwanted file from use

* Fix directus#729 [Can't properly query nested fields on Files field] (directus#1260)

* directus#1216 : Solved issue in O2M relationship of table itself (directus#1259)

* Fix directus#1209 [M2M relation with directus_collections cant be saved] (directus#1261)

* Fix directus#1209[M2M relation with directus_collections cant be saved]

* Implement condition on update

* Define variable

* Fix directus#1209[M2M relation with directus_collections cant be saved]

* 🙆🏻‍♂️

* Fix directus#1266 (directus#1267)

* Fix Warning:  Cannot use a scalar value as an array in /src/core/Directus/Config/StatusMapping.php on line 103 (directus#1268)

* Fix Notice: Undefined variable: filterFields in src/core/Directus/Database/TableGateway/RelationalTableGateway.php on line 2125 (directus#1270)

* Fix  directus#1237 (directus#1265)

* Project name fix (directus#1272)

* Adds support for environment variables in CLI (directus#1276)

* Cleans up some unused/deprecated files in the repository (directus#1277)

* Fix directus#1248 [API cannot go into deeper on user data] (directus#1282)

* Add proper exit codes for CLI (directus#1281)

* Fix cache.enabled not respected in cache service (directus#1273)

This fixes an issue where cache.enabled is false but caching is still working.

* Add CLI cache:clear (directus#1274)

* Fix directus#1284[Broken user related fields] (directus#1287)

* Fix directus#1279 [wysiwyg-full - add image - Call to a member function isOneToMany() on null] (directus#1288)

* fixed bug with incorrect height (directus#1293)

* Bump version
  • Loading branch information
rijkvanzanten authored Sep 24, 2019
1 parent c698bf5 commit fcc9e7a
Show file tree
Hide file tree
Showing 104 changed files with 521 additions and 13,288 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -67,3 +67,6 @@ deploy.*
#See https://github.com/slimphp/Slim/issues/1829
#php -S localhost:8000 cliserver.php
public/cliserver.php

# Cache generated while filesystem adapter
/cache/*
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ We love pull-requests! To work on Directus you'll need to install it locally fro
<i>Project Lead</i>
</td>
<td>
<a href="https://github.com/rijkvanzanten"><img width="160px" src="https://user-images.githubusercontent.com/522079/42234533-dfb6039a-7ec2-11e8-950c-04b34d47d6e4.jpg"><br>
<a href="https://github.com/rijkvanzanten"><img width="160px" src="https://github.com/rijkvanzanten.png"><br>
Rijk van Zanten</a><br>
<i>App Lead</i>
</td>
Expand Down
37 changes: 0 additions & 37 deletions benchmarks/api/Config/SourceBench.php

This file was deleted.

1 change: 1 addition & 0 deletions bin/directus
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ try {
$cli->run();
} catch (\Exception $e) {
echo $e->getMessage() . PHP_EOL;
exit(1);
}

?>
4 changes: 0 additions & 4 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,10 +43,6 @@
"char0n/ffmpeg-php": "^3.0.0",
"pragmarx/google2fa": "^5.0"
},
"require-dev": {
"phpunit/phpunit": "^5.7.25",
"phpbench/phpbench": "@dev"
},
"suggest": {
"paragonie/random_compat": "Generates cryptographically more secure pseudo-random bytes",
"league/flysystem-aws-s3-v3": "Enables the usage of Amazon S3 adapter for storage",
Expand Down
25 changes: 0 additions & 25 deletions package.json

This file was deleted.

20 changes: 0 additions & 20 deletions phpbench.json

This file was deleted.

192 changes: 0 additions & 192 deletions phpunit.php

This file was deleted.

24 changes: 0 additions & 24 deletions phpunit.xml.dist

This file was deleted.

2 changes: 1 addition & 1 deletion src/core/Directus/Application/Application.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ class Application extends App
*
* @var string
*/
const DIRECTUS_VERSION = '2.5.0';
const DIRECTUS_VERSION = '2.6.0';

/**
* NOT USED
Expand Down
Loading

0 comments on commit fcc9e7a

Please sign in to comment.