Wednesday, January 31, 2024
apps@conference.yunohost.org
January
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
31
       
             

[00:08:01] <Émy - OniriCorpe> no one will ever go to court for the licensing of a ynh package, so igdaf x)
[01:35:32] <Émy - OniriCorpe> https://aria.im/_matrix/media/v1/download/im.emelyne.eu/IulfiFDNBIuSdtBnZFOiBMCi
[02:00:11] <Émy - OniriCorpe> 118 ERROR The filter key '' is incorrect.
[03:39:08] <Émy - OniriCorpe> wtf is this? 🙃
https://ci-apps-dev.yunohost.org/ci/job/13109
[04:03:48] <Aleks (he/him/il/lui)> hmm config panel stuff
[04:39:13] <Émy - OniriCorpe> and why the fuck the sub path install fails? 🙃 lol
[04:39:43] <Aleks (he/him/il/lui)> >Real URL: https://sub.domain.tld/pathlogin.php
[05:01:27] <Aleks (he/him/il/lui)> though that's supposed to be handled by https://github.com/YunoHost-Apps/karadav_ynh/blob/testing/conf/nginx.conf#L1
[05:01:50] <Aleks (he/him/il/lui)> 😬
[05:03:31] <Émy - OniriCorpe> that's really weird
[05:08:08] <Émy - OniriCorpe> https://aria.im/_matrix/media/v1/download/im.emelyne.eu/lizIhFsQRwsCeVPaRMorOvxU
[05:51:59] <Émy - OniriCorpe> oh no, my PR will wait x)
[06:21:28] <Émy - OniriCorpe> i'm testing this new dav client app for iOS and i can't connect to my nextcloud :|
https://apps.apple.com/app/id1596487405
[06:27:45] <Émy - OniriCorpe> does someone has this issue too?
[08:33:32] <lapineige> Salamandar: yeah wait a few months at least imho before removing garadin.
(can't find the original message anymore)
[08:43:46] <Salamandar> :D
[09:08:09] <Salamandar> nah i agree with oyou
[10:14:13] <miro5001> > <@Alekswag:matrix.org> though that's supposed to be handled by https://github.com/YunoHost-Apps/karadav_ynh/blob/testing/conf/nginx.conf#L1

It's a a nice webdav server, I tried it on a custom webapp and it worked but needed some files from https://github.com/kd2org/webdav-manager.js
Note that in the description of the yunohost package, it is said picodav, which is wrong. Picodav is extremely lightweight, barely one php file and two files from webdav manager : https://github.com/kd2org/picodav/
I found another webdav server that I am using since 3 or 4 months. Installed it on my yunohost server and used a redirect app for it https://github.com/mar10/wsgidav
Working great
[10:21:50] <Émy - OniriCorpe> > <@Alekswag:matrix.org> though that's supposed to be handled by https://github.com/YunoHost-Apps/karadav_ynh/blob/testing/conf/nginx.conf#L1

fixed lol https://github.com/YunoHost-Apps/karadav_ynh/pull/1/commits/c16967e41fb6e600b50125b270309c31cda4c06e
[10:34:41] <Émy - OniriCorpe> > <@miro5001:matrix.org> It's a a nice webdav server, I tried it on a custom webapp and it worked but needed some files from https://github.com/kd2org/webdav-manager.js
> Note that in the description of the yunohost package, it is said picodav, which is wrong. Picodav is extremely lightweight, barely one php file and two files from webdav manager : https://github.com/kd2org/picodav/
> I found another webdav server that I am using since 3 or 4 months. Installed it on my yunohost server and used a redirect app for it https://github.com/mar10/wsgidav
> Working great

> Note that in the description of the yunohost package, it is said picodav, which is wrong. Picodav is extremely lightweight, barely one php file and two files from webdav manager

where do you see this?
[10:34:43] <Émy - OniriCorpe> > <@oniricorpe:im.emelyne.eu> fixed lol https://github.com/YunoHost-Apps/karadav_ynh/pull/1/commits/c16967e41fb6e600b50125b270309c31cda4c06e

`1447 ERROR Config panel question 'upload_max_filesize' should be initialized with a value during install or upgrade.`

the install script:
```
upload_max_filesize="2G"
ynh_app_setting_set --app="$app" --key=upload_max_filesize --value="$upload_max_filesize"
```

🙃
[10:38:24] <Aleks (he/him/il/lui)> https://botsin.space/@scream
[10:39:08] <Aleks (he/him/il/lui)> aaaaaaa
[10:39:09] <Aleks (he/him/il/lui)> djeezis christ this sych a mess
[10:39:09] <Aleks (he/him/il/lui)> the issue is most probably that there's in fact a bind statement and the bind statement doesn't work as expected
[10:45:47] <Émy - OniriCorpe> idk how to properly bind to a php config file
[10:55:36] <Émy - OniriCorpe> if someone can help me for that x)
[11:07:31] <Aleks (he/him/il/lui)> you want to bind to the php conf in /etc/php/x.y/fpm/whatever
[11:07:33] <Aleks (he/him/il/lui)> you're binding to config.local.php but the stuff yo'ure looking for is in another conf file
[11:08:04] <Émy - OniriCorpe> omg i'm so dumb
[11:24:45] <Émy - OniriCorpe> uuuughhhhh
[11:24:46] <Salamandar> https://aria.im/_matrix/media/v1/download/matrix.org/zCZiOgXClONIptizZyoqSmEm
[11:25:23] <Salamandar> The logo of a hacking conference + capture the flag from my city
[11:40:43] <Émy - OniriCorpe> > <@miro5001:matrix.org> sent an image.

ah yes, i forgot to edit that
i started packaging picodav then changed my mind and packaged karadav
[11:40:43] <Émy - OniriCorpe> https://aria.im/_matrix/media/v1/download/im.emelyne.eu/GRNPQnQmYEJIaVfqYLTMcONK
[11:40:43] <Émy - OniriCorpe> fixed ^w^
[11:40:45] <Émy - OniriCorpe> > <@oniricorpe:im.emelyne.eu> `phpversion=$(ynh_app_setting_get --app="$app" --key=phpversion)` in my config script sigh

honestly idk sigh
[11:40:45] <Émy - OniriCorpe> `phpversion=$(ynh_app_setting_get --app="$app" --key=phpversion)` in my config script sigh

[11:40:45] <Émy - OniriCorpe> config panels 🙄
`775 WARNING File /etc/php/__PHPVERSION__/fpm/pool.d/karadav.conf does not exists`
[11:40:47] <Aleks (he/him/il/lui)> ?
[11:40:48] <orhtej2> https://github.com/YunoHost-Apps/phpmyadmin_ynh/blob/fb2570b74a066eff5993a9cccd331529cc65b114/conf/config.inc.php#L32
[11:40:48] <Émy - OniriCorpe> computers, mistakes, yada yada
[11:40:48] <orhtej2> Of course it is
[11:40:48] <orhtej2> > <@Salamandar:matrix.org> tl;dr pgadmin sets a password for a superuser on postgresql

Isn't that what phpmyadmin does as well?
[11:40:48] <Salamandar> can we make dump/restore the hashed password of a postgresql user ?
[11:40:48] <Aleks (he/him/il/lui)> ah that's for like a human password
[11:40:48] <Aleks (he/him/il/lui)> > <@oniricorpe:im.emelyne.eu> config panels 🙄
> `775 WARNING File /etc/php/__PHPVERSION__/fpm/pool.d/karadav.conf does not exists`

hmmmyea
[11:40:48] <Salamandar> s/new/convoluted/
[11:40:48] <Émy - OniriCorpe> > <@oniricorpe:im.emelyne.eu> honestly idk sigh

i'm going to scream
[11:40:48] <Aleks (he/him/il/lui)> probably same as :
[11:40:50] <Salamandar> and yes!
[11:40:50] <Salamandar> i'm thinking of possible ways to *not* save the db_pwd clear…
[11:40:50] <Salamandar> in backup: `ALTER USER $app WITH PASSWORD '$password'` and psql automatically detects the password is *already hashed* :D
[11:40:51] <Salamandar> Ahah
[11:40:51] <Salamandar> tl;dr pgadmin sets a password for a superuser on postgresql
[11:40:51] <Salamandar> yes you can o/
[11:40:51] <Salamandar> i was wondering if I could *not* save the setting in /etc/yunohost/apps/pgadmin/settings.yml
[11:40:51] <Salamandar> that way the user can even manually change the password, backup/restore won't overwrite their setting.
[11:40:51] <Salamandar> Indeed pgadmin is completely broken... some changes will be required, unrelated to the packaging v2. The previous packager had a weird point of view on how to configure it...
[11:40:51] <Salamandar> in restore:
`ynh_psql_execute_as_root --sql="SELECT rolpassword FROM pg_authid WHERE rolname='$app';" | head -3 | tail -1 > hashed_password.txt`
[11:40:51] <Yunohost Git/Infra notifications> [nextcloud_ynh] @frju365 created new branch nextcloud_conf_hsts_preload
[11:40:51] <Salamandar> :p
[11:51:17] <Émy - OniriCorpe> yes
[11:51:17] <Aleks (he/him/il/lui)> yeah but you're probably talking about using `__PHPVERSION__` in the bind statement i guess ?
[11:51:17] <Aleks (he/him/il/lui)> https://github.com/YunoHost/issues/issues/2283
[11:51:17] <Émy - OniriCorpe> > <@oniricorpe:im.emelyne.eu> `phpversion=$(ynh_app_setting_get --app="$app" --key=phpversion)` in my config script sigh

but i imported it 🙃
[11:51:17] <Émy - OniriCorpe> hum
[11:51:18] <Yunohost Git/Infra notifications> [nextcloud_ynh] @frju365 pushed 1 commit to nextcloud_conf_hsts_preload: Modify HSTS policy duration to 1 year ([66d721b9](https://github.com/YunoHost-Apps/nextcloud_ynh/commit/66d721b9e75193ec046b821d5d8c29cf0bf798c2))
[11:51:18] <Émy - OniriCorpe> > <@Alekswag:matrix.org> or hardcode the phpversion 😬

flemme
[11:51:18] <Aleks (he/him/il/lui)> or hardcode the phpversion 😬
[11:51:18] <Aleks (he/him/il/lui)> yeah but you're probably talking about using __PHPVERSION__ in the bind statement i guess ?
[11:51:18] <Émy - OniriCorpe> so i guess i have to made a custom getter x)
[11:51:18] <Émy - OniriCorpe> yeah i see
[11:51:18] <Aleks (he/him/il/lui)> https://github.com/YunoHost/yunohost/blob/dev/helpers/config#L25 😐️
[11:51:18] <Aleks (he/him/il/lui)> yeah, that one is not hydrated ... except for install dir iirc...
[11:51:18] <Émy - OniriCorpe> do i need an `echo` before `ynh\_read\_var\_in\_file` for a config panel getter?
[11:51:19] <Aleks (he/him/il/lui)> (actually this stuff is 6th time in this code, idk why)
[11:51:19] <Émy - OniriCorpe> do i need an `echo` before `ynh_read_var_in_file` for a config panel getter?
[11:51:19] <Émy - OniriCorpe> do i need an echo before ynh_read_var_in_file for a config panel getter?
[11:51:24] <Aleks (he/him/il/lui)> oor
[11:51:24] <Aleks (he/him/il/lui)> hmmm yes the getter is supposed to echo the value to stdout
[11:51:25] <Émy - OniriCorpe> i think not but i prefer to ask
[12:02:53] <Aleks (he/him/il/lui)> ah nvm i guess the helper already echoes it yea
[12:02:53] <Aleks (he/him/il/lui)> ah
[12:10:26] <Émy - OniriCorpe> okay
[12:13:15] <Émy - OniriCorpe> thx <3
[12:13:16] <Émy - OniriCorpe> hum i talked to my neuron i think it's not needed x)
[12:13:17] <Émy - OniriCorpe> because of this https://www.shellcheck.net/wiki/SC2005
[12:19:38] <Yunohost Git/Infra notifications> [nextcloud_ynh] @yunohost-bot [commented](https://github.com/YunoHost-Apps/nextcloud_ynh/pull/661#issuecomment-1918136664) on [issue #661](https://github.com/YunoHost-Apps/nextcloud_ynh/pull/661) Modify HSTS Preload policy duration to 1 year: :v:
[[Test Badge](https://img.shields.io/endpoint?url=https://ci-apps-dev.yunohost.org/ci/api/job/13126/badge)](https:/...
[12:19:39] <Yunohost Git/Infra notifications> [nextcloud_ynh] @frju365 [commented](https://github.com/YunoHost-Apps/nextcloud_ynh/pull/661#issuecomment-1918136611) on [issue #661](https://github.com/YunoHost-Apps/nextcloud_ynh/pull/661) Modify HSTS Preload policy duration to 1 year: testme
[12:19:39] <Yunohost Git/Infra notifications> [nextcloud_ynh] @alexAubin approved [pull request #661](https://github.com/YunoHost-Apps/nextcloud_ynh/pull/661#pullrequestreview-1852669716) Modify HSTS Preload policy duration to 1 year: Why not but Im confused why we have these headers in the Nextcloud app specifically, yet the HSTS is already set by the...
[12:19:39] <Yunohost Git/Infra notifications> [nextcloud_ynh] @frju365 opened [pull request #661](https://github.com/YunoHost-Apps/nextcloud_ynh/pull/661): Modify HSTS Preload policy duration to 1 year
[12:23:43] <Émy - OniriCorpe> yes ^w^
[12:23:44] <Yunohost Git/Infra notifications> [test_apps] @alexAubin pushed 1 commit to master: Add change_url for hellopy ([dc78c4cf](https://github.com/YunoHost/test_apps/commit/dc78c4cfc2636fa5b8fdf24a3d415803fc147274))
[12:23:45] <Aleks (he/him/il/lui)> > <@oniricorpe:im.emelyne.eu> because of this https://www.shellcheck.net/wiki/SC2005

wut shellcheck understand that kind of stuff :O
[12:27:36] <Émy - OniriCorpe> yes!
[12:29:57] <Émy - OniriCorpe> really cool people and stuff
[12:35:06] <Émy - OniriCorpe> https://aria.im/_matrix/media/v1/download/im.emelyne.eu/qmNhhTJWqHSgDcVEKNFotEWD
[12:35:06] <Émy - OniriCorpe> it's alive!!!
[12:35:06] <Aleks (he/him/il/lui)> hmm can you try removing "bind = null" maybe ?
[12:35:06] <Aleks (he/him/il/lui)> (epic xmpp lag ?)
[12:36:12] <Émy - OniriCorpe> 😒 ldap
[12:36:12] <Émy - OniriCorpe> l'app échoue à juste tenter de se connecter au ldap .___.
[12:36:26] <Émy - OniriCorpe> https://www.youtube.com/watch?v=QuoKNZjr8_U
[12:37:08] <Émy - OniriCorpe> https://aria.im/_matrix/media/v1/download/im.emelyne.eu/IAelODHrElKOnPpRsixTMaZP
[12:37:08] <Émy - OniriCorpe> it was an upstream bug lol
https://github.com/kd2org/karadav/pull/48
[12:38:29] <Émy - OniriCorpe> bon, la connexion au LDAP fonctionne, mais malgré de bons logins ça me jette
j'ai poke le dev sur masto comme on est mutu
[21:30:30] <Yunohost Git/Infra notifications> [nextcloud_ynh] @frju365 [commented](https://github.com/YunoHost-Apps/nextcloud_ynh/pull/661#issuecomment-1919008265) on [issue #661](https://github.com/YunoHost-Apps/nextcloud_ynh/pull/661) Modify HSTS Preload policy duration to 1 year: Hello Alex Dont know too. It would be better indeed to do modification in global template.
[21:48:25] <Yunohost Git/Infra notifications> [apps] @orhtej2 opened [pull request #1988](https://github.com/YunoHost/apps/pull/1988): Mark joomla_ynh unmaintained for now.
[22:06:26] <Yunohost Git/Infra notifications> [apps] @alexAubin merged [pull request #1988](https://github.com/YunoHost/apps/pull/1988): Mark joomla_ynh unmaintained for now.
[22:14:09] *hook will be there if it's worth anything
[22:15:37] <Yunohost Git/Infra notifications> [apps] @alexAubin pushed 2 commits to master ([800b0bb9d379...23628e70d31c](https://github.com/YunoHost/apps/compare/800b0bb9d379...23628e70d31c))
[22:32:05] <Yunohost Git/Infra notifications> [apps/master] Mark joomla_ynh unmaintained for now. - Mateusz
[22:58:49] <Salamandar> welp i kinda give up having a nice, perfectly working pgadmin
[23:04:10] <Salamandar> it looks like logging into pgadmin breaks yunohost login *sometimes* ? then when trying to log into pgadmin i get "The CSRF tokens do not match." until i restart nginx…
[23:09:49] <Salamandar> I’m going to merge as is on testing, and request testing on the forum I guess.
[23:33:32] <Salamandar> https://forum.yunohost.org/t/baikal-improvements/28015/9
[23:36:17] <Salamandar> Aleks (he/him/il/lui): didn’t even had to play the video, i upvoted 😄
[23:41:14] <Aleks (he/him/il/lui)> xD
[23:57:35] <Salamandar> > <@Salamandar:matrix.org> it looks like logging into pgadmin breaks yunohost login *sometimes* ? then when trying to log into pgadmin i get "The CSRF tokens do not match." until i restart nginx…

OK so if i try in Edge, i don’t get the error… the first time i log in. The second time, it looks like i need to quit/reopen the full browser, then it works again. wtf.