Skip to content

v6.0.3

Compare
Choose a tag to compare
@renderpci renderpci released this 03 Dec 18:37
· 4132 commits to master since this release

V6.0.3

Version [6.0.3] - 2023-11-21

Bug Fixes

  • [breaking] Fix wrong diffusion fields_separator by records_separator value in v5_component_autocomplete_hi->$_get_diffusion_value between parents
  • [breaking] Correct diffusion resolve_value inconsistency whereby merged data do not retain the group between elements
  • Solve incomplete class issues on session save for request_config_presets
  • Fix wrong image_dimensions call from class diffusion
  • Fix tool_time_machine missing date format 'date_time' in 'when' column that show only date but no time in rows list
  • Add component_date keydown event catch (stopPropagation) to prevent that validation fires page events like open search panel
  • Add component_date button_exit_edit in view_line_edit
  • Add component_select button_exit_edit in view_line
  • Fix minor CSS issue in view line and select arrows icon
  • Add component_input_text keydown event catch (stopPropagation) to prevent that validation fires page events like open search panel
  • Fix publication issue where fields_separator and records_separator was different to expected in mints->indexation (component_autocomplete_hi) numisdata833
  • Fix Ontology related term calculation where some legacy models was not resolved correctly (component_portal when component_autocomplete_hi for example). Changed in v5 and v6 Ontology to preserve compatibility
  • Fix wrong path of version.inc file in class dd_area_maintenance::update_code
  • Fix component_number CSS issues in view_line
  • Fix component_publication CSS issues in view_line
  • Fix component_radio_button CSS issues in view_line
  • Solve component_common->get_dato_paginated error when pagination offset is null. A fallback to 0 will be applied
  • Add keydown event to view_line_edit_number (component_number) to prevent to fire page events like open search panel
  • Catch invalid_page_element errors when url tipo is from component instead expected area/section/tool
  • Fix error where empty active_users->ar_user_actions generates an error in lock_components::get_active_users_full method
  • Remove no longer used 'matrix_dataframe' from install clean tables
  • Add matrix_tools to install clean tables
  • Fix error when media_common->add_file fails to move uploaded file to a non existing directory. Now, target directory is checked before move
  • Add section wrapper 'mousedown' listener to allow component de-section on click in modal windows
  • Resolve Safari issues when open new tab generates a logout
  • Fix component_3d syntax error on dump_object (viewer)
  • Add missing event_manager imports
  • Remove unused clearInterval(intervalTimer) call in service_upload
  • Fix syntax error in tool_dev_template were main_element selector was not prepend by 'self'
  • Fix login function load_finish syntax error (called before declared)
  • Fix menu tool_common.js wrong paths
  • Fix render_section_group collapse_toggle_track functions definition error
  • Fix render_tool_time_machine select_lang functions definition syntax error
  • Fix ts_object errors on get_children fire without clean_children_container active. Also fix component save event update of the tree term value
  • Solves component_text_area fn_show_button_create_fragment function issue when self.show_interface if not defined
  • Add session_save var (value false) to thesaurus edit window call
  • Change tool_common view_window policy of caller refresh from new window blur to current window focus to prevent tool upload accidental fire blur when user open his local disk files window
  • Fix ts_object error where parent arrow icon is not updated when a child is created
  • Fix JS instances bug where model resolution (using API get_element_context) do not updates lang value of the instance. Note that some components may change their lang depending on whether they are with_lang_versions or allow transliteration.
  • Fix error where multiple Thesaurus terms (like Name, Surname for persons) was not managed correctly
  • Fix pagination refresh_element errors in ts_object
  • Fix Safari issue where utils->open_window do not exec the on blur event. Reversed to window focus that seems more compatible
  • Fix component_portal issue where default input selection was applied it. Added transparent focus_first_input method to catch the calls
  • Fix section construction bug where section_record creation of section instances overwrites local database value in sections referencing itself (case actv1)
  • Fixed bug where temp sections do not save values because a type restriction in section to int. Now, int, string and null will be managed as section_id values
  • Fix missing paste event in service_autocomplete
  • Fix ts_object spinner icon CSS position error
  • Fix missing open_window import from view-default_list_pdf.js
  • Fix CSS issues of paginator in mobile context. The vertical height will be set automatically instead of using a fixed value.
  • Fix a bug in component_relation_parent where recursive parents are not calculated correctly (only two levels)
  • Add CSS limit modal label overflow to prevent overlapping with modal buttons
  • Remove ts_object v5 specific filters from 'component_relation_index'. Now, all items with model 'component_relation_index' will be rendered
  • Fix component_email input focus issues on activate when in search mode
  • Fix components focus event an CSS issues in search mode
  • Fix ts_object->get_child_data error where v5 legacy model 'component_relation_struct' was included in result, duplicating thesaurus button selectors
  • Fix component_input_text error where fallback value was not applied when permissions are < 2
  • Fix syntax error in component_image where called function open_window was not imported
  • Fix a bug in creating upload thumbnails for audio-visual content. Now, only image and PDF MIME types generate thumbnails.
  • Fix missing 'lang' situations in diffusion_sql::resolve_value
  • Fix missing 'lang' situations in component_relation_common::get_diffusion_value
  • Fix image CSS distortion in coponent_image when image source is external
  • Fix CSS error calculation modal header width
  • Fix ts_object thesaurus load children CSS issues with spinner position
  • Fix bug in component_av causing erroneous calls to 'get_default_quality'.
  • Change tool_media_versios files_info source from component data (DB) to forced read disk. Prevents outdated data in the tool about current files
  • Fix posterframe double slash on the path
  • Fix CSS flexbox removing whitespace in section_records search mode
  • Fix q_operator value issues in component_portal in search mode

Features

  • Add pagination to ts_object (Thesaurus). Limit was set default to 100 (allows to manage the list of persons)
  • Add the delete section dialog option to delete/preserve the published records. The default value is true (delete all published records of the current section).
  • Add area_maintenance widget unit_test button 'run_long_process' to check server timeouts
  • Add optimize_database process (VACUUM ANALYZE) to install class
  • Add try focus first input on ui.component.activate function. If custom definition exists, use it, else, try searching in DOM the first input/select available
  • Add component_text_area custom 'focus_first_input' function to allow focus editor area from service
  • Add component_text_area 'inline' edit for list mode. Now, a modal box is opened when user click on component value in list mode
  • Add DEDALO_PUBLICATION_CLEAN_URL feature from v5 to v6
  • Add actv1 styles to dd_grid view_indexation CSS
  • Add Ontology term duplicate
  • Add auto-focus first diffusion button when tool_diffusion is opened

Miscellaneous Tasks

  • Adds git-cliff configuration file cliff.toml
  • Update component_text_area test to evaluate null instead array on empty component values
  • Add api_engine property check before evaluate the value in build_requaest_config to prevent errors on incomplete definition user presets
  • Add section->set_component_direct_dato method checks to prevents evaluate non already defined objects
  • Rename ts_object->get_children_data method to ts_object->get_child_data to avoid name confusions with same name method from dd_ts_api
  • Update ts_object_Test class call to renamed method 'get_child_data' instead old 'get_children_data'
  • Update .gitignore file to exclude new items
  • Remove unnecessary UPDATE database action after get_active_users from class lock_components
  • Move tool time machine render time_label_node inside callback render function for better user experience
  • Add component_password check to prevent the 'demo' user from changing his password
  • Add dd_core_api save check to notify user of component save errors (when null is returned)
  • Add component_check_box tools view option to view previously hidden 'always_active' tools, like 'tool_user_admin'
  • Change wrong username demo from 'demo' to 'dedalo'
  • Update tool_propagate_component_data labels from missing register file
  • Update tool_dev_template icon
  • Updates tool_dev_template register.json file
  • Update Ontology import files
  • Fix CSS interaction with d-modal label styles. Change 'add|new' icon to light version
  • Add new MIME types
  • Add component_3d->process_uploaded_file check for data type to prevent errors on bad formed data
  • Fix CSSissue where search presets paginator took up unnecessary space
  • Add component_av->process_uploaded_file check for data type to prevent errors on bad formed data
  • Update lz-string lib from 1.4.4 to 1.4.5
  • Update js lang files from Ontology labels
  • Add component_image->process_uploaded_file check for data type to prevent errors on bad formed data
  • Add component_pdf->process_uploaded_file check for data type to prevent errors on bad formed data
  • Add component_svg->process_uploaded_file check for data type to prevent errors on bad formed data
  • Add component_text_area lang info into the label in edit mode for development purposes
  • Remove dd-modal '_hideModal' method event stopPropagation when no specific target is located. Allow to attach 'deactivate_components' to modal node to fire save modified components, etc.
  • Add 'deactivate_components' event fire to ui.attach_to_modal on user mouse down modal node. Allow save modified values
  • Increment max-height of component_text_area wrapper in list mode (default view) from 4.3rem to 6.3rem
  • Expand error notifications control to dd_utils upload function
  • Add the component_av->create_posterframe control to prevent trying to create a posterframe from a non-existing file
  • Add 'time' format to method fdiffusion_sql::split_date_range
  • Change tool_diffusion related_model calculation to use 'get_legacy_model_name_by_type' allowing to see the actual model in the panel instead of the mapped one
  • Limit height of components_list_container to prevent very large vertical scroll (search list of section components)
  • Remove the unused AVObj class and the calls to it
  • Change the default posterframe size from 720x404 to 1280x720
  • Add diffusion 'split_date_range' date format 'date' as "Y-m-d"

Performance

  • Improve component_geolocation parallel dependencies load (leaflet, geoman, turf, iro)

Refactor

  • Unifies open window blur event as callback for many components
  • Moves page method 'deactivate_components' to component_common fora easy import and access

Revert

  • Revert catch invalid_page_element errors when url tipo is from component instead expected area/section/tool because block component players like component_av
  • Remove Safari new window restrictions
  • Restore section_tipo and section_id source from wrap instead changed not reliable button_obj dataset in ts_object->show_component_in_ts_object

Styling

  • Makes more es-link friendly js code ad definitions
  • Unified window.open calls to use centralized utils.open_window
  • Tab code in render search dates

Testing

  • Add test_unit component_relation_common_test class

Change

  • Improve maintenance widget 'lock_components' adding section label, component model and component label information

Remove

  • Deleted unused minified file tool_import_rdf-min.js

Security

  • Locked activity section save from API