Commit graph

1921 commits

Author SHA1 Message Date
Hongbo Wu
f5780bd4e6 Use Record type in rows in TableProps 2022-06-02 18:41:54 +08:00
Hongbo Wu
35b4e07d16 Use Record type in rows in TableProps 2022-06-02 18:41:26 +08:00
Hongbo Wu
56f28bcd14 Replace FormInput with input component 2022-06-02 18:40:26 +08:00
Hongbo Wu
c18b41f184 Set default enabled=false 2022-06-02 12:46:31 +08:00
Hongbo Wu
29797829b4 Add enabled input field in form 2022-06-02 12:32:13 +08:00
Hongbo Wu
5ebb0d939a Add edit webhook modal 2022-06-02 11:04:17 +08:00
Hongbo Wu
353aa6256f Update FormModal style 2022-06-02 11:03:38 +08:00
Hongbo Wu
1b024214fe Add get webhook query in web 2022-06-02 11:02:57 +08:00
Hongbo Wu
36c5a548d1 Update Table's edit & delete button style 2022-06-02 10:59:05 +08:00
Hongbo Wu
7c926f4ae4 Add webhook adding modal 2022-06-01 22:28:46 +08:00
Hongbo Wu
56c4f5f2de Add formModal 2022-06-01 22:04:58 +08:00
Hongbo Wu
c83f9290e6 Add setWebhook mutation 2022-06-01 21:08:13 +08:00
Hongbo Wu
4b4783b9b5 Add Webhook component 2022-06-01 18:44:10 +08:00
Hongbo Wu
545d944ffd Add get webhooks query 2022-06-01 18:43:43 +08:00
Hongbo Wu
2094ffe6b2 Adjust subscriptions to adapt to the new Table component 2022-06-01 18:43:26 +08:00
Hongbo Wu
48bd56be82 Update Table component to read rows as a map 2022-06-01 18:43:03 +08:00
Hongbo Wu
74054cbdbd
Merge pull request #716 from omnivore-app/api-token
Api tokens
2022-05-31 14:22:23 +08:00
Satindar Dhillon
ac3a83ffb5
Merge pull request #718 from omnivore-app/propagate-pdf-save-errors
Propagate pdf save errors
2022-05-28 07:53:47 -07:00
Satindar Dhillon
b312b6f00b bump ios to 1.8.0 2022-05-28 07:53:12 -07:00
Hongbo Wu
c0bb67a6b5 Verify api key for routers too 2022-05-28 22:00:01 +08:00
Satindar Dhillon
2918cbcdf5 fetch pdf data only if it's missing from LinkedItem 2022-05-27 10:44:08 -07:00
Satindar Dhillon
c08c710601 set pdf state to success even if download has not completed 2022-05-27 10:26:37 -07:00
Satindar Dhillon
26a5b5dae1 handle pdf fetch errors properly 2022-05-27 10:26:37 -07:00
Satindar Dhillon
9b9191b6b1 clear core data when switch env 2022-05-27 10:26:37 -07:00
Jackson Harper
987336f438
Merge pull request #712 from omnivore-app/fix/ios-pdf-handling
Better PDF upload handling on iOS
2022-05-27 08:43:07 -07:00
Hongbo Wu
c61b46b905
Merge pull request #717 from omnivore-app/fix/webhook-table-permission
Grant permissions of webhooks table to omnivore_user
2022-05-27 22:05:11 +08:00
Hongbo Wu
6e16631f3b Resolve conflicts 2022-05-27 18:37:10 +08:00
Hongbo Wu
fa9c5b3efe Add test for list api keys 2022-05-27 18:36:18 +08:00
Hongbo Wu
b7206457b4 Add test for revoke api key 2022-05-27 18:36:17 +08:00
Hongbo Wu
b77b378221 Grant permissions of api_key table to omnivore_user 2022-05-27 18:35:40 +08:00
Hongbo Wu
0f2a55d274 Add list/delete api key resolver 2022-05-27 18:35:38 +08:00
Hongbo Wu
fd4fc8a4e7 Add list/delete api key in schema 2022-05-27 18:34:36 +08:00
Hongbo Wu
333b0259ba Fix tests 2022-05-27 18:33:49 +08:00
Hongbo Wu
9051a3f43a Update api key validation 2022-05-27 18:33:49 +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
5bb720c54d
Merge pull request #709 from omnivore-app/webhook
Webhook
2022-05-27 13:02:17 +08:00
Jackson Harper
4376124028 Regenerate GQL, set createPageEntry when uploading files 2022-05-26 21:51:22 -07:00
Jackson Harper
0cabd26344 Dont send the normalized URL to the content-fetch service
URLs need to be sent to contentFetch exactly as they
were received, this is because many apps will use signed URLs
for PDFs being served from GCP or AWS. A signed URL needs to
keep all its query params in the same order to validate.
2022-05-26 21:40:40 -07:00
Jackson Harper
93b095818d Linting fixes 2022-05-26 21:40:40 -07:00
Jackson Harper
cb98a9cf86 Make clients opt into creating a page when uploading a file 2022-05-26 21:40:40 -07:00
Jackson Harper
c3096e5dfe Better PDF upload handling on iOS
Three main changes here:
- If a PDF isn't a local file, dont try to download and then
  upload it to the backend. Just treat it as a URL.

- If we are passed PDF data by an app like Files, upload it.

- Wrap the whole operation in a Background task so its not
  killed if the user taps dismiss during the upload of larger
  documents.
2022-05-26 21:40:40 -07:00
Satindar Dhillon
a9b70e12e3
Merge pull request #714 from omnivore-app/subscriptions-modal
Subscriptions Screen [iOS]
2022-05-26 15:12:19 -07:00
Satindar Dhillon
a854ba88bc show snackbar message after unsubscibing 2022-05-26 14:54:47 -07:00
Satindar Dhillon
313b7c2ff0 update subscription cell UI 2022-05-26 12:33:43 -07:00
Jackson Harper
5fc977a585
Merge pull request #692 from omnivore-app/dependabot/npm_and_yarn/ts-loader-9.3.0
Bump ts-loader from 8.3.0 to 9.3.0
2022-05-26 12:31:04 -07:00
Satindar Dhillon
6e6f1f9c71
Merge pull request #711 from omnivore-app/ios-cell-updates
iOS cell updates
2022-05-26 09:17:15 -07:00
Satindar Dhillon
b65b104ce9 send delete subscription call to server 2022-05-26 09:11:24 -07:00
Satindar Dhillon
0daf97f312 create subscription cell 2022-05-26 08:48:15 -07:00