Sam Lord
40903c3136
Fixed browser-based tests in local context
...
no issue
Local tests can now setup Stripe during the global setup process, and the webhook server is run out-of-process.
Running tests in CI against localhost will use environment variables to setup Stripe.
Providing a test URL will avoid setting up Stripe and will assume that it is already done.
2022-12-02 17:04:04 +00:00
renovate[bot]
46bb38b18a
Update sentry-javascript monorepo to v7.23.0
2022-12-02 11:59:31 +07:00
renovate[bot]
40c4ae4e00
Update dependency @babel/plugin-proposal-decorators to v7.20.5
2022-11-30 12:28:57 +07:00
renovate[bot]
491cf44f52
Update dependency @sinonjs/fake-timers to v10
2022-11-30 12:26:53 +07:00
renovate[bot]
d6a9b464b3
Update dependency jwks-rsa to v3
2022-11-30 12:24:08 +07:00
renovate[bot]
8682100e58
Update dependency @types/mocha to v10.0.1
2022-11-30 12:23:06 +07:00
renovate[bot]
fc16bf97da
Update dependency postcss-cli to v10.1.0
2022-11-30 10:09:41 +07:00
renovate[bot]
b05434ca91
Update metascraper to v5.32.2
2022-11-29 17:02:07 +00:00
Kevin Ansfield
457c672c6a
Added URL transform for image cards in Lexical documents ( #15890 )
...
refs https://github.com/TryGhost/Team/issues/2225
- updated the `formatOnWrite` transform map for posts to include the new `nodes` and `transformMap` options used by `urlUtils` for transforming node payload data
- added `nodes` to the `lexicalLib` module that pulls in our default nodes to be passed in to the URL transform utilities
- added `urlTransformMap` to the `lexicalLib` module that maps transform type and data type to URL transform utility functions that accept a single URL argument
2022-11-29 16:57:01 +00:00
renovate[bot]
79ac85e63f
Update dependency lint-staged to v13.0.4
2022-11-28 08:43:37 +07:00
renovate[bot]
68d3faf77c
Update dependency terser to v5.16.0
2022-11-24 19:01:01 +00:00
e.baidakova
f5e1e6296c
Add suppression modal to Portal
...
closes TryGhost/Team#2256
- Users can remove themselves from the suppression list from the profile in Portal.
2022-11-24 13:58:27 +04:00
e.baidakova
f151d223c3
Add ability to import css files
...
closes TryGhost/Team#2256
- Now we can write css in separate files and then import them as string.
2022-11-24 13:58:27 +04:00
renovate[bot]
e48072e471
Update dependency bson-objectid to v2.0.4
2022-11-24 11:24:07 +07:00
renovate[bot]
a26cbacfd6
Update dependency @playwright/test to v1.28.1
2022-11-24 10:03:08 +07:00
renovate[bot]
0ca3031df1
Update sentry-javascript monorepo to v7.21.1
2022-11-23 15:15:14 +00:00
renovate[bot]
e4e8df44dd
Update sentry-javascript monorepo to v7.21.0
2022-11-23 12:29:15 +07:00
renovate[bot]
955605572e
Update dependency testem to v3.10.0
2022-11-22 17:38:30 +07:00
renovate[bot]
43f5547ae0
Update metascraper to v5.32.1
2022-11-21 15:31:26 +00:00
renovate[bot]
7978bf5a6f
Update dependency cron-validate to v1.4.5
2022-11-21 12:34:38 +00:00
renovate[bot]
96aa1c930c
Update dependency @playwright/test to v1.28.0
2022-11-21 15:37:46 +07:00
renovate[bot]
c4e41909a6
Update dependency html-validate to v7.10.0
2022-11-21 15:36:36 +07:00
renovate[bot]
4443f505fe
Update dependency concurrently to v7.6.0
2022-11-21 15:36:00 +07:00
renovate[bot]
0c2a62f47c
Update Test & linting packages
2022-11-18 23:04:37 +00:00
renovate[bot]
426c515f83
Update dependency ember-template-lint to v4.18.2
2022-11-18 01:29:10 +00:00
renovate[bot]
313c1788d9
Update dependency mailgun.js to v8.0.6
2022-11-17 22:31:28 +00:00
renovate[bot]
174525bc52
Update dependency mailgun.js to v8.0.4
2022-11-16 17:46:29 +00:00
renovate[bot]
72b57db2e8
Update dependency ember-template-lint to v4.18.1
2022-11-15 14:11:52 +00:00
renovate[bot]
c5c6b6a5cd
Update metascraper to v5.32.0
2022-11-14 21:47:17 +00:00
renovate[bot]
9175b82ab9
Update dependency postcss to v8.4.19
2022-11-14 10:18:33 +07:00
renovate[bot]
a3dd1eb6eb
Update dependency husky to v8.0.2
2022-11-14 10:16:54 +07:00
renovate[bot]
4ea21e5f44
Update metascraper to v5.31.3
2022-11-11 23:51:41 +00:00
renovate[bot]
12015a60fd
Update dependency bookshelf-relations to v2.5.0
2022-11-10 15:31:20 +00:00
renovate[bot]
b74029697f
Update dependency webpack to v5.75.0
2022-11-09 16:17:31 +00:00
Sam Lord
ce05d84940
Removed Bluebird from importer
...
refs: https://github.com/TryGhost/Ghost/issues/14882
This commit totally removes Bluebird from the importer. Updated `@tryghost/promise` to use native async/await and refactored importer logic to avoid the need of `reflect()`.
2022-11-09 16:14:37 +00:00
renovate[bot]
d4c0224fd8
Update dependency ember-template-lint to v4.18.0
2022-11-08 13:10:42 +00:00
renovate[bot]
8fa9f1e7e6
Update Test & linting packages
2022-11-07 20:39:48 +00:00
renovate[bot]
12023804de
Update dependency eslint to v8.27.0
2022-11-07 01:32:41 +00:00
Sam Lord
7b5ce01eff
Fixed yarn.lock to respect resolutions again
...
no issue
Running yarn command in a module subdirectory seems to have bypassed the resolutions defined in the top-level package.json.
2022-11-03 17:27:20 +00:00
Sam Lord
9cb95140fb
Allowed relative paths for base data pack in data generation
...
refs: https://github.com/TryGhost/Toolbox/issues/453
2022-11-03 16:48:25 +00:00
renovate[bot]
6c5553d059
Update dependency html-validate to v7.8.0
2022-11-03 10:46:36 +07:00
renovate[bot]
6afd6b6c75
Update dependency serve-handler to v6.1.5
2022-11-02 16:22:44 +07:00
renovate[bot]
8cde26f986
Update dependency ember-template-lint to v4.17.0
2022-10-31 17:37:40 +00:00
renovate[bot]
ac01fc5e42
Update dependency @babel/plugin-proposal-decorators to v7.20.0
2022-10-31 10:38:05 +07:00
renovate[bot]
5d49ce269a
Update dependency cssnano to v5.1.14
2022-10-31 09:50:23 +07:00
renovate[bot]
61ff499037
Update dependency sanitize-html to v2.7.3
2022-10-27 22:42:54 +00:00
Simon Backx
b916300ceb
Added aggregated click events ( #15713 )
...
fixes https://github.com/TryGhost/Team/issues/2175
- New event type `aggregated_click_event` that is disabled by default in all the existing activity feeds
- This returns click events, but only the first click events for each member/post combination.
- It includes the total count of unique link clicks for that member on that post combination
- Had to resort to some custom knex queries to make this work easily
- Requires `@tryghost/bookshelf-pagination@0.1.31`, included in `@tryghost/bookshelf-plugins@0.6.1` (this fixes an issue with custom selects breaking the total count query of pages)
- Went a bit overboard with the pagination tests to cover as much unknown edge cases as possible
2022-10-27 17:23:45 +02:00
Simon Backx
076e3c02b2
Added linking between member and subscription created events ( #15693 )
...
fixes https://github.com/TryGhost/Team/issues/2160
- Adds a `batch_id` to both events that contain the same ID if they were created at the same time.
- Removes duplicate signup/conversion events using the batch_id
- Requires an update in mongo-knex to work (refs https://ghost.slack.com/archives/C02G9E68C/p1666773313272409?thread_ts=1666767872.375009&cid=C02G9E68C )
- Some dependencies needed an update to load the latest mongo-knex
- Added tiers to membersUtils, loaded on startup (we can start to use this instead of fetching it every time)
2022-10-27 11:44:19 +02:00
Sam Lord
28b11e6fed
Added command to generate demo data ( #15691 )
...
refs: https://github.com/TryGhost/Toolbox/issues/440
New command to generate demo data, creates data for over 20 tables in
Ghost, suitable for testing most features of the dashboard, as well as
making guided product tours using newsletters, tiers, many posts and
tags.
Usage: `yarn start generate-data`
Optionally, keep your existing posts / tags with: `yarn start generate-data --use-existing-tags --use-existing-posts`
2022-10-26 17:55:08 +01:00
renovate[bot]
d034526fe6
Update dependency supertest to v6.3.1
2022-10-26 02:54:43 +00:00
renovate[bot]
f8cf220762
Update dependency mailgun.js to v8.0.2
2022-10-25 20:20:41 +00:00
renovate[bot]
0d3d85df64
Update dependency html-validate to v7.7.1
2022-10-25 10:40:33 +07:00
renovate[bot]
68f1df545c
Update dependency express-jwt to v7.7.7
2022-10-24 21:21:25 +00:00
renovate[bot]
bbd6c47d01
Update dependency html-validate to v7.7.0
2022-10-24 11:36:30 +07:00
renovate[bot]
603c78755d
Updated @tryghost dependencies ( #15631 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-10-24 10:30:40 +07:00
renovate[bot]
5f08c1b713
Update dependency ember-svg-jar to v2.4.2
2022-10-24 10:28:20 +07:00
renovate[bot]
9b2e4eb73c
Update dependency @babel/plugin-proposal-decorators to v7.19.6
2022-10-24 10:25:41 +07:00
renovate[bot]
c8c89a9fa3
Update dependency concurrently to v7.5.0
2022-10-24 10:23:48 +07:00
renovate[bot]
44f54fa4cc
Update dependency inquirer to v8.2.5
2022-10-24 10:22:16 +07:00
renovate[bot]
66f92e6eaf
Update dependency ember-auto-import to v2.4.3
2022-10-24 10:20:44 +07:00
renovate[bot]
3021a7dc50
Update dependency eslint to v8.26.0
2022-10-24 10:19:56 +07:00
renovate[bot]
ed12634b26
Lock file maintenance
2022-10-24 00:17:22 +00:00
renovate[bot]
eaf6c5d1b7
Update dependency ember-svg-jar to v2.4.1
2022-10-20 10:14:41 +07:00
renovate[bot]
93e999ec1c
Update dependency mocha to v10.1.0
2022-10-19 17:53:57 +00:00
Fabien "egg" O'Carroll
fbc23a624e
Refactored Tiers logic into separate package
...
refs https://github.com/TryGhost/Team/issues/2078
This pulls the current Tiers logic into its own package, the persistence part of
the work has not been done yet, that will be handled in core, so all bookshelf
model specific stuff is kept together.
2022-10-19 11:05:09 +07:00
renovate[bot]
6eaeaad5f2
Update dependency ember-template-lint to v4.16.1
2022-10-18 23:25:57 +00:00
renovate[bot]
2f43e71f7f
Update dependency ember-template-lint to v4.16.0
2022-10-18 10:21:09 +00:00
Kevin Ansfield
95cfb48c2d
Fixed broken ember-svg-jar
asset viewer
...
no issue
- downgraded to `2.3.4` because `2.4.0` is missing the asset viewer assets, see https://github.com/voltidev/ember-svg-jar/issues/233
2022-10-18 11:18:20 +01:00
Daniel Lockyer
b6d2d97af2
Merged v5.19.1 into main
...
v5.19.1
2022-10-17 17:48:02 +07:00
Naz
66c2d3748a
🐛 Fixed 404 collection links for new tags
...
closes https://github.com/TryGhost/Ghost/issues/15608
closes https://github.com/TryGhost/Toolbox/issues/437
refs https://github.com/bookshelf/bookshelf/issues/2111
refs https://github.com/knex/knex/issues/1641
- When new tag was attached to the post the tag collection link returned 404 - instead of a collection with one post
- The root cause of the issue and it's flaky behavior (sometimes the collection link was returning correctly) was a race condition between event propagation in routing for "tag.attached" event and the post+tag+relations transaction completion
- The race condition was happening as the bookshelf-transaction-events plugin was emitting the 'committed' event BEFORE the transaction was committed!
2022-10-17 18:21:10 +08:00
renovate[bot]
e9587e02d0
Update dependency mocha to v10.1.0
2022-10-17 08:41:28 +00:00
renovate[bot]
f63fef11ed
Update dependency util to v0.12.5
2022-10-17 15:37:56 +07:00
Ronald Langeveld
6b7088ba20
Bumped kg-lexical-html-renderer
version
...
no issue
- Bumped from 0.0.8 to 0.0.9
2022-10-17 08:44:30 +07:00
renovate[bot]
63f90c2305
Pinned dependencies ( #15612 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-10-13 18:48:09 +07:00
jbenezech
75811f35bc
🐛 Fixed embedded cards for non-utf8 content ( #15578 )
...
closes: https://github.com/TryGhost/Ghost/issues/14973
- When fetching content using a non-standard charset, characters were notproperly decoded to utf-8 resulting in mangled text in the editor -> Detect charset and use iconv to decode the page text
- When requesting a non bookmark card, if no oembed data could be foundand we fallback to bookmark, a second network request to fetch the content was issued. This seemed unnecessary -> refactored to avoid that
2022-10-13 12:19:47 +01:00
renovate[bot]
3917a058a4
Update dependency ember-classic-decorator to v3.0.1
2022-10-13 09:07:30 +07:00
renovate[bot]
f5774fad0c
Update dependency postcss to v8.4.18
2022-10-13 08:08:05 +07:00
renovate[bot]
fd2b068e3f
Update dependency cron-validate to v1.4.4
2022-10-12 21:11:14 +00:00
renovate[bot]
178df69ae2
Update dependency @playwright/test to v1.27.1
2022-10-12 17:55:29 +07:00
Daniel Lockyer
5aeaa977fd
Pinned moment
dependency
...
- this shouldn't make any difference because `moment` has a resolution but we take
the approach of pinning all our dependencies in this repository
2022-10-12 15:42:46 +07:00
renovate[bot]
ab598dd7ea
Update dependency minimist to v1.2.7
2022-10-12 10:16:31 +07:00
renovate[bot]
6fc497743d
Updated @tryghost dependencies ( #15479 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-10-12 10:16:05 +07:00
renovate[bot]
2857fc5e67
Update dependency ember-ajax to v5.1.2
2022-10-12 10:15:02 +07:00
Simon Backx
08309f8d88
Fixed audience feedback package dependencies
...
refs e540344ef2
2022-10-11 16:53:54 +02:00
Sam Lord
6ff34fb49f
Added logging & metrics to mailgun API calls
...
refs: https://github.com/TryGhost/Toolbox/issues/439
Adds timed metrics to ensure we know how long Mailgun takes to respond to queries - as well as the status codes we hit.
2022-10-11 15:11:46 +01:00
renovate[bot]
4145b85b44
Update dependency eslint-plugin-react to v7.31.10
2022-10-11 04:51:25 +00:00
renovate[bot]
3b62e8c52f
Update sentry-javascript monorepo to v7.15.0
2022-10-11 09:24:03 +07:00
renovate[bot]
aa29478057
Update dependency @playwright/test to v1.27.0
2022-10-11 09:23:33 +07:00
renovate[bot]
9f5ca0ede0
Update dependency jwks-rsa to v2.1.5
2022-10-11 09:23:12 +07:00
Daniel Lockyer
8ec071a47c
Update dependency eslint-plugin-ghost to v2.16.0 ( #15551 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-10-10 10:23:24 +01:00
renovate[bot]
9cd15ec9fb
Update dependency husky to v8.0.1
2022-10-10 15:49:51 +07:00
Daniel Lockyer
a37b2cd24e
Switched to Husky + lint-staged for git hooks
...
- up until this commit, git hooks were only used by a handful of people
because they were a pain:
- they'd only be set up when you did `yarn setup`
- the existing hooks ran `yarn lint` on all projects, which was
incredibly slow
- as a result, not many of us actually had them enabled, but this would
cause issues in CI because people were pushing un-linted commits
- other JS projects tend to use husky to automate the git hook setup and
lint-staged to speed up linting on changed files
- this commit switches to using them both
- `lint-staged` only runs `eslint` on staged JS files that are about to
be committed - if there's a linting error, it will stop the commit
- I've configured the pre-commit hook to successfully exit in CI because we
don't want to run pre-commit hooks right now
- this means we can remove Grunt - yay!
2022-10-10 15:10:48 +07:00
renovate[bot]
34439f2e28
Update dependency html-validate to v7.6.0
2022-10-10 10:33:10 +07:00
renovate[bot]
82441e943d
Update dependency express to v4.18.2
2022-10-10 10:29:34 +07:00
renovate[bot]
84549838a4
Update sentry-javascript monorepo to v7.14.2
2022-10-07 08:41:20 +07:00
renovate[bot]
12801a4574
Update dependency ember-svg-jar to v2.4.0
2022-10-07 08:28:53 +07:00
renovate[bot]
4aa8be2e1c
Update dependency @embroider/macros to v1.9.0
2022-10-07 08:25:31 +07:00
renovate[bot]
0370dd258d
Update dependency body-parser to v1.20.1
2022-10-06 21:20:56 +00:00
renovate[bot]
57f09fc8b7
Update dependency semver to v7.3.8
2022-10-05 23:34:22 +00:00
renovate[bot]
ce495969d1
Update dependency terser to v5.15.1
2022-10-05 18:29:24 +00:00