Skip to content

Commit

Permalink
Merge branch 'release/4.1.28'
Browse files Browse the repository at this point in the history
* release/4.1.28:
  updated the changelog
  compiled assets
  use illuminate/support in the installation
  updated the ci installation steps
  added v-cloak to the editor component
  • Loading branch information
austintoddj committed Apr 22, 2019
2 parents 6bcbd01 + 44e8ab8 commit 222dd45
Show file tree
Hide file tree
Showing 7 changed files with 74 additions and 72 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,6 @@ before_install:
- travis_retry composer self-update

install:
- travis_retry composer require "illuminate/contracts=${LARAVEL}" --dev --prefer-dist --no-interaction --no-suggest
- travis_retry composer require "illuminate/support=${LARAVEL}" --dev --prefer-dist --no-interaction --no-suggest

script: vendor/bin/phpunit --verbose
5 changes: 5 additions & 0 deletions changelog.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# Release Notes

## [v4.1.28](https://github.com/cnvs/canvas/compare/v4.1.27...v4.1.28)

### Changed
- Added a `v-cloak` directive to the main editor component ([5d81ea4](https://github.com/cnvs/canvas/commit/5d81ea49d3d67b193274ff9b038344bb884d69f9))

## [v4.1.27](https://github.com/cnvs/canvas/compare/v4.1.26...v4.1.27)

### Changed
Expand Down
2 changes: 1 addition & 1 deletion public/js/app.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion public/js/app.js.map

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions public/mix-manifest.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"/js/app.js": "/js/app.js?id=ccc5d6c6548239847e20",
"/js/app.js": "/js/app.js?id=58f7249482e1fba84837",
"/css/app.css": "/css/app.css?id=f67fa09e4165d6153c77",
"/css/app-dark.css": "/css/app-dark.css?id=96b402438f4da22bea87",
"/js/app.js.map": "/js/app.js.map?id=622c991d455e028e478f",
"/js/app.js.map": "/js/app.js.map?id=e768b1c9e916df5939dc",
"/favicon.ico": "/favicon.ico?id=dbb0c05daa3432643753"
}
54 changes: 28 additions & 26 deletions resources/js/components/Editor.vue
Original file line number Diff line number Diff line change
Expand Up @@ -196,35 +196,37 @@
</script>

<template>
<div style="position: relative">
<div id="sidebar-controls" style="margin-top: -8px">
<button id="show-controls" type="button" class="btn btn-outline-light btn-circle border"
@click="showSideControls" v-on:submit.prevent="onSubmit">
<i class="fas fa-plus fa-fw text-muted"></i>
</button>

<div class="controls pl-3 bg-white d-none">
<button class="btn btn-outline-light btn-circle border mr-1" type="button" @click="openImageUploader()"
data-toggle="modal" data-target="#image-upload">
<i class="far fa-fw fa-image text-muted"></i>
</button>
<button class="btn btn-outline-light btn-circle border mr-1" type="button"
@click="$emit('openingHTMLEmbedder')" v-on:submit.prevent="onSubmit"
data-toggle="modal" data-target="#embed-html">
<i class="fas fa-fw fa-code text-muted"></i>
</button>
<button class="btn btn-outline-light btn-circle border mr-2" type="button"
@click="addDivider" v-on:submit.prevent="onSubmit">
<i class="fas fa-fw fa-ellipsis-h text-muted"></i>
<div v-cloak>
<div style="position: relative">
<div id="sidebar-controls" style="margin-top: -8px">
<button id="show-controls" type="button" class="btn btn-outline-light btn-circle border"
@click="showSideControls" v-on:submit.prevent="onSubmit">
<i class="fas fa-plus fa-fw text-muted"></i>
</button>

<div class="controls pl-3 bg-white d-none">
<button class="btn btn-outline-light btn-circle border mr-1" type="button" @click="openImageUploader()"
data-toggle="modal" data-target="#image-upload">
<i class="far fa-fw fa-image text-muted"></i>
</button>
<button class="btn btn-outline-light btn-circle border mr-1" type="button"
@click="$emit('openingHTMLEmbedder')" v-on:submit.prevent="onSubmit"
data-toggle="modal" data-target="#embed-html">
<i class="fas fa-fw fa-code text-muted"></i>
</button>
<button class="btn btn-outline-light btn-circle border mr-2" type="button"
@click="addDivider" v-on:submit.prevent="onSubmit">
<i class="fas fa-fw fa-ellipsis-h text-muted"></i>
</button>
</div>
</div>
</div>

<div ref="editor"></div>
<input type="hidden" name="body" ref="body" />
<div ref="editor"></div>
<input type="hidden" name="body" ref="body" />

<image-uploader @updated="applyImage" :unsplash="this.unsplash"></image-uploader>
<html-embedder @adding="addHTML"></html-embedder>
<image-uploader @updated="applyImage" :unsplash="this.unsplash"></image-uploader>
<html-embedder @adding="addHTML"></html-embedder>
</div>
</div>
</template>

Expand Down Expand Up @@ -420,4 +422,4 @@
display: none !important;
}
}
</style>
</style>
77 changes: 36 additions & 41 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1408,9 +1408,9 @@ caniuse-api@^3.0.0:
lodash.uniq "^4.5.0"

caniuse-lite@^1.0.0, caniuse-lite@^1.0.30000957, caniuse-lite@^1.0.30000960:
version "1.0.30000960"
resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30000960.tgz#ec48297037e5607f582f246ae7b12bee66a78999"
integrity sha512-7nK5qs17icQaX6V3/RYrJkOsZyRNnroA4+ZwxaKJzIKy+crIy0Mz5CBlLySd2SNV+4nbUZeqeNfiaEieUBu3aA==
version "1.0.30000962"
resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30000962.tgz#6c10c3ab304b89bea905e66adf98c0905088ee44"
integrity sha512-WXYsW38HK+6eaj5IZR16Rn91TGhU3OhbwjKZvJ4HN/XBIABLKfbij9Mnd3pM0VEwZSlltWjoWg3I8FQ0DGgNOA==

chalk@^1.1.3:
version "1.1.3"
Expand Down Expand Up @@ -2259,9 +2259,9 @@ [email protected]:
integrity sha1-WQxhFWsK4vTwJVcyoViyZrxWsh0=

electron-to-chromium@^1.3.124:
version "1.3.124"
resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.3.124.tgz#861fc0148748a11b3e5ccebdf8b795ff513fa11f"
integrity sha512-glecGr/kFdfeXUHOHAWvGcXrxNU+1wSO/t5B23tT1dtlvYB26GY8aHzZSWD7HqhqC800Lr+w/hQul6C5AF542w==
version "1.3.125"
resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.3.125.tgz#dbde0e95e64ebe322db0eca764d951f885a5aff2"
integrity sha512-XxowpqQxJ4nDwUXHtVtmEhRqBpm2OnjBomZmZtHD0d2Eo0244+Ojezhk3sD/MBSSe2nxCdGQFRXHIsf/LUTL9A==

elliptic@^6.0.0:
version "6.4.1"
Expand Down Expand Up @@ -3441,23 +3441,23 @@ is-obj@^1.0.0:
integrity sha1-PkcprB9f3gJc19g6iW2rn09n2w8=

is-path-cwd@^2.0.0:
version "2.0.0"
resolved "https://registry.yarnpkg.com/is-path-cwd/-/is-path-cwd-2.0.0.tgz#d4777a8e227a00096a31f030db3770f84b116c02"
integrity sha512-m5dHHzpOXEiv18JEORttBO64UgTEypx99vCxQLjbBvGhOJxnTNglYoFXxwo6AbsQb79sqqycQEHv2hWkHZAijA==
version "2.1.0"
resolved "https://registry.yarnpkg.com/is-path-cwd/-/is-path-cwd-2.1.0.tgz#2e0c7e463ff5b7a0eb60852d851a6809347a124c"
integrity sha512-Sc5j3/YnM8tDeyCsVeKlm/0p95075DyLmDEIkSgQ7mXkrOX+uTCtmQFm0CYzVyJwcCCmO3k8qfJt17SxQwB5Zw==

is-path-in-cwd@^2.0.0:
version "2.0.0"
resolved "https://registry.yarnpkg.com/is-path-in-cwd/-/is-path-in-cwd-2.0.0.tgz#68e452a6eec260500cec21e029c0a44cc0dcd2ea"
integrity sha512-6Vz5Gc9s/sDA3JBVu0FzWufm8xaBsqy1zn8Q6gmvGP6nSDMw78aS4poBNeatWjaRpTpxxLn1WOndAiOlk+qY8A==
version "2.1.0"
resolved "https://registry.yarnpkg.com/is-path-in-cwd/-/is-path-in-cwd-2.1.0.tgz#bfe2dca26c69f397265a4009963602935a053acb"
integrity sha512-rNocXHgipO+rvnP6dk3zI20RpOtrAM/kzbB258Uw5BWr3TpXi861yzjo16Dn4hUox07iw5AyeMLHWsujkjzvRQ==
dependencies:
is-path-inside "^1.0.0"
is-path-inside "^2.1.0"

is-path-inside@^1.0.0:
version "1.0.1"
resolved "https://registry.yarnpkg.com/is-path-inside/-/is-path-inside-1.0.1.tgz#8ef5b7de50437a3fdca6b4e865ef7aa55cb48036"
integrity sha1-jvW33lBDej/cprToZe96pVy0gDY=
is-path-inside@^2.1.0:
version "2.1.0"
resolved "https://registry.yarnpkg.com/is-path-inside/-/is-path-inside-2.1.0.tgz#7c9810587d659a40d27bcdb4d5616eab059494b2"
integrity sha512-wiyhTzfDWsvwAW53OBWF5zuvaOGlZ6PwYxAbPVDhpm+gM09xKQGjBq/8uYN12aDvMxnAnq3dxTyoSoRNmg5YFg==
dependencies:
path-is-inside "^1.0.1"
path-is-inside "^1.0.2"

is-plain-object@^2.0.1, is-plain-object@^2.0.3, is-plain-object@^2.0.4:
version "2.0.4"
Expand Down Expand Up @@ -3984,22 +3984,17 @@ miller-rabin@^4.0.0:
bn.js "^4.0.0"
brorand "^1.0.1"

"mime-db@>= 1.38.0 < 2":
version "1.39.0"
resolved "https://registry.yarnpkg.com/mime-db/-/mime-db-1.39.0.tgz#f95a20275742f7d2ad0429acfe40f4233543780e"
integrity sha512-DTsrw/iWVvwHH+9Otxccdyy0Tgiil6TWK/xhfARJZF/QFhwOgZgOIvA2/VIGpM8U7Q8z5nDmdDWC6tuVMJNibw==

mime-db@~1.38.0:
version "1.38.0"
resolved "https://registry.yarnpkg.com/mime-db/-/mime-db-1.38.0.tgz#1a2aab16da9eb167b49c6e4df2d9c68d63d8e2ad"
integrity sha512-bqVioMFFzc2awcdJZIzR3HjZFX20QhilVS7hytkKrv7xFAn8bM1gzc/FOX2awLISvWe0PV8ptFKcon+wZ5qYkg==
[email protected], "mime-db@>= 1.38.0 < 2":
version "1.40.0"
resolved "https://registry.yarnpkg.com/mime-db/-/mime-db-1.40.0.tgz#a65057e998db090f732a68f6c276d387d4126c32"
integrity sha512-jYdeOMPy9vnxEqFRRo6ZvTZ8d9oPb+k18PKoYNYUe2stVEBPPwsln/qWzdbmaIvnhZ9v2P+CuecK+fpUfsV2mA==

mime-types@~2.1.17, mime-types@~2.1.18:
version "2.1.22"
resolved "https://registry.yarnpkg.com/mime-types/-/mime-types-2.1.22.tgz#fe6b355a190926ab7698c9a0556a11199b2199bd"
integrity sha512-aGl6TZGnhm/li6F7yx82bJiBZwgiEa4Hf6CNr8YO+r5UHr53tSTYZb102zyU50DOWWKeOv0uQLRL0/9EiKWCog==
version "2.1.24"
resolved "https://registry.yarnpkg.com/mime-types/-/mime-types-2.1.24.tgz#b6f8d0b3e951efb77dedeca194cff6d16f676f81"
integrity sha512-WaFHS3MCl5fapm3oLxU4eYDw77IQM2ACcxQ9RIxfaC3ooc6PFuBMGZZsYpvoXS5D5QTWPieo1jjLdAm3TBP3cQ==
dependencies:
mime-db "~1.38.0"
mime-db "1.40.0"

[email protected]:
version "1.4.1"
Expand Down Expand Up @@ -4252,9 +4247,9 @@ node-pre-gyp@^0.12.0:
tar "^4"

node-releases@^1.1.14:
version "1.1.14"
resolved "https://registry.yarnpkg.com/node-releases/-/node-releases-1.1.14.tgz#f1f41c83cac82caebd6739e6313d56b3b09c9189"
integrity sha512-d58EpVZRhQE60kWiWUaaPlK9dyC4zg3ZoMcHcky2d4hDksyQj0rUozwInOl0C66mBsqo01Tuns8AvxnL5S7PKg==
version "1.1.15"
resolved "https://registry.yarnpkg.com/node-releases/-/node-releases-1.1.15.tgz#9e76a73b0eca3bf7801addaa0e6ce90c795f2b9a"
integrity sha512-cKV097BQaZr8LTSRUa2+oc/aX5L8UkZtPQrMSTgiJEeaW7ymTDCoRaGCoaTqk0lqnalcoSHu4wjSl0Cmj2+bMw==
dependencies:
semver "^5.3.0"

Expand Down Expand Up @@ -4601,7 +4596,7 @@ path-is-absolute@^1.0.0:
resolved "https://registry.yarnpkg.com/path-is-absolute/-/path-is-absolute-1.0.1.tgz#174b9268735534ffbc7ace6bf53a5a9e1b5c5f5f"
integrity sha1-F0uSaHNVNP+8es5r9TpanhtcX18=

path-is-inside@^1.0.1:
path-is-inside@^1.0.2:
version "1.0.2"
resolved "https://registry.yarnpkg.com/path-is-inside/-/path-is-inside-1.0.2.tgz#365417dede44430d1c11af61027facf074bdfc53"
integrity sha1-NlQX3t5EQw0cEa9hAn+s8HS9/FM=
Expand Down Expand Up @@ -5511,9 +5506,9 @@ sass-loader@^7.1.0:
semver "^5.5.0"

sass@^1.15.2:
version "1.18.0"
resolved "https://registry.yarnpkg.com/sass/-/sass-1.18.0.tgz#f34371c31e268e555c2ac8e43d2b64d194e7d090"
integrity sha512-Mc579V+BhH693tqt+lvph+gmRqmC6BjtsEVsjkW1944DEA5a0wPuCi781hL3fY4EDuqZnEVPbu42CZRywwE97g==
version "1.19.0"
resolved "https://registry.yarnpkg.com/sass/-/sass-1.19.0.tgz#5de82c713d4299fac57384ef5219534a37fe3e6c"
integrity sha512-8kzKCgxCzh8/zEn3AuRwzLWVSSFj8omkiGwqdJdeOufjM+I88dXxu9LYJ/Gw4rRTHXesN0r1AixBuqM6yLQUJw==
dependencies:
chokidar "^2.0.0"

Expand Down Expand Up @@ -6396,9 +6391,9 @@ wbuf@^1.1.0, wbuf@^1.7.3:
minimalistic-assert "^1.0.0"

webpack-cli@^3.1.2:
version "3.3.0"
resolved "https://registry.yarnpkg.com/webpack-cli/-/webpack-cli-3.3.0.tgz#55c8a74cae1e88117f9dda3a801c7272e93ca318"
integrity sha512-t1M7G4z5FhHKJ92WRKwZ1rtvi7rHc0NZoZRbSkol0YKl4HvcC8+DsmGDmK7MmZxHSAetHagiOsjOB6MmzC2TUw==
version "3.3.1"
resolved "https://registry.yarnpkg.com/webpack-cli/-/webpack-cli-3.3.1.tgz#98b0499c7138ba9ece8898bd99c4f007db59909d"
integrity sha512-c2inFU7SM0IttEgF7fK6AaUsbBnORRzminvbyRKS+NlbQHVZdCtzKBlavRL5359bFsywXGRAItA5di/IruC8mg==
dependencies:
chalk "^2.4.1"
cross-spawn "^6.0.5"
Expand Down

0 comments on commit 222dd45

Please sign in to comment.