Commit graph

59 commits

Author SHA1 Message Date
Omar Roth 452d1e8307
Fix warnings with latest version of Crystal 2020-07-26 10:59:31 -04:00
Omar Roth 056e7432bd
Update channel playlists to use polymer 2020-06-16 17:51:35 -05:00
Omar Roth 1eca969cf6
Add support for polymer redesign 2020-06-15 18:18:04 -05:00
Omar Roth c1cbdae5ee
Make HOST_URL constant 2020-06-15 18:13:14 -05:00
Omar Roth ca1185d0be
Fix warnings in latest version of Crystal 2020-04-09 12:18:09 -05:00
Omar Roth e3b2bcfd06
Fix ID for search duration 2019-11-08 09:29:33 -05:00
Omar Roth f6ef0b684a
Fix word-break for links in channel RSS 2019-11-03 08:53:16 -05:00
Omar Roth 25c8cd9246
Fix escaping for search params 2019-10-28 06:17:39 -04:00
Omar Roth 2ebfaf76f2
Refactor continuation token handling 2019-10-27 13:50:42 -04:00
Omar Roth 6930570fa2
Add HTTPClient pool 2019-10-25 12:58:16 -04:00
Omar Roth be055d9dcb
Add support for custom playlists 2019-10-15 21:17:14 -04:00
Omar Roth 1e34a61911
Fix white-space for RSS feeds 2019-10-14 21:07:07 -04:00
Omar Roth c0796ac3d6
Add description to RSS body 2019-10-04 12:50:22 -04:00
Omar Roth eef66de68c
Merge pull request #743 from girst/rssparams
Forward query string parameters from Atom feeds
2019-09-30 15:36:35 -04:00
girst 4aa1180fce Forward parameters given in &params= from Atom feeds
Any parameters given in &params=... are appended to /watch URLs.  This
allows e.g. passing &raw=1&listen=1 to a playlist of music and use an
rss reader like newsboat as a media player, like so:

    https://invidio.us/feed/playlist/XXX?params=%26raw%3D1%listen%3D1

All three feeds--channels, playlists, subscriptions--are supported.
2019-09-30 17:48:13 +02:00
leonklingele 1aefc5b540 Update to Crystal 0.31.0, resolve compiler deprecation warnings, update dependencies (#764)
* shard: update to crystal 0.31.0

Additionally, no longer use the Crystal "markdown" library which has
been removed from the Crystal stdlib in version 0.31.0.
See https://github.com/crystal-lang/crystal/pull/8115.

Also fix some deprecation warnings using the following commands:

    find . \( -type d -name .git -prune \) -o -type f -exec sed -i 's/URI\.escape/URI\.encode_www_form/g' "{}" \;
    find . \( -type d -name .git -prune \) -o -type f -exec sed -i 's/URI\.unescape/URI\.decode_www_form/g' "{}" \;
    sed -i 's/while \%pull\.kind \!\= \:end_object/until \%pull\.kind\.end_object\?/g' src/invidious/helpers/patch_mapping.cr
2019-09-24 13:31:33 -04:00
Omar Roth 50d793e49b
Hide video count for auto-generated channels 2019-09-12 13:11:21 -04:00
Omar Roth 0f49d424d3
Refactor search params 2019-08-27 09:35:15 -05:00
Omar Roth 059f50dad4
Add 'playlistThumbnail' to playlist objects 2019-08-21 19:08:11 -05:00
Omar Roth a19cdb5e72
Fix season playlists 2019-08-16 15:46:59 -05:00
Omar Roth dce5816b18
Fix image url extractor 2019-07-31 19:16:09 -05:00
Omar Roth f18d8229c0
Refactor continuation protocol buffers 2019-07-20 20:18:08 -05:00
Omar Roth e30d70b6d4
Refactor proxy_list into global 2019-06-28 21:17:56 -05:00
Omar Roth b43e9ed7e7
Refactor 'description_html' 2019-06-08 15:08:27 -05:00
Omar Roth 12b2ab5da8
Add 'to_json' into respective structs 2019-06-08 13:31:41 -05:00
Omar Roth 27e032d10d
Add '/api/v1/auth/feeds' 2019-06-07 21:13:50 -05:00
Omar Roth 19ed5bf993 Add support for 'user' URLs in NewPipe import 2019-04-22 15:39:57 -05:00
Omar Roth aa8ff7ace3 Always use ucid for channel search 2019-04-11 13:52:09 -05:00
Omar Roth bd4f5ebcdf Add option to configure default user preferences 2019-04-03 11:38:41 -05:00
Omar Roth 1b78001201 Use struct for allocations 2019-03-29 16:30:02 -05:00
Omar Roth fd26f9f34e Add support for premieres to search and feed 2019-03-22 14:54:35 -05:00
Omar Roth 99aa214859 Add 'thumbnail_id' to playlists 2019-03-17 12:21:47 -05:00
Omar Roth 17b84f32df Fix duration in /api/v1/search 2019-02-26 14:31:37 -06:00
Omar Roth a7b79824de Add support for 'region' in search 2019-02-06 18:21:40 -06:00
Omar Roth 276662a147 Use IO::Memory for creating continuation tokens 2019-02-04 15:17:10 -06:00
Omar Roth 4480e9c1ba Don't downcase UCID when searching channels 2018-11-27 22:26:17 -06:00
Omar Roth 1cfa1f6559 Add 'paid' and 'premium' flags to API 2018-10-16 11:15:14 -05:00
Omar Roth 5b5d69a33b Add host language to YouTube requests 2018-09-25 17:55:32 -05:00
Omar Roth 687013c1b9 Add minor convenience features to search 2018-09-20 10:16:10 -05:00
Omar Roth 62380933b2 Add support for playlists and channels in search 2018-09-20 09:36:09 -05:00
Omar Roth 296771809a Refactor protocol buffers 2018-09-17 16:56:28 -05:00
Omar Roth f7ca81c384 Add support for channel search 2018-09-13 17:47:31 -05:00
Omar Roth 917d220623 Fix search filters 2018-08-30 17:42:30 -05:00
Omar Roth 2ba0063dc0 Add search filters 2018-08-27 15:23:25 -05:00
Omar Roth 77b12b6249 Only show next page when there are more results 2018-08-25 17:18:43 -05:00
Omar Roth 15c26d022b Pull 'extract_videos' out into seperate function 2018-08-10 09:44:19 -05:00
Omar Roth 9a78b55c53 Pull description into seperate function 2018-08-10 08:44:23 -05:00
Omar Roth 4b962dddd3 Add fix for scheduled livestreams in search results 2018-08-07 08:19:20 -05:00
Omar Roth 30724b6924 Add fix for movies in search results 2018-08-06 23:11:37 -05:00
Omar Roth 95bfe7e54c Add support for streamed videos in search results 2018-08-06 23:06:16 -05:00