Commit Graph

69 Commits

Author SHA1 Message Date
8f41ce1183 Grant permissions of integrations table to omnivore_user 2022-08-10 16:47:12 +08:00
5a8184da3a Add taskName in integrations table 2022-08-05 16:09:26 +08:00
bd73da0571 Add syncedAt field in integrations table 2022-08-05 16:09:26 +08:00
a6c9eb08e1 Fix conflicts after rebasing 2022-08-05 16:09:26 +08:00
73bf695cf3 Add function to get highlight start location 2022-08-05 16:08:20 +08:00
e66d047d51 Add createIntegration API to the GQL schema 2022-08-05 16:08:20 +08:00
db27ac7d59 Add integration entity 2022-08-05 16:08:20 +08:00
1e1b573c52 Add integrations table in db 2022-08-05 16:08:20 +08:00
611c323ee0 New label's position is in alphabetic order 2022-08-04 21:39:45 +08:00
d64f968b90 remove trigger and function in down migration 2022-08-04 21:37:33 +08:00
0959085c9d Decrement position after deletion 2022-08-04 21:37:33 +08:00
bac33e887c Add trigger to update label positions before insert and delete 2022-08-04 21:37:32 +08:00
5e8508e025 Add position column in labels table 2022-08-04 21:37:32 +08:00
bab96aaa1e remove membership from user 2022-07-25 15:14:01 -07:00
a97c3286bf add status to user table 2022-07-25 15:12:55 -07:00
fdd9b10bf0 add delete_user_rls to user table 2022-07-13 16:06:40 +08:00
230df45ba1 make siteName as search_as_you_type 2022-07-13 10:36:29 +08:00
b5d1a92fa9 make title as search_as_you_type type in elastic 2022-07-12 09:36:00 -07:00
7d7b51500c migration to allow user to delete themseleves 2022-07-06 09:38:24 -07:00
2ef5d101bb Create index if not exists in migration 2022-06-17 22:07:41 +08:00
309c581cf5 Merge pull request #729 from omnivore-app/labels-in-highlights
Support labels in highlights
2022-06-09 09:28:43 +08:00
5d08384db3 Add readAt field to page properties 2022-06-04 22:10:55 +08:00
c59cf9cf65 Add labels in highlight properties 2022-06-01 19:01:14 +08:00
74054cbdbd Merge pull request #716 from omnivore-app/api-token
Api tokens
2022-05-31 14:22:23 +08:00
b77b378221 Grant permissions of api_key table to omnivore_user 2022-05-27 18:35:40 +08:00
a09588d3a7 Update generateApiKey resolver 2022-05-27 18:33:49 +08:00
849adf84d4 Add entity class 2022-05-27 18:33:49 +08:00
5c1c9fb6de Grant permissions of webhooks table to omnivore_user 2022-05-27 17:32:18 +08:00
f61f61312c Add webhook entity 2022-05-26 14:50:10 +08:00
a655275754 Add unique constraint on user_id and event_types 2022-05-26 14:50:10 +08:00
fe09487a6a Add webhooks model 2022-05-26 14:49:27 +08:00
b0ed10760e Normalize language 2022-05-26 10:52:18 +08:00
037520a1c3 Add language in mappings 2022-05-26 10:52:18 +08:00
6c78d6188b Lowercase characters when doing text analysis 2022-05-25 09:59:43 +08:00
34349e925c Add unit test 2022-05-19 16:36:35 +08:00
b9c2c1186b Fix batch_size=500 to avoid exceeding max memory limit and requests_per_second=250 to throttle update requests
Fix batch_size=500 to avoid exceeding max memory limit and requests_per_second=250 to throttle update requests
2022-05-05 21:10:49 +08:00
7183ca2e89 Add request timeout = 30m in elastic client 2022-05-05 13:28:01 +08:00
911afd77e5 Reduce requests per second and scroll_size 2022-05-05 12:40:44 +08:00
96fbd84bbb Extend timeout 2022-05-05 09:02:56 +08:00
cd9c6a40d9 Tune the update speed 2022-05-04 22:44:28 +08:00
8f60a9f905 Add default state to migration script 2022-05-04 21:54:28 +08:00
46aac8ac0a Match the env var name (#512) 2022-04-29 14:10:56 +08:00
2b70d480d2 Remove article saving request (#493)
* Add state and taskName in elastic page mappings

* Add state and taskName in elastic page interface

* Create page with PROCESSING state before scrapping

* Update createArticleRequest API

* Fix tests

* Add default state for pages

* Update createArticle API

* Update save page

* Update save file

* Update saving item description

* Show unable to parse content for failed page

* Fix date parsing

* Search for not failed pages

* Fix tests

* Add test for saveUrl

* Update get article saving request api

* Update get article test

* Add test for articleSavingRequest API

* Add test for failure

* Return new page id if clientRequestId empty

* Update clientRequestId in savePage

* Update clientRequestId in saveFile

* Replace article with slug in articleSavingRequest

* Add slug in articleSavingRequest response

* Depreciate article

* Use slug in web

* Remove article and highlight fragments

* Query article.slug on Prod

* Show unable to parse description for failed page

* Fix a bug having duplicate pages when saving the same url multiple times

* Add state in response

* Rename variables in removeArticle API

* Rename state

* Add state in response in web

* Make state an enum

* Open temporary page by link id

* Use an empty reader view as the background for loading pages

* Progressively load the article page as content is loaded

* Add includePending flag in getArticles API

* Set includePending = true in web

* Add elastic update mappings in migration script

* Add elastic mappings in docker image

* Move index_settings.json to migrate package

* Remove elastic index creation in api

* Move elastic migrations to a separate directory

* Remove index_settings from api docker image

Co-authored-by: Jackson Harper <jacksonh@gmail.com>
2022-04-29 13:41:06 +08:00
bcbda50daa Add basic UI for subscriptions 2022-04-22 12:17:09 -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
1117a0c575 Feature/subscription list resolver (#432)
* add subscriptions table

* add listSubscriptions schema

* add listSubscriptions resolver
2022-04-19 11:08:43 +08:00
250118de45 fix missing index_settings.json file in api dockerfile for creating elastic index (#363) 2022-04-01 13:07:44 +08:00
d260ad4def Remove the update permission on the link_labels table
This was added mistakenly and isn't needed.
2022-03-30 12:23:22 -07:00
857df99654 Add UPDATE permission to omnivore_user 2022-03-30 12:11:25 -07:00
bb91396595 Use user level security on labels update 2022-03-30 11:56:06 -07:00