| 17 Mar 2024 |
hexa | you're welcome | 12:56:59 |
@patka_123:matrix.org | (Feel free to change my PR or comment on it, I don't mind. But I will get to it tomorrow because I'm not close to a pc) | 12:57:42 |
tgerbet | Yes we probably should expose something like this for things that are built with buildComposerProject Looking the phpfpm services declared in nixos/ they would all benefit from it | 12:58:37 |
hexa | I think making it work and making it pretty can be a two step process | 12:58:43 |
hexa | yeah, it is the wild, wild west | 12:59:15 |
hexa | also, I used to set session.gc_maxlifetime to a week or so for engelsystem | 13:03:29 |
hexa | the default seems to be 24 minutes (1440s) | 13:03:37 |
hexa | what is up with that? | 13:03:39 |
hexa | the effect was that people needed to login again on nearly every visit to the engelsystem | 13:04:16 |
hexa | they got so annoyed that they complained about it 🙂 | 13:04:23 |
hexa | (I'm fairly certain I could also be holding it wrong) | 13:05:25 |
tgerbet | It's the PHP default value https://www.php.net/manual/en/session.configuration.php#ini.session.gc-maxlifetime
It can be annoying if the app maintains authentication via the PHP session mechanism (also session.cookie_lifetime)
| 13:26:04 |
hexa | so I'd better go with shorter sessions, but longer cookies? | 13:38:40 |
@patka_123:matrix.org | Yes | 13:51:43 |
tgerbet | Looking at the app implementation they are relying on the Symfony Session component
https://symfony.com/doc/current/session.html#configuring-the-session-ttl
Looking at https://github.com/engelsystem/engelsystem/blob/1217de096a61cd4e0863f587a01a38d141202f21/src/Http/SessionServiceProvider.php#L55-L68 and https://github.com/engelsystem/engelsystem/blob/1217de096a61cd4e0863f587a01a38d141202f21/config/config.default.php#L423-L429 the cookie lifetime seems to be adjusted but not the ttl attribute used by Symfony | 13:55:51 |
tgerbet | So it likely fallback to the session.gc_maxlifetime setting instead of the $sessionConfig['lifetime'] defined by the ap | 13:56:51 |
tgerbet | * So it likely fallback to the session.gc_maxlifetime setting instead of the $sessionConfig['lifetime'] defined by the app | 13:56:54 |
hexa | thanks for looking that up! | 15:54:55 |
| 19 Mar 2024 |
| NixOS Moderation Botchanged room power levels. | 00:30:24 |
| @admin:nixos.org joined the room. | 15:54:31 |
| @admin:nixos.org set the room name to "Nix PHP". | 15:54:44 |
| @admin:nixos.org left the room. | 15:54:50 |
| 21 Mar 2024 |
| NixOS Moderation Botchanged room power levels. | 18:03:17 |
| @grahamc:nixos.org left the room. | 20:10:09 |
| 22 Mar 2024 |
| piotrkwiecinski joined the room. | 16:32:29 |
| 29 Mar 2024 |
| SebTM joined the room. | 04:24:22 |
| 14 Apr 2024 |
Pol | I'm looking for someone on Darwin | 19:16:13 |
Pol | It looks like building php81 is currently broken (https://hydra.nixos.org/build/256263019/nixlog/2) | 19:16:48 |
Pol | I made a PR that should fix the issue, I'm looking for someone to test it: https://github.com/NixOS/nixpkgs/pull/304096 | 19:17:07 |
| 15 Apr 2024 |
Pol | ma27: You merged it ! :S | 06:30:18 |