<commit_before><div class="section">
	<h2>JavaScript Xmpp Client</h2>
	<form id="ojsxc">
		<div class="form-group">
			<input type="radio" name="serverType" id="serverTypeInternal" required="required" value="internal" <?php if($_['serverType'] === 'internal')echo 'checked'; ?> />
			<label for="serverTypeInternal">Internal (Experimental)</label>
			<em>Internal server is not ready for production and contains not all features of an external server. To be precise only one-to-one messages are possible.</em>
		</div>
		<div class="form-group">
			<input type="radio" name="serverType" id="serverTypeExternal" class="required" required="required" value="external" <?php if($_['serverType'] === 'external')echo 'checked'; ?> />
			<label for="serverTypeExternal">External</label>
			<em>Choose this option to use your own XMPP server.</em>
		</div>
		
		<div class="ojsxc-internal hidden">

		</div>
		
		<div class="ojsxc-external hidden">
			<div class="form-group">
				<label for="xmppDomain">* XMPP domain</label>
				<input type="text" name="xmppDomain" id="xmppDomain" class="required" required="required" value="<?php p($_['xmppDomain']); ?>" />
			</div>
			<div class="form-group">
				<label for="boshUrl">* BOSH url</label>
				<input type="text" name="boshUrl" id="boshUrl" class="required" required="required" value="<?php p($_['boshUrl']); ?>" />
				<div class="boshUrl-msg"></div>
			</div>
			<div class="form-group">
				<label for="xmppResource">XMPP resource</label>
				<input type="text" name="xmppResource" id="xmppResource" value="<?php p($_['xmppResource']); ?>" />
			</div>
			<div class="form-group">
				<label for="xmppOverwrite">Allow user to overwrite XMPP settings</label>
				<input type="checkbox" name="xmppOverwrite" id="xmppOverwrite" value="true" <?php if($_['xmppOverwrite'] === 'true' || $_['xmppOverwrite'] === true) echo "checked"; ?> />
			</div>
		</div>
		
		<div class="form-group">
			<label for="xmppStartMinimized">Hide roster after first login</label>
			<input type="checkbox" name="xmppStartMinimized" id="xmppStartMinimized" value="true" <?php if($_['xmppStartMinimized'] === 'true' || $_['xmppStartMinimized'] === true) echo "checked"; ?> />
		</div>
		<div class="form-group">
			<label for="iceUrl">TURN Url</label>
			<input type="text" name="iceUrl" id="iceUrl" value="<?php p($_['iceUrl']); ?>" />
		</div>
		<div class="form-group">
			<label for="iceUsername">TURN Username</label>
			<input type="text" name="iceUsername" id="iceUrl" value="<?php p($_['iceUsername']); ?>" />
			<em>If no username is set, TURN-REST-API credentials are used.</em>
		</div>
		<div class="form-group">
			<label for="iceCredential">TURN Credential</label>
			<input type="text" name="iceCredential" id="iceCredential" value="<?php p($_['iceCredential']); ?>" />
			<em>If no password is set, TURN-REST-API credentials are used.</em>
		</div>
		<div class="form-group">
			<label for="iceSecret">TURN Secret</label>
			<input type="text" name="iceSecret" id="iceSecret" value="<?php p($_['iceSecret']); ?>" />
			<em>Secret for TURN-REST-API credentials as described <a href="http://tools.ietf.org/html/draft-uberti-behave-turn-rest-00" target="_blank">here</a>.</em>
		</div>
		<div class="form-group">
			<label for="iceTtl">TURN TTL</label>
			<input type="text" name="iceTtl" id="iceTtl" value="<?php p($_['iceTtl']); ?>" />
			<em>Lifetime for TURN-REST-API credentials in seconds.</em>
		</div>
		
		<div class="form-offset-label">
			<div class="msg"></div>
			
			<input type="submit" value="Save settings" />
		</div>
	</form>
</div>
<commit_msg>Clarified description for internal server<commit_after><div class="section">
	<h2>JavaScript Xmpp Client</h2>
	<form id="ojsxc">
		<div class="form-group">
			<input type="radio" name="serverType" id="serverTypeInternal" required="required" value="internal" <?php if($_['serverType'] === 'internal')echo 'checked'; ?> />
			<label for="serverTypeInternal">Internal (Experimental)</label>
			<em>Limited functionality only: No clients besides JSXC in ownCloud, no multi-user chat, no server-to-server federations.</em>
		</div>
		<div class="form-group">
			<input type="radio" name="serverType" id="serverTypeExternal" class="required" required="required" value="external" <?php if($_['serverType'] === 'external')echo 'checked'; ?> />
			<label for="serverTypeExternal">External</label>
			<em>Choose this option to use your own XMPP server.</em>
		</div>
		
		<div class="ojsxc-internal hidden">

		</div>
		
		<div class="ojsxc-external hidden">
			<div class="form-group">
				<label for="xmppDomain">* XMPP domain</label>
				<input type="text" name="xmppDomain" id="xmppDomain" class="required" required="required" value="<?php p($_['xmppDomain']); ?>" />
			</div>
			<div class="form-group">
				<label for="boshUrl">* BOSH url</label>
				<input type="text" name="boshUrl" id="boshUrl" class="required" required="required" value="<?php p($_['boshUrl']); ?>" />
				<div class="boshUrl-msg"></div>
			</div>
			<div class="form-group">
				<label for="xmppResource">XMPP resource</label>
				<input type="text" name="xmppResource" id="xmppResource" value="<?php p($_['xmppResource']); ?>" />
			</div>
			<div class="form-group">
				<label for="xmppOverwrite">Allow user to overwrite XMPP settings</label>
				<input type="checkbox" name="xmppOverwrite" id="xmppOverwrite" value="true" <?php if($_['xmppOverwrite'] === 'true' || $_['xmppOverwrite'] === true) echo "checked"; ?> />
			</div>
		</div>
		
		<div class="form-group">
			<label for="xmppStartMinimized">Hide roster after first login</label>
			<input type="checkbox" name="xmppStartMinimized" id="xmppStartMinimized" value="true" <?php if($_['xmppStartMinimized'] === 'true' || $_['xmppStartMinimized'] === true) echo "checked"; ?> />
		</div>
		<div class="form-group">
			<label for="iceUrl">TURN Url</label>
			<input type="text" name="iceUrl" id="iceUrl" value="<?php p($_['iceUrl']); ?>" />
		</div>
		<div class="form-group">
			<label for="iceUsername">TURN Username</label>
			<input type="text" name="iceUsername" id="iceUrl" value="<?php p($_['iceUsername']); ?>" />
			<em>If no username is set, TURN-REST-API credentials are used.</em>
		</div>
		<div class="form-group">
			<label for="iceCredential">TURN Credential</label>
			<input type="text" name="iceCredential" id="iceCredential" value="<?php p($_['iceCredential']); ?>" />
			<em>If no password is set, TURN-REST-API credentials are used.</em>
		</div>
		<div class="form-group">
			<label for="iceSecret">TURN Secret</label>
			<input type="text" name="iceSecret" id="iceSecret" value="<?php p($_['iceSecret']); ?>" />
			<em>Secret for TURN-REST-API credentials as described <a href="http://tools.ietf.org/html/draft-uberti-behave-turn-rest-00" target="_blank">here</a>.</em>
		</div>
		<div class="form-group">
			<label for="iceTtl">TURN TTL</label>
			<input type="text" name="iceTtl" id="iceTtl" value="<?php p($_['iceTtl']); ?>" />
			<em>Lifetime for TURN-REST-API credentials in seconds.</em>
		</div>
		
		<div class="form-offset-label">
			<div class="msg"></div>
			
			<input type="submit" value="Save settings" />
		</div>
	</form>
</div>

{'fraction_non_alphanumeric': 0.20920211287183765, 'fraction_numerical': 0.0011120378092855157, 'mean_word_length': 5.046218487394958, 'pattern_counts': {'":': 0, '<': 209, '<?xml version=': 0, '>': 209, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6923142', 'n_tokens_mistral': 2709, 'n_tokens_neox': 2442, 'n_words': 537}