Skip to content

v6.1.4

Compare
Choose a tag to compare
@renderpci renderpci released this 29 Mar 16:57
· 3052 commits to master since this release

Version [6.1.4] - 2024-03-29

Bug Fixes

  • Check the has_dataframe property in tool_time_machine before use it.
  • Error to check if the component_instance exists into recursive_groups in search, only empty instances could be skipped
  • Fix unresolved ddo model case in class indexation_grid
  • Widget state error when non output is found received data
  • Fix component_security_access calculate_tree error on check dedalo_application_lang from session
  • Fix common->get_ar_request_config check error where section_tipo 'self' was treated as bad type
  • Fix component_image bug where fit image fail on pagination because vector_editor is already active on check
  • Fix PHP testunit situation where component_inverse save data. Now, save is blocked in component to prevent this issue
  • Fix section cases without context (when the user does not have permissions, for example)
  • Fix inconsistencies between the interface (mainly buttons) and the actual language of the application
  • Fix incorrect caller_tipo parameter passed to sections::get_instance from dd_core_api::build_json_rows causing bad service_autocomplete response in some cases (Epigraphy for example)
  • Fix syntax error where sections->get_dato checks model instead mode
  • Fix non space found scenario in common::truncate_html
  • [breaking] Fix search error when the first section_tipo is not available. Now any reliable section will be used, regardless of order
  • Check if the ts_term is present into hierarchy section before count it in get_coins_by_period
  • Fix issue where empty tool label causes an error on parse tool_common->get_structure_context (lg-vlca case)
  • Fix class installation problem where invalid table sequences were erroneous. Add controls to update matrix sequences on import data
  • Fix error in area_maintenance::check_config where regex don't take care about # symbols

Documentation

  • Add property 'sample_data' to components documentation
  • Add utoponymy tld into the config documentation
  • Update install xpdf tools to 4.05 documentation

Features

  • Add control to set parent grouper to ddo_map subdatum resolution, now it can be controlled by ddo definition in properties
  • Add debug metrics class to centralize performance info like permissions calculation, etc.
  • Add sample data to component_json. Add button 'code' to the component buttons render
  • [breaking] Add control to define if a hierarchy show it in thesaurus tree view, by default is yes
  • Add unofficial toponymy tld, utoponymy, into hierarchies definition to be installed
  • Add component_check_box 'activate all' option to easy set values (view_tools)
  • Add functions into hierarchy to create a simple schema of sections to be compared between versions of ontology
  • Add a parse to simple schema file to get the section his parents and children all with label to be used to show the changes
  • Create the simple schema with changes into the ontology comparing between old ontology and new one, write the changes into a file
  • Add API methods to get simple schema files list and get the parse of one of them
  • Add method to get the changes data from API into component_security_access
  • Add a render for changes files list selector and changes data information
  • Add sample_config DEDALO_SESSIONS_PATH and the session manager to automatically delete sessions and cache files older than 48 hours

Miscellaneous Tasks

  • Check if the component is empty before adding his value in build_json_rows, prevent insert data into invalid component
  • Check if the build element (component, section, area, etc.) has context before build it, if not return false. Prevent to build bad components in client.
  • Check if the service_time_machine build has context before build it, if not return false. Prevent to build bad service_time_machine in client.
  • Check if the element has context before add to section element and ignore it. Prevent to add bad components without context in common get_section_elements_context.
  • Prevent add components without context into the search panel (bad defined components), add and alert to user to be removed the bad component of the preset.
  • Add control to get data from database of component_info, now, the list and edit of the component_info get data from database instead calculate it directly. Take account if the component has data saved, if not do the calculation.
  • Improve the first sentence in fragments of subtitles. Now it handle the previous line as first subtitle
  • Add size control of the section_group to be adapted columns with his own size
  • Add active_tree property into hierarchies definition into install to control if the hierarchy will show into the thesaurus tree view
  • Add subtitles class unify spaces replacement from v5
  • Remove permissions calculation for API count (except users section)
  • Add area_maintenance json-value PRE style to force break new lines
  • Add component_pdf->create_image validation for source and target files
  • Increase CSS style tab padding top and bottom
  • Add metrics for search, ontology (RecordDataBoundObject) and matrix load (JSON_RecordDataBoundObject)
  • Add metrics Search free
  • Add check for context.css in section view default (in some cases could be empty)
  • Fix tool_common wrapper error when no tool_header is assigned
  • Update tool_import_files register.json file
  • Add metrics ontology_total_calls_cached
  • Add model check for section class
  • Update tool_numisdata_order_coins labels (2.0.2)
  • Check component_portal target_section before using it to prevent empty cases from causing the portal flow to be interrupted
  • Add widget calculation mdcat check for numeric values to avoid unrecoverable errors
  • Add PHP testunit test 'test_component_portal_test44' for dd_api_Test
  • Fix service_autocomplete grid CSS issue with small sizes
  • Change the property name of hierarchies definition from active_tree to active_in_thesaurus
  • Add utoponymy as default tld into the sample config
  • Add update 6.1.4 to add a new component to control the hierarchy view in the thesaurus tree, copy the active data into the new component without touching the old data.
  • Fix component_number padding issues in input value
  • Fix component_radio_button padding issues in input value
  • Fix component_select padding issues in show_on_active
  • Fix component_portal padding issues in button_remove
  • Add get_permissions_table 'dato' fallback to empty array when component_security_access data is null
  • Add active_in_thesaurus property check and control the view hierarchy into thesaurus tree when create new hierarchies
  • Add to get the simple_schema_changes_files list into the controller of component_security_access
  • Add application lang to resolution of simple schema changes labels
  • Add class backup::update_ontology dd_cache::delete_cache_files fire, to force reset cache of hierarchy tree
  • Remove HTML tags from component_check_box datalist in tools view
  • Add function 'get_dir_files' check to verify target directory exists before iterate it
  • Update dedalo6_install data base
  • Add make_backup async option to allow use in both modes, async and sync

Refactor

  • Optimize the widget get_coins_by_periods to calculate large dataset of coins (>5000 items), now the match is done calculating with the section data instead to create instances of every section and component
  • Change the tool cataloguing to get the css in properties of the button_trigger
  • [breaking] Unify access to main Dédalo config session vars
  • Add method install::get_hierarchy_typologies (read JSON file 'hierarchies_typologies.json')
  • Move function 'get_dir_files' from dd_utils_api to core_functions
  • Change the get_dir_files to use in general way, now it return the filepath with new default processor
  • Add cache control to recordObj_dd functions as get_ar_children, now is possible bypass the cache, always get the real database info, using when the data is changed in the same call
  • Moves main page styles (loading, hide, invisible) from inline to general.less
  • Add ui.load_item_with_spinner to component_security_access latest changes render

Change

  • Add request_config ddo's definition into the datalist of security access tree. Sections with source->request_config ddo_map will show his children as other sections.
  • Add mobile styles to component_security_access
  • Change maintenance_msg (add emoticon)

Security

  • Limit dd_core_api:read_raw records access
  • Re-organizes the calculation of permissions and modifies the format of the permissions table
  • Move Dédalo API response debug property 'dedalo_last_error' to conditional SHOW_DEBUG===true to prevent leak server information to client in no debug environments