Rob Watson
97df19379c
WIP: Go 1.18
2022-01-04 08:13:20 +01:00
Rob Watson
33ee9645e7
Update backend dependencies
continuous-integration/drone/push Build is passing
Details
2022-01-04 06:57:28 +01:00
Rob Watson
6cb462f769
Add test coverage for getVideoFromYoutube flow
continuous-integration/drone/push Build is passing
Details
2022-01-04 06:51:25 +01:00
Rob Watson
932648a44b
Add test coverage for getVideoFromFileStore flow
continuous-integration/drone/push Build is passing
Details
2022-01-03 21:01:17 +01:00
Rob Watson
12e6e73976
Remove extraenous line
continuous-integration/drone/push Build is passing
Details
2022-01-03 18:54:03 +01:00
Rob Watson
66c65694ae
Add test coverage for getAudioFromYoutube flow
continuous-integration/drone/push Build is passing
Details
2022-01-03 18:44:19 +01:00
Rob Watson
176a1cd8c1
Revert "FileStore.PutObject: Accept io.ReadCloser"
...
This turned out to actually make testing more difficult, as the
FileStore objects are generally mocked themselves and moving the Close()
call inside them introduced IO problems in the test suite.
This reverts commit a063f85eca
.
2022-01-03 13:32:39 +01:00
Rob Watson
a063f85eca
FileStore.PutObject: Accept io.ReadCloser
...
continuous-integration/drone/push Build is passing
Details
Accepting a ReadCloser in place of a Reader allows the FileSystem
implementation to handle closing the reader, which in turn simplifies
downstream code.
2022-01-03 09:57:49 +01:00
Rob Watson
9ef4cc5853
Fix flaky test
continuous-integration/drone/push Build is passing
Details
2021-12-31 19:53:46 +01:00
Rob Watson
4e4201f7d2
Add test coverage for getPeaksFromFileStore flow
continuous-integration/drone/push Build is passing
Details
2021-12-31 19:25:55 +01:00
Rob Watson
2b1a668c9d
Add GetAudioSegment flow
continuous-integration/drone/push Build is passing
Details
2021-12-29 16:41:43 +01:00
Rob Watson
dd526b6916
Extract ModuloReader from service.go
continuous-integration/drone/push Build is passing
Details
2021-12-17 17:52:59 +01:00
Rob Watson
2445ebc02f
Rename gRPC endpoints and service methods.
...
- GetAudio > GetPeaks
- GetAudioSegment > GetPeaksForSegment
2021-12-17 17:30:53 +01:00
Rob Watson
57516c738e
Add staticcheck to CI steps
continuous-integration/drone/push Build is passing
Details
2021-12-13 21:30:37 +01:00
Rob Watson
4ef5dc4189
Add test coverage for filestore package
continuous-integration/drone/push Build is passing
Details
2021-12-13 21:13:11 +01:00
Rob Watson
c8de6643e8
Remove S3 bucket columns from media_sets table
...
continuous-integration/drone/push Build is passing
Details
Re: #5
2021-12-13 04:29:02 +01:00
Rob Watson
37a74e218f
Rename migrations to use default time format
2021-12-13 04:29:02 +01:00
Rob Watson
fb3a497119
Add base URL to serve file system store objects over HTTP
2021-12-09 04:05:34 +01:00
Rob Watson
13224f75ea
Rename HTTP base path to HTTP root
2021-12-09 03:38:38 +01:00
Rob Watson
4168cb150c
Add FileSystemStore file store
2021-12-08 20:58:13 +01:00
Rob Watson
f2d7af0860
Extract S3 code to S3FileStore
...
Re: #5
2021-12-07 20:58:11 +01:00
Rob Watson
468ddf4e9a
Add benchmark for MediaService.GetAudioSegment
2021-12-06 18:40:02 +01:00
Rob Watson
6d8b1beba7
Add test coverage for MediaService.GetAudioSegment
2021-12-05 20:05:58 +01:00
Rob Watson
935c2add2a
Add generated code to Git
2021-12-05 11:56:33 +01:00
Rob Watson
896e524363
Add README and LICENSE files
2021-12-04 06:26:30 +01:00
Rob Watson
0cc1fd8272
Frontend fixes
2021-12-02 15:55:14 +01:00
Rob Watson
b3bc63621a
Add types.go, small refactor and tidy
2021-11-29 16:06:43 +01:00
Rob Watson
1552fc19a1
Send presigned encoded audio URL to the frontend
2021-11-29 15:55:11 +01:00
Rob Watson
be42d452d6
Update database with encoded audio metadata
2021-11-29 14:59:05 +01:00
Rob Watson
c3da27ca49
Refactor audio fetching logic
2021-11-29 12:46:33 +01:00
Rob Watson
817a10d269
Move TLS config to Server struct
2021-11-26 20:01:34 +01:00
Rob Watson
abf5398d24
Allow configuration of BindAddr and TLS certs
2021-11-26 17:22:25 +01:00
Rob Watson
4c999cd5a2
Configure backend to serve assets over HTTP
2021-11-26 05:11:49 +01:00
Rob Watson
0d2fcfc9ff
Update error type for pgx package
2021-11-25 20:35:51 +01:00
Rob Watson
2d9f2d80b2
pgx: Configure pgxpool
2021-11-23 16:16:00 +01:00
Rob Watson
4580915c3c
Migrate libpq > pgx
2021-11-23 13:20:56 +01:00
Rob Watson
be39f151c7
Fix typo in config.go
2021-11-22 21:39:23 +01:00
Rob Watson
61171b00af
Replace log package with zap.Logger
2021-11-22 21:35:51 +01:00
Rob Watson
b643ea2824
Add config package
2021-11-22 19:26:51 +01:00
Rob Watson
e7c76d0c6b
Delete obsolete file
2021-11-22 19:21:43 +01:00
Rob Watson
7eef0b6e25
Fixes uploaded to sort completedParts before completing the upload
2021-11-22 18:54:31 +01:00
Rob Watson
f91a84b7eb
Update go.mod
2021-11-21 21:17:36 +01:00
Rob Watson
2f7aae1d6e
Add video thumbnail support
2021-11-21 20:43:40 +01:00
Rob Watson
4afec11074
Get video from Youtube, send progress via gRPC
2021-11-21 16:09:30 +01:00
Rob Watson
542080e400
Implement GetAudioSegment, add panic recovery handler
2021-11-21 16:09:30 +01:00
Rob Watson
8794b42459
ModuloReader: handle zero reads from inner reader
2021-11-21 16:09:30 +01:00
Rob Watson
47e3e47216
Fix logic error in ModuloBufReader
2021-11-21 16:09:30 +01:00
Rob Watson
911de4438b
Add basic logging support
2021-11-21 16:09:30 +01:00
Rob Watson
fec542ee62
Tidy
2021-11-21 16:09:30 +01:00
Rob Watson
cd2686a5b2
Remove unused youtube module
2021-11-21 16:09:30 +01:00