IRC logs of #tryton for Tuesday, 2020-11-24

chat.freenode.net #tryton log beginning Tue Nov 24 12:00:01 AM CET 2020
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton00:15
-!- srgdts(~srgdts@unaffiliated/srgdts) has joined #tryton02:08
-!- mrichez(~Maxime@2a02:a03f:c2e8:f900:ed77:85ea:af2b:ba6e) has joined #tryton05:55
-!- springwurm(~Springwur@5.104.149.54) has joined #tryton06:00
-!- Timitos(~kpreisler@2001:a61:441:5701:762b:62ff:fe84:ed7e) has joined #tryton07:01
-!- fabix(~fabix@qena.raceme.org) has joined #tryton07:47
fabixhello ; is there a sample web project which uses flask_tryton and web_user for authentication ? I can't find one...07:51
-!- pokoli(~pokoli@unaffiliated/pokoli) has joined #tryton07:59
pokolifabix: I'm not sure if there is any public but we have some projects using both07:59
pokolifabix: here is some code snippet from one of our projects https://pastebin.com/X3Zed22Z08:00
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton08:03
fabixpokoli: thank you, it's a good start.08:12
fabixit's difficult to start with tryton ; I'm sure it's a good plateform but there is not enough documentation and examples for beginners08:14
fabixand some parts are outdated08:14
-!- rpit(~rpit@p200300c88f4cbb00cea2955fb3b32f1a.dip0.t-ipconnect.de) has joined #tryton08:22
cedkfabix: if you know some outdated official documentation, pleas submit a bug on https://bugs.tryton.org/08:31
-!- nicoe(~nicoe@2a02:578:852a:c00:7e2a:31ff:fe5e:b25d) has joined #tryton08:55
-!- alidipatrick(~alidipatr@197.149.36.252) has joined #tryton08:57
pokolifabix: we know and we are working to improve our documentation for the next releases09:27
pokolifabix: but we have a helpfull community so if you ask your doubts here or in the discuss forum you will probably get some good replies09:28
pokolifabix: You can improve it by writing some howto on the forum about the flask_tryton and web_user autentication09:28
fabixpokoli: I know but it's very frustrating to not be able to start a little project without asking help10:38
fabixpokoli: your sample code is very usefull for me ; I think other people would have liked to have it to start10:44
-!- mariomop(~quassel@190.193.24.112) has joined #tryton10:46
pokolifabix: feel free to share it on the forum if you think this is valuable for others :)11:20
fabixI'm not a real developer and a small complete project can't be put on a forum ; it should be in a documentation11:40
pokolifabix: the issue here is that you are using two separate components that are not directly related11:58
pokolifabix: I think this should be included as part of a how-to topic on the forum11:59
cedkflask-tryton not being a Tryton project, I do not think it must be documented by tryton.org12:01
-!- alidipatrick(~alidipatr@154.126.108.109) has joined #tryton12:11
fabixmaybe on flask-tryton project ?12:40
PilouThere should be a better place than a pastebin :)12:55
-!- springwurm(~Springwur@5.104.149.54) has joined #tryton13:03
fabixwhere are documented modules methods on the web ? for example, for web_user, I only find the list by instantiating the class and by doing help(WebUser)13:27
fabixI thought the API section shows that, but not, https://docs.tryton.org/projects/modules-web-user/en/latest/ is very short and doesn't show what can be done13:29
-!- tuvlah(~alidipatr@154.126.108.160) has joined #tryton13:42
-!- alidipatrick(~alidipatr@154.126.108.160) has joined #tryton13:45
-!- alidipatrick(~alidipatr@154.126.11.93) has joined #tryton15:04
cedkfabix: code is documented in the code15:18
fabixcedk: yes, but a lot of projects build automatically a html documentation by extracting that from the code15:22
cedkfabix: we do not but we do not use that15:24
cedkthe code is the best documentation and it is always accurate15:24
fabixI agree but when you want what a module can do, it's easier to read the methods on a web page instead of installing it, instantiating it, etc.15:26
cedkwe spend our free-time on what is useful for us15:30
fabixyes, I imagine that, but I think it prevents some developers to adopt the platform15:38
cedkfabix: but who cares? We do Tryton for us not for potential others15:41
fabixok ; so it's open source because it was initialy a fork of another GPLv2 project ?15:47
cedkfabix: I do not understand your reasoning15:50
fabixc'est trop dur l'anglais pour moi... en général, on met un projet en open source pour qu'il soit utilisé par d'autres, sinon on le garde propriétaire15:54
cedkfabix: so join #tryton-fr15:59
pokolifabix: I do not understand you last sentence in English16:07
pokolifabix: but open source is more about giving that asking others for doing thinks for you16:07
pokolifabix: I will like to have everything documented but we must invest our time on doing what is more usefull for the project16:08
pokolifabix: I prefer to have a new feature that it's usefull for our users than documenting something for developers16:09
fabixyes, you're right16:09
fabix"our users" is "our clients" ?16:09
pokolifabix: But it will be great if others can spend some time creating tutorials while we keep adding new features )16:10
pokolifabix: both of them16:10
nicoefabix: no "our users" == people using Tryton, but we rather spend our time writing code than documentation16:11
pokoliYes, people using Tryton is better described, thanks nicoe  :)16:11
fabixI imagine most users are using the Tryton client16:13
pokolifabix: we do not have data, but we have some customers that does not use the Tryton client, only the web client16:13
pokoliIndeed, most of our customers use sao16:14
pokolifabix: if you want to really work on documentation there is the Seasson of Docs topic with nices ideas: https://discuss.tryton.org/t/trytons-2020-google-season-of-docs/261416:15
pokoliUnfortunatly we only get one person to work on them, so we are currently working on the End User documentation for basic modules16:16
pokolibut if somebody is interested on working on some of the topics, I will find some time for mentoring16:16
-!- lucascastro(~lucascast@45-167-143-6.netfacil.inf.br) has joined #tryton19:12
-!- lucascastro(~lucascast@177-185-133-54.dynamic.isotelco.net.br) has joined #tryton21:57

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