Ronald Langeveld
4407e8e49e
🐛 Added undefined
error handling to failed uploads ( #15982 )
...
fixes https://github.com/TryGhost/Team/issues/2320
- Adds error handling when undefined objects are passed to certain upload
functions such as `videoUploadCompleted`.
2023-03-01 16:50:56 +08:00
Kevin Ansfield
a2f0ccc981
Added audio/x-m4a
to allowed mime types in audio card
...
refs b12400577a
- additional mime type was added to the API's allowed list but was missed in Admin's allowed list
2022-09-14 09:04:58 +01:00
Gabriel Csapo
d51f2bcf23
[chore] migrate to eslint@8 and run --fix ( #2256 )
...
closes https://github.com/TryGhost/Admin/pull/2107
- updated related babel dependencies
- bumped eslint
- ran `yarn lint:js --fix`
- added eslint ignore comments for some required non-camel-case properties
2022-02-10 10:41:36 +00:00
Kevin Ansfield
8cc4c6c4a1
Dropped ember-concurrency-decorators dependency
...
no issue
- since `ember-concurrency@2.0` it's possible to use the standard imports as decorators removing the need for the extra `ember-concurrency-decorators` dependency and imports
2022-02-09 10:49:38 +00:00
Sanne de Vries
21a1b3a1aa
🐛 Fixed audio file duration missing digit in editor
...
Closes https://github.com/TryGhost/Ghost/issues/13894
2021-12-16 09:17:45 +01:00
Naz
575623f5be
Added support for additional wav MIME types
...
refs f882ebc58e
refs https://github.com/TryGhost/Toolbox/issues/95
- The `audio/x-wav`, `audio/wav`, and `audio/wave` are also commonly used MIME types for the .wav files.
2021-12-16 11:11:43 +04:00
Rishabh
48e64a47be
Updated thumbnail replace for audio card with thumbnail delete option
...
refs https://github.com/TryGhost/Team/issues/1230
- allowing users to delete the thumbnail and upload another is a better flow as it allows removing a thumbnail as well if not needed
2021-12-13 16:10:29 +05:30
Rishabh
ee639625ad
Cleaned up audio card file
...
refs https://github.com/TryGhost/Team/issues/1230
2021-12-10 17:25:55 +05:30
Rishabh
dd8e770692
Updated audio card allowed extensions and payload
...
refs https://github.com/TryGhost/Team/issues/1230
- cleans up allowed payload attributes for audio card
2021-12-10 01:22:05 +05:30
Rishabh
997862cf58
Allowed creating audio card directly on file drop in editor
...
refs https://github.com/TryGhost/Team/issues/1230
2021-12-09 20:30:28 +05:30
Rishabh
f37c0f91d4
Added metadata extraction for audio file in card
...
refs https://github.com/TryGhost/Team/issues/1230
- extracts audio duration and mimeType metadata for uploaded file
2021-12-09 13:12:45 +05:30
Rishabh
4df58bb022
Fixed thumbnail replace not working on drop for audio cards
...
refs https://github.com/TryGhost/Team/issues/1230
2021-12-09 00:08:43 +05:30
Rishabh
e2db69d265
Updated file name handling for audio card
...
refs https://github.com/TryGhost/Team/issues/1230
- adds a method to prettify filename from the audio file
- cleanup
2021-12-08 17:17:47 +05:30
Rishabh
3889163c8e
Fixed caching of audio thumbnail when replaced
...
refs https://github.com/TryGhost/Team/issues/1230
- when updating a thumbnail for audio card, the thumbnail url doesn't change as its tied to the audio src. this can cause the old thumbnail to show in frontend due to browser caching
- this change adds a cache busting param at the end of url for each thumbnail upload, thus bypassing cache and showing the right thumbnail
2021-12-07 18:15:35 +05:30
Rishabh
e0eff4436c
Updated audio card with basic upload behavior
...
refs https://github.com/TryGhost/Team/issues/1230
- adds thumbnail upload on audio card
- cleans up card design in edit mode
2021-12-01 14:34:40 +05:30
Rishabh
a45e345a95
Added basic version for audio card UI
...
refs https://github.com/TryGhost/Team/issues/1230
- adds basic audio card edit mode UI with upload functionality
2021-11-30 13:52:14 +05:30
Rishabh
0f460a646b
Fixed lint
2021-11-19 19:41:02 +05:30
Rishabh
3b49732cbb
Added first pass of upload cards
...
refs https://github.com/TryGhost/Team/issues/1229
refs https://github.com/TryGhost/Team/issues/1230
refs https://github.com/TryGhost/Team/issues/1231
2021-11-19 19:34:17 +05:30