Daniel Lockyer
6d521cc14c
Added migration for Ghost Explore permissions
...
- this adds permissions so the Ghost Explore integration has permission
to access the `/explore/` endpoint
2022-07-08 11:54:31 +02:00
Daniel Lockyer
3747df1bc8
Added migrations for Ghost Explore integration and API key ( #15011 )
2022-07-08 09:55:58 +02:00
renovate[bot]
1cadf85020
Update dependency @playwright/test to v1.23.2
2022-07-08 08:45:34 +02:00
Rishabh
ecce576bc8
Updated sodo search script to include admin url
...
refs https://github.com/TryGhost/Team/issues/1665
- sodo search script only needs the admin url for fetching data from content api
- removes site url and updates the main url to use admin domain
2022-07-07 11:01:21 +02:00
Renovate Bot
dc3a6a4eaa
Update peter-evans/create-or-update-comment digest to b95e16d
2022-07-07 08:59:57 +02:00
renovate[bot]
3e1978fd18
Update dependency @sentry/node to v7
2022-07-07 08:58:02 +02:00
Ronald Langeveld
2bf4344a63
🐛 Fixed API excerpt field issue ( #15005 )
...
* 🐛 Fixed API excerpt field issue
ref https://github.com/TryGhost/Ghost/issues/10396
This fix now allows the API user to add field `excerpt` without the need for `plaintext` as format.
Also added new tests for these functions.
* Added new logic that takes `custom_excerpt` into account if all posts gets queried.
* Removed limits in excerpt & plaintext post.
* Updated snapshot.
2022-07-06 17:57:04 +02:00
Ronald Langeveld
9e8bbc028d
Revert "migrated excerpt fix"
...
This reverts commit 35ab123499
.
2022-07-06 12:42:22 +02:00
Ronald Langeveld
f20618679a
Revert "fixed linting"
...
This reverts commit bb509ee02c
.
2022-07-06 12:42:13 +02:00
Ronald Langeveld
e8306ffa29
Revert "Revert "Updated sodo search test script with version data""
...
This reverts commit 7c1ef4ecd0
.
2022-07-06 12:41:42 +02:00
Ronald Langeveld
7c1ef4ecd0
Revert "Updated sodo search test script with version data"
...
This reverts commit 7cb37d9091
.
2022-07-06 12:28:10 +02:00
Ronald Langeveld
569e16ee1d
Revert "updated snapshots"
...
This reverts commit 4f43c52637
.
2022-07-06 12:24:41 +02:00
Ronald Langeveld
4f43c52637
updated snapshots
2022-07-06 11:07:06 +02:00
Ronald Langeveld
bb509ee02c
fixed linting
2022-07-06 11:07:06 +02:00
Ronald Langeveld
35ab123499
migrated excerpt fix
2022-07-06 11:07:06 +02:00
Rishabh
7cb37d9091
Updated sodo search test script with version data
...
refs https://github.com/TryGhost/Team/issues/1665
- sodo search now includes version data in config to allow fetching css directly
2022-07-06 10:47:07 +02:00
Rishabh
67a60353c3
Added version information in sodo search config
...
refs https://github.com/TryGhost/Team/issues/1665
- version information allows creating the css bundle link for prod
- adds version information from the config
2022-07-06 10:11:15 +02:00
Daniel Lockyer
0aa5748951
Deleted urls.json
file
...
fixes https://github.com/TryGhost/Toolbox/issues/253
- this file is not used and is outdated, so we can just clean it up by
deleting the file
2022-07-05 15:50:15 +02:00
Daniel Lockyer
ede8b5117b
Merged v5.2.4 into main
...
v5.2.4
2022-07-05 10:52:52 +02:00
Daniel Lockyer
03c9fd47fa
v5.2.4
2022-07-05 09:50:40 +01:00
Daniel Lockyer
a6150bc2df
Updated Admin to v5.2.4
2022-07-05 09:50:40 +01:00
renovate[bot]
1bc6148e28
Update dependency supertest to v6.2.4
2022-07-04 17:30:52 +00:00
Naz
b996eadbd4
Renamed sodo search identification attribute
...
refs https://github.com/TryGhost/Team/issues/1665
- The search script should be uniquiely identifiable in DOM. Previously element for portal scipt element and search element both had `data-ghost` attributes` for identification. Having `data-sodo-search` makes naming unique
2022-07-04 16:44:01 +02:00
Naz
f6b2a83761
Added sodoSearch script output from ghost_head helper
...
no issue
- The sodoSearch needs to be injected into rendered HTML the same way portal scripts are.
- The feature is behind a `sodoSearch` alpha flag, so the scripts are injected conditionally
2022-07-04 16:44:01 +02:00
Simon Backx
3edbb364fe
Renamed data-ghost attribute on comments script
2022-07-04 16:12:35 +02:00
Hannah Wolfe
ab0dc4769c
Removed straggling canary naming from comments
...
- we no longer have a versioned API, just an API :)
2022-07-04 15:44:58 +02:00
Kevin Ansfield
3da839e80e
Fixed unit tests failing on unknown helper
...
refs dc49871837
- added the `comments` helper to the experimental helpers list
2022-07-04 15:42:18 +02:00
Kevin Ansfield
dc49871837
Added {{comments}}
helper
...
refs https://github.com/TryGhost/Team/issues/1664
- added `comments:url` config for a similar setup to Portal
- added `{{comments}}` helper that's behind the `comments` labs flag
- currently outputs a `<script>` tag that points to the comments script with API location+key data attributes
2022-07-04 15:34:01 +02:00
Daniel Lockyer
da3d32e2ed
Fixed straggling use of canary
naming
...
refs c50658953c
- this was missed in the referenced commit
2022-07-04 14:21:29 +02:00
Kevin Ansfield
8b2ba86909
Updated labs API snapshot
...
refs 46669c7036
- API output changes when labs flags are changed so snapshot needs updating to match
2022-07-04 14:13:43 +02:00
Kevin Ansfield
46669c7036
Added comments labs flag
...
no issue
- alpha flag for commenting system
2022-07-04 14:07:41 +02:00
Naz
4e539137be
Fixed broket test
...
refs 911ce4f29e
- Fixed the settings snapshot for a news labs flag
- Long term we should look into making the labs property match dynamically as it is updated quite often. We'll forget to update this snapshot!
2022-07-04 17:23:27 +08:00
Daniel Lockyer
c50658953c
Renamed API canary/
folder to endpoints/
...
- now we only have one API version, it doesn't make sense to keep
"canary" around
- renaming it to `endpoints/` makes more sense for this
- this commit renames the `core/server/api/canary/` folder to
`core/server/api/endpoints/`
- it also fixes the naming in test titles and the various other places
we relied on this
2022-07-04 11:14:37 +02:00
Naz
911ce4f29e
Added sodoSearch
labs flag
...
no issue
- alpha flag for .... you guessed it - SEARCH!
2022-07-04 17:03:46 +08:00
renovate[bot]
f24dfb409d
Update dependency eslint to v8.19.0
2022-07-04 02:12:22 +00:00
renovate[bot]
d73d9079cd
Update dependency cssnano to v5.1.12
2022-07-01 07:00:33 -04:00
Renovate Bot
28eedce347
Update dependency jwks-rsa to v2.1.4
2022-07-01 07:00:03 -04:00
renovate[bot]
e7e987f298
Update dependency cli-progress to v3.11.2
2022-07-01 06:59:22 -04:00
renovate[bot]
a470ab22b8
Update dependency @playwright/test to v1.23.1
2022-07-01 06:59:08 -04:00
renovate[bot]
5bbfca01ea
Update dependency nock to v13.2.8
2022-06-30 21:27:59 +00:00
renovate[bot]
d8a27c78f5
Update metascraper to v5.29.14
2022-06-30 12:13:11 +00:00
renovate[bot]
464f4b6769
Update metascraper to v5.29.13
2022-06-29 18:09:52 +00:00
renovate[bot]
15294f4056
Update dependency metascraper to v5.29.12
2022-06-27 13:46:05 +00:00
renovate[bot]
630149e9c6
Update metascraper to v5.29.11
2022-06-21 11:45:54 +00:00
renovate[bot]
148bb7b506
Update metascraper to v5.29.10
2022-06-20 00:39:07 +00:00
renovate[bot]
b46e7deae5
Update dependency eslint to v8.18.0
2022-06-17 22:05:10 +00:00
Renovate Bot
e53bd0bfd5
Update dependency nock to v13.2.7
2022-06-15 03:00:51 +00:00
Daniel Lockyer
bf264c15e5
v5.2.3
2022-06-15 03:59:47 +01:00
Daniel Lockyer
506957be84
Updated Admin to v5.2.3
2022-06-15 03:59:46 +01:00
Fabien "egg" O'Carroll
b82dc7ae7c
🔒 Fixed RCE exploit with date helper & locale setting
...
refs https://github.com/TryGhost/Ghost/security/advisories/GHSA-7v28-g2pq-ggg8
A vulnerability in an upstream library means an attacker can abuse locale input
to execute arbitrary commands from a file that has previously been uploaded
using the file upload functionality in the post editor.
2022-06-14 22:50:22 -04:00