Commit Graph

3733 Commits

Author SHA1 Message Date
Samantaz Fox 2f335b3d2c
Use a dedicated endpoind for downloads
This allows us to not pass file name ("title") in the form
data and to enforce some sanity checks
2022-02-23 13:00:30 +01:00
matthewmcgarvey 3b1837a99b Move remaining routes to new structure 2022-02-22 23:20:09 -06:00
matthewmcgarvey cc59de0c93 Extract live endpoints to route 2022-02-22 23:04:30 -06:00
TheFrenchGhosty 997d936e9c
Merge pull request #2924 from iv-org/SamantazFox-patch-1
Clean make help
2022-02-23 01:00:08 +00:00
Samantaz Fox 253256bf37
Clean make help
Forgot to mute the echo commands :X
2022-02-23 00:18:48 +01:00
Féry Mathieu (Mathius) e60a1836fe
Lint config.example.yml and config.cr
Follow lint indications :
- https://github.com/iv-org/invidious/pull/2915#discussion_r812396203
- https://github.com/iv-org/invidious/pull/2915#discussion_r812396807
2022-02-22 23:19:59 +01:00
Féry Mathieu (Mathius) e66b317f02
Reduce regex in player script
Following correction at:
https://github.com/iv-org/invidious/pull/2895#issuecomment-1048245008
2022-02-22 22:53:26 +01:00
Samantaz Fox b417ea8e3a
Merge pull request #2923 from iv-org/SamantazFox-patch-1
Fix captions regex
2022-02-22 20:48:03 +01:00
Féry Mathieu (Mathius) aa8758dec2
Patch updateCookie for preserve extra args (like domain) 2022-02-22 20:05:22 +01:00
Samantaz Fox b58b0440d6
Fix captions regex 2022-02-22 19:44:41 +01:00
Féry Mathieu (Mathius) ad6b29c09f
Update cookie domain definition in player script
Related with :
https://github.com/iv-org/invidious/pull/2895#issuecomment-1047762544
2022-02-22 18:58:41 +01:00
Féry Mathieu (Mathius) 09a585c93b
Add sameSite policy in cookie management in server side 2022-02-22 18:57:21 +01:00
TheFrenchGhosty a9d2d2211a
Apply suggestion
Co-authored-by: Samantaz Fox <coding@samantaz.fr>
2022-02-22 17:31:45 +00:00
Samantaz Fox fe057c7873
Make a function that builds the download widget's HTML 2022-02-22 17:42:41 +01:00
TheFrenchGhosty dfcaed93ea Enforce the source of the image (mostly for Podman compatibility) 2022-02-22 15:40:11 +01:00
TheFrenchGhosty 5e3fcad1fb Remove the enforced container_name following suggestions 2022-02-22 15:36:15 +01:00
Féry Mathieu (Mathius) 8e4959a621
Update cookie declaration for preserve SameSite directive 2022-02-22 13:15:53 +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) afa3eff313
Remove useless config inside docker-compose
Follow lint indications :
https://github.com/iv-org/invidious/pull/2915#discussion_r811501709
2022-02-22 08:07:50 +01:00
TheFrenchGhosty 9e91fd5241 Enforce a container_name and rename the postgres container 2022-02-22 03:02:14 +01:00
TheFrenchGhosty d90d347006 Re-order the configs in the order of the config file + add statistics_enabled 2022-02-22 02:55:42 +01:00
TheFrenchGhosty 385fe4be22 Move to an Alpine-based Postgres image 2022-02-22 02:43:25 +01:00
TheFrenchGhosty 7ec88741a6 Fix YAML syntax 2022-02-22 02:24:43 +01:00
TheFrenchGhosty 86cb68413d Add a comment explaining that it builds an image from source 2022-02-22 02:11:44 +01:00
TheFrenchGhosty 05c5d293eb Enhance the development compose file 2022-02-22 01:54:36 +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
Féry Mathieu (Mathius) 5d2f2690e2
Lint config properties
Follow lint indications :
https://github.com/iv-org/invidious/pull/2915#discussion_r811375584
2022-02-22 00:59:55 +01:00
Samantaz Fox 505a81d087
Merge pull request #2912 from MathiusD/share-with-timestamp
Add currentTimestamp in shared url by videojs-share
2022-02-22 00:47:02 +01:00
Féry Mathieu (Mathius) dfab62ce48
Rename new property to channel_refresh_interval
Follow indications :
https://github.com/iv-org/invidious/pull/2915#discussion_r811373503
2022-02-22 00:46:26 +01:00
Féry Mathieu (Mathius) 31699468fc
Lint docs of addCurrentTimeToURL in player script
Follow lint indications :
https://github.com/iv-org/invidious/pull/2912#discussion_r811479583
2022-02-22 00:44:36 +01:00
Samantaz Fox 857096ba5f
Merge pull request #2910 from MathiusD/expose-version
Expose version by default on api/v1/stats
2022-02-22 00:39:54 +01:00
Féry Mathieu (Mathius) 36c7d4270b
Lint conditional deletion of t in addCurrentTimeToURL inside player script
Follow lint indications :
https://github.com/iv-org/invidious/pull/2912#discussion_r811474927
2022-02-22 00:27:00 +01:00
Féry Mathieu (Mathius) d77586d02d
Remove extra space in shareOptions.embedCode of player script
Follow lint indications :
https://github.com/iv-org/invidious/pull/2912#discussion_r811367117
2022-02-22 00:21:47 +01:00
Samantaz Fox c8fbb74835
Merge pull request #2916 from weblate/weblate-invidious-translations
Translations update from Hosted Weblate
2022-02-22 00:19:11 +01:00
Hosted Weblate dfee375b98
Update Greek translation
Co-authored-by: THANOS SIOURDAKIS <siourdakisthanos@gmail.com>
2022-02-22 00:17:21 +01:00
Hosted Weblate 9268258773
Update Croatian translation
Co-authored-by: Milo Ivir <mail@milotype.de>
2022-02-22 00:17:21 +01:00
Hosted Weblate 9031ca5c3f
Update French translation
Co-authored-by: Samantaz Fox <translator-weblate@samantaz.fr>
2022-02-22 00:17:21 +01:00
Hosted Weblate 18d68184a9
Update Albanian translation
Co-authored-by: Besnik Bleta <besnik@programeshqip.org>
2022-02-22 00:17:21 +01:00
Hosted Weblate 3816f92095
Update Russian translation
Co-authored-by: AHOHNMYC <lqwh2h2cwa@protonmail.com>
2022-02-22 00:17:21 +01:00
Samantaz Fox fd55b08a1d
Add albanian to the locales list 2022-02-22 00:17:18 +01:00
Féry Mathieu (Mathius) d0d8ba0068
Remove useless config inside docker-compose
Follow lint indications :
https://github.com/iv-org/invidious/pull/2910#discussion_r811367959
2022-02-22 00:09:15 +01:00
Féry Mathieu (Mathius) 18197e7e3e
Lint description of channel_refresh_time 2022-02-21 11:13:24 +01:00
Féry Mathieu (Mathius) f75a81c9ee
Make configurable time between each RefreshChannelsJob 2022-02-21 10:53:20 +01:00
Féry Mathieu (Mathius) 9979a1b910
Add currentTimestamp in shared url by videojs-share 2022-02-19 17:03:22 +01:00
Féry Mathieu (Mathius) dbba9d7687
Expose version in /api/v1/stats with statistic disabled 2022-02-18 17:23:16 +01:00
Féry Mathieu (Mathius) 1e3f4ed398
Lint player.js
Follow lint indications :
- https://github.com/iv-org/invidious/pull/2895#discussion_r809461103
- https://github.com/iv-org/invidious/pull/2895#discussion_r809461622
2022-02-17 22:22:04 +01:00
TheFrenchGhosty d199b7264e
Merge pull request #2907 from iv-org/contact-page
Remove the e-mail section from the README and link to the website
2022-02-16 17:27:34 +00:00
TheFrenchGhosty b4c532f062
Remove the e-mail section from the README and link to the website 2022-02-16 17:27:03 +00:00
Samantaz Fox b24a89f820
Merge pull request #2903 from iv-org/SamantazFox-patch-1
comments: don't error out when video has no comments
2022-02-15 02:24:06 +01:00