Changelog
December 25, 2019 (2019.12.25)
-
File Control Panel
- It's a per file/folder control panel available only for the FileRun superuser.
- It provides a central place for retrieving additional information in relation to a file or a folder and provides tools for troubleshooting FileRun features such as the content indexing, metadata extraction and thumbnail and preview generation.
- The contextual menu option "More options.." > "Index files" is now an option under the File Control Panel.
- The plugin "Admin: Text Indexer Test" is now an option under the File Control Panel.
- The plugin "Admin: Thumbnail troubleshooter" is now an option under the File Control Panel.
-
Folder Notifications
- Added control panel option for automatically subscribing users so that they receive notifications when files, comments or labels are being added inside folders that have been shared with them. The option is available under "Files" > "Misc options".
- The folder notification options are now split into the following:
- "New files" -> If the previous option titled "Upload, Delete, Rename, etc." was enabled, it now only covers new files. For getting notifications on deletes, renames, etc. the users now need to manually change the notification options to include the new "Other actions" option. The FileRun update will not enable this automatically for the existing settings.
- "New comments and labels"
- "Downloads and previews" -> This is the previous option titled "Download, Preview, Copy, etc."
- "Other actions"
-
Thumbnails and image preview
- The generated image previews are now cached on the server.
- Added option to choose the resolution of the image previews and even allowed image files to be served as they are.
- Image previews are now loading with lower resolution on non-retina displays.
- Added support for the IMagick PHP extension for generating thumbnails using ImageMagick when PHP doesn't have permission to run external programs. Useful for shared hosting environments.
- Additional options for controling the behavior of thumbnail and preview generation have been added to the control panel, under "Interface" > "Thumbnails and preview".
- Added option to rotate previews in the image viewer.
- The same preview system and cached images are now also used when previewing images via shared web links opened in "Image gallery" mode.
- The gallery web links image viewer now supports non web-safe images as well, so you can share folders with raw photographs as galleries that include larger previews.
- To generate previews from the command line, you can use the script cron> php make_thumbs.php --username admin --size large.
- Fixed clearing thumbnail cache via the folder properties panel when a custom cache location is configured.
- Fixed generating thumbnails via command line (cron/make_thumbs.php).
- If the Google Static Maps API key is set, FileRun will generate thumbnails for GPX files.
-
Authentication
- Users can now generate additional credentials to be used with third-party WebDAV apps. The option is available under the "Account settings" panel. This is particularly useful when connecting using the WebDAV protocol and your FileRun user account uses 2-Step verification (2FA). (Note that this feature requires the API to be enabled.)
- Authenticating to FileRun via OAuth2 now works with authentication plugins that use SSO (Single sign-on).
- Added the possiblity to limit users login to more than one IP address or range. "$config['app']['login']['restrict_ip'][$USERNAME]" can now be an array of IP addresses or ranges.
- No longer logging failed login attempts when the user is setting up 2FA or being asked for the 2FA code.
- Failed login attempts made from unauthorized IP addresses are now logged to the user activity log.
- Failed logins not attributed to a particular user account are now logged as well to the user activity log, under the FileRun superuser account. Paricularly useful to see when invalid usernames are being used or various other errors from a third-party authentication plugin are happening.
-
Nextcloud apps
- Added compatiblity with the version 2.6 of the Nextcloud desktop app.
- Fixed synching shared folders with Nextcloud desktop sync.
- Fixed synching folder renames for Nextcloud apps.
- Nextcloud desktop app showing avatar on account.
- Nextcloud desktop app allowing to open a file/folder in the FileRun web UI. (Note that this currently doesn't work for shared items but only for items inside a FileRun user's home folder.)
-
Activity Panel
- The activity panel is now available for the currently opened folder and also for files.
- Added config option ($config['app']['folder_activity']['show_own'] = true;) for enabling own actions to be listed in the Folder Activity panel.
- Added config option ($config['app']['folder_activity']['show_all_actions'] = true;) for disabling grouping of actions in the Folder Activity panel by file.
- Fixed functionality of the "Folder Activity" panel when enabled for shared folders.
-
User Interface
- The default view mode using for web links can now be changed from the control panel (Interface > Options). Changing the default mode affects all existing web links, unless they were specifically shared with a view mode other than the default one. Web links that were shared with the parameter "mode" in the URL will not be affected.
- Added file size information for the files shared via "List view" links.
- The width of the folder panel is now being remembered on the same computer accross sessions.
- Links to files from the e-mail notifications are now opening the FileRun user interface with highlighting the file.
- Enabling/disabling or making changes to the FileRun plugins no longer requires users to clear their browser's cache in order to see the change.
- Clicking a file's label in the details panel will search the current folder for all files with that label.
- Clicking to "locate" a file from a search results it now closes the search panel, instead of performing another search inside the found file's folder.
- Text from the Control Panel grids can now be selected for copying.
- Fixed bug causing the file list to scroll up when clicking next to a file.
- The text editor now allows copying, pasting and text selection on mobile devices.
- Making any changes to metadata fields, field sets or file types will reflect immediately, without the users needing to clear their browsers' cache.
- You can hide the list of system default metadata file types (Audio, Documents, Photos, Videos) in the metadata file type search by setting "$config['app']['metadata']['search']['exclude_system_filetypes'] = true;".
- You can hide the list of system default metadata fields (the ones that belong to the "Audio", "Documents", "Photos", "Videos" file types) in the metadata file search by setting "$config['app']['metadata']['search']['exclude_system_fields'] = true;".
- The metadata fields with predefined lists of values now offer the user the option of setting no value.
- Metadata field sets are now sorted alphanumerically based on their names.
- The metadata field type "Date/time" now shows a calendar for choosing a value. The field expects the format "2019-01-29 23:59:59".
- Fix: The login form no longer moves out of the screen when typing in credentials on mobile devices.
- Fixed "Open with.." > "New tab" to allow multiple files to be left opened at the same time.
- Fixed Autodesk plugin opening in a new window.
- Fixed avatar letters being wrong in some cases.
- Fixed downloading file from the image viewer by pressing the Enter key.
- Fixed group avatar when group name contains multibyte characters (non-latin characters)
- Fixed: keyboard shortcuts on Firefox (non-Windows).
- Fixed sharing panel UI glitch preventing users with long names to be removed from a share.
- Fixed folder notification messages to include users' full names.
- Various other small UI improvements and fixes.
-
Other Improvements
- Added control panel option for disabling/hiding the "Collections" feature. This applies system-wide.
- The ONLYOFFICE plugin is now available for all filetypes support by ONLYOFFICE, rather than only the common office documents. The full list is the following: "doc", "docx", "dotx", "odt", "ott", "rtf", "txt", "pdf", "html", "epub", "xps", "djvu", "xls", "xlsx", "xltx", "ods", "ots", "csv", "ppt", "pptx", "potx", "odp", "otp".
- The ONLYOFFICE plugin supports JWT authentication.
- The ONLYOFFICE plugin no longer autosaves changes. The user needs to click "File" -> "Save" or use the keyboard shortcut for the changes to be saved to the document.
- Change: the upload chunk size is no longer limited to a max of 20MB but instead it is determined automatically based on the PHP configured "upload_max_filesize" and "post_max_size" (the smallest of these two values). This has two important consequences. One is a potentially negative one, smaller files will be reuploaded from the start if the transfer is interrupted or paused (interrupted downloads are being resumed from the last uploaded chunk). The second consequence, is a positive one, with large files uploaded over fast connections will be uploaded much faster than before (particularly noticeable in local networks). The chunk size can still be manually using '$config['app']['upload']['chunk_size']' (see https://docs.filerun.com/advanced_configuration).
- Changing a folder's notifications options is now logged to the user activity log.
- Adding/removing a user to/from a group is now logged to the user activity log.
- Sending files/folders via e-mail, using web links, now logs the action of creating the web link.
- Saving changes on a web link's settings is no longer logged as an action if no changes were actually made.
- $config['app']['email_notification']['per_item']['limit_actions'] is an array containing a list of actions that notifications are being triggered when using per folder notifications.
- Apache Tika in server mode now requires version 1.22.
- Added options for enabling file indexing for image files and scanned PDFs through OCR. It requires Tesseract. For more informatiom please see https://docs.filerun.com/file_indexing
- Added option for loading a configuration file for Apache Tika.
- The text editor can now open GPX and KML files, with XML code highlighting.
- E-mail notifications for uploading and downloading empty files are no longer instant. This allows users to create new text files and add content to them without having too many notification messages being sent about the particular activity.
- The control panel export function for the user activity logs search results is now triggering a file download rather than saving the file in the superuser's home folder. The activity details are now json encoded.
- Added API method for changing the password.
- Added possiblity of specifying additional options for connecting to the MySQL database by editing "system/data/autoconfig.php" and adding the 'options' element which lists PDO predefined constants.
- File or folder names that end with a space or a dot character are no longer allowed.
- Users with the permission to share files with other FileRun users can now share their entire home folders.
-
Other Fixes
- Fixed: Removing a user from a group leaving behind settings attached to files/folders shared with the group.
- Fixed: Removing a user from a shared folder leaving behind settings attached to the files/folders. For example, per-folder notifications enabled, having the users that no longer have access to the shared folder to still receive related notifications.
- Fixed regression bug: superuser not being able to assign users or groups using the "Can interact with" permissions.
- Fix: allow "memory limit hitting fatal error" to be logged to the PHP error log when trying to process Exif data from very large files.
- Fix: FileRun no long attempts to read Exif data from PSD/PSB files.
- Fixed compatiblity with the newer Autodesk API to allow opening CAD files.
- Fixed problem with browsing shared folders with certain WebDAV programs.
- Fixed PHP warning when importing users via CSV.
- Fixed PHP error (Call to undefined function FileRun\Utils\xdebug_get_function_stack() ..) when installing FileRun updates.
- Fixed extracting tar.gz archives.
- Fixed "cron/metadata_index.php" not processing all users when ran without paramaters.
- Fixed delay in reflecting changed control panel settings when PHP OPcache is enabled.
- Fixed error when accessing collections that are supposed to contain files that were removed from outside FileRun.
- Fixed problem with HTML characters typed in the message when sending files via e-mail.