From 701a9f548945ab453665660bf1c4485b18366710 Mon Sep 17 00:00:00 2001 From: lapineige Date: Sat, 10 Feb 2024 19:54:00 +0100 Subject: [PATCH 1/4] Testing : v0.11.11 and adjustments (#248) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * v2 * v2 * Create tests.toml * Auto-update README * fix * Update _common.sh * Update install * Update manifest.toml * Update manifest.toml * cleaning * Auto-update README * Auto-update README * Add post edits (from dev branch) Using lastest commit as most of the previous ones fix edits stuff + bugs https://github.com/pixelfed/pixelfed/commit/5cfe8cd56a5a9f9fb1b1c813d50d07ba6839181d * bump version * Auto-update README * cleaning * Update manifest.toml * Auto-update README * Update ADMIN.md * Update change_url * php8.2 * php8.2 * add ressources needed * php8.2 * update PHP * post edit formatting fixes https://github.com/pixelfed/pixelfed/commit/4479055e1e4700a58479f038d5b0d5d14e2f6897 * v0.11.8 * v0.11.8 * Auto-update README * Master -> ynh V2 (v0.11.8) * Auto-update README * Update .env * Fix .env + improvements https://github.com/YunoHost-Apps/pixelfed_ynh/pull/219#issuecomment-1568049256 * Update manifest.toml * Auto-update README * Typo * Patch file access right (fix post 0.11.5 installs) * Bump version (post v0.11.5 install fixes) * Auto-update README * Update extra_php-fpm.conf Fix #223 * Testing : fix ≥0.11.5 installs (#222) (#225) * v2 * v2 * Create tests.toml * Auto-update README * fix * Update _common.sh * Update install * Update manifest.toml * Update manifest.toml * cleaning * Auto-update README * Auto-update README * Add post edits (from dev branch) Using lastest commit as most of the previous ones fix edits stuff + bugs https://github.com/pixelfed/pixelfed/commit/5cfe8cd56a5a9f9fb1b1c813d50d07ba6839181d * bump version * Auto-update README * cleaning * Update manifest.toml * Auto-update README * Update ADMIN.md * Update change_url * php8.2 * php8.2 * add ressources needed * php8.2 * update PHP * post edit formatting fixes https://github.com/pixelfed/pixelfed/commit/4479055e1e4700a58479f038d5b0d5d14e2f6897 * v0.11.8 * v0.11.8 * Auto-update README * Master -> ynh V2 (v0.11.8) * Auto-update README * Update .env * Fix .env + improvements https://github.com/YunoHost-Apps/pixelfed_ynh/pull/219#issuecomment-1568049256 * Update manifest.toml * Auto-update README * Typo * Patch file access right (fix post 0.11.5 installs) * Bump version (post v0.11.5 install fixes) * Auto-update README --------- Co-authored-by: Éric Gaspar <46165813+ericgaspar@users.noreply.github.com> Co-authored-by: yunohost-bot Co-authored-by: ericgaspar * Bump version * Auto-update README * Fix post-v2 issues * Patch post v0.11.5 permissions Why are they not correct by default ? * Testing : fix images rights in package v2 (#224) (#227) * v2 * v2 * Create tests.toml * Auto-update README * fix * Update _common.sh * Update install * Update manifest.toml * Update manifest.toml * cleaning * Auto-update README * Auto-update README * Add post edits (from dev branch) Using lastest commit as most of the previous ones fix edits stuff + bugs https://github.com/pixelfed/pixelfed/commit/5cfe8cd56a5a9f9fb1b1c813d50d07ba6839181d * bump version * Auto-update README * cleaning * Update manifest.toml * Auto-update README * Update ADMIN.md * Update change_url * php8.2 * php8.2 * add ressources needed * php8.2 * update PHP * post edit formatting fixes https://github.com/pixelfed/pixelfed/commit/4479055e1e4700a58479f038d5b0d5d14e2f6897 * v0.11.8 * v0.11.8 * Auto-update README * Master -> ynh V2 (v0.11.8) * Auto-update README * Update .env * Fix .env + improvements https://github.com/YunoHost-Apps/pixelfed_ynh/pull/219#issuecomment-1568049256 * Update manifest.toml * Auto-update README * Typo * Patch file access right (fix post 0.11.5 installs) * Bump version (post v0.11.5 install fixes) * Auto-update README * Update extra_php-fpm.conf Fix #223 * Testing : fix ≥0.11.5 installs (#222) (#225) * v2 * v2 * Create tests.toml * Auto-update README * fix * Update _common.sh * Update install * Update manifest.toml * Update manifest.toml * cleaning * Auto-update README * Auto-update README * Add post edits (from dev branch) Using lastest commit as most of the previous ones fix edits stuff + bugs https://github.com/pixelfed/pixelfed/commit/5cfe8cd56a5a9f9fb1b1c813d50d07ba6839181d * bump version * Auto-update README * cleaning * Update manifest.toml * Auto-update README * Update ADMIN.md * Update change_url * php8.2 * php8.2 * add ressources needed * php8.2 * update PHP * post edit formatting fixes https://github.com/pixelfed/pixelfed/commit/4479055e1e4700a58479f038d5b0d5d14e2f6897 * v0.11.8 * v0.11.8 * Auto-update README * Master -> ynh V2 (v0.11.8) * Auto-update README * Update .env * Fix .env + improvements https://github.com/YunoHost-Apps/pixelfed_ynh/pull/219#issuecomment-1568049256 * Update manifest.toml * Auto-update README * Typo * Patch file access right (fix post 0.11.5 installs) * Bump version (post v0.11.5 install fixes) * Auto-update README --------- * Bump version * Auto-update README * Fix post-v2 issues --------- Co-authored-by: Éric Gaspar <46165813+ericgaspar@users.noreply.github.com> Co-authored-by: yunohost-bot Co-authored-by: ericgaspar * Bump version * Auto-update README * Fix mail sendmail (#230) * Testing : patch install permissions (#226) * v2 * v2 * Create tests.toml * Auto-update README * fix * Update _common.sh * Update install * Update manifest.toml * Update manifest.toml * cleaning * Auto-update README * Auto-update README * Add post edits (from dev branch) Using lastest commit as most of the previous ones fix edits stuff + bugs https://github.com/pixelfed/pixelfed/commit/5cfe8cd56a5a9f9fb1b1c813d50d07ba6839181d * bump version * Auto-update README * cleaning * Update manifest.toml * Auto-update README * Update ADMIN.md * Update change_url * php8.2 * php8.2 * add ressources needed * php8.2 * update PHP * post edit formatting fixes https://github.com/pixelfed/pixelfed/commit/4479055e1e4700a58479f038d5b0d5d14e2f6897 * v0.11.8 * v0.11.8 * Auto-update README * Master -> ynh V2 (v0.11.8) * Auto-update README * Update .env * Fix .env + improvements https://github.com/YunoHost-Apps/pixelfed_ynh/pull/219#issuecomment-1568049256 * Update manifest.toml * Auto-update README * Typo * Patch file access right (fix post 0.11.5 installs) * Bump version (post v0.11.5 install fixes) * Auto-update README * Update extra_php-fpm.conf Fix #223 * Testing : fix ≥0.11.5 installs (#222) (#225) * v2 * v2 * Create tests.toml * Auto-update README * fix * Update _common.sh * Update install * Update manifest.toml * Update manifest.toml * cleaning * Auto-update README * Auto-update README * Add post edits (from dev branch) Using lastest commit as most of the previous ones fix edits stuff + bugs https://github.com/pixelfed/pixelfed/commit/5cfe8cd56a5a9f9fb1b1c813d50d07ba6839181d * bump version * Auto-update README * cleaning * Update manifest.toml * Auto-update README * Update ADMIN.md * Update change_url * php8.2 * php8.2 * add ressources needed * php8.2 * update PHP * post edit formatting fixes https://github.com/pixelfed/pixelfed/commit/4479055e1e4700a58479f038d5b0d5d14e2f6897 * v0.11.8 * v0.11.8 * Auto-update README * Master -> ynh V2 (v0.11.8) * Auto-update README * Update .env * Fix .env + improvements https://github.com/YunoHost-Apps/pixelfed_ynh/pull/219#issuecomment-1568049256 * Update manifest.toml * Auto-update README * Typo * Patch file access right (fix post 0.11.5 installs) * Bump version (post v0.11.5 install fixes) * Auto-update README --------- Co-authored-by: Éric Gaspar <46165813+ericgaspar@users.noreply.github.com> Co-authored-by: yunohost-bot Co-authored-by: ericgaspar * Bump version * Auto-update README * Fix post-v2 issues * Patch post v0.11.5 permissions Why are they not correct by default ? * Testing : fix images rights in package v2 (#224) (#227) * v2 * v2 * Create tests.toml * Auto-update README * fix * Update _common.sh * Update install * Update manifest.toml * Update manifest.toml * cleaning * Auto-update README * Auto-update README * Add post edits (from dev branch) Using lastest commit as most of the previous ones fix edits stuff + bugs https://github.com/pixelfed/pixelfed/commit/5cfe8cd56a5a9f9fb1b1c813d50d07ba6839181d * bump version * Auto-update README * cleaning * Update manifest.toml * Auto-update README * Update ADMIN.md * Update change_url * php8.2 * php8.2 * add ressources needed * php8.2 * update PHP * post edit formatting fixes https://github.com/pixelfed/pixelfed/commit/4479055e1e4700a58479f038d5b0d5d14e2f6897 * v0.11.8 * v0.11.8 * Auto-update README * Master -> ynh V2 (v0.11.8) * Auto-update README * Update .env * Fix .env + improvements https://github.com/YunoHost-Apps/pixelfed_ynh/pull/219#issuecomment-1568049256 * Update manifest.toml * Auto-update README * Typo * Patch file access right (fix post 0.11.5 installs) * Bump version (post v0.11.5 install fixes) * Auto-update README * Update extra_php-fpm.conf Fix #223 * Testing : fix ≥0.11.5 installs (#222) (#225) * v2 * v2 * Create tests.toml * Auto-update README * fix * Update _common.sh * Update install * Update manifest.toml * Update manifest.toml * cleaning * Auto-update README * Auto-update README * Add post edits (from dev branch) Using lastest commit as most of the previous ones fix edits stuff + bugs https://github.com/pixelfed/pixelfed/commit/5cfe8cd56a5a9f9fb1b1c813d50d07ba6839181d * bump version * Auto-update README * cleaning * Update manifest.toml * Auto-update README * Update ADMIN.md * Update change_url * php8.2 * php8.2 * add ressources needed * php8.2 * update PHP * post edit formatting fixes https://github.com/pixelfed/pixelfed/commit/4479055e1e4700a58479f038d5b0d5d14e2f6897 * v0.11.8 * v0.11.8 * Auto-update README * Master -> ynh V2 (v0.11.8) * Auto-update README * Update .env * Fix .env + improvements https://github.com/YunoHost-Apps/pixelfed_ynh/pull/219#issuecomment-1568049256 * Update manifest.toml * Auto-update README * Typo * Patch file access right (fix post 0.11.5 installs) * Bump version (post v0.11.5 install fixes) * Auto-update README --------- * Bump version * Auto-update README * Fix post-v2 issues --------- Co-authored-by: Éric Gaspar <46165813+ericgaspar@users.noreply.github.com> Co-authored-by: yunohost-bot Co-authored-by: ericgaspar * Bump version * Auto-update README --------- Co-authored-by: Éric Gaspar <46165813+ericgaspar@users.noreply.github.com> Co-authored-by: yunohost-bot Co-authored-by: ericgaspar * Update .env use sendmail for default mail sending, should work out of the box for fresh installs * patch source prevent privilege escalation * patching source prevent privilege escalation * patching source prevent privilege escalation * Update manifest.toml Enable authentication on the mail stack for the system user * Update .env authentication on the mail stack with app system user * Fix old email configs --------- Co-authored-by: lapineige Co-authored-by: Éric Gaspar <46165813+ericgaspar@users.noreply.github.com> Co-authored-by: yunohost-bot Co-authored-by: ericgaspar * remove full_domain * Add manual email verification doc (#233) * Add manual email verification doc * email verification doc (fr) * fix doc * 0.11.9 (#236) * v0.11.9 * Auto-update README --------- Co-authored-by: yunohost-bot * Update manifest.toml * Auto-update README * Fix php conf & image permissions (#238) * Transfer to normal php conf * Transfer to normal php conf * Add running directory * Rename php_fpm.conf to php-fpm.conf * bump version * Auto-update README * bump minimum YNH version * switch back to extra_php * Set proper group owner for php Using new helper https://github.com/YunoHost/yunohost/commit/65d25710725b06d281630644b80d8d01dfba1bde * Set proper group owner for php * manifest: fix yunohost version requirement typo --------- Co-authored-by: yunohost-bot Co-authored-by: Alexandre Aubin * Upgrade to composer 2 (#241) * Testing : fix php/pictures permissions (#239) * v2 * v2 * Create tests.toml * Auto-update README * fix * Update _common.sh * Update install * Update manifest.toml * Update manifest.toml * cleaning * Auto-update README * Auto-update README * Add post edits (from dev branch) Using lastest commit as most of the previous ones fix edits stuff + bugs https://github.com/pixelfed/pixelfed/commit/5cfe8cd56a5a9f9fb1b1c813d50d07ba6839181d * bump version * Auto-update README * cleaning * Update manifest.toml * Auto-update README * Update ADMIN.md * Update change_url * php8.2 * php8.2 * add ressources needed * php8.2 * update PHP * post edit formatting fixes https://github.com/pixelfed/pixelfed/commit/4479055e1e4700a58479f038d5b0d5d14e2f6897 * v0.11.8 * v0.11.8 * Auto-update README * Master -> ynh V2 (v0.11.8) * Auto-update README * Update .env * Fix .env + improvements https://github.com/YunoHost-Apps/pixelfed_ynh/pull/219#issuecomment-1568049256 * Update manifest.toml * Auto-update README * Typo * Patch file access right (fix post 0.11.5 installs) * Bump version (post v0.11.5 install fixes) * Auto-update README * Update extra_php-fpm.conf Fix #223 * Testing : fix ≥0.11.5 installs (#222) (#225) * v2 * v2 * Create tests.toml * Auto-update README * fix * Update _common.sh * Update install * Update manifest.toml * Update manifest.toml * cleaning * Auto-update README * Auto-update README * Add post edits (from dev branch) Using lastest commit as most of the previous ones fix edits stuff + bugs https://github.com/pixelfed/pixelfed/commit/5cfe8cd56a5a9f9fb1b1c813d50d07ba6839181d * bump version * Auto-update README * cleaning * Update manifest.toml * Auto-update README * Update ADMIN.md * Update change_url * php8.2 * php8.2 * add ressources needed * php8.2 * update PHP * post edit formatting fixes https://github.com/pixelfed/pixelfed/commit/4479055e1e4700a58479f038d5b0d5d14e2f6897 * v0.11.8 * v0.11.8 * Auto-update README * Master -> ynh V2 (v0.11.8) * Auto-update README * Update .env * Fix .env + improvements https://github.com/YunoHost-Apps/pixelfed_ynh/pull/219#issuecomment-1568049256 * Update manifest.toml * Auto-update README * Typo * Patch file access right (fix post 0.11.5 installs) * Bump version (post v0.11.5 install fixes) * Auto-update README --------- Co-authored-by: Éric Gaspar <46165813+ericgaspar@users.noreply.github.com> Co-authored-by: yunohost-bot Co-authored-by: ericgaspar * Bump version * Auto-update README * Fix post-v2 issues * Patch post v0.11.5 permissions Why are they not correct by default ? * Testing : fix images rights in package v2 (#224) (#227) * v2 * v2 * Create tests.toml * Auto-update README * fix * Update _common.sh * Update install * Update manifest.toml * Update manifest.toml * cleaning * Auto-update README * Auto-update README * Add post edits (from dev branch) Using lastest commit as most of the previous ones fix edits stuff + bugs https://github.com/pixelfed/pixelfed/commit/5cfe8cd56a5a9f9fb1b1c813d50d07ba6839181d * bump version * Auto-update README * cleaning * Update manifest.toml * Auto-update README * Update ADMIN.md * Update change_url * php8.2 * php8.2 * add ressources needed * php8.2 * update PHP * post edit formatting fixes https://github.com/pixelfed/pixelfed/commit/4479055e1e4700a58479f038d5b0d5d14e2f6897 * v0.11.8 * v0.11.8 * Auto-update README * Master -> ynh V2 (v0.11.8) * Auto-update README * Update .env * Fix .env + improvements https://github.com/YunoHost-Apps/pixelfed_ynh/pull/219#issuecomment-1568049256 * Update manifest.toml * Auto-update README * Typo * Patch file access right (fix post 0.11.5 installs) * Bump version (post v0.11.5 install fixes) * Auto-update README * Update extra_php-fpm.conf Fix #223 * Testing : fix ≥0.11.5 installs (#222) (#225) * v2 * v2 * Create tests.toml * Auto-update README * fix * Update _common.sh * Update install * Update manifest.toml * Update manifest.toml * cleaning * Auto-update README * Auto-update README * Add post edits (from dev branch) Using lastest commit as most of the previous ones fix edits stuff + bugs https://github.com/pixelfed/pixelfed/commit/5cfe8cd56a5a9f9fb1b1c813d50d07ba6839181d * bump version * Auto-update README * cleaning * Update manifest.toml * Auto-update README * Update ADMIN.md * Update change_url * php8.2 * php8.2 * add ressources needed * php8.2 * update PHP * post edit formatting fixes https://github.com/pixelfed/pixelfed/commit/4479055e1e4700a58479f038d5b0d5d14e2f6897 * v0.11.8 * v0.11.8 * Auto-update README * Master -> ynh V2 (v0.11.8) * Auto-update README * Update .env * Fix .env + improvements https://github.com/YunoHost-Apps/pixelfed_ynh/pull/219#issuecomment-1568049256 * Update manifest.toml * Auto-update README * Typo * Patch file access right (fix post 0.11.5 installs) * Bump version (post v0.11.5 install fixes) * Auto-update README --------- * Bump version * Auto-update README * Fix post-v2 issues --------- Co-authored-by: Éric Gaspar <46165813+ericgaspar@users.noreply.github.com> Co-authored-by: yunohost-bot Co-authored-by: ericgaspar * Bump version * Auto-update README * Fix mail sendmail (#230) * Testing : patch install permissions (#226) * v2 * v2 * Create tests.toml * Auto-update README * fix * Update _common.sh * Update install * Update manifest.toml * Update manifest.toml * cleaning * Auto-update README * Auto-update README * Add post edits (from dev branch) Using lastest commit as most of the previous ones fix edits stuff + bugs https://github.com/pixelfed/pixelfed/commit/5cfe8cd56a5a9f9fb1b1c813d50d07ba6839181d * bump version * Auto-update README * cleaning * Update manifest.toml * Auto-update README * Update ADMIN.md * Update change_url * php8.2 * php8.2 * add ressources needed * php8.2 * update PHP * post edit formatting fixes https://github.com/pixelfed/pixelfed/commit/4479055e1e4700a58479f038d5b0d5d14e2f6897 * v0.11.8 * v0.11.8 * Auto-update README * Master -> ynh V2 (v0.11.8) * Auto-update README * Update .env * Fix .env + improvements https://github.com/YunoHost-Apps/pixelfed_ynh/pull/219#issuecomment-1568049256 * Update manifest.toml * Auto-update README * Typo * Patch file access right (fix post 0.11.5 installs) * Bump version (post v0.11.5 install fixes) * Auto-update README * Update extra_php-fpm.conf Fix #223 * Testing : fix ≥0.11.5 installs (#222) (#225) * v2 * v2 * Create tests.toml * Auto-update README * fix * Update _common.sh * Update install * Update manifest.toml * Update manifest.toml * cleaning * Auto-update README * Auto-update README * Add post edits (from dev branch) Using lastest commit as most of the previous ones fix edits stuff + bugs https://github.com/pixelfed/pixelfed/commit/5cfe8cd56a5a9f9fb1b1c813d50d07ba6839181d * bump version * Auto-update README * cleaning * Update manifest.toml * Auto-update README * Update ADMIN.md * Update change_url * php8.2 * php8.2 * add ressources needed * php8.2 * update PHP * post edit formatting fixes https://github.com/pixelfed/pixelfed/commit/4479055e1e4700a58479f038d5b0d5d14e2f6897 * v0.11.8 * v0.11.8 * Auto-update README * Master -> ynh V2 (v0.11.8) * Auto-update README * Update .env * Fix .env + improvements https://github.com/YunoHost-Apps/pixelfed_ynh/pull/219#issuecomment-1568049256 * Update manifest.toml * Auto-update README * Typo * Patch file access right (fix post 0.11.5 installs) * Bump version (post v0.11.5 install fixes) * Auto-update README --------- Co-authored-by: Éric Gaspar <46165813+ericgaspar@users.noreply.github.com> Co-authored-by: yunohost-bot Co-authored-by: ericgaspar * Bump version * Auto-update README * Fix post-v2 issues * Patch post v0.11.5 permissions Why are they not correct by default ? * Testing : fix images rights in package v2 (#224) (#227) * v2 * v2 * Create tests.toml * Auto-update README * fix * Update _common.sh * Update install * Update manifest.toml * Update manifest.toml * cleaning * Auto-update README * Auto-update README * Add post edits (from dev branch) Using lastest commit as most of the previous ones fix edits stuff + bugs https://github.com/pixelfed/pixelfed/commit/5cfe8cd56a5a9f9fb1b1c813d50d07ba6839181d * bump version * Auto-update README * cleaning * Update manifest.toml * Auto-update README * Update ADMIN.md * Update change_url * php8.2 * php8.2 * add ressources needed * php8.2 * update PHP * post edit formatting fixes https://github.com/pixelfed/pixelfed/commit/4479055e1e4700a58479f038d5b0d5d14e2f6897 * v0.11.8 * v0.11.8 * Auto-update README * Master -> ynh V2 (v0.11.8) * Auto-update README * Update .env * Fix .env + improvements https://github.com/YunoHost-Apps/pixelfed_ynh/pull/219#issuecomment-1568049256 * Update manifest.toml * Auto-update README * Typo * Patch file access right (fix post 0.11.5 installs) * Bump version (post v0.11.5 install fixes) * Auto-update README * Update extra_php-fpm.conf Fix #223 * Testing : fix ≥0.11.5 installs (#222) (#225) * v2 * v2 * Create tests.toml * Auto-update README * fix * Update _common.sh * Update install * Update manifest.toml * Update manifest.toml * cleaning * Auto-update README * Auto-update README * Add post edits (from dev branch) Using lastest commit as most of the previous ones fix edits stuff + bugs https://github.com/pixelfed/pixelfed/commit/5cfe8cd56a5a9f9fb1b1c813d50d07ba6839181d * bump version * Auto-update README * cleaning * Update manifest.toml * Auto-update README * Update ADMIN.md * Update change_url * php8.2 * php8.2 * add ressources needed * php8.2 * update PHP * post edit formatting fixes https://github.com/pixelfed/pixelfed/commit/4479055e1e4700a58479f038d5b0d5d14e2f6897 * v0.11.8 * v0.11.8 * Auto-update README * Master -> ynh V2 (v0.11.8) * Auto-update README * Update .env * Fix .env + improvements https://github.com/YunoHost-Apps/pixelfed_ynh/pull/219#issuecomment-1568049256 * Update manifest.toml * Auto-update README * Typo * Patch file access right (fix post 0.11.5 installs) * Bump version (post v0.11.5 install fixes) * Auto-update README --------- * Bump version * Auto-update README * Fix post-v2 issues --------- Co-authored-by: Éric Gaspar <46165813+ericgaspar@users.noreply.github.com> Co-authored-by: yunohost-bot Co-authored-by: ericgaspar * Bump version * Auto-update README --------- Co-authored-by: Éric Gaspar <46165813+ericgaspar@users.noreply.github.com> Co-authored-by: yunohost-bot Co-authored-by: ericgaspar * Update .env use sendmail for default mail sending, should work out of the box for fresh installs * patch source prevent privilege escalation * patching source prevent privilege escalation * patching source prevent privilege escalation * Update manifest.toml Enable authentication on the mail stack for the system user * Update .env authentication on the mail stack with app system user * Fix old email configs --------- Co-authored-by: lapineige Co-authored-by: Éric Gaspar <46165813+ericgaspar@users.noreply.github.com> Co-authored-by: yunohost-bot Co-authored-by: ericgaspar * remove full_domain * Add manual email verification doc (#233) * Add manual email verification doc * email verification doc (fr) * fix doc * 0.11.9 (#236) * v0.11.9 * Auto-update README --------- Co-authored-by: yunohost-bot * Update manifest.toml * Auto-update README * Fix php conf & image permissions (#238) * Transfer to normal php conf * Transfer to normal php conf * Add running directory * Rename php_fpm.conf to php-fpm.conf * bump version * Auto-update README * bump minimum YNH version * switch back to extra_php * Set proper group owner for php Using new helper https://github.com/YunoHost/yunohost/commit/65d25710725b06d281630644b80d8d01dfba1bde * Set proper group owner for php * manifest: fix yunohost version requirement typo --------- Co-authored-by: yunohost-bot Co-authored-by: Alexandre Aubin --------- Co-authored-by: Éric Gaspar <46165813+ericgaspar@users.noreply.github.com> Co-authored-by: yunohost-bot Co-authored-by: ericgaspar Co-authored-by: themancalledjakob Co-authored-by: Alexandre Aubin * Upgrade to composer 2 --------- Co-authored-by: lapineige Co-authored-by: Éric Gaspar <46165813+ericgaspar@users.noreply.github.com> Co-authored-by: yunohost-bot Co-authored-by: ericgaspar Co-authored-by: themancalledjakob Co-authored-by: Alexandre Aubin * fix logrotate user * Auto-update README * Update manifest.toml * Auto-update README * test from current version * Update v0.11.11 (#246) * Update v0.11.11 * Update tests_upgrade from v0.11.9 --------- Co-authored-by: lapineige * Auto-update README * Add video P2P https://github.com/pixelfed/pixelfed/pull/4713 --------- Co-authored-by: Éric Gaspar <46165813+ericgaspar@users.noreply.github.com> Co-authored-by: yunohost-bot Co-authored-by: ericgaspar Co-authored-by: themancalledjakob Co-authored-by: Alexandre Aubin Co-authored-by: bg-wa Co-authored-by: oufmilo <44617467+oufmilo@users.noreply.github.com> --- README.md | 2 +- README_fr.md | 2 +- conf/.env | 5 +++++ manifest.toml | 6 +++--- tests.toml | 2 +- 5 files changed, 11 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index bd5ebc7a..0cf2cf1f 100644 --- a/README.md +++ b/README.md @@ -25,7 +25,7 @@ In addition to taking over the functionality of Instagram, the functioning of Pi It is also possible to import your data from Instagram. -**Shipped version:** 0.11.9~ynh3 +**Shipped version:** 0.11.11~ynh1 ## Screenshots diff --git a/README_fr.md b/README_fr.md index 225e9237..7877d13e 100644 --- a/README_fr.md +++ b/README_fr.md @@ -26,7 +26,7 @@ En plus de reprendre les fonctionnalités d'Instagram, le fonctionnement de Pixe Il est également possible d'importer ses données depuis Instagram. -**Version incluse :** 0.11.9~ynh3 +**Version incluse :** 0.11.11~ynh1 ## Captures d’écran diff --git a/conf/.env b/conf/.env index 615ba19d..0acef299 100644 --- a/conf/.env +++ b/conf/.env @@ -141,3 +141,8 @@ SESSION_DRIVER=redis ## Passport #PASSPORT_PRIVATE_KEY= #PASSPORT_PUBLIC_KEY= + +## Video P2P +MEDIA_HLS_ENABLED=true +MEDIA_HLS_P2P=true +MEDIA_HLS_BITRATE=2000 # average quality and limited storage use diff --git a/manifest.toml b/manifest.toml index 9b4ba724..b0975d3b 100644 --- a/manifest.toml +++ b/manifest.toml @@ -5,7 +5,7 @@ name = "Pixelfed" description.en = "ActivityPub Federated Image Sharing" description.fr = "Logiciel de partage d'image fédéré via ActivityPub" -version = "0.11.9~ynh3" +version = "0.11.11~ynh1" maintainers = ["yalh76", "Lapineige"] @@ -36,8 +36,8 @@ ram.runtime = "100M" [resources] [resources.sources.main] - url = "https://github.com/pixelfed/pixelfed/archive/refs/tags/v0.11.9.tar.gz" - sha256 = "a56629a8094749911927a4a02b69fa3446f1a089315ff9b2ccfd85a5e26bd140" + url = "https://github.com/pixelfed/pixelfed/archive/refs/tags/v0.11.11.tar.gz" + sha256 = "01bb56f0b2f888788d9cbf96809ce9f38b09be8e925036c7df8eb0236d1c3be6" autoupdate.strategy = "latest_github_tag" [resources.system_user] diff --git a/tests.toml b/tests.toml index 3e9755f2..72cf2095 100644 --- a/tests.toml +++ b/tests.toml @@ -6,4 +6,4 @@ test_format = 1.0 # Commits to test upgrade from # ------------------------------- - test_upgrade_from.7a4833633f76d050296c783e565f8cdfc913c75a.name = "Upgrade from 0.11.2" + test_upgrade_from.aa1c6c9.name = "Upgrade from v0.11.9" From da80757ac6b8f62a1f1b02c84fc938ab7f632e54 Mon Sep 17 00:00:00 2001 From: lapineige Date: Sun, 18 Feb 2024 13:53:41 +0100 Subject: [PATCH 2/4] Create DISCLAIMER.md --- doc/DISCLAIMER.md | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 doc/DISCLAIMER.md diff --git a/doc/DISCLAIMER.md b/doc/DISCLAIMER.md new file mode 100644 index 00000000..6a9904d7 --- /dev/null +++ b/doc/DISCLAIMER.md @@ -0,0 +1,30 @@ +# Some useful commands to know to manage your instance +You need to run them from you pixelfed folder (usually `/var/www/pixelfed`). + +## Applying changes from the `.env` config file + +Once you made some changes, you need to run `php8.2 artisan config:cache && php8.2 artisan cache:clear` to apply them. +Note: this will disconnect any logged-in account (including from the admin web UI). + +## Removing avatar cache to save space +`php8.2 artisan avatar:storage-deep-clean` + +Use it to prune old avatars that are outdated or no longer used. This might save some disk space. + +## Fix missing avatars or refetch them. +`php8.2 artisan avatar:storage` + +It can be used to fetch remote avatars that are not loaded (or in case you deleted `/var/www/pixelfed/storage/app/public/cache/avatars` where they are stored). +It might also be usefull to migrate that cache (only, not the other existing media) to an S3 storage, by refectching all of them. + +Be aware that this will generate a lot of "jobs" that will take time to be completed, and have a significant load on your server (especially bandwith and CPU). + +## When using S3 + +- Delete non-used media that where not cleaned (it happens) : `php8.2 artisanmedia:gc` (Delete media uploads not attached to any active statuses) + +- Same but for media stored on S3 storage and still locally stored (doubles) : `php8.2 artisan media:s3gc` (Delete (local) media uploads that exist on S3) + +- Migrate your media to an S3 storage (you need to configure it first), so media uploaded before configuring S3 are migrated there: `php8.2 artisanmedia:migrate2cloud` (Move older media to cloud storage) + +- Migrate from one S3 backend the other one (change the configuration first): `php8.2 artisanmedia:cloud-url-rewrite` (Rewrite S3 media urls from local users) From 3b9ffb5cbec918df9064fcf0196e6e3925809270 Mon Sep 17 00:00:00 2001 From: yunohost-bot Date: Sun, 18 Feb 2024 12:53:44 +0000 Subject: [PATCH 3/4] Auto-update README --- README.md | 37 +++++++++++++++++++++++++++++++++++-- README_fr.md | 35 ++++++++++++++++++++++++++++++++++- 2 files changed, 69 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 0cf2cf1f..f24a961b 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,5 @@ @@ -31,6 +31,39 @@ It is also possible to import your data from Instagram. ![Screenshot of Pixelfed](./doc/screenshots/screenshots.jpg) +## Disclaimers / important information + +# Some useful commands to know to manage your instance +You need to run them from you pixelfed folder (usually `/var/www/pixelfed`). + +## Applying changes from the `.env` config file + +Once you made some changes, you need to run `php8.2 artisan config:cache && php8.2 artisan cache:clear` to apply them. +Note: this will disconnect any logged-in account (including from the admin web UI). + +## Removing avatar cache to save space +`php8.2 artisan avatar:storage-deep-clean` + +Use it to prune old avatars that are outdated or no longer used. This might save some disk space. + +## Fix missing avatars or refetch them. +`php8.2 artisan avatar:storage` + +It can be used to fetch remote avatars that are not loaded (or in case you deleted `/var/www/pixelfed/storage/app/public/cache/avatars` where they are stored). +It might also be usefull to migrate that cache (only, not the other existing media) to an S3 storage, by refectching all of them. + +Be aware that this will generate a lot of "jobs" that will take time to be completed, and have a significant load on your server (especially bandwith and CPU). + +## When using S3 + +- Delete non-used media that where not cleaned (it happens) : `php8.2 artisanmedia:gc` (Delete media uploads not attached to any active statuses) + +- Same but for media stored on S3 storage and still locally stored (doubles) : `php8.2 artisan media:s3gc` (Delete (local) media uploads that exist on S3) + +- Migrate your media to an S3 storage (you need to configure it first), so media uploaded before configuring S3 are migrated there: `php8.2 artisanmedia:migrate2cloud` (Move older media to cloud storage) + +- Migrate from one S3 backend the other one (change the configuration first): `php8.2 artisanmedia:cloud-url-rewrite` (Rewrite S3 media urls from local users) + ## Documentation and resources * Official app website: @@ -52,4 +85,4 @@ or sudo yunohost app upgrade pixelfed -u https://github.com/YunoHost-Apps/pixelfed_ynh/tree/testing --debug ``` -**More info regarding app packaging:** +**More info regarding app packaging:** \ No newline at end of file diff --git a/README_fr.md b/README_fr.md index 7877d13e..3f60be56 100644 --- a/README_fr.md +++ b/README_fr.md @@ -1,5 +1,5 @@ @@ -32,6 +32,39 @@ Il est également possible d'importer ses données depuis Instagram. ![Capture d’écran de Pixelfed](./doc/screenshots/screenshots.jpg) +## Avertissements / informations importantes + +# Some useful commands to know to manage your instance +You need to run them from you pixelfed folder (usually `/var/www/pixelfed`). + +## Applying changes from the `.env` config file + +Once you made some changes, you need to run `php8.2 artisan config:cache && php8.2 artisan cache:clear` to apply them. +Note: this will disconnect any logged-in account (including from the admin web UI). + +## Removing avatar cache to save space +`php8.2 artisan avatar:storage-deep-clean` + +Use it to prune old avatars that are outdated or no longer used. This might save some disk space. + +## Fix missing avatars or refetch them. +`php8.2 artisan avatar:storage` + +It can be used to fetch remote avatars that are not loaded (or in case you deleted `/var/www/pixelfed/storage/app/public/cache/avatars` where they are stored). +It might also be usefull to migrate that cache (only, not the other existing media) to an S3 storage, by refectching all of them. + +Be aware that this will generate a lot of "jobs" that will take time to be completed, and have a significant load on your server (especially bandwith and CPU). + +## When using S3 + +- Delete non-used media that where not cleaned (it happens) : `php8.2 artisanmedia:gc` (Delete media uploads not attached to any active statuses) + +- Same but for media stored on S3 storage and still locally stored (doubles) : `php8.2 artisan media:s3gc` (Delete (local) media uploads that exist on S3) + +- Migrate your media to an S3 storage (you need to configure it first), so media uploaded before configuring S3 are migrated there: `php8.2 artisanmedia:migrate2cloud` (Move older media to cloud storage) + +- Migrate from one S3 backend the other one (change the configuration first): `php8.2 artisanmedia:cloud-url-rewrite` (Rewrite S3 media urls from local users) + ## Documentations et ressources * Site officiel de l’app : From c6880129e9220cd712187c5471c93683af7114e5 Mon Sep 17 00:00:00 2001 From: lapineige Date: Sun, 18 Feb 2024 12:54:54 +0000 Subject: [PATCH 4/4] Update DISCLAIMER.md (#251) * Update DISCLAIMER.md * Auto-update README --------- Co-authored-by: yunohost-bot --- README.md | 12 ++++++------ README_fr.md | 12 ++++++------ doc/DISCLAIMER.md | 12 ++++++------ 3 files changed, 18 insertions(+), 18 deletions(-) diff --git a/README.md b/README.md index f24a961b..bc8ba3e6 100644 --- a/README.md +++ b/README.md @@ -33,20 +33,20 @@ It is also possible to import your data from Instagram. ## Disclaimers / important information -# Some useful commands to know to manage your instance -You need to run them from you pixelfed folder (usually `/var/www/pixelfed`). +## Some useful commands to know to manage your instance +You need to run them from you pixelfed folder (usually `/var/www/pixelfed`). The `php.VERSION` might be changed according to you current package version. -## Applying changes from the `.env` config file +### Applying changes from the `.env` config file Once you made some changes, you need to run `php8.2 artisan config:cache && php8.2 artisan cache:clear` to apply them. Note: this will disconnect any logged-in account (including from the admin web UI). -## Removing avatar cache to save space +### Removing avatar cache to save space `php8.2 artisan avatar:storage-deep-clean` Use it to prune old avatars that are outdated or no longer used. This might save some disk space. -## Fix missing avatars or refetch them. +### Fix missing avatars or refetch them. `php8.2 artisan avatar:storage` It can be used to fetch remote avatars that are not loaded (or in case you deleted `/var/www/pixelfed/storage/app/public/cache/avatars` where they are stored). @@ -54,7 +54,7 @@ It might also be usefull to migrate that cache (only, not the other existing med Be aware that this will generate a lot of "jobs" that will take time to be completed, and have a significant load on your server (especially bandwith and CPU). -## When using S3 +### When using S3 - Delete non-used media that where not cleaned (it happens) : `php8.2 artisanmedia:gc` (Delete media uploads not attached to any active statuses) diff --git a/README_fr.md b/README_fr.md index 3f60be56..a499070e 100644 --- a/README_fr.md +++ b/README_fr.md @@ -34,20 +34,20 @@ Il est également possible d'importer ses données depuis Instagram. ## Avertissements / informations importantes -# Some useful commands to know to manage your instance -You need to run them from you pixelfed folder (usually `/var/www/pixelfed`). +## Some useful commands to know to manage your instance +You need to run them from you pixelfed folder (usually `/var/www/pixelfed`). The `php.VERSION` might be changed according to you current package version. -## Applying changes from the `.env` config file +### Applying changes from the `.env` config file Once you made some changes, you need to run `php8.2 artisan config:cache && php8.2 artisan cache:clear` to apply them. Note: this will disconnect any logged-in account (including from the admin web UI). -## Removing avatar cache to save space +### Removing avatar cache to save space `php8.2 artisan avatar:storage-deep-clean` Use it to prune old avatars that are outdated or no longer used. This might save some disk space. -## Fix missing avatars or refetch them. +### Fix missing avatars or refetch them. `php8.2 artisan avatar:storage` It can be used to fetch remote avatars that are not loaded (or in case you deleted `/var/www/pixelfed/storage/app/public/cache/avatars` where they are stored). @@ -55,7 +55,7 @@ It might also be usefull to migrate that cache (only, not the other existing med Be aware that this will generate a lot of "jobs" that will take time to be completed, and have a significant load on your server (especially bandwith and CPU). -## When using S3 +### When using S3 - Delete non-used media that where not cleaned (it happens) : `php8.2 artisanmedia:gc` (Delete media uploads not attached to any active statuses) diff --git a/doc/DISCLAIMER.md b/doc/DISCLAIMER.md index 6a9904d7..7c47c217 100644 --- a/doc/DISCLAIMER.md +++ b/doc/DISCLAIMER.md @@ -1,17 +1,17 @@ -# Some useful commands to know to manage your instance -You need to run them from you pixelfed folder (usually `/var/www/pixelfed`). +## Some useful commands to know to manage your instance +You need to run them from you pixelfed folder (usually `/var/www/pixelfed`). The `php.VERSION` might be changed according to you current package version. -## Applying changes from the `.env` config file +### Applying changes from the `.env` config file Once you made some changes, you need to run `php8.2 artisan config:cache && php8.2 artisan cache:clear` to apply them. Note: this will disconnect any logged-in account (including from the admin web UI). -## Removing avatar cache to save space +### Removing avatar cache to save space `php8.2 artisan avatar:storage-deep-clean` Use it to prune old avatars that are outdated or no longer used. This might save some disk space. -## Fix missing avatars or refetch them. +### Fix missing avatars or refetch them. `php8.2 artisan avatar:storage` It can be used to fetch remote avatars that are not loaded (or in case you deleted `/var/www/pixelfed/storage/app/public/cache/avatars` where they are stored). @@ -19,7 +19,7 @@ It might also be usefull to migrate that cache (only, not the other existing med Be aware that this will generate a lot of "jobs" that will take time to be completed, and have a significant load on your server (especially bandwith and CPU). -## When using S3 +### When using S3 - Delete non-used media that where not cleaned (it happens) : `php8.2 artisanmedia:gc` (Delete media uploads not attached to any active statuses)