IRC log for #koha, 2024-01-31

All times shown according to UTC.

Time S Nick Message
04:22 philor joined #koha
04:26 wajasu joined #koha
04:29 wajasu well. i finally found out what slowed my koha down.  my robots.txt was affecting my cpu making it 30% all the time
04:33 pastebot "wajasu" at 127.0.0.1 pasted "BAD robots.txt for my OPAC. kept CPU at 30%." (26 lines) at https://paste.koha-community.org/37130
04:35 pastebot "wajasu" at 127.0.0.1 pasted "GOOD robots.txt with 3% CPU now. probably those webcrawlers walkjin the opac search" (26 lines) at https://paste.koha-community.org/37131
04:36 wajasu I've been running 22.05.03.000   since summer of 2023
07:09 magnuse \o/
07:31 fridolin joined #koha
07:32 fridolin yellow
07:35 reiveune joined #koha
07:36 reiveune hello
07:55 cait joined #koha
08:01 lds joined #koha
08:02 cait1 joined #koha
08:33 krimsonkharne[m] morning all!
08:33 krimsonkharne[m] docmeeting today :)
08:34 krimsonkharne[m] aude_c: around?
08:34 Joubu @later tell marcelr could you deal with a 35445 follow-up to adjust opac-shareshelf.pl?
08:34 huginn` Joubu: The operation succeeded.
08:35 NikolayGospodinov[m] Hello! I have a questino? Can Koha be made to work under https
08:36 Joubu NikolayGospodinov[m]: yes of course
08:36 NikolayGospodinov[m] And how to do this
08:37 Joubu --letsencrypt option of koha-create should do everything for you
08:38 krimsonkharne[m] @later tell aude_c can I use font-awesome icons in the manual?
08:38 huginn` krimsonkharne[m]: The operation succeeded.
08:38 Joubu Otherwise it's like any other websites
08:38 Joubu replace 80 with 443 in the apache's vhost
08:38 Joubu with certs, etc
08:39 NikolayGospodinov[m] And do I have to set up the DNS of the domain as well?
08:40 NikolayGospodinov[m] My OPAC and Intranet are with same IP address but with different ports. Do I need to domains?
08:41 Joubu krimsonkharne[m]: maybe with that https://pypi.org/project/sphinx_fontawesome/
08:41 Joubu NikolayGospodinov[m]: Yes it's better to have different domains
08:42 NikolayGospodinov[m] What about the DNS for the domains
08:45 Joubu If you have new domains then yes you need to add new entries for them
08:45 Joubu krimsonkharne[m]: actually rtd theme includes FA icons
08:45 NikolayGospodinov[m] And where to add them?
08:46 Joubu where you configure your DNS records
08:47 NikolayGospodinov[m] I have not configure DNS records  on the server
08:47 NikolayGospodinov[m] I think it should be here: /etc/network/interfaces?
08:49 Joubu What are you trying to do? A DNS will map your public IP address with your domain name.
08:55 NikolayGospodinov[m] I am want to hide my opac and itranet koha with domains. And i have to configure the DNS of each domain
08:56 Joubu you need to configure it on the admin area of your hosting provider
08:58 krimsonkharne[m] Joubu: aha, good to know! Thanks
08:58 krimsonkharne[m] Joubu++
08:58 NikolayGospodinov[m] We do not have hosting provider for Koha
08:59 NikolayGospodinov[m] It is on a local server in our library
09:03 Joubu then the company providing the domain name
09:05 NikolayGospodinov[m] We have purchased two domains. But we don't have hosting. We have DNS settings for them received after their purchase. Shouldn't they be added somewhere on the server on which it is Koha?
09:06 Joubu /etc/hosts
09:07 NikolayGospodinov[m] my file is emty now
09:08 Joubu not even 127.0.0.1 localhost?
09:08 Joubu debian/ubuntu?
09:09 NikolayGospodinov[m] Is this the format I have to save them in the file?  iface eth0 inet static... (full message at <https://matrix.org/_matrix/med[…]dZFwMjpaXuAcHqYcF>)
09:10 Joubu this is not /etc/hosts
09:10 NikolayGospodinov[m] Joubu: Yes
09:10 NikolayGospodinov[m] okey. What should be the format for the etc/hosts
09:11 Joubu IP domain
09:12 NikolayGospodinov[m] this is my domain libcatruse.work.gd and this is the DNS ns10.dnsexit.com... (full message at <https://matrix.org/_matrix/med[…]vazwEeTpgZLJxISUQ>)
09:14 Joubu I am sorry but this is not a Koha specific question, you should read a bit on linux administration
09:14 NikolayGospodinov[m] Ok
09:14 Joubu /etc/hosts has the following format: "IP domain"
09:15 Joubu so if you have a public IP 1.2.3.4 and a domain my.domain.org, then /etc/hosts should have a line with 1.2.3.4 my.domain.org
10:38 cait1 mtj: ping!
10:44 paulderscheid[m] morning #koha
10:48 paulderscheid[m] I found something weird today: In the test record on ktd for 'The passion according to G.H. / / Clarice Lispector ; translation by Ronald W. Sousa.' marc field 041 has 'engpor' in $a.
10:48 paulderscheid[m] That's wrong, right?
10:49 paulderscheid[m] Or it's not wrong, but the display for duplicated subfields is a little misleading.
10:51 paulderscheid[m] But the record seems at least wrong, because it should be $aeng$apor not $aengpor
10:52 ashimema there are some deliberately weird records, used in tests, in ktd
10:53 ashimema though I wouldn't profess to know if that's one of them
10:53 paulderscheid[m] I have to check other multilingual records.
10:59 paulderscheid[m] You are correct! This record has $a repeated 'Japanese in MangaLand : : learning the basics / / Marc Bernabe ... illustrations, Ken Niimura ..'
11:18 khall joined #koha
11:29 oleonard Hi #koha
11:31 cait hi oleonard
11:32 Joubu @later tell marcelr 35955 - do you know why?
11:32 huginn` Joubu: The operation succeeded.
11:32 cait bug 35955
11:32 huginn` Bug https://bugs.koha-community.or[…]_bug.cgi?id=35955 is not accessible.
12:15 fridolin joined #koha
12:46 lds joined #koha
12:52 cait ashimema: around?
12:59 cait @later tell mtj pong
12:59 huginn` cait: The operation succeeded.
13:35 oleonard acqbooksellers.discount has the type "float(6,4)", but the value passed to the vendor edit form is rounded to one decimal place.
13:36 oleonard So I can enter "3.0250" as the discount rate and Koha will save it correctly to the db, but when I edit the vendor again the field will show "3.0"
13:37 cait hm that's not idea
13:37 cait l
13:37 cait I wonder if I have seen an old bug report about that somewhere
13:39 oleonard I wonder if we really need the type float for that column
13:39 cait I think it depends if there are countries that do half percent taxes
13:39 cait h we are talkign discounts
13:40 cait but that reminds me - the bug wsa maybe for the tax field - did we fix that and coudl we make them work the same?
13:40 oleonard We have the TaxRates system preference for specifying values which will appear in a dropdown
13:41 cait true, so that works a bit different... but does it allow values smaller than 1%?
13:42 oleonard Yes
13:43 oleonard tax_rate is type decimal(6,4) which may be what discount should be
13:43 cait oh
13:43 cait float != decimal?
13:43 oleonard No
13:44 cait sorry, i skipped proper lunch
13:44 oleonard "The FLOAT and DOUBLE types represent approximate numeric data values."
13:44 oleonard It's the "approximate" that I think leads people into trouble, but I'm not sure of the details
13:44 cait I have to admit, me neither
13:45 ashimema it's mad to use float for anything money related
13:46 oleonard I've gone down this rabbit hole because if we're validating the discount rate field we also need to check the length of the input. If you put in too many digits you'll trigger an error in Koha
13:49 oleonard There are so many number format bugs :(
13:49 khall joined #koha
13:49 cait true
13:50 cait ashimema: strictly speaking.... it's not a monetary value... but we might have the same type of issues
13:55 oleonard https://i.stack.imgur.com/d2xUm.png
13:56 cait heh
13:58 marie-luce joined #koha
14:01 cait push for today is done... will be back tomorrow queue
14:02 oleonard cait++
14:02 cait catching up slowly, but at least catching up
14:03 magnuse cait++
14:05 oleonard We use float in aqbooksellers, aqorders, and currency.
14:05 oleonard I have a feeling we should use it nowhere, but I'm not informed enough to be sure.
14:37 cait maybe try t make the smallest next step
14:37 cait and file a bug for else?
15:02 aude_c[m] Docs meeting starting (about to, officially)
15:03 ml joined #koha
15:04 aude_c[m] #startmeeting Documentation meeting 31 January 2024
15:04 huginn` Meeting started Wed Jan 31 15:04:37 2024 UTC.  The chair is aude_c[m]. Information about MeetBot at http://wiki.debian.org/MeetBot.
15:04 huginn` Useful Commands: #action #agreed #help #info #idea #link #topic #startvote.
15:04 huginn` The meeting name has been set to 'documentation_meeting_31_january_2024'
15:05 aude_c[m] #link https://wiki.koha-community.or[…]g_31_January_2024
15:06 aude_c[m] #topic Introductions
15:07 aude_c[m] #info Aude Charillon, PTFS Europe, UK
15:07 caroline #info Caroline Cyr La Rose, inlibro, Montréal, Québec, Canada
15:07 aude_c[m] #chair lucyvh
15:07 huginn` Warning: Nick not in channel: lucyvh
15:07 huginn` Current chairs: aude_c[m] lucyvh
15:07 lucyvh[m] #info Lucy Vaux-Harvey, PTFS Europe, UK
15:07 kellym joined #koha
15:07 krimsonkharne[m] #info Philip Orr, LMSCloud GmbH, Germany
15:08 kellym #info Kelly McElligott, ByWater Solutions
15:09 krimsonkharne[m] #chair @lucyvh
15:11 aude_c[m] #topic Review of action points
15:13 aude_c[m] #info All actions DONES
15:13 aude_c[m] #topic What the team has been working on
15:15 lucyvh[m] #info Two workshops have taken place
15:15 Joubu #info Jonathan Druart
15:17 lucyvh[m] #info Useful for new documenters to watch demos and ask questions
15:18 lucyvh[m] #info Do we want to plan more? When and who should lead?
15:22 lucyvh[m] #info ACTON: Philip and Aude to plan a further workshops in Spring.  Next on in February 2024
15:23 lucyvh[m] #action: Philip and Aude to plan a further workshops in Spring.  Next on in February 2024
15:23 aude_c[m] #topic Automated screenshots
15:25 aude_c[m] #link https://docs.google.com/spread[…]RXOEsM/edit#gid=0
15:29 aude_c[m] #info Jonathan reworked the spreadsheet to turn it into something more usable for the script.
15:29 aude_c[m] #info New column: page on Koha - if it's a specific page in Koha, just paste the URL.
15:31 aude_c[m] #info In workflow column, steps have been simplified. Look at the top 70 lines to see new expected format
15:32 aude_c[m] #action Aude and Caroline to update the guidelines for this
15:32 aude_c[m] #info Next step will be to analyse another 100 or so easy images
15:40 aude_c[m] #topic Documentation - content development guide
15:40 aude_c[m] #link https://wiki.koha-community.or[…]Development_Guide
15:52 lucyvh[m] #info Aude added information related to use of the manual vs. wiki
16:00 bag joined #koha
16:02 lucyvh[m] #action: Style guide to become a standing item on the agenda
16:03 aude_c[m] #endmeeting
16:03 huginn` Meeting ended Wed Jan 31 16:03:47 2024 UTC.  Information about MeetBot at http://wiki.debian.org/MeetBot . (v 0.1.4)
16:03 huginn` Minutes:        https://meetings.koha-communit[…]-01-31-15.04.html
16:03 huginn` Minutes (text): https://meetings.koha-communit[…]4-01-31-15.04.txt
16:03 huginn` Log:            https://meetings.koha-communit[…]31-15.04.log.html
16:07 cait docs_team++
16:07 cait documentation_team++
16:08 cait did I dream we had a way to diff record changes in the log viewer?
16:10 oleonard-away Only for system preferences I think?
16:10 oleonard I can't remember why it was limited that way
16:11 ashimema we store those 'diffs' in all sorts of different ways
16:11 ashimema that's why I believe
16:12 Joubu inconsistencies? no way!
16:14 caroline I saw "BEFORE biblio= " a lot, did it disappear?
16:15 aude_c[m] lucyvh++ for Docs meeting minutes
16:17 cait the catalouging entries are there, I was missing a view like we have on import or for the sysprefs
16:17 cait where we highlight/color the changed lines etc.
16:18 caroline oh that was not in the log viewer, it was in the import tool, no?
16:18 caroline when you get a match, you can see the diff
16:23 fridolin see u
16:23 fridolin left #koha
16:24 oleonard Seeking regular expression help...
16:24 oleonard https://regex101.com/r/853EPf/1
16:25 oleonard I don't understand why that matches "100" and "-999"
16:25 oleonard I thought that would not match three digits before the decimal
16:26 caroline On the right side panel it says "{0,2} matches the previous token between 0 and 2 times, as many times as possible, giving back as needed (greedy)"
16:26 oleonard Oh, it matches the first two digits, and then the second two digits?
16:27 caroline that's what I understand from the explanation. between 0 and 2 digits, repeated
16:27 oleonard I didn't see it that way until you repeated the explanation
16:28 cait the . is optional
16:28 cait between zero and 0 times
16:28 cait so 100
16:28 cait matches first on 2 digits, optional dot is not there
16:28 cait 0 more digit
16:29 cait maybe we want the . and the last digit to be optional as a group?
16:30 cait did the explanation make sense?
16:35 cait hm not compeletey sure about waht should match and waht not
16:35 oleonard My goal is to allow 99.9 but not 100 or 100.0
16:36 cait ok
16:36 oleonard The db won't accept three digits before the decimal. The perl script won't allow more than one digit after the decimal.
16:37 cait ^[\-]?\d{0,2}(\.\d{1})*$
16:37 cait does that look ok to you?
16:38 oleonard I would expect that to work but it doesn't. It accepts 100
16:38 cait hm for me it stays colorless for 100
16:38 cait not matching
16:39 oleonard Oh you're right
16:40 oleonard cait++
16:45 oleonard "Please enter a number in the format of a gentleman wearing spectacles: (^0.0^)"
16:46 caroline lol!
16:49 reiveune bye
16:50 reiveune left #koha
17:00 oleonard Oh it's the template that is truncating the discount rate when you edit the vendor!
17:00 oleonard [% discount | format ('%.1f') %]
17:01 oleonard I guess that was to prevent the field from displaying "10.000"
17:02 oleonard Can you tell the format() function to only include relevant decimals?
17:08 oleonard Numbers. How do they work?
17:09 cait I think it#s too late for me
17:09 cait not following
17:10 oleonard Never mind I think we just ditch the template's use of the format filter
17:12 cait1 joined #koha
17:12 cait1 bye all :)
17:29 oleonard Now where was I before cait sent me down the number format rabbit hole? XD
17:29 oleonard Instead of going down a rabbit hole it was more like falling down the stairs.
17:29 caroline :(
17:30 oleonard It's okay I climbed back up!
17:30 caroline nothing broken I hope
17:31 oleonard Just imagining that when I run across this kind of issue again I will have no memory of today
17:50 Dyrcona joined #koha
18:44 cait joined #koha
18:44 cait oleonard++ thx!
20:31 pinkieval joined #koha
21:19 lukeg joined #koha
21:51 lukeg joined #koha
22:21 lukeg joined #koha

| Channels | #koha index | Today | | Search | Google Search | Plain-Text | plain, newest first | summary