openmeetings-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Coscend@OM" <>
Subject A Feature Suggestion for Use by Custom Tool Developers
Date Tue, 07 Mar 2017 14:22:34 GMT
Dear OpenMeetings Developers,


Is it possible to add a feature that allows custom code developers to read
the following files in their original formats from a specific directory, say

.         images:  i.e., a png can be read as file.hash.png (instead of

.         swf files

.         pdf files



This could enable custom developers to build their custom toolbars, custom
menus and custom file explorers on top of each new release.  Their users
will increase use adoption, thereby growing the community.  Of course,
suggesting is always easier, coding during off-time, while doing a full-time
job is more difficult!


To save time, perhaps here is where we thought this could be changed.


        if (!full_path.exists() || !full_path.canRead()) {

                if (!full_path.canRead()) {

                        log.debug("LOG DownloadHandler: The request file is
not readable ");

                } else {

                        log.debug("LOG DownloadHandler: The request file
does not exist / has already been deleted");


                log.debug("LOG ERROR requestedFile: " + requestedFile);

                // replace the path with the default picture/document

                        if (requestedFile.endsWith(".jpg")) {

                        log.debug("LOG endsWith d.jpg");

                        log.debug("LOG moduleName: " + moduleName);

                        requestedFile = defaultImageName;

                        if (moduleName.equals("remoteuserprofile")) {

                                requestedFile = defaultProfileImageName;

                        } else if
(moduleName.equals("remoteuserprofilebig")) {

                                requestedFile = defaultProfileImageNameBig;

                        } else if (moduleName.equals("userprofile")) {

                                requestedFile = defaultProfileImageName;

                        } else if (moduleName.equals("chat")) {

                                requestedFile = defaultChatImageName;


                } else if (requestedFile.endsWith(".swf")) {

                        requestedFile = defaultSWFName;

                } else {

                        requestedFile = defaultImageName;


                full_path = new File(OmFileHelper.getDefaultDir(),





Hemant K. Sabat


Coscend Communications Solutions

Web site:  <> 


Real-time, Interactive Video Collaboration, Tele-healthcare, Tele-education,
Telepresence Services, on the fly.


CONFIDENTIALITY NOTICE: See 'Confidentiality Notice Regarding E-mail
Messages from Coscend Communications Solutions' posted at:





  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message