• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

TryGhost / Ghost-Admin / 2829
70%

Build:
DEFAULT BRANCH: master
Ran 15 Aug 2017 03:17PM UTC
Jobs 1
Files 397
Run time 22s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
2829

push

travis-ci

ErisDS
✨ Unsplash integration

closes https://github.com/TryGhost/Ghost/issues/8859, requires https://github.com/TryGhost/Ghost/pull/8895
- adds Unsplash app to app settings
  - enable/disable toggle
  - validation and testing of Unsplash App ID
  - Unsplash App ID field hidden if provided via Ghost config
  - adds `fetchPrivate` method to `config` service to pull config that requires authentication and updates authentication routines to fetch private config
- adds Unsplash buttons to editor toolbar and `{{gh-image-uploader}}`
  - only present when Unsplash app is enabled
  - opens Unsplash image selector when clicked
  - `{{gh-image-uploader}}` has a new `allowUnsplash` attribute to control display of the unsplash button on a per-uploader basis
- adds Unsplash image selector (`{{gh-unsplash}}`)
  - uses new `unsplash` service to handle API requests and maintain state
  - search
  - infinite scroll
  - zoom image
  - insert image
  - download image
- adds `{{gh-scroll-trigger}}` that will fire an event when the component is rendered into or enters the visible screen area via scrolling
- updates `ui` service
  - adds `isFullscreen` property and updates `gh-editor` so that it gets set/unset when toggling editor fullscreen mode
  - adds `hasSideNav` and `isSideNavHidden` properties
- updates `media-queries` service so that it fires an event each time a breakpoint is entered/exited
  - removes the need for observers in certain circumstances

1588 of 2449 branches covered (64.84%)

276 of 276 new or added lines in 19 files covered. (100.0%)

3860 of 5288 relevant lines covered (73.0%)

41.37 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
100.0
app/components/gh-editor.js
1
100.0
app/components/gh-scroll-trigger.js
1
100.0
app/transforms/unsplash-settings.js
2
100.0
app/components/gh-image-uploader.js
2
100.0
app/controllers/setup/two.js
2
100.0
app/services/media-queries.js
3
100.0
app/routes/settings/apps/unsplash.js
4
100.0
app/controllers/settings/apps/unsplash.js
8
100.0
app/components/gh-unsplash-photo.js
11
100.0
app/components/gh-unsplash.js
23
100.0
app/components/gh-markdown-editor.js
44
100.0
app/services/unsplash.js

Uncovered Existing Lines

Lines Coverage ∆ File
1
100.0
app/components/gh-editor.js
2
100.0
app/components/gh-content-cover.js
6
100.0
app/components/gh-nav-menu.js
6
100.0
app/components/gh-menu-toggle.js
12
100.0
app/routes/application.js
20
100.0
app/components/gh-post-settings-menu.js
63
100.0
app/mixins/editor-base-controller.js
Jobs
ID Job ID Ran Files Coverage
1 2829.1 15 Aug 2017 03:17PM UTC 0
73.0
Travis Job 2829.1
Source Files on build 2829
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #2829
  • 1e3191b8 on github
  • Prev Build on master (#2810)
  • Next Build on master (#2830)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc