Commit Graph

1237 Commits

Author SHA1 Message Date
b698029972 store token in cookie instead of authorization header 2023-06-07 14:24:52 +08:00
c0872939a7 Merge pull request #2311 from omnivore-app/feature/metadata
Feature: Set thumbnail and pre-cache all the images in the content
2023-06-07 12:08:20 +08:00
9be84fb473 create thumbnail task for newsletters too 2023-06-07 11:52:13 +08:00
986c4eb48b fix: parse unsubscribe mailto email address and set subject 2023-06-06 19:53:18 +08:00
4f4f50af49 fix: redundant argument 2023-06-06 12:05:33 +08:00
0c3fa2cdd4 feat: start a cloud task to set thumbnail and pre-cache all the images in the content 2023-06-06 11:56:31 +08:00
e2315b5662 feat: add thumbnail handler 2023-06-06 11:02:46 +08:00
c66d13177f Merge pull request #2295 from omnivore-app/fix/twitter-handler-timeout
Feature: importer metrics collector and fix puppeteer timeout issue
2023-06-05 17:17:50 +08:00
bab3983383 Fix typo in test description 2023-06-05 16:00:50 +08:00
51186a195f Add test for content type func 2023-06-05 14:59:27 +08:00
e53cc28683 Fix issue where we return EPUB content reader for items marked as book in metadata
If we parse a page with <meta property="og:type" content="book"> in
it now, we incorrectly set this to ContentReader.EPUB, which then
causes syncing issues on iOS which doesn't have an EPUB reader
type defined in its GraphQL schema yet.
2023-06-05 14:44:51 +08:00
a439aac7e7 feat: update api to include preview image 2023-06-05 12:38:30 +08:00
d69e732579 fix: dedupe url if failed to save 2023-06-01 16:11:35 +08:00
15b41560de fix: improve the speed of generating highlighted markdown content 2023-05-26 15:51:54 +08:00
15b977f7c6 fix: set server timeout = 10 mins 2023-05-26 15:00:46 +08:00
751aec2676 Use number instead of function 2023-05-19 18:10:28 +08:00
f671b3625c Change rate limiting rules 2023-05-19 18:05:57 +08:00
4cc9547935 fix: fallback to html if failed to convert html to markdown 2023-05-19 16:55:50 +08:00
87f55eabf6 fix: sentry report on node is null 2023-05-19 10:54:43 +08:00
331ddf69d4 remove debugging log 2023-05-18 21:12:44 +08:00
0adab7ad23 fix: sentry report on unable to find highlight 2023-05-18 21:07:51 +08:00
48554be76d fix: wrap link with == 2023-05-18 21:04:27 +08:00
2bf932cbdc fix: &npsp; breaks highlight 2023-05-18 16:50:49 +08:00
5c71b59025 Merge pull request #2204 from omnivore-app/dependabot/npm_and_yarn/opentelemetry/instrumentation-pg-0.35.1
Bump @opentelemetry/instrumentation-pg from 0.30.0 to 0.35.1
2023-05-18 15:17:05 +08:00
58b667b57f Merge pull request #2150 from omnivore-app/dependabot/npm_and_yarn/oauth-0.10.0
Bump oauth from 0.9.15 to 0.10.0
2023-05-18 15:15:57 +08:00
058ccf3006 Merge pull request #2183 from omnivore-app/fix/unauthed-rate-limit
Reduce the rate limit for unauthenticated users
2023-05-18 15:15:18 +08:00
1d37f04808 Properly call getClaimsByToken 2023-05-16 17:14:38 +08:00
e14080a05f Set labels = undefined if pocket tags is undefined 2023-05-16 11:04:22 +08:00
af7cc42fbf Bump @opentelemetry/instrumentation-pg from 0.30.0 to 0.35.1
Bumps [@opentelemetry/instrumentation-pg](https://github.com/open-telemetry/opentelemetry-js-contrib) from 0.30.0 to 0.35.1.
- [Release notes](https://github.com/open-telemetry/opentelemetry-js-contrib/releases)
- [Changelog](https://github.com/open-telemetry/opentelemetry-js-contrib/blob/main/CHANGELOG.md)
- [Commits](https://github.com/open-telemetry/opentelemetry-js-contrib/compare/host-metrics-v0.30.0...instrumentation-pg-v0.35.1)

---
updated-dependencies:
- dependency-name: "@opentelemetry/instrumentation-pg"
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-05-15 22:09:46 +00:00
62ce7ff713 Merge pull request #2200 from omnivore-app/fix/pocket-import
Pass pocket auth token in query string
2023-05-15 21:53:15 +08:00
175b82485f Fix typo 2023-05-15 17:39:29 +08:00
c2e62155cc Pass pocket auth token in query string 2023-05-15 16:56:27 +08:00
e3d8fae6c5 Remove debug log 2023-05-12 19:28:19 +08:00
791d11f581 Allow content to be converted into highlightedMarkdown format 2023-05-12 19:27:04 +08:00
c49ca0149f Set max to 10/minute for unauthenticated requests 2023-05-12 17:11:20 +08:00
565c932a2d Add archivedAt to the search item in the search api response 2023-05-12 12:22:11 +08:00
cbdd4f0a71 Merge pull request #2184 from omnivore-app/fix/rm-auth-cookie-on-reset
Clear auth cookie when password reset is triggered
2023-05-11 17:33:16 +08:00
6c5184d773 Merge pull request #2181 from omnivore-app/fix/signup-max-lens
Enforce max lengths on sign up data
2023-05-11 14:11:35 +08:00
8d9f54c62c Fix linting 2023-05-11 13:36:27 +08:00
78681df4ab Use clearCookie, rm the pending auth cookie too 2023-05-11 13:32:43 +08:00
4329c28904 On password reset clear the auth cookie 2023-05-11 13:29:35 +08:00
88aa7aad4c Reduce the rate limit for unauthenticated users 2023-05-11 13:23:43 +08:00
e0c96838d9 Update test 2023-05-11 09:09:34 +08:00
f8df71508b Enforce max lengths on signup credentials 2023-05-10 23:09:31 +08:00
b9ef239e84 Add test 2023-05-10 23:09:04 +08:00
56d64df9d5 Merge pull request #2151 from omnivore-app/dependabot/npm_and_yarn/google-cloud/opentelemetry-cloud-trace-exporter-2.0.0
Bump @google-cloud/opentelemetry-cloud-trace-exporter from 1.1.0 to 2.0.0
2023-05-10 13:23:17 +08:00
a4d385bc83 add sorting by wordsCount 2023-05-03 08:36:33 +08:00
58ea9eda8e Bump @google-cloud/opentelemetry-cloud-trace-exporter
Bumps [@google-cloud/opentelemetry-cloud-trace-exporter](https://github.com/GoogleCloudPlatform/opentelemetry-operations-js) from 1.1.0 to 2.0.0.
- [Release notes](https://github.com/GoogleCloudPlatform/opentelemetry-operations-js/releases)
- [Commits](https://github.com/GoogleCloudPlatform/opentelemetry-operations-js/compare/@google-cloud/opentelemetry-cloud-trace-exporter@1.1.0...@google-cloud/opentelemetry-cloud-trace-exporter@2.0.0)

---
updated-dependencies:
- dependency-name: "@google-cloud/opentelemetry-cloud-trace-exporter"
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-05-01 22:07:02 +00:00
96099b40b2 Bump oauth from 0.9.15 to 0.10.0
Bumps [oauth](https://github.com/ciaranj/node-oauth) from 0.9.15 to 0.10.0.
- [Release notes](https://github.com/ciaranj/node-oauth/releases)
- [Commits](https://github.com/ciaranj/node-oauth/compare/0.9.15...0.10.0)

---
updated-dependencies:
- dependency-name: oauth
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-05-01 22:06:16 +00:00
31cbcc7c7f validate sign up request body in mobile sign-up router 2023-04-27 12:18:32 +08:00