Commit Graph

2932 Commits

Author SHA1 Message Date
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
TheFrenchGhosty
51ebec7c13
Merge pull request #1701 from TheFrenchGhosty/french-translation
Change some stuff done to the french translation in #1696
2021-01-23 17:26:31 +00:00
TheFrenchGhosty
c3ed1ad040 Change some stuff done to the french translation in #1696 2021-01-23 18:22:05 +01:00
TheFrenchGhosty
85ebf2e484
Merge pull request #1700 from TheFrenchGhosty/translations
Make invidious use all the translation files if they are translated at more than 80%
2021-01-23 17:12:37 +00:00
Weblate (bot)
1996e6afaa
Translations update from Weblate (#1696)
* Update German translation

* Add Bengali (Bangladesh) translation

* Update Bengali (Bangladesh) translation

* Update Portuguese (Portugal) translation

* Update Icelandic translation

* Update Bengali (Bangladesh) translation

* Update Bengali (Bangladesh) translation

* Add Catalan translation

* Update Norwegian Bokmål translation

* Add French (Canada) translation

* Update German translation

* Update Polish translation

* Update Dutch translation

* Update French translation

* Update Italian translation

* Update Greek translation

* Update French (Canada) translation

* Update Turkish translation

* Update Norwegian Bokmål translation

* Update Esperanto translation

* Update Esperanto translation

* Add Slovak translation

* Update Slovak translation

* Update Serbian (cyrillic) translation

* Update Slovak translation

* Update Esperanto translation

* Add Persian translation

* Update Persian translation

* Add Kannada translation

* Update Kannada translation

* Update Bengali (Bangladesh) translation

* Update Spanish translation

* Update Portuguese (Brazil) translation

* Update Chinese (Traditional) translation

* Update Swedish translation

* Update Portuguese (Portugal) translation

* Add Finnish translation

* Update Dutch translation

* Update Finnish translation

* Add Indonesian translation

* Add Portuguese translation

* Update Portuguese (Portugal) translation

* Update Indonesian translation

* Update Portuguese translation

* Update Polish translation

* Update Polish translation

* Update Portuguese (Brazil) translation

* Update Chinese (Simplified) translation

* Add Croatian translation

* Update Croatian translation

* Update Norwegian Bokmål translation

* Update Swedish translation

* Update Croatian translation

* Update Japanese translation

* Update Indonesian translation

* Add Danish translation

* Update Bengali (Bangladesh) translation

* Update Danish translation

* Update Chinese (Simplified) translation

* Update French (Canada) translation

* Add Malayalam translation

* Update Swedish translation

* Update Greek translation

* Update Greek translation

* Update Portuguese (Brazil) translation

* Delete Catalan translation

* Delete Malayalam translation

* Delete Kannada translation

* Delete French (Canada) translation

* Delete Portuguese translation

Co-authored-by: Jeannette L <j.lavoie@net-c.ca>
Co-authored-by: Oymate <dhruboadittya96@gmail.com>
Co-authored-by: Paulo Marinho <paulomarinho@protonmail.com>
Co-authored-by: recette-lemon <854qskawygnrtcdo@protonmail.com>
Co-authored-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
Co-authored-by: Allan Nordhøy <epost@anotheragency.no>
Co-authored-by: Oğuz Ersen <oguzersen@protonmail.com>
Co-authored-by: Attila Farkas <farkasattila@ymail.com>
Co-authored-by: bongo bongo <mombatubongo@gmail.com>
Co-authored-by: nathgit <nathronman+github@gmail.com>
Co-authored-by: Kevin Scruff <KevinScruff@protonmail.com>
Co-authored-by: Yogesh <yogesh@karnatakaeducation.org.in>
Co-authored-by: The Cats <philosoph@snopyta.org>
Co-authored-by: FeiYang <feiyang@fyol.xyz>
Co-authored-by: Luna Jernberg <droidbittin@gmail.com>
Co-authored-by: ssantos <ssantos@web.de>
Co-authored-by: Unihuppio <virancannos@protonmail.com>
Co-authored-by: Joachim Opdenakker <opdenakker.joachim@gmail.com>
Co-authored-by: ziasukmana <ziasukmana@hotmail.com>
Co-authored-by: Atrate <Atrate@protonmail.com>
Co-authored-by: Karol Kosek <krkk@krkk.ct8.pl>
Co-authored-by: André Marcelo Alvarenga <andrealvarenga@gmx.net>
Co-authored-by: Eric <spice2wolf@gmail.com>
Co-authored-by: Milo Ivir <mail@milotype.de>
Co-authored-by: Petter Reinholdtsen <pere-weblate@hungry.com>
Co-authored-by: Y. Sakamoto <ysakamoto@tutanota.com>
Co-authored-by: Nimityx <c93c81b9-b581-4651-89fc-a416fd69558e@anonaddy.me>
Co-authored-by: HackerNCoder <hackerncoder@protonmail.ch>
Co-authored-by: vachan-maker <vachan2014carmel@gmail.com>
Co-authored-by: fresh <fresh190@protonmail.com>
Co-authored-by: TheFrenchGhosty <TheFrenchGhosty@posteo.is>
2021-01-23 17:10:51 +00:00
TheFrenchGhosty
799f97e847 Make invidious use all the translation files 2021-01-23 18:07:55 +01:00
Perflyst
dd2a7f91cc
Merge pull request #1691 from StuffNoOneCaresAbout/container-sha
Container sha without 2 builds
2021-01-22 12:42:05 +01:00
FireMasterK
c86e9dfc8a
build image daily at 0:00 GMT 2021-01-22 16:54:49 +05:30
FireMasterK
40a2579821
different steps depending on event. 2021-01-22 09:20:17 +05:30
Perflyst
380b64071e
Expire sha images after 6 weeks 2021-01-22 00:03:09 +01:00
Perflyst
5ce0b1c18e
Remove image digest output
Does not work with two images at the same time
2021-01-21 23:54:31 +01:00
Perflyst
a00453e151
Build latest only on master, add commit sha tag
Close #1688
2021-01-21 23:51:54 +01:00
Perflyst
a1aa40f500
Fix container build 2021-01-21 07:45:43 +01:00
TheFrenchGhosty
1ad4685bb7
Merge pull request #1629 from tenpura-shrimp/searchui
Add ui for search sort and filter
2021-01-20 12:56:41 +00:00
Perflyst
d8629e61d6
Merge pull request #1674 from iv-org/container-quay
Add container CI release
2021-01-20 12:44:16 +01:00