Commit graph

449 commits

Author SHA1 Message Date
Jackson Harper
a07111d7c8 Remove markdown API docs, harder to read than just looking at schema.ts 2022-07-01 10:26:48 -07:00
Jackson Harper
e375acd693 Generate API docs into Markdown
Not sure how well this will work but testing it out to see how
it looks on GitHub.
2022-07-01 10:18:14 -07:00
Hongbo Wu
c08afe6451 Update page updatedAt when updating labels 2022-06-28 12:03:37 +08:00
Hongbo Wu
00f38d1134 Update page updatedAt when updating highlights 2022-06-28 11:55:26 +08:00
Hongbo Wu
59efc5fea7 Add test 2022-06-28 10:14:15 +08:00
Hongbo Wu
bf1faaeea4 Include highlights in search page result in elastic 2022-06-28 09:56:39 +08:00
Hongbo Wu
6cae3dc9b5 Add highlights in search item 2022-06-28 09:53:48 +08:00
Hongbo Wu
eb34a40f1b Add test 2022-06-26 18:53:28 +08:00
Hongbo Wu
c1855afc72 Update property unarchived=null instead of undefined in the page document in elastic 2022-06-26 18:36:54 +08:00
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
4c89323f0b Make the content fetch GCF URL nullable 2022-06-24 11:30:52 -07:00
Jackson Harper
92c8047a66 Update environment variable names in docker 2022-06-24 10:52:13 -07:00
Hongbo Wu
67bf6d6f5d Update .env.test 2022-06-24 10:13:14 -07:00
Hongbo Wu
aae9d7e382 Fix test 2022-06-24 10:13:14 -07:00
Hongbo Wu
75d3372426 Use gcf for low priority task 2022-06-24 10:13:14 -07:00
Hongbo Wu
e47415cf69 Add new environment variable for content-fetch url in gcf 2022-06-24 10:13:14 -07:00
Hongbo Wu
5f0cb493f2 Allow filter search result by updatedAt 2022-06-24 13:09:13 +08:00
Hongbo Wu
e96d5552fa Fix search by is:read or is:unread getting empty result by using the correct property name 2022-06-23 12:35:48 +08:00
Hongbo Wu
9a2f4b300a Fix a script error by deleting both labels in pages and highlights 2022-06-20 19:06:50 +08:00
Hongbo Wu
f88083e535
Merge pull request #813 from omnivore-app/advanced-search
advanced search
2022-06-19 10:55:18 +08:00
Jackson Harper
65b8893fc0
Merge pull request #820 from omnivore-app/fix/content-fetch-docker-hub
fix/content fetch docker hub
2022-06-17 15:10:03 -07:00
Jackson Harper
ddaac82653 Fix content-fetch on docker compose 2022-06-17 14:59:42 -07:00
Hongbo Wu
3f4b0f9b8c Update resolver 2022-06-17 17:09:08 +08:00
Hongbo Wu
26e7ab178e Fetch page savedAt, readingProgress from elastic 2022-06-17 17:08:26 +08:00
Hongbo Wu
2bcf97d2e8 Make updatedAt optional 2022-06-17 17:07:13 +08:00
Hongbo Wu
1be9c980e1 Add savedAt to searchItem and make readingProgress required in elastic 2022-06-17 16:03:49 +08:00
Hongbo Wu
e408143ea9 Add savedAt to searchItem and make readingProgress required 2022-06-17 16:02:46 +08:00
Hongbo Wu
e3c30dd076 Allow matching title, description, content keyword in elastic 2022-06-16 22:15:05 +08:00
Hongbo Wu
40bb49012a Allow match keyword 2022-06-16 22:15:01 +08:00
Hongbo Wu
9ec11cfc22 Add title, description, content as keyword in search.ts 2022-06-16 22:14:08 +08:00
Hongbo Wu
215078bcb3 Add logseq to the allowed cors origin 2022-06-16 10:46:06 +08: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
Hongbo Wu
de09a36c1c Add readAt to api response 2022-06-15 09:42:38 +08:00
Hongbo Wu
c5c8763767 Add readAt to searchItem 2022-06-15 09:32:53 +08:00
Hongbo Wu
6189e85b2c Add readAt to article 2022-06-15 09:32:10 +08: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
Jackson Harper
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
Jackson Harper
3136705a75 Handle errors when creating a page save request on savePage 2022-06-09 13:52:49 -07:00
Jackson Harper
9baeb89742 Add more elastic debugging 2022-06-09 13:52:49 -07:00
Jackson Harper
85cbd4e9d0 Handle errors updating elastic when saving pages 2022-06-09 13:52:49 -07:00
Jackson Harper
5d4c8f00e5 Fix test 2022-06-09 12:38:25 -07:00
Jackson Harper
70d655f591 Add an uploadFileTest to verify GCS URLs are used for file:// objects 2022-06-09 12:25:58 -07:00
Jackson Harper
98bc1470b5 Add a test for upload file requests 2022-06-09 12:22:41 -07:00
Jackson Harper
05ea57f76f Linting 2022-06-09 12:08:42 -07:00
Jackson Harper
e23eada168 Use the public GCS URL for local uploaded files 2022-06-09 11:59:01 -07:00
Jackson Harper
ef072cb2c9 When creating pages from uploaded files use their signed URL as the page URL 2022-06-09 11:51:01 -07:00
Jackson Harper
cffb5088b4 If creating a request from a file URL, dont try fuzzy matching on URL 2022-06-09 11:37:14 -07: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
Jackson Harper
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
Hongbo Wu
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