Blog

Product news and other information from the developers of Portfolio.
Showing 26 - 30 of 114
  • Improved performance, WAV to MP3 transcoding and lots of other improvements

    Posted by: Fagbokforlaget admin 29. May 2018 15:46

    Today's update (4bbbf6f) brings with it the following changes:

    Performance improvements

    • Rewritten most of the database functions related to filesystem tree traversal. Should almost double performance in a lot of situations, allowing for most page loads to be faster. Several redundant functions were removed or inlined to make everything faster.
    • Container sort key is now consistently stored in the database, allowing for some performance improvements.
    • The permission-checking database functions were also rewritten, giving almost a 10 times performance improvement in most situations.
    • When navigating to the root level in the file manager, it was not uncommon to get a timeout. This should now be fixed. Now the root level takes about 10-20 seconds to render. Not optimal, but within the timeout threshold. It is no longer possible to list the root level with all user's home containers.

    New features

    • Wave audio files which are recorded or uploaded are now automatically converted to MP3 to save backend storage space. Because of the smaller size they should also download faster to clients.
    • Automatic playback of next audio object when one has finished playback is now possible by customizing page templates.
    • Video playback now logs playback duration to Google Analytics, allowing for calculation of royalty payments on video files as well as audio files.

    Enhancements

    • The validation logic in the file manager was rewritten as part of the tree-traversal performance improvement. It should now be more consistent and faster. There is one behavior difference to the old implementation. The containers and objects are returned from the validator in no specific order, so adding them to a course would not yield a traversal-specific order. It is therefore recommended to only use it to add aux. objects using this method.
    • The element_favicon template is now overridable.
    • A new favorite/bookmark icon was added. Now Portfolio has a slightly better design profile. Bookmark icons should now be available in larger sizes.
    • When you're editing an object it is now possible to see which courses it is part of, regardless of course permissions.
    • Improve HTML markup error message to take into account if you're using WYSIWYG editor or not.
    • The json, xml and view request handlers are now documented.

    Bugfixes

    • Avoid using NPAPI plugins to render video in browsers where these are no longer allowed. Affecting Microsoft Edge, Firefox v52 and above and Chrome v45 and above.
    • All timestamps should now be stored with time zone information, hopefully fixing most timestamp offset issues.
    • Audio file autoplay is always disabled on mobile devices because most mobile devices don't allow it without clicking first.
    • The get_containers() method on course instances was renamed to get_container_ids().
    • Only complete user-interface languages are now used to autoselect a language based on browser preference.
    • Fixed missing translations in TinyMCE if using Portuguese language.

    Feature removals / deprecations

    • Removed several database functions, tables and views which are no longer in use.
    • Removed a duplicate database index, slightly improving performance.
    You must be logged in to read or post comments
  • More powerful database server and some bugfixes

    Posted by: Fagbokforlaget admin 29. May 2018 15:46

    This update (11ee2cf) brings with it the following changes:

    Security issues

    • Ensure variables used in the list_log request handler are properly validated before use, avoiding a potential SQL injection security issue.

    Performance improvements

    • The database server hardware was upgraded to handle more load, decreasing overall page load latency.

    New features

    • When editing objects, you're now able to see which course the object is used in. Only users with editor access to the course can see this information.

    Bugfixes

    • Fixed a database error when no valid users where specified in the user_activity request handler.
    • Large videos would sometimes not load because the timeout on the data request handler was set a bit low. Bumped the timeout to 30 seconds to mitigate the issue.
    • A textarea line-wrapping issue was fixed in the CSV editor view in the manage_course request handler.

    Feature removals / deprecations

    • The last parts of the video transcoding feature was removed.
    You must be logged in to read or post comments
  • Migration to cloud environment, removal of cookie warning and chat feature

    Posted by: Fagbokforlaget admin 29. May 2018 15:46

    Today's update (88c928d) brings with it the following changes:

    Performance improvements

    • The entire system has been moved to a cloud-based environment, allowing us to better meet future performance requirements. This is the first step to being able to utilize horizontal scaling more extensively.

    Enhancements

    • The cookie warning at the top of the page has been removed. A link somewhere on the page to our cookie policy is enough according to regulations.
    • Anonymous sessions from our server monitoring software should no longer show up in the online list.

    Bugfixes

    • File uploading has been improved to be even more robust.

    Feature removals / deprecations

    • The real-time chat feature has been removed, as it was not used by anyone.
    • The object attribute client_mimetype has been removed. It is not used by any code.
    You must be logged in to read or post comments
  • File uploading now fixed!

    Posted by: Fagbokforlaget admin 29. May 2018 15:46

    An emergency update (1f07d10) was pushed out today. It fixed the regression from yesterday's update that broke file uploading. Now it should work again.

    You must be logged in to read or post comments
  • New plain-text editor, updated third-party packages in backend and more

    Posted by: Fagbokforlaget admin 29. May 2018 15:46

    Today's update (b827b0037) brings with it the following changes:

    Performance improvements

    • Upgrade to newest version of Perl (5.24.1) and CPAN modules to get an overall performance improvement.
    • The main dropdown menu (top left) is written in a slightly faster way which should make all normal page loads slightly faster.

    New features

    • When the WYSIWYG editor (TinyMCE) is disabled, which is common for power users, you now get a plain-text editor called CodeMirror which has better editing features than a normal HTML textarea. It has tab indenting, syntax highlighting and code folding, to name a few. It is also possible to customize how you want the editor to function on a site-by-site or user-by-user basis.

    Enhancements

    • Perlbrew and Pinto are now used to manage Perl and CPAN packages. This ensures we always used the same version of perl and CPAN modules on all installations. This should avoid test failures and other unexpected behavior because different versions of third-party dependencies are used. As this changes a lot of the underlying foundation, there is a higher chance of regressions from this update. Get in touch with support if you notice something out of the ordinary that our testing didn't catch.
    • The type of objects which supported WYSIWYG mode and file upload was updated. This should allow e.g. text files to be uploaded to overwrite existing content (you don't have to paste the file into the editor now).
    • The first tab in object editor is activated when object type is changed to allow editor to initialize with visible viewport, avoiding potential issues.
    • Moved some inline styles in request_add_edit template over to the standard stylesheet, simplifying the template.

    Bugfixes

    • The default width of 12.5em on textareas from normalize.css was reset, because it conflicts with our usage of rows/cols attributes to set the size of the editor.
    • Dropdown boxes rendered using element_select without onchange argument are no longer rendered with an empty onchange attribute, allowing event handlers to be applied normally.
    • More modern JavaScript code is now used to show/hide the language metadata dropdown menus in object editor.
    • Fixed some JavaScript errors related to TinyMCE when changing type in the object editor.
    • Non-ASCII text was sometimes encoded in a wrong way in email headers and when downloading files. This should now be fixed.

    Feature removals / deprecations

    • The transcode checkbox in the object editor was removed because the video transcoding feature is no longer supported.
    You must be logged in to read or post comments
Showing 26-30 of 114
First Previous Next Last

Login