Skip to content

v6.0.1

Compare
Choose a tag to compare
@renderpci renderpci released this 05 Nov 20:29
· 4404 commits to master since this release

Version 6.0.1 - 2023-10-31

Bug Fixes

  • Fix quality of component_svg into view text
  • Add avif as know format in dd_utils_api::get_known_mime_types
  • Get permissions of private value list (matrix_dd) for users, they always can read it.
  • Fix component_pdf non file case appearance icons and actions issues
  • Correct tool_media_versions error on create av versions when initial_media_path is not empty
  • Correct error where component_media_common->regenerate_common fails when data do not contains an object (bad data situations)
  • Fix component_image bug where SVG image source was not refresh properly in default edit view (switching quality in tool_media_versions)
  • Corrected component_image quality selector issue where more than one quality was displayed in the options list
  • Corrected component_image quality selector issue where more than one quality was displayed in the options list
  • Fix component_iri conform_import_data error when title or iri properties are defined but empty
  • Component_av convert use the settings when a file is upload, unified behavior with create quality version
  • Correct component_media_common issues deleting original and modified qualities
  • Fix bug where original and modified data info was deleted together instead the expected current quality only
  • SVG is deleted and created when default quality file is built or removed
  • Fix duplicity issue with quality file info in tool_media_versions
  • Fix a image height issue in section mht23, component_portal mht56
  • Fixed outdated unit test of component_image
  • Fix tool_import_dedalo_csv wrong label. Updated file register.json
  • Remove view api_response_contaniner when the user has not debuger active
  • Fix syntax error in view_tag_list_svg
  • Fix view_tag_list_svg CSS image dimensions issue
  • Prevent error when command shell_exec returns no string value and trim is applied
  • Add component_relation_parent show_interface->button_add property as false to prevent + button creation in client
  • Add missing user_id value in the tool_import_csv dir calculation for files path
  • Solve buttons_container CSS issue with z-index
  • Solve service_autocomplete CSS issue where options select appearance is not correct
  • Add component_relation_realted show_interface->button_add property as false to prevent + button creation in client
  • Fix a bug in ts_object where link_children selection failed from root nodes
  • Solve publication fallback issue (component_iri) where transliterable data for components with_lang_versions do not try to get lg-nolan value resolution

Documentation

  • Add GIT commit style info
  • Add Dédalo Services and Service Upload documentation
  • Update 'Using media components' examples because 'datalist' is substituted by 'files_info' in media components
  • Fix typo error in import documentation

Features

  • Add tool_upload publish event 'process_uploaded_file_done' triggered when both, the uploaded file and the process manager, have finished
  • Add tool_common method 'open_tool' options property 'open_as' to allow overwrite the default context value
  • Improve tool_dev_template samples with upload files examples
  • Add component_pdf support for non PDF files as original quality (.doc, .odt, .pages, etc.)
  • Add modified quality info into get_file_info to be used in component data (used in server and client)
  • Add component_image methods 'get_modified_quality', 'get_original_uploaded_file', 'get_modified_uploaded_file' for convenience
  • Add dedalo_entity to menu for convenience
  • Add dedalo_entity_id info to menu bar (from page_globals)

Miscellaneous Tasks

  • Changes environment fallback_image value from '0.jpg' to 'default.svg'
  • Changes component_av->posterframe_url default parameter 'test_file' from true (in edit mode) to false fro speed
  • Remove direct DEDALO_IMAGE_ALTERNATIVE_EXTENSIONS access form component_image. Use generic method 'get_get_alternative_extensions' instead
  • Add service_upload caller check on 'init' method (is mandatory)
  • Add more video MIME items to d_utils_api::get_known_mime_types
  • Change audiovisual configurations to get 1 second keyframe in working av versions
  • Add 'pages' MIME to known_mime_types in dd_utils_api to enable upload pages files
  • Updated .gitignore file with media directory variants like 'media_*'
  • Add a error log to show the tag needs as type
  • Add test unit phpunit.xml file to improve the control to the test files (added tools specific test)
  • Add .gitignore *.cache rule to avoid php unit cache files
  • Class dd_ts_api code clean up
  • Update phpunit version from 10.4.1 to 10.4.2

Refactor

  • Removes datalist dependence from media components. This simplifies and unifies media data management
  • Re-organize tool_media_versions files download and remove render
  • Re-organize class component_image methods for quality conversion
  • Moves add_new_element method from component_portal to component_relation_common to share the method with component_relation_children

Styling

  • Change the height of the text for svg
  • Unifies quality_selector style used by media_components
  • Adds SVG file 'default.svg' used as fallback image from environment page_globals.fallback_image
  • Add 'danger' class to 'build_install_version' widget when data version is outdated for easy update
  • Update main CSS files
  • Fix problem with height of pdf_component fallback image in edit mode
  • Fix padding issues in tool_media_versions
  • Align code into tool import rdf
  • Set image width and height to 100% in component_av list>img

Change

  • Replace ontology labels to tool labels in tool_import_files