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

Correct newline in config yaml lists with $'\n' #376

Closed
wants to merge 6 commits into from
Closed

Correct newline in config yaml lists with $'\n' #376

wants to merge 6 commits into from

Conversation

Gredin67
Copy link

@Gredin67 Gredin67 commented Apr 24, 2023

Problem

  • \n not correctly transformed in a newline in config files

Solution

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)

@Gredin67 Gredin67 mentioned this pull request Apr 24, 2023
2 tasks
@Josue-T
Copy link

Josue-T commented Apr 25, 2023

Well ok but did you test the upgrade with your patch and did you check that the turn config file are correct ?

@Gredin67
Copy link
Author

I tested the lines manually, but upgrade indeed fails
https://paste.yunohost.org/raw/ivayademod

@Gredin67
Copy link
Author

Gredin67 commented May 8, 2023

!testme

@yunohost-bot
Copy link

😜
Test Badge

@Josue-T
Copy link

Josue-T commented May 10, 2023

Please don't change the check process, you should update your personnal repos just must have all branch named "old_version_for_CI_X"

@Gredin67
Copy link
Author

Gredin67 commented May 10, 2023 via email

@Gredin67
Copy link
Author

Gredin67 commented Jun 4, 2023

!testme

@yunohost-bot
Copy link

🎠
Test Badge

@Gredin67
Copy link
Author

!testme

@yunohost-bot
Copy link

May the CI gods be with you!
Test Badge

@Josue-T
Copy link

Josue-T commented Aug 29, 2023

!testme

@yunohost-bot
Copy link

May the CI gods be with you!
Test Badge

@Josue-T
Copy link

Josue-T commented Aug 29, 2023

I think we should use sed directly instead of the helper to work correctly because with the helper there are too many things between the helper call and the sed command.

@Gredin67
Copy link
Author

I will not work on this further because I don't understand anything of it. Anyone motivated ? @YunoHost-Apps/matrix-bridges

@Gredin67
Copy link
Author

We have an insecure client whitelist, see :

WARNING: An entry such as "https://my.client" is insecure, because it
    # will also match "https://my.client.evil.site", exposing your users to
    # phishing attacks from evil.site. To avoid this, include a slash after the
    # hostname: "https://my.client/".

@Josue-T Josue-T mentioned this pull request Nov 1, 2023
Merged
12 tasks
@Josue-T
Copy link

Josue-T commented Nov 1, 2023

Fixed by #426

@Josue-T Josue-T closed this Nov 1, 2023
@gautz
Copy link

gautz commented Dec 1, 2023

@tituspijean for reference to https://forum.yunohost.org/t/synapse-upgrade-n-in-coturn-conf/26883/2
I never managed to get the correct syntax..

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants