IRC logs of #tryton for Friday, 2017-12-29

chat.freenode.net #tryton log beginning Fri Dec 29 00:00:01 CET 2017
-!- rpit(~rpit@p200300C88BE9110056EE75FFFE0DD3C7.dip0.t-ipconnect.de) has joined #tryton00:02
-!- giesen(~ggiesen@2001:19f0:0:1019:5400:ff:fe25:bda6) has joined #tryton01:30
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton02:25
-!- thaneor(~ldlc6@179.26.3.126) has joined #tryton02:40
-!- smarro(~sebastian@186.139.252.58) has joined #tryton03:23
-!- _2cadz(~2cadz@82.64.14.213) has joined #tryton07:04
-!- _2cadz(~2cadz@82.64.14.213) has joined #tryton07:24
-!- Timitos(~kpreisler@host-88-217-184-172.customer.m-online.net) has joined #tryton08:57
-!- Telesight(~anthony@4dae0c97.ftth.telfortglasvezel.nl) has joined #tryton09:31
-!- rpit(~rpit@p200300C88BE9110056EE75FFFE0DD3C7.dip0.t-ipconnect.de) has joined #tryton09:35
-!- JanGB(~jan@ip92343817.dynamic.kabel-deutschland.de) has joined #tryton09:38
-!- JanGB(~jan@ip92343817.dynamic.kabel-deutschland.de) has left #tryton09:38
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton10:23
-!- efkin_-(5a4a106b@gateway/web/freenode/ip.90.74.16.107) has joined #tryton10:29
efkin_-o/10:30
efkin_-is there a way to use custom password hashers in tryton?10:31
cedkefkin_-: yes, you have to extend the methods hash_method, hach_* and check_* of res.user10:32
efkin_-cedk: thx!10:33
cedkefkin_-: out of curiosity, which hash method do you want to implement?10:40
efkin_-cedk: i need to support poor md5 for migrating old users from a magento, and then support also PBKDF2 for other type of users... -_-10:42
efkin_-pbkdf2 w/ sha25610:45
cedkefkin_-: make sense10:50
-!- JanGB(~jan@x2f7fcd5.dyn.telefonica.de) has joined #tryton10:50
cedkefkin_-: you can keep bcrypt as default method so when the user will change its password, it will be hashed with this method10:51
efkin_-cedk: sure thing!10:53
cedkefkin_-: I would recommend you to use https://cryptography.io/10:57
efkin_-cedk: thx a lot!10:57
cedkindeed I think we could have a module which implement all key derivation from https://cryptography.io/en/latest/hazmat/primitives/key-derivation-functions/10:58
efkin_-sounds good11:03
-!- NeonKing(~Neonking@176.179.38.86) has joined #tryton11:23
-!- smarro(~sebastian@186.139.252.58) has joined #tryton12:56
-!- JanGB(~jan@2.247.252.213) has joined #tryton13:15
-!- JanGB(~jan@x2f7fcd5.dyn.telefonica.de) has joined #tryton13:19
-!- JanGB(~jan@151.217.210.132) has joined #tryton13:22
-!- LordVan(~LordVan@gentoo/developer/LordVan) has joined #tryton13:35
LordVanhi13:36
cedkLordVan: hi13:39
LordVancedk, how was the conference? (unfortunately I couldn't make it)13:40
cedkLordVan: you can watch it at https://www.youtube.com/watch?v=Gw6kAXkOmMg&list=PL4ydsflJkP9XSsx1wAjke3EjF6setZoGY13:41
LordVancool :)13:41
LordVanACTION wonders when FOSDEM was next year13:41
LordVanare you going to be @ fosdem ?13:41
LordVanah 3rd and 4th feb .. sooner than i thought13:42
cedkLordVan: yes13:45
LordVanmaybe i can make it there .. hmm13:45
LordVangotta check13:45
LordVani wonder if any (cheap ) rooms are still available13:45
cedkLordVan: indeed I volunteer to host the Python stand for 2 hours13:45
LordVan;)13:46
LordVani've only managed to go there once before but that was fun (except for my ear infection, which made it a bit unpleasant the first day since after the flight i was dizzy,.. )13:53
-!- smarro(~sebastian@190.108.228.120) has joined #tryton14:01
-!- semarie(~semarie@unaffiliated/semarie) has joined #tryton14:06
-!- Telesight(~anthony@4dae0c97.ftth.telfortglasvezel.nl) has joined #tryton14:07
-!- semarie_(~semarie@unaffiliated/semarie) has joined #tryton14:13
-!- thaneor1(~ldlc6@179.26.63.153) has joined #tryton14:43
efkin_-is there a reason why tryton doesn't have an internal shell for rapid prototyping? just because is it just as easy to open ipython and import trytond?14:50
-!- pistache(~pistache@lebib.org) has joined #tryton15:11
-!- semarie(~semarie@unaffiliated/semarie) has joined #tryton15:13
-!- JanGB(~jan@ip92343817.dynamic.kabel-deutschland.de) has joined #tryton15:32
cedkefkin_-: what do you want to prototype?15:51
cedkyou can not create classes on the fly15:51
efkin_-cedk: just to play around with already registered Modules (play with queries and so on), also a possible usecase is to import objects via shell in such a way tryton field validation get respected15:53
efkin_-i found this broken gist for similar purposes: https://gist.github.com/vishesh/617260215:59
cedkefkin_-: you can use proteus for that16:00
efkin_-cedk: great thx16:03
cedkefkin_-: proteus is client but for dev16:04
efkin_-cedk: didn't knew about its existance, cool thing16:05
cedkefkin_-: we use it mainly to write test scenario16:06
efkin_-cedk: makes sense16:07
efkin_-cedk: any reasons to not to use pytest for unittesting? relay on stdlib?16:12
efkin_-(just for curiosity)16:12
cedkefkin_-: I personnaly do not see any advantages16:16
efkin_-cedk: also i guess compared to tryton pytest is younger so no reason to change the whole test suite just for an " emerging trend"16:19
cedkalso I think tests should be simple and tools like pytest push you to write complex test16:20
efkin_-i see16:20
efkin_-is there a naming convention for modules? i was thinking to give a try to the hashers' module these days16:22
cedkefkin_-: usually we start with the name of topic involved16:23
cedkefkin_-: like account_ for accounting, sale_ for sales etc16:23
efkin_-cedk: thx. can u post me again the link of contribution guidelines please? not sure where i ended up storing it16:24
cedkefkin_-: for the hashes' I guess it could not be somethie like authentication_hash_extra16:24
efkin_-i see16:24
cedkhttp://www.tryton.org/how-to-contribute.html16:25
efkin_-thx16:25
efkin_-going back to coffee mug and emacs now,  c u! o/16:27
-!- JanGB(~jan@ip92343817.dynamic.kabel-deutschland.de) has left #tryton17:46
-!- rpit(~rpit@p200300C88BE9110056EE75FFFE0DD3C7.dip0.t-ipconnect.de) has joined #tryton18:49
-!- mariomop(~quassel@host224.190-31-61.telecom.net.ar) has joined #tryton19:52
-!- JanGB(~jan@ip92343817.dynamic.kabel-deutschland.de) has joined #tryton19:56
-!- catonano(~user@151.45.36.33) has joined #tryton20:50
-!- csotelo(~csotelo@2001:1388:49c6:54ae:186f:9ee5:227:9d66) has joined #tryton21:07
csotelohello dear coommunity, when I call a to cls._buttons.update({...}), does this action delete previous values or just add new buttons? specificly on invoice, if I call this action on setup on an class setup, will it delete  original values? I need to add two more button actions. Thanks21:15
-!- semarie_(~semarie@unaffiliated/semarie) has joined #tryton22:01
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton22:38

Generated by irclog2html.py 2.11.0 by Marius Gedminas - find it at mg.pov.lt!