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

Commit

Permalink
v2.0.6
Browse files Browse the repository at this point in the history
  • Loading branch information
rijkvanzanten committed Nov 10, 2018
1 parent 2ac0efc commit 78d95c7
Show file tree
Hide file tree
Showing 119 changed files with 1,265 additions and 394 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ public function change()
'default' => false
]);
$table->addColumn('icon', 'string', [
'limit' => 20,
'limit' => 30,
'null' => true,
'default' => null
]);
Expand Down
17 changes: 17 additions & 0 deletions migrations/upgrades/schemas/20181105165224_upgrade_070006.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
<?php

use Phinx\Migration\AbstractMigration;

class Upgrade070006 extends AbstractMigration
{
public function up()
{
$table = $this->table('directus_collections');

$table->changeColumn('icon', 'string', [
'limit' => 30,
'null' => true,
'default' => null,
]);
}
}
2 changes: 1 addition & 1 deletion public/extensions/core/interfaces/datetime/meta.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"name":"$t:datetime","version":"1.0.1","types":["datetime","datetime_updated","datetime_created"],"icon":"event","options":{"min":{"name":"$t:min","comment":"$t:min_comment","interface":"datetime"},"max":{"name":"$t:max","comment":"$t:max_comment","interface":"datetime"},"localized":{"name":"$t:localized","comment":"$t:localized_comment","interface":"toggle","value":true},"showRelative":{"name":"$t:relative","interface":"toggle","comment":"$t:relative_comment","value":false},"iconLeft":{"name":"$t:icon_left","comment":"$t:icon_left_comment","interface":"icon","advanced":true},"iconRight":{"name":"$t:icon_right","comment":"$t:icon_right_comment","interface":"icon","advanced":true},"utc":{"name":"$t:utc","comment":"$t:utc_comment","interface":"toggle","advanced":true}},"translation":{"en-US":{"datetime":"Datetime","min":"Minimum time","min_comment":"Minimum time that can be chosen by the user","max":"Maximum time","max_comment":"Maximum time that can be chosen by the user","localized":"Localized","localized_comment":"Show the date localized in the output","relative":"Show relative time","relative_comment":"Show the time relatively (eg 50 minutes ago)","icon_left":"Icon Left","icon_left_comment":"Choose an optional icon to display on the left of the input","icon_right":"Icon Right","icon_right_comment":"Choose an optional icon to display on the right of the input","utc":"Save as UTC","utc_comment":"Save to and display from UTC"}}}
{"name":"$t:datetime","version":"1.0.1","types":["datetime","datetime_updated","datetime_created"],"icon":"access_time","options":{"min":{"name":"$t:min","comment":"$t:min_comment","interface":"datetime"},"max":{"name":"$t:max","comment":"$t:max_comment","interface":"datetime"},"localized":{"name":"$t:localized","comment":"$t:localized_comment","interface":"toggle","value":true},"showRelative":{"name":"$t:relative","interface":"toggle","comment":"$t:relative_comment","value":false},"iconLeft":{"name":"$t:icon_left","comment":"$t:icon_left_comment","interface":"icon","advanced":true},"iconRight":{"name":"$t:icon_right","comment":"$t:icon_right_comment","interface":"icon","advanced":true},"utc":{"name":"$t:utc","comment":"$t:utc_comment","interface":"toggle","advanced":true}},"translation":{"en-US":{"datetime":"Datetime","min":"Minimum time","min_comment":"Minimum time that can be chosen by the user","max":"Maximum time","max_comment":"Maximum time that can be chosen by the user","localized":"Localized","localized_comment":"Show the date localized in the output","relative":"Show relative time","relative_comment":"Show the time relatively (eg 50 minutes ago)","icon_left":"Icon Left","icon_left_comment":"Choose an optional icon to display on the left of the input","icon_right":"Icon Right","icon_right_comment":"Choose an optional icon to display on the right of the input","utc":"Save as UTC","utc_comment":"Save to and display from UTC"}}}
4 changes: 4 additions & 0 deletions public/extensions/core/interfaces/dropdown/input.css
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@

.v-select[data-v-c1c328]{margin-top:0;max-width:var(--width-medium)
}
.notice[data-v-c1c328]{display:flex;align-items:center
}
.notice i[data-v-c1c328]{margin-right:1rem
}
4 changes: 2 additions & 2 deletions public/extensions/core/interfaces/dropdown/input.js

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

2 changes: 1 addition & 1 deletion public/extensions/core/interfaces/dropdown/meta.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"name":"$t:dropdown","version":"1.0.1","types":["string"],"icon":"arrow_drop_down_circle","recommended":{"length":100},"options":{"choices":{"name":"$t:choices","comment":"$t:choices_comment","interface":"code","type":"JSON","default":{"value1":"$t:option 1","value2":"$t:option 2"}},"placeholder":{"name":"$t:placeholder","interface":"text-input","comment":"$t:placeholder_comment","default":"$t:placeholder_default","length":200},"formatting":{"name":"$t:formatting","comment":"$t:formatting_comment","interface":"toggle","type":"BOOLEAN","default":true},"icon":{"name":"$t:icon","comment":"$t:icon_comment","interface":"icon","advanced":true}},"translation":{"en-US":{"dropdown":"Dropdown","choices":"Choices","choices_comment":"Enter JSON key value pairs with the saved value and text displayed.","placeholder":"Placeholder","placeholder_comment":"Static text that shown before a value is selected","option":"Option","formatting":"Show display text","formatting_comment":"Render the values as the display values","placeholder_default":"Choose an option...","icon":"Icon","icon_comment":"Choose an optional icon to display on the left of the input"}}}
{"name":"$t:dropdown","version":"1.0.2","types":["string"],"icon":"arrow_drop_down_circle","recommended":{"length":100},"options":{"choices":{"name":"$t:choices","comment":"$t:choices_comment","interface":"code","type":"JSON","default":{"value1":"$t:option 1","value2":"$t:option 2"}},"placeholder":{"name":"$t:placeholder","interface":"text-input","comment":"$t:placeholder_comment","default":"$t:placeholder_default","length":200},"formatting":{"name":"$t:formatting","comment":"$t:formatting_comment","interface":"toggle","type":"BOOLEAN","default":true},"icon":{"name":"$t:icon","comment":"$t:icon_comment","interface":"icon","advanced":true}},"translation":{"en-US":{"dropdown":"Dropdown","choices":"Choices","choices_comment":"Enter JSON key value pairs with the saved value and text displayed.","placeholder":"Placeholder","placeholder_comment":"Static text that shown before a value is selected","option":"Option","formatting":"Show display text","formatting_comment":"Render the values as the display values","placeholder_default":"Choose an option...","icon":"Icon","icon_comment":"Choose an optional icon to display on the left of the input","options_invalid":"The JSON options provided for the dropdown are invalid:"}}}
2 changes: 1 addition & 1 deletion public/extensions/core/interfaces/file-preview/input.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions public/extensions/core/interfaces/one-to-many/display.js

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

2 changes: 1 addition & 1 deletion public/extensions/core/interfaces/one-to-many/meta.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"name":"$t:o2m","version":"1.0.0","types":["o2m"],"options":{},"relation":"o2m","icon":"call_split","translation":{"en-US":{"o2m":"One to Many","select_items":"Select the items","relation_not_setup":"The relationship hasn't been configured correctly"}}}
{"name":"$t:o2m","version":"2.0.0","types":["o2m"],"options":{"fields":{"name":"$t:visible_columns","comment":"$t:visible_columns_comment","interface":"text-input","placeholder":"name,description"},"preferences":{"name":"$t:preferences","comment":"$t:preferences_comment","interface":"code","options":{"language":"application/json","template":{"viewType":"tabular","viewQuery":{"fields":["id","name"]},"filters":[{"field":"name","operator":"contains","value":"hi"}]}}},"template":{"name":"$t:template","comment":"$t:template_comment","interface":"text-input","options":{"placeholder":"$t:template_placeholder"}}},"relation":"o2m","icon":"call_split","translation":{"en-US":{"o2m":"One to Many","select_items":"Select the items","relation_not_setup":"The relationship hasn't been configured correctly","visible_columns":"Visible Columns","visible_columns_comment":"Add a CSV of columns you want to display as preview","preferences":"Listing View Preferences","preferences_comment":"Set what options to use for the modal","template":"Dropdown Template","template_comment":"How to format the dropdown options","template_placeholder":"{{title}} — {{author}}"}}}
2 changes: 1 addition & 1 deletion public/extensions/core/interfaces/translation/meta.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"name":"$t:translation","version":"1.0.0","types":["translation"],"relation":"o2m","icon":"translate","options":{"languagesCollection":{"name":"$t:languages_collection","comment":"$t:languages_collection_comment","interface":"collections"},"languagePrimaryKeyField":{"name":"$t:languages_primary","comment":"$t:languages_primary_comment","interface":"text-input","options":{"placeholder":"code"}}},"translation":{"en-US":{"translation":"Translation","languages_collection":"Languages Collection","languages_collection_comment":"What collection holds the languages you want to use?","languages_primary":"Language Primary Key Field","languages_primary_comment":"What field holds the language's primary key?","translation_not_setup":"Interface not configured correctly","save_first":"You have to save this item before you can use translations"}}}
{"name":"$t:translation","version":"1.0.0","types":["translation"],"relation":"o2m","icon":"translate","options":{"languagesCollection":{"name":"$t:languages_collection","comment":"$t:languages_collection_comment","interface":"collections"},"languagePrimaryKeyField":{"name":"$t:languages_primary","comment":"$t:languages_primary_comment","interface":"text-input","options":{"placeholder":"code"}}},"translation":{"en-US":{"translation":"Translation","languages_collection":"Languages Collection","languages_collection_comment":"Collection that stores the language options","languages_primary":"Language Primary Key Field","languages_primary_comment":"Field that stores the language code on the translation collection","translation_not_setup":"Interface not configured correctly","save_first":"You have to save this item before you can use translations"}}}
2 changes: 1 addition & 1 deletion public/extensions/core/interfaces/user/input.js

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

4 changes: 2 additions & 2 deletions public/extensions/core/interfaces/wysiwyg-full/input.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion public/extensions/core/interfaces/wysiwyg/input.js

Large diffs are not rendered by default.

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.0.5';
const DIRECTUS_VERSION = '2.0.6';

/**
* NOT USED
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,6 @@ class NotInstalledNotFoundHandler
*/
public function __invoke(Request $request, Response $response)
{
throw new NotInstalledException('This instance of the Directus API has not been configured properly. Read More at: https://github.com/directus');
throw new NotInstalledException('This Directus API instance has not been configured. Install via the Directus App (eg: /admin) or read more about configuration at: https://docs.directus.io/install.html#configure');
}
}
Loading

0 comments on commit 78d95c7

Please sign in to comment.