Commit graph

153 commits

Author SHA1 Message Date
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
Hongbo Wu
6842c4c1ad revert yarn.lock changes 2022-04-22 12:16:35 -07:00
Hongbo Wu
2070fa79fa add subscription to articles api response 2022-04-22 12:16:33 -07:00
Jackson Harper
510a95f393 Add topbar dependencies 2022-04-21 14:00:09 -07:00
Jackson Harper
714628587a Add top bar loading indicator to the library 2022-04-21 13:51:20 -07:00
Hongbo Wu
dca6461b62
Add unsubscribe resolver (#453)
* add unsubscribe resolver

* add subscription to articles api response

* revert yarn.lock changes
2022-04-21 13:18:15 +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
dependabot[bot]
e7bb223be9
Bump cookie-parser from 1.4.5 to 1.4.6
Bumps [cookie-parser](https://github.com/expressjs/cookie-parser) from 1.4.5 to 1.4.6.
- [Release notes](https://github.com/expressjs/cookie-parser/releases)
- [Changelog](https://github.com/expressjs/cookie-parser/blob/master/HISTORY.md)
- [Commits](https://github.com/expressjs/cookie-parser/compare/1.4.5...1.4.6)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-21 01:43:10 +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
dependabot[bot]
e9e4f1bb0e
Bump @opentelemetry/api from 1.0.2 to 1.0.4
Bumps [@opentelemetry/api](https://github.com/open-telemetry/opentelemetry-js-api) from 1.0.2 to 1.0.4.
- [Release notes](https://github.com/open-telemetry/opentelemetry-js-api/releases)
- [Changelog](https://github.com/open-telemetry/opentelemetry-js-api/blob/main/CHANGELOG.md)
- [Commits](https://github.com/open-telemetry/opentelemetry-js-api/compare/v1.0.2...v1.0.4)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-18 21:18:19 +00:00
dependabot[bot]
119a9b553e
Bump async from 2.6.3 to 2.6.4
Bumps [async](https://github.com/caolan/async) from 2.6.3 to 2.6.4.
- [Release notes](https://github.com/caolan/async/releases)
- [Changelog](https://github.com/caolan/async/blob/v2.6.4/CHANGELOG.md)
- [Commits](https://github.com/caolan/async/compare/v2.6.3...v2.6.4)

---
updated-dependencies:
- dependency-name: async
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-14 18:06:20 +00:00
dependabot[bot]
5e075fc312
Bump @sentry/nextjs from 6.17.7 to 6.19.6
Bumps [@sentry/nextjs](https://github.com/getsentry/sentry-javascript) from 6.17.7 to 6.19.6.
- [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.17.7...6.19.6)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-14 15:48:41 +00:00
Jackson Harper
848129233a
Merge pull request #402 from omnivore-app/dependabot/npm_and_yarn/swr-1.3.0
Bump swr from 1.2.2 to 1.3.0
2022-04-12 12:21:54 -07:00
Jackson Harper
fb3f711efb
Merge pull request #378 from omnivore-app/dependabot/npm_and_yarn/next-12.1.4
Bump next from 12.1.0 to 12.1.4
2022-04-12 11:43:42 -07:00
dependabot[bot]
250239e110
Bump swr from 1.2.2 to 1.3.0
Bumps [swr](https://github.com/vercel/swr) from 1.2.2 to 1.3.0.
- [Release notes](https://github.com/vercel/swr/releases)
- [Commits](https://github.com/vercel/swr/compare/1.2.2...1.3.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-12 15:49:48 +00: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
Jackson Harper
29039d098a
Merge pull request #375 from omnivore-app/dependabot/npm_and_yarn/google-cloud/functions-framework-3.1.0
Bump @google-cloud/functions-framework from 3.0.0 to 3.1.0
2022-04-12 08:46:21 -07:00
Jackson Harper
06360a5993
Merge branch 'main' into OMN-190 2022-04-06 09:24:49 -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