Commit Graph

2067 Commits

Author SHA1 Message Date
Renovate Bot
5761dae33a Update dependency @tryghost/helpers to v1.1.61 2022-03-21 09:55:57 +00:00
renovate[bot]
7d29b66ab6 Update dependency ember-simple-auth to v4.2.1 (#2305)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-03-18 18:43:40 +00:00
renovate[bot]
95217fc07b Update dependency @joeattardi/emoji-button to v4.6.4 (#2308)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-03-18 18:43:22 +00:00
renovate[bot]
e2e28c74a5 Update dependency papaparse to v5.3.2 (#2304)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-03-18 18:42:42 +00:00
renovate[bot]
622711038a Update dependency @tryghost/members-csv to v1.2.8 (#2302)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-03-18 18:42:15 +00:00
renovate[bot]
98e6ed6b5e Update dependency @tryghost/timezone-data to v0.2.60 (#2301)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-03-18 18:42:03 +00:00
renovate[bot]
3245edf710 Update dependency @tryghost/color-utils to v0.1.12 (#2299)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-03-18 18:41:43 +00:00
Daniel Lockyer
2fd52f009d v4.40.0 2022-03-18 16:00:40 +00:00
Matt Hanley
b0bd691d52 Merged v4.39.1 into main
v4.39.1
2022-03-16 14:48:44 +00:00
Daniel Lockyer
d2eee5b7a5 v4.39.1 2022-03-16 14:47:02 +00:00
Kevin Ansfield
054a5f15f5 🐛 Fixed scheduled date/time inputs not being focusable when used from post preview modal
closes https://github.com/TryGhost/Ghost/issues/14296

- bumped fork of `ember-promise-modals` as newer version exposes all focus-trap options and per-modal disabling
- disabled focus-trap for the post preview modal because it was preventing clicks on the input elements performing default behaviour
2022-03-11 17:58:20 +00:00
Daniel Lockyer
042538ba2d v4.39.0 2022-03-11 16:00:27 +00:00
renovate[bot]
378c83145c Update dependency @tryghost/color-utils to v0.1.10 (#2292)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-03-09 09:26:28 +00:00
Daniel Lockyer
0742e32fd2 Merged v4.38.1 into main
v4.38.1
2022-03-09 09:02:21 +00:00
Daniel Lockyer
bdc86dc265 v4.38.1 2022-03-09 08:59:59 +00:00
Kevin Ansfield
f65437b14c Added "Name" members filter (#2289)
refs https://github.com/TryGhost/Team/issues/1408

- switched to `@tryghost/nql` packages to get access to latest releases
- updated `GET /members` mirage endpoint with a try/catch and explicit logging to make any errors from NQL more visible
- added "Name" filter option
  - has `is`, `contains`, `does not contain`, `starts with`, `ends with` operators
  - uses a plain text field for the input value
- added support for `~`, `-~`, `~^`, and `~$` operators when generating NQL queries from filter definitions
2022-03-08 21:30:20 +00:00
Kevin Ansfield
c4c48d4104 Resolved ember-cli-mirage import deprecations
refs https://github.com/TryGhost/Admin/pull/2209

- `miragejs` has been extracted to a framework-independent library, the re-exports of `miragejs` elements in `ember-cli-mirage` have been deprecated making our test logs very noisy
- added `miragejs` as a top-level dependency
- updated all relevant imports to pull from `miragejs` instead of `ember-cli-mirage`
2022-03-08 11:32:01 +00:00
renovate[bot]
280be27103 Update dependency @tryghost/helpers to v1.1.59 (#2293)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-03-08 10:38:09 +00:00
renovate[bot]
8990ac753f Update dependency @tryghost/timezone-data to v0.2.58 (#2294)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-03-08 10:37:45 +00:00
renovate[bot]
70158d41e9 Update dependency ember-simple-auth to v4.2.0 (#2260)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-03-07 11:08:20 +00:00
renovate[bot]
0e20c97b56 Update dependency ember-cli-mirage to v2.4.0 (#2209)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-03-07 11:07:27 +00:00
renovate[bot]
10d108eac4 Update dependency @tryghost/members-csv to v1.2.6 (#2262)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-03-07 11:03:40 +00:00
renovate[bot]
553b74478d Update dependency @tryghost/helpers to v1.1.58 (#2276)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-03-07 10:07:18 +00:00
renovate[bot]
719d8e891d Update dependency @tryghost/timezone-data to v0.2.57 (#2278)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-03-07 10:07:07 +00:00
Kevin Ansfield
4aa9d4554e Dropped ember-useragent dependency
no issue

We made very limited use of the `ua-parser-js` sub-dependency that `ember-useragent` pulls in so it didn't seem worth having the fairly large 17KB import or the associated sub-dependency version resolutions.

- switched the two iOS and Safari detections to use associated Regexes on `navigator.userAgent`
- dropped the "Microsoft Edge not supported" message in the editor
  - old Edge is still not supported but it was been replaced with a Chromium-based version that is supported a while back
  - we can re-introduce a warning if we get any significant reports (there is nothing showing in Sentry for this alert in the last 14 days)
2022-03-07 10:06:35 +00:00
renovate[bot]
20be395077 Update dependency ember-useragent to v0.12.0 (#2283)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-03-07 09:13:12 +00:00
renovate[bot]
a159a69517 Update dependency @tryghost/limit-service to v1.0.10 (#2281)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-03-07 09:12:35 +00:00
renovate[bot]
e22ad6ce91 Update dependency @tryghost/string to v0.1.23 (#2277)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-03-07 09:12:07 +00:00
renovate[bot]
bba6427c40 Update dependency @tryghost/color-utils to v0.1.9 (#2275)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-03-07 09:11:52 +00:00
renovate[bot]
f74b8efa63 Update dependency fs-extra to v10.0.1 (#2273)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-03-07 09:11:37 +00:00
Daniel Lockyer
f52fcbd3be v4.38.0 2022-03-04 16:00:26 +00:00
Daniel Lockyer
84065585e1 v4.37.0 2022-02-25 16:00:27 +00:00
Kevin Ansfield
6b36dfc92f Merged v4.36.3 into main 2022-02-22 10:31:35 +00:00
Daniel Lockyer
9708f173fe v4.36.3 2022-02-22 10:25:09 +00:00
renovate[bot]
c4aaa63748 Update dependency ember-css-transitions to v3.1.0 (#2270)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-02-21 09:27:55 +00:00
Daniel Lockyer
8af0ce7474 v4.36.2 2022-02-18 16:00:29 +00:00
renovate[bot]
ea08f2c964 Update dependency @tryghost/kg-parser-plugins to v2.11.5 (#2267)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-02-16 18:56:46 +00:00
Matt Hanley
5103adeeb4 Merged v4.36.1 into main
v4.36.1
2022-02-16 15:26:15 +00:00
Daniel Lockyer
0cd0406cd1 v4.36.1 2022-02-16 15:23:42 +00:00
renovate[bot]
d69e5d043b Update dependency @tryghost/kg-clean-basic-html to v2.2.9 (#2266)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-02-16 15:21:19 +00:00
renovate[bot]
146cdece68 Pin dependency @nexes/nql to 0.6.0 (#2264)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-02-16 08:29:24 +00:00
Kevin Ansfield
03defc274e 🐛 Fixed Admin crash when member filters were focused+blurred without entering a filter value
closes https://github.com/TryGhost/Team/issues/1309
closes https://github.com/TryGhost/Team/issues/1336

- the error occurred because the `<Members::FilterValue>` component detaches it's value from the passed in value it was initialized with. Due to the detached handling, after changing the filter type away from the default label filter to a text input based filter, the internal value stayed as `[]` even though the filter type's value was changed. When the blur event was triggered in that state the internal `[]` value was used to update the filter resulting in an invalid filter string
  - added a quick-fix of assigning the input's value in the blur event handler meaning we get the expected `''` value
  - allows for passing tests to be created ready for a deeper fix/refactor later
- added `nql` dependency and used it in the `GET /members` API mock to match members against the filter param so behaviour matches the real API
  - tested increase in code size - dev build increased by ~180KB, no difference in prod
- added acceptance tests for all current filters and search
2022-02-15 21:38:57 +00:00
Renovate Bot
5974bb7b41 Update dependency ember-template-lint to v4.1.0 2022-02-15 04:05:43 +00:00
renovate[bot]
04505eeb41 Update dependency eslint to v8.9.0 (#2259)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-02-14 10:30:11 +00:00
Daniel Lockyer
1aec35a154 v4.36.0 2022-02-11 16:00:27 +00:00
renovate[bot]
65b4e72d7e Pin dependencies (#2257)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-02-10 11:01:35 +00:00
Gabriel Csapo
d51f2bcf23 [chore] migrate to eslint@8 and run --fix (#2256)
closes https://github.com/TryGhost/Admin/pull/2107

- updated related babel dependencies
- bumped eslint
- ran `yarn lint:js --fix`
- added eslint ignore comments for some required non-camel-case properties
2022-02-10 10:41:36 +00:00
Kevin Ansfield
8cc4c6c4a1 Dropped ember-concurrency-decorators dependency
no issue

- since `ember-concurrency@2.0` it's possible to use the standard imports as decorators removing the need for the extra `ember-concurrency-decorators` dependency and imports
2022-02-09 10:49:38 +00:00
renovate[bot]
c75961a368 Update dependency ember-concurrency to v2.2.1 (#2255)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-02-09 09:10:21 +00:00
renovate[bot]
8be8eb05bc Update dependency tracked-built-ins to v2 (#2146)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-02-08 08:58:18 +00:00
renovate[bot]
21fafd08fd Update dependency ember-modifier to v3 (#2123)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-02-08 08:54:14 +00:00
renovate[bot]
d67cffa76b Update dependency ember-css-transitions to v3 (#2249)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-02-08 08:28:25 +00:00
renovate[bot]
7a07c431fc Update dependency @tryghost/kg-parser-plugins to v2.11.4 (#2248)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-02-08 00:15:30 +00:00
renovate[bot]
3a95e8bd8e Update dependency @tryghost/kg-clean-basic-html to v2.2.8 (#2247)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-02-07 21:21:41 +00:00
Daniel Lockyer
799dadd533 v4.35.0 2022-02-04 16:00:26 +00:00
Renovate Bot
48e5eb0261 Pin dependency ember-template-lint to 4.0.0 2022-02-02 20:08:47 +00:00
Daniel Lockyer
bd5923efe0 v4.34.3 2022-02-02 16:10:50 +00:00
Gabriel Csapo
beb5ae1737 [chore] adds ember-template-lint and fixes all fixable issues (#2238)
no issue

- This will help with the octane migration and you can still run the lint rules even when they are todos. (Checkout the docs at 158b119667/docs/todos.md) The good news is any new code will be checked against the recommended config.
- I fixed all the auto fixable things we could get in this PR as well
2022-02-02 16:09:43 +00:00
renovate[bot]
59f769a696 Update dependency @ember/render-modifiers to v2.0.4 (#2236)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-02-01 17:10:13 +00:00
Daniel Lockyer
075aae9e3b Merged v4.34.2 into main
v4.34.2
2022-02-01 16:07:15 +00:00
Daniel Lockyer
66b7041a6f v4.34.2 2022-02-01 15:30:00 +00:00
Fabien "egg" O'Carroll
a70be14bd5 Merge tag 'v4.34.1'
v4.34.1
2022-02-01 12:43:29 +02:00
renovate[bot]
7ef12f9d4e Update dependency @tryghost/color-utils to v0.1.7 (#2229)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-02-01 10:23:48 +00:00
renovate[bot]
60db015478 Update dependency @tryghost/members-csv to v1.2.3 (#2216)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-02-01 09:35:20 +00:00
renovate[bot]
c820c5b010 Update dependency @tryghost/timezone-data to v0.2.55 (#2215)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-02-01 09:35:06 +00:00
renovate[bot]
7233d171bb Update dependency @tryghost/helpers to v1.1.56 (#2213)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-02-01 09:34:53 +00:00
Gabriel Csapo
8d01fb5556 Switched majority of files from EmberObject to native class syntax using @classic decorator (#2227)
no issue

- ran [ember-native-class-codemod](https://github.com/ember-codemods/ember-native-class-codemod) to convert the majority of remaining EmberObject based controllers and components to native class syntax using the `@classic` decorator
- skipped older style modal components (`components/modal-*.js`) due to observed incompatibilities in some cases
2022-02-01 09:34:03 +00:00
Daniel Lockyer
4e5fe7b2ee v4.34.1 2022-02-01 08:50:37 +00:00
Daniel Lockyer
dc8b5542d4 v4.34.0 2022-01-28 16:00:27 +00:00
Daniel Lockyer
6c9169e919 Merged v4.33.2 into main
v4.33.2
2022-01-27 10:28:15 +00:00
Daniel Lockyer
1ed4529790 v4.33.2 2022-01-27 10:20:51 +00:00
Renovate Bot
83f1b13e93 Update dependency chai to v4.3.6 2022-01-26 15:58:33 +00:00
Renovate Bot
127b27e6e4 Update dependency chai to v4.3.5 2022-01-25 20:42:09 +00:00
Daniel Lockyer
731c87ad11 Merged v4.33.1 into main
v4.33.1
2022-01-24 16:01:20 +00:00
Daniel Lockyer
7c50b97f93 v4.33.1 2022-01-24 15:59:59 +00:00
renovate[bot]
065cac4914 Pin dependency @ember/test-helpers to 2.6.0 (#2222)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-01-24 09:07:47 +00:00
Kevin Ansfield
a45f80fa82 Added fetching of member events to members-activity screen
refs https://github.com/TryGhost/Team/issues/1277

- added `ember-could-get-used-to-this` dependency to get access to Resources
  - context: https://www.pzuraq.com/introducing-use/
- added MembersEventFetcher resource for loading members events
  - using a Resource allows for a better data loading experience using only components
  - uses raw data from the API rather than going through Ember Data because we don't need full models or session-length caching that gives us
  - data is kept around in memory for the lifecycle of the resource, if the `filter` param changes the resource is torn down and recreated so it starts from page 1 again, once it's no longer used by a component it's torn down so data isn't kept around
  - paginates by using a `created_at:<={lastSeenTimestamp}` filter - this assumes the API can handle that effectively as a cursor with no duplicate or skipped records
- updated `members-activity` template to use the new resource and control data loading using infinite scroll
- moved overall screen structure from the `<MembersActivity::Table>` component into the `members-activity` template so that the table component can stay focused on just the table display
2022-01-22 15:35:08 +00:00
Kevin Ansfield
31ccd15eb1 Updated Ember dependencies to 3.24 (#2221)
no issue

- bumped `ember-source`, `ember-data`, and `ember-cli` to latest 3.24.x versions
2022-01-22 11:24:26 +00:00
Kevin Ansfield
8965ee9789 Updated Ember dependencies to 3.23
no issue

- bumped `ember-source`, `ember-data`, and `ember-cli` to latest 3.23.x versions
2022-01-22 00:20:35 +00:00
Kevin Ansfield
b71babfc51 Updated Ember dependencies to 3.22 (#2220)
no issue

- bumped `ember-source`, `ember-data`, and `ember-cli` to latest 3.22.x versions
- fixed errors caused by updating properties inside of a render
  - `<GhPublishMenu>` removed insta-call of `@setSaveType` when rendering sub-components in favour of pre-setting the default `@saveType` value when the underlying post status changes
  - updated `<GhNavMenu>` to use the run-loop to update the `firstRender` property once rendering has finished rather than mid-render
2022-01-22 00:05:05 +00:00
Daniel Lockyer
3c2a322d79 v4.33.0 2022-01-21 16:00:31 +00:00
Renovate Bot
ea71e2a653 Update dependency eslint-plugin-ghost to v2.12.0 2022-01-20 15:42:07 +00:00
Renovate Bot
f1c1894f1a Update dependency @tryghost/string to v0.1.22 2022-01-20 15:36:12 +00:00
Renovate Bot
d215a9b114 Update dependency @tryghost/color-utils to v0.1.6 2022-01-20 15:36:01 +00:00
Renovate Bot
1492ded009 Update dependency @tryghost/limit-service to v1.0.9 2022-01-20 15:04:17 +00:00
renovate[bot]
53c96c1603 Update dependency liquid-fire to v0.34.0 (#2211)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-01-20 13:34:48 +00:00
renovate[bot]
dc7baa20f5 Update dependency ember-auto-import to v1.12.1 (#2210)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-01-20 13:18:29 +00:00
renovate[bot]
f05977b60e Update dependency ember-keyboard to v7.0.1 (#2208)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-01-20 13:17:38 +00:00
renovate[bot]
614dda8af6 Update dependency @ember/render-modifiers to v2.0.3 (#2199)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-01-18 10:46:30 +00:00
Kevin Ansfield
8d67efb806 Revert "Update dependency ember-cli-mirage to v2.3.1 (#2198)"
This reverts commit 7dbec8b2cf.

- for some reason this was causing infinite build times locally
- reverted pending further investigation
2022-01-17 17:38:24 +00:00
renovate[bot]
c909e6babc Update dependency ember-keyboard to v7 (#2197)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-01-17 15:04:10 +00:00
renovate[bot]
7dbec8b2cf Update dependency ember-cli-mirage to v2.3.1 (#2198)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-01-17 15:02:31 +00:00
renovate[bot]
7aec5667a1 Update dependency @tryghost/members-csv to v1.2.2 (#2194)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-01-17 09:46:15 +00:00
renovate[bot]
c4026da64a Update dependency ember-svg-jar to v2.3.4 (#2196)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-01-17 09:45:27 +00:00
Daniel Lockyer
01ac9f185c v4.32.3 2022-01-14 16:00:28 +00:00
Daniel Lockyer
97c9c23d4a Merged v4.32.2 into main
v4.32.2
2022-01-12 10:01:37 +00:00
Daniel Lockyer
a33b6f2b37 v4.32.2 2022-01-12 10:00:20 +00:00
Kevin Ansfield
d63e722bcd 🐛 Fixed broken styles in Admin's search modal
This reverts commit e581263682.

- ember-power-select and ember-basic-dropdown updates changed which elements classes are assigned to in some cases
- revert is the quick-fix option for getting back to the working state
- dependency updates should be pushed again later with app-level changes needed to match new behaviour with old designs
2022-01-12 09:25:18 +00:00
renovate[bot]
cae75694d7 Update dependency markdown-it to v12.3.2 (#2191)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-01-10 14:40:06 +00:00
renovate[bot]
4242a86333 Update dependency @tryghost/kg-parser-plugins to v2.11.3 (#2190)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-01-10 14:39:53 +00:00
renovate[bot]
a369f11881 Update dependency @tryghost/kg-clean-basic-html to v2.2.7 (#2189)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-01-10 14:20:22 +00:00
Kevin Ansfield
673159efdc 🐛 Fixed broken styles in Admin's search modal
This reverts commit e581263682.

- ember-power-select and ember-basic-dropdown updates changed which elements classes are assigned to in some cases
- revert is the quick-fix option for getting back to the working state
- dependency updates should be pushed again later with app-level changes needed to match new behaviour with old designs
2022-01-10 14:11:56 +00:00
Daniel Lockyer
d8aebb0c24 v4.32.1 2022-01-07 16:00:34 +00:00
renovate[bot]
68e395f5dc Update dependency ember-cli-htmlbars to v6.0.1 (#2167)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-01-06 11:48:54 +00:00
renovate[bot]
e581263682 Update ember-basic-dropdown addons (#2157)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-01-06 11:25:27 +00:00
renovate[bot]
3bfcb3daab Update dependency ember-simple-auth to v4.1.1 (#2131)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-01-06 10:30:11 +00:00
Renovate Bot
1bdb545ef7 Update dependency pretender to v3.4.7 2022-01-06 10:20:06 +00:00
renovate[bot]
593e5b4247 Update dependency ember-infinity to v2.3.0 (#2166)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-01-04 09:17:33 +00:00
renovate[bot]
a0f5804aa8 Update dependency @tryghost/members-csv to v1.2.0 (#2163)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-01-03 13:59:02 +00:00
renovate[bot]
6586dffa51 Update dependency ember-cli-babel to v7.26.11 (#2180)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-01-03 13:58:19 +00:00
renovate[bot]
823734f0c1 Update dependency element-resize-detector to v1.2.4 (#2178)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-01-03 09:38:51 +00:00
renovate[bot]
5ffffaf4f3 Update dependency @ember/render-modifiers to v2.0.2 (#2179)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-01-03 09:37:10 +00:00
renovate[bot]
0d3a4c9f7a Update dependency ember-composable-helpers to v5 (#2172)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-01-03 09:36:15 +00:00
renovate[bot]
0e31b71796 Update dependency markdown-it to v12.3.0 (#2174)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-01-03 09:35:20 +00:00
renovate[bot]
6f359f3247 Update dependency @sentry/ember to v6.16.1 (#2171)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-01-03 09:34:50 +00:00
renovate[bot]
8501cb085f Update dependency @html-next/vertical-collection to v2.1.0 (#2170)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-01-03 09:34:23 +00:00
renovate[bot]
ab558deef3 Update dependency @tryghost/limit-service to v1.0.8 (#2162)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-01-03 09:31:19 +00:00
renovate[bot]
e0a64ef5b9 Update dependency liquid-fire to v0.33.1 (#2159)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-01-03 09:30:03 +00:00
renovate[bot]
028bec15f2 Update dependency ember-tooltips to v3.5.1 (#2155)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-01-03 09:29:20 +00:00
renovate[bot]
a1ca54abbd Update dependency ember-classic-decorator to v2.0.1 (#2136)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-01-03 09:26:24 +00:00
Daniel Lockyer
58c4abd471 v4.32.0 2021-12-17 11:32:32 +00:00
Thibaut Patel
9c59959378 Fixed a header card subheader bug
refs https://github.com/TryGhost/Koenig/pull/299

- The subheader was filled with a double <br> instead of being empty in some cases, hiding the placeholder, this remove the edge case
2021-12-16 22:17:10 +01:00
Thibaut Patel
5056401c13 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:08 +01:00
Thibaut Patel
8284d2e1ac Added the header card parser plugin
refs https://github.com/TryGhost/Team/issues/1253
2021-12-16 17:46:38 +01:00
Daniel Lockyer
4aaddc7a21 v4.31.0 2021-12-16 09:33:21 +00:00
Rishabh
9f9b1faa56 Updated parser plugin to handle file cards
refs https://github.com/TryGhost/Team/issues/1231
2021-12-16 00:34:37 +05:30
Fabien egg O'Carroll
7de1724e22 Added support for pasting before/afters cards
refs https://github.com/TryGhost/Team/issues/1249

This allows before/after cards from both Ghost & Jetpack/WordPress to be
pasted into the editor and correctly transform into Ghost cards.
2021-12-15 20:27:40 +02:00
Daniel Lockyer
558758f45b v4.30.1 2021-12-15 13:10:47 +00:00
Daniel Lockyer
19e99a7171 v4.30.0 2021-12-15 12:49:15 +00:00
Rishabh
2aae62c18d Added basic parser plugin for video card
refs https://github.com/TryGhost/Team/issues/1229
2021-12-15 00:55:24 +05:30
Daniel Lockyer
bebc0242bd v4.29.0 2021-12-14 07:25:02 +00:00
Daniel Lockyer
a9002be337 v4.28.0 2021-12-13 16:58:05 +00:00
Daniel Lockyer
10f7ca4019 v4.27.2 2021-12-10 16:00:27 +00:00
Rishabh
812e5b325d Added parser plugin for audio card
refs https://github.com/TryGhost/Team/issues/1230

- adds parser plugin for new audio card
2021-12-10 01:38:09 +05:30
Daniel Lockyer
ef7769ec38 v4.27.1 2021-12-08 16:02:08 +00:00
Daniel Lockyer
fc97de647b v4.27.0 2021-12-08 15:38:06 +00:00
renovate[bot]
3bd5400e92 Added the product card parser plugin
refs https://github.com/TryGhost/Team/issues/1245
2021-12-07 22:59:41 +01:00
Daniel Lockyer
65e01dd396 v4.26.1 2021-12-07 09:35:14 +00:00
Daniel Lockyer
7ecd7cb331 v4.26.0 2021-12-06 13:29:21 +00:00
Renovate Bot
a58b8b5928 Update dependency chai-dom to v1.11.0 2021-12-03 22:41:00 +00:00
Daniel Lockyer
1f1a3df59d v4.25.1 2021-12-03 16:00:37 +00:00
Renovate Bot
baddf934c7 Update dependency eslint-plugin-ghost to v2.11.0 2021-12-01 17:48:04 +00:00
Daniel Lockyer
f2ad2f5100 v4.25.0 2021-12-01 15:49:29 +00:00
Renovate Bot
5f9d091e9a Update dependency eslint-plugin-ghost to v2.9.0 2021-11-29 20:30:16 +00:00
renovate[bot]
765ce05277 Update dependency ember-assign-helper to v0.4.0 (#2158)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-29 12:50:07 +00:00
renovate[bot]
16e4381e59 Update dependency @joeattardi/emoji-button to v4.6.2 (#2156)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-29 12:49:23 +00:00
renovate[bot]
6539bd4c46 Update dependency @tryghost/helpers to v1.1.54 (#2147)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-29 12:48:46 +00:00
Kevin Ansfield
01e698f42f Added copy/paste support for alternative blockquote styles
refs https://github.com/TryGhost/Team/issues/1239

- bumps `@tryghost/kg-parser-plugins` to support transforming `<blockquote class="kg-blockquote-alt">` to an `aside` section when copy/pasting from rendered front-end html
- bumped `@tryghost/kg-clean-basic-html` to avoid referencing multiple versions in yarn.lock
2021-11-29 11:46:53 +00:00
Daniel Lockyer
4f184445c3 v4.24.0 2021-11-26 16:00:26 +00:00
Renovate Bot
8bfcbf1331 Update dependency eslint-plugin-ghost to v2.8.0 2021-11-25 17:15:00 +00:00
Daniel Lockyer
551e26b895 Merged v4.23.0 into main
v4.23.0
2021-11-25 12:17:20 +01:00
Daniel Lockyer
68372746a6 v4.23.0 2021-11-25 11:16:29 +00:00
renovate[bot]
9139809e9b Update dependency @tryghost/timezone-data to v0.2.53 (#2148)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-22 09:49:45 +00:00
renovate[bot]
625ab86963 Update dependency @tryghost/limit-service to v1 (#2122)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-22 09:48:43 +00:00
renovate[bot]
b2a78d0a19 Update dependency @sentry/ember to v6.15.0 (#2145)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-22 09:48:27 +00:00
renovate[bot]
d6a4ec374f Update dependency ember-keyboard to v6.0.4 (#2152)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-22 09:47:42 +00:00
Daniel Lockyer
d55e2846c6 v4.22.4 2021-11-19 16:00:31 +00:00
Fabien O'Carroll
e4a258950c Handled changes to NFT card class names
refs https://github.com/TryGhost/Team/issues/1211

Since we remove the kg-nft-card class from the anchor tag, we needed to
update the HTML parser to work with the new structure.
2021-11-19 12:14:10 +02:00
renovate[bot]
e0a68a94f8 Update dependency ember-ajax to v5.1.1 (#2151)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-18 13:36:34 +00:00
renovate[bot]
5b2740b500 Pin dependency @joeattardi/emoji-button to 4.6.0 (#2149)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-18 13:35:25 +00:00
renovate[bot]
99bc760bf7 Update dependency @tryghost/string to v0.1.21 (#2141)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-18 13:34:11 +00:00
renovate[bot]
6986d664a4 Update dependency @tryghost/kg-clean-basic-html to v2.2.1 (#2140)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-18 13:33:57 +00:00
renovate[bot]
623dc7da02 Update dependency @tryghost/color-utils to v0.1.5 (#2138)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-18 13:33:38 +00:00
Fabien O'Carroll
ce01e35097 Updated parsing of NFT card HTML
refs https://github.com/TryGhost/Team/issues/1211

This adds handling for the data=payload attriute on Ghost NFT cards as
ell as parsing for the default OpenSea Embed and the Substack NFT Card.
2021-11-18 14:31:38 +02:00
Thibaut Patel
a09d5ca14d Allow line-returns in callout card
refs https://github.com/TryGhost/Team/issues/1206

- Uses the `softReturn` parser to maintain line returns when editing the callout card
2021-11-16 17:11:00 +01:00
Thibaut Patel
568c523ff2 Allow line-returns in callout card
refs https://github.com/TryGhost/Team/issues/1206

- This only solves partially the line-returns being eaten by the editor. When editing a card with a line return, it will be removed.
2021-11-16 15:04:56 +01:00
Daniel Lockyer
584cb7940a Merged v4.22.3 into main
v4.22.3
2021-11-15 13:44:35 +00:00
Daniel Lockyer
cd5eb77ac6 v4.22.3 2021-11-15 13:43:15 +00:00
Thibaut Patel
82ccb36338 Added an emoji picker for the callout card
refs https://github.com/TryGhost/Team/issues/1206

- Uses https://emoji-button.js.org/ for the emoji panel and search
- Displayed when the callout card emoji is clicked
2021-11-15 14:19:20 +01:00
Rishabh
a5c0116e0b Updated design for toggle card in edit mode
refs https://github.com/TryGhost/Team/issues/1209
2021-11-15 16:50:53 +05:30
Daniel Lockyer
0bc5d322d4 v4.22.2 2021-11-12 16:00:24 +00:00
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