Skip to content

Commit

Permalink
v8.6.0
Browse files Browse the repository at this point in the history
  • Loading branch information
rijkvanzanten committed Mar 3, 2020
1 parent 29c9085 commit 9780f20
Show file tree
Hide file tree
Showing 244 changed files with 1,417 additions and 2,663 deletions.
5 changes: 4 additions & 1 deletion migrations/install/20180220023243_create_settings_table.php
Original file line number Diff line number Diff line change
Expand Up @@ -303,7 +303,10 @@ public function change()
'interface' => 'slug',
'width' => 'half',
'type' => 'string',
'required' => true
'required' => true,
'options' => [
'onlyOnCreate' => false
]
],
[
'field' => 'fit',
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,77 @@
<?php

use Phinx\Migration\AbstractMigration;

class UpdateSlugOptionForAssetWhiteList extends AbstractMigration
{
public function change()
{
// -------------------------------------------------------------------------
// Update Slug Option For Field Key In Asset WhiteList
// -------------------------------------------------------------------------
$this->execute(\Directus\phinx_update(
$this->getAdapter(),
'directus_fields',
[
'options' => json_encode([
'template' => '{{key}}',
'fields' => [
[
'field' => 'key',
'interface' => 'slug',
'width' => 'half',
'type' => 'string',
'required' => true,
'options' => [
'onlyOnCreate' => false
]
],
[
'field' => 'fit',
'interface' => 'dropdown',
'width' => 'half',
'type' => 'string',
'options' => [
'choices' => [
'crop' => 'Crop (forces exact size)',
'contain' => 'Contain (preserve aspect ratio)'
]
],
'required' => true
],
[
'field' => 'width',
'interface' => 'numeric',
'width' => 'half',
'type' => 'integer',
'required' => true
],
[
'field' => 'height',
'interface' => 'numeric',
'width' => 'half',
'type' => 'integer',
'required' => true
],
[
'field' => 'quality',
'interface' => 'slider',
'width' => 'full',
'type' => 'integer',
'default' => 80,
'options' => [
'min' => 0,
'max' => 100,
'step' => 1
],
'required' => true
]
]
])
],
['collection' => 'directus_settings', 'field' => 'asset_whitelist']
));
}
}


Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion public/admin/index.html
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<!DOCTYPE html><html lang=en><head><meta charset=utf-8><meta http-equiv=X-UA-Compatible content="IE=edge"><meta name=viewport content="width=device-width,initial-scale=1"><link rel="shortcut icon" href=favicon.ico><link rel=manifest href=manifest.webmanifest><title>Directus</title><link rel=stylesheet href=style.css><link href=css/app.f06de946.css rel=preload as=style><link href=js/app.24e22e5c.js rel=preload as=script><link href=js/chunk-vendors.619f7150.js rel=preload as=script><link href=css/app.f06de946.css rel=stylesheet></head><body><noscript><strong>We're sorry but Directus doesn't work without JavaScript enabled. Please enable it to continue.</strong></noscript><div id=app></div><script src=script.js></script><script src=js/chunk-vendors.619f7150.js></script><script src=js/app.24e22e5c.js></script></body></html>
<!DOCTYPE html><html lang=en><head><meta charset=utf-8><meta http-equiv=X-UA-Compatible content="IE=edge"><meta name=viewport content="width=device-width,initial-scale=1"><link rel="shortcut icon" href=favicon.ico><link rel=manifest href=manifest.webmanifest><title>Directus</title><link rel=stylesheet href=style.css><link href=css/app.f06de946.css rel=preload as=style><link href=js/app.ee2edb24.js rel=preload as=script><link href=js/chunk-vendors.619f7150.js rel=preload as=script><link href=css/app.f06de946.css rel=stylesheet></head><body><noscript><strong>We're sorry but Directus doesn't work without JavaScript enabled. Please enable it to continue.</strong></noscript><div id=app></div><script src=script.js></script><script src=js/chunk-vendors.619f7150.js></script><script src=js/app.ee2edb24.js></script></body></html>
2 changes: 0 additions & 2 deletions public/admin/js/app.24e22e5c.js

This file was deleted.

2 changes: 2 additions & 0 deletions public/admin/js/app.ee2edb24.js

Large diffs are not rendered by default.

Large diffs are not rendered by default.

1 change: 0 additions & 1 deletion public/admin/js/chunk-166a0664.4ce77e79.js.map

This file was deleted.

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions public/admin/js/chunk-3020ac28.90224c4e.js.map

Large diffs are not rendered by default.

2 changes: 0 additions & 2 deletions public/admin/js/chunk-af81e182.e6daecd4.js

This file was deleted.

1 change: 0 additions & 1 deletion public/admin/js/chunk-af81e182.e6daecd4.js.map

This file was deleted.

Loading

0 comments on commit 9780f20

Please sign in to comment.