Ticket #341 (closed task: fixed)

Opened 3 years ago

Last modified 2 years ago

Release notes for MediaMosa 2.2

Reported by: Frans Owned by:
Priority: minor Milestone: MediaMosa 2.2
Component: Core Version:
Keywords: Cc:
MoSCoW: Must Have Estimated time after impact analysis:
Related to project: none Tested: yes
Accepted: yes Estimated Hours: 0

Description (last modified by Frans) (diff)

MediaMosa 2.2.0 (build 847) - September 1, 2010


  • Fixed container type for asf if ffmpeg cannot analyse it, but magic can (#70)
  • Added webm codec to the list of allowed transcoding parameters (#295)
  • Fixed saving webservice with client application in admin. (See ticket #315).
  • Fixed unit test Still download/playproxy when using apache alias on /still (See ticket #313).
  • Fixed /mediafile/$asset_id/analyse call to return created job ID. (See ticket #320).
  • Fixed missing mediafiles in asset view in admin. (See ticket #322).
  • Added job_ids to several log messages (See ticket #214).
  • Added pager to all stats pages and decreased items per page to 50 instead of 150 (See ticket (#225).
  • Windows transcoding fix & first character fix (See vpcore Ticket 159).
  • Extended asset/$asset_id/joblist with CQL search and now has limit and offset parameters. Limit is set to maximum of 200 jobs in result. Extended the admin documentation for this call for usage of the CQL call, see your MediaMosa admin on uri /admin/mediamosa/browse/restcall/asset-%24asset_id-joblist/GET (See ticket #267).
  • Job created in job table for still analyse (See ticket #239).
  • Introduction /collection/{id}/asset/count, and implements numofvideos in /collection/{id} response (See ticket #204).
  • Converted mediamosa_asset_mediafile_metadata to new setup where the values are stored as name -> value pairs allowing more flexible metadata on mediafiles (See ticket #290).
  • Job search: item total count fix (See ticket #267).
  • PA: Adding domains and realms produce failures fix (See VPCore ticket #172).
  • Integrity check produces error fix (See VPCore ticket #177).
  • Integrity check uses "nice" call, instead of "wget" (See VPCore ticket #177).
  • Support for 2 pass h264 encoding development (See MediaMosa ticket #264).
  • Remove asset_id_root field from mediamosa_asset_mediafile table (See MediaMosa ticket #317).
  • Added first fase 1 version of the mediamosa/server status page. (See MediaMosa ticket #314).
  • Added job server status page (See MediaMosa ticker #284).
  • UTC to application timezone support added; (See MediaMosa ticker #272).
  • All dates from REST POST calls are now converted from application timezone to UTC.
  • All dates in GET REST calls are now converted to dates in the client applications timezone.
  • All dates currently in database are converted to UTC by update script.
  • All dates in migration 1.7->2.x module convert dates to UTC during migration.
  • Ticket has been finished and no longer requires a fase 2 as originally intended.
  • All existing client applications have default timezone set to Europe/Amsterdam?.
  • Client application form now has the timezone option and is required.
  • If the REST call has no application during the REST call (f.e. external/internal calls), then these will have Europe/Amsterdam? timezone.
  • Unittest added; unit test will walk through all GET rest calls and execute known REST calls that have dates in their output. During the GET call all dates are checked against timezone expected dates.

Other changes (not ticket related).

  • Fixed updating Transcode profile page, parameters were not saved correctly.
  • Fixed padding test for new ffmpeg version.
  • During ticket #255, adding pager to stats, bug was found on the stats keyword saver. It also stored search on dates, which are not words. Bug fixed, stats now only stores words. Added stats unit test to make sure stats saving on search words works as intended.
  • Fixed input errors in statistics dates (search words and other stats).
  • Put some logging of still generation to debug level instead of normal.
  • Still generation that is busy for black check now logs right text about status.
  • Logging message about ending still job while job in progress will now log message that its still running instead wrong ending message.
  • DBUS REJECTED message will now return error 1600 in /login rest call instead of 601 OK message.
  • ftp/create REST call will now also create the FTP home directory for the new user.
  • Added extra tests for search on metadata dates.
  • /user/user_id will now return quota even if user_id has no quota information. Old behavior would return invalid user ID error when no quota was available. But then you can never get quota information when you haven't uploaded anything yet.
  • Fixed max-length on title for collection creation, was unlimited.
  • Max length is now shown correctly in REST calls browser.
  • Fixed bug in mediamosa.profile where output of error messages was not complete.
  • Changed default mount point for windows in profile to \\ instead of //.
  • Fixed weird bug where the stats cron job failed during a query because of linefeed char. Fixed by using mediamosa_db::db_query instead of db_query.
  • Fixed bug in admin where new collections where created with empty app_id.
  • Added check to /assets on the asset_id array, will give notices when array in array was supplied.
  • Fixed number of notices when tests where not completed (because of restarts).
  • Made the tag rest parameter in /asset/asset_id/mediafile and /mediafile/mediafile_id max. length 32 chars.
  • Field 'transcode_profile_id' in mediamosa_asset_mediafile is converted to INT type instead of varchar(10).
  • PHP function getimagesize() is now wrapped with mediamosa_io::getimagesize().
  • Fixed documentation asset_id[] to asset_id in /asset REST call.
  • Added 'changed', 'created' for assets to the CQL search. Use asset_changed and asset_created.
  • acl/get_foreign_apps is now depricated and replaced by /acl/app
  • Added /acl/app REST call. Returns listing of apps on which the current app has master-slave rights on.
  • Upgraded drupal 7 core from alpha 4 to alpha 6.
  • Fixed problem migration when asset_id_root was empty in the source code.
  • Fixed settings page, alpha 6 of drupal 7 no longer sets up your settings page default values.
  • Fixed mediamosa profile to work on alpha 6.
  • Added title with version number during profile.
  • Migrated alpha4 to alpha6 of drupal 7 core.
  • Fixed form for mediamosa_connector, didn't work with alpha6.
  • Alpha 6 introduced node->uri for default uri link for nodes, conflicted with uri setting of server nodes. Renamed uri to server_uri in database and code.
  • Renamed module mediamosa_maintenance_status to mediamosa_maintenance_simpletest.
  • Created mediamosa_maintenance_status for new status page module.
  • All simpletests urls, functions are moved to /admin/mediamosa/simpletests.
  • Fixed problem with own http_request function now $db_prefix is removed from drupal.
  • Fixed default profile to refect mediamosa.local as default domain.
  • Number of typo and text changes in MediaMosa profile.
  • Fixed bug in REST call /collection/$coll_id/delete where missing classname resulted in failure.
  • Removed the 3 hour tab on simpletests page, is empty anyway.
  • Added automatedsimpletest module to installation profile.
  • Fixed /acl/app to return only apps where you are allowed master/slave on.
  • Fixed /acl/app in is_oai mode SQL error.
  • Added force index on metadata search join.
  • User quota test fails in 32 bits systems bug fix.
  • MySQL query speed improvement: Add mediafile_id_source index to the mediamosa_asset_mediafile table.
  • Rewrote unit test for mediafile metadata test.
  • Fixed notices in asset/$asset_id/acl POST call when no ACL rules were provided.
  • Drupal 7 header items are now lower-case, fixed Set-Cookie and Content-Type to lower case in code.
  • Added 'is_master_slaved' to CQL search. Returns all assets that are either masterslaved on the asset or has one or more mediafiles that are masterslaved. Can be used to find assets that are not masterslaved.
  • Extended browse view of asset in admin to show asset AUT rights (was only showing them on mediafiles).
  • Completion URL for transcoding will now correctly trigger with HTTPS when SSL certificate is not valid.
  • Fixed PHP notice when transcode failed.
  • Fixed unnessary exception logging when testing non-failure db object existance.
  • User quota test fails in 32 bits systems bug fix.
  • Parameter 'still_type' on all REST calls that use it now required fixed input;'NONE, 'SCENE', 'NORMAL', 'PICTURE', 'SECOND' or . Defaults to .
  • Re-factored some STILL code to better readable code.
  • Fixed 'is_downloadable' option when creating mediafile. Bug ignored the provided setting and was always 'FALSE'.
  • REST call /mediamosa/create [POST] and /asset/$asset_id/mediafile/create [POST] will now accept a 'tag' parameter. Was only on update calls.
  • Fixed: Uploading of mediafile would overwrite TAG on Mediafile when TAG was not supplied.
  • Fixed: The combination URL and URI in mediafile check when IS_DOWNLOADABLE was set to any value in mediafile/create resulted in necessary exception.
  • Added transactions into metadata save and deletion of asset. Although we need a more extended transaction support on REST calls; rolling back everything during the REST call. This is very tricky; What do we do with any output already generated? Watchdog entries will be rolled back too. Need some more thinking for the global transaction support.
  • The still parameters end_frame and start_frame are now depricated and REST documentation has been adjusted to promote usage of end_time and start_time. Also documentation does now explanes parameters as seconds.
  • Fixed reset button on asset browse page.
  • Fixed CQL entry box on asset browse page to get empty when entering an empty string to clear your CQL.
  • Still parameter 'size' is now default '352x288' in all related REST calls.
  • Fixed: CQL search on 'batch_id' used STRING type instead of INT, resulted into wrong search results.
  • Still parameters 'width' and 'height' are now deprecated, use still instead.
  • Fixed: start_frame and end_frame still parameters where not copied to start_time and end_time when *_time parameters where not used.
  • Moved logging of missing status file on transcode/analyse to debug status, will no longer end up in normal mode of debug level.
  • Fixed testing page in MediaMosa admin; will correctly re-run tests when selected.
  • Rewrote all split() functions to preg_split to support PHP 5.3.
  • Rewrote all string offset code that uses {} to [] for support of PHP 5.3.
  • Added lib/mediamosa_datetime.inc for date related functions.
  • Changed migration script for 1.7 to 2.x to convert dates into UTC from import.

Change History

Changed 3 years ago by Frans

  • status changed from new to closed
  • resolution set to fixed

Changed 3 years ago by Frans

  • description modified (diff)

Changed 3 years ago by Frans

  • description modified (diff)

Changed 3 years ago by Frans

MediaMosa 2.2.1 (build 894), September 15, 2010


  • Added is_empty_asset flag on the mediamosa_asset_collection table. (See ticket #338).
  • Fixed problem with restricted time where date was converted to UTC while that was not allowed for that parameter. (See tickets #355, #354)


Other changes (not ticket related).

  • Fixed problems during install hook mediamosa_update_7011().
  • Added missing includes in mediamosa.install file.
  • Added empty REST call 'status' for future usage. Was renamed to 'simpletest' from 'status' and was supposed to be re-used by status page code.
  • Removed default minimal Drupal profile.
  • Coder module has completely checked the MediaMosa core and all warnings where resolved.
  • Removed function autoload_class() from mediamosa class. No longer used.
  • Fixed ajax problem in collection browse page.
  • Completely rewritten the installation profile.
  • Fixed ffmpeg detection in status page.
  • Removed & on $form_state hooks of hook_mediamosa_configuration_validate() for PHP 5.3 warnings.
  • Added missing wmv related lua files to lib/lua dir.
  • Removed check for /0 directory in SANNAS.
  • Cleaned up default install trans-coding profiles.

Changed 3 years ago by Frans

MediaMosa 2.2.2 (Build 922), September 23, 2010


  • Fixed: Disk space used in statistics stopped working. (See vpcore ticket #185).
  • Fixed: /collection/$coll_id/asset/count (See ticket #204).
  • Extended/Fixed? /collection/$coll_id with hide_empty_asset parameter (See ticket #204).
  • /asset response still parameters 'file_duration' and 'sannas_mount_point' removed from still response (See ticket #198).

Other changes (not ticket related).

  • Fixed bug where 404 would trigger when two forward slashes (//) where used in the REST uri.
  • Fixed job setup unit test when server was defined with path.
  • Fixed bug when creation of the default setup with command strings of transcode profiles where created empty.
  • Fixed bug when enabling job table migration.
  • Added DB index on mediamosa_asset for videotimestamp.
  • Turned off asset <-> masterslave table join for is_master_slaved, was terrible slow.
  • Removed migration of the transcode_mapping table (1.x) to mediamosa_transcode_mapping table (2.x). Is always behind on 2.x version.
  • Fixed bug in simpletest queue; if test timed-out, then the whole queue stopped.
  • Moved modules mediamosa_connector and mediamosa_development to the new mediamosa_library module.
  • Fixed storage of run simpletests in automatedsimpletest module, stored the whole result of all simpletests when test timed out.
  • Increased the transcode expire time to 3 hours.
  • Fixed problem with server setup unittest.
  • Fixed bug where in 1 out of 500 unittests would fail because the app_id was not random enough.
  • Added to migration script the new is_empty_asset value in asset-collection relation.

- Added update hook for migration of existing values is_empty_asset from asset table to asset_collection relation table.

Changed 3 years ago by robert

MediaMosa 2.2.3 (Build 924)


  • Reverted fix on /user/$user_id, will now throw 1902 (ERRORCODE_USERMAN_INVALID_USER) again when user was not found (has no quota). (See ticket #364).
  • Added mime-type detection for webm (See ticket #295).

Other changes (not ticket related).

  • Hotfix: Server status will now correctly check the servers using the URI. This however is a hotfix; servers that are installed on subdirs will not work (rare situation). Is now known bug (See ticket #367 for future fix).

Changed 3 years ago by robert

MediaMosa 2.2.4 (Build 930)


  • Added /external/status REST call for server monitoring. (See vpcore ticket #190).

Other changes (not ticket related).

  • Update hook to fix non-NULL values for parent_id in mediamosa_asset table.
  • Some notice fixes on status page.

Changed 3 years ago by robert

MediaMosa 2.2.5 (Build 939) (Release candidate 2)


  • Fixed: Escape problems with CQL search (See vpcore ticket #192).
  • Fixed: Files bigger than 256mb would get cut off at 250mb because of memory limit. (See ticket #183).

Other changes (not ticket related).

  • Fixed: Play proxy did not correctly checked asset.
  • Apache version check failure on status page is no longer fatal.
  • Added timestamp to /status REST call.

Changed 3 years ago by robert

MediaMosa 2.2.5.1 (Build 944)


  • Fixed: group_id input in /playproxy where group_id was not an array but single value. (See surfmedia ticket #24).



MediaMosa 2.2.5.2 (Build 952)


  • disabled Black Still prevention generation (Hotfix for ticket vpcore #199).



MediaMosa 2.2.5.3 (Build 956)


  • Moved code from 2.3 instant analyse to 2.2.5.x release for fixing metadata utf-8 unicode problems with ffmpeg result.

Changed 2 years ago by robert

MediaMosa 2.2.6 (Build 987) (Release candidate 3)

- Made user/$fav_user_id/favorites/delete [GET] deprecated (See ticket #3).

Other changes (not ticket related).

  • Fixed: /mediafile/uploadprogress will now work without /external in front of uri.
  • Added 'changed' for CQL for searching on changed date on asset.
  • Added 'app_id_search' for CQL for asset search.
  • Added module enable for mediamosa_library on profile.
  • MediaMosa profile: only administrators can create new accounts.
  • Rewrote hook_install_tasks_alter to be more compatible with future changes of Drupal.
  • Migrated to Drupal 7 - BETA 3.
  • Standard profile made hidden during install.
  • Bug fix in play proxy: "orig.#is_original_file = #is_original_file_true" (reported by J0ris/MediaMosa.org).

Changed 2 years ago by robert

MediaMosa 2.2.7 (Build 1006) (Release candidate 4)

  • Fixed play_proxy call; when supplying profile_id with original mediafile ID a play ticket was created to the first original mediafile found instead of the transcoded mediafile of the original that was transcoded with the given transcode profile ID. Created unit test to reproduce and fix bug. Bug reported by J0ris/MediaMosa.org. (See ticket #442).
  • Fixed; Foreign keys where not being created, broke migration script. (See ticket #423).


Other changes (not ticket related).

  • Upgraded drupal-7.0-BETA3 to drupal-7.0.RC1
  • Fixed scene timestamp where timestamp was stored as string and ended up as 0. String is now cast to integer before storage. Bug and fix reported by J0ris/MediaMosa.org
  • Renamed 'memo' user to 'mediamosa' user in install profile.

Changed 2 years ago by robert

MediaMosa 2.2.7 (build 1010) - January 6, 2011

  • Upgraded to Drupal 7.0 stable.
Note: See TracTickets for help on using tickets.