0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-24 23:48:13 -05:00
Commit graph

2648 commits

Author SHA1 Message Date
greenkeeperio-bot
71c78064fd chore(package): update ember-cli-jshint to version 1.0.4
https://greenkeeper.io/
2016-06-17 00:11:39 +01:00
Austin Burdine
2250fe38b3 Merge pull request #74 from TryGhost/greenkeeper-glob-7.0.4
glob@7.0.4 untested ⚠️
2016-06-16 12:03:52 -06:00
greenkeeperio-bot
fcd2e22259 chore(package): update glob to version 7.0.4
https://greenkeeper.io/
2016-06-16 18:40:52 +01:00
Kevin Ansfield
3b0f4d84b9 Merge pull request #73 from TryGhost/greenkeeper-ember-suave-3.0.1
Update ember-suave to version 3.0.1 🚀
2016-06-16 17:21:03 +01:00
greenkeeperio-bot
06fca08006 chore(package): update ember-suave to version 3.0.1
https://greenkeeper.io/
2016-06-16 17:05:11 +01:00
Austin Burdine
1e0ab39c3c Merge pull request #71 from TryGhost/greenkeeper-ember-cli-mocha-0.10.4
Update ember-cli-mocha to version 0.10.4 🚀
2016-06-15 15:59:53 -06:00
greenkeeperio-bot
8791385430 chore(package): update ember-cli-mocha to version 0.10.4
https://greenkeeper.io/
2016-06-15 21:28:33 +01:00
Austin Burdine
50022bdbd7 Merge pull request #69 from TryGhost/greenkeeper-ember-data-2.6.1
Update ember-data to version 2.6.1 🚀
2016-06-15 13:27:13 -06:00
greenkeeperio-bot
d2f35ffb10 chore(package): update ember-data to version 2.6.1
https://greenkeeper.io/
2016-06-15 20:01:50 +01:00
Kevin Ansfield
2f7f7dd53b Version bump to 0.9.0-beta.2 2016-06-15 13:22:39 +01:00
Austin Burdine
8ec10c86c0 Merge pull request #68 from TryGhost/greenkeeper-ember-power-select-0.10.11
Update ember-power-select to version 0.10.11 🚀
2016-06-14 16:22:17 -06:00
greenkeeperio-bot
608e42b3e9 chore(package): update ember-power-select to version 0.10.11
https://greenkeeper.io/
2016-06-14 22:24:26 +01:00
Austin Burdine
c49094dff5 Merge pull request #67 from TryGhost/greenkeeper-loader.js-4.0.9
Update loader.js to version 4.0.9 🚀
2016-06-14 15:24:11 -06:00
greenkeeperio-bot
be0bd9e1b6 chore(package): update loader.js to version 4.0.9
https://greenkeeper.io/
2016-06-14 21:54:19 +01:00
Kevin Ansfield
4130259051 Merge pull request #66 from TryGhost/greenkeeper-ember-one-way-controls-0.8.3
Update ember-one-way-controls to version 0.8.3 🚀
2016-06-14 14:44:30 +01:00
greenkeeperio-bot
00becad6a9 chore(package): update ember-one-way-controls to version 0.8.3
https://greenkeeper.io/
2016-06-14 14:29:14 +01:00
Kevin Ansfield
ebb36a317e Merge pull request #25 from AileenCGN/scheduler-ui
Scheduler UI
2016-06-14 13:06:00 +01:00
Kevin Ansfield
b900b2a940 Merge pull request #64 from acburdine/internal-tags-followup
internal-tags style followup
2016-06-13 17:37:12 +01:00
Austin Burdine
8b07f934e3 internal-tags style followup
no issue
- improves internal-tags display on content page
- fix typo in settings/labs
2016-06-13 09:40:16 -06:00
Aileen Nowak
9a28e5d7d5 Scheduler UI
refs TryGhost/Ghost#6413 and TryGhost/Ghost#6870

needs TryGhost/Ghost#6861

- **Post Settings Menu (PSM)**:'Publish Date' input accepts a date from now, min. 2 minutes to allow scheduler processing on the server. Also, there will always be some delay between typing the date and clicking on the 'Schedule Post' button. If the user types a future date for an already published post, the date will be reseted and he sees the message, that the post needs to be unpublished first. Once, the date is accepted, the label will change to 'Scheduled Date'.

- adds a CP 'timeScheduled' to post model, which will return `true` if the publish time is currently in the future.

- **Changes to the button flow in editor**:
- if the the CP `timeScheduled` returns true, a different drop-down-menu will be shown: 'Schedule Post' replaces 'Publish Now' and 'Unschedule' replaces 'Unpublish'.

- Covering the _edge cases_, especially when a scheduled post is about to be published, while the user is in the editor.
	- First, a new CP `scheduleCountdown` will return the remaining time, when the estimated publish time is 15 minutes from now. A notification with this live-ticker is shown next to the save button. Once, we reach a 2 minutes limit, another CP `statusFreeze` will return true and causes the save button to only show `Unschedule` in a red state, until we reach the publish time
	- Once the publish time is reached, a CP `scheduledWillPublish` causes the buttons and the existing code to pretend we're already dealing with a publish post. At the moment, there's no way to make a background-fetch of the now serverside-scheduled post model from the server, so Ember doesn't know about the changed state at that time.
	- Changes in the editor, which are done during this 'status freeze'-process will be saved back correctly, once the user hits 'Update Post' after the buttons changed back. A click on 'Unpublish' will change the status back to a draft.
	- The user will get a regular 'toaster' notification that the post has been published.

- adds CP `isScheduled` for scheduled posts
- adds CP `offset` to component `gh-posts-list-item` and helper `gh-format-time-scheduled` to show schedule date in content overview.
- sets timeout in `gh-spin-button` to 10ms for `Ember.testing`
- changes error message in `gh-editor-base-controller` to be in one line, seperated with a `:`

TODOs:
- [x] new sort order for posts (1. scheduled, 2. draft, 3. published) (refs TryGhost/Ghost#6932)
- [ ] Move posts sorting from posts controller to model and refactor to use `Ember.comparable` mixin
- [x] Flows for draft -> scheduled -> published like described in TryGhost/Ghost#6870 incl. edge cases and button behaviour
- [x] Tests
- [x] new PSM behaviour for time/date in future
- [x] display publishedAt date with timezone offset on posts overview
2016-06-13 17:01:42 +02:00
Kevin Ansfield
6606e18991 Merge pull request #58 from acburdine/internal-tags-admin
internal tags feature
2016-06-13 15:53:08 +01:00
Austin Burdine
5d008780fd internal tags feature
refs TryGhost/Ghost#6165
- change behavior to use 'visibility' property
- add tests
2016-06-13 08:21:41 -06:00
Hannah Wolfe
05243a2dbc Merge pull request #63 from kevinansfield/add-ghost-desktop-update-tests
Fix and add tests for Ghost Desktop manual update notification
2016-06-13 14:10:20 +01:00
Hannah Wolfe
1d31a8d973 Merge pull request #62 from kevinansfield/fix-401s-in-uploaders
Fix auth header caching in ajax service
2016-06-13 14:07:58 +01:00
Kevin Ansfield
b521e4dba4 Fix and add tests for Ghost Desktop manual update notification
closes #51
- move the check into the `afterModel` hook so that it's always performed on app load (previously it would only be displayed after going through the sign-in process)
- change the alert type to `warn` so that it matches our existing types (success, warn, error)
- don't rely on the `.htmlSafe()` prototype extension
- add basic tests for the upgrade alert display
2016-06-13 13:40:41 +01:00
Kevin Ansfield
39a09ca28a Fix auth header caching in ajax service
closes https://github.com/TryGhost/Ghost/issues/6884
- mark the `headers` method in the ajax service as "volatile" - it's dependent key was causing the auth headers to be cached on first use which would then cause 401 errors once the token had been refreshed externally

It would also be possible to add `session.authenticated.access_token` as a dependent key but the code-path and usage are minimal so I believe `.volatile()` is preferable as it means that it's not tied directly to the authorizer implementation.
2016-06-13 11:40:08 +01:00
Kevin Ansfield
e308256601 Merge pull request #61 from acburdine/jscs-update
Update grunt-jscs and ember-suave to 3.0.0
2016-06-13 08:49:11 +01:00
Kevin Ansfield
55eabdb350 Merge pull request #57 from AileenCGN/set-default-timezone-to-utc
Add UTC timezone as default in settings model
2016-06-13 08:44:17 +01:00
Austin Burdine
cf36851265 deps: grunt-jscs,ember-suave@3.0.0
replaces #41, #60
- update ember-suave and grunt-jscs to 3.0
- standardize Ember global de-structuring rules across app & tests
2016-06-11 13:39:31 -06:00
Austin Burdine
a42c571055 Merge pull request #59 from TryGhost/greenkeeper-ember-cli-2.6.1
Update ember-cli to version 2.6.1 🚀
2016-06-11 07:16:06 -06:00
Aileen Nowak
6d22a6dcb6 Add UTC timezone as default in settings model
no issue

- Changes the default timezone from 'Europe/Dublin' to 'Etc/UTC' in setting model
- Updates acceptance test for settings general to expect more timezones in list and different default
- adds mirage fixtures values
2016-06-11 12:24:04 +02:00
greenkeeperio-bot
6d8501f507 chore(package): update ember-cli to version 2.6.1
https://greenkeeper.io/
2016-06-11 10:38:22 +01:00
Kevin Ansfield
9b8348a0c0 Merge pull request #53 from TryGhost/greenkeeper-loader.js-4.0.8
Update loader.js to version 4.0.8 🚀
2016-06-10 11:00:40 +01:00
greenkeeperio-bot
446d4bc4fe chore(package): update loader.js to version 4.0.8
https://greenkeeper.io/
2016-06-10 10:18:14 +01:00
Kevin Ansfield
185f0bcb7f Merge pull request #54 from TryGhost/greenkeeper-ember-route-action-helper-0.3.2
Update ember-route-action-helper to version 0.3.2 🚀
2016-06-10 10:17:59 +01:00
greenkeeperio-bot
43aef761be chore(package): update ember-route-action-helper to version 0.3.2
https://greenkeeper.io/
2016-06-10 10:04:29 +01:00
Kevin Ansfield
dd6130e6d3 Merge pull request #56 from TryGhost/greenkeeper-ember-cli-2.6.0
Update ember-cli to version 2.6.0 🚀
2016-06-10 10:04:14 +01:00
greenkeeperio-bot
b2b5301b96 chore(package): update ember-cli to version 2.6.0
https://greenkeeper.io/
2016-06-10 09:41:13 +01:00
Kevin Ansfield
0e30aad959 Merge pull request #55 from ErisDS/labs-subscribe
Labs Subscribers option clearer & with docs link
2016-06-10 09:20:26 +01:00
Hannah Wolfe
bba0918a2f Labs Subscribers option clearer & with docs link
no issue

- changes wording to not indicate that we already send emails
- adds link to documentation
2016-06-10 08:51:44 +01:00
Austin Burdine
089226330b Merge pull request #52 from kevinansfield/deps-ember
deps: ember@2.6.0
2016-06-09 10:39:05 -06:00
Kevin Ansfield
fda6a6939c Merge pull request #50 from TryGhost/greenkeeper-ember-data-2.6.0
Update ember-data to version 2.6.0 🚀
2016-06-09 17:12:28 +01:00
Kevin Ansfield
12cda07e94 deps: ember@2.6.0
no issue
- bugfix & cleanup release https://github.com/emberjs/ember.js/releases/tag/v2.6.0
- fix tests that were relying on not having the `rootURL` prefixed in `href`s
2016-06-09 16:58:09 +01:00
Austin Burdine
393925de68 Merge pull request #47 from kevinansfield/rename-tz-offset
Rename "offset" to "blogTimezone"
2016-06-09 09:35:49 -06:00
Kevin Ansfield
ef774a8593 Merge pull request #49 from acburdine/readme-update
add travis build status to readme
2016-06-09 11:40:43 +01:00
Felix Rieseberg
289742a7b5 Check for Ghost Desktop manual update
If the user is running a version of Ghost Desktop that requires a
manual update, we display a little warning message referring to a blog
post on dev.ghost.org.
2016-06-08 15:10:56 -07:00
greenkeeperio-bot
53ff416d37 chore(package): update ember-data to version 2.6.0
https://greenkeeper.io/
2016-06-08 22:23:54 +01:00
Austin Burdine
a0cd579067 add travis build status to readme 2016-06-08 14:35:38 -06:00
Austin Burdine
2032729522 Merge pull request #48 from TryGhost/greenkeeper-ember-wormhole-0.4.0
Update ember-wormhole to version 0.4.0 🚀
2016-06-08 14:08:47 -06:00
greenkeeperio-bot
59bb01bf8a chore(package): update ember-wormhole to version 0.4.0
https://greenkeeper.io/
2016-06-08 20:41:37 +01:00