Tuesday, August 20, 2024
dev@conference.yunohost.org
August
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
 
             

[07:35:29] <Yunohost Git/Infra notifications> [yunohost-portal] Axolotle pushed 7 commits to enh-theming ([8a96008ea9ba^...02706ac8a249](https://github.com/YunoHost/yunohost-portal/compare/8a96008ea9ba^...02706ac8a249))
[07:35:29] <Yunohost Git/Infra notifications> [yunohost-portal] Axolotle created new branch enh-theming
[07:35:29] <Yunohost Git/Infra notifications> [yunohost-portal/enh-theming] themes: add webadmin like theme - axolotle
[07:41:44] <Yunohost Git/Infra notifications> [yunohost-portal] Axolotle opened [pull request #12](https://github.com/YunoHost/yunohost-portal/pull/12): Enh: misc styling improvements
[07:44:11] <Yunohost Git/Infra notifications> [yunohost-portal] alexAubin merged [pull request #12](https://github.com/YunoHost/yunohost-portal/pull/12): Enh: misc styling improvements
[07:44:11] <Yunohost Git/Infra notifications> [yunohost-portal] alexAubin pushed 8 commits to dev ([ff3674aea943...eb8a2e4ec2fa](https://github.com/YunoHost/yunohost-portal/compare/ff3674aea943...eb8a2e4ec2fa))
[07:44:22] <Yunohost Git/Infra notifications> [yunohost-portal] alexAubin deleted branch enh-theming
[07:44:23] <Yunohost Git/Infra notifications> [yunohost-portal/dev] feat: add omg custom theme - axolotle
[07:45:27] <Yunohost Git/Infra notifications> 🏗️ Starting build for yunohost-portal/12.0.1+202408200745 for bookworm/unstable/all ...
[07:49:01] <Yunohost Git/Infra notifications> ✔️ Completed build for yunohost-portal/12.0.1+202408200745 for bookworm/unstable/all.
[07:51:28] <Yunohost Git/Infra notifications> [yunohost-portal] alexAubin [commented](https://github.com/YunoHost/yunohost-portal/pull/11#discussion_r1722854345) on pull request #11 Translations update from Weblate: smol poke @Axolotle , theres a similar thing for "id" / indonesion, sounds like something automatically added by Weblat...
[07:52:25] <Yunohost Git/Infra notifications> [yunohost-portal] alexAubin edited a [comment](https://github.com/YunoHost/yunohost-portal/pull/11#discussion_r1722854345) on pull request #11 Translations update from Weblate: smol poke @Axolotle , theres a similar thing for "id" / indonesian, and probably others, sounds like something automati...
[07:55:18] <Aleks (he/him/il/lui)> https://notes.billmill.org/computer_usage/cli_tips_and_tools/modern_unix_tool_list.html
[09:43:32] <mrflos> > <@Alekswag:matrix.org> https://notes.billmill.org/computer_usage/cli_tips_and_tools/modern_unix_tool_list.html

il manque lazygit, the goat
[10:14:00] <selfhoster1312> mrflos, tu veux dire jj? https://github.com/martinvonz/jj :P
[10:16:20] <mrflos> > <selfhoster1312> mrflos, tu veux dire jj? https://github.com/martinvonz/jj :P

connaissais pas, mais ca n'a pas l'air de proposer une ui comme lazygit
[10:17:28] <mathieuw> > <@mrfloss:matrix.org> il manque lazygit, the goat

The Fuck, ~~aussi, rend bien service parfois.~~ also, can be pretty useful sometimes [edit: my bad, I didn't realize I was supposed to post in English]
https://github.com/nvbn/thefuck
[10:18:40] <selfhoster1312> oui c'est juste plus récent et plus abouti que lazygit, tig, etc.. :)
[10:22:27] <selfhoster1312> https://xmpp-upload.kl.netlib.re/upload/n9uU590eqGAW9347/rustcli.png
[10:28:11] *selfhoster1312 hésite à se préparer un $PATH 100% Rust, avec des alias ls->eza, grep->ripgrep, find->fd etc... peut-être même https://nushell.sh comme shell? :)
[10:28:39] <mrflos> > <selfhoster1312> oui c'est juste plus récent et plus abouti que lazygit, tig, etc.. :)

mon cas d'usage c'est plutôt d'ouvrir lazygit d'appuyer sur la touche a (pour prendre toutes les modifs), c (pour commit), puis P pour push, et voila en 3 clics de clavier c'est réglé
plutot que de me souvenir et taper `git fetch`, `git add -A`, `git commit -am '<mon texte>'`, `git push` ou `jj git fetch`, `jj split`, `jj commit` dans un outil plus évolué
[10:29:33] <selfhoster1312> mrflos, oui c'est cool... après tu peux le faire en une seule commande avec un alias :D
[10:31:16] <selfhoster1312> mrflos, un prochain yunocamp tu voudrais pas donner une mini formation lazygit pour les personnes qui galèrent à apprendre git de base? :)
[10:31:58] <mrflos> > <selfhoster1312> sent an image.

ya pas mal d'utilitaires en go dans le mouvement "fancy" cli, mais la re-écriture en rust des outils cli unix de base fait rever https://uutils.github.io/
[10:32:16] <mrflos> > <selfhoster1312> mrflos, un prochain yunocamp tu voudrais pas donner une mini formation lazygit pour les personnes qui galèrent à apprendre git de base? :)

hehe, même pas peur
[10:32:57] <mrflos> > <@mrfloss:matrix.org> hehe, même pas peur

on peut aussi coder dans un dossier nextcloud partagé et synchronisé, si on aime l'aventure 😄
[10:33:06] <selfhoster1312> oui y'a beaucoup de golang dans le monde TUI/SSH grâce à charm.sh c'est énorme ce truc ^^
[10:56:27] <selfhoster1312> Aleks (he/him/il/lui), is there a chance we could merge https://github.com/YunoHost/moulinette/pull/340 ? i'm looking at yunohost-portal-noscript again and it's still blocked on this :)
[10:57:22] <selfhoster1312> CSRF protection is useful to protect a webpage from hijacking admin actions, but if you're not logged in it can't do much harm (except bruteforce the password, but then we have fail2ban for this)
[11:58:11] <Yunohost Git/Infra notifications> [CustomPiOS] hidrarga pushed 2 commits to yunohost ([4c690875ade9...70a990567d2f](https://github.com/YunoHost/CustomPiOS/compare/4c690875ade9...70a990567d2f))
[11:58:11] <Yunohost Git/Infra notifications> [CustomPiOS/yunohost] archive old images - HgO
[12:03:10] <Yunohost Git/Infra notifications> [CustomPiOS] hidrarga pushed 1 commit to yunohost: fix archiving ([cb600728](https://github.com/YunoHost/CustomPiOS/commit/cb6007282c425b99a87a2c624a55b08419863773))
[12:57:13] <Aleks (he/him/il/lui)> > <selfhoster1312> CSRF protection is useful to protect a webpage from hijacking admin actions, but if you're not logged in it can't do much harm (except bruteforce the password, but then we have fail2ban for this)

hmmmokay i need to get coffee and think about this
[14:27:14] <Yunohost Git/Infra notifications> [moulinette] alexAubin [commented](https://github.com/YunoHost/moulinette/pull/340#discussion_r1723418078) on pull request #340 portal-api: Bypass CSRF protection for login route: Alrighty: >Definition. Cross-Site Request Forgery (CSRF) is an attack that forces **authenticated** users to submit a r...
[14:27:31] <Yunohost Git/Infra notifications> [moulinette] alexAubin merged [pull request #340](https://github.com/YunoHost/moulinette/pull/340): portal-api: Bypass CSRF protection for login route
[14:27:38] <Yunohost Git/Infra notifications> [moulinette] alexAubin pushed 2 commits to bookworm ([9cc786e83c40...0d7a143c01ca](https://github.com/YunoHost/moulinette/compare/9cc786e83c40...0d7a143c01ca))
[14:28:36] <Yunohost Git/Infra notifications> [moulinette] alexAubin pushed 5 commits to dev ([497ea8a4af1c...8de98670e94b](https://github.com/YunoHost/moulinette/compare/497ea8a4af1c...8de98670e94b))
[14:28:36] <Yunohost Git/Infra notifications> [moulinette] alexAubin merged [pull request #358](https://github.com/YunoHost/moulinette/pull/358): Translations update from Weblate
[14:28:40] <Yunohost Git/Infra notifications> [moulinette/dev] Translated using Weblate (Russian) Currently translated at 100.0% (45 of 45 strings) Translation: YunoHost/moulinette ... - Ivan Davydov
[14:29:51] <Aleks (he/him/il/lui)> selfhoster1312: merged 👍️
[14:30:08] <Aleks (he/him/il/lui)> dunno if https://github.com/YunoHost/moulinette/pull/339 is still relevant or if you remember the motivation behind this
[14:30:22] <Aleks (he/him/il/lui)> i guess maybe to get redirected back to the portal after login or something
[14:30:25] <Yunohost Git/Infra notifications> 🏗️ Starting build for moulinette/11.2.1+202408201430 for bullseye/unstable/all ...
[14:32:05] <Yunohost Git/Infra notifications> ✔️ Completed build for moulinette/11.2.1+202408201430 for bullseye/unstable/all.
[14:32:13] <Yunohost Git/Infra notifications> 🏗️ Starting build for moulinette/12.0.1+202408201430 for bookworm/unstable/all ...
[14:33:20] <Yunohost Git/Infra notifications> ✔️ Completed build for moulinette/12.0.1+202408201430 for bookworm/unstable/all.
[14:36:54] <Yunohost Git/Infra notifications> [yunohost] alexAubin pushed 1 commit to bookworm: Update config_domain.toml: propagate change in theme list from yunohost-portal ([9973cc70](https://github.com/YunoHost/yunohost/commit/9973cc703d29ed36614940fcbdcb17badc3f64d9))
[14:36:58] <Yunohost Git/Infra notifications> [yunohost] 🔴 Pipeline [#1420114366](https://gitlab.com/YunoHost/yunohost/-/pipelines/1420114366) failed on branch bookworm
[14:45:23] <Yunohost Git/Infra notifications> 🏗️ Starting build for yunohost/12.0.2+202408201445 for bookworm/unstable/all ...
[14:49:36] <Aleks (he/him/il/lui)> https://github.com/TomWright/dasel wooot nice, a "jq" like tool supporting JSON, TOML, YAML, XML, CSV ?
[14:49:45] <Aleks (he/him/il/lui)> (similar to the ugly magic of config panels / ynh_read/write_in_file)
[14:50:18] <Yunohost Git/Infra notifications> ✔️ Completed build for yunohost/12.0.2+202408201445 for bookworm/unstable/all.
[16:17:22] <Yunohost Git/Infra notifications> [yunohost] alexAubin pushed 1 commit to bookworm: i18n: add i18n for domain and global config panel and sections ([ff038855](https://github.com/YunoHost/yunohost/commit/ff03885564326605b4f5c0e914384e7c5da5c905))
[16:18:20] <Yunohost Git/Infra notifications> [yunohost] 🔴 Pipeline [#1420267883](https://gitlab.com/YunoHost/yunohost/-/pipelines/1420267883) failed on branch bookworm
[16:21:22] <Yunohost Git/Infra notifications> [yunohost] alexAubin pushed 1 commit to bookworm: quality/typing: missing type import ([16e82053](https://github.com/YunoHost/yunohost/commit/16e8205367c5f449681fc5bcb243aa26b11c70f2))
[16:30:30] <Yunohost Git/Infra notifications> 🏗️ Starting build for yunohost/12.0.2+202408201630 for bookworm/unstable/all ...
[16:31:49] <Yunohost Git/Infra notifications> ✔️ Completed build for yunohost/12.0.2+202408201630 for bookworm/unstable/all.
[16:38:55] <selfhoster1312> Aleks (he/him/il/lui), well the motivation is where does login redirect to?! i'd like to access the app i was trying to access in the first place ^^
[16:44:43] <selfhoster1312> yunohost-portal works in the background via JS so it will redirect dynamically to wherever once logged in
[16:45:03] <selfhoster1312> but for noscript scenario we need a server-side redirect mechanism based on a header / form entry
[16:46:31] <Aleks (he/him/il/lui)> and the "referer_redirect" is a dummy field in the initial form to trigger the redirect ?
[16:48:57] <selfhoster1312> not a dummy, it's the URL you requested to access in the first place yes
[16:49:48] <selfhoster1312> brrrr sorry saying bullshit
[16:50:03] <selfhoster1312> it's actually sent by the browser itself as a header automatically and is not in the HTML form
[16:50:08] <selfhoster1312> i think ?
[16:50:21] <selfhoster1312> that's how the Referer header works unless you request a link to *not* add referer :)
[16:50:50] <Aleks (he/him/il/lui)> hmmm, the Referer header, yes, but then in the PR you're checking if a Referer is defined AND `"referer_redirect" in request.params`
[16:51:20] <selfhoster1312> yeah that's just not to break existing behavior that /login is not redirecting by default
[16:51:36] <selfhoster1312> (and you have to request it explicitely)
[16:51:40] <selfhoster1312> i can change this if you prefer
[16:51:43] <Aleks (he/him/il/lui)> ok
[16:51:53] <Aleks (he/him/il/lui)> nah it's fine i was just trying to make sure i understood
[16:51:55] <selfhoster1312> or i can motivate/explain it better in the PR
[16:52:13] <Yunohost Git/Infra notifications> [moulinette] alexAubin pushed 2 commits to bookworm ([0d7a143c01ca...6f09185a70d4](https://github.com/YunoHost/moulinette/compare/0d7a143c01ca...6f09185a70d4))
[16:52:23] <Yunohost Git/Infra notifications> [moulinette] alexAubin merged [pull request #339](https://github.com/YunoHost/moulinette/pull/339): portal-api: login/logout redirect to referer when param referer_redirect is set
[16:52:23] <Yunohost Git/Infra notifications> [moulinette/bookworm] /yunohost/sso/log{in,out} 303 to referer when GET/POST param referer_redirect is set - selfhoster1312
[16:52:35] <selfhoster1312> 👍️
[16:54:53] <Yunohost Git/Infra notifications> [moulinette] selfhoster1312 [commented](https://github.com/YunoHost/moulinette/pull/342#issuecomment-2299320289) on [issue #342](https://github.com/YunoHost/moulinette/pull/342) Bookworm + portal rework: I think all the building blocks are here to have a portal without javascript. Ill try and let you know. Thanks a lot
[16:54:57] <Yunohost Git/Infra notifications> [moulinette] selfhoster1312 [commented](https://github.com/YunoHost/moulinette/pull/342#issuecomment-1793134153) on [issue #342](https://github.com/YunoHost/moulinette/pull/342) Bookworm + portal rework: I dont think a6c7e55d1dcfc26c94cc97713b270037d236b30a fixes https://github.com/YunoHost/issues/issues/2238 The cookie ...
[16:59:42] <selfhoster1312> so when you have time if you can trigger a new moulinette build i'm happy to try again the yunohost-portal-noscript thing :)
[17:00:16] <Yunohost Git/Infra notifications> 🏗️ Starting build for moulinette/12.0.1+202408201700 for bookworm/unstable/all ...
[17:00:22] <Aleks (he/him/il/lui)> this build ? :P
[17:00:30] <selfhoster1312> oh yes!
[17:00:56] <selfhoster1312> in the meantime i'll go back to implementing stuff for delfin, i just found out there's a Rust+GTK Jellyfin client and now i'm in love :D
[17:01:10] <selfhoster1312> (except for the Jellyfin API i want to burn it to the ground but well.. we can't have cake and eat it too :D)
[17:01:34] <Yunohost Git/Infra notifications> ✔️ Completed build for moulinette/12.0.1+202408201700 for bookworm/unstable/all.
[18:33:58] <Yunohost Git/Infra notifications> [yunohost-admin] alexAubin merged [pull request #574](https://github.com/YunoHost/yunohost-admin/pull/574): Translations update from Weblate
[18:33:58] <Yunohost Git/Infra notifications> [yunohost-admin] alexAubin pushed 18 commits to dev ([ccc9cb03ba84...215ee68044c3](https://github.com/YunoHost/yunohost-admin/compare/ccc9cb03ba84...215ee68044c3))
[18:33:59] <Yunohost Git/Infra notifications> [yunohost-admin/dev] Translated using Weblate (Basque) Currently translated at 100.0% (557 of 557 strings) Translation: YunoHost/admin Tran... - xabirequejo
[18:45:36] <Yunohost Git/Infra notifications> 🏗️ Starting build for yunohost-admin/11.2.7+202408201845 for bullseye/unstable/all ...
[18:49:15] <Yunohost Git/Infra notifications> ✔️ Completed build for yunohost-admin/11.2.7+202408201845 for bullseye/unstable/all.