IRC logs of #tryton for Wednesday, 2020-05-06

chat.freenode.net #tryton log beginning Wed 06 May 2020 12:00:01 AM CEST
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton00:05
-!- udono(~udono@048-135-067-156.ip-addr.inexio.net) has joined #tryton02:05
-!- springwurm(~Springwur@5.104.149.54) has joined #tryton07:05
-!- mrichez(~Maxime@2a02:a03f:467c:d500:a385:4ecf:c4ea:d8cf) has joined #tryton07:05
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton09:05
-!- rpit(~rpit@p200300C88F4C2B0012585E561CBA5A6D.dip0.t-ipconnect.de) has joined #tryton09:05
-!- nicoe(~nicoe@2a02:578:852a:c00:7e2a:31ff:fe5e:b25d) has joined #tryton09:05
-!- thaneor1(~ldlc6@r186-55-16-102.dialup.adsl.anteldata.net.uy) has joined #tryton10:05
-!- Timitos(~kpreisler@2001:a61:400:901:762b:62ff:fe84:ed7e) has joined #tryton10:05
-!- rpit(~rpit@p4FFB7828.dip0.t-ipconnect.de) has joined #tryton10:05
-!- mariomop(~quassel@190.193.24.15) has joined #tryton12:05
-!- springwurm(~Springwur@5.104.149.54) has joined #tryton14:05
mrichezhi, for webapplication, is it normal generated key is always the same for each user for the same application ?  What do you think to add a button next the key  field to generate a new key ?15:05
cedkmrichez: what key?15:05
mrichezcedk: in res.user.application15:05
cedkmrichez: OK it is because you create multiple keys in one call15:05
mrichezcedk: heuu.. probably... so what do you think to add a button to generate a new key next the key field ?15:05
cedkmrichez: normally the creation is called by the route which create only a single key15:05
cedkbut we could fix it like we did for session: https://bugs.tryton.org/issue708715:05
cedkmrichez: I do not see the point to generate a new key15:05
cedkif the application needs a new key, it can request a new one15:05
mrichezcedk: ok if key is unique...15:05
mrichezcedk: indeed, in my case, i was in testing mode without application but with a rest plugin in firefox to test my routes... so i do the request for the key manually in tryton15:05
cedkmrichez: so in addition to override the create, we also need to make the default value not cachable by the client15:05
mrichezcedk: don't see cache ?15:05
mrichezcedk: preferences_cache ?15:05
cedkmrichez: the cache of default_get15:05
mrichezcedk: all default_... are in cache ? How to prevent to use cache ? Is there an example ?16:05
cedkmrichez: yes in modelsingleton.py16:05
mrichezcedk: ok thanks16:05
-!- lucascastro(~lucascast@189.89.12.162) has joined #tryton18:05
-!- nicoe(~nicoe@79.132.253.215) has joined #tryton18:05
-!- nicoe(~nicoe@79.132.253.215) has joined #tryton18:05
-!- thaneor(~ldlc6@r186-54-84-13.dialup.adsl.anteldata.net.uy) has joined #tryton22:05

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