*** CarlosRuiz has quit IRC | 00:31 | |
*** norbertbede1 has joined #idempiere | 05:43 | |
*** a42niem has joined #idempiere | 05:46 | |
*** norbertbede1 has quit IRC | 06:06 | |
*** norbertbede1 has joined #idempiere | 06:29 | |
*** nmicoud has joined #idempiere | 07:47 | |
norbertbede1 | hi all | 08:25 |
---|---|---|
norbertbede1 | any ide how we can call from idempiere ui/login a websocket connection ? | 08:25 |
norbertbede1 | we need to communicate with a desktop client installed server running on ws | 08:26 |
norbertbede1 | then print to comport | 08:26 |
*** hieplq has joined #idempiere | 12:18 | |
*** CarlosRuiz has joined #idempiere | 13:31 | |
*** ChanServ sets mode: +o CarlosRuiz | 13:31 | |
*** CarlosRuiz has quit IRC | 13:45 | |
*** CarlosRuiz has joined #idempiere | 13:46 | |
*** ChanServ sets mode: +o CarlosRuiz | 13:46 | |
*** Deepak_ has joined #idempiere | 13:50 | |
Deepak_ | Good Morning All | 13:50 |
Deepak_ | Norbert, you need to insert respective javascript into your page and add logic | 13:52 |
Deepak_ | Websocket is simple to work with, once you open connection, you can start getting events | 13:52 |
Deepak_ | norbertbede1, it is just how to add custom java script code into page, all HTML5 enabled browser support websocket, so it not something specific to iDempiere | 13:54 |
norbertbede1 | hi Deepak, Hi all | 13:56 |
norbertbede1 | good moorning america :) | 13:56 |
norbertbede1 | thanks for answer | 13:56 |
norbertbede1 | any sample ? to websocket js | 13:58 |
norbertbede1 | or idea which lib would be best for this as starting point | 13:58 |
CarlosRuiz | Hallo zusammen | 14:00 |
norbertbede1 | guten tag, are you still in germany ? | 14:00 |
norbertbede1 | :) | 14:00 |
CarlosRuiz | yes | 14:02 |
CarlosRuiz | living here | 14:02 |
norbertbede1 | hm | 14:02 |
*** tbayen has joined #idempiere | 14:05 | |
norbertbede1 | you are kidding me :) | 14:06 |
norbertbede1 | Deepak_ we tested actual Webservice improvement login | 14:10 |
norbertbede1 | we identify 1st login email is mandatory, on next already cachced | 14:11 |
Deepak_ | Websocket do not need any lib | 14:11 |
Deepak_ | That is now HTML5 feature | 14:11 |
norbertbede1 | ah. Websocket is already meanwhile on right direction | 14:11 |
Deepak_ | We are using it but not there are ready to distribute sample | 14:11 |
Deepak_ | @CarlosRuiz, What Norbertbede1 presents is to use authentication token without user name in web service. If this supported then we need to protect against brute force approach | 14:13 |
norbertbede1 | but atm this is not implemented | 14:15 |
norbertbede1 | soon i state this is current behaviour after ws auth token was implemented | 14:15 |
norbertbede1 | this getting me strange. | 14:15 |
norbertbede1 | yes but requst login with token only is valid from me | 14:15 |
norbertbede1 | however not every body wants this | 14:15 |
norbertbede1 | i suggested to use firewall before api | 14:16 |
Deepak_ | I am not fan of that | 14:16 |
Deepak_ | But if that is mandate, then need to be done as configurable | 14:17 |
Deepak_ | @CarlosRuiz, We are trying to implement support for name or Value for login parameters | 14:18 |
Deepak_ | But for checking is already login based on comparing all login parameters become nasty, So thinking to persist last login authenticated login object and compare object to object | 14:19 |
Deepak_ | This may simplify case for composite service sub call | 14:19 |
norbertbede1 | what is the practical usage to submit value and name parameters, for example | 14:23 |
norbertbede1 | eg. token2 ? :) | 14:24 |
CarlosRuiz | why nasty Deepak? actually you must do it that way | 14:24 |
*** Deepak_ has quit IRC | 14:26 | |
*** Deepak_ has joined #idempiere | 15:06 | |
Deepak_ | CarlosRuiz, As you have value in loginParameter but in actual login there is ID of Client, org, Role etc | 15:10 |
Deepak_ | So comparing is not possible with direct value | 15:10 |
*** hieplq has quit IRC | 15:15 | |
*** Deepak_ has quit IRC | 15:49 | |
*** tbayen has quit IRC | 16:10 | |
*** nmicoud has quit IRC | 16:16 | |
*** norbertbede1 has quit IRC | 16:25 | |
*** norbertbede1 has joined #idempiere | 16:30 | |
*** tbayen has joined #idempiere | 16:33 | |
*** norbertbede1 has quit IRC | 16:41 | |
*** norbertbede1 has joined #idempiere | 16:41 | |
*** tbayen has quit IRC | 17:01 | |
*** tbayen has joined #idempiere | 17:16 | |
*** nmicoud has joined #idempiere | 17:44 | |
*** khalid has joined #idempiere | 17:45 | |
*** khalid has left #idempiere | 17:45 | |
*** nmicoud has quit IRC | 18:02 | |
*** nmicoud has joined #idempiere | 18:15 | |
*** CarlosRuiz has quit IRC | 18:25 | |
*** nmicoud has quit IRC | 18:33 | |
*** norbertbede1 has quit IRC | 19:18 | |
*** nmicoud has joined #idempiere | 19:25 | |
*** CarlosRuiz has joined #idempiere | 19:46 | |
*** ChanServ sets mode: +o CarlosRuiz | 19:46 | |
*** norbertbede has joined #idempiere | 20:01 | |
*** nmicoud has quit IRC | 21:14 | |
*** a42niem has quit IRC | 21:19 | |
*** CarlosRuiz has quit IRC | 21:48 | |
*** CarlosRuiz has joined #idempiere | 21:55 | |
*** ChanServ sets mode: +o CarlosRuiz | 21:55 | |
*** norbertbede has quit IRC | 22:16 | |
*** carlos_ has joined #idempiere | 22:22 | |
*** CarlosRuiz has quit IRC | 22:22 |
Generated by irclog2html.py 2.14.0 by Marius Gedminas - find it at mg.pov.lt!