Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-131996

Support Js, CSS, Java, JSP and Sh previews in DM

    Details

      Description

      As a developer

      I want to be able to preview code files

      so that I can easily identify the files without needing to download it.

       

      Acceptance criteria

      Given an instance with libreoffice configured to generate previews

      When a user uploads files with JS, CSS, Java, JSP or Sh extensions

      Then the server generates previews for them

       

      Test Scenarios

      ID Test Priority Test Scenarios Covered by Backend (Unit/Integration)? Test to add
       0.56 3 A Java file can be previewed after enabling the OpenOffice server  NO Manual 
       0.57 3 A JS file can be previewed after enabling the OpenOffice server  NO Manual  
       0.58 3 A CSS file can be previewed after enabling the OpenOffice server NO   Manual 
       0.59 3 A JSP file can be previewed after enabling the OpenOffice server  NO Manual  
       0.60 3 A JSPF file can be previewed after enabling the OpenOffice server NO  Manual  
       0.61 3 A SH file can be previewed after enabling the OpenOffice  server  NO Manual  
      0.62 3 A Java file can be previewed after enabling the LibreOffice server NO  Manual 
      0.63 3 A JS file can be previewed after enabling the LibreOffice server NO Manual  
      0.64 3 A CSS file can be previewed after enabling the LibreOffice server NO Manual  
      0.65 3 A JSP file can be previewed after enabling the LibreOffice server NO Manual  
      0.66 3 A JSPF file can be previewed after enabling the LibreOffice server NO Manual  
      0.67 3 A SH file can be previewed after enabling the LibreOffice server NO Manual  
      0.68 3 The file with JS, CSS, Java, JSP, JSPF or Sh extensions can not be previewed after disabling the server NO  Manual  

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              austin.chiang Austin Chiang
              Reporter:
              adolfo.perez Adolfo Pérez
              Engineering Assignee:
              SE Support
              Recent user:
              Sophia Zhang
              Participants of an Issue:
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Packages

                  Version Package
                  7.4.1 CE GA2 DXP 7,4
                  7.4.13 DXP GA1
                  Master