Merged with my modifications
This commit is contained in:
commit
8c2908b1b2
@ -20,4 +20,6 @@
|
||||
<a href="demo_openid.jsp">Login with Openid</a>
|
||||
|
||||
<a href="demo11.jsp">Javascript API</a>
|
||||
|
||||
<a href="mobile.jsp">Mobile Demo</a>  
|
||||
|
||||
|
150
bbb-api-demo/src/main/webapp/mobile.jsp
Normal file → Executable file
150
bbb-api-demo/src/main/webapp/mobile.jsp
Normal file → Executable file
@ -1,51 +1,119 @@
|
||||
<%
|
||||
/*
|
||||
BigBlueButton - http://www.bigbluebutton.org
|
||||
|
||||
Copyright (c) 2011 by respective authors (see below). All rights reserved.
|
||||
|
||||
BigBlueButton is free software; you can redistribute it and/or modify it under the
|
||||
terms of the GNU Lesser General Public License as published by the Free Software
|
||||
Foundation; either version 3 of the License, or (at your option) any later
|
||||
version.
|
||||
|
||||
BigBlueButton is distributed in the hope that it will be useful, but WITHOUT ANY
|
||||
WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
|
||||
PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU Lesser General Public License along
|
||||
with BigBlueButton; if not, If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
Author: Felipe Cecagno <fcecagno@gmail.com>
|
||||
*/
|
||||
%>
|
||||
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
|
||||
<!--
|
||||
|
||||
BigBlueButton - http://www.bigbluebutton.org
|
||||
|
||||
Copyright (c) 2008-2009 by respective authors (see below). All rights reserved.
|
||||
|
||||
BigBlueButton is free software; you can redistribute it and/or modify it under the
|
||||
terms of the GNU Lesser General Public License as published by the Free Software
|
||||
Foundation; either version 3 of the License, or (at your option) any later
|
||||
version.
|
||||
|
||||
BigBlueButton is distributed in the hope that it will be useful, but WITHOUT ANY
|
||||
WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
|
||||
PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU Lesser General Public License along
|
||||
with BigBlueButton; if not, If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
Author: Chad Pilkey <capilkey@gmail.org>
|
||||
|
||||
-->
|
||||
|
||||
<%@ page language="java" contentType="text/html; charset=UTF-8"
|
||||
pageEncoding="UTF-8"%>
|
||||
<%
|
||||
request.setCharacterEncoding("UTF-8");
|
||||
response.setCharacterEncoding("UTF-8");
|
||||
%>
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<title>Join Demo Meeting From Mobile</title>
|
||||
</head>
|
||||
|
||||
<%@page import="org.apache.commons.httpclient.HttpClient"%>
|
||||
<%@page import="org.apache.commons.httpclient.HttpMethod"%>
|
||||
<%@page import="org.apache.commons.httpclient.methods.GetMethod"%>
|
||||
<body>
|
||||
|
||||
<%@ include file="bbb_api.jsp"%>
|
||||
|
||||
<%
|
||||
if (request.getParameterMap().isEmpty()) {
|
||||
//
|
||||
// Assume we want to create a meeting
|
||||
//
|
||||
%>
|
||||
<%@ include file="demo_header.jsp"%>
|
||||
|
||||
<h2>Join Demo Meeting From Mobile</h2>
|
||||
|
||||
You must have the BigBlueButton mobile client installed on your device for this demo to work.
|
||||
<br /><br />
|
||||
<FORM NAME="form1" METHOD="GET">
|
||||
<table cellpadding="5" cellspacing="5" style="width: 400px; ">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>
|
||||
</td>
|
||||
<td style="text-align: right; ">
|
||||
Full Name:</td>
|
||||
<td style="width: 5px; ">
|
||||
</td>
|
||||
<td style="text-align: left ">
|
||||
<input type="text" autofocus required name="username" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
</td>
|
||||
<td>
|
||||
</td>
|
||||
<td>
|
||||
</td>
|
||||
<td>
|
||||
<input type="submit" value="Join" /></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<INPUT TYPE=hidden NAME=action VALUE="create">
|
||||
</FORM>
|
||||
|
||||
<%@ include file="mobile_api.jsp"%>
|
||||
|
||||
<%
|
||||
String result = error(E_INVALID_URL);
|
||||
if (request.getParameterMap().isEmpty()) {
|
||||
result = success("mobileSupported", "This server supports mobile devices.");
|
||||
} else if (request.getParameter("action") == null) {
|
||||
// return the default result
|
||||
} else if (request.getParameter("action").equals("getTimestamp")) {
|
||||
result = getTimestamp(request);
|
||||
} else if (request.getParameter("action").equals("getMeetings")) {
|
||||
result = mobileGetMeetings(request);
|
||||
} else if (request.getParameter("action").equals("join")) {
|
||||
result = mobileJoinMeeting(request);
|
||||
} else if (request.getParameter("action").equals("create")) {
|
||||
result = mobileCreate(request);
|
||||
}
|
||||
} else if (request.getParameter("action").equals("create")) {
|
||||
|
||||
//
|
||||
// Got an action=create
|
||||
//
|
||||
|
||||
String username = request.getParameter("username");
|
||||
String url = BigBlueButtonURL.replace("bigbluebutton/","demo/");
|
||||
// String preUploadPDF = "<?xml version='1.0' encoding='UTF-8'?><modules><module name='presentation'><document url='"+url+"pdfs/sample.pdf'/></module></modules>";
|
||||
|
||||
String joinURL = getJoinURL(request.getParameter("username"), "Demo Meeting", "false", null, null, null);
|
||||
|
||||
if (joinURL.startsWith("http://")) {
|
||||
joinURL = joinURL.replace("http", "bigbluebutton");
|
||||
%>
|
||||
<%=result%>
|
||||
|
||||
<script language="javascript" type="text/javascript">
|
||||
window.location.href="<%=joinURL%>";
|
||||
</script>
|
||||
|
||||
<%
|
||||
} else {
|
||||
%>
|
||||
|
||||
Error: getJoinURL() failed
|
||||
<p/>
|
||||
<%=joinURL %>
|
||||
|
||||
<%
|
||||
}
|
||||
}
|
||||
%>
|
||||
|
||||
|
||||
<%@ include file="demo_footer.jsp"%>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
|
@ -1,182 +0,0 @@
|
||||
<%
|
||||
/*
|
||||
BigBlueButton - http://www.bigbluebutton.org
|
||||
|
||||
Copyright (c) 2011 by respective authors (see below). All rights reserved.
|
||||
|
||||
BigBlueButton is free software; you can redistribute it and/or modify it under the
|
||||
terms of the GNU Lesser General Public License as published by the Free Software
|
||||
Foundation; either version 3 of the License, or (at your option) any later
|
||||
version.
|
||||
|
||||
BigBlueButton is distributed in the hope that it will be useful, but WITHOUT ANY
|
||||
WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
|
||||
PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU Lesser General Public License along
|
||||
with BigBlueButton; if not, If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
Author: Felipe Cecagno <fcecagno@gmail.com>
|
||||
*/
|
||||
%>
|
||||
<%@ include file="bbb_api.jsp"%>
|
||||
<%@ include file="mobile_conf.jsp"%>
|
||||
|
||||
<%@page import="org.apache.commons.httpclient.HttpClient"%>
|
||||
<%@page import="org.apache.commons.httpclient.HttpMethod"%>
|
||||
<%@page import="org.apache.commons.httpclient.methods.GetMethod"%>
|
||||
|
||||
<%!
|
||||
public final int E_OK = 0;
|
||||
public final int E_CHECKSUM_NOT_INFORMED = 1;
|
||||
public final int E_INVALID_CHECKSUM = 2;
|
||||
public final int E_INVALID_TIMESTAMP = 3;
|
||||
public final int E_EMPTY_SECURITY_KEY = 4;
|
||||
public final int E_MISSING_PARAM_MEETINGID = 5;
|
||||
public final int E_MISSING_PARAM_FULLNAME = 6;
|
||||
public final int E_MISSING_PARAM_PASSWORD = 7;
|
||||
public final int E_MISSING_PARAM_TIMESTAMP = 8;
|
||||
public final int E_INVALID_URL = 9;
|
||||
|
||||
public String error(int code) {
|
||||
switch(code) {
|
||||
case E_CHECKSUM_NOT_INFORMED:
|
||||
case E_INVALID_CHECKSUM:
|
||||
return error("checksumError", "You did not pass the checksum security check.");
|
||||
case E_INVALID_TIMESTAMP:
|
||||
return error("invalidTimestamp", "You did not pass the timestamp check.");
|
||||
case E_EMPTY_SECURITY_KEY:
|
||||
return error("emptySecurityKey", "The mobile security key is empty. Please contact the administrator.");
|
||||
case E_MISSING_PARAM_MEETINGID:
|
||||
return error("missingParamMeetingID", "You must specify a meeting ID for the meeting.");
|
||||
case E_MISSING_PARAM_FULLNAME:
|
||||
return error("missingParamFullName", "You must specify a name for the attendee who will be joining the meeting.");
|
||||
case E_MISSING_PARAM_PASSWORD:
|
||||
return error("invalidPassword", "You either did not supply a password or the password supplied is neither the attendee or moderator password for this conference.");
|
||||
case E_MISSING_PARAM_TIMESTAMP:
|
||||
return error("missingParamTimestamp", "You must specify the timestamp provided by the server when you called the method getTimestamp.");
|
||||
case E_INVALID_URL:
|
||||
return error("invalidAction", "The requested URL is unavailable.");
|
||||
default:
|
||||
return error("unknownError", "An unexpected error occurred");
|
||||
}
|
||||
}
|
||||
|
||||
private String getRequestURL(HttpServletRequest request) {
|
||||
return request.getQueryString();
|
||||
}
|
||||
|
||||
private String removeChecksum(String requestURL) {
|
||||
return requestURL.substring(0, requestURL.lastIndexOf("&checksum="));
|
||||
}
|
||||
|
||||
private String addValidChecksum(String requestURL) {
|
||||
return requestURL + "&checksum=" + checksum(requestURL + mobileSalt);
|
||||
}
|
||||
|
||||
private int isRequestValid(HttpServletRequest request) {
|
||||
// if there's no checksum parameter, the request isn't valid
|
||||
if (request.getParameter("checksum") == null)
|
||||
return E_CHECKSUM_NOT_INFORMED;
|
||||
|
||||
// check the timestamp for all the requests except getTimestamp
|
||||
if (!request.getParameter("action").equals("getTimestamp")) {
|
||||
String requestTimestamp = request.getParameter("timestamp");
|
||||
if (requestTimestamp == null)
|
||||
return E_MISSING_PARAM_TIMESTAMP;
|
||||
|
||||
Long requestTimestampL = Long.valueOf(requestTimestamp);
|
||||
// the timestamp is valid for 60 seconds
|
||||
if (Math.abs(getTimestamp() - requestTimestampL) > 60)
|
||||
return E_INVALID_TIMESTAMP;
|
||||
}
|
||||
|
||||
if (mobileSalt.isEmpty())
|
||||
return E_EMPTY_SECURITY_KEY;
|
||||
|
||||
String requestURL = getRequestURL(request);
|
||||
String urlWithoutChecksum = removeChecksum(requestURL);
|
||||
String urlWithChecksum = addValidChecksum(urlWithoutChecksum);
|
||||
return (requestURL.equals(urlWithChecksum)? E_OK: E_INVALID_CHECKSUM);
|
||||
}
|
||||
|
||||
private String mountResponse(String returncode, String messageKey, String message) {
|
||||
return "<response><returncode>" + returncode + "</returncode><messageKey>" + messageKey + "</messageKey><message>" + message + "</message></response>";
|
||||
}
|
||||
|
||||
public String success(String messageKey, String message) {
|
||||
return mountResponse("SUCCESS", messageKey, message);
|
||||
}
|
||||
|
||||
public String error(String messageKey, String message) {
|
||||
return mountResponse("FAILED", messageKey, message);
|
||||
}
|
||||
|
||||
private long getTimestamp() {
|
||||
return (System.currentTimeMillis() / 1000L);
|
||||
}
|
||||
|
||||
public String getTimestamp(HttpServletRequest request) {
|
||||
int code = isRequestValid(request);
|
||||
if (code != E_OK)
|
||||
return error(code);
|
||||
|
||||
return "<response><returncode>SUCCESS</returncode><timestamp>" + getTimestamp() + "</timestamp></response>";
|
||||
}
|
||||
|
||||
public String mobileGetMeetings(HttpServletRequest request) {
|
||||
int code = isRequestValid(request);
|
||||
if (code != E_OK)
|
||||
return error(code);
|
||||
|
||||
return getMeetings();
|
||||
}
|
||||
|
||||
public String mobileJoinMeeting(HttpServletRequest request) {
|
||||
int code = isRequestValid(request);
|
||||
if (code != E_OK)
|
||||
return error(code);
|
||||
|
||||
String meetingID = request.getParameter("meetingID");
|
||||
if (meetingID == null) return error(E_MISSING_PARAM_MEETINGID);
|
||||
|
||||
String fullName = request.getParameter("fullName");
|
||||
if (fullName == null) return error(E_MISSING_PARAM_FULLNAME);
|
||||
|
||||
String password = request.getParameter("password");
|
||||
if (password == null) return error(E_MISSING_PARAM_PASSWORD);
|
||||
|
||||
String result = error("failedJoin", "Couldn't join the meeting.");
|
||||
String joinUrl = getJoinMeetingURL(fullName, meetingID, password, null);
|
||||
String enterUrl = BigBlueButtonURL + "api/enter";
|
||||
try {
|
||||
HttpClient client = new HttpClient();
|
||||
HttpMethod method = new GetMethod(joinUrl);
|
||||
client.executeMethod(method);
|
||||
method.releaseConnection();
|
||||
|
||||
method = new GetMethod(enterUrl);
|
||||
client.executeMethod(method);
|
||||
result = method.getResponseBodyAsString();
|
||||
method.releaseConnection();
|
||||
} catch (Exception e) {
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
||||
public String mobileCreate(HttpServletRequest request) {
|
||||
int code = isRequestValid(request);
|
||||
if (code != E_OK)
|
||||
return error(code);
|
||||
|
||||
String meetingID = request.getParameter("meetingID");
|
||||
if (meetingID == null) return error(E_MISSING_PARAM_MEETINGID);
|
||||
|
||||
return createMeeting(meetingID, "", "", "", "", 0, BigBlueButtonURL);
|
||||
}
|
||||
|
||||
// it's just for testing purposes
|
||||
private String fixURL(HttpServletRequest request) {
|
||||
return addValidChecksum(removeChecksum(getRequestURL(request)));
|
||||
}
|
||||
%>
|
@ -1,6 +0,0 @@
|
||||
|
||||
<%!
|
||||
// This is the mobile security salt that must be used to check the requests on mobile.jsp
|
||||
String mobileSalt = "";
|
||||
%>
|
||||
|
@ -1,5 +1,4 @@
|
||||
bin-debug/
|
||||
bin-release/
|
||||
check/
|
||||
.actionScriptProperties
|
||||
.flexProperties
|
||||
.project
|
||||
@ -8,4 +7,3 @@ org.eclipse.ltk.core.refactoring.prefs
|
||||
FlexPrettyPrintCommand.prefs
|
||||
index.template.html
|
||||
conf/config.xml
|
||||
|
@ -29,19 +29,19 @@
|
||||
</macrodef>
|
||||
<target name="Extract-rsls">
|
||||
<!-- Third parties RSLs -->
|
||||
<create-rsl rsl-dir="bin-release/rsls/"
|
||||
<create-rsl rsl-dir="check/rsls/"
|
||||
swc-dir="${BASE_DIR}/libs/"
|
||||
swc-name="robotlegs-framework-v2.2.1"/>
|
||||
<create-rsl rsl-dir="bin-release/rsls/"
|
||||
<create-rsl rsl-dir="check/rsls/"
|
||||
swc-dir="${BASE_DIR}/libs/"
|
||||
swc-name="as3-signals-v0.9-BETA"/>
|
||||
<create-rsl rsl-dir="bin-release/rsls/"
|
||||
<create-rsl rsl-dir="check/rsls/"
|
||||
swc-dir="${BASE_DIR}/libs/"
|
||||
swc-name="as3-signals-utilities-async-v0.9-BETA"/>
|
||||
<create-rsl rsl-dir="bin-release/rsls/"
|
||||
<create-rsl rsl-dir="check/rsls/"
|
||||
swc-dir="${BASE_DIR}/libs/"
|
||||
swc-name="robotlegs-extensions-SignalCommandMap-v1.0.0b1"/>
|
||||
<create-rsl rsl-dir="bin-release/rsls/"
|
||||
<create-rsl rsl-dir="check/rsls/"
|
||||
swc-dir="${BASE_DIR}/libs/"
|
||||
swc-name="localelib"/>
|
||||
</target>
|
||||
@ -49,13 +49,13 @@
|
||||
description="Compile MXML file to release SWF application.">
|
||||
<echo>Compiling source...</echo>
|
||||
<mxmlc file="${SRC_DIR}/BBBClientCheck.mxml"
|
||||
output="bin-release/BBBClientCheck.swf"
|
||||
output="check/BBBClientCheck.swf"
|
||||
debug="false"
|
||||
locale="en_US"
|
||||
actionscript-file-encoding="UTF-8"
|
||||
incremental="false">
|
||||
<static-link-runtime-shared-libraries>false</static-link-runtime-shared-libraries>
|
||||
<source-path>${SRC_DIR}/locale/{locale}</source-path>
|
||||
<source-path>locale/{locale}</source-path>
|
||||
<source-path path-element="src"/>
|
||||
<include-resource-bundles>resources</include-resource-bundles>
|
||||
<load-config filename="${FLEX_HOME}/frameworks/flex-config.xml"/>
|
||||
@ -91,7 +91,7 @@
|
||||
</mxmlc>
|
||||
<antcall target="Resolve-Dependency">
|
||||
<param name="html.output"
|
||||
value="bin-release"/>
|
||||
value="check"/>
|
||||
</antcall>
|
||||
</target>
|
||||
<target name="Build-Release">
|
||||
@ -100,8 +100,8 @@
|
||||
<target name="Resolve-Dependency"
|
||||
description="Generate HTML wrapper">
|
||||
<get src="${TEST_IMAGE_URL}" dest="${html.output}/test_image.jpg" skipexisting="true" />
|
||||
<copy file="html-template/BBBClientCheck.html"
|
||||
tofile="${html.output}/BBBClientCheck.html"/>
|
||||
<copy file="html-template/index.html"
|
||||
tofile="${html.output}/index.html"/>
|
||||
<copy file="html-template/swfobject.js"
|
||||
tofile="${html.output}/swfobject.js"/>
|
||||
<copy file="${SRC_DIR}/AppStyle.css"
|
||||
@ -117,7 +117,7 @@
|
||||
</copy>
|
||||
</target>
|
||||
<target name="build"
|
||||
depends="Init, Extract-rsls, Build-Release"
|
||||
depends="Create-Config, Extract-rsls, Build-Release"
|
||||
description="Launcher for building whole release process"/>
|
||||
|
||||
<target name="Get-IP">
|
4
bbb-client-check/check.nginx
Normal file
4
bbb-client-check/check.nginx
Normal file
@ -0,0 +1,4 @@
|
||||
location /check {
|
||||
root /var/www/bigbluebutton;
|
||||
index index.html index.htm;
|
||||
}
|
@ -36,6 +36,7 @@
|
||||
|
||||
<script type="text/javascript" src="resources/lib/api-bridge.js"></script>
|
||||
<script type="text/javascript" src="resources/lib/sip-0.6.2.js"></script>
|
||||
<script type="text/javascript" src="resources/lib/deployJava.js"></script>
|
||||
<script type="text/javascript" src="swfobject.js"></script>
|
||||
<script type="text/javascript">
|
||||
// For version detection, set to min. required Flash Player version, or 0 (or 0.0.0), for no version detection.
|
||||
@ -62,6 +63,7 @@
|
||||
</script>
|
||||
</head>
|
||||
<body>
|
||||
<div id="deployJavaPluginContainer" style="visibility:hidden; height:0px; "></div>
|
||||
<!-- SWFObject's dynamic embed method replaces this alternative HTML content with Flash content when enough
|
||||
JavaScript and Flash plug-in support is available. The div is initially hidden so that it doesn't show
|
||||
when JavaScript is disabled.
|
14
bbb-client-check/locale/en_US/resources.properties
Executable file
14
bbb-client-check/locale/en_US/resources.properties
Executable file
@ -0,0 +1,14 @@
|
||||
bbbsystemcheck.title = BigBlueButton Client Check
|
||||
bbbsystemcheck.refresh = Refresh
|
||||
bbbsystemcheck.mail = Mail
|
||||
bbbsystemcheck.dataGridColumn.item = Item
|
||||
bbbsystemcheck.dataGridColumn.status = Status
|
||||
bbbsystemcheck.dataGridColumn.result = Result
|
||||
bbbsystemcheck.copyAllText = Copy all text
|
||||
bbbsystemcheck.result.undefined = Undefined
|
||||
bbbsystemcheck.result.javaEnabled.disabled = Java is disabled in your browser
|
||||
bbbsystemcheck.result.javaEnabled.notDetected = No Java detected
|
||||
bbbsystemcheck.status.succeeded =
|
||||
bbbsystemcheck.status.warning = Warning
|
||||
bbbsystemcheck.status.failed = Failed
|
||||
bbbsystemcheck.status.loading = Loading...
|
@ -149,13 +149,32 @@
|
||||
}
|
||||
|
||||
BBBClientCheck.javaEnabled = function(){
|
||||
var javaEnabledInfo = '';
|
||||
var result = {
|
||||
enabled: navigator.javaEnabled(),
|
||||
version: [],
|
||||
minimum: '1.7.0_51+',
|
||||
appropriate: false
|
||||
};
|
||||
|
||||
if (result.enabled) {
|
||||
result.version = getJavaVersion();
|
||||
result.appropriate = isJavaVersionAppropriateForDeskshare(result.minimum);
|
||||
}
|
||||
|
||||
console.log(result);
|
||||
|
||||
var swfObj = getSwfObj();
|
||||
|
||||
javaEnabledInfo = navigator.javaEnabled();
|
||||
swfObj.javaEnabled(javaEnabledInfo);
|
||||
swfObj.javaEnabled(result);
|
||||
}
|
||||
|
||||
|
||||
function getJavaVersion() {
|
||||
return deployJava.getJREs();
|
||||
}
|
||||
|
||||
function isJavaVersionAppropriateForDeskshare(required) {
|
||||
return deployJava.versionCheck(required);
|
||||
}
|
||||
|
||||
BBBClientCheck.language = function(){
|
||||
var languageInfo = '';
|
||||
var swfObj = getSwfObj();
|
1
bbb-client-check/resources/lib/deployJava.js
Normal file
1
bbb-client-check/resources/lib/deployJava.js
Normal file
File diff suppressed because one or more lines are too long
@ -11,6 +11,7 @@ s|Application {
|
||||
fontSize: 15;
|
||||
fontFamily: Arial;
|
||||
color: #e1e2e5;
|
||||
textAlign: center;
|
||||
}
|
||||
|
||||
.borderContainerStyle {
|
@ -53,16 +53,17 @@
|
||||
</fx:Script>
|
||||
|
||||
<s:controlBarContent>
|
||||
<mx:Spacer width="50%"/>
|
||||
<mx:Label id="controlBarLabel"
|
||||
text="{resourceManager.getString('resources', 'bbbsystemcheck.title')}"
|
||||
styleName="controlBarLabelStyle"/>
|
||||
<mx:Spacer width="50%"/>
|
||||
<view:RefreshButton id="refreshBtn" label="refresh"/>
|
||||
<view:MailButton id="mailBtn" label="mail"/>
|
||||
width="100%"
|
||||
text="{resourceManager.getString('resources', 'bbbsystemcheck.title')}"
|
||||
styleName="controlBarLabelStyle"/>
|
||||
<view:RefreshButton id="refreshBtn"
|
||||
label="{resourceManager.getString('resources', 'bbbsystemcheck.refresh')}"/>
|
||||
<view:MailButton id="mailBtn"
|
||||
label="{resourceManager.getString('resources', 'bbbsystemcheck.mail')}"/>
|
||||
</s:controlBarContent>
|
||||
|
||||
<mainview:MainView width="70%"
|
||||
<mainview:MainView width="80%"
|
||||
height="97%"
|
||||
styleName="borderContainerStyle"/>
|
||||
</s:Application>
|
@ -1,3 +1,21 @@
|
||||
/**
|
||||
* BigBlueButton open source conferencing system - http://www.bigbluebutton.org/
|
||||
*
|
||||
* Copyright (c) 2012 BigBlueButton Inc. and by respective authors (see below).
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify it under the
|
||||
* terms of the GNU Lesser General Public License as published by the Free Software
|
||||
* Foundation; either version 3.0 of the License, or (at your option) any later
|
||||
* version.
|
||||
*
|
||||
* BigBlueButton is distributed in the hope that it will be useful, but WITHOUT ANY
|
||||
* WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
|
||||
* PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Lesser General Public License along
|
||||
* with BigBlueButton; if not, see <http://www.gnu.org/licenses/>.
|
||||
*
|
||||
*/
|
||||
package org.bigbluebutton.clientcheck
|
||||
{
|
||||
import org.bigbluebutton.clientcheck.command.GetConfigXMLDataCommand;
|
@ -1,3 +1,22 @@
|
||||
/**
|
||||
* BigBlueButton open source conferencing system - http://www.bigbluebutton.org/
|
||||
*
|
||||
* Copyright (c) 2014 BigBlueButton Inc. and by respective authors (see below).
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify it under the
|
||||
* terms of the GNU Lesser General Public License as published by the Free Software
|
||||
* Foundation; either version 3.0 of the License, or (at your option) any later
|
||||
* version.
|
||||
*
|
||||
* BigBlueButton is distributed in the hope that it will be useful, but WITHOUT ANY
|
||||
* WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
|
||||
* PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Lesser General Public License along
|
||||
* with BigBlueButton; if not, see <http://www.gnu.org/licenses/>.
|
||||
*
|
||||
*/
|
||||
|
||||
package org.bigbluebutton.clientcheck.command
|
||||
{
|
||||
import flash.net.URLRequest;
|
||||
@ -23,7 +42,7 @@ package org.bigbluebutton.clientcheck.command
|
||||
[Inject]
|
||||
public var config:IXMLConfig;
|
||||
|
||||
private var CONFIG_XML:String="client/client-check/conf/config.xml";
|
||||
private var CONFIG_XML:String="check/conf/config.xml";
|
||||
private var _urlRequest:URLRequest;
|
||||
|
||||
public override function execute():void
|
@ -0,0 +1,31 @@
|
||||
/**
|
||||
* BigBlueButton open source conferencing system - http://www.bigbluebutton.org/
|
||||
*
|
||||
* Copyright (c) 2014 BigBlueButton Inc. and by respective authors (see below).
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify it under the
|
||||
* terms of the GNU Lesser General Public License as published by the Free Software
|
||||
* Foundation; either version 3.0 of the License, or (at your option) any later
|
||||
* version.
|
||||
*
|
||||
* BigBlueButton is distributed in the hope that it will be useful, but WITHOUT ANY
|
||||
* WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
|
||||
* PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Lesser General Public License along
|
||||
* with BigBlueButton; if not, see <http://www.gnu.org/licenses/>.
|
||||
*
|
||||
*/
|
||||
|
||||
package org.bigbluebutton.clientcheck.command
|
||||
{
|
||||
import org.osflash.signals.Signal;
|
||||
|
||||
public class GetConfigXMLDataSignal extends Signal
|
||||
{
|
||||
public function GetConfigXMLDataSignal()
|
||||
{
|
||||
super();
|
||||
}
|
||||
}
|
||||
}
|
@ -1,3 +1,22 @@
|
||||
/**
|
||||
* BigBlueButton open source conferencing system - http://www.bigbluebutton.org/
|
||||
*
|
||||
* Copyright (c) 2014 BigBlueButton Inc. and by respective authors (see below).
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify it under the
|
||||
* terms of the GNU Lesser General Public License as published by the Free Software
|
||||
* Foundation; either version 3.0 of the License, or (at your option) any later
|
||||
* version.
|
||||
*
|
||||
* BigBlueButton is distributed in the hope that it will be useful, but WITHOUT ANY
|
||||
* WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
|
||||
* PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Lesser General Public License along
|
||||
* with BigBlueButton; if not, see <http://www.gnu.org/licenses/>.
|
||||
*
|
||||
*/
|
||||
|
||||
package org.bigbluebutton.clientcheck.command
|
||||
{
|
||||
import org.bigbluebutton.clientcheck.model.ISystemConfiguration;
|
@ -0,0 +1,31 @@
|
||||
/**
|
||||
* BigBlueButton open source conferencing system - http://www.bigbluebutton.org/
|
||||
*
|
||||
* Copyright (c) 2014 BigBlueButton Inc. and by respective authors (see below).
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify it under the
|
||||
* terms of the GNU Lesser General Public License as published by the Free Software
|
||||
* Foundation; either version 3.0 of the License, or (at your option) any later
|
||||
* version.
|
||||
*
|
||||
* BigBlueButton is distributed in the hope that it will be useful, but WITHOUT ANY
|
||||
* WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
|
||||
* PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Lesser General Public License along
|
||||
* with BigBlueButton; if not, see <http://www.gnu.org/licenses/>.
|
||||
*
|
||||
*/
|
||||
|
||||
package org.bigbluebutton.clientcheck.command
|
||||
{
|
||||
import org.osflash.signals.Signal;
|
||||
|
||||
public class RequestBandwidthInfoSignal extends Signal
|
||||
{
|
||||
public function RequestBandwidthInfoSignal()
|
||||
{
|
||||
super();
|
||||
}
|
||||
}
|
||||
}
|
@ -1,3 +1,22 @@
|
||||
/**
|
||||
* BigBlueButton open source conferencing system - http://www.bigbluebutton.org/
|
||||
*
|
||||
* Copyright (c) 2014 BigBlueButton Inc. and by respective authors (see below).
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify it under the
|
||||
* terms of the GNU Lesser General Public License as published by the Free Software
|
||||
* Foundation; either version 3.0 of the License, or (at your option) any later
|
||||
* version.
|
||||
*
|
||||
* BigBlueButton is distributed in the hope that it will be useful, but WITHOUT ANY
|
||||
* WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
|
||||
* PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Lesser General Public License along
|
||||
* with BigBlueButton; if not, see <http://www.gnu.org/licenses/>.
|
||||
*
|
||||
*/
|
||||
|
||||
package org.bigbluebutton.clientcheck.command
|
||||
{
|
||||
import flash.external.ExternalInterface;
|
@ -0,0 +1,31 @@
|
||||
/**
|
||||
* BigBlueButton open source conferencing system - http://www.bigbluebutton.org/
|
||||
*
|
||||
* Copyright (c) 2014 BigBlueButton Inc. and by respective authors (see below).
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify it under the
|
||||
* terms of the GNU Lesser General Public License as published by the Free Software
|
||||
* Foundation; either version 3.0 of the License, or (at your option) any later
|
||||
* version.
|
||||
*
|
||||
* BigBlueButton is distributed in the hope that it will be useful, but WITHOUT ANY
|
||||
* WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
|
||||
* PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Lesser General Public License along
|
||||
* with BigBlueButton; if not, see <http://www.gnu.org/licenses/>.
|
||||
*
|
||||
*/
|
||||
|
||||
package org.bigbluebutton.clientcheck.command
|
||||
{
|
||||
import org.osflash.signals.Signal;
|
||||
|
||||
public class RequestBrowserInfoSignal extends Signal
|
||||
{
|
||||
public function RequestBrowserInfoSignal()
|
||||
{
|
||||
super();
|
||||
}
|
||||
}
|
||||
}
|
@ -0,0 +1,36 @@
|
||||
/**
|
||||
* BigBlueButton open source conferencing system - http://www.bigbluebutton.org/
|
||||
*
|
||||
* Copyright (c) 2014 BigBlueButton Inc. and by respective authors (see below).
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify it under the
|
||||
* terms of the GNU Lesser General Public License as published by the Free Software
|
||||
* Foundation; either version 3.0 of the License, or (at your option) any later
|
||||
* version.
|
||||
*
|
||||
* BigBlueButton is distributed in the hope that it will be useful, but WITHOUT ANY
|
||||
* WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
|
||||
* PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Lesser General Public License along
|
||||
* with BigBlueButton; if not, see <http://www.gnu.org/licenses/>.
|
||||
*
|
||||
*/
|
||||
|
||||
package org.bigbluebutton.clientcheck.command
|
||||
{
|
||||
import org.bigbluebutton.clientcheck.service.IPortTunnelingService;
|
||||
|
||||
import robotlegs.bender.bundles.mvcs.Command;
|
||||
|
||||
public class RequestPortsCommand extends Command
|
||||
{
|
||||
[Inject]
|
||||
public var portTunnelingService:IPortTunnelingService;
|
||||
|
||||
public override function execute():void
|
||||
{
|
||||
portTunnelingService.init();
|
||||
}
|
||||
}
|
||||
}
|
@ -0,0 +1,31 @@
|
||||
/**
|
||||
* BigBlueButton open source conferencing system - http://www.bigbluebutton.org/
|
||||
*
|
||||
* Copyright (c) 2014 BigBlueButton Inc. and by respective authors (see below).
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify it under the
|
||||
* terms of the GNU Lesser General Public License as published by the Free Software
|
||||
* Foundation; either version 3.0 of the License, or (at your option) any later
|
||||
* version.
|
||||
*
|
||||
* BigBlueButton is distributed in the hope that it will be useful, but WITHOUT ANY
|
||||
* WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
|
||||
* PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Lesser General Public License along
|
||||
* with BigBlueButton; if not, see <http://www.gnu.org/licenses/>.
|
||||
*
|
||||
*/
|
||||
|
||||
package org.bigbluebutton.clientcheck.command
|
||||
{
|
||||
import org.osflash.signals.Signal;
|
||||
|
||||
public class RequestPortsSignal extends Signal
|
||||
{
|
||||
public function RequestPortsSignal()
|
||||
{
|
||||
super();
|
||||
}
|
||||
}
|
||||
}
|
@ -0,0 +1,41 @@
|
||||
/**
|
||||
* BigBlueButton open source conferencing system - http://www.bigbluebutton.org/
|
||||
*
|
||||
* Copyright (c) 2014 BigBlueButton Inc. and by respective authors (see below).
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify it under the
|
||||
* terms of the GNU Lesser General Public License as published by the Free Software
|
||||
* Foundation; either version 3.0 of the License, or (at your option) any later
|
||||
* version.
|
||||
*
|
||||
* BigBlueButton is distributed in the hope that it will be useful, but WITHOUT ANY
|
||||
* WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
|
||||
* PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Lesser General Public License along
|
||||
* with BigBlueButton; if not, see <http://www.gnu.org/licenses/>.
|
||||
*
|
||||
*/
|
||||
|
||||
package org.bigbluebutton.clientcheck.command
|
||||
{
|
||||
import org.bigbluebutton.clientcheck.model.test.IPortTest;
|
||||
import org.bigbluebutton.clientcheck.model.test.IRTMPAppTest;
|
||||
import org.bigbluebutton.clientcheck.model.ISystemConfiguration;
|
||||
import org.bigbluebutton.clientcheck.model.test.PortTest;
|
||||
import org.bigbluebutton.clientcheck.service.IRTMPTunnelingService;
|
||||
|
||||
import robotlegs.bender.bundles.mvcs.Command;
|
||||
import org.bigbluebutton.clientcheck.model.test.RTMPAppTest;
|
||||
|
||||
public class RequestRTMPAppsCommand extends Command
|
||||
{
|
||||
[Inject]
|
||||
public var rtmpTunnelingService:IRTMPTunnelingService;
|
||||
|
||||
public override function execute():void
|
||||
{
|
||||
rtmpTunnelingService.init();
|
||||
}
|
||||
}
|
||||
}
|
@ -0,0 +1,31 @@
|
||||
/**
|
||||
* BigBlueButton open source conferencing system - http://www.bigbluebutton.org/
|
||||
*
|
||||
* Copyright (c) 2014 BigBlueButton Inc. and by respective authors (see below).
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify it under the
|
||||
* terms of the GNU Lesser General Public License as published by the Free Software
|
||||
* Foundation; either version 3.0 of the License, or (at your option) any later
|
||||
* version.
|
||||
*
|
||||
* BigBlueButton is distributed in the hope that it will be useful, but WITHOUT ANY
|
||||
* WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
|
||||
* PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Lesser General Public License along
|
||||
* with BigBlueButton; if not, see <http://www.gnu.org/licenses/>.
|
||||
*
|
||||
*/
|
||||
|
||||
package org.bigbluebutton.clientcheck.command
|
||||
{
|
||||
import org.osflash.signals.Signal;
|
||||
|
||||
public class RequestRTMPAppsSignal extends Signal
|
||||
{
|
||||
public function RequestRTMPAppsSignal()
|
||||
{
|
||||
super();
|
||||
}
|
||||
}
|
||||
}
|
@ -1,3 +1,22 @@
|
||||
/**
|
||||
* BigBlueButton open source conferencing system - http://www.bigbluebutton.org/
|
||||
*
|
||||
* Copyright (c) 2014 BigBlueButton Inc. and by respective authors (see below).
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify it under the
|
||||
* terms of the GNU Lesser General Public License as published by the Free Software
|
||||
* Foundation; either version 3.0 of the License, or (at your option) any later
|
||||
* version.
|
||||
*
|
||||
* BigBlueButton is distributed in the hope that it will be useful, but WITHOUT ANY
|
||||
* WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
|
||||
* PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Lesser General Public License along
|
||||
* with BigBlueButton; if not, see <http://www.gnu.org/licenses/>.
|
||||
*
|
||||
*/
|
||||
|
||||
package org.bigbluebutton.clientcheck.model
|
||||
{
|
||||
|
@ -0,0 +1,40 @@
|
||||
/**
|
||||
* BigBlueButton open source conferencing system - http://www.bigbluebutton.org/
|
||||
*
|
||||
* Copyright (c) 2014 BigBlueButton Inc. and by respective authors (see below).
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify it under the
|
||||
* terms of the GNU Lesser General Public License as published by the Free Software
|
||||
* Foundation; either version 3.0 of the License, or (at your option) any later
|
||||
* version.
|
||||
*
|
||||
* BigBlueButton is distributed in the hope that it will be useful, but WITHOUT ANY
|
||||
* WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
|
||||
* PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Lesser General Public License along
|
||||
* with BigBlueButton; if not, see <http://www.gnu.org/licenses/>.
|
||||
*
|
||||
*/
|
||||
|
||||
package org.bigbluebutton.clientcheck.model
|
||||
{
|
||||
import flash.net.Socket;
|
||||
|
||||
public class CustomSocket extends Socket
|
||||
{
|
||||
// need to add a port property in order to distinguish sockets when getting connection response
|
||||
private var _port:int;
|
||||
|
||||
public override function connect(host:String, port:int):void
|
||||
{
|
||||
_port=port;
|
||||
super.connect(host, port);
|
||||
}
|
||||
|
||||
public function get port():int
|
||||
{
|
||||
return _port;
|
||||
}
|
||||
}
|
||||
}
|
@ -1,3 +1,22 @@
|
||||
/**
|
||||
* BigBlueButton open source conferencing system - http://www.bigbluebutton.org/
|
||||
*
|
||||
* Copyright (c) 2014 BigBlueButton Inc. and by respective authors (see below).
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify it under the
|
||||
* terms of the GNU Lesser General Public License as published by the Free Software
|
||||
* Foundation; either version 3.0 of the License, or (at your option) any later
|
||||
* version.
|
||||
*
|
||||
* BigBlueButton is distributed in the hope that it will be useful, but WITHOUT ANY
|
||||
* WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
|
||||
* PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Lesser General Public License along
|
||||
* with BigBlueButton; if not, see <http://www.gnu.org/licenses/>.
|
||||
*
|
||||
*/
|
||||
|
||||
package org.bigbluebutton.clientcheck.model
|
||||
{
|
||||
import mx.collections.ArrayCollection;
|
@ -0,0 +1,31 @@
|
||||
/**
|
||||
* BigBlueButton open source conferencing system - http://www.bigbluebutton.org/
|
||||
*
|
||||
* Copyright (c) 2014 BigBlueButton Inc. and by respective authors (see below).
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify it under the
|
||||
* terms of the GNU Lesser General Public License as published by the Free Software
|
||||
* Foundation; either version 3.0 of the License, or (at your option) any later
|
||||
* version.
|
||||
*
|
||||
* BigBlueButton is distributed in the hope that it will be useful, but WITHOUT ANY
|
||||
* WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
|
||||
* PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Lesser General Public License along
|
||||
* with BigBlueButton; if not, see <http://www.gnu.org/licenses/>.
|
||||
*
|
||||
*/
|
||||
|
||||
package org.bigbluebutton.clientcheck.model
|
||||
{
|
||||
import mx.collections.ArrayCollection;
|
||||
|
||||
public interface IDataProvider
|
||||
{
|
||||
function addData(obj:Object):void;
|
||||
function getData():ArrayCollection;
|
||||
function updateData(obj:Object):void;
|
||||
function getAllDataAsString():String;
|
||||
}
|
||||
}
|
@ -1,3 +1,22 @@
|
||||
/**
|
||||
* BigBlueButton open source conferencing system - http://www.bigbluebutton.org/
|
||||
*
|
||||
* Copyright (c) 2014 BigBlueButton Inc. and by respective authors (see below).
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify it under the
|
||||
* terms of the GNU Lesser General Public License as published by the Free Software
|
||||
* Foundation; either version 3.0 of the License, or (at your option) any later
|
||||
* version.
|
||||
*
|
||||
* BigBlueButton is distributed in the hope that it will be useful, but WITHOUT ANY
|
||||
* WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
|
||||
* PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Lesser General Public License along
|
||||
* with BigBlueButton; if not, see <http://www.gnu.org/licenses/>.
|
||||
*
|
||||
*/
|
||||
|
||||
package org.bigbluebutton.clientcheck.model
|
||||
{
|
||||
import org.bigbluebutton.clientcheck.model.test.BrowserTest;
|
@ -0,0 +1,35 @@
|
||||
/**
|
||||
* BigBlueButton open source conferencing system - http://www.bigbluebutton.org/
|
||||
*
|
||||
* Copyright (c) 2014 BigBlueButton Inc. and by respective authors (see below).
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify it under the
|
||||
* terms of the GNU Lesser General Public License as published by the Free Software
|
||||
* Foundation; either version 3.0 of the License, or (at your option) any later
|
||||
* version.
|
||||
*
|
||||
* BigBlueButton is distributed in the hope that it will be useful, but WITHOUT ANY
|
||||
* WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
|
||||
* PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Lesser General Public License along
|
||||
* with BigBlueButton; if not, see <http://www.gnu.org/licenses/>.
|
||||
*
|
||||
*/
|
||||
|
||||
package org.bigbluebutton.clientcheck.model
|
||||
{
|
||||
import org.osflash.signals.ISignal;
|
||||
|
||||
public interface IXMLConfig
|
||||
{
|
||||
function init(config:XML):void;
|
||||
function get configParsedSignal():ISignal;
|
||||
function get downloadFilePath():Object;
|
||||
function get serverUrl():Object;
|
||||
function getPorts():XMLList;
|
||||
function getRTMPApps():XMLList;
|
||||
function getVersion():String;
|
||||
function getMail():String;
|
||||
}
|
||||
}
|
@ -1,3 +1,22 @@
|
||||
/**
|
||||
* BigBlueButton open source conferencing system - http://www.bigbluebutton.org/
|
||||
*
|
||||
* Copyright (c) 2014 BigBlueButton Inc. and by respective authors (see below).
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify it under the
|
||||
* terms of the GNU Lesser General Public License as published by the Free Software
|
||||
* Foundation; either version 3.0 of the License, or (at your option) any later
|
||||
* version.
|
||||
*
|
||||
* BigBlueButton is distributed in the hope that it will be useful, but WITHOUT ANY
|
||||
* WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
|
||||
* PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Lesser General Public License along
|
||||
* with BigBlueButton; if not, see <http://www.gnu.org/licenses/>.
|
||||
*
|
||||
*/
|
||||
|
||||
package org.bigbluebutton.clientcheck.model
|
||||
{
|
||||
import org.bigbluebutton.clientcheck.model.test.BrowserTest;
|
@ -1,3 +1,22 @@
|
||||
/**
|
||||
* BigBlueButton open source conferencing system - http://www.bigbluebutton.org/
|
||||
*
|
||||
* Copyright (c) 2014 BigBlueButton Inc. and by respective authors (see below).
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify it under the
|
||||
* terms of the GNU Lesser General Public License as published by the Free Software
|
||||
* Foundation; either version 3.0 of the License, or (at your option) any later
|
||||
* version.
|
||||
*
|
||||
* BigBlueButton is distributed in the hope that it will be useful, but WITHOUT ANY
|
||||
* WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
|
||||
* PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Lesser General Public License along
|
||||
* with BigBlueButton; if not, see <http://www.gnu.org/licenses/>.
|
||||
*
|
||||
*/
|
||||
|
||||
package org.bigbluebutton.clientcheck.model
|
||||
{
|
||||
import org.osflash.signals.ISignal;
|
@ -0,0 +1,60 @@
|
||||
/**
|
||||
* BigBlueButton open source conferencing system - http://www.bigbluebutton.org/
|
||||
*
|
||||
* Copyright (c) 2014 BigBlueButton Inc. and by respective authors (see below).
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify it under the
|
||||
* terms of the GNU Lesser General Public License as published by the Free Software
|
||||
* Foundation; either version 3.0 of the License, or (at your option) any later
|
||||
* version.
|
||||
*
|
||||
* BigBlueButton is distributed in the hope that it will be useful, but WITHOUT ANY
|
||||
* WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
|
||||
* PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Lesser General Public License along
|
||||
* with BigBlueButton; if not, see <http://www.gnu.org/licenses/>.
|
||||
*
|
||||
*/
|
||||
|
||||
package org.bigbluebutton.clientcheck.model.test
|
||||
{
|
||||
import org.osflash.signals.ISignal;
|
||||
import org.osflash.signals.Signal;
|
||||
|
||||
public class BrowserTest implements ITestable
|
||||
{
|
||||
public static var BROWSER:String="Browser";
|
||||
|
||||
private var _testSuccessfull:Boolean;
|
||||
private var _testResult:String;
|
||||
|
||||
private var _browserTestSuccessfullChangedSignal:ISignal=new Signal;
|
||||
|
||||
public function get testSuccessfull():Boolean
|
||||
{
|
||||
return _testSuccessfull;
|
||||
}
|
||||
|
||||
public function set testSuccessfull(value:Boolean):void
|
||||
{
|
||||
_testSuccessfull=value;
|
||||
_browserTestSuccessfullChangedSignal.dispatch();
|
||||
}
|
||||
|
||||
public function get testResult():String
|
||||
{
|
||||
return _testResult;
|
||||
}
|
||||
|
||||
public function set testResult(value:String):void
|
||||
{
|
||||
_testResult=value;
|
||||
}
|
||||
|
||||
public function get browserTestSuccessfullChangedSignal():ISignal
|
||||
{
|
||||
return _browserTestSuccessfullChangedSignal;
|
||||
}
|
||||
}
|
||||
}
|
@ -1,3 +1,22 @@
|
||||
/**
|
||||
* BigBlueButton open source conferencing system - http://www.bigbluebutton.org/
|
||||
*
|
||||
* Copyright (c) 2014 BigBlueButton Inc. and by respective authors (see below).
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify it under the
|
||||
* terms of the GNU Lesser General Public License as published by the Free Software
|
||||
* Foundation; either version 3.0 of the License, or (at your option) any later
|
||||
* version.
|
||||
*
|
||||
* BigBlueButton is distributed in the hope that it will be useful, but WITHOUT ANY
|
||||
* WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
|
||||
* PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Lesser General Public License along
|
||||
* with BigBlueButton; if not, see <http://www.gnu.org/licenses/>.
|
||||
*
|
||||
*/
|
||||
|
||||
package org.bigbluebutton.clientcheck.model.test
|
||||
{
|
||||
import org.osflash.signals.ISignal;
|
@ -1,3 +1,22 @@
|
||||
/**
|
||||
* BigBlueButton open source conferencing system - http://www.bigbluebutton.org/
|
||||
*
|
||||
* Copyright (c) 2014 BigBlueButton Inc. and by respective authors (see below).
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify it under the
|
||||
* terms of the GNU Lesser General Public License as published by the Free Software
|
||||
* Foundation; either version 3.0 of the License, or (at your option) any later
|
||||
* version.
|
||||
*
|
||||
* BigBlueButton is distributed in the hope that it will be useful, but WITHOUT ANY
|
||||
* WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
|
||||
* PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Lesser General Public License along
|
||||
* with BigBlueButton; if not, see <http://www.gnu.org/licenses/>.
|
||||
*
|
||||
*/
|
||||
|
||||
package org.bigbluebutton.clientcheck.model.test
|
||||
{
|
||||
import org.bigbluebutton.clientcheck.model.Bandwidth;
|
@ -1,3 +1,22 @@
|
||||
/**
|
||||
* BigBlueButton open source conferencing system - http://www.bigbluebutton.org/
|
||||
*
|
||||
* Copyright (c) 2014 BigBlueButton Inc. and by respective authors (see below).
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify it under the
|
||||
* terms of the GNU Lesser General Public License as published by the Free Software
|
||||
* Foundation; either version 3.0 of the License, or (at your option) any later
|
||||
* version.
|
||||
*
|
||||
* BigBlueButton is distributed in the hope that it will be useful, but WITHOUT ANY
|
||||
* WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
|
||||
* PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Lesser General Public License along
|
||||
* with BigBlueButton; if not, see <http://www.gnu.org/licenses/>.
|
||||
*
|
||||
*/
|
||||
|
||||
package org.bigbluebutton.clientcheck.model.test
|
||||
{
|
||||
import org.osflash.signals.ISignal;
|
@ -0,0 +1,32 @@
|
||||
/**
|
||||
* BigBlueButton open source conferencing system - http://www.bigbluebutton.org/
|
||||
*
|
||||
* Copyright (c) 2014 BigBlueButton Inc. and by respective authors (see below).
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify it under the
|
||||
* terms of the GNU Lesser General Public License as published by the Free Software
|
||||
* Foundation; either version 3.0 of the License, or (at your option) any later
|
||||
* version.
|
||||
*
|
||||
* BigBlueButton is distributed in the hope that it will be useful, but WITHOUT ANY
|
||||
* WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
|
||||
* PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Lesser General Public License along
|
||||
* with BigBlueButton; if not, see <http://www.gnu.org/licenses/>.
|
||||
*
|
||||
*/
|
||||
|
||||
package org.bigbluebutton.clientcheck.model.test
|
||||
{
|
||||
import org.osflash.signals.ISignal;
|
||||
|
||||
public interface IPortTest extends ITestable
|
||||
{
|
||||
function get portNumber():int;
|
||||
function set portNumber(value:int):void;
|
||||
function get portName():String;
|
||||
function set portName(value:String):void;
|
||||
function get tunnelResultSuccessfullChangedSignal():ISignal;
|
||||
}
|
||||
}
|
@ -0,0 +1,32 @@
|
||||
/**
|
||||
* BigBlueButton open source conferencing system - http://www.bigbluebutton.org/
|
||||
*
|
||||
* Copyright (c) 2014 BigBlueButton Inc. and by respective authors (see below).
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify it under the
|
||||
* terms of the GNU Lesser General Public License as published by the Free Software
|
||||
* Foundation; either version 3.0 of the License, or (at your option) any later
|
||||
* version.
|
||||
*
|
||||
* BigBlueButton is distributed in the hope that it will be useful, but WITHOUT ANY
|
||||
* WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
|
||||
* PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Lesser General Public License along
|
||||
* with BigBlueButton; if not, see <http://www.gnu.org/licenses/>.
|
||||
*
|
||||
*/
|
||||
|
||||
package org.bigbluebutton.clientcheck.model.test
|
||||
{
|
||||
import org.osflash.signals.ISignal;
|
||||
|
||||
public interface IRTMPAppTest extends ITestable
|
||||
{
|
||||
function get applicationUri():String;
|
||||
function set applicationUri(value:String):void;
|
||||
function get applicationName():String;
|
||||
function set applicationName(value:String):void;
|
||||
function get connectionResultSuccessfullChangedSignal():ISignal;
|
||||
}
|
||||
}
|
@ -0,0 +1,30 @@
|
||||
/**
|
||||
* BigBlueButton open source conferencing system - http://www.bigbluebutton.org/
|
||||
*
|
||||
* Copyright (c) 2014 BigBlueButton Inc. and by respective authors (see below).
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify it under the
|
||||
* terms of the GNU Lesser General Public License as published by the Free Software
|
||||
* Foundation; either version 3.0 of the License, or (at your option) any later
|
||||
* version.
|
||||
*
|
||||
* BigBlueButton is distributed in the hope that it will be useful, but WITHOUT ANY
|
||||
* WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
|
||||
* PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Lesser General Public License along
|
||||
* with BigBlueButton; if not, see <http://www.gnu.org/licenses/>.
|
||||
*
|
||||
*/
|
||||
|
||||
package org.bigbluebutton.clientcheck.model.test
|
||||
{
|
||||
|
||||
public interface ITestable
|
||||
{
|
||||
function get testSuccessfull():Boolean;
|
||||
function set testSuccessfull(value:Boolean):void;
|
||||
function get testResult():String;
|
||||
function set testResult(value:String):void;
|
||||
}
|
||||
}
|
@ -1,3 +1,22 @@
|
||||
/**
|
||||
* BigBlueButton open source conferencing system - http://www.bigbluebutton.org/
|
||||
*
|
||||
* Copyright (c) 2014 BigBlueButton Inc. and by respective authors (see below).
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify it under the
|
||||
* terms of the GNU Lesser General Public License as published by the Free Software
|
||||
* Foundation; either version 3.0 of the License, or (at your option) any later
|
||||
* version.
|
||||
*
|
||||
* BigBlueButton is distributed in the hope that it will be useful, but WITHOUT ANY
|
||||
* WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
|
||||
* PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Lesser General Public License along
|
||||
* with BigBlueButton; if not, see <http://www.gnu.org/licenses/>.
|
||||
*
|
||||
*/
|
||||
|
||||
package org.bigbluebutton.clientcheck.model.test
|
||||
{
|
||||
import org.osflash.signals.Signal;
|
@ -1,3 +1,22 @@
|
||||
/**
|
||||
* BigBlueButton open source conferencing system - http://www.bigbluebutton.org/
|
||||
*
|
||||
* Copyright (c) 2014 BigBlueButton Inc. and by respective authors (see below).
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify it under the
|
||||
* terms of the GNU Lesser General Public License as published by the Free Software
|
||||
* Foundation; either version 3.0 of the License, or (at your option) any later
|
||||
* version.
|
||||
*
|
||||
* BigBlueButton is distributed in the hope that it will be useful, but WITHOUT ANY
|
||||
* WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
|
||||
* PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Lesser General Public License along
|
||||
* with BigBlueButton; if not, see <http://www.gnu.org/licenses/>.
|
||||
*
|
||||
*/
|
||||
|
||||
package org.bigbluebutton.clientcheck.model.test
|
||||
{
|
||||
import org.osflash.signals.ISignal;
|
@ -1,3 +1,22 @@
|
||||
/**
|
||||
* BigBlueButton open source conferencing system - http://www.bigbluebutton.org/
|
||||
*
|
||||
* Copyright (c) 2014 BigBlueButton Inc. and by respective authors (see below).
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify it under the
|
||||
* terms of the GNU Lesser General Public License as published by the Free Software
|
||||
* Foundation; either version 3.0 of the License, or (at your option) any later
|
||||
* version.
|
||||
*
|
||||
* BigBlueButton is distributed in the hope that it will be useful, but WITHOUT ANY
|
||||
* WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
|
||||
* PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Lesser General Public License along
|
||||
* with BigBlueButton; if not, see <http://www.gnu.org/licenses/>.
|
||||
*
|
||||
*/
|
||||
|
||||
package org.bigbluebutton.clientcheck.model.test
|
||||
{
|
||||
import org.osflash.signals.ISignal;
|
@ -1,3 +1,22 @@
|
||||
/**
|
||||
* BigBlueButton open source conferencing system - http://www.bigbluebutton.org/
|
||||
*
|
||||
* Copyright (c) 2014 BigBlueButton Inc. and by respective authors (see below).
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify it under the
|
||||
* terms of the GNU Lesser General Public License as published by the Free Software
|
||||
* Foundation; either version 3.0 of the License, or (at your option) any later
|
||||
* version.
|
||||
*
|
||||
* BigBlueButton is distributed in the hope that it will be useful, but WITHOUT ANY
|
||||
* WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
|
||||
* PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Lesser General Public License along
|
||||
* with BigBlueButton; if not, see <http://www.gnu.org/licenses/>.
|
||||
*
|
||||
*/
|
||||
|
||||
package org.bigbluebutton.clientcheck.model.test
|
||||
{
|
||||
import org.bigbluebutton.clientcheck.model.Bandwidth;
|
@ -1,3 +1,22 @@
|
||||
/**
|
||||
* BigBlueButton open source conferencing system - http://www.bigbluebutton.org/
|
||||
*
|
||||
* Copyright (c) 2014 BigBlueButton Inc. and by respective authors (see below).
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify it under the
|
||||
* terms of the GNU Lesser General Public License as published by the Free Software
|
||||
* Foundation; either version 3.0 of the License, or (at your option) any later
|
||||
* version.
|
||||
*
|
||||
* BigBlueButton is distributed in the hope that it will be useful, but WITHOUT ANY
|
||||
* WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
|
||||
* PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Lesser General Public License along
|
||||
* with BigBlueButton; if not, see <http://www.gnu.org/licenses/>.
|
||||
*
|
||||
*/
|
||||
|
||||
package org.bigbluebutton.clientcheck.model.test
|
||||
{
|
||||
import org.osflash.signals.ISignal;
|
@ -1,3 +1,22 @@
|
||||
/**
|
||||
* BigBlueButton open source conferencing system - http://www.bigbluebutton.org/
|
||||
*
|
||||
* Copyright (c) 2014 BigBlueButton Inc. and by respective authors (see below).
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify it under the
|
||||
* terms of the GNU Lesser General Public License as published by the Free Software
|
||||
* Foundation; either version 3.0 of the License, or (at your option) any later
|
||||
* version.
|
||||
*
|
||||
* BigBlueButton is distributed in the hope that it will be useful, but WITHOUT ANY
|
||||
* WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
|
||||
* PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Lesser General Public License along
|
||||
* with BigBlueButton; if not, see <http://www.gnu.org/licenses/>.
|
||||
*
|
||||
*/
|
||||
|
||||
package org.bigbluebutton.clientcheck.model.test
|
||||
{
|
||||
import org.osflash.signals.ISignal;
|
@ -1,3 +1,22 @@
|
||||
/**
|
||||
* BigBlueButton open source conferencing system - http://www.bigbluebutton.org/
|
||||
*
|
||||
* Copyright (c) 2014 BigBlueButton Inc. and by respective authors (see below).
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify it under the
|
||||
* terms of the GNU Lesser General Public License as published by the Free Software
|
||||
* Foundation; either version 3.0 of the License, or (at your option) any later
|
||||
* version.
|
||||
*
|
||||
* BigBlueButton is distributed in the hope that it will be useful, but WITHOUT ANY
|
||||
* WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
|
||||
* PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Lesser General Public License along
|
||||
* with BigBlueButton; if not, see <http://www.gnu.org/licenses/>.
|
||||
*
|
||||
*/
|
||||
|
||||
package org.bigbluebutton.clientcheck.model.test
|
||||
{
|
||||
import org.osflash.signals.ISignal;
|
@ -1,3 +1,22 @@
|
||||
/**
|
||||
* BigBlueButton open source conferencing system - http://www.bigbluebutton.org/
|
||||
*
|
||||
* Copyright (c) 2014 BigBlueButton Inc. and by respective authors (see below).
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify it under the
|
||||
* terms of the GNU Lesser General Public License as published by the Free Software
|
||||
* Foundation; either version 3.0 of the License, or (at your option) any later
|
||||
* version.
|
||||
*
|
||||
* BigBlueButton is distributed in the hope that it will be useful, but WITHOUT ANY
|
||||
* WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
|
||||
* PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Lesser General Public License along
|
||||
* with BigBlueButton; if not, see <http://www.gnu.org/licenses/>.
|
||||
*
|
||||
*/
|
||||
|
||||
package org.bigbluebutton.clientcheck.model.test
|
||||
{
|
||||
import org.bigbluebutton.clientcheck.model.Bandwidth;
|
@ -1,3 +1,22 @@
|
||||
/**
|
||||
* BigBlueButton open source conferencing system - http://www.bigbluebutton.org/
|
||||
*
|
||||
* Copyright (c) 2014 BigBlueButton Inc. and by respective authors (see below).
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify it under the
|
||||
* terms of the GNU Lesser General Public License as published by the Free Software
|
||||
* Foundation; either version 3.0 of the License, or (at your option) any later
|
||||
* version.
|
||||
*
|
||||
* BigBlueButton is distributed in the hope that it will be useful, but WITHOUT ANY
|
||||
* WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
|
||||
* PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Lesser General Public License along
|
||||
* with BigBlueButton; if not, see <http://www.gnu.org/licenses/>.
|
||||
*
|
||||
*/
|
||||
|
||||
package org.bigbluebutton.clientcheck.model.test
|
||||
{
|
||||
import org.osflash.signals.ISignal;
|
@ -1,3 +1,22 @@
|
||||
/**
|
||||
* BigBlueButton open source conferencing system - http://www.bigbluebutton.org/
|
||||
*
|
||||
* Copyright (c) 2014 BigBlueButton Inc. and by respective authors (see below).
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify it under the
|
||||
* terms of the GNU Lesser General Public License as published by the Free Software
|
||||
* Foundation; either version 3.0 of the License, or (at your option) any later
|
||||
* version.
|
||||
*
|
||||
* BigBlueButton is distributed in the hope that it will be useful, but WITHOUT ANY
|
||||
* WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
|
||||
* PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Lesser General Public License along
|
||||
* with BigBlueButton; if not, see <http://www.gnu.org/licenses/>.
|
||||
*
|
||||
*/
|
||||
|
||||
package org.bigbluebutton.clientcheck.model.test
|
||||
{
|
||||
import org.osflash.signals.ISignal;
|
@ -1,3 +1,22 @@
|
||||
/**
|
||||
* BigBlueButton open source conferencing system - http://www.bigbluebutton.org/
|
||||
*
|
||||
* Copyright (c) 2014 BigBlueButton Inc. and by respective authors (see below).
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify it under the
|
||||
* terms of the GNU Lesser General Public License as published by the Free Software
|
||||
* Foundation; either version 3.0 of the License, or (at your option) any later
|
||||
* version.
|
||||
*
|
||||
* BigBlueButton is distributed in the hope that it will be useful, but WITHOUT ANY
|
||||
* WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
|
||||
* PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Lesser General Public License along
|
||||
* with BigBlueButton; if not, see <http://www.gnu.org/licenses/>.
|
||||
*
|
||||
*/
|
||||
|
||||
package org.bigbluebutton.clientcheck.model.test
|
||||
{
|
||||
import org.osflash.signals.ISignal;
|
@ -1,3 +1,22 @@
|
||||
/**
|
||||
* BigBlueButton open source conferencing system - http://www.bigbluebutton.org/
|
||||
*
|
||||
* Copyright (c) 2014 BigBlueButton Inc. and by respective authors (see below).
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify it under the
|
||||
* terms of the GNU Lesser General Public License as published by the Free Software
|
||||
* Foundation; either version 3.0 of the License, or (at your option) any later
|
||||
* version.
|
||||
*
|
||||
* BigBlueButton is distributed in the hope that it will be useful, but WITHOUT ANY
|
||||
* WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
|
||||
* PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Lesser General Public License along
|
||||
* with BigBlueButton; if not, see <http://www.gnu.org/licenses/>.
|
||||
*
|
||||
*/
|
||||
|
||||
package org.bigbluebutton.clientcheck.model.test
|
||||
{
|
||||
import org.osflash.signals.ISignal;
|
@ -1,3 +1,22 @@
|
||||
/**
|
||||
* BigBlueButton open source conferencing system - http://www.bigbluebutton.org/
|
||||
*
|
||||
* Copyright (c) 2014 BigBlueButton Inc. and by respective authors (see below).
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify it under the
|
||||
* terms of the GNU Lesser General Public License as published by the Free Software
|
||||
* Foundation; either version 3.0 of the License, or (at your option) any later
|
||||
* version.
|
||||
*
|
||||
* BigBlueButton is distributed in the hope that it will be useful, but WITHOUT ANY
|
||||
* WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
|
||||
* PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Lesser General Public License along
|
||||
* with BigBlueButton; if not, see <http://www.gnu.org/licenses/>.
|
||||
*
|
||||
*/
|
||||
|
||||
package org.bigbluebutton.clientcheck.service
|
||||
{
|
||||
import flash.events.Event;
|
@ -1,3 +1,22 @@
|
||||
/**
|
||||
* BigBlueButton open source conferencing system - http://www.bigbluebutton.org/
|
||||
*
|
||||
* Copyright (c) 2014 BigBlueButton Inc. and by respective authors (see below).
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify it under the
|
||||
* terms of the GNU Lesser General Public License as published by the Free Software
|
||||
* Foundation; either version 3.0 of the License, or (at your option) any later
|
||||
* version.
|
||||
*
|
||||
* BigBlueButton is distributed in the hope that it will be useful, but WITHOUT ANY
|
||||
* WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
|
||||
* PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Lesser General Public License along
|
||||
* with BigBlueButton; if not, see <http://www.gnu.org/licenses/>.
|
||||
*
|
||||
*/
|
||||
|
||||
package org.bigbluebutton.clientcheck.service
|
||||
{
|
||||
import flash.display.Loader;
|
@ -1,3 +1,22 @@
|
||||
/**
|
||||
* BigBlueButton open source conferencing system - http://www.bigbluebutton.org/
|
||||
*
|
||||
* Copyright (c) 2014 BigBlueButton Inc. and by respective authors (see below).
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify it under the
|
||||
* terms of the GNU Lesser General Public License as published by the Free Software
|
||||
* Foundation; either version 3.0 of the License, or (at your option) any later
|
||||
* version.
|
||||
*
|
||||
* BigBlueButton is distributed in the hope that it will be useful, but WITHOUT ANY
|
||||
* WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
|
||||
* PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Lesser General Public License along
|
||||
* with BigBlueButton; if not, see <http://www.gnu.org/licenses/>.
|
||||
*
|
||||
*/
|
||||
|
||||
package org.bigbluebutton.clientcheck.service
|
||||
{
|
||||
import flash.external.ExternalInterface;
|
||||
@ -5,13 +24,13 @@ package org.bigbluebutton.clientcheck.service
|
||||
import org.bigbluebutton.clientcheck.model.ISystemConfiguration;
|
||||
import org.bigbluebutton.clientcheck.model.test.ITestable;
|
||||
|
||||
import mx.resources.ResourceManager;
|
||||
|
||||
public class ExternalApiCallbacks implements IExternalApiCallbacks
|
||||
{
|
||||
[Inject]
|
||||
public var systemConfiguration:ISystemConfiguration;
|
||||
|
||||
private static var UNDEFINED:String="Undefined";
|
||||
|
||||
public function ExternalApiCallbacks()
|
||||
{
|
||||
if (ExternalInterface.available)
|
||||
@ -33,13 +52,13 @@ package org.bigbluebutton.clientcheck.service
|
||||
{
|
||||
if ((result == null) || (result == ""))
|
||||
{
|
||||
item.testResult=UNDEFINED;
|
||||
item.testResult = ResourceManager.getInstance().getString('resources', 'bbbsystemcheck.result.undefined');
|
||||
item.testSuccessfull=false;
|
||||
}
|
||||
else
|
||||
{
|
||||
item.testResult=result;
|
||||
item.testSuccessfull=true
|
||||
item.testSuccessfull=true;
|
||||
}
|
||||
}
|
||||
|
||||
@ -65,9 +84,19 @@ package org.bigbluebutton.clientcheck.service
|
||||
checkResult(value, systemConfiguration.language);
|
||||
}
|
||||
|
||||
public function javaEnabledCallbackHandler(value:String):void
|
||||
public function javaEnabledCallbackHandler(value:Object):void
|
||||
{
|
||||
checkResult(value, systemConfiguration.javaEnabled);
|
||||
var testResult:String;
|
||||
if (!value.enabled) {
|
||||
testResult = ResourceManager.getInstance().getString('resources', 'bbbsystemcheck.result.javaEnabled.disabled');
|
||||
} else if (value.version.length == 0) {
|
||||
testResult = ResourceManager.getInstance().getString('resources', 'bbbsystemcheck.result.javaEnabled.notDetected');
|
||||
} else {
|
||||
testResult = value.version.join(', ');
|
||||
}
|
||||
|
||||
systemConfiguration.javaEnabled.testResult = testResult;
|
||||
systemConfiguration.javaEnabled.testSuccessfull = value.appropriate;
|
||||
}
|
||||
|
||||
public function isWebRTCSupportedCallbackHandler(value:String):void
|
@ -1,3 +1,22 @@
|
||||
/**
|
||||
* BigBlueButton open source conferencing system - http://www.bigbluebutton.org/
|
||||
*
|
||||
* Copyright (c) 2014 BigBlueButton Inc. and by respective authors (see below).
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify it under the
|
||||
* terms of the GNU Lesser General Public License as published by the Free Software
|
||||
* Foundation; either version 3.0 of the License, or (at your option) any later
|
||||
* version.
|
||||
*
|
||||
* BigBlueButton is distributed in the hope that it will be useful, but WITHOUT ANY
|
||||
* WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
|
||||
* PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Lesser General Public License along
|
||||
* with BigBlueButton; if not, see <http://www.gnu.org/licenses/>.
|
||||
*
|
||||
*/
|
||||
|
||||
package org.bigbluebutton.clientcheck.service
|
||||
{
|
||||
import flash.external.ExternalInterface;
|
@ -1,3 +1,22 @@
|
||||
/**
|
||||
* BigBlueButton open source conferencing system - http://www.bigbluebutton.org/
|
||||
*
|
||||
* Copyright (c) 2014 BigBlueButton Inc. and by respective authors (see below).
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify it under the
|
||||
* terms of the GNU Lesser General Public License as published by the Free Software
|
||||
* Foundation; either version 3.0 of the License, or (at your option) any later
|
||||
* version.
|
||||
*
|
||||
* BigBlueButton is distributed in the hope that it will be useful, but WITHOUT ANY
|
||||
* WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
|
||||
* PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Lesser General Public License along
|
||||
* with BigBlueButton; if not, see <http://www.gnu.org/licenses/>.
|
||||
*
|
||||
*/
|
||||
|
||||
package org.bigbluebutton.clientcheck.service
|
||||
{
|
||||
import flash.system.Capabilities;
|
@ -0,0 +1,27 @@
|
||||
/**
|
||||
* BigBlueButton open source conferencing system - http://www.bigbluebutton.org/
|
||||
*
|
||||
* Copyright (c) 2014 BigBlueButton Inc. and by respective authors (see below).
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify it under the
|
||||
* terms of the GNU Lesser General Public License as published by the Free Software
|
||||
* Foundation; either version 3.0 of the License, or (at your option) any later
|
||||
* version.
|
||||
*
|
||||
* BigBlueButton is distributed in the hope that it will be useful, but WITHOUT ANY
|
||||
* WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
|
||||
* PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Lesser General Public License along
|
||||
* with BigBlueButton; if not, see <http://www.gnu.org/licenses/>.
|
||||
*
|
||||
*/
|
||||
|
||||
package org.bigbluebutton.clientcheck.service
|
||||
{
|
||||
|
||||
public interface IDownloadBandwidthService
|
||||
{
|
||||
function init():void;
|
||||
}
|
||||
}
|
@ -0,0 +1,35 @@
|
||||
/**
|
||||
* BigBlueButton open source conferencing system - http://www.bigbluebutton.org/
|
||||
*
|
||||
* Copyright (c) 2014 BigBlueButton Inc. and by respective authors (see below).
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify it under the
|
||||
* terms of the GNU Lesser General Public License as published by the Free Software
|
||||
* Foundation; either version 3.0 of the License, or (at your option) any later
|
||||
* version.
|
||||
*
|
||||
* BigBlueButton is distributed in the hope that it will be useful, but WITHOUT ANY
|
||||
* WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
|
||||
* PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Lesser General Public License along
|
||||
* with BigBlueButton; if not, see <http://www.gnu.org/licenses/>.
|
||||
*
|
||||
*/
|
||||
|
||||
package org.bigbluebutton.clientcheck.service
|
||||
{
|
||||
|
||||
public interface IExternalApiCallbacks
|
||||
{
|
||||
function userAgentCallbackHandler(value:String):void;
|
||||
function cookieEnabledCallbackHandler(value:String):void;
|
||||
function isPepperFlashCallbackHandler(value:String):void;
|
||||
function languageCallbackHandler(value:String):void;
|
||||
function javaEnabledCallbackHandler(value:Object):void;
|
||||
function screenSizeCallbackHandler(value:String):void;
|
||||
function isWebRTCSupportedCallbackHandler(value:String):void;
|
||||
function webRTCEchoTestCallbackHandler(success:Boolean, result:String):void;
|
||||
function webRTCSocketTestCallbackHandler(success:Boolean, result:String):void;
|
||||
}
|
||||
}
|
@ -0,0 +1,35 @@
|
||||
/**
|
||||
* BigBlueButton open source conferencing system - http://www.bigbluebutton.org/
|
||||
*
|
||||
* Copyright (c) 2014 BigBlueButton Inc. and by respective authors (see below).
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify it under the
|
||||
* terms of the GNU Lesser General Public License as published by the Free Software
|
||||
* Foundation; either version 3.0 of the License, or (at your option) any later
|
||||
* version.
|
||||
*
|
||||
* BigBlueButton is distributed in the hope that it will be useful, but WITHOUT ANY
|
||||
* WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
|
||||
* PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Lesser General Public License along
|
||||
* with BigBlueButton; if not, see <http://www.gnu.org/licenses/>.
|
||||
*
|
||||
*/
|
||||
|
||||
package org.bigbluebutton.clientcheck.service
|
||||
{
|
||||
|
||||
public interface IExternalApiCalls
|
||||
{
|
||||
function requestUserAgent():void;
|
||||
function requestBrowser():void;
|
||||
function requestScreenSize():void;
|
||||
function requestIsPepperFlash():void;
|
||||
function requestCookiesEnabled():void;
|
||||
function requestJavaEnabled():void;
|
||||
function requestLanguage():void;
|
||||
function requestIsWebRTCSupported():void;
|
||||
function requestWebRTCEchoAndSocketTest():void;
|
||||
}
|
||||
}
|
@ -0,0 +1,27 @@
|
||||
/**
|
||||
* BigBlueButton open source conferencing system - http://www.bigbluebutton.org/
|
||||
*
|
||||
* Copyright (c) 2014 BigBlueButton Inc. and by respective authors (see below).
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify it under the
|
||||
* terms of the GNU Lesser General Public License as published by the Free Software
|
||||
* Foundation; either version 3.0 of the License, or (at your option) any later
|
||||
* version.
|
||||
*
|
||||
* BigBlueButton is distributed in the hope that it will be useful, but WITHOUT ANY
|
||||
* WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
|
||||
* PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Lesser General Public License along
|
||||
* with BigBlueButton; if not, see <http://www.gnu.org/licenses/>.
|
||||
*
|
||||
*/
|
||||
|
||||
package org.bigbluebutton.clientcheck.service
|
||||
{
|
||||
|
||||
public interface IFlashService
|
||||
{
|
||||
function requestFlashVersion():void;
|
||||
}
|
||||
}
|
@ -0,0 +1,27 @@
|
||||
/**
|
||||
* BigBlueButton open source conferencing system - http://www.bigbluebutton.org/
|
||||
*
|
||||
* Copyright (c) 2014 BigBlueButton Inc. and by respective authors (see below).
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify it under the
|
||||
* terms of the GNU Lesser General Public License as published by the Free Software
|
||||
* Foundation; either version 3.0 of the License, or (at your option) any later
|
||||
* version.
|
||||
*
|
||||
* BigBlueButton is distributed in the hope that it will be useful, but WITHOUT ANY
|
||||
* WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
|
||||
* PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Lesser General Public License along
|
||||
* with BigBlueButton; if not, see <http://www.gnu.org/licenses/>.
|
||||
*
|
||||
*/
|
||||
|
||||
package org.bigbluebutton.clientcheck.service
|
||||
{
|
||||
|
||||
public interface IPingService
|
||||
{
|
||||
function init():void;
|
||||
}
|
||||
}
|
@ -0,0 +1,27 @@
|
||||
/**
|
||||
* BigBlueButton open source conferencing system - http://www.bigbluebutton.org/
|
||||
*
|
||||
* Copyright (c) 2014 BigBlueButton Inc. and by respective authors (see below).
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify it under the
|
||||
* terms of the GNU Lesser General Public License as published by the Free Software
|
||||
* Foundation; either version 3.0 of the License, or (at your option) any later
|
||||
* version.
|
||||
*
|
||||
* BigBlueButton is distributed in the hope that it will be useful, but WITHOUT ANY
|
||||
* WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
|
||||
* PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Lesser General Public License along
|
||||
* with BigBlueButton; if not, see <http://www.gnu.org/licenses/>.
|
||||
*
|
||||
*/
|
||||
|
||||
package org.bigbluebutton.clientcheck.service
|
||||
{
|
||||
|
||||
public interface IPortTunnelingService
|
||||
{
|
||||
function init():void;
|
||||
}
|
||||
}
|
@ -0,0 +1,27 @@
|
||||
/**
|
||||
* BigBlueButton open source conferencing system - http://www.bigbluebutton.org/
|
||||
*
|
||||
* Copyright (c) 2014 BigBlueButton Inc. and by respective authors (see below).
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify it under the
|
||||
* terms of the GNU Lesser General Public License as published by the Free Software
|
||||
* Foundation; either version 3.0 of the License, or (at your option) any later
|
||||
* version.
|
||||
*
|
||||
* BigBlueButton is distributed in the hope that it will be useful, but WITHOUT ANY
|
||||
* WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
|
||||
* PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Lesser General Public License along
|
||||
* with BigBlueButton; if not, see <http://www.gnu.org/licenses/>.
|
||||
*
|
||||
*/
|
||||
|
||||
package org.bigbluebutton.clientcheck.service
|
||||
{
|
||||
|
||||
public interface IRTMPTunnelingService
|
||||
{
|
||||
function init():void;
|
||||
}
|
||||
}
|
@ -0,0 +1,27 @@
|
||||
/**
|
||||
* BigBlueButton open source conferencing system - http://www.bigbluebutton.org/
|
||||
*
|
||||
* Copyright (c) 2014 BigBlueButton Inc. and by respective authors (see below).
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify it under the
|
||||
* terms of the GNU Lesser General Public License as published by the Free Software
|
||||
* Foundation; either version 3.0 of the License, or (at your option) any later
|
||||
* version.
|
||||
*
|
||||
* BigBlueButton is distributed in the hope that it will be useful, but WITHOUT ANY
|
||||
* WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
|
||||
* PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Lesser General Public License along
|
||||
* with BigBlueButton; if not, see <http://www.gnu.org/licenses/>.
|
||||
*
|
||||
*/
|
||||
|
||||
package org.bigbluebutton.clientcheck.service
|
||||
{
|
||||
|
||||
public interface IUploadBandwidthService
|
||||
{
|
||||
function init():void;
|
||||
}
|
||||
}
|
@ -1,3 +1,22 @@
|
||||
/**
|
||||
* BigBlueButton open source conferencing system - http://www.bigbluebutton.org/
|
||||
*
|
||||
* Copyright (c) 2014 BigBlueButton Inc. and by respective authors (see below).
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify it under the
|
||||
* terms of the GNU Lesser General Public License as published by the Free Software
|
||||
* Foundation; either version 3.0 of the License, or (at your option) any later
|
||||
* version.
|
||||
*
|
||||
* BigBlueButton is distributed in the hope that it will be useful, but WITHOUT ANY
|
||||
* WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
|
||||
* PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Lesser General Public License along
|
||||
* with BigBlueButton; if not, see <http://www.gnu.org/licenses/>.
|
||||
*
|
||||
*/
|
||||
|
||||
package org.bigbluebutton.clientcheck.service
|
||||
{
|
||||
import flash.events.Event;
|
@ -1,3 +1,22 @@
|
||||
/**
|
||||
* BigBlueButton open source conferencing system - http://www.bigbluebutton.org/
|
||||
*
|
||||
* Copyright (c) 2014 BigBlueButton Inc. and by respective authors (see below).
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify it under the
|
||||
* terms of the GNU Lesser General Public License as published by the Free Software
|
||||
* Foundation; either version 3.0 of the License, or (at your option) any later
|
||||
* version.
|
||||
*
|
||||
* BigBlueButton is distributed in the hope that it will be useful, but WITHOUT ANY
|
||||
* WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
|
||||
* PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Lesser General Public License along
|
||||
* with BigBlueButton; if not, see <http://www.gnu.org/licenses/>.
|
||||
*
|
||||
*/
|
||||
|
||||
package org.bigbluebutton.clientcheck.service
|
||||
{
|
||||
import flash.events.Event;
|
@ -1,3 +1,22 @@
|
||||
/**
|
||||
* BigBlueButton open source conferencing system - http://www.bigbluebutton.org/
|
||||
*
|
||||
* Copyright (c) 2014 BigBlueButton Inc. and by respective authors (see below).
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify it under the
|
||||
* terms of the GNU Lesser General Public License as published by the Free Software
|
||||
* Foundation; either version 3.0 of the License, or (at your option) any later
|
||||
* version.
|
||||
*
|
||||
* BigBlueButton is distributed in the hope that it will be useful, but WITHOUT ANY
|
||||
* WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
|
||||
* PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Lesser General Public License along
|
||||
* with BigBlueButton; if not, see <http://www.gnu.org/licenses/>.
|
||||
*
|
||||
*/
|
||||
|
||||
package org.bigbluebutton.clientcheck.service
|
||||
{
|
||||
import flash.events.AsyncErrorEvent;
|
@ -1,3 +1,22 @@
|
||||
/**
|
||||
* BigBlueButton open source conferencing system - http://www.bigbluebutton.org/
|
||||
*
|
||||
* Copyright (c) 2014 BigBlueButton Inc. and by respective authors (see below).
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify it under the
|
||||
* terms of the GNU Lesser General Public License as published by the Free Software
|
||||
* Foundation; either version 3.0 of the License, or (at your option) any later
|
||||
* version.
|
||||
*
|
||||
* BigBlueButton is distributed in the hope that it will be useful, but WITHOUT ANY
|
||||
* WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
|
||||
* PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Lesser General Public License along
|
||||
* with BigBlueButton; if not, see <http://www.gnu.org/licenses/>.
|
||||
*
|
||||
*/
|
||||
|
||||
package org.bigbluebutton.clientcheck.service
|
||||
{
|
||||
import flash.events.DataEvent;
|
@ -1,3 +1,22 @@
|
||||
/**
|
||||
* BigBlueButton open source conferencing system - http://www.bigbluebutton.org/
|
||||
*
|
||||
* Copyright (c) 2014 BigBlueButton Inc. and by respective authors (see below).
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify it under the
|
||||
* terms of the GNU Lesser General Public License as published by the Free Software
|
||||
* Foundation; either version 3.0 of the License, or (at your option) any later
|
||||
* version.
|
||||
*
|
||||
* BigBlueButton is distributed in the hope that it will be useful, but WITHOUT ANY
|
||||
* WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
|
||||
* PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Lesser General Public License along
|
||||
* with BigBlueButton; if not, see <http://www.gnu.org/licenses/>.
|
||||
*
|
||||
*/
|
||||
|
||||
package org.bigbluebutton.clientcheck.service.util
|
||||
{
|
||||
import flash.events.Event;
|
@ -0,0 +1,49 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<s:GridItemRenderer xmlns:fx="http://ns.adobe.com/mxml/2009"
|
||||
xmlns:s="library://ns.adobe.com/flex/spark"
|
||||
xmlns:mx="library://ns.adobe.com/flex/mx"
|
||||
clipAndEnableScrolling="true">
|
||||
|
||||
<fx:Script>
|
||||
<![CDATA[
|
||||
override public function prepare(hasBeenRecycled:Boolean):void
|
||||
{
|
||||
lblData.text = data[column.dataField];
|
||||
}
|
||||
|
||||
override public function set data(value:Object):void
|
||||
{
|
||||
super.data=value;
|
||||
|
||||
switch (value.Status) {
|
||||
case StatusENUM.SUCCEED:
|
||||
case StatusENUM.LOADING:
|
||||
colorRect.visible = false;
|
||||
break;
|
||||
case StatusENUM.WARNING:
|
||||
colorRect.visible = true;
|
||||
solid.color = 0xFFFF00;
|
||||
break;
|
||||
case StatusENUM.FAILED:
|
||||
colorRect.visible = true;
|
||||
solid.color = 0xFF0000;
|
||||
break;
|
||||
default:
|
||||
colorRect.visible = false;
|
||||
break;
|
||||
}
|
||||
}
|
||||
]]>
|
||||
</fx:Script>
|
||||
|
||||
<s:Rect id="colorRect" top="0" bottom="0" right="0" left="0">
|
||||
<s:fill>
|
||||
<s:SolidColor id="solid" alpha="0.4"/>
|
||||
</s:fill>
|
||||
</s:Rect>
|
||||
|
||||
<s:Label id="lblData"
|
||||
top="9"
|
||||
left="7"/>
|
||||
|
||||
</s:GridItemRenderer>
|
@ -0,0 +1,26 @@
|
||||
/**
|
||||
* BigBlueButton open source conferencing system - http://www.bigbluebutton.org/
|
||||
*
|
||||
* Copyright (c) 2014 BigBlueButton Inc. and by respective authors (see below).
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify it under the
|
||||
* terms of the GNU Lesser General Public License as published by the Free Software
|
||||
* Foundation; either version 3.0 of the License, or (at your option) any later
|
||||
* version.
|
||||
*
|
||||
* BigBlueButton is distributed in the hope that it will be useful, but WITHOUT ANY
|
||||
* WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
|
||||
* PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Lesser General Public License along
|
||||
* with BigBlueButton; if not, see <http://www.gnu.org/licenses/>.
|
||||
*
|
||||
*/
|
||||
|
||||
package org.bigbluebutton.clientcheck.view.mainview
|
||||
{
|
||||
public interface IMailButton
|
||||
{
|
||||
function dispose(): void;
|
||||
}
|
||||
}
|
@ -0,0 +1,31 @@
|
||||
/**
|
||||
* BigBlueButton open source conferencing system - http://www.bigbluebutton.org/
|
||||
*
|
||||
* Copyright (c) 2014 BigBlueButton Inc. and by respective authors (see below).
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify it under the
|
||||
* terms of the GNU Lesser General Public License as published by the Free Software
|
||||
* Foundation; either version 3.0 of the License, or (at your option) any later
|
||||
* version.
|
||||
*
|
||||
* BigBlueButton is distributed in the hope that it will be useful, but WITHOUT ANY
|
||||
* WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
|
||||
* PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Lesser General Public License along
|
||||
* with BigBlueButton; if not, see <http://www.gnu.org/licenses/>.
|
||||
*
|
||||
*/
|
||||
|
||||
package org.bigbluebutton.clientcheck.view.mainview
|
||||
{
|
||||
import spark.components.Button;
|
||||
import spark.components.DataGrid;
|
||||
import spark.components.BorderContainer;
|
||||
|
||||
public interface IMainView
|
||||
{
|
||||
function get dataGrid():DataGrid;
|
||||
function get view():BorderContainer;
|
||||
}
|
||||
}
|
@ -0,0 +1,26 @@
|
||||
/**
|
||||
* BigBlueButton open source conferencing system - http://www.bigbluebutton.org/
|
||||
*
|
||||
* Copyright (c) 2014 BigBlueButton Inc. and by respective authors (see below).
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify it under the
|
||||
* terms of the GNU Lesser General Public License as published by the Free Software
|
||||
* Foundation; either version 3.0 of the License, or (at your option) any later
|
||||
* version.
|
||||
*
|
||||
* BigBlueButton is distributed in the hope that it will be useful, but WITHOUT ANY
|
||||
* WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
|
||||
* PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Lesser General Public License along
|
||||
* with BigBlueButton; if not, see <http://www.gnu.org/licenses/>.
|
||||
*
|
||||
*/
|
||||
|
||||
package org.bigbluebutton.clientcheck.view.mainview
|
||||
{
|
||||
public interface IRefreshButton
|
||||
{
|
||||
function dispose(): void;
|
||||
}
|
||||
}
|
@ -0,0 +1,36 @@
|
||||
/**
|
||||
* BigBlueButton open source conferencing system - http://www.bigbluebutton.org/
|
||||
*
|
||||
* Copyright (c) 2014 BigBlueButton Inc. and by respective authors (see below).
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify it under the
|
||||
* terms of the GNU Lesser General Public License as published by the Free Software
|
||||
* Foundation; either version 3.0 of the License, or (at your option) any later
|
||||
* version.
|
||||
*
|
||||
* BigBlueButton is distributed in the hope that it will be useful, but WITHOUT ANY
|
||||
* WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
|
||||
* PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Lesser General Public License along
|
||||
* with BigBlueButton; if not, see <http://www.gnu.org/licenses/>.
|
||||
*
|
||||
*/
|
||||
|
||||
package org.bigbluebutton.clientcheck.view.mainview
|
||||
{
|
||||
import spark.components.Button;
|
||||
|
||||
public class MailButton extends Button implements IMailButton
|
||||
{
|
||||
public function MailButton()
|
||||
{
|
||||
super();
|
||||
}
|
||||
|
||||
public function dispose():void
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
}
|
@ -0,0 +1,44 @@
|
||||
/**
|
||||
* BigBlueButton open source conferencing system - http://www.bigbluebutton.org/
|
||||
*
|
||||
* Copyright (c) 2014 BigBlueButton Inc. and by respective authors (see below).
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify it under the
|
||||
* terms of the GNU Lesser General Public License as published by the Free Software
|
||||
* Foundation; either version 3.0 of the License, or (at your option) any later
|
||||
* version.
|
||||
*
|
||||
* BigBlueButton is distributed in the hope that it will be useful, but WITHOUT ANY
|
||||
* WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
|
||||
* PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Lesser General Public License along
|
||||
* with BigBlueButton; if not, see <http://www.gnu.org/licenses/>.
|
||||
*
|
||||
*/
|
||||
|
||||
package org.bigbluebutton.clientcheck.view.mainview
|
||||
{
|
||||
import robotlegs.bender.extensions.mediatorMap.api.IMediatorMap;
|
||||
import robotlegs.bender.framework.api.IConfig;
|
||||
import robotlegs.bender.framework.api.IInjector;
|
||||
|
||||
public class MailButtonConfig implements IConfig
|
||||
{
|
||||
[Inject]
|
||||
public var injector:IInjector;
|
||||
|
||||
[Inject]
|
||||
public var mediatorMap:IMediatorMap;
|
||||
|
||||
public function configure():void
|
||||
{
|
||||
configureMediators();
|
||||
}
|
||||
|
||||
private function configureMediators():void
|
||||
{
|
||||
mediatorMap.map(IMailButton).toMediator(MailButtonMediator);
|
||||
}
|
||||
}
|
||||
}
|
@ -1,3 +1,22 @@
|
||||
/**
|
||||
* BigBlueButton open source conferencing system - http://www.bigbluebutton.org/
|
||||
*
|
||||
* Copyright (c) 2014 BigBlueButton Inc. and by respective authors (see below).
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify it under the
|
||||
* terms of the GNU Lesser General Public License as published by the Free Software
|
||||
* Foundation; either version 3.0 of the License, or (at your option) any later
|
||||
* version.
|
||||
*
|
||||
* BigBlueButton is distributed in the hope that it will be useful, but WITHOUT ANY
|
||||
* WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
|
||||
* PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Lesser General Public License along
|
||||
* with BigBlueButton; if not, see <http://www.gnu.org/licenses/>.
|
||||
*
|
||||
*/
|
||||
|
||||
package org.bigbluebutton.clientcheck.view.mainview
|
||||
{
|
||||
import flash.events.MouseEvent;
|
@ -1,3 +1,22 @@
|
||||
/**
|
||||
* BigBlueButton open source conferencing system - http://www.bigbluebutton.org/
|
||||
*
|
||||
* Copyright (c) 2014 BigBlueButton Inc. and by respective authors (see below).
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify it under the
|
||||
* terms of the GNU Lesser General Public License as published by the Free Software
|
||||
* Foundation; either version 3.0 of the License, or (at your option) any later
|
||||
* version.
|
||||
*
|
||||
* BigBlueButton is distributed in the hope that it will be useful, but WITHOUT ANY
|
||||
* WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
|
||||
* PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Lesser General Public License along
|
||||
* with BigBlueButton; if not, see <http://www.gnu.org/licenses/>.
|
||||
*
|
||||
*/
|
||||
|
||||
package org.bigbluebutton.clientcheck.view.mainview
|
||||
{
|
||||
import flash.events.ContextMenuEvent;
|
@ -8,6 +8,11 @@
|
||||
borderStyle="inset"
|
||||
borderWeight="4">
|
||||
|
||||
<fx:Script>
|
||||
<![CDATA[
|
||||
import spark.components.gridClasses.GridSelectionMode;
|
||||
]]>
|
||||
</fx:Script>
|
||||
<s:layout>
|
||||
<s:VerticalLayout paddingLeft="10"
|
||||
paddingRight="10"
|
||||
@ -18,12 +23,15 @@
|
||||
<s:DataGrid width="100%"
|
||||
height="100%"
|
||||
id="_dataGrid"
|
||||
selectionMode="{GridSelectionMode.NONE}"
|
||||
itemRenderer="org.bigbluebutton.clientcheck.view.mainview.CustomItemRenderer">
|
||||
<s:typicalItem>
|
||||
<s:DataItem Item="**********************"
|
||||
Result="********************************************************************************"
|
||||
Status="**********"/>
|
||||
</s:typicalItem>
|
||||
<s:columns>
|
||||
<s:ArrayList>
|
||||
<s:GridColumn dataField="Item" headerText="{resourceManager.getString('resources', 'bbbsystemcheck.dataGridColumn.item')}"/>
|
||||
<s:GridColumn dataField="Result" headerText="{resourceManager.getString('resources', 'bbbsystemcheck.dataGridColumn.result')}"/>
|
||||
<s:GridColumn dataField="Status" headerText="{resourceManager.getString('resources', 'bbbsystemcheck.dataGridColumn.status')}"/>
|
||||
</s:ArrayList>
|
||||
</s:columns>
|
||||
<s:ArrayCollection>
|
||||
<fx:Object>
|
||||
<fx:Item/>
|
@ -0,0 +1,54 @@
|
||||
/**
|
||||
* BigBlueButton open source conferencing system - http://www.bigbluebutton.org/
|
||||
*
|
||||
* Copyright (c) 2014 BigBlueButton Inc. and by respective authors (see below).
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify it under the
|
||||
* terms of the GNU Lesser General Public License as published by the Free Software
|
||||
* Foundation; either version 3.0 of the License, or (at your option) any later
|
||||
* version.
|
||||
*
|
||||
* BigBlueButton is distributed in the hope that it will be useful, but WITHOUT ANY
|
||||
* WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
|
||||
* PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Lesser General Public License along
|
||||
* with BigBlueButton; if not, see <http://www.gnu.org/licenses/>.
|
||||
*
|
||||
*/
|
||||
|
||||
package org.bigbluebutton.clientcheck.view.mainview
|
||||
{
|
||||
import robotlegs.bender.extensions.mediatorMap.api.IMediatorMap;
|
||||
import robotlegs.bender.extensions.signalCommandMap.api.ISignalCommandMap;
|
||||
import robotlegs.bender.framework.api.IConfig;
|
||||
import robotlegs.bender.framework.api.IInjector;
|
||||
|
||||
public class MainViewConfig implements IConfig
|
||||
{
|
||||
[Inject]
|
||||
public var injector:IInjector;
|
||||
|
||||
[Inject]
|
||||
public var mediatorMap:IMediatorMap;
|
||||
|
||||
[Inject]
|
||||
public var signalCommandMap:ISignalCommandMap;
|
||||
|
||||
public function configure():void
|
||||
{
|
||||
configureMediators();
|
||||
configureSignalsToCommands();
|
||||
}
|
||||
|
||||
private function configureSignalsToCommands():void
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
private function configureMediators():void
|
||||
{
|
||||
mediatorMap.map(IMainView).toMediator(MainViewMediator);
|
||||
}
|
||||
}
|
||||
}
|
@ -1,3 +1,22 @@
|
||||
/**
|
||||
* BigBlueButton open source conferencing system - http://www.bigbluebutton.org/
|
||||
*
|
||||
* Copyright (c) 2014 BigBlueButton Inc. and by respective authors (see below).
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify it under the
|
||||
* terms of the GNU Lesser General Public License as published by the Free Software
|
||||
* Foundation; either version 3.0 of the License, or (at your option) any later
|
||||
* version.
|
||||
*
|
||||
* BigBlueButton is distributed in the hope that it will be useful, but WITHOUT ANY
|
||||
* WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
|
||||
* PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Lesser General Public License along
|
||||
* with BigBlueButton; if not, see <http://www.gnu.org/licenses/>.
|
||||
*
|
||||
*/
|
||||
|
||||
package org.bigbluebutton.clientcheck.view.mainview
|
||||
{
|
||||
import flash.events.Event;
|
||||
@ -64,11 +83,7 @@ package org.bigbluebutton.clientcheck.view.mainview
|
||||
|
||||
[Inject]
|
||||
public var dp:IDataProvider;
|
||||
|
||||
private static var FAILED:String="Fail";
|
||||
private static var SUCCEED:String="Succeed";
|
||||
private static var LOADING:String="Loading...";
|
||||
|
||||
|
||||
private static var VERSION:String="Version";
|
||||
|
||||
override public function initialize():void
|
||||
@ -129,36 +144,36 @@ package org.bigbluebutton.clientcheck.view.mainview
|
||||
*/
|
||||
private function initDataProvider():void
|
||||
{
|
||||
dp.addData({Item: BrowserTest.BROWSER, Result: null, Status: LOADING});
|
||||
dp.addData({Item: CookieEnabledTest.COOKIE_ENABLED, Result: null, Status: LOADING});
|
||||
dp.addData({Item: DownloadBandwidthTest.DOWNLOAD_SPEED, Result: null, Status: LOADING});
|
||||
dp.addData({Item: FlashVersionTest.FLASH_VERSION, Result: null, Status: LOADING});
|
||||
dp.addData({Item: IsPepperFlashTest.PEPPER_FLASH, Result: null, Status: LOADING});
|
||||
dp.addData({Item: JavaEnabledTest.JAVA_ENABLED, Result: null, Status: LOADING});
|
||||
dp.addData({Item: LanguageTest.LANGUAGE, Result: null, Status: LOADING});
|
||||
dp.addData({Item: PingTest.PING, Result: null, Status: LOADING});
|
||||
dp.addData({Item: ScreenSizeTest.SCREEN_SIZE, Result: null, Status: LOADING});
|
||||
dp.addData({Item: BrowserTest.BROWSER, Result: null, Status: StatusENUM.LOADING});
|
||||
dp.addData({Item: CookieEnabledTest.COOKIE_ENABLED, Result: null, Status: StatusENUM.LOADING});
|
||||
dp.addData({Item: DownloadBandwidthTest.DOWNLOAD_SPEED, Result: null, Status: StatusENUM.LOADING});
|
||||
dp.addData({Item: FlashVersionTest.FLASH_VERSION, Result: null, Status: StatusENUM.LOADING});
|
||||
dp.addData({Item: IsPepperFlashTest.PEPPER_FLASH, Result: null, Status: StatusENUM.LOADING});
|
||||
dp.addData({Item: JavaEnabledTest.JAVA_ENABLED, Result: null, Status: StatusENUM.LOADING});
|
||||
dp.addData({Item: LanguageTest.LANGUAGE, Result: null, Status: StatusENUM.LOADING});
|
||||
dp.addData({Item: PingTest.PING, Result: null, Status: StatusENUM.LOADING});
|
||||
dp.addData({Item: ScreenSizeTest.SCREEN_SIZE, Result: null, Status: StatusENUM.LOADING});
|
||||
// The upload is not working right now
|
||||
// dp.addData({Item: UploadBandwidthTest.UPLOAD_SPEED, Result: "This is supposed to be failing right now", Status: FAILED});
|
||||
dp.addData({Item: UserAgentTest.USER_AGENT, Result: null, Status: LOADING});
|
||||
dp.addData({Item: WebRTCEchoTest.WEBRTC_ECHO_TEST, Result: null, Status: LOADING});
|
||||
dp.addData({Item: WebRTCSocketTest.WEBRTC_SOCKET_TEST, Result: null, Status: LOADING});
|
||||
dp.addData({Item: WebRTCSupportedTest.WEBRTC_SUPPORTED, Result: null, Status: LOADING});
|
||||
// dp.addData({Item: UploadBandwidthTest.UPLOAD_SPEED, Result: "This is supposed to be failing right now", Status: StatusENUM.FAILED});
|
||||
dp.addData({Item: UserAgentTest.USER_AGENT, Result: null, Status: StatusENUM.LOADING});
|
||||
dp.addData({Item: WebRTCEchoTest.WEBRTC_ECHO_TEST, Result: null, Status: StatusENUM.LOADING});
|
||||
dp.addData({Item: WebRTCSocketTest.WEBRTC_SOCKET_TEST, Result: null, Status: StatusENUM.LOADING});
|
||||
dp.addData({Item: WebRTCSupportedTest.WEBRTC_SUPPORTED, Result: null, Status: StatusENUM.LOADING});
|
||||
if (systemConfiguration.rtmpApps)
|
||||
{
|
||||
for (var i:int=0; i < systemConfiguration.rtmpApps.length; i++)
|
||||
{
|
||||
dp.addData({Item: systemConfiguration.rtmpApps[i].applicationName, Result: null, Status: LOADING});
|
||||
dp.addData({Item: systemConfiguration.rtmpApps[i].applicationName, Result: null, Status: StatusENUM.LOADING});
|
||||
}
|
||||
}
|
||||
if (systemConfiguration.ports)
|
||||
{
|
||||
for (var j:int=0; j < systemConfiguration.ports.length; j++)
|
||||
{
|
||||
dp.addData({Item: systemConfiguration.ports[j].portName, Result: null, Status: LOADING});
|
||||
dp.addData({Item: systemConfiguration.ports[j].portName, Result: null, Status: StatusENUM.LOADING});
|
||||
}
|
||||
}
|
||||
dp.addData({Item: VERSION, Result: config.getVersion(), Status: SUCCEED});
|
||||
dp.addData({Item: VERSION, Result: config.getVersion(), Status: StatusENUM.SUCCEED});
|
||||
|
||||
}
|
||||
|
||||
@ -182,7 +197,7 @@ package org.bigbluebutton.clientcheck.view.mainview
|
||||
|
||||
if (appObj)
|
||||
{
|
||||
var obj:Object={Item: appObj.applicationName, Result: appObj.testResult, Status: ((appObj.testSuccessfull == true) ? SUCCEED : FAILED)};
|
||||
var obj:Object={Item: appObj.applicationName, Result: appObj.testResult, Status: ((appObj.testSuccessfull == true) ? StatusENUM.SUCCEED : StatusENUM.FAILED)};
|
||||
dp.updateData(obj);
|
||||
}
|
||||
else
|
||||
@ -207,7 +222,7 @@ package org.bigbluebutton.clientcheck.view.mainview
|
||||
|
||||
if (portObj)
|
||||
{
|
||||
var obj:Object={Item: portObj.portName, Result: portObj.testResult, Status: ((portObj.testSuccessfull == true) ? SUCCEED : FAILED)};
|
||||
var obj:Object={Item: portObj.portName, Result: portObj.testResult, Status: ((portObj.testSuccessfull == true) ? StatusENUM.SUCCEED : StatusENUM.FAILED)};
|
||||
dp.updateData(obj);
|
||||
}
|
||||
else
|
||||
@ -218,86 +233,85 @@ package org.bigbluebutton.clientcheck.view.mainview
|
||||
|
||||
private function pingSpeedTestChangedHandler():void
|
||||
{
|
||||
var obj:Object={Item: PingTest.PING, Result: systemConfiguration.pingTest.testResult, Status: ((systemConfiguration.pingTest.testSuccessfull == true) ? SUCCEED : FAILED)};
|
||||
var obj:Object={Item: PingTest.PING, Result: systemConfiguration.pingTest.testResult, Status: ((systemConfiguration.pingTest.testSuccessfull == true) ? StatusENUM.SUCCEED : StatusENUM.FAILED)};
|
||||
dp.updateData(obj);
|
||||
}
|
||||
|
||||
private function downloadSpeedTestChangedHandler():void
|
||||
{
|
||||
var obj:Object={Item: DownloadBandwidthTest.DOWNLOAD_SPEED, Result: systemConfiguration.downloadBandwidthTest.testResult, Status: ((systemConfiguration.downloadBandwidthTest.testSuccessfull == true) ? SUCCEED : FAILED)};
|
||||
var obj:Object={Item: DownloadBandwidthTest.DOWNLOAD_SPEED, Result: systemConfiguration.downloadBandwidthTest.testResult, Status: ((systemConfiguration.downloadBandwidthTest.testSuccessfull == true) ? StatusENUM.SUCCEED : StatusENUM.FAILED)};
|
||||
dp.updateData(obj);
|
||||
}
|
||||
|
||||
private function uploadSpeedTestChangedHandler():void
|
||||
{
|
||||
var obj:Object={Item: UploadBandwidthTest.UPLOAD_SPEED, Result: systemConfiguration.uploadBandwidthTest.testResult, Status: ((systemConfiguration.uploadBandwidthTest.testSuccessfull == true) ? SUCCEED : FAILED)};
|
||||
var obj:Object={Item: UploadBandwidthTest.UPLOAD_SPEED, Result: systemConfiguration.uploadBandwidthTest.testResult, Status: ((systemConfiguration.uploadBandwidthTest.testSuccessfull == true) ? StatusENUM.SUCCEED : StatusENUM.FAILED)};
|
||||
dp.updateData(obj);
|
||||
}
|
||||
|
||||
private function webRTCSocketTestChangedHandler():void
|
||||
{
|
||||
var obj:Object={Item: WebRTCSocketTest.WEBRTC_SOCKET_TEST, Result: systemConfiguration.webRTCSocketTest.testResult, Status: ((systemConfiguration.webRTCSocketTest.testSuccessfull == true) ? SUCCEED : FAILED)};
|
||||
var obj:Object={Item: WebRTCSocketTest.WEBRTC_SOCKET_TEST, Result: systemConfiguration.webRTCSocketTest.testResult, Status: ((systemConfiguration.webRTCSocketTest.testSuccessfull == true) ? StatusENUM.SUCCEED : StatusENUM.WARNING)};
|
||||
dp.updateData(obj);
|
||||
}
|
||||
|
||||
private function webRTCEchoTestChangedHandler():void
|
||||
{
|
||||
var obj:Object={Item: WebRTCEchoTest.WEBRTC_ECHO_TEST, Result: systemConfiguration.webRTCEchoTest.testResult, Status: ((systemConfiguration.webRTCEchoTest.testSuccessfull == true) ? SUCCEED : FAILED)};
|
||||
var obj:Object={Item: WebRTCEchoTest.WEBRTC_ECHO_TEST, Result: systemConfiguration.webRTCEchoTest.testResult, Status: ((systemConfiguration.webRTCEchoTest.testSuccessfull == true) ? StatusENUM.SUCCEED : StatusENUM.WARNING)};
|
||||
dp.updateData(obj);
|
||||
}
|
||||
|
||||
private function isPepperFlashChangedHandler():void
|
||||
{
|
||||
var obj:Object={Item: IsPepperFlashTest.PEPPER_FLASH, Result: systemConfiguration.isPepperFlash.testResult, Status: ((systemConfiguration.isPepperFlash.testSuccessfull == true) ? SUCCEED : FAILED)};
|
||||
var obj:Object={Item: IsPepperFlashTest.PEPPER_FLASH, Result: systemConfiguration.isPepperFlash.testResult, Status: ((systemConfiguration.isPepperFlash.testSuccessfull == true) ? StatusENUM.SUCCEED : StatusENUM.FAILED)};
|
||||
dp.updateData(obj);
|
||||
}
|
||||
|
||||
private function languageChangedHandler():void
|
||||
{
|
||||
var obj:Object={Item: LanguageTest.LANGUAGE, Result: systemConfiguration.language.testResult, Status: ((systemConfiguration.language.testSuccessfull == true) ? SUCCEED : FAILED)};
|
||||
var obj:Object={Item: LanguageTest.LANGUAGE, Result: systemConfiguration.language.testResult, Status: ((systemConfiguration.language.testSuccessfull == true) ? StatusENUM.SUCCEED : StatusENUM.FAILED)};
|
||||
dp.updateData(obj);
|
||||
}
|
||||
|
||||
private function javaEnabledChangedHandler():void
|
||||
{
|
||||
var obj:Object={Item: JavaEnabledTest.JAVA_ENABLED, Result: systemConfiguration.javaEnabled.testResult, Status: ((systemConfiguration.javaEnabled.testSuccessfull == true) ? SUCCEED : FAILED)};
|
||||
var obj:Object={Item: JavaEnabledTest.JAVA_ENABLED, Result: systemConfiguration.javaEnabled.testResult, Status: ((systemConfiguration.javaEnabled.testSuccessfull == true) ? StatusENUM.SUCCEED : StatusENUM.WARNING)};
|
||||
dp.updateData(obj);
|
||||
}
|
||||
|
||||
private function isWebRTCSupportedChangedHandler():void
|
||||
{
|
||||
var obj:Object={Item: WebRTCSupportedTest.WEBRTC_SUPPORTED, Result: systemConfiguration.isWebRTCSupported.testResult, Status: ((systemConfiguration.isWebRTCSupported.testSuccessfull == true) ? SUCCEED : FAILED)};
|
||||
var obj:Object={Item: WebRTCSupportedTest.WEBRTC_SUPPORTED, Result: systemConfiguration.isWebRTCSupported.testResult, Status: ((systemConfiguration.isWebRTCSupported.testSuccessfull == true) ? StatusENUM.SUCCEED : StatusENUM.WARNING)};
|
||||
dp.updateData(obj);
|
||||
}
|
||||
|
||||
private function cookieEnabledChangedHandler():void
|
||||
{
|
||||
var obj:Object={Item: CookieEnabledTest.COOKIE_ENABLED, Result: systemConfiguration.cookieEnabled.testResult, Status: ((systemConfiguration.cookieEnabled.testSuccessfull == true) ? SUCCEED : FAILED)};
|
||||
var obj:Object={Item: CookieEnabledTest.COOKIE_ENABLED, Result: systemConfiguration.cookieEnabled.testResult, Status: ((systemConfiguration.cookieEnabled.testSuccessfull == true) ? StatusENUM.SUCCEED : StatusENUM.FAILED)};
|
||||
dp.updateData(obj);
|
||||
}
|
||||
|
||||
private function screenSizeChangedHandler():void
|
||||
{
|
||||
var obj:Object={Item: ScreenSizeTest.SCREEN_SIZE, Result: systemConfiguration.screenSize.testResult, Status: ((systemConfiguration.screenSize.testSuccessfull == true) ? SUCCEED : FAILED)};
|
||||
var obj:Object={Item: ScreenSizeTest.SCREEN_SIZE, Result: systemConfiguration.screenSize.testResult, Status: ((systemConfiguration.screenSize.testSuccessfull == true) ? StatusENUM.SUCCEED : StatusENUM.FAILED)};
|
||||
dp.updateData(obj);
|
||||
}
|
||||
|
||||
|
||||
private function browserChangedHandler():void
|
||||
{
|
||||
var obj:Object={Item: BrowserTest.BROWSER, Result: systemConfiguration.browser.testResult, Status: ((systemConfiguration.browser.testSuccessfull == true) ? SUCCEED : FAILED)};
|
||||
var obj:Object={Item: BrowserTest.BROWSER, Result: systemConfiguration.browser.testResult, Status: ((systemConfiguration.browser.testSuccessfull == true) ? StatusENUM.SUCCEED : StatusENUM.FAILED)};
|
||||
dp.updateData(obj);
|
||||
}
|
||||
|
||||
private function userAgentChangedHandler():void
|
||||
{
|
||||
var obj:Object={Item: UserAgentTest.USER_AGENT, Result: systemConfiguration.userAgent.testResult, Status: ((systemConfiguration.userAgent.testSuccessfull == true) ? SUCCEED : FAILED)};
|
||||
var obj:Object={Item: UserAgentTest.USER_AGENT, Result: systemConfiguration.userAgent.testResult, Status: ((systemConfiguration.userAgent.testSuccessfull == true) ? StatusENUM.SUCCEED : StatusENUM.FAILED)};
|
||||
dp.updateData(obj);
|
||||
}
|
||||
|
||||
private function flashVersionChangedHandler():void
|
||||
{
|
||||
var obj:Object={Item: FlashVersionTest.FLASH_VERSION, Result: systemConfiguration.flashVersion.testResult, Status: ((systemConfiguration.flashVersion.testSuccessfull == true) ? SUCCEED : FAILED)};
|
||||
var obj:Object={Item: FlashVersionTest.FLASH_VERSION, Result: systemConfiguration.flashVersion.testResult, Status: ((systemConfiguration.flashVersion.testSuccessfull == true) ? StatusENUM.SUCCEED : StatusENUM.FAILED)};
|
||||
dp.updateData(obj);
|
||||
}
|
||||
|
@ -0,0 +1,36 @@
|
||||
/**
|
||||
* BigBlueButton open source conferencing system - http://www.bigbluebutton.org/
|
||||
*
|
||||
* Copyright (c) 2014 BigBlueButton Inc. and by respective authors (see below).
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify it under the
|
||||
* terms of the GNU Lesser General Public License as published by the Free Software
|
||||
* Foundation; either version 3.0 of the License, or (at your option) any later
|
||||
* version.
|
||||
*
|
||||
* BigBlueButton is distributed in the hope that it will be useful, but WITHOUT ANY
|
||||
* WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
|
||||
* PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Lesser General Public License along
|
||||
* with BigBlueButton; if not, see <http://www.gnu.org/licenses/>.
|
||||
*
|
||||
*/
|
||||
|
||||
package org.bigbluebutton.clientcheck.view.mainview
|
||||
{
|
||||
import spark.components.Button;
|
||||
|
||||
public class RefreshButton extends Button implements IRefreshButton
|
||||
{
|
||||
public function RefreshButton()
|
||||
{
|
||||
super();
|
||||
}
|
||||
|
||||
public function dispose():void
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
}
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user