Commit graph

31 commits

Author SHA1 Message Date
Jackson Harper
c8abf87367 Cast the directive types 2022-02-16 09:33:33 -08:00
Jackson Harper
6d5554dd5f Implement the sanitize directive in applo 3.0 2022-02-16 09:33:33 -08:00
Jackson Harper
7e35281bd1 createApp is no longer async, linting 2022-02-16 09:33:33 -08:00
Jackson Harper
fb224d60c4 Remove subscriptions, comment out the sanitize directive 2022-02-16 09:33:30 -08:00
Jackson Harper
df2b36b33a Upgrade apollo-server-express, remove connections/subscriptions 2022-02-16 09:32:48 -08:00
Jackson Harper
5a457479e2
Merge pull request #64 from omnivore-app/feature/handle-pdf-attachment
add pdf attachment to library
2022-02-17 00:55:27 +08:00
Hongbo Wu
d53e94aeb2 add tests for create article 2022-02-16 16:14:14 +08:00
Hongbo Wu
77ba7531f3 add tests for upload 2022-02-16 15:26:11 +08:00
Hongbo Wu
9460197132 add more logs for debugging 2022-02-16 11:34:01 +08:00
Hongbo Wu
b826a101c5 add pdf attachment create-article 2022-02-16 09:24:16 +08:00
Jackson Harper
340d7903b3
Merge pull request #67 from omnivore-app/fix/upgrade-gql-typegen
Upgrade gql-typegen and regen types
2022-02-16 02:52:02 +08:00
Jackson Harper
c3308085ee Upgrade gql-typegen and regen types 2022-02-15 10:42:05 -08:00
Jackson Harper
06a38ae407
Merge pull request #55 from omnivore-app/dependabot/npm_and_yarn/opentelemetry/instrumentation-grpc-0.27.0
Bump @opentelemetry/instrumentation-grpc from 0.22.0 to 0.27.0
2022-02-16 02:05:58 +08:00
Hongbo Wu
5d95e6c734 add pdf attachment upload 2022-02-15 22:22:13 +08:00
Jackson Harper
49e436b10c Remove unneeded installs from API docker file
These were needed when Chromium was installed on this image.
2022-02-14 21:52:04 -08:00
dependabot[bot]
f93a3e3070
Bump @opentelemetry/instrumentation-grpc from 0.22.0 to 0.27.0
Bumps [@opentelemetry/instrumentation-grpc](https://github.com/open-telemetry/opentelemetry-js) from 0.22.0 to 0.27.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.22.0...experimental/v0.27.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>
2022-02-15 05:22:49 +00:00
Hongbo Wu
e85273d87a
add support for axios newsletters (#49)
* add support for axios newsletters

* fix raw url

* fix getting newsletter url from axios

* add test for url

* add axios parser
2022-02-15 11:56:03 +08:00
Jackson Harper
65cd8a95eb Better handling of situations where we fail to set the cookie during auth 2022-02-14 16:04:23 -08:00
Jackson Harper
165085a639 Handle upgraded axios API for headers 2022-02-14 15:48:36 -08:00
Jackson Harper
238a2f0e97
Merge pull request #56 from omnivore-app/dependabot/npm_and_yarn/axios-0.26.0
Bump axios from 0.21.4 to 0.26.0
2022-02-15 07:25:37 +08:00
Jackson Harper
a23ae33264
Merge pull request #54 from omnivore-app/dependabot/npm_and_yarn/opentelemetry/instrumentation-dns-0.27.1
Bump @opentelemetry/instrumentation-dns from 0.22.0 to 0.27.1
2022-02-15 07:24:16 +08:00
Jackson Harper
952e110ccd Remove unneeded values from api env example file 2022-02-14 14:56:07 -08:00
dependabot[bot]
0f843809e3
Bump axios from 0.21.4 to 0.26.0
Bumps [axios](https://github.com/axios/axios) from 0.21.4 to 0.26.0.
- [Release notes](https://github.com/axios/axios/releases)
- [Changelog](https://github.com/axios/axios/blob/master/CHANGELOG.md)
- [Commits](https://github.com/axios/axios/compare/v0.21.4...v0.26.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-02-14 21:35:58 +00:00
dependabot[bot]
77598cd093
Bump @opentelemetry/instrumentation-dns from 0.22.0 to 0.27.1
Bumps [@opentelemetry/instrumentation-dns](https://github.com/open-telemetry/opentelemetry-js-contrib) from 0.22.0 to 0.27.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/v0.22.0...host-metrics-v0.27.1)

---
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-02-14 21:21:48 +00:00
Hongbo Wu
a04e91472d
fix a bug of using article as table name in the reminders query (#34)
* fix a bug of using article as table name in the reminders query

* fix test

* increase timeout value

* increase timeout value to 50000

* add import mocha

* add import mocha for label test

* add import mocha for every test

* fix test in deleting labels

* add timeout for each label test

* one more test

* fix reminders router by allowing sendrid template id to be null

* do not retry if reminders not found
2022-02-14 13:59:04 +08:00
dependabot[bot]
c10cd4d831
Bump @opentelemetry/instrumentation-http from 0.22.0 to 0.27.0
Bumps [@opentelemetry/instrumentation-http](https://github.com/open-telemetry/opentelemetry-js) from 0.22.0 to 0.27.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.22.0...experimental/v0.27.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-02-12 21:32:38 +00:00
Jackson Harper
28a208ba2c Remove some unneeded logging on startup 2022-02-12 09:16:45 -08:00
Jackson Harper
8163b5a4de Upgrade axios 2022-02-11 13:51:43 -08:00
Jackson Harper
ef2b53e7f7 Upgrade Cloud Storage and the apollo-express libraries 2022-02-11 13:21:03 -08:00
Jackson Harper
ca7b79d1ba Simplify docker compose setup for new users
This takes out some environment variables that are not needed
for new users testing out locally.

We also adjusted the port usage so docker-compose will use the
same ports that local dev typically uses.
2022-02-11 11:45:37 -08:00
Jackson Harper
84f32935f5 Open source omnivore 2022-02-11 09:24:33 -08:00