IRC logs of #tryton for Thursday, 2020-10-22

chat.freenode.net #tryton log beginning Thu Oct 22 12:00:01 AM CEST 2020
-!- mariomop(~quassel@201.213.126.41) has joined #tryton22:30
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton23:22
-!- srgdts_(~srgdts@unaffiliated/srgdts) has joined #tryton01:02
-!- semarie(~semarie@unaffiliated/semarie) has joined #tryton02:45
-!- mrichez(~Maxime@2a02:a03f:c2e8:f900:ed77:85ea:af2b:ba6e) has joined #tryton04:58
-!- springwurm(~Springwur@5.104.149.54) has joined #tryton05:17
-!- Timitos(~kpreisler@2001:a61:4a4:e501:762b:62ff:fe84:ed7e) has joined #tryton05:59
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton06:58
-!- nicoe(~nicoe@2a02:578:852a:c00:7e2a:31ff:fe5e:b25d) has joined #tryton08:10
cedkIs someone has an idea how we could prevent users to report duplicate issues ?09:19
cedkFor some users it is almost 1 issue over 2 that are duplicates09:20
cedkthey clearly do not do their homework as a simple search using the main word of their report stop directly the issue09:20
cedkI think we need a kind of banishment09:21
-!- rpit(~rpit@p200300c88f309100748b1eff5bf2d1d7.dip0.t-ipconnect.de) has joined #tryton09:33
pokolicedk: the problem is that if we ban we may miss some no duplicated issues09:59
pokolicedk: discuss had a duplicate topic sugesstion dropdown, maybe we can do the same on roundup10:00
cedkpokoli: I already mark them as duplicate but what is annoying is that it keeps happening and mainly from always the same users10:06
pokoliYes, I know who are you talking about10:08
pokoliI do not know how to fix their behaviour.10:09
pokoliFor me it's a mather of not putting enought interest to ease other people's work10:09
springwurmProbable its possible to use the title of the newly created Issue and check whether there are any similar Issues and then display a message.10:21
cedkspringwurm: it will be worst to have false positive10:22
cedkfor me we can not automate that but we need a way to force bad user to behave correctly10:26
-!- mariomop(~quassel@201.213.126.41) has joined #tryton10:40
pokolicedk: it is possible to temporary ban an user?10:48
pokolicedk: we may have the rule to ban users from reporting new issues if they had been reporting duplicaated issues10:49
pokoliNot sure if this will work, but it may be some kind of punishment to make them concious of they errors10:49
cedkthere is only a retirement feature by default10:51
cedkbut I guess it should be doable to add a ban date and have a detector to check it10:51
Timitosis it possible to use genshi directives in the email templates? i tried it but i did not succeed yet10:56
pokoliTimitos: which error did you have?10:58
Timitospokoli: no error just not the result. my directives seem to be treated as simple text10:58
pokoliTimitos: There is an example on the test suite: https://hg.tryton.org/trytond/file/662ae82c0f5e/trytond/tests/test_ir.py#l19010:59
Timitospokoli: i try to use conditional sections like this: https://pythonhosted.org/Genshi/text-templates.html11:01
Timitosi just found out that Tryton is expecting Legacy Text Template Syntax: https://pythonhosted.org/Genshi/text-templates.html#legacy-text-template-syntax11:04
Timitoscedk: why is the Legacy Text Template Syntax used but not the new one?11:05
cedkbecause Genshi is not clear about its legacy11:27
cedkwe just use TextTemplate which seems to be an alias to OldTextTemplate11:27
Timitosso we should switch from TextTemplate to NewTextTemplate i think11:28
cedkwhy?11:28
Timitosto use the new syntax11:29
cedkwhy?11:29
Timitosbecause they write: "If you are using the old syntax, it is strongly recommended to migrate to the new syntax."11:30
Timitosits a new feature. it is easy now to switch the syntax. later it would be more difficult11:30
cedkthey have the same feature and I find personally the new one bad as it requires to put \ at the end of every directive to remove its line11:31
cedkTextMarkup is used since 5.é11:32
cedkTextMarkup is used since 5.211:32
cedkit is supposed to be the new since 200711:34
cedkI do not think the old will be gone anytime soon11:34
cedkfor me we must use the standard TextTemplate11:35
cedkthe day it is changed, it will not be difficult to write a converter11:36
cedkbut feel free to write it now so we can change for the next release11:37
cedkHere is for the record: https://bugs.tryton.org/issue975111:57
-!- springwurm(~Springwur@5.104.149.54) has joined #tryton12:10
-!- mariomop(~quassel@201.213.126.41) has joined #tryton12:51
-!- mariomop(~quassel@201.213.126.41) has joined #tryton12:56
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton13:16
semariehow we complete "compoments" on bugs.t.o with the new version ?14:55
semarieI have no popup, neither autocompletion. I had to set the right value without hints...14:57
cedksemarie: yes it is the module names15:00
cedksemarie: indeed it was a known issue but upgrade to 2.0.0 and using jinja2 was more important17:30
cedkit will be great if someone could make a proposal to have a kind of auto-completion for these fields17:31
semariecedk: couldn't a <datalist/> be used ? https://developer.mozilla.org/en-US/docs/Web/HTML/Element/datalist or https://www.w3schools.com/tags/tag_datalist.asp17:56
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton19:24
-!- thaneor(~ldlc6@r167-61-65-149.dialup.adsl.anteldata.net.uy) has joined #tryton19:27

Generated by irclog2html.py 2.17.3 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!