Commit Graph

481 Commits

Author SHA1 Message Date
dependabot-preview[bot]
3b4bc9d2d0 Bump lint-staged from 10.2.4 to 10.2.6 (#610) 2020-05-22 11:29:24 +00:00
dependabot-preview[bot]
0afc7874d5 Bump @tinymce/tinymce-vue from 3.2.1 to 3.2.2 (#609) 2020-05-22 11:27:36 +00:00
Rijk van Zanten
3c6db9b8f0 Dynamic favicon (#607)
* Fix favicon path in dev mode

* Add favicon that matches project brand color
2020-05-21 18:16:12 -04:00
dependabot-preview[bot]
919225151f Bump mockdate from 2.0.5 to 3.0.2 (#606)
Bumps [mockdate](https://github.com/boblauer/MockDate) from 2.0.5 to 3.0.2.
- [Release notes](https://github.com/boblauer/MockDate/releases)
- [Changelog](https://github.com/boblauer/MockDate/blob/master/CHANGELOG.md)
- [Commits](https://github.com/boblauer/MockDate/compare/v2.0.5...v3.0.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-05-21 18:08:33 -04:00
dependabot-preview[bot]
33ed37f8c6 Bump @typescript-eslint/typescript-estree from 2.34.0 to 3.0.0 (#604)
Bumps [@typescript-eslint/typescript-estree](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/typescript-estree) from 2.34.0 to 3.0.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/typescript-estree/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v3.0.0/packages/typescript-estree)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-05-21 18:08:09 -04:00
Rijk van Zanten
0347426e12 Interface single file (#605)
* Start on file interface

* Add preview icon

* Add readable mimetypes to extension

* Add file interface strings

* Fix type errors

* Add file select / deselect

* Add new file upload support

* Add import from url

* Fix loading state of url import

* Add filename in download attribute

* Replace option names with replace when file exists

* Remove / fix outdated tests
2020-05-21 16:47:01 -04:00
Rijk van Zanten
7b2cb9d329 Fix project logo, use unbranded spinner (#602)
* Use asset URL in logo / public pages

* Use correct project logo in module bar

* Use unbranded loader state
2020-05-21 11:00:22 -04:00
dependabot-preview[bot]
180fa1a5dc Bump tinymce from 5.2.2 to 5.3.0 (#601) 2020-05-21 03:42:52 +00:00
dependabot-preview[bot]
139678ae1e Bump vue-router from 3.1.6 to 3.2.0 (#590)
Bumps [vue-router](https://github.com/vuejs/vue-router) from 3.1.6 to 3.2.0.
- [Release notes](https://github.com/vuejs/vue-router/releases)
- [Changelog](https://github.com/vuejs/vue-router/blob/dev/CHANGELOG.md)
- [Commits](https://github.com/vuejs/vue-router/compare/v3.1.6...v3.2.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-05-20 16:38:43 -04:00
Rijk van Zanten
66e6af7a3d User popover (#599)
* Change large/x-large sizes

* Force update to popper on content change

* Use smaller size avatar in module bar

* Make the readme up to date

* Add support for trigger / delay props on v-menu

* Add user-popover component, use in comments drawer detail

* Add loading state to user popoer

* Fix trigger target in comments drawer etail item header
2020-05-20 16:38:31 -04:00
dependabot-preview[bot]
97b543e553 Bump vue-i18n from 8.17.6 to 8.17.7 (#589)
Bumps [vue-i18n](https://github.com/kazupon/vue-i18n) from 8.17.6 to 8.17.7.
- [Release notes](https://github.com/kazupon/vue-i18n/releases)
- [Changelog](https://github.com/kazupon/vue-i18n/blob/v8.x/CHANGELOG.md)
- [Commits](https://github.com/kazupon/vue-i18n/compare/v8.17.6...v8.17.7)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-05-20 16:35:38 -04:00
dependabot-preview[bot]
ffadf4efee Bump @types/jest from 25.2.2 to 25.2.3 (#588)
Bumps [@types/jest](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/jest) from 25.2.2 to 25.2.3.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/jest)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-05-20 16:35:20 -04:00
dependabot-preview[bot]
47923b9f6c Bump date-fns from 2.13.0 to 2.14.0 (#586)
Bumps [date-fns](https://github.com/date-fns/date-fns) from 2.13.0 to 2.14.0.
- [Release notes](https://github.com/date-fns/date-fns/releases)
- [Changelog](https://github.com/date-fns/date-fns/blob/master/CHANGELOG.md)
- [Commits](https://github.com/date-fns/date-fns/compare/v2.13.0...v2.14.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-05-20 16:34:22 -04:00
dependabot-preview[bot]
c43a8198a3 Bump @typescript-eslint/parser from 2.33.0 to 2.34.0 (#584)
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 2.33.0 to 2.34.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/parser/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v2.34.0/packages/parser)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-05-20 16:34:00 -04:00
dependabot-preview[bot]
f288a72faa Bump @typescript-eslint/eslint-plugin from 2.33.0 to 2.34.0 (#585) 2020-05-20 20:30:55 +00:00
dependabot-preview[bot]
8962997834 Bump @typescript-eslint/typescript-estree from 2.33.0 to 2.34.0 (#583)
Bumps [@typescript-eslint/typescript-estree](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/typescript-estree) from 2.33.0 to 2.34.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/typescript-estree/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v2.34.0/packages/typescript-estree)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-05-20 16:24:27 -04:00
dependabot-preview[bot]
99592e8f5f Bump lint-staged from 10.2.3 to 10.2.4 (#582)
Bumps [lint-staged](https://github.com/okonet/lint-staged) from 10.2.3 to 10.2.4.
- [Release notes](https://github.com/okonet/lint-staged/releases)
- [Commits](https://github.com/okonet/lint-staged/compare/v10.2.3...v10.2.4)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-05-20 16:24:14 -04:00
dependabot-preview[bot]
56b184442b Bump typescript from 3.9.2 to 3.9.3 (#597) 2020-05-19 23:42:32 +00:00
dependabot-preview[bot]
8fd6b45806 Bump @types/lodash from 4.14.151 to 4.14.152 (#596) 2020-05-19 23:02:41 +00:00
Rijk van Zanten
3f9d5d7d96 Add SSO flow (#595)
* Store / parse sso providers in project info

* Render sso provider links on login form

* Provide path to api on sso

* Finish SSO

* Fix user detail route

* Accept string error codes

* Rename color->type, fix old v-notices

* Add adding user string

* Fix reading order in v-menu
2020-05-19 18:02:04 -04:00
dependabot-preview[bot]
9a923d41af Bump stylelint from 13.4.0 to 13.5.0 (#591) 2020-05-19 21:24:06 +00:00
Rijk van Zanten
0c745a6eee Switch to history mode in app (#594)
* Switch to history mode in pp

* Remove broken tests

* Install asset manifest

* Only build to modern

* Remove override files in favor of settings

* Build assets json

* Use dynamic routing based on api basepath

* Remove override files

* Set webpack public path based on passed window var

* Fix tests
2020-05-19 17:16:44 -04:00
Rijk van Zanten
c552364d1f Display mime type (#593)
* Install mime-types

* Add mime-type display
2020-05-19 14:09:34 -04:00
Rijk van Zanten
49d9a6a698 Add filesize display (#592) 2020-05-19 13:50:14 -04:00
Ben Haynes
818faa7057 Merge branch 'master' of https://github.com/directus/app-next 2020-05-18 13:49:07 -04:00
Ben Haynes
9acfc06528 add notice interface
and update v-notice accordingly
2020-05-18 13:48:58 -04:00
dependabot-preview[bot]
820a8ccb5a Bump lint-staged from 10.2.2 to 10.2.3 (#581) 2020-05-18 16:31:16 +00:00
dependabot-preview[bot]
e70eaae6c9 Bump nanoid from 3.1.8 to 3.1.9 (#580) 2020-05-17 21:07:17 +00:00
dependabot-preview[bot]
89eab8a5ea Bump @vue/test-utils from 1.0.2 to 1.0.3 (#579) 2020-05-17 12:07:43 +00:00
dependabot-preview[bot]
204bde01bd Bump stylelint from 13.3.3 to 13.4.0 (#578) 2020-05-17 08:00:58 +00:00
dependabot-preview[bot]
5a6e8752ae Bump autoprefixer from 9.7.6 to 9.8.0 (#577) 2020-05-17 05:33:25 +00:00
dependabot-preview[bot]
b6047e9de4 Bump marked from 1.0.0 to 1.1.0 (#576) 2020-05-16 22:07:54 +00:00
dependabot-preview[bot]
a02d5672db Bump nanoid from 3.1.7 to 3.1.8 (#575) 2020-05-16 19:17:01 +00:00
Rijk van Zanten
feaafe6440 109 tiny tweaks (#574)
* no cursor when disabled

* consistent disabled styling

* divider icon alignment

* don’t show last item’s border

* notifications spacing

* status placeholder

* default status icon placeholder

* fix textarea focus style

* tags styling

* proper tags padding when empty

* proper input number step hovers

* show background color

* Fix data-model collections overview name class

* Don't use display template for batch mode

* Fix headline being hidden

* Use formatted name fo bookmarks breadcrumb

* Move drawer open to app store

* Fix tests

* slider value style

* Add comments to users/files

* Make comments selectable

* Move window width drawer state to app parent

* Fix private user condition

* Allow relationships to system collections

* Refresh revisions drawer detail on save and stay

* Add disabled support to m2o / user

* Center v-infos

* Hide default drag image

* Ellipsis all the things

* Use icon interface for fallback icon

* Render icons grid based on available space

* Fix ellipsis on cardsl

* fix batch edit checkbox styling

* Let render template ellipsis its raw values

* Fix render template

* Default cropping to current aspect ratio

* missing translation

* secondary button style

so sorry, rijk… it’s the only one (promise)

* Add image dimensions, add drag mode

* track the apology

* no elipses on titles

* Add cancel crop button

* Only show new dimensions on crop

* Inform file preview if it's in modal

* preview styling

* Install pretty-bytes

* Show file info in drawer sidebar

* Use outline icons in drawer sidebar

* don’t confuse null with subdued text value

* edge-case justification

* Show character count remaining

* Fix storybook + typing error

* Add length constraints to color

* Watch value prop

* Fix tags

* Open icon on icon click

* Fix overflow of title

* Show batch editing x items

* Fix edits emptying input on cancel

* Don't count locked filters in no results message

* simple batch edit title

* Fix headline being invisible

* Add no-options notice to interfaces/displays

* Use existing collection preset in browse modal

* Don't emit null on invalid hex

* Use correct titles in modal-detail

* style char remaining

* file info sidebar styling

* Another attempt at trying to make render template behave in any contetx

* Show remaining char count on focus only

* Remove fade, prevent jumping

* Render skeleton loader in correct height

* Fix o2m not fetching items

* Pass collection/field to render display in o2m

* Add no-items message in table

* Add default state to v-table

* Allow ISO8601 in datetime interface

* Title format selected icon name

* avoid blinking bg on load

* align characters remaining

* Default to tabular in browse modal

* Add disabled string

* Add center + make gray default notice

* Add disabled-no-value state

* Export getItems

* Expose refresh method on layouts

* Fix (batch) deletion from browse)

* Fix interface disabled on batch

* Add interface not found notice

* Add default label (active) for toggle interface

* Use options / prop default for toggle

* Support ISO 8601 in datetime display

* Render edit form in form width

* Fix deselecting newly selected item

* Undo all selection when closing browse modal

* Fix deselecting newly selected item

* wider divider

* update webhooks table

* Fix checkbox label disappearing

* Fix tests.. by removing them

Co-authored-by: Ben Haynes <ben@rngr.org>
2020-05-15 18:44:21 -04:00
dependabot-preview[bot]
8a9daf554f Bump @types/lodash from 4.14.150 to 4.14.151 (#573) 2020-05-15 12:48:15 +00:00
dependabot-preview[bot]
c38ff5af1b Bump vue-i18n from 8.17.5 to 8.17.6 (#572) 2020-05-15 01:41:25 +00:00
Jacob Rienstra
c222e2123d Tags interface (#556)
* afirst draft

* mtag adding works, chekcing for bugs

* fixed it

* readme

* fixes

* Finish tags

Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>
2020-05-13 19:31:30 -04:00
Jacob Rienstra
536967553c Color Interface (#531)
* styling for color inputs....messy

* values line up

* color swatch

* color picker working html

* hsl

* hsl works!

* added preset option kinda (needs repeater)

* added color preset colors pretty

* Fix input up/down

* Remove empty test file

* Remove deprecated prop on v-menu

* fixed portal and click outside

* Add color placeholder text

* Emit color value on every type of change

* Rename middleware

* Remove empty readme

Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>
2020-05-13 19:13:11 -04:00
Rijk van Zanten
bac71cdc48 Form batch toggle fix (#571)
* Lint css files as well

* Fix batch mode toggle on fields

* Fix display handler function rendering in display
2020-05-13 18:52:35 -04:00
Rijk van Zanten
276021657d Various collection/field setup tweaks (#570)
* Add no collections notice to settings

* Use db safe inputs for name / primary key field

* Only show filter notice when there are items

* Move english strings to translations

* Fix padding top

* Fix dialog in menu

* Add note on dialog in menu

* Save UUID field as type uuid

* Restructure fields management

* Tweak active state / colors

* Fix field-duplicate
2020-05-13 18:31:22 -04:00
dependabot-preview[bot]
63219134b7 Bump @directus/format-title from 3.1.4 to 3.2.0 (#569) 2020-05-13 21:03:40 +00:00
Ben Haynes
f780152a7d Various tweaks (#567)
* better button text alignment

* don’t wrap page title

* filter placeholders

* Update src/views/private/components/filter-drawer-detail/filter-input.vue

* Update src/lang/en-US/index.json

Co-authored-by: Rijk van Zanten <rijkvanzanten@me.com>
2020-05-13 17:00:32 -04:00
dependabot-preview[bot]
87f63734ca Bump @types/jest from 25.2.1 to 25.2.2 (#568) 2020-05-13 19:42:45 +00:00
Rijk van Zanten
860a062dff Minor tweaks in installation (#566)
* Don't show super admin password while loading

* Allow tab key in slug input (for tabbing to another field)

* Don't show project chooser arrow when 1 project
2020-05-13 14:47:42 -04:00
dependabot-preview[bot]
8243a08fe0 Bump @directus/format-title from 3.1.3 to 3.1.4 (#565) 2020-05-13 18:32:51 +00:00
Ben Haynes
d715f86b34 Combine layout options (#563)
* icon width

* updated pagination style

* file preview zoom

WIP — shouldn’t show up on MODAL preview

* overlay/modal close button styling

* duplicate key

* bookmark styling

* card fade

also adds an rgb value for the page background variable

* style per page dropdown

* cards per page dropdown color

* inset non-dense notifications within sidebar

* reduce border radius for xs avatars

* hide non-expanded prepend/append

* reduce sidebar padding

this gives content a bit more room

* WIP: split and update comments and revisions

work in progress

* fix collections module name

* fix file library title

* consistent border on disabled

* fix title/breadcrumb positioning

* breadcrumb fixes

* add “open” button to image interface

WIP — this needs the actual logic, and we might want to remove a button

* hide presets delete until selection

* image shadow and subtext color

* Remove breadcrumb calculation

* increase contrast for image subtitle

* fix textarea hover style

* Update src/modules/collections/index.ts

* Fix typing of translateresult to format

* Add undefined check to collection name

* Put v-if on dialog instead of button

* Remove breadcrumb logic

* Remove breadcrumb calculation

* Rename shadow to collapsed in header bar

* fix rating star display going over table header

* show collection breadcrumb for bookmarks

WIP — needs the formatted collection title

* shorter error to avoid wrapping

* remove periods

* new grid layout icon

* better inline divier text styling

* add v-detail and update layouts to use it

* Finish readme of detail

* Use translations for default value in title

* Add layout options translation

* Don't have margin on base component

* Add margin to v-detail

* Remove duplicated style

* Update src/layouts/cards/cards.vue

Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>
2020-05-13 14:06:14 -04:00
dependabot-preview[bot]
e90a0c72f5 Bump @types/semver from 7.1.0 to 7.2.0 (#564) 2020-05-13 18:03:20 +00:00
Ben Haynes
7aa4911caa Various style tweaks (#555)
* icon width

* updated pagination style

* file preview zoom

WIP — shouldn’t show up on MODAL preview

* overlay/modal close button styling

* duplicate key

* bookmark styling

* card fade

also adds an rgb value for the page background variable

* style per page dropdown

* cards per page dropdown color

* inset non-dense notifications within sidebar

* reduce border radius for xs avatars

* hide non-expanded prepend/append

* reduce sidebar padding

this gives content a bit more room

* WIP: split and update comments and revisions

work in progress

* fix collections module name

* fix file library title

* consistent border on disabled

* fix title/breadcrumb positioning

* breadcrumb fixes

* add “open” button to image interface

WIP — this needs the actual logic, and we might want to remove a button

* hide presets delete until selection

* image shadow and subtext color

* Remove breadcrumb calculation

* increase contrast for image subtitle

* fix textarea hover style

* Update src/modules/collections/index.ts

* Fix typing of translateresult to format

* Add undefined check to collection name

* Put v-if on dialog instead of button

* Remove breadcrumb logic

* Remove breadcrumb calculation

* Rename shadow to collapsed in header bar

* fix rating star display going over table header

* show collection breadcrumb for bookmarks

WIP — needs the formatted collection title

* shorter error to avoid wrapping

* remove periods

* Fix standard font-size of divider label, use large in interface

* Add extra date format strings

* Structure comments, support date headers

* Add ability to delete comments

* Add edited on status badge

Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>
2020-05-12 20:10:48 -04:00
dependabot-preview[bot]
ef1912c109 Bump @typescript-eslint/eslint-plugin from 2.32.0 to 2.33.0 (#562) 2020-05-12 22:55:40 +00:00
dependabot-preview[bot]
134f30e798 Bump @typescript-eslint/parser from 2.32.0 to 2.33.0 (#561) 2020-05-12 22:48:12 +00:00