bhagyas / alfresco-folder-quota

Maintained version of alfresco-folder-quota

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Alfresco Folder Quota Add-on

Implement a folder-wise folder quota within Alfresco.

Updates

  • 2017-March-02 : Fixed a permission issue when the non-admin users attempted to download content as ZIP for a quota applied folder.

Usage

  1. tomcat/shared/classes/alfresco/extension/custom-log4j.properties
#Folder Quota
log4j.logger.org.alfresco.extension.folderquota=DEBUG
  1. tomcat/shared/classes/alfresco/web-extension/share-config-custom.xml
	<config evaluator="string-compare" condition="DocumentLibrary">
		<aspects>
			<visible>
				<aspect name="fq:quota"/>
			</visible>
			<addable></addable>
			<removeable></removeable>
		</aspects>
	</config>
	<config evaluator="node-type" condition="cm:folder">
		<forms>
			<form>
				<field-visibility>
					<show id="fq:sizeQuota"/>
					<show id="fq:sizeCurrent" for-mode="view"/>
				</field-visibility>
			</form>
			<form id="doclib-simple-metadata">
				<field-visibility>
					<show id="fq:sizeQuota"/>
					<show id="fq:sizeCurrent" for-mode="view"/>
				</field-visibility>
				<edit-form template="../documentlibrary/forms/doclib-simple-metadata.ftl"/>
			</form>
			<form id="doclib-inline-edit">
				<field-visibility>
					<show id="fq:sizeQuota"/>
					<show id="fq:sizeCurrent" for-mode="view"/>
				</field-visibility>
			</form>
		</forms>
	</config>

Authors

This is a maintained fork from the originally hosted source code on Google Code.

Currently maintained by Bhagya Silva and Loftux AB

About

Maintained version of alfresco-folder-quota

License:Other


Languages

Language:Java 92.5%Language:Batchfile 4.6%Language:Shell 2.4%Language:HTML 0.5%