Samantaz Fox
9bf754ed4f
Remove unused methods in Invidious::LogHandler ( #4812 )
...
Closes issue 4791
2024-08-11 11:45:56 +02:00
Fijxu
b7430c5a5a
Merge branch 'sig_helper'
2024-08-10 16:17:09 -04:00
Samantaz Fox
cc36a82933
SigHelper: Fix some logic errors raised during code review
2024-08-07 23:26:10 +02:00
Samantaz Fox
7798faf234
SigHelper: Make signature server optional and configurable
2024-08-07 23:25:35 +02:00
Samantaz Fox
ec1bb5db87
SigHelper: Add support for PLAYER_UPDATE_TIMESTAMP opcode
2024-08-07 23:25:32 +02:00
Samantaz Fox
3b7e45b7bc
SigHelper: Small fixes + suggestions from code review
2024-08-07 23:12:38 +02:00
syeopite
e098c27a45
Remove unused methods in Invidious::LogHandler
2024-07-28 16:44:30 -07:00
syeopite
6506b8dbfc
Ameba: Fix Naming/PredicateName
2024-07-25 20:08:26 -07:00
Samantaz Fox
61d75050e4
SigHelper: Use 'URI.parse' instead of 'URI.new'
...
Co-authored-by: Brahim Hadriche <brahim.hadriche@gmail.com >
2024-07-25 22:13:08 +02:00
Samantaz Fox
10e5788c21
Videos: Send player sts when required
2024-07-25 22:13:08 +02:00
Samantaz Fox
b509aa91d5
SigHelper: Fix many issues
2024-07-25 22:13:08 +02:00
Samantaz Fox
ec8b7916fa
Videos: Make use of the video decoding
2024-07-25 22:13:08 +02:00
Samantaz Fox
56a7488161
Helpers: Add inv_sig_helper client
2024-07-25 22:13:08 +02:00
Samantaz Fox
63a729998b
Misc: Sync crystal overrides with current stdlib
2024-07-25 22:13:07 +02:00
syeopite
205f988491
Ameba: Fix Naming/MethodNames
2024-07-24 20:04:44 -07:00
syeopite
0db3b830b7
Ameba: Fix Lint/HashDuplicatedKey
2024-07-24 20:03:41 -07:00
syeopite
a9fc84bc14
Refactor instance fetching logic into separate job
2024-07-21 13:00:25 -04:00
syeopite
e98aafa4b5
Extract and implement footer overhaul from #2215
2024-07-21 13:00:24 -04:00
syeopite
fad0a4f52d
Ameba: Fix Lint/UselessAssign
2024-07-17 12:39:40 -07:00
syeopite
8a90add310
Ameba: Fix Naming/VariableNames
...
Fix Naming/VariableNames in comment renderer
Fix Naming/VariableNames in helpers/utils
Fix Naming/VariableNames in api/v1/misc.cr
2024-07-11 20:56:28 -07:00
syeopite
cff25a7b25
Refactor instance fetching logic into separate job
2024-05-22 13:22:00 -07:00
syeopite
6b7e730100
Validate override for crystal 1.12.1
2024-05-22 13:10:46 -07:00
ulmemxpoc
f696f96824
Add rel="noreferrer noopener" to external links
2024-04-30 03:40:19 +00:00
syeopite
3b471ae964
Automatically initialize proxy via stdlib override
2024-04-28 19:43:22 -07:00
tracedgod
5b11ca22d0
Use string interpolation instead of concatenation
2024-04-28 00:04:30 -04:00
tracedgod
6db4a46c5f
update the url_search_issues variable to search for the current error on GitHub instead of showing all issues
2024-04-26 16:01:02 -04:00
Samantaz Fox
e8a36985af
API: Add APIHandler back ( #4431 )
...
This handler should no have been removed in 4276, as it adds the required CORS
header (Access-Control-Allow-Origin) for public acces to the API.
Thanks to iBicha for noticing this!
2024-02-19 00:16:17 +01:00
Samantaz Fox
962ce23cc2
WebVTT::Builder: Add logic to escape special chars ( #4414 )
...
Note: WebVTT does allow some tags in the cue payload in some circumstances
while this PR just blindly escapes everything:
https://developer.mozilla.org/en-US/docs/Web/API/WebVTT_API#cue_payload_text_tags
2024-02-19 00:16:17 +01:00
Samantaz Fox
e0ce59d3e8
Channels: Add support for multi-image community posts ( #4412 )
...
This PR adds a CSS-only image carousel for community posts with more than
one image attached.
Closes issue 3522
2024-02-19 00:16:17 +01:00
ChunkyProgrammer
26429bee3f
make it so interpolation text can be a hash
...
Co-Authored-By: Samantaz Fox <coding@samantaz.fr >
2024-02-15 21:45:22 -05:00
ChunkyProgrammer
ef6b766b29
Add support for multi image community posts
2024-02-15 21:45:21 -05:00
Samantaz Fox
60f6a345d9
Locales: Fix broken i18Next v3/v4 plurals
...
Languages impacted: es, fa, pt
2024-02-15 22:12:04 +01:00
Samantaz Fox
7b84bdb29b
API: Add APIHandler back
...
This handler should no have been removed in 4276, as it adds the required CORS
header (Access-Control-Allow-Origin) for public acces to the API.
Thanks to iBicha for noticing this!
2024-02-13 21:05:26 +01:00
Samantaz Fox
c85b908613
API: Fix missing wildcards after login redirect ( #4348 )
...
This PR fixes an issue where the `scopes` parameter would see its wildmark
characters (*) removed during the login page redirection, after that a call
to `/authorize_token` was made while the user was not logged in.
Closes issue 4200
2024-02-12 22:30:48 +01:00
Samantaz Fox
1f51255f2f
API: Remove the fields parameter ( #4276 )
...
Multiple users have reported that the fields parameter is slowing down API
response times significantly. As most API endpoints are already optimized to
make as few requests as possible to Youtube, there is no point in limiting the
output. Furthermore, the added processing might be part of the broader memory
leak problem (See 1438).
In addition, the small increase in data output is not much of an issue compared
to the huge video proxy that lies next to this API.
No related issue tracked
2024-02-12 22:10:45 +01:00
syeopite
0ad2eff2a4
WebVTT::Builder: Add logic to escape special chars
2024-01-30 15:25:45 -08:00
wint3rmute
4d410d124f
Add prometheus metrics at /api/v1/metrics
2024-01-23 21:28:46 +01:00
nixos script
0917efd9cb
fix issue where scope would be missing the * if the user was not logged in before calling the authorize endpoint
...
fix #4200
2023-12-21 13:52:19 +08:00
Samantaz Fox
9d5fa2bcc4
Helpers: remove JSONFilter logic
2023-11-23 18:30:42 +01:00
Samantaz Fox
9310d09f93
Kemal: remove APIHandler middleware
2023-11-23 18:30:37 +01:00
syeopite
ed8b84ed15
Replace more * in macro with #splat
2023-11-08 00:49:37 -08:00
syeopite
8ce91166d6
Remove instance of the * operator in macro expr
2023-11-08 00:42:46 -08:00
syeopite
8525758583
Use #splat method for macro expressions
2023-11-08 00:37:18 -08:00
syeopite
438467f69a
Add playback success rate to /api/v1/stats ( #4085 )
...
* Add stats-based /videoplayback blockage status
* Count when YouTube returns wrong video as failure
* Cast playback stats hash type prior to return
* Bump stats refresh timer to 10 minutes
2023-11-04 13:52:30 +00:00
Samantaz Fox
ce0e21400e
Search: Parse channel handle ( #3994 )
2023-10-07 19:56:07 +02:00
Samantaz Fox
1caaf63c8a
Refactor WebVTT building logic into WebVTT::Builder ( #4070 )
2023-10-07 19:53:29 +02:00
Samantaz Fox
f26c995344
i18next: Revert some changes, as es/pt/pt-PT aren't mixed up (yet)
2023-10-07 19:12:17 +02:00
Samantaz Fox
32310b7c9f
i18Next: Add exceptions for mixed v3/v4 plural forms
2023-10-06 08:19:27 +02:00
syeopite
a999438ae4
Consistency: rename #add_timestamp_component
...
Removes the add_ prefix for consistency with the other methods in
WebVTT::Builder
2023-09-23 09:41:43 -04:00
syeopite
e9d59a6dfd
Update src/invidious/helpers/webvtt.cr
...
Co-authored-by: Samantaz Fox <coding@samantaz.fr >
2023-09-23 09:41:43 -04:00