diff --git a/source/web/WEB-INF/web.xml b/source/web/WEB-INF/web.xml index 0aa59d7ff7..1b4813237e 100644 --- a/source/web/WEB-INF/web.xml +++ b/source/web/WEB-INF/web.xml @@ -435,6 +435,39 @@ org.alfresco.web.app.servlet.JBPMDeployProcessServlet + + CMISFileShareServlet + de.fmui.cmis.fileshare.info.BrowseServlet + + webcontentroot + cmisfs/ + + + stylesheet:application/atomsvc+xml + /cmisfs/stylesheets/service.xsl + + + stylesheet:application/atom+xml;type=feed + /cmisfs/stylesheets/feed.xsl + + + stylesheet:application/cmistree+xml + /cmisfs/stylesheets/feed.xsl + + + stylesheet:application/atom+xml;type=entry + /cmisfs/stylesheets/entry.xsl + + + stylesheet:application/cmisallowableactions+xml + /cmisfs/stylesheets/actions.xsl + + + stylesheet:application/cmisacl+xml + /cmisfs/stylesheets/acl.xsl + + + Faces Servlet /faces/* @@ -600,6 +633,11 @@ /workflowdefinitionimage/* + + CMISFileShareServlet + /cmisbrowse + + 60 diff --git a/source/web/cmisfs/browser/browser.css b/source/web/cmisfs/browser/browser.css new file mode 100644 index 0000000000..654d5e51ef --- /dev/null +++ b/source/web/cmisfs/browser/browser.css @@ -0,0 +1,178 @@ +@CHARSET "UTF-8"; + +body { + font-family: arial,sans-serif; + font-size: 10pt; +} + +a:link { + color: #204a87; + text-decoration: none; +} + +a:visited { + color: #204a87; + text-decoration: none; +} + +a:hover { + color: #204a87; + text-decoration: underline; +} + +a:active { + color: a40000; + text-decoration: underline; +} + +div.navigationbox { + background-color: #eeeeec; + margin-top: 10px; + margin-bottom: 10px; + margin-left: 0px; + margin-right: 0px; + padding: 5px; + border-style: solid; + border-width: 1px; + border-color: #888a85; +} + +table.servicetable { + border-collapse: collapse; +} + +table.servicetable td { + font-size: 10pt; + padding: 5px; + border-bottom-style: solid; + border-color: #dddddd; + border-width: 1px; +} + +.servicebox { + background-color: #eeeeec; + font-size: 10pt; + padding: 10px; + margin: 10px; + border-color: #888a85; + border-style: solid; + border-width: 2px; +} + +table.feedtable { + border-collapse: collapse; +} + +.tdinfo { + font-size: 10pt; + padding-left: 3px; + padding-top: 3px; + padding-bottom: 0px; + padding-right: 10px; +} + +.tdinfo2 { + font-size: 10pt; + padding: 3px; + border-bottom-style: solid; + border-color: #d3d7cf; + border-width: 1px; +} + +.tdlinks { + font-size: 8pt; + padding: 3px; + border-bottom-style: solid; + border-color: #d3d7cf; + border-width: 1px; +} + +.tdmore { + background-color: #eeeeec; + font-size: 10pt; + padding-left: 3px; + padding-top: 3px; + padding-bottom: 0px; + padding-right: 10px; +} + +.tdinfo-odd { + background-color: #fcf9df; + font-size: 10pt; + padding-left: 3px; + padding-top: 3px; + padding-bottom: 0px; + padding-right: 10px; +} + +.tdinfo2-odd { + background-color: #fcf9df; + font-size: 10pt; + padding: 3px; + border-bottom-style: solid; + border-color: #d3d7cf; + border-width: 1px; +} + +.tdlinks-odd { + background-color: #fcf9df; + font-size: 8pt; + padding: 3px; + border-bottom-style: solid; + border-color: #d3d7cf; + border-width: 1px; +} + +.tdmore-odd { + background-color: #fce94f; + font-size: 10pt; + padding: 3px; + border-bottom-style: solid; + border-color: #d3d7cf; + border-width: 1px; +} + +a.actionink:link { + color: #888a85; + text-decoration: none; +} + +a.actionink:visited { + color: #888a85; + text-decoration: none; +} + +a.actionink:hover { + color: #2e3436; + text-decoration: underline; +} + +a.actionink:active { + color: red; + text-decoration: underline; +} + +table.entrytable { + border-collapse: collapse; +} + +table.entrytable td { + font-size: 10pt; + padding: 5px; + border-bottom-style: solid; + border-color: #d3d7cf; + border-width: 1px; +} + +div.entrysummary { + margin-top: 10px; + margin-bottom: 10px; + margin-left: 0px; + margin-right: 0px; + padding: 5px; + border-style: solid; + border-width: 1px; + border-color: #888a85; + height: 150px; + overflow: auto; +} \ No newline at end of file diff --git a/source/web/cmisfs/browser/document.png b/source/web/cmisfs/browser/document.png new file mode 100644 index 0000000000..928a67995e Binary files /dev/null and b/source/web/cmisfs/browser/document.png differ diff --git a/source/web/cmisfs/browser/folder.png b/source/web/cmisfs/browser/folder.png new file mode 100644 index 0000000000..472484f112 Binary files /dev/null and b/source/web/cmisfs/browser/folder.png differ diff --git a/source/web/cmisfs/browser/policy.png b/source/web/cmisfs/browser/policy.png new file mode 100644 index 0000000000..5e972d1605 Binary files /dev/null and b/source/web/cmisfs/browser/policy.png differ diff --git a/source/web/cmisfs/browser/relationship.png b/source/web/cmisfs/browser/relationship.png new file mode 100644 index 0000000000..56ef039a21 Binary files /dev/null and b/source/web/cmisfs/browser/relationship.png differ diff --git a/source/web/cmisfs/browser/type.png b/source/web/cmisfs/browser/type.png new file mode 100644 index 0000000000..53dde74cde Binary files /dev/null and b/source/web/cmisfs/browser/type.png differ diff --git a/source/web/cmisfs/browser/unknown.png b/source/web/cmisfs/browser/unknown.png new file mode 100644 index 0000000000..d60425f7ec Binary files /dev/null and b/source/web/cmisfs/browser/unknown.png differ diff --git a/source/web/cmisfs/stylesheets/acl.xsl b/source/web/cmisfs/stylesheets/acl.xsl new file mode 100644 index 0000000000..c417ac64ff --- /dev/null +++ b/source/web/cmisfs/stylesheets/acl.xsl @@ -0,0 +1,38 @@ + + + + + + + + + + + + ACL + + + +

ACL

+ + + + + + + + + + + + + +
Principal IdPermissionDirect
+ + +
+ +
\ No newline at end of file diff --git a/source/web/cmisfs/stylesheets/actions.xsl b/source/web/cmisfs/stylesheets/actions.xsl new file mode 100644 index 0000000000..97734f26b4 --- /dev/null +++ b/source/web/cmisfs/stylesheets/actions.xsl @@ -0,0 +1,32 @@ + + + + + + + + + + + + Allowable Actions + + + +

Allowable Actions

+ + + + + + + +
+ + +
+ +
\ No newline at end of file diff --git a/source/web/cmisfs/stylesheets/entry.xsl b/source/web/cmisfs/stylesheets/entry.xsl new file mode 100644 index 0000000000..d5a7f17dde --- /dev/null +++ b/source/web/cmisfs/stylesheets/entry.xsl @@ -0,0 +1,130 @@ + + + + + + + + + + + + <xsl:value-of select="atom:entry/atom:title" /> + + + +

+ + + + + + + + + + + + + + + + + + + + +

+ + + + +

Summary

+
+ +
+
+ +

Properties

+ + + + + + + + + + + + + +
+ +
+
+
+ + +

Property Definitions

+ +

+ + + + + + + +
+
+
+ + +
+ +
\ No newline at end of file diff --git a/source/web/cmisfs/stylesheets/feed.xsl b/source/web/cmisfs/stylesheets/feed.xsl new file mode 100644 index 0000000000..ed590b119d --- /dev/null +++ b/source/web/cmisfs/stylesheets/feed.xsl @@ -0,0 +1,220 @@ + + + + + + + + + + + + <xsl:value-of select="atom:feed/atom:title" /> + + + +

+ + + + + + + + + + + + + + + + + + + + + -odd + + + + + + + + + + + + + + + + + + + + + +
NameTypeMIME TypeSizeCreated By /
Last Modified By
Creation Date /
Last Modification Date
Version LabelMajor /
Latest
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ Entry - + Type Info - + + Down - + + + Download - + + + All Versions - + + + + Rendition () - + + + + Allowable Actions - + + + ACL + +
+
+ + + + + + + + + + + + + + + + + -odd + + + + + + + + + + + + + + + + +
IdLocal NameLocal NamespaceDisplay NameQuery NameBase TypeDescription
+ + + + + +
+ Entry - + Type Info - + + Down + +
+
+ + +
+ +
\ No newline at end of file diff --git a/source/web/cmisfs/stylesheets/service.xsl b/source/web/cmisfs/stylesheets/service.xsl new file mode 100644 index 0000000000..2cdbf796d2 --- /dev/null +++ b/source/web/cmisfs/stylesheets/service.xsl @@ -0,0 +1,100 @@ + + + + + + + + + + + + Service + + + + +
+

Repository

+

Collections:

+

Links:

+ + + + + + +
+
+
+ + +
+ + +
+

Info

+ + + + + + + +
+
+
+ + +
+

Capabilities

+ + + + + + + +
+
+
+ + +
+

ACL Capabilities

+ Type: +

Permissions

+ + + + + + + + +
PermissionDescription
+

Mappings

+ + + + + + + + +
KeyPermission
+
+
+ + +
  • ()
  • +
    + + +
  • ()
  • +
    + +
    \ No newline at end of file