Commit Graph

2374 Commits

Author SHA1 Message Date
64d6ff45e1 Add a stub test 2022-11-21 22:20:23 +08:00
2ab7e0a599 Merge pull request #1359 from omnivore-app/rules-api
Rules API
2022-11-21 18:00:13 +08:00
06a3f906f8 Fix bug 2022-11-21 17:12:18 +08:00
9af670a5bc Call api to get rules and device tokens in rules handler 2022-11-21 17:03:46 +08:00
f358094bbf Add get device tokens api 2022-11-21 17:03:12 +08:00
88416bc178 Add get rules api 2022-11-21 15:03:15 +08:00
1228efb70f Add docker-compose service 2022-11-21 10:36:41 +08:00
7479222657 Fix test 2022-11-21 10:17:13 +08:00
dc92fe9c52 Create rule handler cloud run 2022-11-19 11:15:26 +08:00
075c1b4d14 Fix send notification failure 2022-11-18 17:43:21 +08:00
ecc217deef Fix test 2022-11-18 16:25:22 +08:00
06c30e4f40 Add notification cloud run 2022-11-18 16:13:49 +08:00
319d757f40 Fix test 2022-11-18 14:34:31 +08:00
e53d5036dc Add notification endpoint 2022-11-18 14:33:27 +08:00
fbe4c471cd Add pubsub subscription to trigger rule actions 2022-11-18 14:00:10 +08:00
66430a1e8b Fix test 2022-11-18 10:54:03 +08:00
50fe92ac85 Add setRule resolver 2022-11-17 18:53:05 +08:00
dabada68ff Add missing package 2022-11-17 18:40:56 +08:00
8008720712 Con't: store actions as a json in db 2022-11-17 16:22:16 +08:00
845e932d93 Store actions as a json in db 2022-11-17 16:21:43 +08:00
5d9b705be3 Fix issue where stripping classNames could cause a crash 2022-11-17 15:50:32 +08:00
23c527c345 Add rule entity 2022-11-17 15:04:44 +08:00
60027dd670 Add rules table migration sql 2022-11-17 14:50:57 +08:00
71348ab492 Remove trigger type in gql schema 2022-11-17 14:50:57 +08:00
775180d785 Add rules api gql schema 2022-11-17 14:50:57 +08:00
db4f225b5c Merge pull request #1426 from omnivore-app/fix/github-handler-titles
Use greedy matching on the GitHub title regex
2022-11-17 13:42:23 +08:00
44e4e080dd increase navigation timeout to 30 seconds 2022-11-17 11:28:46 +08:00
c18217e697 Fix logRecord being shared by requests 2022-11-17 11:28:46 +08:00
d9237723c5 Share puppeteer browser instance between content handlers 2022-11-17 11:28:46 +08:00
e866541ae1 Fix puppeteer launch in head mode 2022-11-17 11:28:46 +08:00
e75e49a7b4 Remove logging dependecies in puppeteer-parse 2022-11-17 11:28:26 +08:00
1b62ada73e Make overlay element an unlikelyCandidates and give player element positive score 2022-11-17 11:27:51 +08:00
13e925c503 Allow kaltura videos through in readablity 2022-11-17 11:27:51 +08:00
4ee5675e23 Add gdcvault parsing test-case 2022-11-17 11:27:51 +08:00
b3e73cd84b Add puppeteer-extra plugins 2022-11-17 11:27:51 +08:00
8bdbd86e97 Make headless = false in local testing 2022-11-17 11:27:51 +08:00
0d83ecb068 Use greedy matching on the GitHub title regex
This fixes issues with titles that have slashes (/) in their title
as the regex match would look for the last possible matching
slash.
2022-11-16 13:52:58 +08:00
c290aa2001 Revert "Add puppeteer-extra pluggins"
This reverts commit 0261cafb7a.
2022-11-16 10:55:56 +08:00
db8c9cf97d Add function-framework dependency 2022-11-16 10:52:07 +08:00
0261cafb7a Add puppeteer-extra pluggins 2022-11-16 10:37:14 +08:00
c8febe900f Fix prettier error 2022-11-16 10:34:52 +08:00
f39e65c159 Fix rebase error 2022-11-16 10:16:09 +08:00
c8575a203b Fix tests 2022-11-16 10:16:09 +08:00
177c69499b Replace logger.log with logger.info 2022-11-16 10:16:07 +08:00
b09fb4c037 Fix docker build 2022-11-16 10:15:49 +08:00
d6e687d5d1 Update env example 2022-11-16 10:15:49 +08:00
b18af10e75 Import puppeteer-parse in content-fetch 2022-11-16 10:15:49 +08:00
00fed8a0fb Remove content-fetch-gcf and create a Dockerfile for the cloud function 2022-11-16 10:15:49 +08:00
623bb8780c Call puppeteer module from content-fetch 2022-11-16 10:15:49 +08:00
63423751c6 Create a new service for gcf 2022-11-16 10:15:49 +08:00