Commit Graph

68 Commits

Author SHA1 Message Date
e0b8cfc938 Import highlightjs types
We still need these dev packages because of the way our docker
builds are setup.
2022-02-26 17:37:01 -08:00
fd39923907 Prettier improvements 2022-02-26 16:38:43 -08:00
84fbc9cd27 Add code highlighting using highlight.js 2022-02-26 14:57:59 -08:00
e27c2bdd8b generate swift gql code 2022-02-25 10:09:17 -08:00
b9d581166e fix merge conflicts 2022-02-24 14:56:00 +08:00
42f2cffdf8 remove debug log 2022-02-24 14:47:33 +08:00
276205d52a add linkId and labels in article type 2022-02-24 14:44:49 +08:00
c7841b8e8a remove duplicate links because of join with link_labels table 2022-02-24 14:44:49 +08:00
fc18004a5d add labels in search query 2022-02-24 14:44:49 +08:00
edb9339897 add labels and link_labels table name 2022-02-24 14:44:49 +08:00
5651c92efe ingore case when checking name uniqueness 2022-02-24 14:44:49 +08:00
9599c98c77 add label filters in search query 2022-02-24 14:44:49 +08:00
fc37d06fd2 update params variable 2022-02-24 14:44:49 +08:00
d33b213092 add setLabels api and tests 2022-02-24 14:44:48 +08:00
9150e7dbc2 add tests for create/delete labels 2022-02-24 14:44:48 +08:00
e74f334db9 update entity 2022-02-24 14:44:48 +08:00
6e6745a2b7 Use version 6.1.0 for normalize-url which switches to modules in v7 2022-02-23 10:28:28 -08:00
385cfdad71 Bump normalize-url from 5.3.1 to 7.0.3
Bumps [normalize-url](https://github.com/sindresorhus/normalize-url) from 5.3.1 to 7.0.3.
- [Release notes](https://github.com/sindresorhus/normalize-url/releases)
- [Commits](https://github.com/sindresorhus/normalize-url/commits/v7.0.3)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-02-23 18:14:46 +00:00
7c9c75836b Update the monitor packages as these are peer dependencies 2022-02-23 09:26:48 -08:00
5e2bba3231 Upgrade opentelemetry packages 2022-02-22 12:42:19 -08:00
4a9d24025b Bump @opentelemetry/node from 0.22.0 to 0.24.0
Bumps [@opentelemetry/node](https://github.com/open-telemetry/opentelemetry-js) from 0.22.0 to 0.24.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...v0.24.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-02-22 12:42:19 -08:00
5f6f3ba3b2 Fix warnings in the API package 2022-02-21 16:46:10 -08:00
a276af5264 Remove extra white space 2022-02-21 13:55:09 -08:00
cf6733c70f When fetching the library item list dont add content/originalHtml from DB 2022-02-21 13:55:09 -08:00
5af4899415 Use null instead of undefined when unarchiving links
This fixes unarchiving content by re-saving it via the Save*
API methods.

Setting to undefined is not the same as null in this case, and
will result in archived_at being non-null and the link then
being excluded from the GetArticles query.
2022-02-21 11:26:22 -08:00
4c84c40f97 add slug to the link (#84) 2022-02-18 10:43:34 +08:00
05aa5d737e Merge pull request #82 from omnivore-app/feature/bloomberg-newsletters
Add support for Bloomberg newsletter
2022-02-18 01:08:46 +08:00
9431e80be8 add parser 2022-02-17 20:17:02 +08:00
e3839647e1 parse bloomberg newsletter 2022-02-17 20:14:06 +08:00
ad8bca3d84 use subject as title 2022-02-17 18:59:07 +08:00
7229c64da0 fix: Should not get fake uploading url in demo (#79)
* fix not getting fake uploading url in demo

* use internal service endpoint env

* update internal svc endpoint
2022-02-17 13:34:50 +08:00
bd8178a464 add support for bloomberg newsletters 2022-02-17 13:19:58 +08:00
3a27681534 Merge pull request #74 from omnivore-app/chore/upgrade-gql-typegen-2.6.2
Upgrade gql-codegen, regenerate GQL schema
2022-02-17 04:03:31 +08:00
e80eb7ab06 Upgrade gql-codegen, regenerate GQL schema 2022-02-16 11:32:13 -08:00
c1ffd9abdf fix sanitize bug by having different SanitizedString type name when creating new instances 2022-02-16 09:33:33 -08:00
e327b7c57f Expect a 400 error for failed GQL directives 2022-02-16 09:33:33 -08:00
bf305bef39 Make sanitize test more explicit 2022-02-16 09:33:33 -08:00
c8abf87367 Cast the directive types 2022-02-16 09:33:33 -08:00
6d5554dd5f Implement the sanitize directive in applo 3.0 2022-02-16 09:33:33 -08:00
7e35281bd1 createApp is no longer async, linting 2022-02-16 09:33:33 -08:00
fb224d60c4 Remove subscriptions, comment out the sanitize directive 2022-02-16 09:33:30 -08:00
df2b36b33a Upgrade apollo-server-express, remove connections/subscriptions 2022-02-16 09:32:48 -08:00
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
d53e94aeb2 add tests for create article 2022-02-16 16:14:14 +08:00
77ba7531f3 add tests for upload 2022-02-16 15:26:11 +08:00
9460197132 add more logs for debugging 2022-02-16 11:34:01 +08:00
b826a101c5 add pdf attachment create-article 2022-02-16 09:24:16 +08:00
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
c3308085ee Upgrade gql-typegen and regen types 2022-02-15 10:42:05 -08:00
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