Tuesday, April 09, 2024
apps@conference.yunohost.org
April
Mon Tue Wed Thu Fri Sat Sun
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
         
             

[00:05:52] <Émy - OniriCorpe> for me it's more "there's someone who cares about and is dedicated to this app"
[00:28:33] <Yunohost Git/Infra notifications> [apps] oleole39 opened [pull request #2233](https://github.com/YunoHost/apps/pull/2233): Regenerate existing READMEs even if translation status has dropped from a lower value than 100%
[03:42:29] <Yunohost Git/Infra notifications> [apps] Psycojoker [commented](https://github.com/YunoHost/apps/pull/2233#discussion_r1556827670) on pull request #2233 Regenerate existing READMEs even if translation status has dropped from a lower value than 100%: Why do you pass "translation_warning" as a function parameter? Reading the code it looks like this should simply be a va...
[03:44:57] <Yunohost Git/Infra notifications> [apps] Psycojoker [commented](https://github.com/YunoHost/apps/pull/2233#discussion_r1556829672) on pull request #2233 Regenerate existing READMEs even if translation status has dropped from a lower value than 100%: Ok, I got it reading the rest of the code ^w^
[03:46:27] <Yunohost Git/Infra notifications> [apps] Psycojoker [commented](https://github.com/YunoHost/apps/pull/2233#issuecomment-2044098616) on [issue #2233](https://github.com/YunoHost/apps/pull/2233) Regenerate existing READMEs even if translation status has dropped from a lower value than 100%: I need to test it but LGTM for now :)
[08:11:12] <Yunohost Git/Infra notifications> [nextcloud_ynh] kay0u approved [pull request #680](https://github.com/YunoHost-Apps/nextcloud_ynh/pull/680#pullrequestreview-1988402090) Make system address book access configurable: LGTM
[08:54:22] <Mateusz Szymański> why are queues empty on https://ci-apps.yunohost.org/ci/ and https://ci-apps-bookworm.yunohost.org/ci/ ? We officially packaged everything? :P
[09:52:53] <kayou> https://aria.im/_matrix/media/v1/download/matrix.org/PICnGgkPIFFdBDdpccvxBeai
[09:53:01] <kayou> the ci^
[10:55:10] <Yunohost Git/Infra notifications> [apps] oleole39 [commented](https://github.com/YunoHost/apps/pull/2233#discussion_r1557437662) on pull request #2233 Regenerate existing READMEs even if translation status has dropped from a lower value than 100%: Let me detail this for future reference translation_warning is: - passed to generate_single_README() as parameter wh...
[10:58:28] <Yunohost Git/Infra notifications> [apps] oleole39 edited [pull request #2233](https://github.com/YunoHost/apps/pull/2233): Regenerate existing READMEs even if translation status has dropped from a lower value than 100%
[10:58:28] <Yunohost Git/Infra notifications> [apps] oleole39 edited [pull request #2233](https://github.com/YunoHost/apps/pull/2233): Regenerate existing READMEs even if translation status has dropped from a lower value than 100%
[14:37:12] <Aleks (he/him/il/lui)> https://community.penpot.app/t/penpot-2-0-a-major-milestone-in-our-journey-is-now-yours-to-explore-and-enjoy/4906
[17:28:02] <Yunohost Git/Infra notifications> [apps] yunohost-bot created new branch add-to-wishlist-evcc
[17:28:03] <Yunohost Git/Infra notifications> [apps] yunohost-bot opened [pull request #2234](https://github.com/YunoHost/apps/pull/2234): Add evcc to wishlist
[17:28:03] <orhtej2> oh they released? major rewrite ahead xx
[17:39:38] <Émy - OniriCorpe> i honestly thought is was yet another AI shit according to the name x)
[17:40:05] <Émy - OniriCorpe> i honestly thought is was yet another AI shit according to the weird name x)
[18:07:03] <Yunohost Git/Infra notifications> [nextcloud_ynh] ericgaspar pushed 2 commits to oldstable ([b5dbb26319c5...fa3ec14161f0](https://github.com/YunoHost-Apps/nextcloud_ynh/compare/b5dbb26319c5...fa3ec14161f0))
[18:07:03] <Yunohost Git/Infra notifications> [nextcloud_ynh] ericgaspar merged [pull request #679](https://github.com/YunoHost-Apps/nextcloud_ynh/pull/679): Update manifest.toml
[18:07:06] <Yunohost Git/Infra notifications> [nextcloud_ynh] yunohost-bot pushed 1 commit to oldstable: Auto-update READMEs ([0ca4643a](https://github.com/YunoHost-Apps/nextcloud_ynh/commit/0ca4643a5d85af75781d6d35f116cc0d05f1f1de))
[18:11:21] <Yunohost Git/Infra notifications> [nextcloud_ynh/testing] Auto-update READMEs - yunohost-bot
[18:11:21] <Yunohost Git/Infra notifications> [nextcloud_ynh] ericgaspar merged [pull request #680](https://github.com/YunoHost-Apps/nextcloud_ynh/pull/680): Make system address book access configurable
[18:11:21] <Yunohost Git/Infra notifications> [nextcloud_ynh] ericgaspar pushed 4 commits to testing ([ee3b9fd9fb19...1f57fdb61cb6](https://github.com/YunoHost-Apps/nextcloud_ynh/compare/ee3b9fd9fb19...1f57fdb61cb6))
[18:11:21] <Yunohost Git/Infra notifications> [nextcloud_ynh] ericgaspar deleted branch config-addressbook
[18:11:54] <Yunohost Git/Infra notifications> [nextcloud_ynh] ericgaspar opened [pull request #681](https://github.com/YunoHost-Apps/nextcloud_ynh/pull/681): Testing
[18:12:19] <Yunohost Git/Infra notifications> [nextcloud_ynh] yunohost-bot [commented](https://github.com/YunoHost-Apps/nextcloud_ynh/pull/681#issuecomment-2045813266) on [issue #681](https://github.com/YunoHost-Apps/nextcloud_ynh/pull/681) Testing: Fingers crossed
[[Test Badge](https://img.shields.io/endpoint?url=https://ci-apps-dev.yunohost.org/ci/api/job/14921/ba...
[18:15:52] <Yunohost Git/Infra notifications> [nextcloud_ynh] ericgaspar pushed 5 commits to v2_PostgreSQL ([cbfc4bdc4b26...6e7edc433147](https://github.com/YunoHost-Apps/nextcloud_ynh/compare/cbfc4bdc4b26...6e7edc433147))
[18:16:15] <Yunohost Git/Infra notifications> [nextcloud_ynh] ericgaspar pushed 3 commits to testing ([1f57fdb61cb6...7752ada69dd2](https://github.com/YunoHost-Apps/nextcloud_ynh/compare/1f57fdb61cb6...7752ada69dd2))
[18:16:19] <Yunohost Git/Infra notifications> [nextcloud_ynh/v2_PostgreSQL] Make system address book access configurable: default value - tituspijean
[18:16:20] <Yunohost Git/Infra notifications> [nextcloud_ynh/testing] Merge pull request #677 from YunoHost-Apps/testing Testing - eric_G
[18:24:10] <Yunohost Git/Infra notifications> App hubzilla rises from level 6 to 8 in job [#25384](https://ci-apps.yunohost.org/ci/job/25384) !
[20:16:53] <Yunohost Git/Infra notifications> [nextcloud_ynh] rodinux opened [pull request #682](https://github.com/YunoHost-Apps/nextcloud_ynh/pull/682): Update manifest.toml to correct release
[20:19:24] <Yunohost Git/Infra notifications> [nextcloud_ynh] ericgaspar merged [pull request #682](https://github.com/YunoHost-Apps/nextcloud_ynh/pull/682): Update manifest.toml to correct release
[20:19:27] <Yunohost Git/Infra notifications> [nextcloud_ynh] ericgaspar pushed 2 commits to oldstable ([0ca4643a5d85...414dd0b22e00](https://github.com/YunoHost-Apps/nextcloud_ynh/compare/0ca4643a5d85...414dd0b22e00))
[20:19:27] <Yunohost Git/Infra notifications> [nextcloud_ynh] yunohost-bot pushed 1 commit to oldstable: Auto-update READMEs ([12ac7f82](https://github.com/YunoHost-Apps/nextcloud_ynh/commit/12ac7f82547d640ac83cb5438af23f961e2d668b))
[21:43:23] <tituspijean> Hum... I'm not proud, but it seems I cannot do one simple thing with NGINX...
I want to serve a static text file, and I cannot find how to do it properly with root/alias/locations.

let's say the file is stored at `/var/www/$app/file.txt` and I want to serve it at `domain.tld/.well-known/somefile`. I made sure permissions on the file are right, and the SSO allows that path. What's the proper NGINX config?
[21:43:40] <Émy - OniriCorpe> something like that?

```
location __PATH__/.well-known/somefile {
index /var/www/__APP__/file.txt;
}
```
[21:44:56] <Aleks (he/him/il/lui)> or like this: https://github.com/YunoHost/yunohost/blob/dev/conf/nginx/plain/acme-challenge.conf.inc#L1
[21:47:49] <tituspijean> Émy - OniriCorpe it tries to open `/usr/share/nginx/html/.well-known/somefile/index.html` 😆
Aleks (he/him/il/lui) I want to serve a single file, but it could be a workaround
[21:47:49] <tituspijean> mmh actually it cannot be a workaround, that would clash with Nextcloud's own .well-known config
[21:47:50] <Aleks (he/him/il/lui)> ah ?
[21:48:16] <Aleks (he/him/il/lui)> but isn't the "somefile" thing in the location different from the nextcloud location?
[21:48:41] <Aleks (he/him/il/lui)> ogod nextcloud gets all `/.well-known`
[21:48:42] <Aleks (he/him/il/lui)> but
[21:48:55] <Aleks (he/him/il/lui)> note that it works for lets encrypt cert
[21:49:19] <Aleks (he/him/il/lui)> in fact if you go in the subtelties of how nginx find what location to use in such case
[21:49:36] <tituspijean> there's two things actually hapening:
1. nextcloud has a ridiculous catch-all-.well-known in its config
2. I want to serve a single file, not a directory of .well-known files
[21:49:46] <Aleks (he/him/il/lui)> i think it uses the location matching the highest number of chars
[21:50:00] <Aleks (he/him/il/lui)> and there's also priorities between `~`, `^~`, and "none"
[21:50:19] <Aleks (he/him/il/lui)> hence the `location ^~ '/.well-known/acme-challenge/'` for lets encrypt
[21:50:34] <tituspijean> It gives priority to `location =` : https://stackoverflow.com/questions/5238377/nginx-location-priority
[21:50:34] <Aleks (he/him/il/lui)> instead of just `location /.well-known/acme-challgenge`
[21:51:44] <Aleks (he/him/il/lui)> https://nginx.viraptor.info/ :o
[21:58:08] <tituspijean> I don't know how to adapt your example to my use case.
`location ^~ '/.well-known/acme-challenge/'` will match `/.well-known/acme-challenge/somefile` and load `/var/www/.well-known/acme-challenge-public/somefile`
[21:58:08] <tituspijean> I want `/var/www/somefile` (or `/var/www/.well-known/somefile`) to be loaded when calling /.well-known/somefile
[21:58:08] <tituspijean> (generalizing) I actually feel like we should handle the .well-known paths as a resource and prioritize loading files from `/var/www/$domain/.well-known` or whatever. these paths should always be public (/generalizing)
[21:58:08] <Aleks (he/him/il/lui)> don't you just need to change the location+alias to a single file like

```
location ^~ '/.well-known/foobar'
{
alias /var/www/.well-known/foobar;
}
```

?
[21:59:28] <Aleks (he/him/il/lui)> or even `location =` ?
[22:01:58] <tituspijean> > <@Alekswag:matrix.org> don't you just need to change the location+alias to a single file like
>
> ```
> location ^~ '/.well-known/foobar'
> {
> alias /var/www/.well-known/foobar;
> }
> ```
>
> ?

with this it tries to load `/var/www/$app/.well-known/foobar/index.html`
trying the second one
[22:01:58] <tituspijean> same
[22:02:11] <Aleks (he/him/il/lui)> @_@
[22:02:41] <Aleks (he/him/il/lui)> (is there a nextcloud installed or anything else handling .well-known ?)
[22:09:05] <tituspijean> there was, but I disabled the catch-all from nextcloud
[22:09:10] <tituspijean> heck I even completely disabled the nextcloud conf
[22:09:11] <tituspijean> the other well-known locations on that domain are for dendrite:
[22:09:13] <tituspijean> ```
location = /.well-known/matrix/server {
return 200 '{"m.server": "dendrite.pijean.ovh:8448"}';
add_header Content-Type application/json;
add_header Access-Control-Allow-Origin '*';
}

location = /.well-known/matrix/client {
return 200 '{
"m.homeserver": { "base_url": "https://dendrite.pijean.ovh" }
}';
add_header Content-Type application/json;
add_header Access-Control-Allow-Origin '*';
}
```
[22:09:15] <tituspijean> working fine, since they are a simply "return"
[22:09:16] <tituspijean> In my use case I'd rather not, the served file is... large.
[22:09:17] <tituspijean> wait...
[22:09:19] <tituspijean> ```
location = /.well-known/foobar {
return 200 foo;
}
```
still returns 404
[22:09:20] <tituspijean> wtf
[22:09:22] <Aleks (he/him/il/lui)> https://aria.im/_matrix/media/v1/download/matrix.org/DAfhNrUvTZjXSChRNbEHiNFj
[22:10:59] <tituspijean> well, I'll try on a clean domain tomorrow, it's bedtime
[22:10:59] <Aleks (he/him/il/lui)> gudnight 🌜️
[23:01:25] <tituspijean> (last test... reenabling the nextcloud conf unstucks the return 200 foo... halp my server is haunted)
[23:01:25] <tituspijean> good night
[23:01:29] <mathieuw> > <@titus:pijean.ovh> good night

Sleep tight 🤗