Commit Graph

2796 Commits

Author SHA1 Message Date
Omer I.S
5ef2bbe5d6
Add Hebrew translation (#1753)
* Add Hebrew translation

* Update he.json

* Update he.json

* Update he.json

* Update he.json

* Update he.json

* Update he.json

* Update he.json

* Update he.json

Co-authored-by: TheFrenchGhosty <47571719+TheFrenchGhosty@users.noreply.github.com>
2021-02-10 00:33:23 +00:00
TheFrenchGhosty
e1d37c3b98
Merge pull request #1750 from weblate/weblate-invidious-translations
Translations update from Weblate
2021-02-10 00:27:32 +00:00
Riku Viitanen
ec475e5783 Update Finnish translation 2021-02-10 01:12:44 +01:00
Omer I.S
c4b67b4cae Add Hebrew translation 2021-02-10 01:12:44 +01:00
saltycrys
b2cfebcce2
Merge pull request #1754 from saltycrys/fix-various-artists-playlist
Fix playlists with `Various Artists` author
2021-02-10 01:12:40 +01:00
saltycrys
2bf445e165 Fix playlists with Various Artists author 2021-02-10 01:04:27 +01:00
138138138
121224b1b0
Fix ; () {} 2021-02-10 01:05:29 +08:00
TheFrenchGhosty
55ce1ce3ec
Merge pull request #1724 from iv-org/add-issue-templates
Add issue templates
2021-02-09 12:21:34 +00:00
Perflyst
2b14633047 Split enhancement and feature request, apply suggestions 2021-02-08 16:23:57 +01:00
Perflyst
88042d27ec
Merge pull request #1715 from tenpura-shrimp/searchchannelthumbnails
Use large thumbnail for channels in search
2021-02-05 18:34:53 +01:00
Andrew Zhao
148f3002ec use large thumbnail for channels in search 2021-02-04 18:20:49 -05:00
Perflyst
ec82c1f957
Merge pull request #1730 from notpushkin/patch-1
Add link[rel="alternate"] pointing to YouTube version
2021-02-04 07:55:39 +01:00
saltycrys
9919520c28
Merge pull request #1744 from saltycrys/crystal-0.36.1
Bump dependencies and update to Crystal 0.36.1
2021-02-04 05:17:59 +01:00
saltycrys
689795e8bc Update to Crystal 0.36.1 2021-02-04 05:13:29 +01:00
saltycrys
5c8ab35f55 Bump dependencies 2021-02-04 05:11:54 +01:00
138138138
ddd7f3f384
Update player.js 2021-02-03 11:50:14 +08:00
TheFrenchGhosty
c2f74879da
Merge pull request #1734 from saltycrys/crystal-0.36.0
Crystal 0.36.0
2021-02-02 21:02:25 +00:00
saltycrys
5311683d43 Update to Crystal 0.36.0
Crystal versions below `0.36.0` are no longer supported.
2021-02-02 20:01:02 +01:00
saltycrys
5f03a583d1 Update code for Crystal 0.36.0
Rename `HTTPClient@socket` to `HTTPClient@io`, see
https://github.com/crystal-lang/crystal/pull/9543.

Rename `URI#full_path` to `URI#request_target`, see
https://github.com/crystal-lang/crystal/pull/10099.
2021-02-02 20:01:02 +01:00
138138138
a6970e02f9
Fix double duration on all Apple devices
The fix will be applied when Safari browser is detected.
2021-02-02 21:25:13 +08:00
saltycrys
1f7f013e0a
Merge pull request #1738 from saltycrys/adjust-routes
Adjust routes
2021-02-02 06:29:28 +01:00
saltycrys
991a04dc2a Adjust routes
Simple routes have been moved into a single `Misc` file.

Embed routes have been moved into a single `Embed` file.

The preferences route has been renamed to be more consistent with other parts
of the codebase.
2021-02-02 06:18:16 +01:00
138138138
685902adab
Update player.js
Fixes audio mode duration doubled in iPhone iOS browsers. The player will stop after reaching the real duration. 
iOS() checks both iOS and iPadOS. 
Only tested on iPhone iOS browsers. Testers needed for behavior of iPadOS and MacOS.
2021-02-01 15:59:27 +08:00
TheFrenchGhosty
26ce0eb4b9
Merge pull request #1733 from weblate/weblate-invidious-translations
Translations update from Weblate
2021-01-31 20:17:07 +00:00
Perflyst
b30db728cc
Add suggestions 2021-01-31 13:17:50 +01:00
Ryota Hasegawa
5eb098b5aa Update Japanese translation 2021-01-31 12:18:45 +01:00
Ryota Hasegawa
a2995ea03a Update Japanese translation 2021-01-31 12:18:45 +01:00
Perflyst
82da5cfd01
Merge pull request #1712 from tenpura-shrimp/bumpvideojs
Bump videojs and fix webworker
2021-01-31 12:18:40 +01:00
saltycrys
909285ea46
Merge pull request #1732 from saltycrys/unrequire-logger
Unrequire `logger`
2021-01-31 03:48:29 +01:00
saltycrys
a0bc0641c7 Unrequire logger
Crystal's `Logger` was required but never used in Invidious. Crystal 0.36.0
removed `Logger` in favor of `Log`.
2021-01-31 03:33:38 +01:00
Alexander Pushkov
e7ada61881
Add link[rel="alternate"] pointing to YouTube version 2021-01-30 23:45:55 +00:00
Andre Borie
79e99908de Allow providing 12-Factor-style Database URL in config 2021-01-30 19:33:58 +00:00
TheFrenchGhosty
f1d7644184
Merge pull request #1727 from TheFrenchGhosty/finish-translation
Enable the Finish translation since it's now translated at more than 80%
2021-01-30 15:45:56 +00:00
TheFrenchGhosty
5f365927b3
Merge pull request #1721 from weblate/weblate-invidious-translations
Translations update from Weblate
2021-01-30 15:44:05 +00:00
TheFrenchGhosty
bd893cb24c Enable the Finish translation since it's now translated at more than 80% 2021-01-30 16:42:30 +01:00
Allan Nordhøy
e3352c3658 Update Indonesian translation 2021-01-30 14:46:17 +01:00
Riku Viitanen
63d3d6049e Update Finnish translation 2021-01-30 14:46:17 +01:00
Allan Nordhøy
668810858d Update Hungarian translation 2021-01-30 14:46:17 +01:00
THANOS SIOURDAKIS
b7131a5cd5 Update Greek translation 2021-01-30 14:46:17 +01:00
saltycrys
c9a316ad35
Merge pull request #1702 from saltycrys/config
Config improvements
2021-01-30 14:46:10 +01:00
Perflyst
ec8fe21485 Add issue templates 2021-01-30 10:53:25 +01:00
Andrew Zhao
4a0b10984a Bump videojs and fix webworker 2021-01-29 19:08:28 -05:00
TheFrenchGhosty
69406b00d1
Merge pull request #1714 from tenpura-shrimp/searchchannelthumbnailhttps
Remove HTTPS from channel thumbnail in search
2021-01-29 22:54:27 +00:00
TheFrenchGhosty
a1f3ae730a
Merge pull request #1718 from tenpura-shrimp/cacheshardstest
Fix broken build - install crystal 35.1 in ci
2021-01-29 22:51:39 +00:00
Andrew Zhao
fedaef5d17 install crystal 35.1 in ci 2021-01-29 12:36:19 -05:00
Perflyst
e35345f135
Remove container release on PR 2021-01-28 12:51:34 +01:00
Andrew Zhao
d0dbbd1cb1 remove https from channel thumbnail in search 2021-01-28 00:51:14 -05:00
saltycrys
70e14f92a4 Only start refresh jobs when necessary
If `channel_threads` or `feed_threads` is set to zero the corresponding job is
now not started.
2021-01-23 19:45:42 +01:00
saltycrys
b45f371911 Make config a constant
Instead of passing around `config` there is now the global `CONFIG`.
2021-01-23 19:39:04 +01:00
saltycrys
f1a7ee997b Add config environment variables
The config file can now be specified with `INVIDIOUS_CONFIG_FILE`.
A YAML formatted string can still be passed with `INVIDIOUS_CONFIG`, replacing
the config file.

Additionally all options can now be specified as environment variables.
The syntax for variable names is `INVIDIOUS_` followed by the option name in
upper case. The values are parsed as YAML.

These new env vars only update the provided main configuration, but it is
possible to point the config file at the example config and then use env vars
for all config options:
```
INVIDIOUS_CONFIG_FILE=./config/config.example.yml \
INVIDIOUS_CHANNEL_THREADS=10 \
./invidious
```
2021-01-23 18:58:13 +01:00