done, rev. 1420027 correct place is mainMethods.lzx:130 I agree we should have this link available without authorization, but I'm not sure where to put it :( Maybe to the top level links (like logout)? and make it available without login?
On Tue, Dec 11, 2012 at 2:52 PM, [email protected] < [email protected]> wrote: > The application should be also loaded using the URL: > http://localhost:5080/openmeetings/?swf=networktesting.swf10.swf > > That way it uses the correct embed code and for example the favicon is > right. > If you use: > http://localhost:5080/openmeetings/networktesting.swf10.swf?xyz=123 > Then there is no embed code used at all. It is no really officially defined > what a browser will do with such an SWF. It might open the file using the > Flash player, it might happen that in any future a browser will just do > nothing. > > Do you know where to put this URL? > Eventually it might makes sense to show this link somewhere in the login > prompt. That way it has a somewhat more prominent place and people realize > that they could use this tool even without OpenMeetings or need to sign up > or anything. > What do you think? > > Sebastian > > > 2012/12/11 Maxim Solodovnik <[email protected]> > > > done > > revision 1419992 > > > > I modified the code to work for SFW10 (tested in Chrome IE) and make more > > compact :) > > > > > > On Tue, Dec 11, 2012 at 8:02 AM, Maxim Solodovnik <[email protected] > > >wrote: > > > > > I'll try to handle it > > > On Dec 11, 2012 7:09 AM, "[email protected]" < > [email protected]> > > > wrote: > > > > > >> Hi German, > > >> > > >> there are some slight glitches with the network testing tool > > >> Currently the administrator has to edit the networktesting-config.xml > > and > > >> put a valid IP/domain in the host config. > > >> > > >> Actually by default I would like to have the "hostAddress" empty: > > >> <hostAddress></hostAddress> > > >> > > >> If it is empty, the application should automatically connect to the > > >> IP/domain that it has been loading from. > > >> That is the same behaviour like with the general config.xml > > >> > > >> This is the code that does exactly parsing the IP/domain from the URL > > >> var cleanUrl = _url; > > >> > > >> var hasParams = _url.indexOf("?"); > > >> if (hasParams != -1) { > > >> cleanUrl = _url.substr(0,hasParams-1); > > >> } > > >> > > >> if ($debug) Debug.write("_url ",_url,cleanUrl); > > >> var doubleSlash = cleanUrl.indexOf("//"); > > >> var isNotPort80 = cleanUrl.indexOf(":", doubleSlash+2); > > >> if ($debug) Debug.write("isNotPort80: > > ",isNotPort80,doubleSlash); > > >> if (isNotPort80!=-1){ > > >> //Debug.write("isNotPort80: ",doubleSlash+2, > > _url.indexOf(":", > > >> doubleSlash+2)-doubleSlash-2); > > >> var server = cleanUrl.substr(doubleSlash+2, > > _url.indexOf(":", > > >> doubleSlash+2)-doubleSlash-2); > > >> } else { > > >> var server = cleanUrl.substr(doubleSlash+2, > > _url.indexOf("/", > > >> doubleSlash+2)-doubleSlash-2); > > >> } > > >> > > >> if ($debug) Debug.write("this zielnr: ",this,server); > > >> > > >> The issue is just that this code works with SWF8, to make it working > in > > >> SWF10 there might be some slight modifications needed. > > >> > > >> Can you take care of it or are you currently busy with other things? > > >> > > >> Thanks! > > >> Sebastian > > >> > > >> -- > > >> Sebastian Wagner > > >> https://twitter.com/#!/dead_lock > > >> http://www.webbase-design.de > > >> http://www.wagner-sebastian.com > > >> [email protected] > > >> > > > > > > > > > -- > > WBR > > Maxim aka solomax > > > > > > -- > Sebastian Wagner > https://twitter.com/#!/dead_lock > http://www.webbase-design.de > http://www.wagner-sebastian.com > [email protected] > -- WBR Maxim aka solomax
