Commit Graph

1796 Commits

Author SHA1 Message Date
Renovate Bot
2e668d0d41 Update dependency @tryghost/timezone-data to v0.2.51 2021-11-11 16:23:57 +00:00
Renovate Bot
2eb9a08c27 Update dependency @tryghost/helpers to v1.1.53 2021-11-11 16:23:51 +00:00
Kevin Ansfield
69dbabb5c1 Added support for copy/pasting Wordpress and Substack buttons into editor
refs https://github.com/TryGhost/Team/issues/1214

- bumped `@tryghost/kg-plugin-parsers` to add support for Wordpress/Substack style button html in paste events

Example Wordpress html:
```html
<div class="wp-block-buttons">
    <div class="wp-block-button">
        <a href="https://example.com" class="wp-block-button__link">
            Testing  button
        </a>
    </div>
</div>
```

Example Substack html:
```html
<a class="button primary" href="https://ghost.org">
    <span>Custom Button</span>
</a>
```
2021-11-11 14:31:32 +00:00
Thibaut Patel
4647c45102 Updated the callout card parsing
refs https://github.com/TryGhost/Team/issues/1205

- support for optional emoji and background color
2021-11-10 18:32:12 +01:00
Rishabh
bfec1a1787 Updated parser plugin to add toggle card
refs https://github.com/TryGhost/Team/issues/1209
2021-11-10 20:14:40 +05:30
Daniel Lockyer
1c6ee2abca Merged v4.22.1 into main
v4.22.1
2021-11-10 12:58:15 +00:00
Daniel Lockyer
411282215d v4.22.1 2021-11-10 12:56:23 +00:00
Kevin Ansfield
a30d37bc49 Added support for copy/pasting button cards from rendered html
refs https://github.com/TryGhost/Team/issues/1207

- bumped @tryghost/kg-parser-plugins that has support for parsing rendered button cards
2021-11-09 12:03:28 +00:00
renovate[bot]
e610ef6531 Update dependency @sentry/ember to v6.14.1 (#2137)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-08 09:09:56 +00:00
Daniel Lockyer
6e2e46852f v4.22.0 2021-11-05 16:00:29 +00:00
Renovate Bot
d48d61a2a5 Update dependency @sentry/ember to v6.14.0 2021-11-03 16:22:07 +00:00
Daniel Lockyer
7389285d96 v4.21.0 2021-10-29 16:00:28 +01:00
renovate[bot]
1520c3dfa7 Update dependency testem to v3.6.0 (#2130)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-28 10:08:04 +01:00
renovate[bot]
bda04af77f Update dependency ember-useragent to v0.11.0 (#2129)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-28 10:07:56 +01:00
Renovate Bot
875f3156c7 Update dependency @tryghost/kg-parser-plugins to v2.1.0 2021-10-27 11:56:24 +01:00
Renovate Bot
71ffe10e06 Update dependency @tryghost/kg-clean-basic-html to v2.1.0 2021-10-27 11:54:14 +01:00
Daniel Lockyer
613ebf88f5 Added support for Node 16
refs https://github.com/TryGhost/Toolbox/issues/71

- Node 16 is now LTS so we're picking up support for it
- we're also bumping the minimum Node 14 version to 14.17.0 so it
  unblocks merging dependencies
- Admin needs the Node engine range and CI updating
- CI has been updated to the minimum Node 14 range as that is our
  recommended version
2021-10-27 10:46:00 +01:00
renovate[bot]
d3e347ab53 Update dependency ember-concurrency to v2.2.0 (#2124)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-27 10:40:59 +01:00
Daniel Lockyer
31c3f22192 Merged v4.20.4 into main
v4.20.4
2021-10-26 13:21:15 +01:00
Daniel Lockyer
ade28ca903 v4.20.4 2021-10-26 13:20:31 +01:00
renovate[bot]
26c4692306 Update dependency ember-cli-htmlbars to v6 (#2111)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-25 15:06:17 +01:00
renovate[bot]
73cd683117 Update dependency @tryghost/limit-service to v0.6.5 (#2120)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-25 15:05:44 +01:00
Daniel Lockyer
d83b5200da Merged v4.20.3 into main
v4.20.3
2021-10-25 11:30:27 +02:00
Daniel Lockyer
9fbb259d97 v4.20.3 2021-10-25 10:28:23 +01:00
renovate[bot]
55fb8e5d68 Update dependency @tryghost/members-csv to v1.1.8 (#2118)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-25 09:15:48 +01:00
renovate[bot]
7f4e3bbf80 Update dependency ember-in-viewport to v3.10.3 (#2110)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-25 09:15:29 +01:00
Daniel Lockyer
399df7920b v4.20.2 2021-10-25 08:19:05 +01:00
Daniel Lockyer
5588ead114 v4.20.1 2021-10-22 20:08:54 +01:00
Daniel Lockyer
1353191147 v4.20.0 2021-10-22 17:19:47 +01:00
Renovate Bot
161c53ca38 Update dependency eslint-plugin-ghost to v2.7.0 2021-10-21 22:40:54 +00:00
Daniel Lockyer
f28769014c Added codecov.io coverage uploader to CI
refs https://linear.app/tryghost/issue/CORE-74/improve-the-test-situation

- this commit:
  - adds the `ember-cli-code-coverage` dependency to collect
    coverage from ember tests
  - enables the `COVERAGE` env variable in CI
  - merges coverage data because tests are run in parallel
  - adds the codecov GitHub Action into CI so we can upload
    coverage reports
2021-10-21 10:37:03 +02:00
Kevin Ansfield
8710f5f532 Added animation of sidebar between main and contextual menus
refs https://github.com/TryGhost/Team/issues/1149

- added `ember-css-transitions` library that provides a modifier that adds/removes classes used for animating elements in and out, automatically creating a clone for destroyed elements
- added a wrapper class around the `main` and `design` nav menu contents so they could be individually animated
- used the new `{{css-transition}}` modifier to animate the sidebar menus in/out
- ensured main menu doesn't animate on first render of the parent `<GhNavMenu>` component so there's no animation when Admin is loaded
2021-10-20 13:04:05 +01:00
renovate[bot]
c6a8ca3561 Update dependency liquid-fire to v0.32.0 (#2115)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-20 09:26:35 +01:00
Daniel Lockyer
a5e6f934e9 v4.19.1 2021-10-18 14:09:16 +01:00
Daniel Lockyer
b5d96c5707 v4.19.0 2021-10-15 16:23:18 +01:00
renovate[bot]
f08bf3cd7a Update dependency @tryghost/members-csv to v1.1.7 (#2100)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-13 09:12:34 +01:00
renovate[bot]
852732b232 Update dependency @tryghost/limit-service to v0.6.4 (#2094)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-13 08:55:22 +01:00
renovate[bot]
d12090cc14 Update dependency @ember/render-modifiers to v2 (#2105)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-12 08:30:15 +01:00
renovate[bot]
0932abcb6d Update dependency ember-simple-auth to v4.0.2 (#2103)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-11 09:34:26 +01:00
renovate[bot]
9af08b2f39 Update dependency @sentry/ember to v6.13.3 (#2104)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-11 09:34:02 +01:00
Daniel Lockyer
deef182bd2 v4.18.0 2021-10-08 16:00:25 +01:00
Daniel Lockyer
59f32123e2 v4.17.1 2021-10-05 08:31:40 +01:00
Daniel Lockyer
230d99767f v4.17.0 2021-10-01 16:00:30 +01:00
renovate[bot]
491db676d9 Update dependency glob to v7.2.0 (#2095)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-09-27 11:33:47 +01:00
renovate[bot]
a5cb9a1e13 Update dependency @sentry/ember to v6.13.2 (#2093)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-09-27 11:33:36 +01:00
renovate[bot]
ef509e215a Update dependency blueimp-md5 to v2.19.0 (#2098)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-09-27 09:46:28 +01:00
renovate[bot]
ce7619e169 Update dependency ember-simple-auth to v4.0.1 (#2097)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-09-27 09:45:48 +01:00
Daniel Lockyer
bb8a07bc6a v4.16.0 2021-09-23 16:04:56 +01:00
Daniel Lockyer
f4c11c0f03 Merged v4.15.1 into main
v4.15.1
2021-09-23 11:05:50 +01:00
Daniel Lockyer
d83dd3a6af v4.15.1 2021-09-23 10:51:29 +01:00
Kevin Ansfield
1ce3e370d1 Bumped fork/hash of ember-promise-modals fork
no issue

- having problems with `yarn` pulling incorrect version from cache resulting in modals not closing due to missing functionality
2021-09-22 16:54:18 +01:00
Daniel Lockyer
eefe3d3e05 v4.15.0 2021-09-17 16:58:44 +01:00
Kevin Ansfield
4f2af95afe Moved modals service to manual handling of click and escape-to-close
refs https://github.com/TryGhost/Team/issues/559

Click-to-close and escape-to-close functionality in `ember-promise-modals` was deferred to `focus-trap`. For some of our use-cases that wasn't ideal because there was nowhere to hook in if we wanted to abort modal closing for any reason (eg, to show an unsaved changes confirmation)

- bumped the custom fork version of `ember-promise-modals` to allow all focus-trap close-inducing behaviour to be disabled
  - also adds a `beforeClose()` option when opening modals for future use
- changed modals service options that are passed through to `focus-trap` so that all close-inducing behaviour is disabled
- when the first modal is opened add event handlers for clicks and <kbd>Escape</kbd> key presses that should close modals and manually call `.close()` on the top-most modal in the stack
- remove event handlers when the last modal is removed
2021-09-16 20:26:57 +01:00
Renovate Bot
6fddd36aff Update dependency chai-dom to v1.10.0 2021-09-14 19:20:57 +00:00
Daniel Lockyer
d3bb001129 Merged v4.14.0 into main
v4.14.0
2021-09-14 11:42:00 +01:00
Daniel Lockyer
507c2a8b69 v4.14.0 2021-09-14 11:38:17 +01:00
renovate[bot]
8301e12ac1 Update dependency @tryghost/color-utils to v0.1.2 (#2077)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-09-13 13:58:42 +01:00
Kevin Ansfield
5ce67c7892 Initial ember-promise-modals implementation
refs https://github.com/TryGhost/Team/issues/559

We want to get rid of our existing modals implementation because it doesn't play well with Glimmer compoments and the animation library it uses is now unmaintained and blocking our Ember.js upgrades.

- installed addon using customised fork
  - fork allows passthrough of `allowOutsideClick` to `focus-trap` so we can allow clicks on dropdowns and other wormholed content inside of a modal
- extended the `modals` service locally so we can customise click-outside-to-close behaviour and tie in with our `dropdowns` service
- set up styles in `modals-new.css`, mostly copied from `modals.css` with a few specific overrides
  - once all modals are converted we can drop the old `modals.css` and rename `modals-new.css`
2021-09-13 13:01:12 +01:00
renovate[bot]
0d89d42ad2 Update dependency @tryghost/kg-parser-plugins to v2.0.5 (#2091)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-09-13 10:34:51 +01:00
renovate[bot]
092ff89fe0 Update dependency @tryghost/kg-clean-basic-html to v2.0.5 (#2090)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-09-13 10:26:04 +01:00
renovate[bot]
e5f6e63309 Update dependency ember-simple-auth to v4 (#2085)
- Update dependency ember-simple-auth to v4
- Removed `setup-session-service` initializer as it's no longer needed/present in v4

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Kevin Ansfield <kevin@lookingsideways.co.uk>
2021-09-13 10:25:53 +01:00
renovate[bot]
0613f5eacb Update dependency markdown-it to v12.2.0 (#2052)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-09-13 09:27:43 +01:00
renovate[bot]
bc720b947d Update dependency ember-moment to v8.0.2 (#2083)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-09-13 09:27:10 +01:00
renovate[bot]
9a394c04b0 Update dependency ember-resolver to v8.0.3 (#2087)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-09-13 09:26:39 +01:00
Renovate Bot
79d8e52ce1 Pin dependency @nexes/nql-lang to 0.0.1 2021-09-10 12:48:35 +01:00
Rishabh
8cfdd74fb9 Added nql-lang package for parsing nql filters
refs https://github.com/TryGhost/Team/issues/972

Applying a filter in the new members list updates URL and the filter dropdown contains the filters you've created. We want to keep the filters in filter dropdown on page refresh, which needs parsing nql filter from URL and re-building the filter list for the UI. This needs the `@nexes/nql-lang` package that parses the nql filters in JSON form.

Since `nql-lang` package had a dependency on `path`, `util` and `fs` node modules, this change needs a tweak in ember cli build using `ember-auto-import`, where we polyfill `path` and `util` package while using empty value for `fs` package.
2021-09-09 15:13:58 +05:30
renovate[bot]
35209cd5c0 Update dependency @tryghost/members-csv to v1.1.6 (#2067)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-09-07 12:10:21 +01:00
renovate[bot]
a78523ae8f Update dependency @tryghost/timezone-data to v0.2.50 (#2079)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-09-07 12:09:55 +01:00
renovate[bot]
69799a60b6 Update dependency @tryghost/helpers to v1.1.52 (#2078)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-09-07 12:09:47 +01:00
renovate[bot]
37bf6822ce Update dependency testem to v3.5.0 (#2075)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-09-07 12:09:31 +01:00
renovate[bot]
9cd44cb9e3 Update dependency @sentry/ember to v6.12.0 (#2076)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-09-07 12:09:04 +01:00
Daniel Lockyer
a0da052471 Merged v4.13.0 into main
v4.13.0
2021-09-06 12:26:24 +01:00
Daniel Lockyer
c090a2b277 v4.13.0 2021-09-06 12:21:31 +01:00
renovate[bot]
0a698ec41f Update dependency @tryghost/kg-clean-basic-html to v2.0.4 (#2070)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-08-31 09:01:23 +01:00
renovate[bot]
db2f91d108 Update dependency @tryghost/kg-parser-plugins to v2.0.4 (#2071)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-08-31 08:33:03 +01:00
renovate[bot]
568e0efc28 Update dependency testem to v3.4.3 (#2066)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-08-23 09:30:57 +01:00
Daniel Lockyer
c1ccb91a4e Merged v4.12.1 into main
v4.12.1
2021-08-17 17:25:09 +01:00
Daniel Lockyer
25ff623351 v4.12.1 2021-08-17 17:21:44 +01:00
Daniel Lockyer
f5fc64f74f Merged v4.12.0 into main
v4.12.0
2021-08-17 11:14:12 +01:00
Daniel Lockyer
55459e608a v4.12.0 2021-08-17 11:09:52 +01:00
renovate[bot]
f110d3df7e Update dependency @tryghost/helpers to v1.1.51 (#2056)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-08-16 10:33:07 +01:00
renovate[bot]
540e4661fa Update dependency @sentry/ember to v6.11.0 (#2060)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-08-16 10:32:56 +01:00
renovate[bot]
2fa6ac8ce3 Update dependency ember-fetch to v8.1.1 (#2058)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-08-16 09:45:09 +01:00
renovate[bot]
641fd01b3c Update dependency @tryghost/timezone-data to v0.2.49 (#2057)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-08-16 09:44:50 +01:00
renovate[bot]
141d6b7037 Update dependency @tryghost/color-utils to v0.1.1 (#2055)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-08-16 09:44:30 +01:00
renovate[bot]
d455532aa5 Update dependency ember-auto-import to v1.12.0 (#2064)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-08-16 09:43:47 +01:00
Daniel Lockyer
bc7f761bd3 Merged v4.11.0 into main
v4.11.0
2021-08-03 13:21:58 +01:00
Daniel Lockyer
ac29d0cd45 v4.11.0 2021-08-03 13:20:40 +01:00
renovate[bot]
f19c9dcb43 Update dependency @tryghost/kg-clean-basic-html to v2.0.3 (#2051)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-08-02 12:40:50 +01:00
renovate[bot]
db092be00c Update dependency @tryghost/timezone-data to v0.2.48 (#2048)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-08-02 09:49:54 +01:00
renovate[bot]
76c509243a Update dependency @tryghost/kg-parser-plugins to v2.0.3 (#2043)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-08-02 09:36:56 +01:00
renovate[bot]
7cc479a046 Update dependency @tryghost/members-csv to v1.1.3 (#2044)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-08-02 09:36:48 +01:00
renovate[bot]
8e9410373c Update dependency @tryghost/helpers to v1.1.50 (#2046)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-08-02 09:36:41 +01:00
renovate[bot]
61a7da3acb Update dependency ember-concurrency to v2.1.2 (#2049)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-08-02 09:36:31 +01:00
renovate[bot]
73ca41fe21 Update dependency @tryghost/string to v0.1.20 (#2047)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-08-02 09:20:31 +01:00
renovate[bot]
e51b07836a Update dependency @tryghost/kg-clean-basic-html to v2.0.2 (#2042)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-08-02 09:20:11 +01:00
renovate[bot]
7613e05b6e Update dependency markdown-it to v12.1.0 (#2027)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-08-02 08:52:46 +01:00
Renovate Bot
7a4898b558 Update dependency eslint to v7.32.0 2021-07-30 22:55:25 +00:00
Kevin Ansfield
0d092c2e32 Switched to extracted @tryghost/color-utils package
refs https://github.com/TryGhost/Team/issues/928

- we want to make use of the same color adjustments and contrast selection for accent colors we use in Admin on the server-side for emails so utility functions have been extracted to an external package
2021-07-29 11:35:15 +01:00
Kevin Ansfield
eed299d1f6 Matched Portal's contrast threshold for white/black text on background color
refs https://github.com/TryGhost/Team/issues/928

- switched to using `color` for color conversion and adjustments rather than maintaining our own limited utils (preparation to extract our own utils to separate library)
- changed contrast threshold for yiq-based contrast adjustment from `128` to `186` to match Portal's current behaviour
2021-07-28 17:14:33 +01:00