Commit graph

171 commits

Author SHA1 Message Date
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
Jackson Harper
08da9ee33e
Merge pull request #825 from omnivore-app/dependabot/npm_and_yarn/puppeteer-extra-plugin-stealth-2.10.0
Bump puppeteer-extra-plugin-stealth from 2.9.0 to 2.10.0
2022-06-24 09:51:58 -07:00
Jackson Harper
3bae29d456
Merge pull request #827 from omnivore-app/dependabot/npm_and_yarn/ts-node-10.8.1
Bump ts-node from 10.2.1 to 10.8.1
2022-06-21 20:44:15 -07:00
Jackson Harper
9de867ec7f
Merge pull request #826 from omnivore-app/dependabot/npm_and_yarn/next-12.1.6
Bump next from 12.1.4 to 12.1.6
2022-06-21 16:29:24 -07:00
dependabot[bot]
8fc5a457f4
Bump html-entities from 2.3.2 to 2.3.3
Bumps [html-entities](https://github.com/mdevils/html-entities) from 2.3.2 to 2.3.3.
- [Release notes](https://github.com/mdevils/html-entities/releases)
- [Changelog](https://github.com/mdevils/html-entities/blob/master/CHANGELOG.md)
- [Commits](https://github.com/mdevils/html-entities/compare/v2.3.2...v2.3.3)

---
updated-dependencies:
- dependency-name: html-entities
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-06-20 21:26:33 +00:00
dependabot[bot]
3b86eb63a0
Bump ts-node from 10.2.1 to 10.8.1
Bumps [ts-node](https://github.com/TypeStrong/ts-node) from 10.2.1 to 10.8.1.
- [Release notes](https://github.com/TypeStrong/ts-node/releases)
- [Commits](https://github.com/TypeStrong/ts-node/compare/v10.2.1...v10.8.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-06-20 21:25:35 +00:00
dependabot[bot]
4d5733f79a
Bump next from 12.1.4 to 12.1.6
Bumps [next](https://github.com/vercel/next.js) from 12.1.4 to 12.1.6.
- [Release notes](https://github.com/vercel/next.js/releases)
- [Changelog](https://github.com/vercel/next.js/blob/canary/release.js)
- [Commits](https://github.com/vercel/next.js/compare/v12.1.4...v12.1.6)

---
updated-dependencies:
- dependency-name: next
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-06-20 21:24:13 +00:00
dependabot[bot]
6f5fdea505
Bump puppeteer-extra-plugin-stealth from 2.9.0 to 2.10.0
Bumps [puppeteer-extra-plugin-stealth](https://github.com/berstend/puppeteer-extra) from 2.9.0 to 2.10.0.
- [Release notes](https://github.com/berstend/puppeteer-extra/releases)
- [Commits](https://github.com/berstend/puppeteer-extra/compare/puppeteer-extra-plugin-stealth@2.9.0...puppeteer-extra-plugin-stealth@2.10.0)

---
updated-dependencies:
- dependency-name: puppeteer-extra-plugin-stealth
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-06-20 21:22:52 +00:00
Jackson Harper
e684b104be
Merge pull request #790 from omnivore-app/dependabot/npm_and_yarn/opentelemetry/core-1.3.1
Bump @opentelemetry/core from 0.24.0 to 1.3.1
2022-06-15 16:41:21 -07:00
Jackson Harper
b3148a903d
Merge pull request #791 from omnivore-app/dependabot/npm_and_yarn/segment/analytics-next-1.38.0
Bump @segment/analytics-next from 1.34.0 to 1.38.0
2022-06-15 16:41:07 -07:00
Jackson Harper
be1e0e3e61
Merge pull request #792 from omnivore-app/dependabot/npm_and_yarn/dompurify-2.3.8
Bump dompurify from 2.3.1 to 2.3.8
2022-06-14 09:39:36 -07:00
dependabot[bot]
1b9c9caa5b
Bump cypress from 9.5.3 to 10.1.0
Bumps [cypress](https://github.com/cypress-io/cypress) from 9.5.3 to 10.1.0.
- [Release notes](https://github.com/cypress-io/cypress/releases)
- [Changelog](https://github.com/cypress-io/cypress/blob/develop/.releaserc.base.js)
- [Commits](https://github.com/cypress-io/cypress/compare/v9.5.3...v10.1.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-06-13 21:32:34 +00:00
dependabot[bot]
3e19c66c66
Bump dompurify from 2.3.1 to 2.3.8
Bumps [dompurify](https://github.com/cure53/DOMPurify) from 2.3.1 to 2.3.8.
- [Release notes](https://github.com/cure53/DOMPurify/releases)
- [Commits](https://github.com/cure53/DOMPurify/compare/2.3.1...2.3.8)

---
updated-dependencies:
- dependency-name: dompurify
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-06-13 21:31:01 +00:00
dependabot[bot]
20c1526b3f
Bump @segment/analytics-next from 1.34.0 to 1.38.0
Bumps [@segment/analytics-next](https://github.com/segmentio/analytics-next) from 1.34.0 to 1.38.0.
- [Release notes](https://github.com/segmentio/analytics-next/releases)
- [Commits](https://github.com/segmentio/analytics-next/compare/v1.34.0...v1.38.0)

---
updated-dependencies:
- dependency-name: "@segment/analytics-next"
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-06-13 21:27:43 +00: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]
90153ffa36
Bump pspdfkit from 2021.6.1 to 2022.2.3
Bumps [pspdfkit](https://pspdfkit.com/web) from 2021.6.1 to 2022.2.3.

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-06-13 19:58:59 +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
Jackson Harper
3c140ebdc4
Merge pull request #725 from omnivore-app/dependabot/npm_and_yarn/stitches/react-1.2.8
Bump @stitches/react from 1.2.5 to 1.2.8
2022-06-03 12:52:36 -07:00
dependabot[bot]
b46020294c
Bump graphql from 15.3.0 to 15.8.0
Bumps [graphql](https://github.com/graphql/graphql-js) from 15.3.0 to 15.8.0.
- [Release notes](https://github.com/graphql/graphql-js/releases)
- [Commits](https://github.com/graphql/graphql-js/compare/v15.3.0...v15.8.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-06-03 19:20:16 +00:00
dependabot[bot]
1f61c63d5a
Bump @stitches/react from 1.2.5 to 1.2.8
Bumps [@stitches/react](https://github.com/modulz/stitches) from 1.2.5 to 1.2.8.
- [Release notes](https://github.com/modulz/stitches/releases)
- [Commits](https://github.com/modulz/stitches/compare/v1.2.5...v1.2.8)

---
updated-dependencies:
- dependency-name: "@stitches/react"
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-06-03 19:12:10 +00:00
Hongbo Wu
304fe70113 Fix tests 2022-06-01 10:30:23 +08:00
Jackson Harper
5fc977a585
Merge pull request #692 from omnivore-app/dependabot/npm_and_yarn/ts-loader-9.3.0
Bump ts-loader from 8.3.0 to 9.3.0
2022-05-26 12:31:04 -07:00
Jackson Harper
e77ba2049e
Merge pull request #629 from omnivore-app/dependabot/npm_and_yarn/opentelemetry/exporter-jaeger-1.2.0
Bump @opentelemetry/exporter-jaeger from 1.0.1 to 1.2.0
2022-05-24 09:33:37 -07: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
dependabot[bot]
d860727b43
Bump dataloader from 2.0.0 to 2.1.0
Bumps [dataloader](https://github.com/graphql/dataloader) from 2.0.0 to 2.1.0.
- [Release notes](https://github.com/graphql/dataloader/releases)
- [Changelog](https://github.com/graphql/dataloader/blob/main/CHANGELOG.md)
- [Commits](https://github.com/graphql/dataloader/compare/v2.0.0...v2.1.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-16 21:31:46 +00:00
dependabot[bot]
e836d08ffc
Bump @opentelemetry/exporter-jaeger from 1.0.1 to 1.2.0
Bumps [@opentelemetry/exporter-jaeger](https://github.com/open-telemetry/opentelemetry-js) from 1.0.1 to 1.2.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/stable/v1.0.1...v1.2.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-16 21:30:10 +00:00
Hongbo Wu
9606cd6b28 Remove chrome-aws-lambda dependencies 2022-05-12 16:32:22 +08:00
Hongbo Wu
e1e0ddf7fc
Merge pull request #582 from omnivore-app/optimize-parsing
Optimize parsing
2022-05-12 11:07:52 +08:00
Jackson Harper
50b3e38235
Merge pull request #575 from omnivore-app/dependabot/npm_and_yarn/radix-ui/react-avatar-0.1.4
Bump @radix-ui/react-avatar from 0.1.3 to 0.1.4
2022-05-10 10:21:53 -07:00
Jackson Harper
ccc4c3833f
Merge pull request #574 from omnivore-app/dependabot/npm_and_yarn/nodemon-2.0.16
Bump nodemon from 2.0.15 to 2.0.16
2022-05-10 09:44:48 -07:00
Hongbo Wu
0eb565eae9 Remove JSDOM dependencies from readability 2022-05-10 21:09:19 +08:00
Hongbo Wu
93ed1936f0 Remove jsdom in packages/api 2022-05-10 17:12:52 +08:00
Hongbo Wu
cc48034145 Add linkedom to dependencies 2022-05-10 16:54:14 +08:00
dependabot[bot]
f90437db4a
Bump @radix-ui/react-avatar from 0.1.3 to 0.1.4
Bumps [@radix-ui/react-avatar](https://github.com/radix-ui/primitives) from 0.1.3 to 0.1.4.
- [Release notes](https://github.com/radix-ui/primitives/releases)
- [Changelog](https://github.com/radix-ui/primitives/blob/main/release-process.md)
- [Commits](https://github.com/radix-ui/primitives/commits)

---
updated-dependencies:
- dependency-name: "@radix-ui/react-avatar"
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-09 21:21:46 +00:00
dependabot[bot]
991bb17115
Bump nodemon from 2.0.15 to 2.0.16
Bumps [nodemon](https://github.com/remy/nodemon) from 2.0.15 to 2.0.16.
- [Release notes](https://github.com/remy/nodemon/releases)
- [Commits](https://github.com/remy/nodemon/compare/v2.0.15...v2.0.16)

---
updated-dependencies:
- dependency-name: nodemon
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-09 21:21:00 +00:00
Hongbo Wu
6f82499deb Merge puppeteer changes 2022-05-09 13:52:40 +08:00
Hongbo Wu
1dffbfc881 Add puppeteer-code dependencies 2022-05-09 13:45:45 +08:00
Hongbo Wu
21799b7b6d Add puppeteer-stealth and puppeteer-ad-block plugin and a user-data-dir to reduce processing time 2022-05-09 13:45:45 +08:00
Jackson Harper
51c25af9ef
Merge pull request #476 from omnivore-app/dependabot/npm_and_yarn/winston-3.7.2
Bump winston from 3.6.0 to 3.7.2
2022-05-02 21:13:49 -07:00
Jackson Harper
f6f523fe1e
Merge pull request #509 from omnivore-app/dependabot/npm_and_yarn/cross-fetch-3.1.5
Bump cross-fetch from 3.1.4 to 3.1.5
2022-05-02 21:13:25 -07:00
dependabot[bot]
98f028ac35
Bump nanoid from 3.3.1 to 3.3.3
Bumps [nanoid](https://github.com/ai/nanoid) from 3.3.1 to 3.3.3.
- [Release notes](https://github.com/ai/nanoid/releases)
- [Changelog](https://github.com/ai/nanoid/blob/main/CHANGELOG.md)
- [Commits](https://github.com/ai/nanoid/compare/3.3.1...3.3.3)

---
updated-dependencies:
- dependency-name: nanoid
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-02 21:15:25 +00:00
Hongbo Wu
2b70d480d2
Remove article saving request (#493)
* Add state and taskName in elastic page mappings

* Add state and taskName in elastic page interface

* Create page with PROCESSING state before scrapping

* Update createArticleRequest API

* Fix tests

* Add default state for pages

* Update createArticle API

* Update save page

* Update save file

* Update saving item description

* Show unable to parse content for failed page

* Fix date parsing

* Search for not failed pages

* Fix tests

* Add test for saveUrl

* Update get article saving request api

* Update get article test

* Add test for articleSavingRequest API

* Add test for failure

* Return new page id if clientRequestId empty

* Update clientRequestId in savePage

* Update clientRequestId in saveFile

* Replace article with slug in articleSavingRequest

* Add slug in articleSavingRequest response

* Depreciate article

* Use slug in web

* Remove article and highlight fragments

* Query article.slug on Prod

* Show unable to parse description for failed page

* Fix a bug having duplicate pages when saving the same url multiple times

* Add state in response

* Rename variables in removeArticle API

* Rename state

* Add state in response in web

* Make state an enum

* Open temporary page by link id

* Use an empty reader view as the background for loading pages

* Progressively load the article page as content is loaded

* Add includePending flag in getArticles API

* Set includePending = true in web

* Add elastic update mappings in migration script

* Add elastic mappings in docker image

* Move index_settings.json to migrate package

* Remove elastic index creation in api

* Move elastic migrations to a separate directory

* Remove index_settings from api docker image

Co-authored-by: Jackson Harper <jacksonh@gmail.com>
2022-04-29 13:41:06 +08:00
dependabot[bot]
e9522e8454
Bump cross-fetch from 3.1.4 to 3.1.5
Bumps [cross-fetch](https://github.com/lquixada/cross-fetch) from 3.1.4 to 3.1.5.
- [Release notes](https://github.com/lquixada/cross-fetch/releases)
- [Commits](https://github.com/lquixada/cross-fetch/compare/v3.1.4...v3.1.5)

---
updated-dependencies:
- dependency-name: cross-fetch
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-29 01:15:08 +00:00
dependabot[bot]
74161ef808
Bump winston from 3.6.0 to 3.7.2
Bumps [winston](https://github.com/winstonjs/winston) from 3.6.0 to 3.7.2.
- [Release notes](https://github.com/winstonjs/winston/releases)
- [Changelog](https://github.com/winstonjs/winston/blob/master/CHANGELOG.md)
- [Commits](https://github.com/winstonjs/winston/commits)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-25 21:27:58 +00:00
Jackson Harper
282f171b17 Remove react-intl package until we have internationalized code, drops bundle size 2022-04-22 15:12:59 -07:00
Jackson Harper
9362aa54c7
Merge pull request #443 from omnivore-app/dependabot/npm_and_yarn/cookie-0.5.0
Bump cookie from 0.4.2 to 0.5.0
2022-04-22 13:07:59 -07:00
Jackson Harper
17400dfd59
Merge pull request #441 from omnivore-app/dependabot/npm_and_yarn/opentelemetry/api-1.0.4
Bump @opentelemetry/api from 1.0.2 to 1.0.4
2022-04-22 13:07:12 -07:00
Jackson Harper
53e9696302
Merge pull request #440 from omnivore-app/dependabot/npm_and_yarn/cookie-parser-1.4.6
Bump cookie-parser from 1.4.5 to 1.4.6
2022-04-22 13:06:46 -07:00
Hongbo Wu
c3c65479bb add unsubscribe 2022-04-22 12:17:07 -07:00