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

TryGhost / Ghost-Admin / 2827
73%
master: 70%

Build:
Build:
LAST BUILD BRANCH: 1.26.2
DEFAULT BRANCH: master
Ran 15 Aug 2017 02:55PM UTC
Jobs 1
Files 397
Run time 27s
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
2827

push

travis-ci

kevinansfield
✨ 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.32 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/services/media-queries.js
2
100.0
app/mixins/validation-engine.js
2
100.0
app/components/gh-image-uploader.js
3
100.0
app/controllers/setup/two.js
4
100.0
app/components/gh-simplemde.js
6
100.0
app/controllers/signin.js
6
100.0
app/components/gh-image-uploader-with-preview.js
12
100.0
app/services/ui.js
13
100.0
app/routes/application.js
15
100.0
app/controllers/signup.js
29
100.0
app/components/gh-editor.js
85
100.0
app/components/gh-markdown-editor.js
Jobs
ID Job ID Ran Files Coverage
1 2827.1 15 Aug 2017 02:55PM UTC 0
73.0
Travis Job 2827.1
Source Files on build 2827
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #2827
  • 42546069 on github
  • Prev Build on unsplash (#2825)
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