Commit Graph

775 Commits (c21702218906a0f0a3c6c1322ae2725fb4738f9f)
 

Author SHA1 Message Date
Mike Lang 317d45f16d Manually specify upload locations that should be added to playlists
This lets us exclude some youtube locations (like unlisted),
and include non-youtube ones (like manual-youtube)
Mike Lang c18df50a7c monitoring: only request for services matching role
Mike Lang 463843668d segment-coverage: Render a monitoring page
ElementalAlchemist a39b69410f Fix waveform height letting the visible waveform get far away from the video
ElementalAlchemist ac5a015724 Prettify updates
ElementalAlchemist 6fc8710166 Fix breakage of the stream page
ElementalAlchemist 2508610b4e Default the initial range to the entire video
ElementalAlchemist 4886715f0d Fix issue with missing help box background
ElementalAlchemist e9a2ec0648 Fix inconsistent styling on ranges
ElementalAlchemist abafa0a925 Improve help text for new keyboard shortcuts
ElementalAlchemist ad6c79c854 Remove TODO and give a better "you're logged out" message to user
ElementalAlchemist 287d82feee Switch back to primary wubloader Google token
ElementalAlchemist 00ba7d5293 Run Prettier on all the files
ElementalAlchemist 42d2db5f50 Add prettier configuration
ElementalAlchemist 42bc9f932d Improve styling for adding ranges
ElementalAlchemist e91654dfc1 Implement video editing
ElementalAlchemist 4d7300fefa Remove unremoved TODO comment
ElementalAlchemist af0b3cc2ff Actually style the errors
ElementalAlchemist a949041ca8 Fix some issues with help box when resizing the window
ElementalAlchemist b35ce32659 Initial implementation of stream page
ElementalAlchemist be025e263f Minor standardization
ElementalAlchemist ae0e6d0385 Change default redirect from thrimbletrimmer dashboard to just thrimbletrimmer, and the reorganized files will make it make more sense
ElementalAlchemist e024a42166 Mess with the clock page, mostly to start getting my bearings (also to standardize the markup and code style)
Mike Lang 61f55d03fb thrimbletrimmer: Add waveform image below video
Mike Lang 3de44d6731 Add ability to render waveforms in restreamer
Mike Lang 4db8c8f61c thrimbletrimmer: undo bad refactor
Mike Lang 2865088692 thrimshim: Further validation of titles/descriptions
Youtube doesn't allow < or > characters, or extremely long descriptions.

Fixes , 
Mike Lang 7599681b6d yet another py3 map() issue
"hey i know lets make everything return an iterable but not update anything else to accept them"
Mike Lang 62bd6539ea Unpin gevent as that was a workaround for a py2 issue
Mike Lang 714a16bac4 thrimbletrimmer: Use template literals and other cleanup
Now that we've fixed the function declarations, prettier has also removed the semicolons on them
Mike Lang a69bee0548 thrimbletrimmer: Replace var with let/const and other related bits
Mike Lang 241d302220 thrimbletrimmer: Use "function NAME(...)" instead of "NAME = function (...)"
It's less confusing and more like other languages
Mike Lang ce73f7b0ea Auto-format JS files with prettier
Prettier is a tool for formatting JS files.
We add a minimal configuration to suit our purposes, and run it on all our JS files.

The main things this corrects is mixed tab and space indent issues (replacing fully with tabs),
overly long lines, inconsistent quote usage (prefers double-quotes instead), and missing semicolons.
Christopher Usher 6c97bd462e fixed integer division issues introduced by port to Python 3
Mike Lang e63aa53019 Remove left-over usage of encode_strings
More py3 breakage
Mike Lang 21856c68aa Fix all instances of file.write() for py3
In python 3, file.write() may do a partial write and returns the number of characters written.
In order to not lose data, we need to wrap every instance of file.write() with our new
common.writeall() wrapper that loops until the data is actually written.
Mike Lang a56f6859bb more py3 fixes
Mike Lang f2a8007bf7 Fix build dependency issues
Mike Lang 19f70b1d06 py3 fixes for segment_coverage
Mike Lang ac917409e4 Fix formatting issue in playlist manager
Mike Lang 7d4eb3c8db py3 fixes for backfiller
Mike Lang 8f24c2eae1 py3 fixes for sheetsync
Mike Lang d42d850153 thrimshim: misc cleanup
Mike Lang 9fad66c6be py3 fixes for restreamer
Mike Lang 6a98addac8 py3 fixes for downloader
Mike Lang 50231a5154 py3 fixes for cutter
Mike Lang 3e69000058 py3 fixes for common
Mike Lang d03ae49eec Remove defunct "smart cut" method
This was an alternate way of doing a cut that turned out to work exactly the same as a fast cut,
just with a more complex implementation.
HubbeKing 6d790a1b36 Do a first naive pass for py3 compatibility
Check that open() calls for reading and writing use binary modes
Use alpine version with py3-pip package
Use python3 in Dockerfile CMD
Remove sys.setdefaultencoding() "hack"
Simplify ensure_directory() in common.common package
Mike Lang f0546e2ee3 Pin gevent to 1.5a2 to avoid https://github.com/gevent/gevent/issues/1711