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
bcbda50daa
Add basic UI for subscriptions
2022-04-22 12:17:09 -07:00
3e35fb1aca
Email content display report
2022-04-22 19:14:59 +08:00
71aa66ea9c
Allow search for subscription:name ( #461 )
2022-04-22 08:47:41 +08:00
0a4d55ef15
Increase the rate limit
...
Turns out 10 is very low because we make CORs requests from the
browser and SWR will make background requests for some objects
like viewer. I was hitting the limit while testing search.
2022-04-21 14:59:57 -07:00
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
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
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
5c7f4a22bf
Save subscriptions when saving newsletters ( #447 )
...
* parse unsub mailTo or httpUrl and send to pubsub
* save subscription from newsletter
* fix tests
2022-04-20 09:24:40 +08:00
48e36c8635
Merge pull request #393 from omnivore-app/OMN-382
...
[Omn-382] - Updated landing page
2022-04-19 11:15:31 -07:00
d7a2659fc4
fix searching for multiple labels ( #444 )
2022-04-19 12:13:47 +08:00
1117a0c575
Feature/subscription list resolver ( #432 )
...
* add subscriptions table
* add listSubscriptions schema
* add listSubscriptions resolver
2022-04-19 11:08:43 +08:00
c2fd58a809
Make landing a restricted username page
2022-04-18 15:22:59 -07:00
0b2b93384f
fix return undefined as updateLabelResult
2022-04-18 20:45:06 +08:00
d33d383891
Merge pull request #422 from omnivore-app/fix/reminder-data-model-error
...
Fix reminders resolver getting pages from postgres
2022-04-14 14:10:48 -07:00
c80ce4da10
Consistent naming convention for events
2022-04-14 10:31:10 -07:00
3befff61af
fix tests
2022-04-14 13:22:21 +08:00
2c9c2a2adf
Merge pull request #394 from omnivore-app/header-and-reader-improvements
...
Add margins on wider screens, keyboard commands to adjust
2022-04-13 21:26:24 -07:00
c0966d908f
upload highlight and label to gcs if successfully updated in elastic ( #420 )
2022-04-14 12:14:15 +08:00
88d8ca7b7d
fix reminders resolver getting page from postgres
2022-04-14 12:09:17 +08:00
e282fc8316
Merge pull request #417 from omnivore-app/feature/upload-highlight-gcs
...
Upload highlights and labels data to GCS
2022-04-13 13:41:29 -07:00
0b0b521fab
use generic method for uploading
2022-04-13 22:21:20 +08:00
a806f55233
upload highlight to gcs
2022-04-13 21:18:58 +08:00
8ba1be456c
fix sanitizer invalid name
2022-04-13 13:23:21 +08:00
3b831fecb8
test both max length and pattern if declared
2022-04-13 12:20:41 +08:00
928ddd69a9
validate color input in label as rgb hex value
2022-04-13 12:17:12 +08:00
782781639d
Update API in test
2022-04-12 12:53:08 -07:00
73ef8fef09
Rename linkId to pageId in SetLabelsInput
2022-04-12 12:46:32 -07:00
d05f091876
Add debug logging for GQL errors
2022-04-12 12:23:55 -07:00
6c5e88cf12
Merge pull request #405 from omnivore-app/feature/label-max-length
...
Set label name max length = 64 char
2022-04-12 11:14:20 -07:00
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
ae0d1dd2ee
Feature/search highlights backend ( #395 )
...
* add highlight mappings
* return highlight in resolvers
* temporarily skip highlight tests
* add test for getting highlights
* update merge highlight
* separate elastic methods
* roll back merge highlight test
* add highlight to elastic script
* update delete highlight in elastic
* migrate highlight data from postgres to elastic
* rescue not found exception when page is not found in the migration script
* exclude highlights in searching pages results
* search pages with highlights only with has:highlight query
* add search endpoint to search pages or highlights
* reduce code smell in search api
* fix rebase error
* fix tests
* add test for search highlight
* add test for new search endpoint
* add labels to search results
* update schema
* update search query
* fix update/share highlights
* fix rebase error
* fix tests
* add highlight model in elastic
* add savedAt and publishedAt date range in search query
* add sort by updated and recently read
* fix tests
* close db connection when tests are done
* test github action
* revert github action test
* fix rebase error
* add docker-compose for api-test
* remove unused env
* remove highlights with no page attached to
* allow get_articles resolver to search for query so we can merge it without web changes
2022-04-12 12:31:08 +08:00
2ebdaba780
add generate api key api and test ( #392 )
...
* add generate api key api and test
* test if user can make api call with the api key
2022-04-12 12:11:45 +08:00
bb665a704b
make label name <= 64 char length
2022-04-12 12:08:02 +08:00
b4420839bd
fix: fail to search by excluding labels with capital letter ( #400 )
...
* fix: fail to search by excluding labels with capital letter
* make all the excluded labels lowcased
* Revert "make all the excluded labels lowcased"
This reverts commit 866bed40801af522cb7f07aa3119ed813f7c34b6.
2022-04-11 14:05:21 +08:00
a68a5fb066
Labels are ordered by creation time in API now
2022-04-06 11:00:14 -07:00
48ca13818f
Prettier fixes
2022-04-06 10:45:01 -07:00
57f865c9a2
Update to typeorm 0.3
2022-04-06 10:37:13 -07:00
26bff1b25d
Pin yarn version w/volta
2022-04-06 10:06:24 -07:00
63a374b31d
package syntax
2022-04-06 10:05:06 -07:00
1bac06107d
Update volta version
2022-04-06 10:04:04 -07:00
1cdb7753c3
Update typeorm usage
2022-04-06 09:56:32 -07:00
06360a5993
Merge branch 'main' into OMN-190
2022-04-06 09:24:49 -07:00
d1269f815e
identify a newsletter by checking both list-url and unsubscribe-url in headers and email sender address
2022-04-06 20:59:14 +08:00
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
ccedec7703
Make sure we refresh the elastic index when running tests
2022-04-04 21:21:57 -07:00
8df6e750dc
Bump googleapis from 59.0.0 to 100.0.0
...
Bumps [googleapis](https://github.com/googleapis/google-api-nodejs-client ) from 59.0.0 to 100.0.0.
- [Release notes](https://github.com/googleapis/google-api-nodejs-client/releases )
- [Changelog](https://github.com/googleapis/google-api-nodejs-client/blob/main/CHANGELOG.md )
- [Commits](https://github.com/googleapis/google-api-nodejs-client/compare/v59.0.0...googleapis-v100.0.0 )
---
updated-dependencies:
- dependency-name: googleapis
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-04-04 22:36:25 +00:00
62c3bcd968
Merge pull request #338 from omnivore-app/dependabot/npm_and_yarn/opentelemetry/semantic-conventions-1.0.1
...
Bump @opentelemetry/semantic-conventions from 0.24.0 to 1.0.1
2022-04-04 15:35:51 -07:00
3b4254a711
Bump luxon from 1.28.0 to 2.3.1
...
Bumps [luxon](https://github.com/moment/luxon ) from 1.28.0 to 2.3.1.
- [Release notes](https://github.com/moment/luxon/releases )
- [Changelog](https://github.com/moment/luxon/blob/master/CHANGELOG.md )
- [Commits](https://github.com/moment/luxon/compare/1.28.0...2.3.1 )
---
updated-dependencies:
- dependency-name: luxon
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-04-04 17:55:59 +00:00
46c5b8c82a
Another attempt at slimming docker file
2022-04-04 10:42:04 -07:00