Commit Graph

6603 Commits

Author SHA1 Message Date
Austin Burdine
bfaa8ece90 Merge pull request #7016 from kirrg001/fix/6999
fix: url for post path when post is not published
2016-06-21 07:09:11 -04:00
Austin Burdine
dc0416bbe8 Merge pull request #7017 from kirrg001/fix/prev-next-post
fix: prev next posts
2016-06-21 06:57:48 -04:00
kirrg001
f8ba12481d fix: prev next posts
closes #7015
2016-06-20 15:44:02 +02:00
kirrg001
507677f071 fix: url for post path when post is not published
closes #6999
2016-06-20 14:48:01 +02:00
Austin Burdine
14c3d0e9ef Merge pull request #7006 from kevinansfield/subgrunt-init
Use subgrunt to install client dependencies
2016-06-18 15:11:35 -04:00
Kevin Ansfield
fe44040dea Updating Ghost-Admin: grunt init bower fix
- includes `grunt init` task used in #7006
2016-06-18 19:30:42 +01:00
Kevin Ansfield
706d47fb5b Use subgrunt to install client dependencies
closes https://github.com/TryGhost/Ghost/pull/7005, requires https://github.com/TryGhost/Ghost-Admin/pull/79
- defers to client's Gruntfile to install client dependencies, avoids requirement for a global bower install
2016-06-18 18:35:51 +01:00
Kevin Ansfield
47678cc30e Merge pull request #6946 from kirrg001/improvement/jshint
improvement: jshint globals/mocha
2016-06-18 11:51:02 +01:00
kirrg001
250d571fe6 improvement: jshint/jscs
no issue
- add mocha option to jshintrc, no need to define globals in files anymore
- call client grunt commands in case of jshint/jscs
2016-06-17 22:59:47 +02:00
Kevin Ansfield
3e92d63c27 Version bump to 0.9.0-beta.2 2016-06-15 13:33:02 +01:00
Kevin Ansfield
490ee92ed5 Merge pull request #6996 from kirrg001/fix/delete-lodash-pickby
fix: delete lodash.pickBy dependency
2016-06-15 13:26:52 +01:00
Kevin Ansfield
8e21e31436 Upgrading Ghost-Admin to 0.9.0-beta.2 2016-06-15 13:25:39 +01:00
kirrg001
e43aefe576 fix: delete lodash.pickBy dependency 2016-06-15 14:00:32 +02:00
Kevin Ansfield
48b8660970 Merge pull request #6971 from ErisDS/tag-visibility 2016-06-15 12:51:18 +01:00
Hannah Wolfe
ac63621fe7 Update tags & foreach to respect visibility
refs #6165

- adds lodash.pickby@4.4.0
- new helper util for understanding a visibility attribute
- generalises visibility handling for `{{tags}}` helper
- adds visibility handling to `{{foreach}}` helper
- adds tests which check behaviour + labs flag
2016-06-15 12:37:09 +01:00
Kevin Ansfield
0d518d1ae6 Merge pull request #6993 from kirrg001/fix/delete-bug-post-scheduling
post-scheduling: fix delete bug in default scheduler
2016-06-15 11:50:37 +01:00
kirrg001
9de153ff82 post-scheduling: fix delete bug in default scheduler 2016-06-15 12:21:33 +02:00
Kevin Ansfield
7d8e01b14e Merge pull request #6990 from kirrg001/improvement/503-for-scheduling
post-scheduling: 503 retry logic for default adapter
2016-06-15 10:07:06 +01:00
kirrg001
a3cd43909b post-scheduling: HTTP 503 retry logic for default adapter 2016-06-15 08:40:18 +02:00
Hannah Wolfe
fe5e0eed48 Merge pull request #6988 from kirrg001/improvement/forward-utc-timestamp-for-scheduler
post-scheduling: forward UTC timestamp to scheduler adapters
2016-06-14 17:05:22 +01:00
Hannah Wolfe
bf79185d1c Merge pull request #6987 from kirrg001/fix/scheduler-config
post-scheduling: flat config for scheduling
2016-06-14 17:03:34 +01:00
kirrg001
80c797c6c2 post-scheduling: forward UTC timestamp to scheduler adapters 2016-06-14 16:34:56 +02:00
kirrg001
b5ebd0200b post-scheduling: flat config for scheduling 2016-06-14 15:13:00 +02:00
Kevin Ansfield
24e4a38ecc Updating Ghost-Admin: Scheduled Posts
- pulls in the new UI features for the scheduled posts feature
2016-06-14 13:25:59 +01:00
Hannah Wolfe
2835ad2298 Merge pull request #6861 from kirrg001/post-scheduling
Post Scheduling
2016-06-14 12:43:23 +01:00
“kirrg001”
1421c92ba5 post-scheduling
refs #6413
- PUT endpoint to publish a post/page for the scheduler
- fn endpoint to get all scheduled posts (with from/to query params) for the scheduler
- hardcoded permission handling for scheduler client
- fix event bug: unscheduled
- basic structure for scheduling
- post scheduling basics
- offer easy option to change adapter
- integrate the default scheduler adapter
- update scheduled posts when blog TZ changes
- safety check before scheduler can publish a post (not allowed to publish in the future or past)
- add force flag to allow publishing in the past
- invalidate cache header for /schedules/posts/:id
2016-06-14 10:52:13 +02:00
Hannah Wolfe
1b98d80a73 Merge pull request #6983 from kirrg001/fix/6975
fix: 6975 permalink test
2016-06-13 21:03:37 +01:00
kirrg001
2e25e4c73d fix: permalink test
issue #6975
2016-06-13 20:50:07 +02:00
Hannah Wolfe
c1736d0aa4 Updating Ghost-Admin: Internal tags
- pulls in the new UI features for the internal tags feature
- includes a labs flag
2016-06-13 13:59:24 -04:00
Hannah Wolfe
ecd77dd32f Merge pull request #6981 from kirrg001/fix/default-tz-in-config
fix: put default timezone into config
2016-06-13 18:49:17 +01:00
kirrg001
7d5baf4e9a fix: put default timezone into config
no issue
- config.theme.timezone can be undefined, when settings are not loaded from the database
- this PR will define the default blog TZ in config
- use `Etc/UTC` as default instead of `Europe/Dublin`
2016-06-13 15:02:52 +02:00
Hannah Wolfe
584e9911c4 Merge pull request #6973 from acburdine/lodash-4
deps: lodash@4.13.1
2016-06-11 21:39:30 +01:00
Austin Burdine
451c29d06a Merge pull request #6925 from TryGhost/greenkeeper-grunt-jscs-3.0.0
Update grunt-jscs to version 3.0.0 🚀
2016-06-11 13:52:16 -06:00
Hannah Wolfe
6bcc08e874 Cleanup indentation now JSCS can see it
- this is needed to make #6925 mergable
2016-06-11 20:25:15 +01:00
Austin Burdine
44537bd15f deps: lodash@4.13.1
closes #6911
- update lodash to v4
- remove lodash.tostring override
- remove lodash from greenkeeper ignore
2016-06-11 13:13:55 -06:00
greenkeeperio-bot
f6ba114728 chore(package): update grunt-jscs to version 3.0.0
https://greenkeeper.io/
2016-06-11 18:45:54 +01:00
Hannah Wolfe
1a6ce80bc7 Merge pull request #6965 from TryGhost/greenkeeper-should-9.0.2
Update should to version 9.0.2 🚀
2016-06-11 18:45:39 +01:00
Hannah Wolfe
fd2bf5aab7 Merge pull request #6771 from acburdine/hidden-tags-for-the-win
Internal Tags
2016-06-11 18:27:38 +01:00
Austin Burdine
aed8c0800e internal tags feature
refs #6165
- change behavior to use 'visibility' property
- finish out client & server-side behavior
- add tests
2016-06-11 09:12:04 -06:00
Hannah Wolfe
369fd2c6bd Initial work on internal tags feature
refs #6165
2016-06-10 13:32:56 -06:00
Hannah Wolfe
eeb41a8976 Merge pull request #6945 from sakulstra/bugfix-url-on-external-page
Allow domain name to be referenced on an external page in the navigation
2016-06-10 18:20:15 +01:00
Hannah Wolfe
471edf0ea9 Merge pull request #6962 from kirrg001/feature/when-timezone-changes-reschedule-posts
feature: when timezone changes, reschedule all posts
2016-06-10 15:53:40 +01:00
Hannah Wolfe
41d74e701b Merge pull request #6966 from AileenCGN/add-utc-timezones
Adds UTC as select option to timezones select list
2016-06-10 15:51:25 +01:00
Aileen Nowak
1487df9b30 Adds UTC as select option to timezones select list
no issue

- adds '(GMT) UTC' as select option to available Timezones
- changes default value for active Timezone to 'Etc/UTC'
2016-06-10 15:19:16 +02:00
kirrg001
16fc0d29bf feature: when timezone changes, reschedule all posts
closes #6406
- created listeners.js connector
- merged listeners.js with events.js (in models/base)
- set a post to draft when published_at would be in the past
- reschedule a post when published_at would be in the future
2016-06-10 14:58:19 +02:00
greenkeeperio-bot
42291b006d chore(package): update should to version 9.0.2
https://greenkeeper.io/
2016-06-10 12:20:58 +01:00
Hannah Wolfe
38de6d7f84 Merge pull request #6963 from kirrg001/improvement/config-spec-js
improvement: explict database assertions for config_spec.js tests
2016-06-10 11:45:11 +01:00
Sebastian Gierlinger
88dc7b3e99 Merge pull request #6929 from ErisDS/event-test-fix
Add removal for event listeners, fixes test error
2016-06-10 11:53:34 +02:00
Hannah Wolfe
d341263934 Merge pull request #6961 from kirrg001/improvement/add-not-existing-module-mock-fns
improvement: add mocks helper module for test env
2016-06-10 10:18:44 +01:00
Hannah Wolfe
74d4dcfba3 Merge pull request #6955 from kirrg001/fix/models-events-test
fix: model_events.js will cause errors for other tests
2016-06-10 10:17:58 +01:00