Commit Graph
100 Commits
Author SHA1 Message Date
syeopite 39b34eece8 Extract API routes from invidious.cr (3/3)
- Auth (excluding notifications*) APIs
- Mixes

*Notifications currently require the "connection_channel" channel
for talking with the notifications job. Unfortunately, we cannot
access that within the route modules yet.
2021-08-14 00:18:25 -07:00
syeopite b3426fdc94 Restructure API routes to use more namespaces 2021-08-14 00:18:25 -07:00
syeopite 6aa65593ef Extract API routes from invidious.cr (2/?)
- Video playback endpoints
- Search feed api
- Video info api
2021-08-14 00:18:24 -07:00
syeopite 66becbf46f Restructure API route organisation 2021-08-14 00:18:24 -07:00
syeopite cbf3d75087 Extract API routes from invidious.cr (1/?) 2021-08-14 00:18:24 -07:00
syeopite 0b0036813f Remove deprecated APIs
- insights
- top feed
2021-08-14 00:18:03 -07:00
syeopite 46f8b04e40 Revert "bump crystal docker image version +"
This reverts commit f2b69fd812.

Crystal 1.1.0 is not supported by Invidious due to upstream issue. See
crystal-lang/crystal#10972
2021-08-12 16:10:40 -07:00
syeopite 2abec5b62f Use colorized version of safari-pinned-tab.svg 2021-07-25 16:07:11 -07:00
syeopite 31de2d304c Change README logo to use vector image 2021-07-24 15:14:58 -07:00
syeopite 39110ad21c Use struct for caption object 2021-07-11 16:17:22 -07:00
syeopite 57bb8c610a Use embed stream pull as fallback for gated videos 2021-07-02 00:25:00 -07:00
syeopite 54b19a04bb Fix caption parsing on age restricted videos 2021-06-27 08:35:28 -07:00
syeopite ca4df29670 Wrap comment 2021-06-25 14:14:41 -07:00
syeopite 7da0b2fd7f Switch from URI::Params.new to URI::Params.encode 2021-06-25 12:14:21 -07:00
syeopite aa55e67389 Fix extraction of age restricted videos 2021-06-25 07:51:51 -07:00
syeopite 349f073b8e Remove unnecessary "Welcome, " on username display 2021-06-19 06:03:50 -07:00
syeopite cb525af0a2 Connect to api.invidious.io with https 2021-06-19 04:17:49 -07:00
syeopite 7c49a0ba7a Rephrase auto instance redirect preference 2021-06-19 04:17:49 -07:00
syeopite 45e57f1ad3 Refactor fetch_random_instance 2021-06-19 04:17:49 -07:00
syeopite eb911de928 Handle if inst. api is down for rand inst fetch 2021-06-19 04:17:49 -07:00
syeopite b393e31b76 Fix inst. fetching for inst w/ disabled stats/err 2021-06-19 04:17:49 -07:00
syeopite 4a095eb98e Fix <hr> styling on empty search page 2021-06-19 04:17:49 -07:00
syeopite d793d4ba78 Add switch invidious instance btn to all chan tabs 2021-06-19 04:17:49 -07:00
syeopite 2f54ec4e18 Fix locale consistency for err template redirects 2021-06-19 04:17:46 -07:00
syeopite b9cd40fe1e Add redirect buttons to error template 2021-06-19 04:16:18 -07:00
syeopite 173cd7c15e Fix switch invidious instance btn on videos 2021-06-19 04:16:18 -07:00
syeopite 950c8f7104 Enhance fetch_random_instance func
Handle cross-inst. redirect w/ broken health stats

Add check for instance version in cross-redirect
2021-06-19 04:16:18 -07:00
syeopite b63bebb519 Allow automatic instance redirect to be turned off
Instead the "switch invidious instance" link would bring users to
redirect.invidious.io
2021-06-19 04:16:18 -07:00
syeopite cf72b34866 Fix locale discrepancy for instance redirect btn 2021-06-19 04:16:18 -07:00
syeopite d06cf2a07b Add playlist redirect 2021-06-19 04:16:18 -07:00
syeopite 10804927bb Add channel redirect 2021-06-19 04:16:18 -07:00
syeopite f178297452 Generalize redirect route 2021-06-19 04:16:18 -07:00
syeopite 311e7684b2 Add instance redirect on empty/broken search 2021-06-19 04:16:18 -07:00
syeopite 37ff2ac2b9 Overhaul button icon html and styling 2021-06-19 04:16:18 -07:00
syeopite 4786d586cf Add new icon button for instance redirects 2021-06-19 04:16:17 -07:00
syeopite b7aaae4a19 Add 'Switch Invidious Instance' to en locale 2021-06-19 04:16:17 -07:00
syeopite 008598b56f Change wording of redirect hyperlink 2021-06-19 04:16:17 -07:00
syeopite f3bc55e37e Expose instance redirect to frontend 2021-06-19 04:16:17 -07:00
syeopite 31fa3dfd59 Add route to redirect to another instance 2021-06-19 04:16:17 -07:00
syeopite 5b47438b71 Add helper function to fetch random instance 2021-06-19 04:16:17 -07:00
syeopite d432732959 Add ability to propagate locale removals 2021-06-13 07:23:45 -07:00
syeopite 4eb3de7b4e Fix typos 2021-06-13 06:56:17 -07:00
syeopite 2e6adfb44a Add locale-key-propagater and auto linter hooks 2021-06-13 06:40:04 -07:00
syeopite c85c6d0ac5 Add new line at end of locale files 2021-06-13 06:23:41 -07:00
syeopite 6c9dd8deb6 Change internal i18n key of sv-SE from sv to sv-SE 2021-06-13 06:23:18 -07:00
syeopite 8701de64ce Bump lsquic.cr shard version to v2.18.1-2 2021-06-10 04:49:19 -07:00
syeopite 114cac99e7 Update CI's crystal version 2021-06-09 16:34:54 -07:00
syeopite 392a363d02 Update Dockerfile for crystal 1.0 2021-06-08 13:20:46 -07:00
syeopite 0a87ba6930 Decode URL encoded preference cookie when parsing 2021-06-08 13:11:04 -07:00
syeopite 065c104f27 Upgrade to crystal 1.0.0 2021-06-08 13:10:58 -07:00
syeopite dd13392e36 Change wording of issue/pull locker message 2021-06-08 12:02:48 -07:00
syeopite abbc2bad35 Slash inactive days for issue locker by half 2021-06-05 13:51:11 -07:00
syeopite b491d69eec Formatting 2021-06-05 07:17:41 -07:00
syeopite d93514d327 Add workflow to lock stale closed issues 2021-06-05 07:16:07 -07:00
syeopite 445ff856fe Allow user preferences to effect extend_desc 2021-05-24 09:16:58 -07:00
syeopite f529948d81 Change videojs-vr to the unminified version 2021-05-23 09:24:49 -07:00
syeopite 4f3f51c583 Add "Interactive 360 degree videos: " to locales 2021-05-23 09:24:48 -07:00
syeopite 5ba9a1f87d Fix lint 2021-05-23 09:22:37 -07:00
syeopite a0fb75efcb Add licence for videojs-vr 2021-05-23 09:22:37 -07:00
syeopite 6e6f4d5a37 Allow configurable support of interactive 360 vid 2021-05-23 09:22:37 -07:00
syeopite f06053b1cf Fix projection settings for VR 2021-05-23 09:22:37 -07:00
syeopite df0cd30236 Add support for VR videos through videojs-vr 2021-05-23 09:22:29 -07:00
syeopite e6fba5d802 Fix locale discrepancy for extend desc feature 2021-05-10 00:34:34 -07:00
syeopite 50ba3c5d5c Remove unused class attr on label 2021-05-10 00:26:43 -07:00
syeopite 65663fb857 Update code to reflect 'read more' btn name change 2021-05-10 00:26:42 -07:00
syeopite 8df2f38d34 Change wording of 'read more/less' & add to locale 2021-05-10 00:25:22 -07:00
syeopite c5fae84263 Add functionality to read more button 2021-05-10 00:25:20 -07:00
syeopite d6585d7583 Overhaul Invidious's "Youtube" player style 2021-05-03 04:22:17 -07:00
syeopite 1924d75c2b Improve mobile user interface for video player 2021-05-03 03:44:33 -07:00
syeopite 06b27d932d Move player styling to separate file 2021-05-03 03:44:33 -07:00
syeopite ac1ac2cfed Add mobile-ui js to licenses 2021-05-03 03:44:33 -07:00
syeopite 53cdb04be7 Improve mobile ux with videojs-mobile-ui 2021-05-03 03:44:33 -07:00
syeopite 5c0458a887 Move navbar search bar render check to templated 2021-04-17 05:18:58 -07:00
syeopite 65942cd46c Rename empty.ecr to search_homepage.ecr 2021-04-17 05:16:35 -07:00
syeopite 45d687c4e1 Preserve url params in video aliases 2021-04-11 22:09:46 -07:00
syeopite bc5c0f65b8 Add watch on Invidious button to embeds 2021-04-08 04:15:15 -07:00
syeopite cf0ecaaf41 Translate 'Search' page & fix locale discrepancy 2021-04-07 22:32:56 -07:00
syeopite 5f466eed79 Rename default_home option 'none' to 'Search' 2021-04-07 19:36:40 -07:00
syeopite 1057d0eaa6 Fix response design on search homepage 2021-04-07 01:44:03 -07:00
syeopite 73b1284234 Fix search-widget styling for change in #1976 2021-04-07 00:16:14 -07:00
syeopite 5f2e87f0e3 Fix rendering of hr element 2021-04-07 00:09:38 -07:00
syeopite d9528f5cc3 Change positioning of footer to use flexbox 2021-04-06 23:53:38 -07:00
syeopite 877bb5c821 Add aliases for watch route 2021-04-06 20:36:23 -07:00
syeopite 909606826d Change footer div into footer element 2021-04-06 04:15:08 -07:00
syeopite e6e2d51b58 Improve search widget margins 2021-04-05 20:42:04 -07:00
syeopite ea16c01fa2 Fix mobile responsive design for footer 2021-04-05 20:24:02 -07:00
syeopite a8649f286c Handle nil type for default_homepage 2021-04-04 17:19:31 -07:00
syeopite fe879e6d94 Fix missing colon in empty.css 2021-04-04 17:17:59 -07:00
syeopite 94f285695e Add missing closing div element 2021-04-04 16:10:27 -07:00
syeopite 428747ab69 Allow default_home config to be empty value 2021-04-04 15:20:08 -07:00
syeopite 049e8e07ef Fix footer position to bottom of page 2021-04-04 02:45:38 -07:00
syeopite 716a845e92 Fix missing navbar search bar 2021-04-04 02:26:07 -07:00
syeopite 47dfd4e681 Scale text logo on search engine like homepage 2021-04-04 02:26:01 -07:00
syeopite 555108c7fd Add styling to search bar on empty home page 2021-04-04 00:48:14 -07:00
syeopite e1af3d9bf3 Add html of search bar to empty home page 2021-04-03 23:26:58 -07:00
syeopite e864c7541c Hide header search bar when default_home is empty 2021-04-03 21:32:30 -07:00
syeopite b4a6cbbd09 Merge info extract functions back to one 2021-04-03 20:54:10 -07:00
syeopite fe4eef5855 Fix channel info extract for 'video game' channels 2021-04-03 20:26:38 -07:00
syeopite 20b961c1c8 Preserve original cookies 2021-04-02 17:08:55 -07:00
syeopite e08bea5f51 Fix lint 2021-03-31 15:34:29 -07:00