diff --git a/conf/config.js b/conf/config.js index ff7ee20..d21cb6f 100644 --- a/conf/config.js +++ b/conf/config.js @@ -150,6 +150,15 @@ module.exports = { // This value is set to `2048` kilobytes by default. prefetchMaxImageSize: 2048, + // ### prefetchMaxSearchSize + // + // This value sets the maximum request size made to find the Open Graph tags + // for link previews. For some sites like YouTube this can easily exceed 300 + // kilobytes. + // + // This value is set to `50` kilobytes by default. + prefetchMaxSearchSize: 50, + // ### `fileUpload` // // Allow uploading files to the server hosting The Lounge. diff --git a/doc/screenshots/thelounge-screenshot.png b/doc/screenshots/thelounge-screenshot.png new file mode 100644 index 0000000..4e59d13 Binary files /dev/null and b/doc/screenshots/thelounge-screenshot.png differ diff --git a/manifest.json b/manifest.json index 0e8f148..91a4d3c 100644 --- a/manifest.json +++ b/manifest.json @@ -8,6 +8,14 @@ }, "version": "4.2.0~ynh3", "url": "https://thelounge.chat/", + "upstream": { + "license": "MIT", + "website": "https://thelounge.chat/", + "demo": "https://demo.thelounge.chat/", + "admindoc": "https://thelounge.chat/docs", + "userdoc": "https://yunohost.org/#/app_thelounge", + "code": "https://github.com/thelounge/thelounge" + }, "license": "MIT", "maintainer": { "name": "rafi59", @@ -19,7 +27,7 @@ "email": "beudbeud@beudibox.fr" }, "requirements": { - "yunohost": ">= 4.1.7" + "yunohost": ">= 4.2.4" }, "multi_instance": false, "services": [ diff --git a/scripts/install b/scripts/install index 592592c..4588981 100644 --- a/scripts/install +++ b/scripts/install @@ -135,7 +135,6 @@ popd ynh_script_progression --message="Configuring a systemd service..." ynh_replace_string --match_string="__ENV_PATH__" --replace_string="$PATH" --target_file="../conf/systemd.service" -ynh_replace_string --match_string="__NODE__" --replace_string="$nodejs_path" --target_file="../conf/systemd.service" ynh_add_systemd_config diff --git a/scripts/upgrade b/scripts/upgrade index 5461e5e..8830a30 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -143,7 +143,6 @@ fi ynh_script_progression --message="Upgrading systemd configuration..." ynh_replace_string --match_string="__ENV_PATH__" --replace_string="$PATH" --target_file="../conf/systemd.service" -ynh_replace_string --match_string="__NODE__" --replace_string="$nodejs_path" --target_file="../conf/systemd.service" ynh_add_systemd_config