← Previous day | Today | Next day → | Search | Index
All times shown according to UTC.
Time | Nick | Message |
---|---|---|
07:19 | magnuse | \o/ |
07:31 | lds joined #koha | |
07:34 | reiveune joined #koha | |
07:34 | reiveune | hello |
07:58 | thibaud_g joined #koha | |
08:26 | ashimema | anyone recently managed to get git bz working on a headless server? |
08:27 | I keep hitting | |
08:27 | Error getting login cookie from browser:... (full message at <https://matrix.org/_matrix/med[…]fwcUJmyEDoSKzGZid>) | |
08:27 | but just installing any of those browsers isn't enough | |
08:27 | It's kinda nuts that it requires a full browser | |
08:47 | magnuse | hm, looks like i need to extract all the images from cover_images as files. is there a clever way to do that already, or should i try and write a small script to do it? |
08:58 | Joubu | ashimema: did you try with use_git_credential? |
09:09 | PedroAmorim[m] | o/ |
09:17 | ashimema | I actually only want to 'apply' so I wouldn't have thought I'd need to |
09:17 | that's the annoying thing.. if I'm on a server, in general, i'm only ever wanting to apply and don't want my credentials stored | |
09:18 | paulderscheid[m] | Let’s rewrite it in Rust 😄 |
09:19 | ashimema | ooh, use credentials does work |
09:19 | just asks for my password and stuff.. which is fine | |
09:20 | paulderscheid[m] | Nice |
09:21 | ashimema | wow it asks for it a lot |
09:21 | like.. with every conflict it asks again | |
09:21 | fun | |
09:21 | still.. I got my bug applied | |
10:33 | tcohen[m] | Hola #koha o/ |
11:13 | we should rewrite git-bz in Perl :-P | |
11:14 | paulderscheid[m] | Ha, makes sense. |
11:14 | :D | |
11:14 | ashimema | is there a plan in place to migrate to bootstrap 5 ? |
11:15 | just been highlighted ot me that even 4 LTS is now unmaintained for 10 months already | |
11:18 | PedroAmorim[m] | hey guys, Jenkins getting a "no space left on device" error: |
11:18 | https://jenkins.koha-community[…]1_U20/287/console | |
11:19 | paulderscheid[m] | I think oleonard has it on his mind. We briefly talked about it in Kansas. If I remeber correctly he wanted to get rid of jQueryUI first. |
11:24 | ashimema | good to know he's got it in his mind |
11:25 | paulderscheid[m] | Wasn't aware that v4 already reached EOL/. |
11:32 | ashimema | me either |
11:33 | https://endoflife.date/bootstrap | |
11:34 | hmm | |
11:34 | the links from there go to 4.5 though.. is there not a 4.6? | |
11:34 | paulderscheid[m] | Cool site 👍️ |
11:34 | I thought we use 4.6 | |
11:34 | :D | |
11:35 | ashimema | that site is a little wierd.. some bits point to 4.6 others point to 4.5 |
11:35 | looks like both are eol anyway though | |
11:35 | paulderscheid[m] | Yeah |
11:36 | Well, shouldn't be too much of a hassle. Just grep and replace: https://getbootstrap.com/docs/5.0/migration/ | |
11:36 | And it seems we need Popper now, whatever that is. | |
11:37 | Oh, it was already required by v4 | |
11:37 | Ah it's for tooltips | |
11:38 | ashimema | I've reported it as a bug |
11:38 | under the security area for now.. not sure there are any CVE's as yet.. but as an unmaintained lib we should probably prioritise it before there are | |
11:39 | paulderscheid[m] | Yep, makes sense |
11:41 | Just checked exploit-db. Koha is even in there, albeit v3.2 :D | |
11:42 | Nice to be targeted. | |
11:42 | It's like a badge of honor. | |
11:44 | ashimema | lol |
11:44 | paulderscheid[m] | Was reported by sba-research |
11:45 | tcohen[m] | hola ashimema Joubu |
11:51 | ashimema | Hi tcohen |
12:10 | lds joined #koha | |
13:22 | cait joined #koha | |
14:17 | Dyrcona joined #koha | |
16:12 | khall joined #koha | |
16:15 | reiveune | bye |
16:15 | reiveune left #koha | |
16:18 | thd joined #koha | |
16:48 | paulderscheid[m] | Is there a way to get the user out of the session cookie? I'm aware of the existing implementation in the REST API but I hoped I could avoid duplicating that. |
16:48 | By user I mean some id, that i can resolve to a user. | |
16:50 | tcohen[m] | There's no method written but C4::Context::userenv and looking for the 'number' key |
16:51 | paulderscheid[m] | Ok |
16:51 | tcohen[m] | What is the context of the question? |
16:51 | .pl? .tt? | |
16:51 | paulderscheid[m] | .pl |
16:52 | I read the your code tcohen. If you say it's the only way, it most likely is. | |
16:54 | tcohen[m] | on .pl there's usually a call to get_template_and_user() |
16:54 | which returns the $borrowernumber | |
16:55 | of the logged in user | |
16:55 | that's why I asked about your context | |
16:55 | admin/cities.pl:35 | |
16:56 | Koha::Patrons->search_limited implements what I was saying, in the context of a class | |
16:56 | and in the context of .tt | |
16:57 | get_template_and_user() stashes the | |
16:57 | paulderscheid[m] | Ah, sorry. To be more precise this is inside a Mojolicious Controller. |
16:57 | tcohen[m] | logged_in_user template variable |
16:57 | then my $logged_in_user = $c->stash('koha.user'); | |
16:58 | paulderscheid[m] | Yeah, normally you'd be right. But I didn't integrate that part of the code into the api I'm working on. |
16:59 | The auth model is a little different. | |
16:59 | tcohen[m] | ok, this is not a plugin either, just a separate Mojo endpoint with your code |
16:59 | in that case the .pm way | |
17:00 | paulderscheid[m] | Alright, I'll check it out! Thank you. |
17:25 | ashimema | did I imagine a bit of a re-branding effort for the Koha team at Catalyst? I could have swarn it popped up on my LinkedIn feed a day or so ago but I can't for the life of me spot it now |
17:27 | paulderscheid[m] | If you find it again I‘d love to see it. |
18:29 | Thanks again tcohen, just got back and tried what you suggested. Works flawlessly. | |
18:29 | tcohen++ | |
18:40 | khall joined #koha | |
22:26 | dcook__ joined #koha |
← Previous day | Today | Next day → | Search | Index