Commit graph

176 commits

Author SHA1 Message Date
Hongbo Wu
538ca4212e Revert "Revert "revert sentry upgrade""
This reverts commit 42614d2a37.
2023-11-08 17:52:57 +08:00
Hongbo Wu
42614d2a37 Revert "revert sentry upgrade"
This reverts commit 1cba04d0f3.
2023-11-08 17:49:47 +08:00
Hongbo Wu
d3852ce655 Revert "upgrade sentry/nextjs to 7.77.0"
This reverts commit b65fc43012.
2023-11-08 17:49:22 +08:00
Hongbo Wu
b65fc43012 upgrade sentry/nextjs to 7.77.0 2023-11-08 17:25:43 +08:00
Hongbo Wu
1cba04d0f3 revert sentry upgrade 2023-11-08 17:08:35 +08:00
Hongbo Wu
32ae38fcba upgrade sentry to 7.77.0 in packages/api 2023-11-08 12:23:36 +08:00
Luke Channings
c4773dc904
Landing page improvements and various supporting improvements 2023-10-24 09:43:39 +01:00
Hongbo Wu
4a55e801b4 fix typo 2023-10-05 14:28:50 +08:00
Hongbo Wu
65bb4aa85f remove knex 2023-10-05 14:27:18 +08:00
dependabot[bot]
2d8a52a3c7
Bump @opentelemetry/resources from 0.24.0 to 1.17.0
Bumps [@opentelemetry/resources](https://github.com/open-telemetry/opentelemetry-js) from 0.24.0 to 1.17.0.
- [Release notes](https://github.com/open-telemetry/opentelemetry-js/releases)
- [Changelog](https://github.com/open-telemetry/opentelemetry-js/blob/main/CHANGELOG.md)
- [Commits](https://github.com/open-telemetry/opentelemetry-js/compare/v0.24.0...v1.17.0)

---
updated-dependencies:
- dependency-name: "@opentelemetry/resources"
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-19 04:44:08 +00:00
Hongbo Wu
0609043956 reduce retry 2023-08-17 17:59:24 +08:00
Hongbo Wu
792cf0b207 upgrade google cloud sdk 2023-08-11 13:55:29 +08:00
Hongbo Wu
d0ad636b7f use safe stringify in logs 2023-07-28 16:52:28 +08:00
Jackson Harper
078c26801d Upgrade the speech sdk version 2023-07-26 18:31:20 +08:00
Hongbo Wu
f0e62b1d2a use lodash instead of standalone lodash.debounce package 2023-07-26 13:41:51 +08:00
Hongbo Wu
0a227decdd
Merge pull request #2515 from omnivore-app/fix/push-notification
fix/push notification
2023-07-26 12:36:13 +08:00
Hongbo Wu
6fd550fa6c delete chai/required-should from import statements 2023-07-24 21:15:31 +08:00
Jackson Harper
fa1ff9ba17 Upgrade node to 18.16 2023-07-24 15:55:11 +08:00
Hongbo Wu
99b12c6cfb debounce send push notificaiton within 1 minute 2023-07-20 21:48:30 +08:00
Hongbo Wu
574636451d update api to accommodate rss feed subscriptions 2023-07-06 19:51:30 +08:00
Hongbo Wu
11cf9f7c28 stringify csv before uploading 2023-06-14 12:50:06 +08:00
Jackson Harper
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
Jackson Harper
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
dependabot[bot]
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
dependabot[bot]
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
dependabot[bot]
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
dependabot[bot]
11d26e3fd5
Bump @opentelemetry/instrumentation-grpc from 0.29.2 to 0.37.0
Bumps [@opentelemetry/instrumentation-grpc](https://github.com/open-telemetry/opentelemetry-js) from 0.29.2 to 0.37.0.
- [Release notes](https://github.com/open-telemetry/opentelemetry-js/releases)
- [Changelog](https://github.com/open-telemetry/opentelemetry-js/blob/main/CHANGELOG.md)
- [Commits](https://github.com/open-telemetry/opentelemetry-js/commits/experimental/v0.37.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-13 01:51:28 +00:00
Hongbo Wu
e6690709c3 Replace express-http-context with express-http-context2 2023-04-12 17:50:13 +08:00
Jackson Harper
3160e15605
Merge pull request #1857 from omnivore-app/dependabot/npm_and_yarn/firebase-admin-11.5.0
Bump firebase-admin from 10.0.2 to 11.5.0
2023-03-20 10:39:35 +08:00
Hongbo Wu
adae20e7e1 Use elasticsearch body builder 2023-03-15 19:15:40 +08:00
Jackson Harper
361e5b6fc7
Merge pull request #1847 from omnivore-app/dependabot/npm_and_yarn/opentelemetry/instrumentation-dns-0.31.2
Bump @opentelemetry/instrumentation-dns from 0.29.0 to 0.31.2
2023-03-09 17:05:50 +08:00
dependabot[bot]
57468fe1bd
Bump firebase-admin from 10.0.2 to 11.5.0
Bumps [firebase-admin](https://github.com/firebase/firebase-admin-node) from 10.0.2 to 11.5.0.
- [Release notes](https://github.com/firebase/firebase-admin-node/releases)
- [Commits](https://github.com/firebase/firebase-admin-node/compare/v10.0.2...v11.5.0)

---
updated-dependencies:
- dependency-name: firebase-admin
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-06 22:04:37 +00:00
Hongbo Wu
87fd49540a
Merge pull request #1697 from omnivore-app/dependabot/npm_and_yarn/knex-2.4.2
Bump knex from 0.21.12 to 2.4.2
2023-03-06 09:45:50 +08:00
dependabot[bot]
36bac532b0
Bump @opentelemetry/instrumentation-dns from 0.29.0 to 0.31.2
Bumps [@opentelemetry/instrumentation-dns](https://github.com/open-telemetry/opentelemetry-js-contrib) from 0.29.0 to 0.31.2.
- [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.29.0...instrumentation-dns-v0.31.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-27 21:17:27 +00:00
Hongbo Wu
83c8166b3b Unescape HTML entities in annotation to avoid showing escaped characters 2023-02-01 12:13:00 +08:00
dependabot[bot]
f0e3b4588a
Bump knex from 0.21.12 to 2.4.2
Bumps [knex](https://github.com/knex/knex) from 0.21.12 to 2.4.2.
- [Release notes](https://github.com/knex/knex/releases)
- [Changelog](https://github.com/knex/knex/blob/master/CHANGELOG.md)
- [Commits](https://github.com/knex/knex/commits)

---
updated-dependencies:
- dependency-name: knex
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-23 21:19:41 +00:00
dependabot[bot]
43018ea94d
Bump luxon from 3.0.4 to 3.2.1
Bumps [luxon](https://github.com/moment/luxon) from 3.0.4 to 3.2.1.
- [Release notes](https://github.com/moment/luxon/releases)
- [Changelog](https://github.com/moment/luxon/blob/master/CHANGELOG.md)
- [Commits](https://github.com/moment/luxon/compare/3.0.4...3.2.1)

---
updated-dependencies:
- dependency-name: luxon
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-18 06:22:56 +00:00
Hongbo Wu
7b749f974d Convert HTML to markdown if specified 2023-01-05 12:12:48 +08:00
Hongbo Wu
2ab7e0a599
Merge pull request #1359 from omnivore-app/rules-api
Rules API
2022-11-21 18:00:13 +08:00
Hongbo Wu
fbe4c471cd Add pubsub subscription to trigger rule actions 2022-11-18 14:00:10 +08:00
Jackson Harper
dabada68ff Add missing package 2022-11-17 18:40:56 +08:00
Hongbo Wu
3d653240b8 Copy html files to dist folder 2022-10-17 22:45:41 +08:00
Hongbo Wu
7a48cccac9 Save client in request context 2022-10-12 14:30:39 +08:00
Hongbo Wu
4b7950458c Remove Redis client in api 2022-10-12 13:40:16 +08:00
Hongbo Wu
2210a38982 Set device of the request in Redis 2022-10-11 18:47:19 +08:00
Hongbo Wu
49ed8e279b Calls preParseContent function in content-handler package before parsing content 2022-10-07 16:56:38 +08:00
Hongbo Wu
fe42746bcc Fix redis dependency 2022-09-21 12:57:55 +08:00
Hongbo Wu
b6cc41967e Add node-redis package 2022-09-15 19:15:51 +08:00
Hongbo Wu
9117bd668d Update dependencies 2022-09-07 18:20:10 +08:00
Hongbo Wu
33cf975b0e Add dependencies on html-to-text and natural 2022-09-07 15:16:16 +08:00
Hongbo Wu
795ca47414 Save wordsCount when page is created 2022-09-06 10:19:58 +08:00
Hongbo Wu
3953a9098e Send SSML items in the synthesis API 2022-09-02 15:33:00 +08:00
Hongbo Wu
def8f28138 Add Azure Speech Service dependencies 2022-08-18 19:24:38 +08:00
Hongbo Wu
77570aa5ab Synthesize text to speech with azure API 2022-08-18 19:24:36 +08:00
Hongbo Wu
bca0f5ed59 Create Amazon Polly text to speech integration 2022-08-18 19:23:41 +08:00
dependabot[bot]
9ded821d85
Bump @sentry/integrations from 6.19.6 to 7.10.0
Bumps [@sentry/integrations](https://github.com/getsentry/sentry-javascript) from 6.19.6 to 7.10.0.
- [Release notes](https://github.com/getsentry/sentry-javascript/releases)
- [Changelog](https://github.com/getsentry/sentry-javascript/blob/master/CHANGELOG.md)
- [Commits](https://github.com/getsentry/sentry-javascript/compare/6.19.6...7.10.0)

---
updated-dependencies:
- dependency-name: "@sentry/integrations"
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-08-15 02:16:56 +00:00
Jackson Harper
5de2d65ce4
Merge pull request #1052 from omnivore-app/dependabot/npm_and_yarn/sentry/tracing-7.9.0
Bump @sentry/tracing from 5.30.0 to 7.9.0
2022-08-15 10:14:54 +08:00
dependabot[bot]
858c91d814
Bump @sentry/tracing from 5.30.0 to 7.9.0
Bumps [@sentry/tracing](https://github.com/getsentry/sentry-javascript) from 5.30.0 to 7.9.0.
- [Release notes](https://github.com/getsentry/sentry-javascript/releases)
- [Changelog](https://github.com/getsentry/sentry-javascript/blob/master/CHANGELOG.md)
- [Commits](https://github.com/getsentry/sentry-javascript/compare/5.30.0...7.9.0)

---
updated-dependencies:
- dependency-name: "@sentry/tracing"
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-08-08 21:51:50 +00:00
Hongbo Wu
73bf695cf3 Add function to get highlight start location 2022-08-05 16:08:20 +08:00
Hongbo Wu
469910f2bd Add addressparser types dependency 2022-07-28 11:37:14 +08:00
Hongbo Wu
ec9247bc8a Add addressparser dependency 2022-07-28 10:44:44 +08:00
Jackson Harper
ca33f31ebb
Merge pull request #1014 from omnivore-app/dependabot/npm_and_yarn/opentelemetry/instrumentation-pg-0.30.0
Bump @opentelemetry/instrumentation-pg from 0.29.0 to 0.30.0
2022-07-26 16:11:46 -07:00
Hongbo Wu
7339a0daf3 add sinon and sinon-chai for faking sendMail 2022-07-25 15:12:55 -07:00
dependabot[bot]
9dbf9bce67
Bump @opentelemetry/instrumentation-pg from 0.29.0 to 0.30.0
Bumps [@opentelemetry/instrumentation-pg](https://github.com/open-telemetry/opentelemetry-js-contrib) from 0.29.0 to 0.30.0.
- [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.29.0...contrib-test-utils-v0.30.0)

---
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>
2022-07-25 21:29:38 +00:00
dependabot[bot]
b86d9a08b9
Bump @google-cloud/logging-winston from 4.2.2 to 5.1.1
Bumps [@google-cloud/logging-winston](https://github.com/googleapis/nodejs-logging-winston) from 4.2.2 to 5.1.1.
- [Release notes](https://github.com/googleapis/nodejs-logging-winston/releases)
- [Changelog](https://github.com/googleapis/nodejs-logging-winston/blob/main/CHANGELOG.md)
- [Commits](https://github.com/googleapis/nodejs-logging-winston/compare/v4.2.2...v5.1.1)

---
updated-dependencies:
- dependency-name: "@google-cloud/logging-winston"
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-07-18 21:59:44 +00:00
Jackson Harper
b33f87c982
Merge pull request #943 from omnivore-app/dependabot/npm_and_yarn/opentelemetry/instrumentation-graphql-0.29.0
Bump @opentelemetry/instrumentation-graphql from 0.24.0 to 0.29.0
2022-07-12 09:32:35 -07:00
Jackson Harper
f7a023939d
Merge pull request #940 from omnivore-app/feature/allow-fetching-original 2022-07-11 22:08:27 -07:00
dependabot[bot]
87e4ea0d5c
Bump @opentelemetry/instrumentation-graphql from 0.24.0 to 0.29.0
Bumps [@opentelemetry/instrumentation-graphql](https://github.com/open-telemetry/opentelemetry-js-contrib) from 0.24.0 to 0.29.0.
- [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/v0.24.0...host-metrics-v0.29.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-07-11 21:33:57 +00:00
dependabot[bot]
73f9f64aea
Bump @google-cloud/monitoring from 2.3.5 to 3.0.0
Bumps [@google-cloud/monitoring](https://github.com/googleapis/nodejs-monitoring) from 2.3.5 to 3.0.0.
- [Release notes](https://github.com/googleapis/nodejs-monitoring/releases)
- [Changelog](https://github.com/googleapis/nodejs-monitoring/blob/main/CHANGELOG.md)
- [Commits](https://github.com/googleapis/nodejs-monitoring/compare/v2.3.5...v3.0.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-07-11 02:50:23 +00:00
Jackson Harper
9f007d72d2
Merge pull request #892 from omnivore-app/dependabot/npm_and_yarn/opentelemetry/instrumentation-dns-0.29.0
Bump @opentelemetry/instrumentation-dns from 0.27.1 to 0.29.0
2022-07-10 19:48:26 -07:00
Jackson Harper
9feeb80cf3 Allow fetching original content
This is useful when debugging
2022-07-09 14:35:14 -07:00
Jackson Harper
c94d5db259
Merge pull request #889 from omnivore-app/dependabot/npm_and_yarn/axios-0.27.2
Bump axios from 0.26.0 to 0.27.2
2022-07-08 13:48:27 -07:00
dependabot[bot]
a4219ac15c
Bump googleapis from 100.0.0 to 105.0.0
Bumps [googleapis](https://github.com/googleapis/google-api-nodejs-client) from 100.0.0 to 105.0.0.
- [Release notes](https://github.com/googleapis/google-api-nodejs-client/releases)
- [Changelog](https://github.com/googleapis/google-api-nodejs-client/blob/main/CHANGELOG.md)
- [Commits](https://github.com/googleapis/google-api-nodejs-client/compare/googleapis-v100.0.0...googleapis-v105.0.0)

---
updated-dependencies:
- dependency-name: googleapis
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-07-04 21:40:35 +00:00
dependabot[bot]
33d94edfac
Bump @opentelemetry/instrumentation-dns from 0.27.1 to 0.29.0
Bumps [@opentelemetry/instrumentation-dns](https://github.com/open-telemetry/opentelemetry-js-contrib) from 0.27.1 to 0.29.0.
- [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.27.1...host-metrics-v0.29.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-06-27 21:34:28 +00:00
dependabot[bot]
e91f25e58c
Bump axios from 0.26.0 to 0.27.2
Bumps [axios](https://github.com/axios/axios) from 0.26.0 to 0.27.2.
- [Release notes](https://github.com/axios/axios/releases)
- [Changelog](https://github.com/axios/axios/blob/v0.27.2/CHANGELOG.md)
- [Commits](https://github.com/axios/axios/compare/v0.26.0...v0.27.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-06-27 21:31:14 +00:00
Jackson Harper
189f95d14b Use mocha-unfunk-reporter with the API tests
This should give us better reporting of failures in GitHub
Actions.
2022-06-24 11:55:29 -07:00
dependabot[bot]
e22b575759
Bump @opentelemetry/core from 0.24.0 to 1.3.1
Bumps [@opentelemetry/core](https://github.com/open-telemetry/opentelemetry-js) from 0.24.0 to 1.3.1.
- [Release notes](https://github.com/open-telemetry/opentelemetry-js/releases)
- [Changelog](https://github.com/open-telemetry/opentelemetry-js/blob/main/CHANGELOG.md)
- [Commits](https://github.com/open-telemetry/opentelemetry-js/commits)

---
updated-dependencies:
- dependency-name: "@opentelemetry/core"
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-06-13 21:26:08 +00:00
dependabot[bot]
cfbfed300f
Bump @opentelemetry/instrumentation-grpc from 0.27.0 to 0.29.2
Bumps [@opentelemetry/instrumentation-grpc](https://github.com/open-telemetry/opentelemetry-js) from 0.27.0 to 0.29.2.
- [Release notes](https://github.com/open-telemetry/opentelemetry-js/releases)
- [Changelog](https://github.com/open-telemetry/opentelemetry-js/blob/main/CHANGELOG.md)
- [Commits](https://github.com/open-telemetry/opentelemetry-js/commits)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-06-09 16:34:22 +00:00
dependabot[bot]
726e918791
Bump @opentelemetry/instrumentation-pg from 0.24.0 to 0.29.0
Bumps [@opentelemetry/instrumentation-pg](https://github.com/open-telemetry/opentelemetry-js-contrib) from 0.24.0 to 0.29.0.
- [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/v0.24.0...contrib-test-utils-v0.29.0)

---
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>
2022-06-06 21:21:03 +00:00
Hongbo Wu
304fe70113 Fix tests 2022-06-01 10:30:23 +08:00
dependabot[bot]
cf516bba54
Bump ts-loader from 8.3.0 to 9.3.0
Bumps [ts-loader](https://github.com/TypeStrong/ts-loader) from 8.3.0 to 9.3.0.
- [Release notes](https://github.com/TypeStrong/ts-loader/releases)
- [Changelog](https://github.com/TypeStrong/ts-loader/blob/main/CHANGELOG.md)
- [Commits](https://github.com/TypeStrong/ts-loader/compare/v8.3.0...v9.3.0)

---
updated-dependencies:
- dependency-name: ts-loader
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-23 21:20:01 +00:00
Hongbo Wu
0b11c31317 Add linkedom dependency in packages/api 2022-05-10 18:31:25 +08:00
Hongbo Wu
93ed1936f0 Remove jsdom in packages/api 2022-05-10 17:12:52 +08:00
dependabot[bot]
1b27bf1f4b
Bump cookie from 0.4.2 to 0.5.0
Bumps [cookie](https://github.com/jshttp/cookie) from 0.4.2 to 0.5.0.
- [Release notes](https://github.com/jshttp/cookie/releases)
- [Changelog](https://github.com/jshttp/cookie/blob/master/HISTORY.md)
- [Commits](https://github.com/jshttp/cookie/compare/v0.4.2...v0.5.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-21 01:43:26 +00:00
Hongbo Wu
83cdec42f7
Add rate limiter for api request (#454)
* Add rate limiter for api request

* apply rate limit on Demo/Prod
2022-04-21 09:41:33 +08:00
Jackson Harper
035b61665d
Merge pull request #376 from omnivore-app/dependabot/npm_and_yarn/googleapis-100.0.0
Bump googleapis from 59.0.0 to 100.0.0
2022-04-12 08:47:11 -07:00
Hongbo Wu
ae0d1dd2ee
Feature/search highlights backend (#395)
* add highlight mappings

* return highlight in resolvers

* temporarily skip highlight tests

* add test for getting highlights

* update merge highlight

* separate elastic methods

* roll back merge highlight test

* add highlight to elastic script

* update delete highlight in elastic

* migrate highlight data from postgres to elastic

* rescue not found exception when page is not found in the migration script

* exclude highlights in searching pages results

* search pages with highlights only with has:highlight query

* add search endpoint to search pages or highlights

* reduce code smell in search api

* fix rebase error

* fix tests

* add test for search highlight

* add test for new search endpoint

* add labels to search results

* update schema

* update search query

* fix update/share highlights

* fix rebase error

* fix tests

* add highlight model in elastic

* add savedAt and publishedAt date range in search query

* add sort by updated and recently read

* fix tests

* close db connection when tests are done

* test github action

* revert github action test

* fix rebase error

* add docker-compose for api-test

* remove unused env

* remove highlights with no page attached to

* allow get_articles resolver to search for query so we can merge it without web changes
2022-04-12 12:31:08 +08:00
Jackson Harper
26bff1b25d Pin yarn version w/volta 2022-04-06 10:06:24 -07:00
Jackson Harper
63a374b31d package syntax 2022-04-06 10:05:06 -07:00
Jackson Harper
1bac06107d Update volta version 2022-04-06 10:04:04 -07:00
Hongbo Wu
7569e988bf
upgrade typeorm to 3.0 (#359)
* upgrade typeorm to 3.0

* use new datasource object in typeorm 3

* fix tests

* fix tests

* migrate before creating connection

* fail the test if migration failed
2022-04-06 10:32:41 +08:00
dependabot[bot]
8df6e750dc
Bump googleapis from 59.0.0 to 100.0.0
Bumps [googleapis](https://github.com/googleapis/google-api-nodejs-client) from 59.0.0 to 100.0.0.
- [Release notes](https://github.com/googleapis/google-api-nodejs-client/releases)
- [Changelog](https://github.com/googleapis/google-api-nodejs-client/blob/main/CHANGELOG.md)
- [Commits](https://github.com/googleapis/google-api-nodejs-client/compare/v59.0.0...googleapis-v100.0.0)

---
updated-dependencies:
- dependency-name: googleapis
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-04 22:36:25 +00:00
Jackson Harper
62c3bcd968
Merge pull request #338 from omnivore-app/dependabot/npm_and_yarn/opentelemetry/semantic-conventions-1.0.1
Bump @opentelemetry/semantic-conventions from 0.24.0 to 1.0.1
2022-04-04 15:35:51 -07:00
dependabot[bot]
3b4254a711
Bump luxon from 1.28.0 to 2.3.1
Bumps [luxon](https://github.com/moment/luxon) from 1.28.0 to 2.3.1.
- [Release notes](https://github.com/moment/luxon/releases)
- [Changelog](https://github.com/moment/luxon/blob/master/CHANGELOG.md)
- [Commits](https://github.com/moment/luxon/compare/1.28.0...2.3.1)

---
updated-dependencies:
- dependency-name: luxon
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-04 17:55:59 +00:00
Jackson Harper
46c5b8c82a Another attempt at slimming docker file 2022-04-04 10:42:04 -07:00
Jackson Harper
946734d76c Revert docker changes
These were creating fatter images than we want because of the
lerna dependencies.
2022-04-04 09:59:18 -07:00
Jackson Harper
b8b471d369 Move @types into dev 2022-04-04 08:17:00 -07:00
Jackson Harper
fc17daa546 Remove unneeded mocha params 2022-04-02 17:02:11 -07:00
Jackson Harper
da28998130 Pull ul list out of newsletter blurb
next/react doesnt want child elements of the paragraphs

Improve formatting

Improve wording

Use buttons in the subscribe directly blocks

Simplify docs on setting up forwarding rules

Add extra padding on bottom of help docs

Remove unused style

Add emails help page

Improve formatting

Prefetch page content on iOS

Reduce the reader overly length now that items are precached

Add invalidation when highlights are added to items

fix missing index_settings.json file in api dockerfile for creating elastic index (#363)

Handle full email address objects in the to param from sendgrid

These come in a format like:

"jacksonh-dfdf@inbox.omnivore.app" <jacksonh-dfdf@inbox-demo.omnivore.app>

New IDs for short highlights because they dont cascade delete now

Testing CI issues

Simplify test

CI test

Use promises for async tests

Temporarily remove test to debug CI

Re-enable

re-enable test, return error

Specify a userId when looking up saved email pages

create a unique url for newsletters without a URL

Use 500ms on page test timeouts

Increase timeout

Dont use deep equal to match newsletter label

Run just the labels API

Run against just the newsletter emails

Run without the page tests

Fix

Set the allow uncaught flag

Remove highlight tests

Remove newsletters tests

more resolver tests

Remove newsetter tests

Comment out resolver tests

Use nock for external requests in tests

Specify puppeteer url for tests

Comment out more tests

uncomment tests

re-enable

re-enable email test

Re-disable

Re-enable one pdf attachment test

Re-disable pdf attachment test

Use promises on setTimeout tests

rm label tests

mv label tests into a context

Comment out pdf tests

Comment out pdf tests

Async test

Async wrappers

Delay when creating test pages

More debugging

Unique short ids

Remove potentially problematic test

Fetch page before returning for test

handler in before block

more debugging

More debugging

Move errors checks into contexts

Use a context when saving newsletters to force index refresh

Prettier fix

Fix newsletter label check, remove setTimeout

Re-enable test

timeout on pdf router handler

Fix method call

comment out PDF test

Unique fake username

Comment out PDF test

Debugging signed urls

Re-enable

New email

pdf test

PDF tests

Comment out pdf test

Add nock stubs for email URLs

Use full address for PDF test

Remove debug

Use full email addresses
2022-04-02 16:56:24 -07:00
dependabot[bot]
d0af8b2186
Bump @opentelemetry/semantic-conventions from 0.24.0 to 1.0.1
Bumps [@opentelemetry/semantic-conventions](https://github.com/open-telemetry/opentelemetry-js) from 0.24.0 to 1.0.1.
- [Release notes](https://github.com/open-telemetry/opentelemetry-js/releases)
- [Changelog](https://github.com/open-telemetry/opentelemetry-js/blob/main/CHANGELOG.md)
- [Commits](https://github.com/open-telemetry/opentelemetry-js/compare/v0.24.0...stable/v1.0.1)

---
updated-dependencies:
- dependency-name: "@opentelemetry/semantic-conventions"
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-28 21:28:57 +00:00