Commit Graph

2145 Commits

Author SHA1 Message Date
Thibaut Patel
9f0e6cc26c Bumped html-to-mobiledoc
refs https://github.com/TryGhost/Koenig/pull/299
2021-12-16 22:14:52 +01:00
Thibaut Patel
1e9a2adf20 Updated the header card
refs https://github.com/TryGhost/Team/issues/1253
2021-12-16 19:16:34 +01:00
Thibaut Patel
4984223bf2 Renamed the header styles
refs https://github.com/TryGhost/Team/issues/1253

- The naming is easier to understand for theme developers
2021-12-16 18:22:16 +01:00
Thibaut Patel
2a97b2ab24 Added the header card parser plugin
refs https://github.com/TryGhost/Team/issues/1253
2021-12-16 17:45:03 +01:00
Thibaut Patel
e5ae8720ae Updated the header card
refs https://github.com/TryGhost/Team/issues/1253

- Applied the design simplification in the frontend rendering
2021-12-16 15:28:34 +01:00
Fabien 'egg' O'Carroll
0d457f231b
🐛Fixed 500 errors when signing up with invalid email (#13901)
refs https://github.com/TryGhost/Team/issues/1259

- We don't correctly handle Nodemailer's EENVELOPE error, which is thrown when Mailgun returns an error due to an invalid email recipient
- We don't want to default to returning a 400 for all mail exceptions because this would mask genuine errors - for example if Mailgun is unavailable
- We should catch `code: EENVELOPE` errors and return a 400 response
2021-12-16 12:32:15 +00:00
Renovate Bot
ceb66c1d85 Update dependency @tryghost/session-service to v0.1.36 2021-12-16 10:20:13 +01:00
Daniel Lockyer
0d5090bfcb
Added 'download' property to file link
refs https://github.com/TryGhost/Team/issues/1231
refs a7ef81bf95

- the referenced commit adds the `download` property to File cards
- this commit bumps the `@tryghost/kg-default-cards` package to include
  that change
2021-12-16 10:14:29 +01:00
Renovate Bot
acb3869fb5 Update dependency cssnano to v5.0.13 2021-12-16 08:58:41 +01:00
Renovate Bot
6cb2b25253 Update dependency @tryghost/image-transform to v1.0.26 2021-12-16 08:57:07 +01:00
Renovate Bot
12c528cf89 Update dependency @tryghost/limit-service to v1.0.8 2021-12-16 08:56:53 +01:00
Renovate Bot
af204fca99 Update dependency @tryghost/minifier to v0.1.9 2021-12-16 08:56:46 +01:00
Renovate Bot
66385729ed Update dependency @tryghost/adapter-manager to v0.2.26 2021-12-16 08:56:40 +01:00
Renovate Bot
9dbad381d6 Update dependency @tryghost/package-json to v1.0.14 2021-12-16 08:56:26 +01:00
Renovate Bot
b4a74cee5b Update dependency passport to v0.5.1 2021-12-16 08:55:51 +01:00
Rishabh
c3e2eddc86 Added css rules for file card
refs https://github.com/TryGhost/Team/issues/1231
2021-12-16 00:44:09 +05:30
Rishabh
f64cf70cc9 Refined frontend rendering for file cards
refs https://github.com/TryGhost/Team/issues/1231
2021-12-16 00:32:09 +05:30
Fabien egg O'Carroll
bdfce42413 Updated @tryghost/html-to-mobiledoc
no-issue

This includes updates to the html parsers for creating mobiledoc cards
and now works for the before/after cards, as well as fixes for
classnames of existing cards
2021-12-15 20:16:19 +02:00
Fabien egg O'Carroll
9db1c843c3 Updated Before/After card markup
refs https://github.com/TryGhost/Team/issues/1249

This removes some superfluous markup as well as renaming the slider
handle classname
2021-12-15 20:11:16 +02:00
Thibaut Patel
9198e2b0af Updated the headers card
refs https://github.com/TryGhost/Team/issues/1253

- Added configurable width
- Fixed css class names
2021-12-15 18:35:19 +01:00
Thibaut Patel
3aa60e1e00 Fixed the header card rendering
refs https://github.com/TryGhost/Team/issues/1253

- the card was failing to render without a subheader
- the subheader is optional so it needs to be rendering in that case
2021-12-15 16:19:55 +01:00
Thibaut Patel
49170e7ff2 Added a first version of the header card frontend rendering
refs https://github.com/TryGhost/Team/issues/1253

- Based on the editor card, the css isn't correct yet as it has undefined css variables
2021-12-15 14:46:00 +01:00
Fabien egg O'Carroll
a21a436f98 Added handle for before/after slider
refs https://github.com/TryGhost/Team/issues/1249

Using an input as the slider handle meant setting a width of 100% + px,
which could push width over the size of the screen - not good! This
takes the same approach as the CodePen linked below and uses a separate
element, which has the position of it updated by JS in realtime.

https://codepen.io/josephwong2004/pen/NWRGxdR
2021-12-15 15:16:29 +02:00
Peter Zimon
67d0059166 Updated file card markup
- @tryghost/kg-default-cards@5.14.7
2021-12-15 13:00:50 +01:00
Fabien egg O'Carroll
a1df1a8166 Updated gscan to check for before/after card CSS
refs https://github.com/TryGhost/Team/issues/1249

This ensures that themes which choose to omit default styles for
before/after card include their own.
2021-12-15 12:38:36 +02:00
Rishabh
55ec90f5c9 Fixed inline controls for video card player
refs https://github.com/TryGhost/Team/issues/1229
2021-12-15 13:20:34 +05:30
Rishabh
b9b2efa25c Added inline attribute for video card loop behavior
refs https://github.com/TryGhost/Team/issues/1229

Safari/iOS needs `playsinline` attribute on video element to render video player without its own controls
2021-12-15 12:45:45 +05:30
Rishabh
8b381a1259 Updated gscan rules for video card
refs https://github.com/TryGhost/Team/issues/1229
2021-12-15 12:11:44 +05:30
Rishabh
4a31a9e847 Added refinements for video card
refs https://github.com/TryGhost/Team/issues/1229
2021-12-15 00:55:00 +05:30
Sam Lord
97c68dd388
Replace error handler middleware with @tryghost/mw-error-handler (#13879)
refs: https://github.com/TryGhost/Toolbox/issues/137

Extract error handling middleware and replace with a package.
2021-12-14 15:18:46 +00:00
Renovate Bot
d2737d35c4 Update dependency @tryghost/image-transform to v1.0.25 2021-12-14 13:51:28 +01:00
Renovate Bot
2e04e01eaf Update dependency @tryghost/minifier to v0.1.8 2021-12-14 13:51:09 +01:00
Renovate Bot
fd43f4aef2 Update dependency @tryghost/session-service to v0.1.35 2021-12-14 13:50:17 +01:00
Renovate Bot
82c404d20c Update dependency @tryghost/limit-service to v1.0.7 2021-12-14 13:49:56 +01:00
Renovate Bot
39ac5dbc8a Update dependency @tryghost/adapter-manager to v0.2.25 2021-12-14 13:49:37 +01:00
Renovate Bot
9f754a0a6b Update dependency @tryghost/package-json to v1.0.13 2021-12-14 13:49:15 +01:00
Sam Lord
76f06fae3c
Revert "Revert "Extract logging from DI patterns, only use @tryghost/logging package"" (#13884)
This reverts commit fa8c3ebe99.

Reverting the revert, which will allow us to fully switch to @tryghost/logging v2.
2021-12-14 11:22:39 +00:00
Renovate Bot
c67be15fe8 Update dependency postcss to v8.4.5 2021-12-14 08:44:43 +01:00
Thibaut Patel
8b03c97b1e Added gscan rules to validate the product card css
refs https://github.com/TryGhost/Team/issues/1245

- Ensures a warning is displayed when the theme doesn't include the default product card css and also doesn't style style the product card.
2021-12-13 16:29:04 +01:00
Thibaut Patel
2800f538bc Updated the product card classes
refs https://github.com/TryGhost/Team/issues/1245

- Removes dependency from the product card css to other cards' css
2021-12-13 16:13:57 +01:00
Daniel Lockyer
878c9bc944 Added resolution to pin @tryghost/logging to v2
no issue

- we've been battling an issue where we have multiple versions of the
  logging library running, which causes a problem with file rotation
- this package adds a resolution to v2 so we force the use of a single
  version within Ghost
2021-12-13 15:46:32 +01:00
renovate[bot]
f33250888e
Update dependency @tryghost/members-api to v2.8.6 (#13849)
no-issue

Refactor & fixes from @sam-lord 

Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-12-13 15:52:31 +02:00
Fabien 'egg' O'Carroll
75c198349c
Added Before/After card rendering capabilities
refs https://github.com/TryGhost/Team/issues/1249

 - Initial version of rendering for the Before/After card from moi
 - Updates to the audio cards class names from Sanne
 - Fixes to the audio card thumbnail in emails from Sanne
 - Refactor of product card rendering from Thibaut
2021-12-13 15:31:14 +02:00
Rishabh
f237879251 Updated loop behavior for video player on theme
refs https://github.com/TryGhost/Team/issues/1229
2021-12-13 17:31:57 +05:30
renovate[bot]
7487d6e2e7
🐛 Allowed again the use of @partial-block in templates
refs https://github.com/TryGhost/gscan/issues/417

- The `@partial-block` handlebars directive was allowed in previous gscan versions until a regression
- Always allow using `@partial-block` as it never breaks the handlebars rendering

Co-authored-by:
- Thibaut Patel @tpatel 
- Renovate Bot <bot@renovateapp.com>
2021-12-13 12:49:50 +01:00
Rishabh
4205951f7a Added accent background color for default audio thumbnail
refs https://github.com/TryGhost/Team/issues/1230
2021-12-13 16:53:41 +05:30
Rishabh
58cdba41fa Added custom controls html for video player
refs https://github.com/TryGhost/Team/issues/1229
2021-12-13 13:29:56 +05:30
Renovate Bot
1efc403d9c
Update dependency luxon to v2.2.0 2021-12-13 02:19:05 +00:00
Renovate Bot
1c4b151cfc
Update dependency body-parser to v1.19.1 2021-12-10 20:24:28 +00:00
Kevin Ansfield
91393fcf0b Improved video thumbnail rendering and fixed loop behavior
refs https://github.com/TryGhost/Team/issues/1229

- bumped `@tryghost/kg-default-cards` with improved handling of thumbnail aspect ratio and a bugfix for the `loop` attribute on the `<video>` element
2021-12-10 18:37:55 +00:00