Re: [tryton] System messages
Am Donnerstag, 16. Januar 2014, 20:28:39 schrieb Axel Braun: I will write a functional design in Wiki, feel free to add to it http://code.google.com/p/tryton/wiki/SystemMessage signature.asc Description: This is a digitally signed message part.
Re: [tryton] System messages
2014/1/17 Cédric Krier cedric.kr...@b2ck.com: On 17 Jan 00:49, Albert Cervera i Areny wrote: 2014/1/16 Cédric Krier cedric.kr...@b2ck.com: 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. Anyone doing such thing should be banned from adminstrating any service. 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. Useless, it should never happens. Well, network connection can be lost. Maybe the user is in a laptop or the network went down. Being somewhat more smart in such cases I don't think it does any harm. -- Albert Cervera i Areny Tel. 93 553 18 03 @albertnan www.NaN-tic.com
Re: [tryton] System messages
2014/1/17 Albert Cervera i Areny alb...@nan-tic.com: 2014/1/17 Cédric Krier cedric.kr...@b2ck.com: On 17 Jan 00:49, Albert Cervera i Areny wrote: 2014/1/16 Cédric Krier cedric.kr...@b2ck.com: 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. Anyone doing such thing should be banned from adminstrating any service. 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. Useless, it should never happens. Well, network connection can be lost. Maybe the user is in a laptop or the network went down. Being somewhat more smart in such cases I don't think it does any harm. +1 A - Server trytond is reboot and down or never restart B - router lost connection to exterior C- Internal network is down D- A hourse has eaten your router (why not?)
Re: [tryton] System messages
* Axel Braun [2014-01-16 15:41 +0100]: Hi, Hello, do we have the option to issue a system-wide message in tryton, e.g. to announce a downtime or something? No. The only idea I have that vaguely looks like this idea is to use the email field of res.user to send a message to everyone. -- Nicolas Évrard - B2CK SPRL E-mail/Jabber: nicolas.evr...@b2ck.com Tel: +32 472 54 46 59 Website: http://www.b2ck.com/ signature.asc Description: Digital signature
Re: [tryton] System messages
On 16/01/14 15:58, Axel Braun wrote: Hi Nicolas, Am Donnerstag, 16. Januar 2014, 15:55:06 schrieb Nicolas Évrard: do we have the option to issue a system-wide message in tryton, e.g. to announce a downtime or something? No. The only idea I have that vaguely looks like this idea is to use the email field of res.user to send a message to everyone. Proposal: The system admin enters a system message with expiry date. As soon as a logged-in user performs an activity a pop-up comes up and shows the message (only one time!). Additional, the message should be shown on every log-on until the expiry date is reached or the message is removed manually. Can we take this as a feature request? Sounds good. It is a nice, useful and generic feature. -- Jordi Esteve Consultor Zikzakmedia SL jest...@zikzakmedia.com Mòbil 679 170 693 Zikzakmedia SL Dr. Fleming, 28, baixos 08720 Vilafranca del Penedès Tel 93 890 2108
Re: [tryton] System messages
On 16 Jan 15:58, Axel Braun wrote: Hi Nicolas, Am Donnerstag, 16. Januar 2014, 15:55:06 schrieb Nicolas Évrard: do we have the option to issue a system-wide message in tryton, e.g. to announce a downtime or something? No. The only idea I have that vaguely looks like this idea is to use the email field of res.user to send a message to everyone. Proposal: The system admin enters a system message with expiry date. As soon as a logged-in user performs an activity a pop-up comes up and shows the message (only one time!). Additional, the message should be shown on every log-on until the expiry date is reached or the message is removed manually. Can we take this as a feature request? It sounds like a duplication of emails. -- Cédric Krier - B2CK SPRL Email/Jabber: cedric.kr...@b2ck.com Tel: +32 472 54 46 59 Website: http://www.b2ck.com/ pgpgPKonJeodS.pgp Description: PGP signature
Re: [tryton] System messages
* Axel Braun [2014-01-16 15:58 +0100]: do we have the option to issue a system-wide message in tryton, e.g. to announce a downtime or something? No. The only idea I have that vaguely looks like this idea is to use the email field of res.user to send a message to everyone. Proposal: The system admin enters a system message with expiry date. As soon as a logged-in user performs an activity a pop-up comes up and shows the message (only one time!). Additional, the message should be shown on every log-on until the expiry date is reached or the message is removed manually. Can we take this as a feature request? Well, you're free to create a bug, write a blueprint, discuss this design and then submit a codereview implementing the final design :D. I think that there is indeed a need for some communication system, I made once a UI design proposal about comments that could be added on the any ressources. Then there is your need of showing a message to every connected users. Maybe those two needs can be generalized into something that would work in both case? Cédric and Bertrand will probably remember that I have talked about integrating XMPP into tryton (but without the slightest idea of what it would do and how it should work). But I'd like to add that just as tryton should not be considered an email client, I don't think that tryton should be considered a jabber/messaging/whatever client. -- Nicolas Évrard - B2CK SPRL E-mail/Jabber: nicolas.evr...@b2ck.com Tel: +32 472 54 46 59 Website: http://www.b2ck.com/ signature.asc Description: Digital signature
Re: [tryton] System messages
El 16/01/14 15:58, Axel Braun ha escrit: Hi Nicolas, Am Donnerstag, 16. Januar 2014, 15:55:06 schrieb Nicolas Évrard: do we have the option to issue a system-wide message in tryton, e.g. to announce a downtime or something? No. The only idea I have that vaguely looks like this idea is to use the email field of res.user to send a message to everyone. Proposal: The system admin enters a system message with expiry date. As soon as a logged-in user performs an activity a pop-up comes up and shows the message (only one time!). Additional, the message should be shown on every log-on until the expiry date is reached or the message is removed manually. You can create a news model (title, expire_date and text, and whatever you want), which is opened every time the user logins, and with domain show only news that are not expired. Clean, simple and no need to hack the client code. -- Sergi Almacellas Abellana www.koolpi.com Twitter: @pokoli_srk
Re: [tryton] System messages
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Axel On 16/01/14 14:41, Axel Braun wrote: Hi, do we have the option to issue a system-wide message in tryton, e.g. to announce a downtime or something? This would be great. Some systems like SAP have similar feature. It's used heavily as a broadcast communication system for all users. Very handy, especially in large installations. Thx/Axel - -- GNU Health : The Free Health and Hospital Information System http://health.gnu.org Twitter: @gnuhealth -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.22 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iEYEARECAAYFAlLYKG4ACgkQ6toB4+RLgBEETQCgrDDLXPaaBpucvoBo+tPDT90p SeIAnREuaVgJboxBm1ZOoFh0VhN6SiL/ =jFAz -END PGP SIGNATURE-
Re: [tryton] System messages
On 16 Jan 20:28, Axel Braun wrote: And it will not duplicate an Email system [Ced] for this means. Just imagine, in a larger installation, as Luis mentioned, to select and copy all Email- adresses from all usersnot really an option. I never suggest this. Of course it is stupid to make copy/paste of large email addresses. 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]. 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). By the way, we just have removed the requests that not to re-include them. [1] http://hg.tryton.org/tryton-tools/file/tip/timesheet_report.py -- Cédric Krier - B2CK SPRL Email/Jabber: cedric.kr...@b2ck.com Tel: +32 472 54 46 59 Website: http://www.b2ck.com/ pgpp6yBEqgyRI.pgp Description: PGP signature
Re: [tryton] System messages
2014/1/16 Cédric Krier cedric.kr...@b2ck.com: 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: cedric.kr...@b2ck.com 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