2014/1/16 Cédric Krier <[email protected]>: > On 16 Jan 21:17, Axel Braun wrote: >> Am Donnerstag, 16. Januar 2014, 21:11:17 schrieb Cédric Krier: >> > On 16 Jan 20:28, Axel Braun wrote: >> > But a simple script fecthing email addresses from the database and >> > sending email is thousand times better than anything that can be >> > developped withing Tryton because Tryton is not the right tool. >> > A similar script already exists in [1]. >> >> Is there a functional description to this script? I can hardly judge what it >> should do.... > > Yes the docstring on top. But it is not what you are looking for, it is > just an example how to write a script to send email with data from > Tryton. And especially how it is short and easy. > >> > > I will write a functional design in Wiki, feel free to add to it >> > >> > I hardly doubt it will ever be included in Tryton, because it is just a >> > duplication of existing proved technology. Many people tried to replace >> > email and no one ever succeeded (even Google). >> >> Once again, the purpose is not to replace EMail. Email is in fact the wrong >> medium to inform a user. > > Whoa ! First time I hear that. You should inform everybody in the IT > world because you know, they all use email to inform users.
I only understand this is useful if stopping of the server could not be planned hours or days in advance. I think the point is to try to avoid users from loosing their work due to a need for shutting down the server. So, you announce all of those that are working right now that they have 5 minutes to save their work before the server is restarted. In this case e-mail does not solve the issue, but the popup does not ensure everyone will save their changes because they may have left the client opened for a few minutes. Maybe educating the user not to close the application if they receive a network error or simply improving the network error message would do the job in this case. Currently the message is: Network Error! (111, 'Connection refused') The description is very ugly, not very helpful, and we show the error number and "Connection refused" message. We could improve it by telling the user something like: "There's been a network error trying to contact the Tryton Server. Please, contact the system administrator to solve the issue and do not close the application in order to avoid losing changes." > >> Because you cant control when he will receive > > He receives at little bit after you send it. > >> or read >> the Email. > > That the great advantage of email, you read them when you want to. > >> He may be completely surprised by a system shutdown (because he did >> not read it) > > Just like with your proposal. If someone is out enough time, of course he > will be suprised but that's not a problem such person knows that he > doesn't know. > >> But if he works on the system, and gets the popup message, he is informed. >> Thats the purpose. > > So you are annoying user during his work to inform him about a shutdown > in some days. Instead of letting him decide when he wants to be informed > by reading his emails. > More over, if the user is in the hurry to accomplish something, he will > just skip the "popup" without reading it. In this case, he will never > have the possibility again to be informed. > > So I see only disavantages in your design and yes my solution is not > "hype" nor buzzword but Tryton is not about that. > > PS: By the way, next time I will make a maintence shutdown on > bugs.tryton.org, I will post an issue on it to inform every one that the > service is down for maintenance. ;-) > -- > Cédric Krier - B2CK SPRL > Email/Jabber: [email protected] > Tel: +32 472 54 46 59 > Website: http://www.b2ck.com/ -- Albert Cervera i Areny Tel. 93 553 18 03 @albertnan www.NaN-tic.com
