1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/pixelfed_ynh.git synced 2024-09-03 20:06:04 +02:00

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
5cfe8cd56a

* 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

4479055e1e

* 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
5cfe8cd56a

* 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

4479055e1e

* 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 <yunohost@yunohost.org>
Co-authored-by: ericgaspar <junk.eg@free.fr>

* 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
5cfe8cd56a

* 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

4479055e1e

* 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
5cfe8cd56a

* 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

4479055e1e

* 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 <yunohost@yunohost.org>
Co-authored-by: ericgaspar <junk.eg@free.fr>

* 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
5cfe8cd56a

* 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

4479055e1e

* 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
5cfe8cd56a

* 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

4479055e1e

* 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 <yunohost@yunohost.org>
Co-authored-by: ericgaspar <junk.eg@free.fr>

* 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
5cfe8cd56a

* 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

4479055e1e

* 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
5cfe8cd56a

* 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

4479055e1e

* 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 <yunohost@yunohost.org>
Co-authored-by: ericgaspar <junk.eg@free.fr>

* Bump version

* Auto-update README

---------

Co-authored-by: Éric Gaspar <46165813+ericgaspar@users.noreply.github.com>
Co-authored-by: yunohost-bot <yunohost@yunohost.org>
Co-authored-by: ericgaspar <junk.eg@free.fr>

* 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 <lapineige@users.noreply.github.com>
Co-authored-by: Éric Gaspar <46165813+ericgaspar@users.noreply.github.com>
Co-authored-by: yunohost-bot <yunohost@yunohost.org>
Co-authored-by: ericgaspar <junk.eg@free.fr>

* 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 <yunohost@yunohost.org>

* 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 65d2571072

* Set proper group owner for php

* manifest: fix yunohost version requirement typo

---------

Co-authored-by: yunohost-bot <yunohost@yunohost.org>
Co-authored-by: Alexandre Aubin <alex.aubin@mailoo.org>

---------

Co-authored-by: Éric Gaspar <46165813+ericgaspar@users.noreply.github.com>
Co-authored-by: yunohost-bot <yunohost@yunohost.org>
Co-authored-by: ericgaspar <junk.eg@free.fr>
Co-authored-by: themancalledjakob <github@jrkb.land>
Co-authored-by: Alexandre Aubin <alex.aubin@mailoo.org>
This commit is contained in:
lapineige 2023-09-01 08:22:32 +02:00 committed by GitHub
parent aa1c6c9b11
commit 0c7c2b4f89
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 6 additions and 9 deletions

View file

@ -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~ynh1
**Shipped version:** 0.11.9~ynh2
## Screenshots

View file

@ -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~ynh1
**Version incluse :** 0.11.9~ynh2
## Captures décran

View file

@ -2,6 +2,3 @@
php_admin_value[upload_max_filesize] = 100M
php_admin_value[post_max_size] = 100M
; Group should not be pixelfed, unless image (folder) access rights are not working
group = www-data

View file

@ -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~ynh1"
version = "0.11.9~ynh2"
maintainers = ["yalh76", "Lapineige"]
@ -17,7 +17,7 @@ userdoc = "https://docs.pixelfed.org/"
code = "https://github.com/pixelfed/pixelfed"
[integration]
yunohost = ">= 11.1.19"
yunohost = ">= 11.2.4"
architectures = "all"
multi_instance = true
ldap = false

View file

@ -61,7 +61,7 @@ ynh_replace_string --match_string="'/usr/sbin/sendmail -bs'" --replace_string="'
#=================================================
ynh_script_progression --message="Configuring PHP-FPM..." --weight=1
ynh_add_fpm_config --usage=$fpm_usage --footprint=$fpm_footprint
ynh_add_fpm_config --usage=$fpm_usage --footprint=$fpm_footprint --group=www-data
ynh_add_nginx_config

View file

@ -133,7 +133,7 @@ ynh_replace_string --match_string="'/usr/sbin/sendmail -bs'" --replace_string="'
ynh_script_progression --message="Upgrading PHP-FPM configuration..." --weight=1
# Create a dedicated PHP-FPM config
ynh_add_fpm_config --usage=$fpm_usage --footprint=$fpm_footprint
ynh_add_fpm_config --usage=$fpm_usage --footprint=$fpm_footprint --group=www-data
#=================================================
# NGINX CONFIGURATION