Skip to content

Commit

Permalink
v8.5.2
Browse files Browse the repository at this point in the history
  • Loading branch information
rijkvanzanten committed Feb 4, 2020
1 parent 6966c35 commit ed2c4ff
Show file tree
Hide file tree
Showing 338 changed files with 661 additions and 638 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/deploy-demo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ jobs:
- name: Pull on server
uses: appleboy/ssh-action@v0.0.2
with:
host: ${{ secrets.DEMO_HOST }}
username: ${{ secrets.DEMO_USERNAME }}
password: ${{ secrets.DEMO_PASSWORD }}
port: ${{ secrets.DEMO_PORT }}
host: ${{ secrets.HOST }}
username: ${{ secrets.USER }}
password: ${{ secrets.PASSWORD }}
port: ${{ secrets.PORT }}
script: ./pull-latest.sh
10 changes: 5 additions & 5 deletions migrations/install/20180220023123_create_fields_table.php
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ public function change()
'collection' => 'directus_fields',
'field' => 'locked',
'type' => \Directus\Database\Schema\DataTypes::TYPE_BOOLEAN,
'interface' => 'toggle',
'interface' => 'switch',
'locked' => 1
],
[
Expand Down Expand Up @@ -176,7 +176,7 @@ public function change()
'collection' => 'directus_fields',
'field' => 'readonly',
'type' => \Directus\Database\Schema\DataTypes::TYPE_BOOLEAN,
'interface' => 'toggle',
'interface' => 'switch',
'locked' => 1
],
[
Expand All @@ -190,7 +190,7 @@ public function change()
'collection' => 'directus_fields',
'field' => 'required',
'type' => \Directus\Database\Schema\DataTypes::TYPE_BOOLEAN,
'interface' => 'toggle',
'interface' => 'switch',
'locked' => 1
],
[
Expand All @@ -211,14 +211,14 @@ public function change()
'collection' => 'directus_fields',
'field' => 'hidden_detail',
'type' => \Directus\Database\Schema\DataTypes::TYPE_BOOLEAN,
'interface' => 'toggle',
'interface' => 'switch',
'locked' => 1
],
[
'collection' => 'directus_fields',
'field' => 'hidden_browse',
'type' => \Directus\Database\Schema\DataTypes::TYPE_BOOLEAN,
'interface' => 'toggle',
'interface' => 'switch',
'locked' => 1
],
[
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ public function change()
'collection' => 'directus_collections',
'field' => 'managed',
'type' => \Directus\Database\Schema\DataTypes::TYPE_BOOLEAN,
'interface' => 'toggle',
'interface' => 'switch',
'locked' => 1,
'sort' => 4,
'width' => 'half',
Expand All @@ -96,7 +96,7 @@ public function change()
'collection' => 'directus_collections',
'field' => 'hidden',
'type' => \Directus\Database\Schema\DataTypes::TYPE_BOOLEAN,
'interface' => 'toggle',
'interface' => 'switch',
'locked' => 1,
'sort' => 5,
'width' => 'half',
Expand All @@ -106,7 +106,7 @@ public function change()
'collection' => 'directus_collections',
'field' => 'single',
'type' => \Directus\Database\Schema\DataTypes::TYPE_BOOLEAN,
'interface' => 'toggle',
'interface' => 'switch',
'locked' => 1,
'sort' => 6,
'width' => 'half',
Expand Down
2 changes: 1 addition & 1 deletion migrations/install/20180220023217_create_roles_table.php
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ public function change()
'collection' => 'directus_roles',
'field' => 'enforce_2fa',
'type' => \Directus\Database\Schema\DataTypes::TYPE_BOOLEAN,
'interface' => 'toggle',
'interface' => 'switch',
'locked' => 1
],
[
Expand Down
4 changes: 2 additions & 2 deletions migrations/install/20180220023238_create_revisions_table.php
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ public function change()
]);

$table->create();


$data = [
[
Expand Down Expand Up @@ -107,7 +107,7 @@ public function change()
'collection' => 'directus_revisions',
'field' => 'parent_changed',
'type' => \Directus\Database\Schema\DataTypes::TYPE_BOOLEAN,
'interface' => 'toggle',
'interface' => 'switch',
'locked' => 1
],
];
Expand Down
4 changes: 2 additions & 2 deletions migrations/install/20180220023243_create_settings_table.php
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ public function change()
'collection' => 'directus_settings',
'field' => 'telemetry',
'type' => \Directus\Database\Schema\DataTypes::TYPE_BOOLEAN,
'interface' => 'toggle',
'interface' => 'switch',
'locked' => 1,
'width' => 'half',
'note' => '<a href="https://docs.directus.io/getting-started/concepts.html#telemetry" target="_blank">Learn More</a>',
Expand Down Expand Up @@ -162,7 +162,7 @@ public function change()
'collection' => 'directus_settings',
'field' => 'sort_null_last',
'type' => \Directus\Database\Schema\DataTypes::TYPE_BOOLEAN,
'interface' => 'toggle',
'interface' => 'switch',
'locked' => 1,
'note' => 'NULL values are sorted last',
'width' => 'half',
Expand Down
2 changes: 1 addition & 1 deletion migrations/install/20180220023248_create_users_table.php
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@ public function change()
'collection' => 'directus_users',
'field' => 'email_notifications',
'type' => \Directus\Database\Schema\DataTypes::TYPE_BOOLEAN,
'interface' => 'toggle',
'interface' => 'switch',
'locked' => 1,
'sort' => 6,
'width' => 'half'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ public function up()
],
'sort_null_last' => [
'type' => 'boolean',
'interface' => 'toggle',
'interface' => 'switch',
],
'auto_sign_out' => [
'type' => 'integer',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ protected function addField()

if (!$result) {
$insertSqlFormat = 'INSERT INTO `directus_fields` (`collection`, `field`, `type`, `interface`) VALUES ("%s", "%s", "%s", "%s");';
$insertSql = sprintf($insertSqlFormat, $collection, $field, 'boolean', 'toggle');
$insertSql = sprintf($insertSqlFormat, $collection, $field, 'boolean', 'switch');
$this->execute($insertSql);
}
}
Expand Down
26 changes: 13 additions & 13 deletions migrations/upgrades/20191202164209_reset_directus_fields.php
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ public function change()
'collection' => 'directus_fields',
'field' => 'locked',
'type' => \Directus\Database\Schema\DataTypes::TYPE_BOOLEAN,
'interface' => 'toggle',
'interface' => 'switch',
'locked' => 1
],
[
Expand Down Expand Up @@ -109,7 +109,7 @@ public function change()
'collection' => 'directus_fields',
'field' => 'readonly',
'type' => \Directus\Database\Schema\DataTypes::TYPE_BOOLEAN,
'interface' => 'toggle',
'interface' => 'switch',
'locked' => 1
],
[
Expand All @@ -123,7 +123,7 @@ public function change()
'collection' => 'directus_fields',
'field' => 'required',
'type' => \Directus\Database\Schema\DataTypes::TYPE_BOOLEAN,
'interface' => 'toggle',
'interface' => 'switch',
'locked' => 1
],
[
Expand All @@ -144,14 +144,14 @@ public function change()
'collection' => 'directus_fields',
'field' => 'hidden_detail',
'type' => \Directus\Database\Schema\DataTypes::TYPE_BOOLEAN,
'interface' => 'toggle',
'interface' => 'switch',
'locked' => 1
],
[
'collection' => 'directus_fields',
'field' => 'hidden_browse',
'type' => \Directus\Database\Schema\DataTypes::TYPE_BOOLEAN,
'interface' => 'toggle',
'interface' => 'switch',
'locked' => 1
],
[
Expand Down Expand Up @@ -423,7 +423,7 @@ public function change()
'collection' => 'directus_collections',
'field' => 'managed',
'type' => \Directus\Database\Schema\DataTypes::TYPE_BOOLEAN,
'interface' => 'toggle',
'interface' => 'switch',
'locked' => 1,
'sort' => 4,
'width' => 'half',
Expand All @@ -434,7 +434,7 @@ public function change()
'collection' => 'directus_collections',
'field' => 'hidden',
'type' => \Directus\Database\Schema\DataTypes::TYPE_BOOLEAN,
'interface' => 'toggle',
'interface' => 'switch',
'locked' => 1,
'sort' => 5,
'width' => 'half',
Expand All @@ -444,7 +444,7 @@ public function change()
'collection' => 'directus_collections',
'field' => 'single',
'type' => \Directus\Database\Schema\DataTypes::TYPE_BOOLEAN,
'interface' => 'toggle',
'interface' => 'switch',
'locked' => 1,
'sort' => 6,
'width' => 'half',
Expand Down Expand Up @@ -844,7 +844,7 @@ public function change()
'collection' => 'directus_roles',
'field' => 'enforce_2fa',
'type' => \Directus\Database\Schema\DataTypes::TYPE_BOOLEAN,
'interface' => 'toggle',
'interface' => 'switch',
'locked' => 1
],
[
Expand Down Expand Up @@ -1128,7 +1128,7 @@ public function change()
'collection' => 'directus_revisions',
'field' => 'parent_changed',
'type' => \Directus\Database\Schema\DataTypes::TYPE_BOOLEAN,
'interface' => 'toggle',
'interface' => 'switch',
'locked' => 1
],

Expand Down Expand Up @@ -1218,7 +1218,7 @@ public function change()
'collection' => 'directus_settings',
'field' => 'telemetry',
'type' => \Directus\Database\Schema\DataTypes::TYPE_BOOLEAN,
'interface' => 'toggle',
'interface' => 'switch',
'locked' => 1,
'width' => 'half',
'note' => '<a href="https://docs.directus.io/getting-started/concepts.html#telemetry" target="_blank">Learn More</a>',
Expand Down Expand Up @@ -1257,7 +1257,7 @@ public function change()
'collection' => 'directus_settings',
'field' => 'sort_null_last',
'type' => \Directus\Database\Schema\DataTypes::TYPE_BOOLEAN,
'interface' => 'toggle',
'interface' => 'switch',
'locked' => 1,
'note' => 'NULL values are sorted last',
'width' => 'half',
Expand Down Expand Up @@ -1560,7 +1560,7 @@ public function change()
'collection' => 'directus_users',
'field' => 'email_notifications',
'type' => \Directus\Database\Schema\DataTypes::TYPE_BOOLEAN,
'interface' => 'toggle',
'interface' => 'switch',
'locked' => 1,
'sort' => 6,
'width' => 'half'
Expand Down

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions public/admin/css/chunk-0fe7bd18.79126c99.css

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

1 change: 0 additions & 1 deletion public/admin/css/chunk-1131e65b.dbb12d82.css

This file was deleted.

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.

Loading

0 comments on commit ed2c4ff

Please sign in to comment.