Commit Graph

48 Commits

Author SHA1 Message Date
broquemonsieur fa50e5dff6
Merge branch 'iv-org:master' into main 2023-10-08 17:26:55 +00:00
ChunkyProgrammer e3c365f3d6 Add support for post page 2023-09-18 20:10:41 -04:00
broquemonsieur 0d968a320f Remove LOGGER statements 2023-09-07 23:33:07 -07:00
broquemonsieur f48083da33 Add end marker continuation utility 2023-09-07 23:33:07 -07:00
broquemonsieur 510d85c045 Query DB for timestamps after current id 2023-09-07 23:33:07 -07:00
broquemonsieur 472a2d7e76 Use markers to implement timestamps 2023-09-07 23:33:07 -07:00
broquemonsieur 8c15c1e8cc Add migration table for compilations 2023-09-07 22:18:16 -07:00
Chunky programmer 45cc835694 Comments: Don't break JavaScript when loading more 2023-06-07 17:39:35 -04:00
meow d3ab4a5145 JS. Trailing spaces removed 2022-06-05 20:54:48 +03:00
meow b72b917af2 handled invalid values in storage
partial rewrite notifications.js
innerText to textContent
fixed bug with clamping
2022-05-21 13:35:41 +03:00
meow fd66084388 js code rewrite. Themes rewritten, bugs fixed 2022-05-15 08:38:46 +03:00
meow 7dd699370f js code rewrite. Created _helpers.js with XHR and storage wrapper 2022-05-06 04:46:59 +03:00
meow 3431a1b1de `console.warn` and `info` instead of `log` 2022-04-25 12:54:32 +03:00
meow cdd5a9e935 replace huphen-minus to real minus 2022-04-25 12:54:30 +03:00
meow c4cc50ca39 replace innerHTML to safer textContent where possible 2022-04-25 12:54:30 +03:00
meow 9b09d369d9 add variable declarations 2022-04-25 12:54:25 +03:00
meow 12ab11413f fix double variable declaration 2022-04-25 10:17:15 +03:00
meow 38ef0b10e7 eqeqeq 2022-04-25 10:14:24 +03:00
meow c72d3c4a0e semicolons 2022-04-25 10:13:00 +03:00
meow eb7e48b059 use strict 2022-04-25 10:12:16 +03:00
diogo f13fb80b42
scroll the nextVideo into the top 2021-10-11 23:43:41 +02:00
Andrew Zhao 89fd35e02d fix comment replies 2021-03-20 00:43:12 -04:00
Andrew Zhao 5a08dfa72f fix incorrect use of setinterval in js 2021-01-10 17:05:08 -05:00
saltycrys 680dc1f962 Shuffle URL params
The `list` and `index` params are the most important and come first now.
2020-12-08 02:30:48 +01:00
leonklingele 70cbe91776
Migrate to a good Content Security Policy (#1023)
So attacks such as XSS (see [0]) will no longer be of an issue.

[0]: https://github.com/omarroth/invidious/issues/1022
2020-03-15 16:46:08 -05:00
Omar Roth 23ccaea2ff
Fix comment event listener 2019-10-18 12:44:11 -04:00
Omar Roth be055d9dcb
Add support for custom playlists 2019-10-15 21:17:14 -04:00
leonklingele e6b4e12689 js: add support for keydown events (#678)
* js: add support for keydown events

This will modify the player behavior even if the player element is unfocused.

Based on the YouTube key bindings, allow to

- toggle playback with space and 'k' key
- increase and decrease player volume with up / down arrow key
- mute and unmute player with 'm' key
- jump forwards and backwards by 5 seconds with right / left arrow key
- jump forwards and backwards by 10 seconds with 'l' / 'j'  key
- set video progress with number keys 0–9
- toggle captions with 'c' key
- toggle fullscreen mode with 'f' key
- play next video with 'N' key
- increase and decrease playback speed with '>' / '<' key

* js: remove unused dependency 'videojs.hotkeys.min.js'

Support for controlling the player volume by scrolling over it is
still retained by copying over the relevant code part from the
aforementioned library.
2019-08-16 16:01:14 -05:00
Omar Roth d034fecc89
Remove default arguments from function definitions 2019-07-20 20:33:44 -05:00
Omar Roth 17edfd6573
Shorten timeout for AJAX 2019-06-16 12:55:17 -05:00
Omar Roth 552f616305
Fix retry on timeout for AJAX requests 2019-06-15 10:09:32 -05:00
Omar Roth 8c944815bc
Minor refactor 2019-06-07 21:13:50 -05:00
Omar Roth efd54b7523
Add 'comments' as URL parameter 2019-05-29 14:24:30 -05:00
Omar Roth de77c71042
Add "local" to "next video" URLs 2019-05-27 12:16:22 -05:00
Omar Roth 7d2e1f63b5
Refactor watched_widget.js 2019-05-16 20:51:17 -05:00
Omar Roth e833ccf309
Fix comments for age-restricted videos 2019-05-14 08:18:57 -05:00
Omar Roth 058711d3a8
Refactor player.js 2019-05-06 11:23:14 -05:00
Omar Roth 2faa2ed1f4
Refactor watch.js 2019-05-06 09:48:33 -05:00
Omar Roth 1a9360ca75
Minor formatting changes 2019-05-01 20:03:39 -05:00
Omar Roth 1692f7640c Remove JS from download widget 2019-02-24 11:04:46 -06:00
Omar Roth f8467fcda6 Fix locale text for "Show replies" 2019-02-16 14:26:08 -06:00
Omar Roth c0fdc28a84 Fix colors and data-url in download widget 2019-01-27 21:20:52 -06:00
Omar Roth 1a9057a175 Add fix to download widget for titles with unescaped characters 2019-01-24 00:01:56 -06:00
Omar Roth 08e8d0f56f Fix typo in default.css 2019-01-23 19:25:09 -06:00
Omar Roth fb535ad6bb Add download widget 2019-01-23 19:05:24 -06:00
Omar Roth 3ee7201f5d Comma seperate comment scores 2018-10-20 13:52:06 -05:00
Omar Roth 57d88ffcc8 Fix fallback for comments 2018-10-15 11:15:23 -05:00
Omar Roth f7125c1204 Move watch page JS into seperate file 2018-10-06 22:20:40 -05:00