Ghost/ghost
Daniel Lockyer 2c60340a7d
Fixed maximum call stack exceeded error when filtering Action events
- after a while of browsing around filtering Actions, the endpoint will
  suddenly lock up and start throwing stack exceeded errors
- this is because every time we initialize an Actions model, we push to
  the `candidates` array with a list of the current models
- this was producing a `candidates` array with a length of several
  thousand models after a few clicks, which would cause errors when
  joining the data down the line
- the code was like this because we need to lazy-initialize the models,
  so the order of requiring the Actions model doesn't matter
- this commit switches the code to using a `candidates` function to get
  the models
- this seems to work and the performance cost is negligible given it now
  doesn't error
2022-08-24 17:03:12 +02:00
..
adapter-manager Fixed full Admin test suite running during unit tests 2022-08-15 15:34:52 +02:00
admin Improved Audit log filtering UI 2022-08-24 17:03:12 +02:00
api-framework Fixed some type issues with the api framework 2022-08-23 14:49:29 +01:00
api-version-compatibility-service Fixed full Admin test suite running during unit tests 2022-08-15 15:34:52 +02:00
bootstrap-socket Fixed full Admin test suite running during unit tests 2022-08-15 15:34:52 +02:00
constants Fixed full Admin test suite running during unit tests 2022-08-15 15:34:52 +02:00
core Fixed maximum call stack exceeded error when filtering Action events 2022-08-24 17:03:12 +02:00
custom-theme-settings-service Fixed full Admin test suite running during unit tests 2022-08-15 15:34:52 +02:00
domain-events Organized package dependencies 2022-08-18 11:55:49 +02:00
email-analytics-provider-mailgun Organized package dependencies 2022-08-18 11:55:49 +02:00
email-analytics-service Fixed full Admin test suite running during unit tests 2022-08-15 15:34:52 +02:00
email-content-generator Organized package dependencies 2022-08-18 11:55:49 +02:00
express-dynamic-redirects Organized package dependencies 2022-08-18 11:55:49 +02:00
extract-api-key Fixed full Admin test suite running during unit tests 2022-08-15 15:34:52 +02:00
html-to-plaintext Fixed full Admin test suite running during unit tests 2022-08-15 15:34:52 +02:00
job-manager Update dependency date-fns to v2.29.2 2022-08-18 17:15:58 +02:00
magic-link Update dependency @types/jsonwebtoken to v8.5.9 2022-08-24 16:54:58 +02:00
mailgun-client Added 60s timeout to Mailgun API calls 2022-08-24 09:13:13 +02:00
member-analytics-service Fixed full Admin test suite running during unit tests 2022-08-15 15:34:52 +02:00
member-attribution Revert "Added member attributions to activity feed (#15283)" 2022-08-24 11:01:47 -04:00
member-events Added member attribution events and storage (#15243) 2022-08-18 17:38:42 +02:00
members-analytics-ingress Fixed full Admin test suite running during unit tests 2022-08-15 15:34:52 +02:00
members-api Revert "Added member attributions to activity feed (#15283)" 2022-08-24 11:01:47 -04:00
members-csv Fixed full Admin test suite running during unit tests 2022-08-15 15:34:52 +02:00
members-events-service Update dependency @tryghost/errors to v1.2.15 2022-08-18 12:02:38 +02:00
members-importer 🐛 Fixed empty error csv file for member imports (#15274) 2022-08-24 00:49:30 +05:30
members-ssr Organized package dependencies 2022-08-18 11:55:49 +02:00
minifier Update dependency terser to v5.15.0 2022-08-23 19:47:07 +00:00
mw-api-version-mismatch Organized package dependencies 2022-08-18 11:55:49 +02:00
mw-cache-control Fixed full Admin test suite running during unit tests 2022-08-15 15:34:52 +02:00
mw-error-handler Removed bluebird catch predicates from API endpoints 2022-08-24 11:27:09 +01:00
mw-session-from-token Fixed full Admin test suite running during unit tests 2022-08-15 15:34:52 +02:00
mw-update-user-last-seen Fixed full Admin test suite running during unit tests 2022-08-15 15:34:52 +02:00
mw-vhost Cleaned up unused test utils 2022-08-18 11:55:49 +02:00
oembed-service Update dependency tough-cookie to v4.1.0 2022-08-23 02:06:33 +00:00
offers Fixed missing options when creating or editing an Offer 2022-08-24 13:56:07 +02:00
package-json Fixed full Admin test suite running during unit tests 2022-08-15 15:34:52 +02:00
payments Fixed full Admin test suite running during unit tests 2022-08-15 15:34:52 +02:00
security Organized package dependencies 2022-08-18 11:55:49 +02:00
session-service Fixed full Admin test suite running during unit tests 2022-08-15 15:34:52 +02:00
settings-path-manager Update dependency date-fns to v2.29.2 2022-08-18 17:15:58 +02:00
stripe Added member attribution events and storage (#15243) 2022-08-18 17:38:42 +02:00
update-check-service Organized package dependencies 2022-08-18 11:55:49 +02:00
verification-trigger Refactored verification trigger constructor 2022-08-24 14:06:22 +08:00
version-notifications-data-service Organized package dependencies 2022-08-18 11:55:49 +02:00