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 #tryton22:47
-!- udono(~udono@048-135-067-156.ip-addr.inexio.net) has joined #tryton00:32
-!- springwurm(~Springwur@5.104.149.54) has joined #tryton05:01
-!- mrichez(~Maxime@2a02:a03f:467c:d500:a385:4ecf:c4ea:d8cf) has joined #tryton05:53
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton07:15
-!- rpit(~rpit@p200300C88F4C2B0012585E561CBA5A6D.dip0.t-ipconnect.de) has joined #tryton07:30
-!- nicoe(~nicoe@2a02:578:852a:c00:7e2a:31ff:fe5e:b25d) has joined #tryton07:46
-!- thaneor1(~ldlc6@r186-55-16-102.dialup.adsl.anteldata.net.uy) has joined #tryton08:06
-!- Timitos(~kpreisler@2001:a61:400:901:762b:62ff:fe84:ed7e) has joined #tryton08:16
-!- rpit(~rpit@p4FFB7828.dip0.t-ipconnect.de) has joined #tryton08:23
-!- mariomop(~quassel@190.193.24.15) has joined #tryton10:19
-!- springwurm(~Springwur@5.104.149.54) has joined #tryton12:13
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 ?13:17
cedkmrichez: what key?13:26
mrichezcedk: in res.user.application13:33
cedkmrichez: OK it is because you create multiple keys in one call13:35
mrichezcedk: heuu.. probably... so what do you think to add a button to generate a new key next the key field ?13:36
cedkmrichez: normally the creation is called by the route which create only a single key13:36
cedkbut we could fix it like we did for session: https://bugs.tryton.org/issue708713:37
cedkmrichez: I do not see the point to generate a new key13:37
cedkif the application needs a new key, it can request a new one13:37
mrichezcedk: ok if key is unique...13:38
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 tryton13:39
cedkmrichez: so in addition to override the create, we also need to make the default value not cachable by the client13:42
mrichezcedk: don't see cache ?13:48
mrichezcedk: preferences_cache ?13:48
cedkmrichez: the cache of default_get13:58
mrichezcedk: all default_... are in cache ? How to prevent to use cache ? Is there an example ?14:04
cedkmrichez: yes in modelsingleton.py14:12
mrichezcedk: ok thanks14:12
-!- lucascastro(~lucascast@189.89.12.162) has joined #tryton16:25
-!- nicoe(~nicoe@79.132.253.215) has joined #tryton16:31
-!- nicoe(~nicoe@79.132.253.215) has joined #tryton16:48
-!- thaneor(~ldlc6@r186-54-84-13.dialup.adsl.anteldata.net.uy) has joined #tryton20:09

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