Commit Graph

2805 Commits (a027fbf7af1f96dc26fe5a610525ae52bcc40c28)
 

Author SHA1 Message Date
syeopite a027fbf7af
Rewrite extract_item and extract_items functions
This commit completely rewrites the extract_item and extract_items
function. Before this commit these two function were an unreadable
mess. The extract_item function was a lengthy if-elsif chain
while the extract_items function contained an incomprehensible
mess of .try, else and ||.

With this commit both of these functions have been pulled into a
separate file with the internal logic being moved to a few classes.

This significantly reduces the size of these two methods, enhances
readability and makes adding new extraction/parse rules much simpler.

See diff for details.
4 years ago
syeopite 48a518b252
Add check for empty chan category in featured chan 4 years ago
syeopite 55762f0c2c
Use responsive pure css grids in about.ecr 4 years ago
syeopite 8a9b3a19a2
Add buffer btwn content and footer on some pages 4 years ago
syeopite 268b8efbac
Adjust footer styling 4 years ago
syeopite f0c74a9429
Overhaul footer design. See #2032 4 years ago
syeopite f5a0a6b899
Move channel views to separate directory 4 years ago
syeopite e9dcac9bd4
Add support for featured channels page 4 years ago
syeopite a777eda66a
Change AboutChannel tabs to hash of name and param
This is to help fetch tab contents from the browse endpoint of youtube
later on.
4 years ago
syeopite 4d1297f257
Fix uncentered channel banner image 4 years ago
syeopite a566a45571
Add channel country and external links to API 4 years ago
syeopite 8fad19d805
Extract primary channel routes from invidious.cr
Also removes timedtext_video stub since all it does is redirect to the
homepage. However, Invidious's 404 handler already does this.
4 years ago
syeopite 54d964a824
Fix locale consistency for About page 4 years ago
syeopite c0c1f7bf75
Fix pure-css-link focus color 4 years ago
syeopite 90d863ec9b
Reduce space between extern link header and items 4 years ago
syeopite 62f487d3c3
Handle missing country detail in channel about page 4 years ago
syeopite 01e04340cd
Add links widget to channel banner + tiny refactor 4 years ago
syeopite 710b269d30
Move channel specific CSS to separate file 4 years ago
syeopite 35d94f9ed3
Change channel banner to be CSS background image
This is to allow for contents to be placed on the channel banner itself;
something that is required for the links widget shown on Youtube.
4 years ago
syeopite ae07c7694f
Fetch external links favicon and add to about page 4 years ago
syeopite af385663c4
Add about tab to channels 4 years ago
syeopite 1feccf7e53
Add logic to parse external chan links and country 4 years ago
syeopite d487ee1e15
Fix improper URL formatting for channel sort 4 years ago
syeopite 82d51429c1
Improve styling for search filters 4 years ago
syeopite bc273c75c3
Fix typo 4 years ago
syeopite 3d630dd387
Add search icon to navbar searchbar 4 years ago
syeopite 05adaf7315
Refactor channel tab templates 4 years ago
syeopite e3245bd311
Move trending tabs to left like in channels 4 years ago
syeopite 482f123df8
Remove broken view as playlist feature in trending 4 years ago
syeopite c6466e6ada
Disallow removing filters from sort by column 4 years ago
syeopite a81f66debe
Fix styling for filter remove icon 4 years ago
syeopite 7276edddf8
Add search bar to channel page.
Closes #1923
4 years ago
syeopite d7901a99f8
Add ability to remove search filters from UI 4 years ago
syeopite 46df266c36
Fix search filters being overwritten by others 4 years ago
syeopite c68ba62eae
Move search.ecr specific css to another file 4 years ago
syeopite 1bb8429fe5
Declutter search bar to only show search query
This commit changes the way search filters are parsed. Instead of
directly appending the data into the search query and creating k:v
pairs, all of the search filters are now a URL parameter. This results
in a clear look overall and hides much of the logic from the end user.

Closes #1969
4 years ago
syeopite ff43a47716
Change dropdown into normal tabs 4 years ago
syeopite 1a3824a5af
Refactor channel sorting links to dropdown 4 years ago
syeopite 93ee81a468
Use purecss menus for channel tabs 4 years ago
syeopite e34f375cf5
Update styling for buttons and dark-theme 4 years ago
syeopite 765041f1b8
Use pure-menu-horizontal for trending tabs 4 years ago
Samantaz Fox 5a8825d016
Fix quoting of 'none' in CSP header
The keyword 'none' must be surrounded by single quotes.
Regression introduced by #2168.
4 years ago
Émilien Devos e6bdcff0dd
Merge pull request #2183 from iv-org/unixfox-patch-1
update video URL for recaptcha detection
4 years ago
Émilien Devos 4803285e50
update video URL for recaptcha detection 4 years ago
TheFrenchGhosty bab263f426
Merge pull request #2179 from syeopite/remove-welcome-from-username-display
Remove unnecessary "Welcome, " on username display
4 years ago
TheFrenchGhosty 03d5509b44
Merge branch 'master' into remove-welcome-from-username-display 4 years ago
TheFrenchGhosty 4a5f193e94
Merge pull request #2180 from weblate/weblate-invidious-translations
Translations update from Weblate
4 years ago
Eric fdd66f12f0
Update Chinese (Simplified) translation 4 years ago
syeopite 349f073b8e
Remove unnecessary "Welcome, " on username display 4 years ago
TheFrenchGhosty 84e271be4b
Merge pull request #2178 from weblate/weblate-invidious-translations
Translations update from Weblate
4 years ago