Hongbo Wu
74054cbdbd
Merge pull request #716 from omnivore-app/api-token
...
Api tokens
2022-05-31 14:22:23 +08:00
Hongbo Wu
b77b378221
Grant permissions of api_key table to omnivore_user
2022-05-27 18:35:40 +08:00
Hongbo Wu
a09588d3a7
Update generateApiKey resolver
2022-05-27 18:33:49 +08:00
Hongbo Wu
849adf84d4
Add entity class
2022-05-27 18:33:49 +08:00
Hongbo Wu
5c1c9fb6de
Grant permissions of webhooks table to omnivore_user
2022-05-27 17:32:18 +08:00
Hongbo Wu
f61f61312c
Add webhook entity
2022-05-26 14:50:10 +08:00
Hongbo Wu
a655275754
Add unique constraint on user_id and event_types
2022-05-26 14:50:10 +08:00
Hongbo Wu
fe09487a6a
Add webhooks model
2022-05-26 14:49:27 +08:00
Hongbo Wu
bcbda50daa
Add basic UI for subscriptions
2022-04-22 12:17:09 -07:00
Hongbo Wu
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
Hongbo Wu
1117a0c575
Feature/subscription list resolver ( #432 )
...
* add subscriptions table
* add listSubscriptions schema
* add listSubscriptions resolver
2022-04-19 11:08:43 +08:00
Jackson Harper
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
Jackson Harper
857df99654
Add UPDATE permission to omnivore_user
2022-03-30 12:11:25 -07:00
Jackson Harper
bb91396595
Use user level security on labels update
2022-03-30 11:56:06 -07:00
Jackson Harper
57a45adb5d
Add RLS permissions on the label table
2022-03-30 11:34:26 -07:00
Jackson Harper
15cf0d07e9
Allow UPDATE on the labels table
...
labels are updated when users change their colour or description.
2022-03-30 10:56:01 -07:00
Hongbo Wu
b6c04f3508
fix saving report item by linking to elastic page
2022-03-28 20:38:54 +08:00
Hongbo Wu
6597cc37b6
add created_at and updated_at to newsletter emails and sort by created_at desc
2022-03-22 18:43:47 +08:00
Jackson Harper
56c45fd1f6
Postgres migrations for the Elastic backend migration
...
These are cherry picked from the elastic branch so we can run them
and migrate data before moving to elastic as the primary page
backend.
2022-03-15 14:00:22 -07:00
Jackson Harper
cf9e470f74
Create trigger with a new name
2022-02-24 22:38:34 -08:00
Jackson Harper
ae467d44f9
Syntax
2022-02-24 22:31:34 -08:00
Jackson Harper
e8ac5ed0c1
Remove the OR REPLACE when creating the article trigger
2022-02-24 22:28:00 -08:00
Jackson Harper
3926cefc1f
Add comment to search index query
2022-02-24 22:07:26 -08:00
Jackson Harper
df3a0e1640
Add the link domain to the search index
...
This adds the domain of the saved link to the search index in
two formats, the full domain like www.omnivore.app and just
the secondary domain like `omnivore`.
This also adds some ranking to search, making title, description,
and domain more highly ranked than the content but search results
wont change as we still order by saved_at.
2022-02-24 22:07:26 -08:00
Hongbo Wu
5651c92efe
ingore case when checking name uniqueness
2022-02-24 14:44:49 +08:00
Hongbo Wu
138c9682cd
update tables
2022-02-24 14:44:48 +08:00
Hongbo Wu
e74f334db9
update entity
2022-02-24 14:44:48 +08:00
Hongbo Wu
966295385a
add sql
2022-02-24 14:44:48 +08:00
Hongbo Wu
d53e94aeb2
add tests for create article
2022-02-16 16:14:14 +08:00
Hongbo Wu
77ba7531f3
add tests for upload
2022-02-16 15:26:11 +08:00
Jackson Harper
84f32935f5
Open source omnivore
2022-02-11 09:24:33 -08:00