Commit Graph

75 Commits (a34af372d00dee93951ffaf5944d99452d8cb324)

Author SHA1 Message Date
Mike Lang a34af372d0
thrimbletrimmer: Validate chapter titles are ascii only
We are not sure what characters are allowed in chapter titles.
Emoji seem to be disallowed. It is unknown whether things like accents or smart quotes are allowed.
To be conservative, we warn if there are any non-ascii characters in the chapter title.
Mike Lang cb144866a6 Change wording of "submit anyway" button when saving a draft
ElementalAlchemist 0f1d125413
Fix jumping to the first chapter marker location ()
ElementalAlchemist 179f06b413
Fix loading Thrimbletrimmer and defaulting initial chapter time ()
ElementalAlchemist d979b40d9f Make the first chapter marker uneditable and tie it to the first range start time
This is a more usable enforcement of the requirement that YouTube enforces for the first chapter to be at the exact beginning of the video.
ElementalAlchemist 8382e90659 Highlight the chapter description field as an error if it contains angle brackets
ElementalAlchemist f5c171f5ca Fix formatting
ElementalAlchemist d2bcff3ffd Avoid disabling the force reset row buttons on videos that are still transcoding
ElementalAlchemist d2f95bea20 Fix jump to buttons not working on videos that were already submitted
ElementalAlchemist 8648ad52ee Properly handle when video or just metadata can be edited
ElementalAlchemist 2ddf2f8426 Stop adjusting/breaking chapters when range times change
ElementalAlchemist 766b4d111d Confirm leaving when changes are made or confirmation needs to take place
ElementalAlchemist dd747416e0 Sort thumbnails in editor
This sorts the thumbnail by name.
ElementalAlchemist 3ddbbfd31d Sort chapter markers within each range
ElementalAlchemist 6382fd259b Prevent cut modifications when a video that was already uploaded is being modified
ElementalAlchemist 5158328888 Fix initial state of thumbnail data UI
ElementalAlchemist 797a36eaab Fix updating custom thumbnail images
ElementalAlchemist 0cad481cea Add support for CLEARCHAT clearing the entire chat
ElementalAlchemist 832a0264bb Frontload the chat time display calculation
The chat time display calculation is also done in a worker to prevent stalling. Since we do the calculation on load, the stalling that is prevented would happen when loading the page.
ElementalAlchemist 3710d9410a Fix indentation style
Mike Lang 834edf2701
Don't show a template option for non-png files ()
Each template now has two files, a `.png` and a `.json`. This is currently making them show up twice.
To fix this, we only consider files which end in `.png`.

We do this in the backend so the frontend doesn't need to know about it.
ElementalAlchemist dd4bf320cd Fix changing editor times breaking chat display
ElementalAlchemist d44bbe3440 Add missing tooltips for video range icons
ElementalAlchemist 131d248251 Add display for abbreviated YouTube titles
ElementalAlchemist 6b255f5018 Add jump to chapter marker functionality
ElementalAlchemist ea0729cbd6 Show system messages (raids, subscriptions, etc.) in the chat replay
ElementalAlchemist dc4e7f0835 Implement chat transcript for editor and chat replay for restreamer page
ElementalAlchemist 8c872f6999 Add image preview generation
ElementalAlchemist 9fa898d5aa Fix doing the time conversion before the data required for the time conversion is loaded
ElementalAlchemist 0e787677a0 Load thumbnail data for video
ElementalAlchemist 64f0ac714f Set up thumbnail editing with data plumbing through
Mike Lang adb6e2ae10 thrimbletrimmer: Add button to download current frame
It always uses source quality and downloads as a PNG.

We use the browser.downloads api to construct the URL on demand.

Note we might not always get the exact right frame in 60fps streams,
we might get one before or after (and "frame seek" in the editor skips 2 frames in this case).
Mike Lang ffae321d04 editor: Make public checkbox "unlisted" instead, with negated meaning
less confusing
Mike Lang bd948235fb thrimbletrimmer: Add advanced submission option for "public" videos
Note that the default is true, so we only expand the advanced pane if it's false.
False corresponds to uploading a video as "unlisted".

Also mark it as modifyable.
Mike Lang ac6612fb85 Add ability to submit video as MODIFIED to thrimbletrimmer
ElementalAlchemist a942af9cb4 When padding video in editor, maintain video playback position in the same spot when possible
ElementalAlchemist e515c448eb Fix loading chapter marker setting when loading a saved draft edit
ElementalAlchemist 965a3dfbd3 Fix range removal
ElementalAlchemist ac79206ba0 Don't reload when canceling or resetting
ElementalAlchemist d635a7941c Add support for generating chapter markers in the video description
ElementalAlchemist e2fb245da2 Correctly handle padding of range times when padding video load time over holes
ElementalAlchemist 0709082af7 Show a confirmation dialog when closing the page while a submission is still pending
ElementalAlchemist c1e20de813 Fix loading videos with no end time
ElementalAlchemist 75e0ba56ae Fix error when loading a new playlist (when fragments aren't yet loaded by hls.js)
ElementalAlchemist f7c9eb5e5b Fix incorrect variable reference
ElementalAlchemist c44da044a8 Make the waveform clearer/more useful at larger resolutions by requesting a larger waveform image
ElementalAlchemist 497c975e3e Implement custom video controls for the new player (so we can better control styling)
ElementalAlchemist e2487f61c0 Fix interpretation of times located in a hole in the video segments
ElementalAlchemist 5a9f4502c2 Set default time zone for Luxon instead of setting the time zone on each DateTime object
ElementalAlchemist 0340f06170 Initial transition from VideoJS to HLS.js as the video player