Hongbo Wu
5201f5d360
Add RLS to speech table
2022-08-26 16:56:33 +08:00
Hongbo Wu
401633eda6
Return signed url
2022-08-18 19:24:38 +08:00
Hongbo Wu
249a5cda4a
Add bucket, audioFileName, speechMarksFileName, state to speech table
2022-08-18 19:24:38 +08:00
Hongbo Wu
02ba753375
Upload speech marks file to gcs too
2022-08-18 19:24:38 +08:00
Hongbo Wu
94f9dd9e6e
Enqueue text to speech tasks
2022-08-18 19:23:41 +08:00
Hongbo Wu
8f41ce1183
Grant permissions of integrations table to omnivore_user
2022-08-10 16:47:12 +08:00
Hongbo Wu
5a8184da3a
Add taskName in integrations table
2022-08-05 16:09:26 +08:00
Hongbo Wu
bd73da0571
Add syncedAt field in integrations table
2022-08-05 16:09:26 +08:00
Hongbo Wu
a6c9eb08e1
Fix conflicts after rebasing
2022-08-05 16:09:26 +08:00
Hongbo Wu
73bf695cf3
Add function to get highlight start location
2022-08-05 16:08:20 +08:00
Hongbo Wu
e66d047d51
Add createIntegration API to the GQL schema
2022-08-05 16:08:20 +08:00
Hongbo Wu
db27ac7d59
Add integration entity
2022-08-05 16:08:20 +08:00
Hongbo Wu
1e1b573c52
Add integrations table in db
2022-08-05 16:08:20 +08:00
Hongbo Wu
611c323ee0
New label's position is in alphabetic order
2022-08-04 21:39:45 +08:00
Hongbo Wu
d64f968b90
remove trigger and function in down migration
2022-08-04 21:37:33 +08:00
Hongbo Wu
0959085c9d
Decrement position after deletion
2022-08-04 21:37:33 +08:00
Hongbo Wu
bac33e887c
Add trigger to update label positions before insert and delete
2022-08-04 21:37:32 +08:00
Hongbo Wu
5e8508e025
Add position column in labels table
2022-08-04 21:37:32 +08:00
Hongbo Wu
bab96aaa1e
remove membership from user
2022-07-25 15:14:01 -07:00
Hongbo Wu
a97c3286bf
add status to user table
2022-07-25 15:12:55 -07:00
Hongbo Wu
fdd9b10bf0
add delete_user_rls to user table
2022-07-13 16:06:40 +08:00
Satindar Dhillon
7d7b51500c
migration to allow user to delete themseleves
2022-07-06 09:38:24 -07:00
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