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

Commit

Permalink
v2.0.2
Browse files Browse the repository at this point in the history
  • Loading branch information
rijkvanzanten committed Oct 20, 2018
1 parent 2cb604a commit 8fc7dc2
Show file tree
Hide file tree
Showing 67 changed files with 707 additions and 207 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@

## 🐰 Introduction

Directus is an open-source suite of software for managing content in projects of any size. Instances of the [Directus API](https://github.com/directus/api) allow you to easily connect any SQL database content anywhere (websites, native apps, wearables, IoT devices, kiosks, etc) while the [Directus App](https://github.com/directus/app) allows non-technical users to intuitively manage that content.
Directus is an open-source suite of software for managing content in projects of any size. Instances of the [Directus API](https://github.com/directus/api) allow you to easily connect SQL database content anywhere (websites, native apps, wearables, IoT devices, kiosks, etc) while the [Directus App](https://github.com/directus/app) allows non-technical users to intuitively manage that content. You can easily install a build of the full [Directus Suite](https://github.com/directus/directus) which includes the App, API, and all dependencies.

* **No Assumptions.** That’s our motto, and we mean it. It’s your content, your workflow, your stack, your servers, and your database – Directus stays out of the way.
* **Pure, decoupled content.** Directus stores all your data unaltered, in SQL databases designed by you. Connect to your data from anywhere everywhere.
Expand Down Expand Up @@ -95,7 +95,7 @@ We love pull-requests! To work on Directus you'll need to install it locally fro

### Online Demos

We have two online demos available so you can easily check out Directus in action: [stable](https://directus.app) or [canary](https://next.directus.app)
We have two online demos available so you can easily check out Directus in action: [stable](https://directus.app) or [canary](https://next.directus.app). The credentials to login are: `[email protected]` and `password`

<p>&nbsp;</p>

Expand Down
45 changes: 24 additions & 21 deletions migrations/db/seeds/FieldsSeeder.php
Original file line number Diff line number Diff line change
Expand Up @@ -937,7 +937,7 @@ public function run()
'collection' => 'directus_settings',
'field' => 'logo',
'type' => \Directus\Database\Schema\DataTypes::TYPE_FILE,
'interface' => 'single_file',
'interface' => 'file',
'locked' => 1
],
[
Expand Down Expand Up @@ -1068,7 +1068,17 @@ public function run()
'interface' => 'password',
'locked' => 1,
'required' => 1,
'sort' => 7
'sort' => 7,
'width' => 2
],
[
'collection' => 'directus_users',
'field' => 'roles',
'type' => \Directus\Database\Schema\DataTypes::TYPE_O2M,
'interface' => 'user-roles',
'locked' => 1,
'sort' => 8,
'width' => 2
],
[
'collection' => 'directus_users',
Expand All @@ -1078,7 +1088,7 @@ public function run()
'options' => json_encode([
'placeholder' => 'Enter your company or organization name...'
]),
'sort' => 8,
'sort' => 9,
'width' => 2
],
[
Expand All @@ -1089,7 +1099,7 @@ public function run()
'options' => json_encode([
'placeholder' => 'Enter your title or role...'
]),
'sort' => 9,
'sort' => 10,
'width' => 2
],
[
Expand All @@ -1111,7 +1121,7 @@ public function run()
'placeholder' => 'Choose a timezone...'
]),
'locked' => 1,
'sort' => 10,
'sort' => 11,
'width' => 2
],
[
Expand All @@ -1128,7 +1138,7 @@ public function run()
'placeholder' => 'Choose a language...'
]),
'locked' => 1,
'sort' => 11,
'sort' => 12,
'width' => 2
],
[
Expand All @@ -1139,7 +1149,7 @@ public function run()
'locked' => 1,
'hidden_browse' => 1,
'hidden_detail' => 1,
'sort' => 12
'sort' => 13
],
[
'collection' => 'directus_users',
Expand All @@ -1149,7 +1159,7 @@ public function run()
'locked' => 1,
'hidden_detail' => 1,
'hidden_browse' => 1,
'sort' => 13
'sort' => 14
],
[
'collection' => 'directus_users',
Expand All @@ -1158,7 +1168,7 @@ public function run()
'interface' => 'datetime',
'locked' => 1,
'readonly' => 1,
'sort' => 14,
'sort' => 15,
'width' => 2
],
[
Expand All @@ -1169,7 +1179,7 @@ public function run()
'locked' => 1,
'readonly' => 1,
'hidden_detail' => 1,
'sort' => 15,
'sort' => 16,
'width' => 2
],
[
Expand All @@ -1181,7 +1191,7 @@ public function run()
'readonly' => 1,
'hidden_detail' => 1,
'hidden_browse' => 1,
'sort' => 16,
'sort' => 17,
'width' => 2
],
[
Expand All @@ -1190,7 +1200,7 @@ public function run()
'type' => \Directus\Database\Schema\DataTypes::TYPE_FILE,
'interface' => 'file',
'locked' => 1,
'sort' => 17
'sort' => 18
],
[
'collection' => 'directus_users',
Expand Down Expand Up @@ -1219,13 +1229,6 @@ public function run()
'readonly' => 1,
'hidden_detail' => 1
],
[
'collection' => 'directus_users',
'field' => 'roles',
'type' => \Directus\Database\Schema\DataTypes::TYPE_O2M,
'interface' => 'user-roles',
'locked' => 1
],
[
'collection' => 'directus_users',
'field' => 'external_id',
Expand All @@ -1249,14 +1252,14 @@ public function run()
],
[
'collection' => 'directus_user_roles',
'field' => 'user_id',
'field' => 'user',
'type' => \Directus\Database\Schema\DataTypes::TYPE_M2O,
'interface' => 'many-to-one',
'locked' => 1
],
[
'collection' => 'directus_user_roles',
'field' => 'role_id',
'field' => 'role',
'type' => \Directus\Database\Schema\DataTypes::TYPE_M2O,
'interface' => 'many-to-one',
'locked' => 1
Expand Down
2 changes: 1 addition & 1 deletion public/extensions/core/interfaces/activity-icon/display.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/button-group/input.css
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
}
.button-group-item input[type=radio]:disabled:checked+.button-group-button[data-v-ff1e65]{background-color:var(--lighter-gray);color:var(--gray)
}
.button-group-item+.button-group-item .button-group-button[data-v-ff1e65]{margin-left:calc(-1 * var(--input-border-width))
.button-group-item+.button-group-item .button-group-button[data-v-ff1e65]{margin-left:calc(-1*var(--input-border-width))
}
.button-group-item:first-child .button-group-button[data-v-ff1e65]{border-radius:var(--border-radius) 0 0 var(--border-radius)
}
Expand All @@ -32,7 +32,7 @@
}
.button-group-subgroup+.button-group-subgroup[data-v-ff1e65]{margin:10px 0 0
}
.button-group-item+.button-group-item .button-group-button[data-v-ff1e65]{margin-left:0;margin-top:calc(-1 * var(--input-border-width))
.button-group-item+.button-group-item .button-group-button[data-v-ff1e65]{margin-left:0;margin-top:calc(-1*var(--input-border-width))
}
.button-group-item:first-child .button-group-button[data-v-ff1e65]{border-radius:var(--border-radius) var(--border-radius) 0 0
}
Expand Down
2 changes: 1 addition & 1 deletion public/extensions/core/interfaces/collections/meta.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"name":"$t:collections","version":"1.0.0","types":["string"],"icon":"category","options":{"placeholder":{"name":"$t:placeholder","interface":"text-input","comment":"$t:placeholder_comment","default":"$t:placeholder_default","length":200},"include_system":{"name":"$t:include_system","comment":"$t:include_system_comment","interface":"toggle","type":"BOOLEAN","default":false}},"translation":{"en-US":{"collections":"Collections","placeholder":"Placeholder","placeholder_comment":"Static text that shown before a value is selected","placeholder_default":"Choose a collection","option":"Option","include_system":"Include System","include_system_comment":"Include system collections in the options"}}}
{"name":"$t:collections","version":"1.0.1","types":["string"],"icon":"category","recommended":{"length":100},"options":{"placeholder":{"name":"$t:placeholder","interface":"text-input","comment":"$t:placeholder_comment","default":"$t:placeholder_default","length":200},"include_system":{"name":"$t:include_system","comment":"$t:include_system_comment","interface":"toggle","type":"BOOLEAN","default":false}},"translation":{"en-US":{"collections":"Collections","placeholder":"Placeholder","placeholder_comment":"Static text that shown before a value is selected","placeholder_default":"Choose a collection","option":"Option","include_system":"Include System","include_system_comment":"Include system collections in the options"}}}
6 changes: 3 additions & 3 deletions public/extensions/core/interfaces/color-palette/input.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@

.interface-color-picker[data-v-3d8097]{position:relative;--swatch-size:20px;display:flex;flex-direction:column;flex-wrap:wrap;height:calc(var(--swatch-size) * 11);width:calc(var(--swatch-size) * 18);margin-bottom:var(--swatch-size)
.interface-color-picker[data-v-3d8097]{position:relative;--swatch-size:20px;display:flex;flex-direction:column;flex-wrap:wrap;height:calc(var(--swatch-size)*11);width:calc(var(--swatch-size)*18);margin-bottom:var(--swatch-size)
}
.interface-color-picker button[data-v-3d8097]{flex-basis:var(--swatch-size);width:var(--swatch-size);height:var(--swatch-size);display:block;transform:scale(1);transition:transform var(--fast) var(--transition-in)
}
Expand All @@ -9,11 +9,11 @@
}
.interface-color-picker button i.dark[data-v-3d8097]{color:var(--black)
}
.interface-color-picker button[data-v-3d8097]:last-child{flex-grow:1;position:absolute;left:50%;top:calc(var(--swatch-size) * 11);width:50%
.interface-color-picker button[data-v-3d8097]:last-child{flex-grow:1;position:absolute;left:50%;top:calc(var(--swatch-size)*11);width:50%
}
.interface-color-picker button[data-v-3d8097]:last-child:hover{transform:scale(1.1)
}
.interface-color-picker button[data-v-3d8097]:nth-last-child(2){flex-grow:1;border:1px solid var(--lightest-gray);position:absolute;left:0;top:calc(var(--swatch-size) * 11);width:50%
.interface-color-picker button[data-v-3d8097]:nth-last-child(2){flex-grow:1;border:1px solid var(--lightest-gray);position:absolute;left:0;top:calc(var(--swatch-size)*11);width:50%
}
.interface-color-picker button[data-v-3d8097]:nth-last-child(2):hover{transform:scale(1.1)
}
Expand Down
2 changes: 1 addition & 1 deletion public/extensions/core/interfaces/color-palette/meta.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"name":"$t:color-picker","version":"1.0.0","types":["string"],"icon":"palette","options":{},"translation":{"en-US":{"color-picker":"Color Picker"}}}
{"name":"$t:color-picker","version":"1.0.1","types":["string"],"icon":"palette","recommended":{"length":20},"options":{},"translation":{"en-US":{"color-picker":"Color Picker"}}}
2 changes: 1 addition & 1 deletion public/extensions/core/interfaces/color/meta.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"name":"$t:color","version":"1.0.0","types":["string"],"icon":"colorize","options":{"input":{"name":"$t:input","comment":"$t:input_comment","interface":"dropdown","default":"hex","options":{"choices":{"hex":"Hex","rgb":"RGB","hsl":"HSL","cmyk":"CMYK"}}},"output":{"name":"$t:output","comment":"$t:output_comment","interface":"dropdown","default":"hex","options":{"choices":{"hex":"Hex","rgb":"RGB","hsl":"HSL","cmyk":"CMYK"}}},"formatValue":{"name":"$t:format","comment":"$t:format_comment","interface":"toggle","default":true},"palette":{"name":"$t:palette","comment":"$t:palette_comment","interface":"tags","type":"ARRAY","options":{"wrapWithDelimiter":false},"default":["#f44336","#9C27B0","#039BE5","#4CAF50","#FFC107"]},"paletteOnly":{"name":"$t:palette_only","comment":"$t:palette_only_comment","interface":"toggle","default":false},"allowAlpha":{"name":"$t:allow_alpha","comment":"$t:allow_alpha_comment","interface":"toggle","default":false}},"translation":{"en-US":{"color":"Color","input":"Input","input_comment":"The unit in which the user will enter the data","output":"Output","output_comment":"The unit in which the data gets saved to the DB","format":"Format","format_comment":"Show value as color swatch","palette":"Palette","palette_comment":"Add color options as hex values","palette_only":"Palette Only","palette_only_comment":"Only allow the user to pick from the palette","allow_alpha":"Allow alpha","allow_alpha_comment":"Allow values with an alpha channel"}}}
{"name":"$t:color","version":"1.0.1","types":["string"],"icon":"colorize","recommended":{"length":20},"options":{"input":{"name":"$t:input","comment":"$t:input_comment","interface":"dropdown","default":"hex","options":{"choices":{"hex":"Hex","rgb":"RGB","hsl":"HSL","cmyk":"CMYK"}}},"output":{"name":"$t:output","comment":"$t:output_comment","interface":"dropdown","default":"hex","options":{"choices":{"hex":"Hex","rgb":"RGB","hsl":"HSL","cmyk":"CMYK"}}},"formatValue":{"name":"$t:format","comment":"$t:format_comment","interface":"toggle","default":true},"palette":{"name":"$t:palette","comment":"$t:palette_comment","interface":"tags","type":"ARRAY","options":{"wrapWithDelimiter":false},"default":["#f44336","#9C27B0","#039BE5","#4CAF50","#FFC107"]},"paletteOnly":{"name":"$t:palette_only","comment":"$t:palette_only_comment","interface":"toggle","default":false},"allowAlpha":{"name":"$t:allow_alpha","comment":"$t:allow_alpha_comment","interface":"toggle","default":false}},"translation":{"en-US":{"color":"Color","input":"Input","input_comment":"The unit in which the user will enter the data","output":"Output","output_comment":"The unit in which the data gets saved to the DB","format":"Format","format_comment":"Show value as color swatch","palette":"Palette","palette_comment":"Add color options as hex values","palette_only":"Palette Only","palette_only_comment":"Only allow the user to pick from the palette","allow_alpha":"Allow alpha","allow_alpha_comment":"Allow values with an alpha channel"}}}
Loading

0 comments on commit 8fc7dc2

Please sign in to comment.