0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-17 23:44:39 -05:00
Commit graph

40338 commits

Author SHA1 Message Date
Fabien O'Carroll
f7ae6a65c4 Released Comments UI v1.0.7
changelog v1.0.6 -> v1.0.7:
  - i18n updates
2025-02-06 07:33:27 +00:00
Fabien O'Carroll
a44883f67d Fixed Comments UI ship script 2025-02-06 07:33:27 +00:00
Fabien O'Carroll
a437574f44 Released Portal v2.49.1
changelog v2.49.0 -> v2.49.1:
  - https://github.com/TryGhost/Ghost/commit/d1f5ad764652a2b6676
  - i18n updates
2025-02-06 07:33:27 +00:00
Chris Raible
64443be767
Fixed publish and email post flaky browser test (#22123)
no issue

- The publish and email post browser test was flaking often due to a
race condition — if the Publish button is clicked before the post has
saved, the slug isn't updated yet. When we then visit the published post
with the expected slug, we get a 404.
- This change will wait for the post to finish saving before publishing
the post, rather than arbitrarily waiting 100ms and hoping it's fully
saved by then.
2025-02-05 21:53:43 -08:00
Princi Vershwal
d9d52fdd77
Added repost count on ActivityPub UI (#22116)
Ref https://linear.app/ghost/issue/AP-706/

- This is for showing the count on the UI for number of times a post has
been reposted.
2025-02-06 10:36:36 +05:30
Chris Raible
1b2e121165
Fixed flaky browser tests for scheduling posts (#22122)
no issue

- The browser tests for scheduling posts were flaking/failing because
the time was set to `00:00`, which is invalid and should reset the time
to "a few seconds from now", but the test was sometimes able to
"Continue" before the validation logic could run on blur. This left the
actual scheduled time set to `00:00`, which then caused the following
assertions to fail.
- I've tried to replicate this race condition manually to confirm it's
not a bug that a user could actually reach, but I haven't been able to.
I suspect that playwright's `.fill()` and/or `.click()` method behave
slightly differently than expected, which creates this race condition.
2025-02-05 19:56:07 -08:00
Chris Raible
45432fa186
Removed connection pool instrumentation (#22091)
no issue

- This instrumentation is not currently being used and we have a safer
method to get this data from the connection pool using prometheus.
2025-02-05 18:47:36 -08:00
Chris Raible
049dba469f
Added support for portal & other apps in containerized Ghost (#22121)
no issue

- The `yarn dev` command accepts dash-dash-args to conditionally build &
run other apps, like portal, comments, etc.
- Passing these flags to the docker compose setup directly doesn't work,
so the only way to run these apps in docker was to either change the
command in the Dockerfile or override the command in the `compose.yml`
file
- This commit extends `yarn dev` to also check for the
`GHOST_DEV_APP_FLAGS` environment variable for these flags, which can be
forwarded into the container and make it easier to run these apps using
docker compose.
2025-02-05 18:18:58 -08:00
Chris Raible
5631e804b6
Added service_healthy condition for mysql and redis (#22119)
no issue

- Ghost would sometimes crash because it was booting before the database
service was ready (even if the container had already started). This
commit tells `docker compose` to only start the ghost service once the
`mysql` and `redis` services have passed their health checks
2025-02-05 15:45:00 -08:00
Djordje Vlaisavljevic
a7aa59de72
Added notification for reposts (#22109)
ref https://linear.app/ghost/issue/AP-695/show-a-notification-when-someone-reposts-your-content

- When someone reposts your post or note, you’ll now receive a notification. If multiple accounts repost the same piece of content, those notifications will be grouped together, but only if they’re fetched as the same page of notifications.
- Converted functions to React components
- Bumped the package
2025-02-05 19:13:19 +00:00
Djordje Vlaisavljevic
2e2704427c Added title tags to icon buttons
ref https://linear.app/ghost/issue/AP-708/add-title-tags-to-icon-buttons

- This will help users figure out what our icon buttons (like/reply/repost) do, since they don't have labels.
2025-02-05 15:42:00 +01:00
Daniel Lockyer
884502c945 Removed Lodash from several code hotpaths
- only some small micro-optimizations found whilst browing CPU profiles
- we can remove lodash from a sanitize plugin method (needs an empty object
  fallback because Object.keys is less forgiving than _.keys and there are some
  tests which don't fully initialize the model)
- also converts the data-manipulation plugins into for-loops because
  there are more native than using lodash, and it means we can remove
  lodash from this file too
- lodash is a bit of a perf burn on extreme hotpaths, so it's good to
  clean it up where it's not needed, and native JS is often way faster
- adds a bit of JSDoc to help with editor autocomplete
2025-02-05 10:36:09 +01:00
martinverbic
ae39d2f37c
🌐 Updated Slovenian translations
Adds missing translations and improves existing
2025-02-05 15:20:39 +07:00
Kevin Ansfield
d32eb0299b Removed unused offers code from Admin
no issue

- offers management has moved to the Admin-X-Settings app but the old Admin code was left hanging around
- removed all of the old offers screens related code and styles
2025-02-05 08:07:28 +00:00
Àlex Rodríguez Bacardit
ddcb0a2bbb
🌐 Updated Catalan transaltions
Adds missing translations
2025-02-05 06:42:56 +00:00
Sag
d0df0e7f45
Wired Repost button to the new ActivityPub endpoint (#22111)
ref https://linear.app/ghost/issue/AP-699

- wired the frontend to the new Create Repost API endpoint (POST
/actions/repost/:id)
- the UX/UI is yet to be worked on by Djordje
- the frontend activity-pub app is currently missing acceptance tests
altogether. A follow-up commit will set up and add a basic acceptance
test to the FE app, so that we can add tests as we ship new changes
2025-02-05 13:38:10 +07:00
Mateus Ribeiro
6c4c94c5a8
🌐 Updated Brazilian Portuguese translations
Adds missing translations and localises the anonymous name

---------

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
Co-authored-by: Cathy Sarisky <42299862+cathysarisky@users.noreply.github.com>
Co-authored-by: Timothée Zendi <zenditimothee@gmail.com>
2025-02-05 13:34:43 +07:00
Duy
339ac3c246
🌐 Updated Vietnamese translations
Adds missing translations and improves existing
2025-02-05 13:33:12 +07:00
echobilisim3421
ba8e7d535d
🌐 Updated Turkish translations
Adds missing translation strings
2025-02-05 13:30:56 +07:00
Chris Raible
afb0780e0a
Removed unused sentry profiling integration (#22092)
ref https://ghost.slack.com/archives/C02G9E68C/p1731006713718679

- This code and dependency isn't currently in use anywhere so it's
currently just adding cruft to `node_modules` and making our Sentry code
more complex for no real benefit.
2025-02-04 10:28:22 -08:00
Ghost CI
44c654f75b Merged v5.109.2 into main 2025-02-04 15:18:19 +00:00
Ghost CI
0b50f330db v5.109.2 2025-02-04 15:18:16 +00:00
Sag
559c7ead7c Revert "Made names for uploaded files more secure and resilient to filesystem limits (#22055)" (#22108)
ref https://linear.app/ghost/issue/ONC-758
ref https://linear.app/ghost/issue/ENG-1260
ref https://linear.app/ghost/issue/ENG-1859

- this reverts commit 4e4651ae07
- changes in the reverted commit are blocking customers migrating from
other platforms from using the universal import feature
2025-02-04 21:50:31 +07:00
Sag
7eb78b7450
Revert "Made names for uploaded files more secure and resilient to filesystem limits (#22055)" (#22108)
ref https://linear.app/ghost/issue/ONC-758
ref https://linear.app/ghost/issue/ENG-1260
ref https://linear.app/ghost/issue/ENG-1859

- this reverts commit 4e4651ae07
- changes in the reverted commit are blocking customers migrating from
other platforms from using the universal import feature
2025-02-04 14:46:03 +00:00
renovate[bot]
c4de4c2bd9
Added HTML card web visibility settings for private beta testing (#22107)
closes https://linear.app/ghost/issue/PLG-339

- bumped Koenig packages
- moves HTML card web visibility settings from alpha to private beta
2025-02-04 13:38:40 +00:00
renovate[bot]
0e630552b0
Update dependency @uiw/react-codemirror to v4.23.8 (#22105)
This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [@uiw/react-codemirror](https://uiwjs.github.io/react-codemirror)
([source](https://redirect.github.com/uiwjs/react-codemirror)) |
[`4.23.7` ->
`4.23.8`](https://renovatebot.com/diffs/npm/@uiw%2freact-codemirror/4.23.7/4.23.8)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/@uiw%2freact-codemirror/4.23.8?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@uiw%2freact-codemirror/4.23.8?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@uiw%2freact-codemirror/4.23.7/4.23.8?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@uiw%2freact-codemirror/4.23.7/4.23.8?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>uiwjs/react-codemirror (@&#8203;uiw/react-codemirror)</summary>

###
[`v4.23.8`](https://redirect.github.com/uiwjs/react-codemirror/compare/v4.23.7...1b923ac1d202ec6590b34e8cb94bd09b41fa12ea)

[Compare
Source](https://redirect.github.com/uiwjs/react-codemirror/compare/v4.23.7...1b923ac1d202ec6590b34e8cb94bd09b41fa12ea)

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "* * * * 1-5" (UTC), Automerge - At
any time (no schedule defined).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Never, or you tick the rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR was generated by [Mend Renovate](https://mend.io/renovate/).
View the [repository job
log](https://developer.mend.io/github/TryGhost/Ghost).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS4xNDUuMCIsInVwZGF0ZWRJblZlciI6IjM5LjE0NS4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-02-04 01:38:05 +00:00
Chris Raible
40e242da71
Removed env_file from compose.yml (#22104)
no issue

- With the `package.json` commands specifying the `COMPOSE_PROFILES`
environment variable, this `env_file` block is no longer needed.
- Worse yet, it throws an error if the `.env` file it points to does not
exist, which is really annoying.
2025-02-04 01:24:26 +00:00
Ghost CI
c4a6b3a034 Merged v5.109.1 into main 2025-02-03 17:38:23 +00:00
Ghost CI
f711b06b40 v5.109.1 2025-02-03 17:38:21 +00:00
Kevin Ansfield
1378318ab0 Moved gated content block processing behind labs flag (#22101)
ref https://app.incident.io/ghost/incidents/137

- some sites make use of the Content API to fetch all posts in a single
request with high traffic volumes which results in a lot of data
processing to check for gated content that may cause higher CPU usage
and slowdown
- under an abundance of caution we're moving the related code behind a
labs flag whilst further performance testing is performed
- it should be noted that whilst this flag-conditional is in place, any
content that has already used gated blocks as part of alpha testing will
become visible if the flag is subsequently disabled
2025-02-03 11:24:13 -06:00
Kevin Ansfield
dafe5ac09b
Moved gated content block processing behind labs flag (#22101)
ref https://app.incident.io/ghost/incidents/137

- some sites make use of the Content API to fetch all posts in a single
request with high traffic volumes which results in a lot of data
processing to check for gated content that may cause higher CPU usage
and slowdown
- under an abundance of caution we're moving the related code behind a
labs flag whilst further performance testing is performed
- it should be noted that whilst this flag-conditional is in place, any
content that has already used gated blocks as part of alpha testing will
become visible if the flag is subsequently disabled
2025-02-03 11:19:53 -06:00
Djordje Vlaisavljevic
1a8d8061cd Fixed original poster name and handle leading to wrong profile
ref https://linear.app/ghost/issue/AP-697/add-ui-for-reposted-inbox-posts
2025-02-03 16:10:43 +00:00
Djordje Vlaisavljevic
c178964d67 Added support for showing reposted posts in inbox
ref https://linear.app/ghost/issue/AP-697/add-ui-for-reposted-inbox-posts

- Updated activity filter to show posts reposted by accounts you're following in your inbox
- Updated UI to indicate when a post shown in the inbox is reposted
- Updated UI for showing reposted notes for better alignment
- Added onClick to the repost indicator so it's easy to see the details of the account that reposted the content
- Bumped the package
2025-02-03 15:00:48 +00:00
Sam Lord
d1f5ad7646
Portal: Fixed issue where signup was not always called with hCaptcha
ref BAE-375

Discovered a way to test hCaptcha using a mock -- so implemented that to
ensure hCaptcha is always called.
2025-02-03 14:48:23 +00:00
Ghost CI
e4b8c72f3e v5.109.0 2025-01-31 15:07:50 +00:00
renovate[bot]
b66a8f8970 Update dependency @tryghost/koenig-lexical to v1.5.2 2025-01-31 09:37:52 +00:00
Chris Raible
376b9209c3
Added ability to disable Newsletter clicks toggle in settings (#22090)
ref
https://linear.app/ghost/issue/ENG-1974/create-config-option-to-forcibly-disable-email-track-clicks

- With the ability to override a setting via configuration, we also need
to disable the setting's toggle in the UI to signal to the user that it
cannot be changed.
- This commit sets `disabled: true` on the `Newsletter clicks` toggle if
`is_read_only` is set to `true` on the `email_track_clicks` setting
returned from the API, and establishes a pattern that we can use for
other settings in the future, if desired.
2025-01-30 17:06:17 -08:00
Chris Raible
3ee9f43f6c
Added ability to override settings via config (#22089)
ref
https://linear.app/ghost/issue/ENG-1974/create-config-option-to-forcibly-disable-email-track-clicks

- We want to have the ability to turn off click tracking for sites that
are adversely impacted by massive bursts of traffic from email link
checkers, but we don't currently have a pattern for this.
- This commit introduces a new configuration parameters
`hostSettings:settingsOverrides`, which accepts key/value pairs of
settings keys -> values. The value passed in here will override whatever
value is set for the associated setting key in the database
- It also adds an `is_read_only: true` property to any setting that is
overridden, which is included in the /api/admin/settings endpoint. This
value can be used by the frontend to disable the control to prevent a
user from trying to change the value.
- The value in the database is preserved, as the override is implemented
in the settings cache `get()` and `getAll()` methods.
- This commit only includes the backend changes — another commit will
follow to allow disabling the 'Newsletter clicks' toggle in Admin's
settings.
2025-01-30 17:05:42 -08:00
renovate[bot]
1d0091506b
Update dependency fastq to v1.19.0 (#22087)
This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [fastq](https://redirect.github.com/mcollina/fastq) | [`1.18.0` ->
`1.19.0`](https://renovatebot.com/diffs/npm/fastq/1.18.0/1.19.0) |
[![age](https://developer.mend.io/api/mc/badges/age/npm/fastq/1.19.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/fastq/1.19.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/fastq/1.18.0/1.19.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/fastq/1.18.0/1.19.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>mcollina/fastq (fastq)</summary>

###
[`v1.19.0`](https://redirect.github.com/mcollina/fastq/releases/tag/v1.19.0)

[Compare
Source](https://redirect.github.com/mcollina/fastq/compare/v1.18.0...v1.19.0)

#### What's Changed

- Expose paused status flag by
[@&#8203;greguz](https://redirect.github.com/greguz) in
[https://github.com/mcollina/fastq/pull/91](https://redirect.github.com/mcollina/fastq/pull/91)

#### New Contributors

- [@&#8203;greguz](https://redirect.github.com/greguz) made their first
contribution in
[https://github.com/mcollina/fastq/pull/91](https://redirect.github.com/mcollina/fastq/pull/91)

**Full Changelog**:
https://github.com/mcollina/fastq/compare/v1.18.0...v1.19.0

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "* * * * 1-5" (UTC), Automerge - At
any time (no schedule defined).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Never, or you tick the rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR was generated by [Mend Renovate](https://mend.io/renovate/).
View the [repository job
log](https://developer.mend.io/github/TryGhost/Ghost).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS4xNDUuMCIsInVwZGF0ZWRJblZlciI6IjM5LjE0NS4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-30 17:55:53 +00:00
renovate[bot]
6e6d6d2230
Update dependency react-router to v7.1.4 (#22086)
This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [react-router](https://redirect.github.com/remix-run/react-router)
([source](https://redirect.github.com/remix-run/react-router/tree/HEAD/packages/react-router))
| [`7.1.3` ->
`7.1.4`](https://renovatebot.com/diffs/npm/react-router/7.1.3/7.1.4) |
[![age](https://developer.mend.io/api/mc/badges/age/npm/react-router/7.1.4?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/react-router/7.1.4?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/react-router/7.1.3/7.1.4?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/react-router/7.1.3/7.1.4?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>remix-run/react-router (react-router)</summary>

###
[`v7.1.4`](https://redirect.github.com/remix-run/react-router/blob/HEAD/packages/react-router/CHANGELOG.md#714)

[Compare
Source](https://redirect.github.com/remix-run/react-router/compare/react-router@7.1.3...react-router@7.1.4)

##### Patch Changes

- Internal reorg to clean up some duplicated route module types
([#&#8203;12799](https://redirect.github.com/remix-run/react-router/pull/12799))

- Properly handle status codes that cannot have a body in single fetch
responses (204, etc.)
([#&#8203;12760](https://redirect.github.com/remix-run/react-router/pull/12760))

- Stop erroring on resource routes that return raw strings/objects and
instead serialize them as `text/plain` or `application/json` responses
([#&#8203;12848](https://redirect.github.com/remix-run/react-router/pull/12848))

- This only applies when accessed as a resource route without the
`.data` extension
- When accessed from a Single Fetch `.data` request, they will still be
encoded via `turbo-stream`

- REMOVE: limit matchRoutes optimization to client side
([#&#8203;12882](https://redirect.github.com/remix-run/react-router/pull/12882))

- Optimize Lazy Route Discovery path discovery to favor a single
`querySelectorAll` call at the `body` level instead of many calls at the
sub-tree level
([#&#8203;12731](https://redirect.github.com/remix-run/react-router/pull/12731))

- - Properly bubble headers as `errorHeaders` when throwing a `data()`
result
([#&#8203;12846](https://redirect.github.com/remix-run/react-router/pull/12846))
- Avoid duplication of `Set-Cookie` headers could be duplicated if also
returned from `headers`

- Optimize route matching by skipping redundant `matchRoutes` calls when
possible
([#&#8203;12800](https://redirect.github.com/remix-run/react-router/pull/12800))

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "* * * * 1-5" (UTC), Automerge - At
any time (no schedule defined).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Never, or you tick the rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR was generated by [Mend Renovate](https://mend.io/renovate/).
View the [repository job
log](https://developer.mend.io/github/TryGhost/Ghost).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS4xNDUuMCIsInVwZGF0ZWRJblZlciI6IjM5LjE0NS4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-30 17:55:28 +00:00
Sag
4e4651ae07
🔒 Made names for uploaded files more secure and resilient to filesystems' limits (#22055)
ref https://linear.app/ghost/issue/ENG-1260
ref https://linear.app/ghost/issue/ENG-1859

- names for uploaded files now include a 16-character alphanumeric hash,
that gets re-generated on every upload. This prevents original files to
be found, e.g. when redacting sensitive content in an image in the
editor
- if the filename length is higher than what most filesystem accept (255
bytes), we truncate the base of the filename, while keeping space for
the unique hash and the file extension. Example to illustrate
(non-accurate):
    - input: long-name-for-an-image-imagine-255bytes-here-blablablablabla-and-a-bit-more.png
    - output: long-name-for-an-image-1a2b3c4d5e6f7g890.png
2025-01-30 17:42:11 +00:00
renovate[bot]
6d7c711c33 Update actions/upload-artifact action to v4 2025-01-30 17:12:51 +01:00
Daniël van der Winden
9e439ad601
🐛 Fixes dropdowns in Members filters (#22082)
A few of the dropdowns within the Members filter were displaying
incorrectly (wrong background colour, sizing, border radius, and dark
mode styling).

These changes address that. 

Fixes
https://linear.app/ghost/issue/DES-1093/the-filter-for-selecting-an-email-has-a-grey-background-rather-than,
https://linear.app/ghost/issue/DES-1094/the-label-field-is-taller-than-other-fields,
https://linear.app/ghost/issue/DES-1095/the-label-field-changes-border-radius-on-focus,
https://linear.app/ghost/issue/DES-1096/label-and-email-fields-display-incorrectly-in-dark-mode
2025-01-30 16:52:49 +01:00
Kevin Ansfield
523b9d47a0
Added support for gating access to blocks of post content (#22069)
ref https://linear.app/ghost/issue/PLG-327

- updated post output serializer's gating functions to add gating of specific content blocks
  - uses regex to look for specific strings in the HTML for speed compared to fully parsing the HTML
  - content gating blocks look like `<!--kg-gated-block:begin nonMember:true/false memberSegment:"status:free,status:-free"-->...gated content...<!--kg-gated-block:end-->`
  - parsing of params is limited to `nonMember` with a true/false value and `memberSegment` with a string value containing a limited set of supported filters
  - occurs at the API level so that content is correctly gated in Content API output and front-end website
- added `checkGatedBlockAccess()` to members-service content-gating methods to keep the underlying member checks co-located
2025-01-30 12:47:42 +00:00
Djordje Vlaisavljevic
0cdec925ae
Added “unfollow” functionality to FollowButton (#22057)
ref https://linear.app/ghost/issue/AP-590/unable-to-unfollow-accounts

- Users can now unfollow accounts they’re following, which means that account will be removed from the user’s “following” list and any of the future posts or notes published by that account won’t appear in user’s inbox or feed.
- Refactored and simplified `FollowButton` so it only has 2 variants: primary (used on profiles, where it's the primary focus of the screen) and secondary (used in lists where there will probably be lots of `FollowButton`s next to each other.)

---------

Co-authored-by: Fabien O'Carroll <fabien@allou.is>
2025-01-30 12:00:56 +00:00
Ghost CI
99799d214c Merged v5.108.2 into main 2025-01-30 11:12:45 +00:00
Ghost CI
a16f9c6d42 v5.108.2 2025-01-30 11:12:43 +00:00
Sodbileg Gansukh
28275622b9
Added accept parameter to FileUpload component (#21899)
ref DES-182

- adds `accept` parameter to the file uploads making it possible to
define a set of accepted file types
- allows only zip and json files for the universal importer
2025-01-30 11:20:29 +08:00
Audun
048f17757c
🌐 Updated Norwegian translations (#21958)
Updated translation for "Unsubscribe" to something less "google
translated" and to something more natural Norwegian.
2025-01-29 06:58:26 -06:00
renovate[bot]
628550108e
Update dependency recharts to v2.15.1 (#22072)
This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [recharts](https://redirect.github.com/recharts/recharts) | [`2.15.0`
-> `2.15.1`](https://renovatebot.com/diffs/npm/recharts/2.15.0/2.15.1) |
[![age](https://developer.mend.io/api/mc/badges/age/npm/recharts/2.15.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/recharts/2.15.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/recharts/2.15.0/2.15.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/recharts/2.15.0/2.15.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>recharts/recharts (recharts)</summary>

###
[`v2.15.1`](https://redirect.github.com/recharts/recharts/compare/v2.15.0...3ecaab0e88781e20284f4444d41bf14a00fddf70)

[Compare
Source](https://redirect.github.com/recharts/recharts/compare/v2.15.0...v2.15.1)

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "* * * * 1-5" (UTC), Automerge - At
any time (no schedule defined).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Never, or you tick the rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR was generated by [Mend Renovate](https://mend.io/renovate/).
View the [repository job
log](https://developer.mend.io/github/TryGhost/Ghost).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS4xMjUuMSIsInVwZGF0ZWRJblZlciI6IjM5LjEyNS4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-29 11:33:06 +00:00