Nazar Gargol
7d6436f9bf
Bumped gscan version to 2.4.0
...
no issue
- Updated theme fixtures to be in line with new deprecation rules
for {{lang}} and {{@blog.*}} helpers introduced with https://github.com/TryGhost/gscan/pull/180
2019-04-02 13:47:59 +08:00
Nazar Gargol
a2d8c07c96
Fixed regression tests
...
no issue
- Tests were broken with b9eaf27e56
2019-04-02 11:23:46 +08:00
John O'Nolan
99983fa2e2
Update to new Twitter URL
2019-04-01 23:36:43 +02:00
Nazar Gargol
b9eaf27e56
🐛 Fixed admin error page on startup
...
closes #10616
- The check should be on empty object because that's the default state of expresses 'engines' property - 3ed5090ca9/lib/application.js (L59)
- The bug was introduced with 5e963935f9 (diff-04cc23b216e11161ab7267d69f13d004R142)
2019-04-01 15:06:00 +08:00
Nazar Gargol
0d89acd910
🐛 Fixed redirects to external URL
...
closes #10623
- The ability to redirect to external URLs was broken with 7e211a307c
- Added test coverage for external URL case
2019-04-01 12:33:29 +08:00
Kevin Ansfield
a532e35dc4
Version bump to 2.19.1
2019-03-27 17:26:57 +00:00
Kevin Ansfield
c95141740f
Updated Ghost-Admin to 2.19.1
2019-03-27 17:26:57 +00:00
Fabien O'Carroll
e99db0ee2d
Revert " 🐛 Fixed AMP output when there is a trailing '$'" ( #10642 )
...
This reverts commit 0c77033d51
.
See https://github.com/TryGhost/Ghost/issues/10643 for an explanation.
2019-03-27 17:20:21 +00:00
Fabien O'Carroll
00a52750df
Version bump to 2.19.0
2019-03-26 11:50:32 +01:00
Fabien O'Carroll
2f0a777974
Updated Ghost-Admin to 2.19.0
2019-03-26 11:50:32 +01:00
Vikas Potluri
960993b257
Migrated asset and author helpers to es6 ( #10611 )
...
refs #9589
* update asset helper to use newer code standards
* update authors helper to use newer code standards
2019-03-26 10:06:41 +05:30
Fabien O'Carroll
0c77033d51
🐛 Fixed AMP output when there is a trailing '$'
...
closes #9716
This was caused by a bug in express-hbs, which has more explanation
here:
https://github.com/TryGhost/Ghost/issues/9716#issuecomment-414863553
2019-03-26 12:19:30 +08:00
Naz Gargol
c219446f85
Model regression tests cleanup ( #10639 )
...
refs #9178
- Migrated settings model regression to unit tests
- Removed redundant/unuseful post tests
- Extracted post model regression tests to API tests
- Renamed test suites for consistency
2019-03-26 11:37:32 +08:00
Kevin Ansfield
6629b4d490
Version bump to 2.18.3
2019-03-22 13:38:48 +00:00
Kevin Ansfield
0699731f01
Updated Ghost-Admin to 2.18.3
2019-03-22 13:38:48 +00:00
Kevin Ansfield
9886e21cb2
Loosened equality check for error message in GhostMailer test
2019-03-22 13:37:00 +00:00
kirrg001
1e6f4ba340
🐛 Fixed Admin API v2 wasn't returning preview url
...
no issue
- Admin API v2 returned /404/, see comment in code base:
/**
* CASE: admin api should serve preview urls
*
* @NOTE
* The url service has no clue of the draft/scheduled concept. It only generates urls for published resources.
* Adding a hardcoded fallback into the url service feels wrong IMO.
*
* Imagine the site won't be part of core and core does not serve urls anymore.
* Core needs to offer a preview API, which returns draft posts.
* That means the url is no longer /p/:uuid, it's e.g. GET /api/v2/content/preview/:uuid/.
* /p/ is a concept of the site, not of core.
*
* The site is not aware of existing drafts. It won't be able to get the uuid.
*
* Needs further discussion.
*/
2019-03-21 19:08:38 +01:00
Rish
394c8b7650
Removed hard-coded members lab flag for theme
...
no issue
- Removed hard-coded setting to switch on members flag in labs based on developer flag
2019-03-21 13:56:46 +05:30
Grant
51151e9e9e
Removed obsolete comment about api keys not being supported ( #10622 )
...
no issue
I noticed an outdated comment in the codebase ([confirmed by Kevin](https://forum.ghost.org/t/code-comment-says-we-dont-support-admin-api-keys-yet-is-this-true/6344/4?u=grant )). This PR removes it.
2019-03-19 20:05:37 +01:00
Rish
eacd9d6e08
Version bump to 2.18.2
2019-03-19 16:41:50 +05:30
Rish
a20fb29a2f
Updated Ghost-Admin to 2.18.2
2019-03-19 16:41:50 +05:30
Rish
48f2bd73be
Updated Casper to 2.9.6
2019-03-19 16:41:50 +05:30
Nazar Gargol
cf499c39a1
Fixed intergration tests
...
refs #10612
- Fixed output of html field when mobiledoc field is empty
2019-03-19 11:28:21 +08:00
Nazar Gargol
2517e9dc65
Added consistent handling to empty mobiledoc
...
closes #10612
- Added handling for 'blank' mobiledoc structure which should be converted to '""' instead of '<p></p>'
2019-03-18 20:06:53 +08:00
Nazar Gargol
04857e8823
Added tests for null values in content/excerpt helpers
...
refs #10612
- Added test coverage for existing implementation in excerpt helper and new changes in content helper (9a21bea
)
2019-03-18 19:52:49 +08:00
kirrg001
56deccb74d
Added missing translation key: admin api kid
...
no issue
- found this by coincidence
2019-03-18 12:48:39 +01:00
Eol
9a21bea2c7
🐛 Fixed null
displayed on empty post content ( #10617 )
...
refs #10612
- Added `null` value handling to {{content}} helper, which is same to how {{exerpt}} helper handles `null` values at the moment
2019-03-18 19:46:59 +08:00
Rishabh Garg
608718ff26
Updated npmignore to remove custom config files from release ( #10614 )
...
no issue
- Ignores custom config.*.json files on npm operations(e.g pack)
- Release process also ignores any custom config files leaked
2019-03-15 18:17:50 +05:30
Rishabh Garg
2764ed9ee3
Added tests to ghost release process ( #10613 )
...
no issue
- acceptance tests run on each build
- regression tests run once per day
- if we do a release, we have to ensure that we run all tests
- reduces the risk of releasing a new version with broken regression tests
2019-03-15 11:28:22 +01:00
kirrg001
8fd2e03ebf
Version bump to 2.18.1
2019-03-13 23:43:48 +01:00
kirrg001
442713d44a
Updated Ghost-Admin to 2.18.1
2019-03-13 23:43:48 +01:00
Katharina Irrgang
a2f7160499
Enhanced 2.18 detection ( #10610 )
...
no issue
- discovered another case
2019-03-13 23:40:50 +01:00
Fabien O'Carroll
ca16b197a2
Checked null & undefined in settings migration ( #10609 )
...
no-issue
This is to make sure we catch all falsy cases of values.
2019-03-13 23:35:23 +01:00
Fabien O'Carroll
02c56e90e5
Version bump to 2.18.0
2019-03-13 22:06:18 +01:00
Fabien O'Carroll
aede3ea9e9
Updated Ghost-Admin to 2.18.0
2019-03-13 22:06:18 +01:00
Fabien O'Carroll
406e7c04d2
Improved error messages/handling for 2.18 migrations ( #10608 )
...
no-issue
We do not want to throw errors for edgecases, so we lot a message
telling the user to double check their settings.
2019-03-13 22:03:54 +01:00
Fabien O'Carroll
a8debd8980
🐛 Fixed private blogging getting disabled after 2.17 migration ( #10606 )
...
no-issue
The 2.17 migration included a bug which set the `is_private`, `amp` and `force_i18n` setting values to `'false'` when they should have been `'true'`
We've reverted these changes by reading the most recent backup file, and setting the value to `'true'` if the backup has it set to `'true'` AND the current db has it set to false.
We've also amended the broken migration, so that it does not cause this issue for future installs
2019-03-13 21:35:19 +01:00
Fabien O'Carroll
56b6c633f6
Updated backup file names to include timestamp ( #10607 )
...
no-issue
Currently if you run two migrations on the same day, the backup is overwritten. This change adds the `HH-mm-ss` to the file name, meaning that you get a unique backup for each migration.
2019-03-13 21:06:05 +01:00
Nazar Gargol
1d64090f5e
Version bump to 2.17.2
2019-03-13 18:52:43 +08:00
Nazar Gargol
223fd4515b
Updated Ghost-Admin to 2.17.2
2019-03-13 18:52:43 +08:00
Katharina Irrgang
f64af762ef
🐛 Fixed "Cannot read property 'feature_image' of undefined" ( #10602 )
...
no issue
- refs https://forum.ghost.org/t/default-hbs-cannot-read-property-feature-image-of-undefined/6194
-
2019-03-13 18:13:52 +08:00
kirrg001
7bac1824c2
Added regression test for editing a scheduled post
...
refs #10600
- ensure it does not happen again
- we only have some regression model tests, which edit scheduled posts
2019-03-12 20:20:46 +01:00
Kevin Ansfield
f6f35ebcd0
Version bump to 2.17.1
2019-03-12 18:45:55 +00:00
Kevin Ansfield
f232c16d1c
Updated Ghost-Admin to 2.17.1
2019-03-12 18:45:55 +00:00
Kevin Ansfield
96cddbb16d
Upgrading Casper to 2.9.5
2019-03-12 18:41:20 +00:00
Kevin Ansfield
507d8b32db
Fixed previews not reflecting changes to scheduled posts on Ghost(Pro) ( #10601 )
...
closes https://github.com/TryGhost/Ghost/issues/10600
- modifies conditions for when to send a cache invalidation header for preview URLs to include changes to scheduled posts
2019-03-12 18:35:54 +00:00
Nazar Gargol
458a57b09d
Version bump to 2.17.0
2019-03-12 20:39:30 +08:00
Nazar Gargol
1da55a3848
Updated Ghost-Admin to 2.17.0
2019-03-12 20:39:30 +08:00
Nazar Gargol
8381cd9f97
Upgrading Casper to 2.9.4
2019-03-12 20:31:33 +08:00
Hannah Wolfe
8d6324185e
Update .travis.yml - no slack success msgs
...
- only notify success after failure
2019-03-12 11:42:51 +00:00