Commit Graph

568 Commits

Author SHA1 Message Date
chunky programmer
f298e225a1 fix live video attachments, parse playlists 2023-04-30 18:55:02 -04:00
ChunkyProgrammer
97825be10c add missing authorVerified to api 2023-02-07 21:52:53 -05:00
Samantaz Fox
6c687a3cac Login redirect to referer on logged-in user (#3556) 2023-02-02 21:28:24 +01:00
Samantaz Fox
dbee027ed9 Search: Fix ArithmeticOverflow + wrong subs count issues (#3535) 2023-01-22 23:12:04 +01:00
Samantaz Fox
cf93c94fc4 Formatting fix for Crystal nightly
Changes added by https://github.com/crystal-lang/crystal/pull/12951
2023-01-21 15:23:15 +01:00
Brahim Hadriche
01acb9bfbf Login redirect to referer on logged-in user 2023-01-13 19:04:37 -05:00
DUOLabs333
0d3610f63d Change regex used in short_text_to_number 2023-01-04 18:12:15 -05:00
DUOLabs333
85dd3533bb Fix for the ArithmeticOverflow Problem 2023-01-03 20:18:10 -05:00
Samantaz Fox
ce7db8d2cb extractors: Add continuation token parser 2022-12-22 16:13:26 +01:00
Samantaz Fox
afc0ec3c30 search: Fix short text parsing 2022-11-20 23:28:21 +01:00
Samantaz Fox
87a5d70062 videos: move API's JSON structure to a dedicated module 2022-10-31 20:09:04 +01:00
Samantaz Fox
4055c3bec8 i18n: Add Bengali, Catalan, Basque, Sinhala and Slovak
Add languages even if translation is <= 25%
2022-10-30 13:46:28 +01:00
Samantaz Fox
7e648840a1 Move InfoException to exceptions.cr 2022-07-19 21:05:49 +02:00
Samantaz Fox
46891437e9 Add Estonian to i18n.cr 2022-05-21 18:39:49 +02:00
Samantaz Fox
9bd9dcc41c Add Slovenian to i18n.cr 2022-05-04 22:36:31 +02:00
Samantaz Fox
b867dd82ca Merge pull request #3077 from SamantazFox/verified-checkmark
Merge "Youtube verification badge" again (with fixes)
2022-05-02 23:57:01 +02:00
Samantaz Fox
a122286d48 Add Hindi to i18n.cr 2022-05-02 20:49:12 +02:00
Samantaz Fox
f5fb4c6c64 Apply 2859.diff 2022-05-01 21:10:43 +02:00
Samantaz Fox
96afc1a45d Revert html escaping of backtrace 2022-05-01 13:40:02 +02:00
Émilien Devos
595c3fb833 Revert "Youtube verification badge" (#3070) 2022-04-30 23:42:38 +02:00
Samantaz Fox
1d25c55c0b Merge pull request #2859 from jonas-w/verified-badge
Youtube verification badge
2022-04-30 18:54:38 +02:00
Samantaz Fox
0a1614a872 Also move the other Kemal class override to src/ext/ 2022-04-16 22:48:24 +02:00
Samantaz Fox
1f66d7ef74 Keep using kilt for rendering
Directly using Crystal's ECR seems to be causing issues, so
don't use kemal's 'render' macro and patch 'content_for' to
have the same behavior as before Kemal v1.1.1
2022-04-16 22:48:24 +02:00
Samantaz Fox
4130136718 Merge pull request #2936 from MathiusD/expand-link
Increase size of links displayed in video description
2022-04-16 20:31:28 +02:00
Féry Mathieu (Mathius)
6c122248f5 Update regex reduce_uri utils
Follow this comment :
https://github.com/iv-org/invidious/pull/2936#discussion_r850712676
2022-04-14 22:42:21 +02:00
Leo
6f705b053a Updates the URL of the var url_faq (#3016) 2022-04-09 08:20:28 +02:00
Jonas Wunderlich
aa09bbe23d Done some refactoring 2022-03-13 20:16:30 +01:00
AHOHNMYC
357ba2f4f6 Uppercase some first letters 2022-03-13 08:53:27 +03:00
Jonas
6de449811d Merge branch 'iv-org:master' into verified-badge 2022-02-25 19:29:12 +01:00
Féry Mathieu (Mathius)
0f1bb3fb3b Update reduce_uri signature
Following request_change at :
- https://github.com/iv-org/invidious/pull/2936#discussion_r814436660
2022-02-25 11:47:07 +01:00
Féry Mathieu (Mathius)
78c447829a Increase size of links displayed in video description 2022-02-25 02:11:30 +01:00
Samantaz Fox
7f445f6167 Merge pull request #2915 from MathiusD/RefreshChannelsJob-frenquency
Allow configuration of the time between 2 RefreshChannelsJob
2022-02-25 00:04:48 +01:00
Féry Mathieu (Mathius)
555bb711c9 Removal of changes to methods now unrelated to the issue
Unrelated to the issue since the change in management of channel_refresh_interval
Cf this remark : https://github.com/iv-org/invidious/pull/2915#discussion_r811373503
2022-02-22 08:17:50 +01:00
Féry Mathieu (Mathius)
fd0ac3a671 Update management of channel_refresh_interval
Follow indications:
https://github.com/iv-org/invidious/pull/2915#discussion_r811373503
2022-02-22 01:35:35 +01:00
Féry Mathieu (Mathius)
f109d812a1 Move TimeSpanConverter with another Converters
Follow indications :
https://github.com/iv-org/invidious/pull/2915#discussion_r811373953
2022-02-22 01:34:19 +01:00
Samantaz Fox
fd55b08a1d Add albanian to the locales list 2022-02-22 00:17:18 +01:00
Féry Mathieu (Mathius)
f75a81c9ee Make configurable time between each RefreshChannelsJob 2022-02-21 10:53:20 +01:00
Samantaz Fox
76cc8ac66b HTML escape error message 2022-02-08 01:48:44 +01:00
Dimitris Apostolou
7e4690e43c Fix typos 2022-02-07 14:57:14 +02:00
jonas-w
00df3e2c40 Refactored code and added badges to Search but many dummies because of the way components/item works 2022-02-04 19:59:07 +01:00
Samantaz Fox
519c227c4f Use short syntax for 'File.open' block 2022-01-29 13:43:26 +01:00
Samantaz Fox
12b818a83c Fix more 'Lint/ShadowingOuterLocalVar' warnings reported by ameba 2022-01-28 02:19:53 +01:00
Samantaz Fox
2d949834e9 Make 'additional_fields' optional in JSON error template functions
This allows us to de-duplicate functions
2022-01-28 02:19:53 +01:00
Samantaz Fox
c7b74aa8b4 Remove useless 'locale' argument from error template functions 2022-01-28 02:19:53 +01:00
Samantaz Fox
8c2495a399 Apply suggestions from review 2022-01-17 21:47:29 +01:00
Samantaz Fox
34a79c5f1e Don't show "next steps" message with a stack trace
Usually, next steps are after the error message.
Here, we want the same options to be right above the stack trace,
so users are less likely to report duplicates.
2022-01-16 16:15:23 +01:00
Samantaz Fox
a2600acfa9 Improve crash page messages
* Ask to read the FAQ and search for existing issues on Github
* Include links to FAQ and directly to a new github issue
* Github issue title is automatically based on exception name
* Improved HTML
* Minor languages changes
2022-01-16 16:15:23 +01:00
Samantaz Fox
eb7e79fdf7 i18n: Apply code review suggestions + code cleaning 2022-01-10 22:49:07 +01:00
Samantaz Fox
5bb2cb7d71 i18n: Use plurals for video/view/subscriber/subscription counts 2022-01-10 22:49:07 +01:00
Samantaz Fox
692f4e5be2 i18n: Use plurals for year/month/day/etc... 2022-01-10 22:49:07 +01:00