Skip to content

Commit

Permalink
Fix typo (found by typos)
Browse files Browse the repository at this point in the history
Signed-off-by: Stefan Weil <[email protected]>
  • Loading branch information
antobinary committed Mar 18, 2024
1 parent da735d5 commit d5a4834
Show file tree
Hide file tree
Showing 88 changed files with 161 additions and 161 deletions.
2 changes: 1 addition & 1 deletion SECURITY.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ As such, we recommend that all administrators deploy 2.7 going forward. You'll

## Reporting a Vulnerability

If you believe you have found a security vunerability in BigBlueButton please let us know directly by
If you believe you have found a security vulnerability in BigBlueButton please let us know directly by
- using GitHub's "Report a vulnerability" functionality on https://github.com/bigbluebutton/bigbluebutton/security/advisories
- or e-mailing [email protected] with as much detail as possible.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ trait SetPresenterInDefaultPodInternalMsgHdlr {
msg: SetPresenterInDefaultPodInternalMsg, state: MeetingState2x,
liveMeeting: LiveMeeting, bus: MessageBus
): MeetingState2x = {
// Swith presenter as default presenter pod has changed.
// Switch presenter as default presenter pod has changed.
log.info("Presenter pod change will trigger a presenter change")
SetPresenterInPodActionHandler.handleAction(state, liveMeeting, bus.outGW, "", PresentationPod.DEFAULT_PRESENTATION_POD, msg.presenterId)
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -367,7 +367,7 @@ public static ArrayList<Point2D.Double> reduceNoise(java.util.List<Point2D.Doubl
* @param first Indice of first point in d.
* @param last Indice of last point in d.
* @param tHat1 Unit tangent vectors at start point.
* @param tHat2 Unit tanget vector at end point.
* @param tHat2 Unit tangent vector at end point.
* @param errorSquared User-defined errorSquared squared.
* @param bezierPath Path to which the bezier curve segments are added.
*/
Expand Down Expand Up @@ -580,7 +580,7 @@ private static double[] reparameterize(ArrayList<Point2D.Double> d, int first, i
*
* @param Q Current fitted bezier curve.
* @param P Digitized point.
* @param u Parameter value vor P.
* @param u Parameter value for P.
*/
private static double newtonRaphsonRootFind(Point2D.Double[] Q, Point2D.Double P, double u) {
double numerator, denominator;
Expand Down Expand Up @@ -661,7 +661,7 @@ private static double computeMaxError(ArrayList<Point2D.Double> d, int first, in
* @param last Indice of last point in d.
* @param uPrime Parameter values for region .
* @param tHat1 Unit tangent vectors at start point.
* @param tHat2 Unit tanget vector at end point.
* @param tHat2 Unit tangent vector at end point.
* @return A cubic bezier curve consisting of 4 control points.
*/
private static Point2D.Double[] generateBezier(ArrayList<Point2D.Double> d, int first, int last, double[] uPrime, Point2D.Double tHat1, Point2D.Double tHat2) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ public class BezierPath extends ArrayList<BezierPath.Node>
private static final long serialVersionUID=1L;

/** Constant for having only control point C0 in effect. C0 is the point
* through whitch the curve passes. */
* through which the curve passes. */
public static final int C0_MASK = 0;
/** Constant for having control point C1 in effect (in addition
* to C0). C1 controls the curve going towards C0.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,7 @@ class RedisRecorderActor(
}

private def getPresentationId(whiteboardId: String): String = {
// Need to split the whiteboard id into presenation id and page num as the old
// Need to split the whiteboard id into presentation id and page num as the old
// recording expects them
val strId = new StringOps(whiteboardId)
val ids = strId.split('/')
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ case class SetRecordingStatusCmdMsg(header: BbbClientMsgHeader, body: SetRecordi
case class SetRecordingStatusCmdMsgBody(recording: Boolean, setBy: String)

/**
* Sent by user to start recording mark and ignore previsous marks
* Sent by user to start recording mark and ignore previous marks
*/
object RecordAndClearPreviousMarkersCmdMsg { val NAME = "RecordAndClearPreviousMarkersCmdMsg" }
case class RecordAndClearPreviousMarkersCmdMsg(header: BbbClientMsgHeader, body: RecordAndClearPreviousMarkersCmdMsgBody) extends StandardMsg
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ public class ApiParams {
public static final String RECORD_FULL_DURATION_MEDIA = "recordFullDurationMedia";

private ApiParams() {
throw new IllegalStateException("ApiParams is a utility class. Instanciation is forbidden.");
throw new IllegalStateException("ApiParams is a utility class. Instantiation is forbidden.");
}

}
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ public void kickOffRecordingChapterBreak(String meetingId, Long timestamp) {
if (!doneFile.exists())
log.error("Failed to create {} file.", done);
} catch (IOException e) {
log.error("Exception occured when trying to create {} file", done);
log.error("Exception occurred when trying to create {} file", done);
}
} else {
log.error("{} file already exists.", done);
Expand All @@ -141,7 +141,7 @@ public void startIngestAndProcessing(String meetingId) {
if (!doneFile.exists())
log.error("Failed to create {} file.", done);
} catch (IOException e) {
log.error("Exception occured when trying to create {} file.", done);
log.error("Exception occurred when trying to create {} file.", done);
}
} else {
log.error("{} file already exists.", done);
Expand All @@ -158,7 +158,7 @@ public void markAsEnded(String meetingId) {
if (!doneFile.exists())
log.error("Failed to create " + done + " file.");
} catch (IOException e) {
log.error("Exception occured when trying to create {} file.", done);
log.error("Exception occurred when trying to create {} file.", done);
}
} else {
log.error(done + " file already exists.");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ public ResponseBuilder(File templatesLoc) {
try {
cfg.setDirectoryForTemplateLoading(templatesLoc);
} catch (IOException e) {
log.error("Exception occured creating ResponseBuilder", e);
log.error("Exception occurred creating ResponseBuilder", e);
}
setUpConfiguration();
}
Expand Down Expand Up @@ -97,12 +97,12 @@ public String buildError(String key, String msg, String returnCode) {
return xmlText.toString();
}

public String buildErrors(ArrayList erros, String returnCode) {
public String buildErrors(ArrayList errors, String returnCode) {
StringWriter xmlText = new StringWriter();

Map<String, Object> data = new HashMap<String, Object>();
data.put("returnCode", returnCode);
data.put("errorsList", erros);
data.put("errorsList", errors);

processData(getTemplate("api-errors.ftlx"), data, xmlText);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,6 @@ public class ConversionMessageConstants {
public static final String CONVERSION_TIMEOUT_KEY = "CONVERSION_TIMEOUT";

private ConversionMessageConstants() {
throw new IllegalStateException("ConversionMessageConstants is a utility class. Instanciation is forbidden.");
throw new IllegalStateException("ConversionMessageConstants is a utility class. Instantiation is forbidden.");
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ public boolean exec(List<String> cmd, Duration timeout) {

try {
if (!proc.waitFor(timeout.toMillis(), TimeUnit.MILLISECONDS)) {
log.warn("TIMEDOUT excuting: {}", String.join(" ", cmd));
log.warn("TIMEDOUT executing: {}", String.join(" ", cmd));
proc.destroy();
}
return !proc.isAlive() && proc.exitValue() == 0;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ public void connect( String host, int port, String password, int timeoutSeconds
* Sends a FreeSWITCH API command to the server and blocks, waiting for an immediate response from the
* server.
* <p/>
* The outcome of the command from the server is retured in an {@link EslMessage} object.
* The outcome of the command from the server is returned in an {@link EslMessage} object.
*
* @param command API command to send
* @param arg command arguments
Expand Down Expand Up @@ -454,7 +454,7 @@ public void run() {
public void run() {
try {
/**
* Custom extra parsing to get conference Events for BigBlueButton / FreeSwitch intergration
* Custom extra parsing to get conference Events for BigBlueButton / FreeSwitch integration
*/
//FIXME: make the conference headers constants
if (event.getEventSubclass().equals("conference::maintenance")) {
Expand Down Expand Up @@ -495,7 +495,7 @@ public void run() {
listener.conferenceEventPlayFile(uniqueId, confName, confSize, event);
return;
} else if (eventFunc.equals("conf_api_sub_transfer") || eventFunc.equals("conference_api_sub_transfer")) {
//Member transfered to another conf...
//Member transferred to another conf...
listener.conferenceEventTransfer(uniqueId, confName, confSize, event);
return;
} else if (eventFunc.equals("conference_add_member") || eventFunc.equals("conference_member_add")) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
/**
* a {@link Runnable} which sends the specified {@link ChannelEvent} upstream.
* Most users will not see this type at all because it is used by
* {@link Executor} implementors only
* {@link Executor} implementers only
*
* @author The Netty Project ([email protected])
* @author Trustin Lee ([email protected])
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
* the following:
* <pre>
&lt;extension&gt;
&lt;condition field="destination_number" expresssion="444"&gt;
&lt;condition field="destination_number" expression="444"&gt;
&lt;action application="socket" data="192.168.100.88:8084 async full"/&gt;
&lt;/condition&gt;
&lt;/extension&gt;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ export default function buildRedisMessage(sessionVariables: Record<string, unkno
recording: input.recording
};

//TODO check if backend velidate it
//TODO check if backend validates it

// const recordObject = await RecordMeetings.findOneAsync({ meetingId });
//
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ func handleMessageReceivedFromHasura(hc *common.HasuraConnection, fromHasuraToBr
subscription, ok := hc.BrowserConn.ActiveSubscriptions[queryId]
hc.BrowserConn.ActiveSubscriptionsMutex.RUnlock()
if !ok {
log.Debugf("Subscription with Id %s doesn't exist anymore, skiping response.", queryId)
log.Debugf("Subscription with Id %s doesn't exist anymore, skipping response.", queryId)
return
}

Expand Down
2 changes: 1 addition & 1 deletion bbb-graphql-middleware/internal/websrv/reader/reader.go
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ func BrowserConnectionReader(browserConnectionId string, ctx context.Context, ct
if errors.Is(err, context.Canceled) {
log.Debugf("Closing Browser ws connection as Context was cancelled!")
} else {
log.Debugf("Hasura is disconnected, skiping reading of ws message: %v", err)
log.Debugf("Hasura is disconnected, skipping reading of ws message: %v", err)
}
return
}
Expand Down
2 changes: 1 addition & 1 deletion bbb-graphql-middleware/internal/websrv/writer/writer.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ RangeLoop:
log.Tracef("sending to browser: %v", toBrowserMessage)
err := wsjson.Write(ctx, browserWsConn, toBrowserMessage)
if err != nil {
log.Debugf("Browser is disconnected, skiping writing of ws message: %v", err)
log.Debugf("Browser is disconnected, skipping writing of ws message: %v", err)
return
}

Expand Down
2 changes: 1 addition & 1 deletion bbb-graphql-server/bbb_schema.sql
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,7 @@ CREATE TABLE "user" (
"registeredOn" bigint,
"excludeFromDashboard" bool,
"enforceLayout" varchar(50),
--columns of user state bellow
--columns of user state below
"raiseHand" bool default false,
"raiseHandTime" timestamp with time zone,
"away" bool default false,
Expand Down
4 changes: 2 additions & 2 deletions bbb-libreoffice/assets/convert-cool.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ HOST=127.0.0.1

# Set this to "-k" to allow it to work in a test environment, ie with a self signed
# certificate
UNSECURE=
INSECURE=

# This script receives three params
# Param 1: Input office file path (e.g. "/tmp/test.odt")
Expand Down Expand Up @@ -46,6 +46,6 @@ timeoutSecs="${timeoutSecs:0:3}"

# The timeout is important.

timeout $(printf %03d $timeoutSecs)s curl $UNSECURE -F "data=@${source}" https://$HOST:9980/cool/convert-to/$convertTo > "${dest}"
timeout $(printf %03d $timeoutSecs)s curl $INSECURE -F "data=@${source}" https://$HOST:9980/cool/convert-to/$convertTo > "${dest}"

exit 0
2 changes: 1 addition & 1 deletion bbb-voice-conference/config/freeswitch/README
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ conf.orig dir is what was installed by freeswitch by default

NOTE: you must double check this config if you intend to have
the freeswitch server on a public facing interface.
It defaults to localhost for the event socket inteface.
It defaults to localhost for the event socket interface.

I run my server in a test environment with
/usr/local/freeswitch/bin/freeswitch -hp -nc
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
NOTICE:
This context is usually accessed via authenticated callers on the sip profile on port 5060
or transfered callers from the public context which arrived via the sip profile on port 5080.
or transferred callers from the public context which arrived via the sip profile on port 5080.
Authenticated users will use the user_context variable on the user to determine what context
they can access. You can also add a user in the directory with the cidr= attribute acl.conf.xml
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<params>
<!-- omit password for authless registration -->
<param name="password" value="secret"/>
<!-- What this user is allowed to acces -->
<!-- What this user is allowed to access -->
<!--<param name="http-allowed-api" value="jsapi,voicemail,status"/> -->
</params>
<variables>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -327,7 +327,7 @@
<!--<param name="rtcp-audio-interval-msec" value="5000"/>-->
<!--<param name="rtcp-video-interval-msec" value="5000"/>-->

<!--force suscription expires to a lower value than requested-->
<!--force subscription expires to a lower value than requested-->
<!--<param name="force-subscription-expires" value="60"/>-->

<!-- add a random deviation to the expires value of the 202 Accepted -->
Expand Down
8 changes: 4 additions & 4 deletions bbb-voice-conference/config/freeswitch/conf/vars.xml
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@
rtp_secure_media_suites
____________________________________________________________________________
Optionaly you can use rtp_secure_media_suites to dictate the suite list
Optionally you can use rtp_secure_media_suites to dictate the suite list
and only use rtp_secure_media=[optional|mandatory|false|true] without having
to dictate the suite list with the rtp_secure_media* variables.
-->
Expand All @@ -175,7 +175,7 @@
codecname[@8000h|16000h|32000h[@XXi]]
XX is the frame size must be multples allowed for the codec
XX is the frame size must be multiples allowed for the codec
FreeSWITCH can support 10-120ms on some codecs.
We do not support exceeding the MTU of the RTP packet.
Expand Down Expand Up @@ -414,7 +414,7 @@
openssl ciphers -v 'ALL:!ADH:!LOW:!EXP:!MD5:@STRENGTH'
Will show you what is available in your verion of openssl.
Will show you what is available in your version of openssl.
-->
<X-PRE-PROCESS cmd="set" data="sip_tls_ciphers=ALL:!ADH:!LOW:!EXP:!MD5:@STRENGTH"/>

Expand All @@ -431,7 +431,7 @@
<X-PRE-PROCESS cmd="set" data="external_ssl_enable=false"/>

<!-- Video Settings -->
<!-- Setting the max bandwdith -->
<!-- Setting the max bandwidth -->
<X-PRE-PROCESS cmd="set" data="rtp_video_max_bandwidth_in=1mb"/>
<X-PRE-PROCESS cmd="set" data="rtp_video_max_bandwidth_out=1mb"/>

Expand Down
4 changes: 2 additions & 2 deletions bigbluebutton-config/bin/bbb-conf
Original file line number Diff line number Diff line change
Expand Up @@ -308,7 +308,7 @@ check_and_backup () {
fi
}

# 3 paramenter: the file, the variable name, the new value
# 3 parameter: the file, the variable name, the new value
change_var_value () {
check_and_backup $1
sed -i "s<^[[:blank:]#]*\(${2}\).*<\1=${3}<" $1
Expand Down Expand Up @@ -1489,7 +1489,7 @@ if [ -n "$HOST" ]; then
echo "bigbluebutton.web.serverURL=$PROTOCOL://$HOST" >> "$BBB_WEB_ETC_CONFIG"
fi

# Populate /etc/bigbluebutton/bbb-web.properites with the shared secret
# Populate /etc/bigbluebutton/bbb-web.properties with the shared secret
if ! grep -q "^securitySalt" "$BBB_WEB_ETC_CONFIG"; then
echo "securitySalt=$(get_bbb_web_config_value securitySalt)" >> "$BBB_WEB_ETC_CONFIG"
fi
Expand Down
2 changes: 1 addition & 1 deletion bigbluebutton-config/bin/bbb-record
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
# Daniel Petri Rocha <[email protected]>
#
# Changelog:
# 2011-08-18 FFD Inital Version
# 2011-08-18 FFD Initial Version
# 2011-11-20 FFD Added more checks for processing of recording
# 2012-01-04 GUG Add option to check for errors
# 2012-02-27 GUG Add option to delete one meeting and recording
Expand Down
2 changes: 1 addition & 1 deletion bigbluebutton-config/cron.daily/bigbluebutton
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ remove_raw_of_published_recordings(){
remove_raw_of_published_recordings

#
# Remove untagged and unamed docker images, cleanning /var/lib/docker/overlay2
# Remove untagged and unnamed docker images, cleaning /var/lib/docker/overlay2
#
docker image prune -f

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ const doGUM = async (constraints, retryOnFailure = false) => {
const stream = await navigator.mediaDevices.getUserMedia(constraints);
return stream;
} catch (error) {
// This is probably a deviceId mistmatch. Retry with base constraints
// This is probably a deviceId mismatch. Retry with base constraints
// without an exact deviceId.
if (error.name === 'OverconstrainedError' && retryOnFailure) {
logger.warn({
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ export default class SFUAudioBridge extends BaseAudioBridge {
}
}

// Already tried reconnecting once OR the user handn't succesfully
// Already tried reconnecting once OR the user handn't successfully
// connected firsthand and retrying isn't an option. Finish the session
// and reject with the error
logger.error({
Expand Down
Loading

0 comments on commit d5a4834

Please sign in to comment.