Commit graph

3071 commits

Author SHA1 Message Date
Hongbo Wu
85d8816e1e Replace li element with a sentence element when converting HTML to SSML 2022-08-22 12:39:06 +08:00
Hongbo Wu
dba749c506 Fix some articles not converted to speech correctly 2022-08-20 00:11:46 +08:00
Hongbo Wu
a058c7c4ab
Merge pull request #1106 from omnivore-app/fix/revet-apollo-upgrade
Revert the apollo upgrade
2022-08-19 16:45:33 +08:00
Jackson Harper
745576bd5d Revert the apollo upgrade 2022-08-19 16:23:11 +08:00
Hongbo Wu
31382a8b8e
Merge pull request #1104 from omnivore-app/fix/update-label-script-exception
Fix getting script_exception when updating labels in highlights by checking null before updating
2022-08-19 15:35:55 +08:00
Jackson Harper
6246567d16
Merge pull request #1098 from omnivore-app/dependabot/npm_and_yarn/apollo-server-core-3.10.1
Bump apollo-server-core from 3.10.0 to 3.10.1
2022-08-19 15:24:51 +08:00
Hongbo Wu
0a75c52a8c Fix getting script_exception when updating labels in highlights by checking null before updating 2022-08-19 14:36:58 +08:00
Hongbo Wu
3b6cf4d4c2
Merge pull request #1102 from omnivore-app/fix/tts-backend
Save correct mp3 and speech marks file name in the database
2022-08-19 13:57:48 +08:00
Jackson Harper
fec6a03945
Merge pull request #1100 from omnivore-app/fix/1092
Fix/1092 - Semi Bold font for Menu Items
2022-08-19 13:26:45 +08:00
Jackson Harper
bd393119b8
Merge pull request #1099 from omnivore-app/fix/1091
Fix: 1091 - Add padding on the left of the menu
2022-08-19 13:25:22 +08:00
Jackson Harper
26d47f7c92
Merge pull request #1082 from omnivore-app/feature/ios-text-to-speech
WIP: iOS UX and Audio Sessions for TTS
2022-08-19 13:23:16 +08:00
Satindar Dhillon
873fb601fd compare item id with downloaded item id before playing 2022-08-18 19:53:42 -07:00
Hongbo Wu
9906e2153b Save correct mp3 and speech marks file name in the database 2022-08-19 10:04:13 +08:00
Rupin Khandelwal
0a9d4a472f Fix/1092 - Semi Bold font for Menu Items 2022-08-18 16:55:04 -05:00
Rupin Khandelwal
e016da47de Fix: 1091 Added padding on the left menu 2022-08-18 16:44:02 -05:00
dependabot[bot]
e3491e7ea9
Bump apollo-server-core from 3.10.0 to 3.10.1
Bumps [apollo-server-core](https://github.com/apollographql/apollo-server/tree/HEAD/packages/apollo-server-core) from 3.10.0 to 3.10.1.
- [Release notes](https://github.com/apollographql/apollo-server/releases)
- [Changelog](https://github.com/apollographql/apollo-server/blob/main/CHANGELOG.md)
- [Commits](https://github.com/apollographql/apollo-server/commits/apollo-server-core@3.10.1/packages/apollo-server-core)

---
updated-dependencies:
- dependency-name: apollo-server-core
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-08-18 19:48:41 +00:00
Hongbo Wu
339be5304f
Merge pull request #1066 from omnivore-app/feature/tts-backend
feature/tts backend
2022-08-18 21:31:07 +08:00
Hongbo Wu
530464f54d Fix tests 2022-08-18 21:29:35 +08:00
Hongbo Wu
a1171c7952 Catch authentication error 2022-08-18 19:24:38 +08:00
Hongbo Wu
576318fcbe Add authentication to speech svc endpoint 2022-08-18 19:24:38 +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
4cf5b934eb Add validation to request params 2022-08-18 19:24:38 +08:00
Hongbo Wu
29061cf7b1 Remove &nbsp in SSML 2022-08-18 19:24:38 +08:00
Hongbo Wu
a4a8fa9241 Replace emphasis elements in HTML 2022-08-18 19:24:38 +08:00
Hongbo Wu
c79651202d Add synthesize SSML to speech and test 2022-08-18 19:24:38 +08:00
Hongbo Wu
dee94f7c93 Fix a bug for converting text to speech for articles with less than 5000 characters 2022-08-18 19:24:38 +08:00
Hongbo Wu
19b13d164d Fix a bug not getting user personalization 2022-08-18 19:24:38 +08:00
Hongbo Wu
83c1930378 Split text into chunks of 5000 characters in paragraph 2022-08-18 19:24:38 +08:00
Hongbo Wu
c9d26acb25 Fix typo 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
c482ad320b Add duration in logging 2022-08-18 19:24:38 +08:00
Hongbo Wu
b0bf4fc5ce Create speech while requesting 2022-08-18 19:24:38 +08:00
Hongbo Wu
301746d494 Add /:id/mp3 router to redirect request to speech MP3 URL 2022-08-18 19:24:38 +08:00
Hongbo Wu
c74f2bc3fd Enqueue text to speech task after creating article 2022-08-18 19:24:38 +08:00
Hongbo Wu
447e413605 Add function to parse HTML to SSML 2022-08-18 19:24:38 +08:00
Hongbo Wu
def8f28138 Add Azure Speech Service dependencies 2022-08-18 19:24:38 +08:00
Hongbo Wu
355e33b648 Test Mandarin 2022-08-18 19:24:38 +08:00
Hongbo Wu
e086a14ac2 Convert time to ms 2022-08-18 19:24:38 +08:00
Hongbo Wu
77570aa5ab Synthesize text to speech with azure API 2022-08-18 19:24:36 +08:00
Hongbo Wu
94f9dd9e6e Enqueue text to speech tasks 2022-08-18 19:23:41 +08:00
Hongbo Wu
4b42d013ca Convert text to OGG file 2022-08-18 19:23:41 +08:00
Hongbo Wu
0419472c2e Upload audio file with public access right 2022-08-18 19:23:41 +08:00
Hongbo Wu
dd332f5ee6 Add tests 2022-08-18 19:23:41 +08:00
Hongbo Wu
bca0f5ed59 Create Amazon Polly text to speech integration 2022-08-18 19:23:41 +08:00
Jackson Harper
2e48762312
Merge pull request #1095 from omnivore-app/feat/library-headline-font
Use bold on the new library headline font
2022-08-18 13:03:53 +08:00
Jackson Harper
3b0bbeb760 Dont have a maxwidth on colours dropdown, it needs a little more space with our new fonts 2022-08-18 12:37:37 +08:00
Jackson Harper
6a00f0b8c5 Revert the react dropdown menu upgrade, it broke all our menus 2022-08-18 12:35:21 +08:00
Jackson Harper
f6cdfaf8c9 Use bold on the new library headline font 2022-08-18 11:51:29 +08:00
Jackson Harper
0eda66652e
Merge pull request #1090 from omnivore-app/fix/1076
Added CSS to make Menu scrollable
2022-08-18 11:43:44 +08:00