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

chat.freenode.net #tryton log beginning Fri Dec 29 00:00:01 CET 2017
2017-12-29 00:02 -!- rpit(~rpit@p200300C88BE9110056EE75FFFE0DD3C7.dip0.t-ipconnect.de) has joined #tryton
2017-12-29 01:30 -!- giesen(~ggiesen@2001:19f0:0:1019:5400:ff:fe25:bda6) has joined #tryton
2017-12-29 02:25 -!- cedk(~ced@gentoo/developer/cedk) has joined #tryton
2017-12-29 02:40 -!- thaneor(~ldlc6@179.26.3.126) has joined #tryton
2017-12-29 03:23 -!- smarro(~sebastian@186.139.252.58) has joined #tryton
2017-12-29 07:04 -!- _2cadz(~2cadz@82.64.14.213) has joined #tryton
2017-12-29 07:24 -!- _2cadz(~2cadz@82.64.14.213) has joined #tryton
2017-12-29 08:57 -!- Timitos(~kpreisler@host-88-217-184-172.customer.m-online.net) has joined #tryton
2017-12-29 09:31 -!- Telesight(~anthony@4dae0c97.ftth.telfortglasvezel.nl) has joined #tryton
2017-12-29 09:35 -!- rpit(~rpit@p200300C88BE9110056EE75FFFE0DD3C7.dip0.t-ipconnect.de) has joined #tryton
2017-12-29 09:38 -!- JanGB(~jan@ip92343817.dynamic.kabel-deutschland.de) has joined #tryton
2017-12-29 09:38 -!- JanGB(~jan@ip92343817.dynamic.kabel-deutschland.de) has left #tryton
2017-12-29 10:23 -!- cedk(~ced@gentoo/developer/cedk) has joined #tryton
2017-12-29 10:29 -!- efkin_-(5a4a106b@gateway/web/freenode/ip.90.74.16.107) has joined #tryton
2017-12-29 10:30 <efkin_-> o/
2017-12-29 10:31 <efkin_-> is there a way to use custom password hashers in tryton?
2017-12-29 10:32 <cedk> efkin_-: yes, you have to extend the methods hash_method, hach_* and check_* of res.user
2017-12-29 10:33 <efkin_-> cedk: thx!
2017-12-29 10:40 <cedk> efkin_-: out of curiosity, which hash method do you want to implement?
2017-12-29 10:42 <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... -_-
2017-12-29 10:45 <efkin_-> pbkdf2 w/ sha256
2017-12-29 10:50 <cedk> efkin_-: make sense
2017-12-29 10:50 -!- JanGB(~jan@x2f7fcd5.dyn.telefonica.de) has joined #tryton
2017-12-29 10:51 <cedk> efkin_-: you can keep bcrypt as default method so when the user will change its password, it will be hashed with this method
2017-12-29 10:53 <efkin_-> cedk: sure thing!
2017-12-29 10:57 <cedk> efkin_-: I would recommend you to use https://cryptography.io/
2017-12-29 10:57 <efkin_-> cedk: thx a lot!
2017-12-29 10:58 <cedk> indeed I think we could have a module which implement all key derivation from https://cryptography.io/en/latest/hazmat/primitives/key-derivation-functions/
2017-12-29 11:03 <efkin_-> sounds good
2017-12-29 11:23 -!- NeonKing(~Neonking@176.179.38.86) has joined #tryton
2017-12-29 12:56 -!- smarro(~sebastian@186.139.252.58) has joined #tryton
2017-12-29 13:15 -!- JanGB(~jan@2.247.252.213) has joined #tryton
2017-12-29 13:19 -!- JanGB(~jan@x2f7fcd5.dyn.telefonica.de) has joined #tryton
2017-12-29 13:22 -!- JanGB(~jan@151.217.210.132) has joined #tryton
2017-12-29 13:35 -!- LordVan(~LordVan@gentoo/developer/LordVan) has joined #tryton
2017-12-29 13:36 <LordVan> hi
2017-12-29 13:39 <cedk> LordVan: hi
2017-12-29 13:40 <LordVan> cedk, how was the conference? (unfortunately I couldn't make it)
2017-12-29 13:41 <cedk> LordVan: you can watch it at https://www.youtube.com/watch?v=Gw6kAXkOmMg&list=PL4ydsflJkP9XSsx1wAjke3EjF6setZoGY
2017-12-29 13:41 <LordVan> cool :)
2017-12-29 13:41 <LordVan> ACTION wonders when FOSDEM was next year
2017-12-29 13:41 <LordVan> are you going to be @ fosdem ?
2017-12-29 13:42 <LordVan> ah 3rd and 4th feb .. sooner than i thought
2017-12-29 13:45 <cedk> LordVan: yes
2017-12-29 13:45 <LordVan> maybe i can make it there .. hmm
2017-12-29 13:45 <LordVan> gotta check
2017-12-29 13:45 <LordVan> i wonder if any (cheap ) rooms are still available
2017-12-29 13:45 <cedk> LordVan: indeed I volunteer to host the Python stand for 2 hours
2017-12-29 13:46 <LordVan> ;)
2017-12-29 13:53 <LordVan> i'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,.. )
2017-12-29 14:01 -!- smarro(~sebastian@190.108.228.120) has joined #tryton
2017-12-29 14:06 -!- semarie(~semarie@unaffiliated/semarie) has joined #tryton
2017-12-29 14:07 -!- Telesight(~anthony@4dae0c97.ftth.telfortglasvezel.nl) has joined #tryton
2017-12-29 14:13 -!- semarie_(~semarie@unaffiliated/semarie) has joined #tryton
2017-12-29 14:43 -!- thaneor1(~ldlc6@179.26.63.153) has joined #tryton
2017-12-29 14:50 <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?
2017-12-29 15:11 -!- pistache(~pistache@lebib.org) has joined #tryton
2017-12-29 15:13 -!- semarie(~semarie@unaffiliated/semarie) has joined #tryton
2017-12-29 15:32 -!- JanGB(~jan@ip92343817.dynamic.kabel-deutschland.de) has joined #tryton
2017-12-29 15:51 <cedk> efkin_-: what do you want to prototype?
2017-12-29 15:51 <cedk> you can not create classes on the fly
2017-12-29 15:53 <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 respected
2017-12-29 15:59 <efkin_-> i found this broken gist for similar purposes: https://gist.github.com/vishesh/6172602
2017-12-29 16:00 <cedk> efkin_-: you can use proteus for that
2017-12-29 16:03 <efkin_-> cedk: great thx
2017-12-29 16:04 <cedk> efkin_-: proteus is client but for dev
2017-12-29 16:05 <efkin_-> cedk: didn't knew about its existance, cool thing
2017-12-29 16:06 <cedk> efkin_-: we use it mainly to write test scenario
2017-12-29 16:07 <efkin_-> cedk: makes sense
2017-12-29 16:12 <efkin_-> cedk: any reasons to not to use pytest for unittesting? relay on stdlib?
2017-12-29 16:12 <efkin_-> (just for curiosity)
2017-12-29 16:16 <cedk> efkin_-: I personnaly do not see any advantages
2017-12-29 16:19 <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"
2017-12-29 16:20 <cedk> also I think tests should be simple and tools like pytest push you to write complex test
2017-12-29 16:20 <efkin_-> i see
2017-12-29 16:22 <efkin_-> is there a naming convention for modules? i was thinking to give a try to the hashers' module these days
2017-12-29 16:23 <cedk> efkin_-: usually we start with the name of topic involved
2017-12-29 16:23 <cedk> efkin_-: like account_ for accounting, sale_ for sales etc
2017-12-29 16:24 <efkin_-> cedk: thx. can u post me again the link of contribution guidelines please? not sure where i ended up storing it
2017-12-29 16:24 <cedk> efkin_-: for the hashes' I guess it could not be somethie like authentication_hash_extra
2017-12-29 16:24 <efkin_-> i see
2017-12-29 16:25 <cedk> http://www.tryton.org/how-to-contribute.html
2017-12-29 16:25 <efkin_-> thx
2017-12-29 16:27 <efkin_-> going back to coffee mug and emacs now, c u! o/
2017-12-29 17:46 -!- JanGB(~jan@ip92343817.dynamic.kabel-deutschland.de) has left #tryton
2017-12-29 18:49 -!- rpit(~rpit@p200300C88BE9110056EE75FFFE0DD3C7.dip0.t-ipconnect.de) has joined #tryton
2017-12-29 19:52 -!- mariomop(~quassel@host224.190-31-61.telecom.net.ar) has joined #tryton
2017-12-29 19:56 -!- JanGB(~jan@ip92343817.dynamic.kabel-deutschland.de) has joined #tryton
2017-12-29 20:50 -!- catonano(~user@151.45.36.33) has joined #tryton
2017-12-29 21:07 -!- csotelo(~csotelo@2001:1388:49c6:54ae:186f:9ee5:227:9d66) has joined #tryton
2017-12-29 21:15 <csotelo> hello 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. Thanks
2017-12-29 22:01 -!- semarie_(~semarie@unaffiliated/semarie) has joined #tryton
2017-12-29 22:38 -!- cedk(~ced@gentoo/developer/cedk) has joined #tryton

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