Skip to content

v6.0.4

Compare
Choose a tag to compare
@renderpci renderpci released this 07 Dec 18:21
· 3988 commits to master since this release

V6.0.4

Version [6.0.4] - 2023-12-07

Bug Fixes

  • [breaking] Delete wrong action common.js sqo.parsed delete. SQO parsed status must be preserved across interactions. Otherwise, the SQO is parsed again.
  • Fix component_common->get_diffusion_value issue where int values generates an error on diffusion_value
  • Fix wrong subtitles path creation in class subtitles::get_subtitles_url
  • Remove component_media_common method 'get_dato' return constrain. Note that in v5 data update could be different to null|array (wondercoins update case)
  • Fix wrong posterframe_tag_url in web_data::build_fragment method (double video_id)
  • Add the label of component_portal in view tree, use properties if you want remove it
  • Revert diffusion resolve_value merge changes (mib issues from v5). To merged group, use 'merged_group' option in properties like 'actv89'
  • Add missing case 'merged_group' in diffusion_sql::resolve_value
  • Add component_relation_common::resolve_query_object_sql option to search with custom functions in inverse mode (result is false)
  • Changed the api call for sqo test in maintenance panel
  • Prevent duplicate alerts from being displayed to the user in case of failure to save
  • Fix local_db menu id conflict when logging in with different users. Added 'id_variant' page menu construction with user id when creating menu instance.
  • Fix tool_media_versions sync files issues with component_image
  • Fix media get_files_info error where original quality was duplicated
  • Fix service_autocomplete bug where local_storage_ar_id was not JSON parsed before comparing, resulting in wrong option selection.
  • Fix the problem of formulas when summarizing given empty values (widget calculation)
  • Unified ui.activate_first_component the new section creation selection (component_portal, component_select)
  • Fix component_number search issues with operators. Added 'empty value' and 'no empty' search operators
  • Add missing tld lang items: la > Latin, gl > Galician
  • Fix tool_import_rdf errors when no value (IRI) is defined
  • Fix Bibliographic reference (rsc332) error where clicking on the edit icon did not open the Zenon window
  • Fix missing external_data engine properties needed to open view/edit window (Zenon case, for example)
  • Add service_autocomplete url_trigger fallback for Zenon because property 'api_url_search' is not defined in old Ontologies (pre 28-11-2023)
  • Fix search wrapper_component style issues. Now, the width is fixed to 33% for easy remove multiple
  • Fix component_portal error where request_config was get from component instead from component context (not suitable for change mode list->edit)
  • Fix engine_section_properties empty case error
  • Fix component common regenerate_component issue where empty array [null] was not set as expected null value
  • Add search mode components context option 'parent_grouper_label' to easy view the component parent info. This helps to differentiate components with the same name like '?'
  • Fix component common regenerate_component syntax error
  • Fix component_iri title_input issue on auto-selection
  • Fix CSS issues with search tool tips. Overlapping with portal services_autocomplete
  • Add set_time_limit (3h) to tool_update_cache to prevent errors on large datasets
  • Fix SQO re-parse error when reloading the page. SQO section is now cloned before being set as session value to avoid interactions.
  • Fix login->Quit error where temporary files are not deleted on Quit
  • Fix method 'get_value_with_fallback_from_dato_full' param 'dato_full_json' constrain error. Changed to mixed type instead object|string
  • Autocomplete selector with white background doesn't show the list to choose
  • Remove wrong CSS style class line from component_portal in search mode
  • Fix transform_data::add_portal_level minor errors and syntax issues
  • Fix non tld included in config DEDALO_PREFIX_TIPOS situation when running update 6.0.2
  • Fix CSS issue where section_id column does not display the bottom line in the list
  • Fix bug in tool_indexation where the creation of a new tag note failed when component_text_area was not saved first
  • Fix component_portal bug where delete a record affects another data
  • Check and encapsulate end property to fix error when it doesn't exists
  • Check previously if the date of the RDF is a timestamp and fix the dd_date correctly
  • Removed sticky position when the portal is large, was impossible to access to the bottom information

Documentation

  • Update version of php in install documentation

Features

  • Add new time_range mode for component_date
  • Add all_project_langs fallback to component_input_text->get_diffusion_value
  • Add autocomplete property to identify the source search, and set permission to it, at least to 1 (read)
  • Add permissions inheritance into subdatum to assign read in the autocomplete searches and show target data in the portal fields
  • Add sync files feature to tool_media_versions
  • Add n_records info to ttol_update_cache response
  • Add component_number unit test. Data format is now stricter, only empty and null arrays are accepted.
  • Add view rating for component_radio_button
  • Add star svg for view rating
  • Add new method to set a dd_date properties from timestamp set_from_timestamp()
  • Add new method to check and create sections in middle of information as ref biblio or ref person create_new_resource(()
  • Add new method to check and create sections in middle of information as ref biblio or ref person create_new_resource(()
  • Add the import from RDF to ref person creating a section in middle of origin and resource as ref person

Miscellaneous Tasks

  • Add a lang fallback to diffusion::map_image_info
  • Add JSON_UNESCAPED_SLASHES to avoid adding escaped slashes to diffusion values in 'resolve_value' method
  • Add experimental filter_by_list_inverse to service_autocomplete (inactive)
  • Add comment and definition comment of autocomplete property in RQO
  • Add comment of the process to assign permissions in sections
  • Add to check if the permissions are set previously and return then in permissions of the section
  • Renamed tool_import_rdf name 'get_resource_macth' to 'get_resource_match'
  • Change method 'get_rdf_data' property '$options->ar_values' default value from null to [] to prevent evaluation errors
  • Change tool_import_rdf style: colors and loading classes
  • Change 'external_data' property by 'api_config'. Add request_config_object property 'api_config'
  • Add webp format as allowed MIME in dd_utils_api::get_known_mime_types
  • Add check file exists verification before getting file contents to prevent log warnings. If the file does not exist, it returns false
  • Add dd_cache::delete_cache_files to init_user_login_sequence to force calculate caches on login
  • Add control to prevent parse already parsed SQO objects
  • Add static cache control to dd_cache::cache_from_file method to avoid reading files more than once per script
  • Add dd_cache::delete_cache_files for section->Save to force refresh cache when section DEDALO_REGISTER_TOOLS_SECTION_TIPO is saved
  • Add tool_import_rdf auto checked option when only one is available
  • Add tool_import_rdf close modal event that refreshes the host section when closing the modal
  • Add tool_import_rdf button validate auto-focus when in DOM
  • Add tool_import_rdf refresh section when RDF data is updated
  • Remove event_manager.publish('save') when saving the component if no changes are detected
  • Add stop_on_error property to update run_scripts to allow to define that we want to stop the update process in case of error
  • Add update class option to allow objects in the script_vars
  • Add class transform_data to allow components data transformation from updates
  • Updated phpunit from 10.4.2. to 10.5.2 with composer
  • Fix CSS issues about portals content and buttons height in list

Performance

  • Add filter_by_list_fast to service_autocomplete where a full selection of the filter list is equivalent to none. Remove useless list from search in these cases

Refactor

  • Improved JSON_RecordDataBoundObject debug information on Save error. Now, query result id '0' is considered an error and notified
  • Move session cache to file cache: labels calculation, user registered tools,

Testing

  • Add test_unit component_number_test class