Commit Graph

413 Commits

Author SHA1 Message Date
ea4e4d6828 Use the Article type instead of Page in updatePage API
Despite the name we are still using Article in many
places.
2022-06-09 15:29:01 -07:00
3136705a75 Handle errors when creating a page save request on savePage 2022-06-09 13:52:49 -07:00
9baeb89742 Add more elastic debugging 2022-06-09 13:52:49 -07:00
85cbd4e9d0 Handle errors updating elastic when saving pages 2022-06-09 13:52:49 -07:00
5d4c8f00e5 Fix test 2022-06-09 12:38:25 -07:00
70d655f591 Add an uploadFileTest to verify GCS URLs are used for file:// objects 2022-06-09 12:25:58 -07:00
98bc1470b5 Add a test for upload file requests 2022-06-09 12:22:41 -07:00
05ea57f76f Linting 2022-06-09 12:08:42 -07:00
e23eada168 Use the public GCS URL for local uploaded files 2022-06-09 11:59:01 -07:00
ef072cb2c9 When creating pages from uploaded files use their signed URL as the page URL 2022-06-09 11:51:01 -07:00
cffb5088b4 If creating a request from a file URL, dont try fuzzy matching on URL 2022-06-09 11:37:14 -07:00
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
e04ada4241 Merge pull request #767 from omnivore-app/dependabot/npm_and_yarn/opentelemetry/instrumentation-pg-0.29.0
Bump @opentelemetry/instrumentation-pg from 0.24.0 to 0.29.0
2022-06-09 09:32:38 -07:00
ff613287b4 Merge pull request #775 from omnivore-app/fix/delete-label
Fix failure of lable deletion in highlight
2022-06-09 14:50:03 +08:00
cc2b492c16 Fix tests 2022-06-09 12:38:09 +08:00
520ce0077b Add refresh index method 2022-06-09 12:34:22 +08:00
4f4cc51a37 Delete label by name 2022-06-09 12:33:58 +08:00
4cf45af669 Add debug log for deleting label 2022-06-09 12:33:42 +08:00
85317df671 Merge pull request #774 from omnivore-app/fix/missing-title
Fallback to domain to url if no title
2022-06-09 11:48:49 +08:00
d1d18315c8 Fallback to domain to url if no title 2022-06-09 11:30:13 +08:00
fa2b58eac0 When creating a page during an uploadfile request return its ID 2022-06-08 20:17:47 -07:00
309c581cf5 Merge pull request #729 from omnivore-app/labels-in-highlights
Support labels in highlights
2022-06-09 09:28:43 +08:00
2dcab66af2 Update labels for both pages and highlights 2022-06-08 17:39:38 +08:00
7c840f5b1e Merge deleteLabel in page and highlight 2022-06-08 17:25:33 +08:00
a981e13c86 Add test case for deleteLabel 2022-06-08 17:01:38 +08:00
0d67d0fb90 Delete labels for highlights when label is deleted 2022-06-08 15:35:52 +08:00
22c604c15b Add deleteLabelForHighlights 2022-06-08 15:33:43 +08:00
145867fe05 Add test for setLabelsForHighlight resolver 2022-06-08 15:25:11 +08:00
4894b3cfd9 Add setLabelsForHighlight in function_resolvers.ts 2022-06-08 15:00:05 +08:00
e9f4149c62 Add setLabelsForHighlight resolver 2022-06-08 14:59:46 +08:00
eef3ee4114 Add getLabelsByIds service method 2022-06-08 14:59:27 +08:00
93c0e53d1d Generate setLabelsForHighlight graphql code 2022-06-08 14:59:11 +08:00
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
427b58eedd Add set labels for highlight gql schema 2022-06-06 19:15:51 +08:00
9655a87bab Add test for set Labels For Highlight data access method 2022-06-06 19:15:10 +08:00
bdda54d54a Add set Labels For Highlight data access method 2022-06-06 19:15:03 +08:00
aa15ef0282 Sort by expires at desc nulls last 2022-06-06 13:34:23 +08:00
d00becc269 Add readAt to search API response 2022-06-04 22:12:59 +08:00
fc68d51320 Support sort/filter by readAt 2022-06-04 22:12:03 +08:00
b1d968ff23 Update readAt when saving reading progress 2022-06-04 22:11:44 +08:00
577c6e84fb Add readAt to page type 2022-06-04 22:11:14 +08:00
b61a8f6015 Merge pull request #747 from omnivore-app/fix/ios-sorting
Disable sorting options that need API improvements
2022-06-03 14:04:19 -07:00
791e31d60f Merge pull request #750 from omnivore-app/OMN-633
Reopening OMN-633 to rebase
2022-06-03 13:36:36 -07:00
b56c6dafa9 Disable sorting options that need API improvements 2022-06-03 12:47:43 -07:00
278d56baef Add createdAt and updatedAt attributes to article tests GQL 2022-06-03 12:03:24 -07:00
bf929db559 Add the updatedAt attribute to page items 2022-06-03 10:24:11 -07:00
975411d429 Merge pull request #719 from omnivore-app/fix/pdf-uploading-improvements 2022-06-02 16:47:03 -07:00
89164a353f Merge pull request #723 from omnivore-app/fix/tweet-not-saved
Fix tweet not saved
2022-06-02 11:20:40 +08:00
4f031a579c Merge pull request #721 from omnivore-app/search-highlights-second-index
When searching for highlights we should include document title, descr…
2022-06-02 11:05:30 +08:00
04f7fdc31f Add labels in highlight type 2022-06-01 19:01:26 +08:00