1
0
mirror of https://github.com/TryGhost/Ghost.git synced 2024-12-23 19:02:29 +03:00
Commit Graph

7049 Commits

Author SHA1 Message Date
Hannah Wolfe
37da544dcc Node version check w/o semver ()
closes 

- removes dependency on semver & package.json in preinstall script
- has a simplified proxy of semver to look for the right version numbers
2016-07-16 01:20:05 +02:00
Hannah Wolfe
ee1f4fdbdd Recommend Node v4 & use as default ()
refs 

- Use Node.js v4 as our default build environment
- Add Node.js v6 as an allowed failure
- Update contributor guidelines and readme
- Fix issue with branch exceptions
2016-07-15 12:36:15 -06:00
Joris Berthelot
795a59d677 Allow @ in image name for retina JS support ()
no issue

- Updates unique filename generator to not replace `@` with `-`, but to leave it in place instead.
2016-07-15 17:50:41 +01:00
Katharina Irrgang
8c6ba47b0e fix: offset bug when switching timezones ()
no issue
2016-07-15 17:44:22 +01:00
Katharina Irrgang
748c664b78 feature: maintenance mode ()
closes 
- add maintenance mode when running migrations
- refactor update/populate migrations
2016-07-15 17:22:41 +01:00
Greenkeeper
00a676110d chore(package): update semver to version 5.3.0 ()
https://greenkeeper.io/
2016-07-15 12:07:07 +01:00
Lukas Strassel
9222577c27 allow multiple subdirectories ()
refs  (first task of it)
-includes additional tests
-Instead of removing all slashes "/g" we now specifically remove leading and trailing slashes.
2016-07-15 12:35:39 +02:00
Katharina Irrgang
416c215018 change default order of posts ()
closes 
- new default order of posts: scheduled, draft, published
- invent orderDefaultRaw fn for each model
- each model is able to create a default raw order query
- separate count and fetch query for fetchPage, because the count query where group/order statements attached
2016-07-15 11:04:10 +01:00
Lukas Strassel
6439d60bc8 meta referrer improvements ()
closes 
- changed meta referrer from origin to origin-when-cross-origi
- made referrer policy configurable via referrerPolicy option in config js
- added example to config.example.js
-modified test to reflect new defaul origin-when-cross-origin
-added a test for configuration changed referrerPolicy
2016-07-14 18:14:59 +02:00
Lukas Strassel
9c2d14949d Fix: back link on the subscribe page ()
closes 
-the backlink had a static href to {{@blog.url}} which is now changed to {{#if subscribed_url}}{{subscribed_url}}{{else}}{{@blog.url}}{{/if}} to reflect the referring url.
-This PR makes the back link on the subscribe page to link back to the referring page instead of linking back to /
2016-07-14 17:09:40 +02:00
zhenkyle
76808d43b3 fix: spam prevention spec ()
closes 
2016-07-14 16:11:58 +02:00
Greenkeeper
9f547b640f chore(package): update ghost-gql to version 0.0.5 ()
https://greenkeeper.io/
2016-07-14 15:07:10 +01:00
Austin Burdine
4dbb877c48
update client ref 2016-07-14 06:36:55 -06:00
Katharina Irrgang
8395a4ec72 fix: migration fixture spec was suddenly failing ()
no issue
2016-07-14 06:30:46 -06:00
Katharina Irrgang
6e1bd2838e improvement: migrations ()
closes , 

- run each database version as top level transaction
- run migrations in correct order
2016-07-14 11:59:42 +01:00
Hannah Wolfe
71282a241e Various post-repo-split cleanup ()
no issue

- remove bower from dependencies, greenkeeper ignores & .editorconfig
- remove old custom jscs rule for ember
2016-07-12 11:55:46 -06:00
Austin Burdine
f3a7dc2f99
update client ref 2016-07-12 10:41:49 -06:00
Aileen Nowak
24c86b49d1 HTML newsletter template for subscribers ()
refs 

The template can be used for all cases (different newsletter interval, different amount of blog posts, with or without blog picture).

The template can be filled with the following data structure:
- `blog.logo` is the blog logo from settings
- `blog.title` is the title of the current blog
- `blog.url` is the URL of the blog
- `blog.twitterURL` is the twitter profile URL of the blog from settings
- `blog.facebookURL` is the facebook page URL of the blog from settings
- `blog.unsubscribe` is the link for the reader to unsubscribe from the blog
- `newsletter.interval` is the interval in words like 'weekly', 'daily', 'monthly'
- `newsletter.date` is the date of the newsletter issue in a format like 'June 9th, 2016'
- `blog.post` is expected to be an array:
	- `blog.post[i].picture` is the picture of the blog post. There are also conditionals, which change the inline CSS to either show a border-top if there's no picture (in that case the HTML code, that shows the picture is not active)
	- `blog.post[i].title` is the title of the current blog post
	- `blog.post[i].text` is the text of the current blog post, which needs to be cut down to 278 letters, plus ending with `…`
	- `blog.post[i].url` is the URL of the current blog post
	- `blog.post[i].tag` is the tag of the current blog post
	- `blog.post[i].author` is the author of the current blog post

Important is, that only HEX HTML entities will work, especially in Outlook. So instead of `—` we need to use `—` and `’` instead of `'` or `'` and so on.

Added unit test for newsletter template in `test/unit/mail/utils_spec.js`.
2016-07-08 21:40:32 -06:00
Greenkeeper
7b0226247b chore(package): update express-hbs to version 1.0.2 () 2016-07-08 21:35:00 -06:00
Austin Burdine
a1a5e55bf7 improve styling on private blogging password page ()
refs 
- make private.hbs styling consistent with the ghost signin page
2016-07-07 15:37:42 +01:00
Austin Burdine
9e93c2b6aa deps: bookshelf@0.10.0 ()
merged in fix for lodash
2016-07-06 10:31:24 +01:00
Greenkeeper
bbaad73f87 chore(package): update rewire to version 2.5.2 ()
https://greenkeeper.io/
2016-07-05 17:25:23 +01:00
Greenkeeper
495bbee594 chore(package): update moment to version 2.14.1 () 2016-07-04 11:05:28 -06:00
Greenkeeper
62859fbb57 chore(package): update jsonpath to version 0.2.6 () 2016-07-01 20:29:25 -06:00
Greenkeeper
0b23bb007d chore(package): update html-to-text to version 2.1.3 () 2016-06-30 11:46:21 -06:00
Gergely Nemeth
447cc0cd2e fix(twitter-card): use proper image tag () 2016-06-29 18:04:43 -06:00
Greenkeeper
204e99b331 chore(package): update body-parser to version 1.15.2 () 2016-06-29 15:23:03 -06:00
Lukas Strassel
03137ff5cd allow manifest.json in theme root ()
closes 
2016-06-29 14:44:01 -06:00
Greenkeeper
72f7b0bc6c chore(package): update html-to-text to version 2.1.1 ()
https://greenkeeper.io/
2016-06-29 13:02:33 -06:00
Greenkeeper
78b19d80e3 chore(package): update semver to version 5.2.0 ()
https://greenkeeper.io/
2016-06-29 10:28:23 -06:00
Austin Burdine
a4c767afb7 Add greenkeeper branch ignores to travis ()
This prevents greenkeeper pushes from being run, as it will be run through the PR that is submitted instead.
2016-06-28 20:15:04 +02:00
Katharina Irrgang
ded60ba6e8 post-scheduling: delete job but time is null ()
no issue

This is a fix for the default-scheduler.
When a post never had a published_at value, the oldTime for removing the job would be null. And in this case we would try to delete a job with an invalidate date.
2016-06-28 20:14:29 +02:00
Katharina Irrgang
e91e9eadac improvement: mail structure ()
no issue
- in preparation for subscribers V2
- do not implement code in index.js
- create mail utils
2016-06-28 20:13:01 +02:00
Katharina Irrgang
1b3e1df641 fix: date permalink test ()
closes 
2016-06-28 11:14:39 -06:00
Hannah Wolfe
67522ea25a Merge pull request from acburdine/bookshelf-upgrade-test
Bookshelf Lodash Fix
2016-06-28 18:43:47 +02:00
Austin Burdine
996866b728 Merge pull request from TryGhost/greenkeeper-semver-5.1.1
Update semver to version 5.1.1 🚀
2016-06-27 22:05:13 -06:00
Austin Burdine
acc08b9702 deps: bookshelf@lodash-upgrade-fix
no issue
- temporarily upgrades bookshelf to latest master commit
- fixes lodash version incompatibility
2016-06-27 08:22:30 -06:00
greenkeeperio-bot
5e8b072025 chore(package): update semver to version 5.1.1
https://greenkeeper.io/
2016-06-23 19:08:34 +01:00
Hannah Wolfe
d5e1d122ac Merge pull request from TryGhost/greenkeeper-istanbul-0.4.4
Update istanbul to version 0.4.4 🚀
2016-06-23 14:29:56 +01:00
Hannah Wolfe
9d69e43771 Merge pull request from TryGhost/greenkeeper-bluebird-3.4.1
Update bluebird to version 3.4.1 🚀
2016-06-23 14:29:49 +01:00
greenkeeperio-bot
5e425c229e chore(package): update istanbul to version 0.4.4
https://greenkeeper.io/
2016-06-23 14:29:49 +01:00
Hannah Wolfe
2280838736 Merge pull request from TryGhost/greenkeeper-jsonpath-0.2.5
Update jsonpath to version 0.2.5 🚀
2016-06-23 14:29:35 +01:00
greenkeeperio-bot
c9e665ba04 chore(package): update bluebird to version 3.4.1
https://greenkeeper.io/
2016-06-21 23:11:04 +01:00
greenkeeperio-bot
f5506f7bb9 chore(package): update jsonpath to version 0.2.5
https://greenkeeper.io/
2016-06-21 23:11:04 +01:00
Austin Burdine
820207052e Merge pull request from TryGhost/greenkeeper-grunt-jscs-3.0.1
Update grunt-jscs to version 3.0.1 🚀
2016-06-21 18:10:49 -04:00
greenkeeperio-bot
2fe3223a6b chore(package): update grunt-jscs to version 3.0.1
https://greenkeeper.io/
2016-06-21 22:22:16 +01:00
Austin Burdine
bfaa8ece90 Merge pull request 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 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 
2016-06-20 15:44:02 +02:00
kirrg001
507677f071 fix: url for post path when post is not published
closes 
2016-06-20 14:48:01 +02:00