Commit Graph

2127 Commits (6bc9479e003f918cb55d494d98f1d77637ef0dd1)
 

Author SHA1 Message Date
leonklingele c80c5631f0
docker: do not require password for PostgreSQL superuser, docker,kubernetes: create "privacy" type before using it, travis: do not run "docker-compose up" in detached mode ()
* docker: do not require password for PostgreSQL superuser

A password is now required by the postgres Docker image which makes
initial setup (and our CI build) fail with the following error:

    postgres_1   | Error: Database is uninitialized and superuser password is not specified.
    postgres_1   |        You must specify POSTGRES_PASSWORD for the superuser. Use
    postgres_1   |        "-e POSTGRES_PASSWORD=password" to set it in "docker run".
    postgres_1   |
    postgres_1   |        You may also use POSTGRES_HOST_AUTH_METHOD=trust to allow all connections
    postgres_1   |        without a password. This is *not* recommended. See PostgreSQL
    postgres_1   |        documentation about "trust":
    postgres_1   |        https://www.postgresql.org/docs/current/auth-trust.html

See https://github.com/docker-library/postgres/issues/681.

* docker,kubernetes: create PostgreSQL "privacy" type before using it

Fixes the following error when setting up the database:

    postgres_1   | 2020-02-21 01:01:22.371 UTC [172] ERROR:  type "privacy" does not exist at character 200
    postgres_1   | 2020-02-21 01:01:22.371 UTC [172] STATEMENT:  CREATE TABLE public.playlists
    postgres_1   | 	(
    postgres_1   | 	    title text,
    postgres_1   | 	    id text primary key,
    postgres_1   | 	    author text,
    postgres_1   | 	    description text,
    postgres_1   | 	    video_count integer,
    postgres_1   | 	    created timestamptz,
    postgres_1   | 	    updated timestamptz,
    postgres_1   | 	    privacy privacy,
    postgres_1   | 	    index int8[]
    postgres_1   | 	);
    postgres_1   | ERROR:  type "privacy" does not exist
    postgres_1   | LINE 10:     privacy privacy,

* travis: do not run "docker-compose up" in detached mode

Rather, allow database to finish its setup procedure and grant
Invidious time to launch.
Omar Roth ef70668a77
Add HOST_AUTH_METHOD=trust to docker compose (see )
Karol Kosek ebd4691462 Update Polish translation
Tymofij Lytvynenko 28554235be Update Ukrainian translation
Deleted User efbbb6fd20 Update German translation
Omar Roth 9de57021a3
Update postgres setup
Omar Roth e21f770485
Fix status check for channel page
Omar Roth 697c00dccf
Sanitize PLID
Omar Roth 1caf6a3298
Fix deadlock when updating notifications
Omar Roth 02fd02d482
Remove DB array concatenation
Pedro Lucas Porcellis 239fb0db94
Remove duplicated Github logo on footer ()
* Remove duplicated Github logo on footer
Omar Roth fe1d73c3e5
Merge pull request from leonklingele/add-kubernetes
Add support to run on Kubernetes, add Helm chart
Omar Roth 43da06a354
Remove temp fix for
Omar Roth fea6b67067
Remove 'type' attribute from community embed
Omar Roth f065ae54d5
Merge pull request from leonklingele/crystal-0.33.0-format
Update code formatting for Crystal 0.33.0
Omar Roth 3cf417766d
Merge pull request from leanderseidlitz/master
readme.md: fix missing playlist relation in postgresql
Leander Seidlitz 0fb41b10e9
readme.md: fix missing playlist relation in postgresql
Leon Klingele bc9dc3bf1e
Update code formatting for Crystal 0.33.0
Crystal 0.33.0 introduced some changes to to the code formatter.
Run "crystal tool format" so CI doesn't fail anymore.
Leon Klingele 3cde5e28a8
Add support to run on Kubernetes, add Helm chart
See relevant README.md for more details.
Omar Roth cb8e7181c4
Merge pull request from leonklingele/config-env
Add support to read config from environment variable
Omar Roth 9a3becdecc
Merge pull request from jorgesumle/master
Remove invalid and useless HTML from embed player
Leon Klingele e3c10d779d
Add support to read config from environment variable
Try to read app config from the "INVIDIOUS_CONFIG" environment variable.
If the variable is undefined, read config from config.yml file as before.

Required by https://github.com/omarroth/invidious/pull/1015 et al.
Jorge Maldonado Ventura dd9f1024f4 Remove invalid HTML from embed player
Omar Roth 9841f74adc
Add handling for comments with no content
Omar Roth b56e493d92
Remove frameborder from community embeds
Omar Roth a2c5211b20
Check /browse_ajax for channel blocks
Omar Roth b7a7abed48
Merge pull request from outloudvi/zhcn-l10n
Update zh-CN translation
Omar Roth 72bfdfd925
Merge pull request from jorgesumle/embed
Change embed code
Outvi V b80d34612a
Update zh-CN translation
Omar Roth 648cc0f006
Refactor signature extraction
chr56 830692dd60
Update Chinese (Simplified) translation
Adam Zieliński 95a6759381
Update Polish translation
Jorge Maldonado Ventura 960b37b1c2
Update Spanish translation
Jorge Maldonado Ventura b1d17dea4f
Update Esperanto translation
Jeff Huang 6b06471953
Update Chinese (Traditional) translation
dimqua 4ca957d3eb
Update Russian translation
Oguz Ersen eb9b63477c
Update Turkish translation
Allan Nordhøy 80c01b055c
Update Norwegian Bokmål translation
Omar Roth 50aec67069
Merge pull request from rreuvekamp/202001_improve-dutch-locale
Improve Dutch locale
Omar Roth 7baced75e5
Fix channel redirect
Remi Reuvekamp 99743a94fb Improve Dutch locale
Omar Roth 9bdfd6025b
Add base-devel to Arch dependencies
Omar Roth 91400d2ce0
Merge pull request from frajibe/wip/frajibe/frenchTs
Small fixes for the french translation
Omar Roth 7b88d0efe3
Minor refactor
Omar Roth 4aada65dae
Fix channel playlists for genre channels
Omar Roth 0560d2cfb7
Bump video.js
Jorge Maldonado Ventura 58c1a68ad9 Change embed code
Omar Roth 588fc6df85
Bump dependencies
frajibe 2c9e4ded40 Fix the french translation
Omar Roth 88a538e71b
Minor refactor for channel playlists