LPS-47710 Override DLFileEntryTypeService to hide "Google Document" from return values wherever the "Basic Document" is not shown
LPS-47710 Add a Portal Settings configuration page to define the Google API key and Client ID
LPS-47710 No logic changes - copy edit_file_entry to edit_file_entry_google_document
LPS-47710 Override edit_file_entry.jsp file to let the user select a file from google instead of from local drive. Note that all integration is done through CSS (to hide fields) and Javascript (to fill fields and show the Google Picker). The main goal of the edit_file_entry.google.jsp file is to remain as similar as possible to the edit_file_entry.jsp in the portal. That way both files can be compared if necessary to detect changes in the portal's version.
LPS-47710 Copy view_file_entry.jsp from the portal to the plugin to override it in the next commit
LPS-47710 Override view_file_entry.jsp file to disable some actions for Google Documents and also add a button to allow online editing in Google Docs. Note that some CSS is used to hide fields. The main goal of the view_file_entry.google.jsp file is to remain as similar as possible to the view_file_entry.jsp in the portal. That way both files can be compared if necessary to detect changes in the portal's version.
LPS-47710 Disable download, check-in, checkout, and open document contextual actions for Google Document file entries
LPS-47710 Format source
LPS-47710 Use same order and language keys as in Google Login
LPS-47710 Source formatting
LPS-47710 Reuse language key
LPS-47710 Use the same variable in the three classes so we can extract out the common logic
LPS-47710 Define the variable only in download.jspf because it's the first one to be invoked and the other jspfs can reuse the variable defined in download.jspf
LPS-47710 Create context so the name of the variable fileEntryType doesn't collide with the same name in view_file_entry_google_document
LPS-47710 Limit the scope so we only require what we need.
LPS-47710 Remove unnecessary code
LPS-47710 Make it compatible with having Documents and Media and Documents and Media Display in the same page.
LPS-47710 Move JavaScript code inside its own scope to avoid polluting window object
LPS-47710 SF
LPS-47710 SF