Ghost/ghost/core/test/e2e-api/content
Daniel Lockyer ae88dc8548 Handled invalid timestamp format in filters
fix https://linear.app/tryghost/issue/SLO-85/fix-http-500-on-contentposts

- in the event we give the incorrect format in a filter, MySQL will
  throw an error and we'll throw a HTTP 500 error
- we can capture this error and return a more useful error to the user
- ideally we'd do this in a validation step before attempting the query,
  but parsing this out of NQL and detecting which columns are DATETIME
  could be quite tricky
2024-05-08 09:28:56 +02:00
..
__snapshots__ Handled invalid timestamp format in filters 2024-05-08 09:28:56 +02:00
authors.test.js Fixed configUtils and adapter cache issues in E2E tests (#16167) 2023-01-30 14:06:20 +01:00
collections.test.js Added Collections Content API 2023-07-25 16:14:02 +02:00
key_authentication.test.js Changed Content API caching to public 2022-09-26 14:54:50 +08:00
newsletters.test.js Added Content-Version header to all API requests 2023-01-18 08:38:07 +01:00
offers.test.js Added Content-Version header to all API requests 2023-01-18 08:38:07 +01:00
pages.test.js 🐛 Fixed mobiledoc and lexical content being available via Content API 2023-11-01 16:10:41 +01:00
posts.test.js Handled invalid timestamp format in filters 2024-05-08 09:28:56 +02:00
recommendations.test.js Renamed reason to description in recommendations table (#18527) 2023-10-09 11:19:44 -03:00
settings.test.js Added Content-Version header to all API requests 2023-01-18 08:38:07 +01:00
tags.test.js Updated to use assert/strict everywhere (#17047) 2023-06-21 09:56:59 +01:00
tiers.test.js Tested filtering visibility in Tiers Content API 2023-05-19 13:12:33 -04:00
utils.js Removed all unused variables from test files 2023-03-10 14:29:55 +01:00