<commit_before><?xml version="1.0" encoding="UTF-8"?>
<driver name="fs" className="class.svnDriver.php">
	<actions>
		<action name="svnlog">
			<gui text="242" title="242" src="applix.png" accessKey="svn_log_access_key" hasAccessKey="true">
				<context selection="true" dir="" recycle="hidden"
					actionBar="true" contextMenu="true" infoPanel="false"
					actionBarGroup="get">
				</context>
				<selectionContext dir="true" file="true" recycle="false" unique="true" image="false" mp3="false" editable="false"></selectionContext></gui>
			<rightsContext noUser="true" userLogged="only" read="true" write="true" adminOnly=""></rightsContext>
			<processing>
				<clientCallback prepareModal="true"><![CDATA[
					var userSelection =  ajaxplorer.getFilesList().getUserSelection();
						var loadFunc = function(oForm){
							ajaxplorer.actionBar.svnLogger = new SVNLogger($(oForm));
							var crtRep = userSelection.getCurrentRep();
							if(crtRep == '/') crtRep = '';
							ajaxplorer.actionBar.svnLogger.open(userSelection.getUniqueFileName());
						};
						var closeFunc = function(){
							ajaxplorer.actionBar.svnLogger.close();
							hideLightBox();
							return false;
						};
						modal.showDialogForm('SVN', 'svnlog_box', loadFunc, closeFunc, null, true, true);
					]]></clientCallback>
				<clientForm id="svnlog_box"><![CDATA[
				<div id="svnlog_box" action="svnlog" box_width="400"></div>
				]]></clientForm>
				<serverCallback methodName="switchAction"></serverCallback>
				</processing>
		</action>		
		<action name="svndownload">
			<gui text="6" title="158" src="applix.png" accessKey="rename_access_key"><context selection="true" dir="" recycle="false" actionBar="false" contextMenu="false" infoPanel="false"></context><selectionContext dir="true" file="true" recycle="false" unique="true" image="" mp3="" editable=""></selectionContext></gui>
			<rightsContext noUser="true" userLogged="only" read="true" write="false" adminOnly=""></rightsContext>
			<processing>
				<clientCallback><![CDATA[
					// PUT HERE CODE TO EXECUTE IN JAVASCRIPT
					]]></clientCallback>
				<serverCallback methodName="svnDownload"></serverCallback>
				</processing>
		</action>				
	</actions>
	<infoPanels>
		<infoPanel mime="generic_file" attributes="basename,icon,filesize,mimestring,modiftime,author,revision">
			<messages>
				<message key="name_string" id="133"/>
				<message key="size_string" id="127"/>
				<message key="type_string" id="134"/>
				<message key="modif_string" id="138"/>
				<message key="author_string" id="244"/>
				<message key="revision_string" id="243"/>
			</messages>
			<html><![CDATA[
			<div style="padding:10px;">
				<div class="folderImage">
					<img src="AJXP_CLIENT_RESOURCES_FOLDER/images/crystal/mimes/64/#{icon}" height="64" width="64">
				</div>
				<b>#{name_string}</b> : #{basename}
				<br><b>#{author_string}</b> : #{author}
				<br><b>#{revision_string}</b> : #{revision}
				<br><b>#{size_string}</b> : #{filesize}
				<br><b>#{type_string}</b> : #{mimestring}
				<br><b>#{modif_string}</b> : #{modiftime}
			</div>
			]]></html>
		</infoPanel>
		<infoPanel mime="generic_dir" attributes="basename,icon,modiftime,author,revision">
			<messages>
				<message key="name_string" id="133"/>
				<message key="modif_string" id="138"/>
				<message key="author_string" id="244"/>
				<message key="revision_string" id="243"/>
			</messages>
			<html><![CDATA[
				<div style="padding:10px;">
					<div class="folderImage">
						<img src="AJXP_CLIENT_RESOURCES_FOLDER/images/crystal/mimes/64/#{icon}" height="64" width="64">
					</div>
					<b>#{name_string}</b> : #{basename}
					<br><b>#{author_string}</b> : #{author}
					<br><b>#{revision_string}</b> : #{revision}
					<br><b>#{modif_string}</b> : #{modiftime}
				</div>
			]]></html>
		</infoPanel>
	</infoPanels>
</driver><commit_msg>Override ls action to define list columns<commit_after><?xml version="1.0" encoding="UTF-8"?>
<driver name="fs" className="class.svnDriver.php">
	<actions>
		<action name="ls" dirDefault="true">			
			<displayDefinitions>
				<display mode="list">
					<column messageId="1" attributeName="text"/>
					<column messageId="2" attributeName="filesize"/>
					<column messageId="3" attributeName="mimestring"/>
					<column messageId="4" attributeName="modiftime"/>
					<column messageId="244" attributeName="author"/>
					<column messageId="243" attributeName="revision"/>
				</display>
			</displayDefinitions>
			<gui text="154" title="155" src="folder_new.png"
				accessKey="folder_access_key">
				<context selection="true" dir="" recycle="false"
					actionBar="false" contextMenu="false" infoPanel="false">
				</context>
				<selectionContext dir="true" file="true" recycle="false"
					unique="true" image="false" mp3="false" editable="false">
				</selectionContext>
			</gui>
			<rightsContext noUser="true" userLogged="only" read="true"
				write="false" adminOnly="false">
			</rightsContext>
			<processing>
				<clientCallback prepareModal="true"><![CDATA[					
					if(window.actionArguments && window.actionArguments.length>0){
						var path = window.actionArguments[0];						
						ajaxplorer.getFoldersTree().goToDeepPath(path);
						ajaxplorer.filesList.loadXmlList(path);
						ajaxplorer.getActionBar().updateLocationBar(path);
					}
					]]></clientCallback>
				<serverCallback methodName="switchAction"></serverCallback>
			</processing>
		</action>	
		<action name="svnlog">
			<gui text="242" title="242" src="applix.png" accessKey="svn_log_access_key" hasAccessKey="true">
				<context selection="true" dir="" recycle="hidden"
					actionBar="true" contextMenu="true" infoPanel="false"
					actionBarGroup="get">
				</context>
				<selectionContext dir="true" file="true" recycle="false" unique="true" image="false" mp3="false" editable="false"></selectionContext></gui>
			<rightsContext noUser="true" userLogged="only" read="true" write="true" adminOnly=""></rightsContext>
			<processing>
				<clientCallback prepareModal="true"><![CDATA[
					var userSelection =  ajaxplorer.getFilesList().getUserSelection();
						var loadFunc = function(oForm){
							ajaxplorer.actionBar.svnLogger = new SVNLogger($(oForm));
							var crtRep = userSelection.getCurrentRep();
							if(crtRep == '/') crtRep = '';
							ajaxplorer.actionBar.svnLogger.open(userSelection.getUniqueFileName());
						};
						var closeFunc = function(){
							ajaxplorer.actionBar.svnLogger.close();
							hideLightBox();
							return false;
						};
						modal.showDialogForm('SVN', 'svnlog_box', loadFunc, closeFunc, null, true, false);
					]]></clientCallback>
				<clientForm id="svnlog_box"><![CDATA[
				<div id="svnlog_box" action="svnlog" box_width="400"></div>
				]]></clientForm>
				<serverCallback methodName="switchAction"></serverCallback>
				</processing>
		</action>		
		<action name="svndownload">
			<gui text="6" title="158" src="applix.png" accessKey="rename_access_key"><context selection="true" dir="" recycle="false" actionBar="false" contextMenu="false" infoPanel="false"></context><selectionContext dir="true" file="true" recycle="false" unique="true" image="" mp3="" editable=""></selectionContext></gui>
			<rightsContext noUser="true" userLogged="only" read="true" write="false" adminOnly=""></rightsContext>
			<processing>
				<clientCallback><![CDATA[
					// PUT HERE CODE TO EXECUTE IN JAVASCRIPT
					]]></clientCallback>
				<serverCallback methodName="svnDownload"></serverCallback>
				</processing>
		</action>				
	</actions>
	<infoPanels>
		<infoPanel mime="generic_file" attributes="basename,icon,filesize,mimestring,modiftime,author,revision">
			<messages>
				<message key="name_string" id="133"/>
				<message key="size_string" id="127"/>
				<message key="type_string" id="134"/>
				<message key="modif_string" id="138"/>
				<message key="author_string" id="244"/>
				<message key="revision_string" id="243"/>
			</messages>
			<html><![CDATA[
			<div style="padding:10px;">
				<div class="folderImage">
					<img src="AJXP_CLIENT_RESOURCES_FOLDER/images/crystal/mimes/64/#{icon}" height="64" width="64">
				</div>
				<b>#{name_string}</b> : #{basename}
				<br><b>#{author_string}</b> : #{author}
				<br><b>#{revision_string}</b> : #{revision}
				<br><b>#{size_string}</b> : #{filesize}
				<br><b>#{type_string}</b> : #{mimestring}
				<br><b>#{modif_string}</b> : #{modiftime}
			</div>
			]]></html>
		</infoPanel>
		<infoPanel mime="generic_dir" attributes="basename,icon,modiftime,author,revision">
			<messages>
				<message key="name_string" id="133"/>
				<message key="modif_string" id="138"/>
				<message key="author_string" id="244"/>
				<message key="revision_string" id="243"/>
			</messages>
			<html><![CDATA[
				<div style="padding:10px;">
					<div class="folderImage">
						<img src="AJXP_CLIENT_RESOURCES_FOLDER/images/crystal/mimes/64/#{icon}" height="64" width="64">
					</div>
					<b>#{name_string}</b> : #{basename}
					<br><b>#{author_string}</b> : #{author}
					<br><b>#{revision_string}</b> : #{revision}
					<br><b>#{modif_string}</b> : #{modiftime}
				</div>
			]]></html>
		</infoPanel>
	</infoPanels>
</driver>
{'fraction_non_alphanumeric': 0.18635589612601106, 'fraction_numerical': 0.015644955300127713, 'mean_word_length': 4.1631868131868135, 'pattern_counts': {'":': 0, '<': 246, '<?xml version=': 2, '>': 247, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 2}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 9, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5555600', 'n_tokens_mistral': 3862, 'n_tokens_neox': 3064, 'n_words': 501}