Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix new picture permissions (post v0.11.5 issue) + update to 0.11.7 #215

Merged
merged 14 commits into from
May 25, 2023

Conversation

lapineige
Copy link
Member

@lapineige lapineige commented May 4, 2023

See related discussion #211
This should partly fix the issue introduced in #209 for newly created files.

Old ones, but created after upgrade to v0.11.5 (or .6) will not be fixed. Those files should be fixed too.

The only missing thing is that it doesn't work on Mastodon and so on…

PR Status

  • Code finished and ready to be reviewed/tested
  • The fix/enhancement were manually tested (if applicable)

Automatic tests

Automatic tests can be triggered on https://ci-apps-dev.yunohost.org/ after creating the PR, by commenting "!testme", "!gogogadgetoci" or "By the power of systemd, I invoke The Great App CI to test this Pull Request!". (N.B. : for this to work you need to be a member of the Yunohost-Apps organization)

@lapineige
Copy link
Member Author

!testme

@yunohost-bot
Copy link
Contributor

🚀
Test Badge

@lapineige lapineige added bug Something isn't working enhancement New feature or request labels May 4, 2023
@lapineige
Copy link
Member Author

!testme

@yunohost-bot
Copy link
Contributor

🎠
Test Badge

@lapineige
Copy link
Member Author

!testme

@yunohost-bot
Copy link
Contributor

Meow 🐈
Test Badge

@lapineige
Copy link
Member Author

!testme

@yunohost-bot
Copy link
Contributor

Meow 🐈
Test Badge

@lapineige lapineige marked this pull request as ready for review May 4, 2023 18:43
@lapineige
Copy link
Member Author

I tried it, and ynh_replace_string --match_string="'private' => 0700," --replace_string="'private' => 0750," --target_file=$final_path/config/filesystems.php doesn't fail if the patch was already applied. Very handy.

@lapineige
Copy link
Member Author

lapineige commented May 4, 2023

CI upgrade will fail because there is not picture uploaded. I need to had a check for this.
edit : done.

@lapineige
Copy link
Member Author

!testme

@yunohost-bot
Copy link
Contributor

😜
Test Badge

@lapineige
Copy link
Member Author

!testme

@yunohost-bot
Copy link
Contributor

Fingers crossed!
Test Badge

@lapineige
Copy link
Member Author

CI is buggy, result is irrelevant.

I wonder if I should merge this already, as it's only a partial fix (broken pictures will work again, now new ones), or wait for a complete solution…

It doesn't work within quotes
@lapineige
Copy link
Member Author

!testme

@yunohost-bot
Copy link
Contributor

Fingers crossed!
Test Badge

@lapineige
Copy link
Member Author

!testme

@yunohost-bot
Copy link
Contributor

Meow 🐈
Test Badge

@lapineige
Copy link
Member Author

!testme

@yunohost-bot
Copy link
Contributor

😜
Test Badge

@lapineige lapineige changed the title Fix new picture permissions (post v0.11.5 issue) Fix new picture permissions (post v0.11.5 issue) + update to 0.11.7 May 25, 2023
@lapineige lapineige merged commit 5cbd5d5 into master May 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants