chat.freenode.net #tryton log beginning Wed 06 May 2020 12:00:01 AM CEST | ||
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton | 22:47 | |
-!- udono(~udono@048-135-067-156.ip-addr.inexio.net) has joined #tryton | 00:32 | |
-!- springwurm(~Springwur@5.104.149.54) has joined #tryton | 05:01 | |
-!- mrichez(~Maxime@2a02:a03f:467c:d500:a385:4ecf:c4ea:d8cf) has joined #tryton | 05:53 | |
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton | 07:15 | |
-!- rpit(~rpit@p200300C88F4C2B0012585E561CBA5A6D.dip0.t-ipconnect.de) has joined #tryton | 07:30 | |
-!- nicoe(~nicoe@2a02:578:852a:c00:7e2a:31ff:fe5e:b25d) has joined #tryton | 07:46 | |
-!- thaneor1(~ldlc6@r186-55-16-102.dialup.adsl.anteldata.net.uy) has joined #tryton | 08:06 | |
-!- Timitos(~kpreisler@2001:a61:400:901:762b:62ff:fe84:ed7e) has joined #tryton | 08:16 | |
-!- rpit(~rpit@p4FFB7828.dip0.t-ipconnect.de) has joined #tryton | 08:23 | |
-!- mariomop(~quassel@190.193.24.15) has joined #tryton | 10:19 | |
-!- springwurm(~Springwur@5.104.149.54) has joined #tryton | 12:13 | |
mrichez | hi, 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 |
---|---|---|
cedk | mrichez: what key? | 13:26 |
mrichez | cedk: in res.user.application | 13:33 |
cedk | mrichez: OK it is because you create multiple keys in one call | 13:35 |
mrichez | cedk: heuu.. probably... so what do you think to add a button to generate a new key next the key field ? | 13:36 |
cedk | mrichez: normally the creation is called by the route which create only a single key | 13:36 |
cedk | but we could fix it like we did for session: https://bugs.tryton.org/issue7087 | 13:37 |
cedk | mrichez: I do not see the point to generate a new key | 13:37 |
cedk | if the application needs a new key, it can request a new one | 13:37 |
mrichez | cedk: ok if key is unique... | 13:38 |
mrichez | cedk: 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 tryton | 13:39 |
cedk | mrichez: so in addition to override the create, we also need to make the default value not cachable by the client | 13:42 |
mrichez | cedk: don't see cache ? | 13:48 |
mrichez | cedk: preferences_cache ? | 13:48 |
cedk | mrichez: the cache of default_get | 13:58 |
mrichez | cedk: all default_... are in cache ? How to prevent to use cache ? Is there an example ? | 14:04 |
cedk | mrichez: yes in modelsingleton.py | 14:12 |
mrichez | cedk: ok thanks | 14:12 |
-!- lucascastro(~lucascast@189.89.12.162) has joined #tryton | 16:25 | |
-!- nicoe(~nicoe@79.132.253.215) has joined #tryton | 16:31 | |
-!- nicoe(~nicoe@79.132.253.215) has joined #tryton | 16:48 | |
-!- thaneor(~ldlc6@r186-54-84-13.dialup.adsl.anteldata.net.uy) has joined #tryton | 20:09 |
Generated by irclog2html.py 2.17.3 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!