Skip to content

v6.3.0

Compare
Choose a tag to compare
@renderpci renderpci released this 09 Dec 18:34
· 27 commits to master since this release

[6.3.0] - 2024-12-09

🥳 🎉 People have the power!!!! (and only one can remain... ;)

This update represents a historic change: the unification of the people sections.

Important

This update will change your data, it will move People rsc194 records to People under studyrsc197 changing the section_id of People data.
This update follow the plan defined in agora, please read it previously carefully.
After update. Remove access to People rsc194 for all users to keep section without new data. It will be removed in next ontology updates.

Bug Fixes

  • [breaking] Fix renamed DEDALO_DIFFUSION_TIPO tipo error (dd_tipos) where diffusion domain is not found
  • [breaking] Fix the code error in update 6.2.9 that caused a catch 22 situation. Now, a recovery test is done from dd_core_api.start before loading the main page and the column is added if it is not ready
  • [breaking] Fix component_autocomplete error where fields_separator are not respected in diffusion (see numisdata1292)
  • Fix db_data_check::check_sequences problem where invalid tables caused unrecoverable error
  • Fix menu CSS issue where arrows were displayed vertically misaligned
  • Fix creation geo tag error in component_text_area
  • Fix ck-editor CSS issue where list styles were not displayed correctly
  • Fix error were publication get_full_fragments uses a null value to remove restricted text causing an error
  • Fix for ontology manager (v5) bug where descriptors were not being saved when a term was duplicated
  • Fix nullable condition in component_date constructor
  • Fix preset search error when the action of saving the selected preset fails after creating a new preset
  • Set unlimited search with relation sections to get the people used in text_area to assign to transcriptions.
  • Create new object data when is not set previously in get_tm_subdatum()
  • Fix tool_export error when the same component in two different sections stops drag and drop of the second one
  • Fix multi byte issues in method diffusion_sql::anonymized_name
  • Fix tool_import_marc21 error where config ISBN is mapped to rsc137 instead the correct rsc147
  • Fix tool_import_marc21 bug where dd_action was not firing correctly
  • Check if the record has data to add data to new section to identify the move
  • Fix wrong class name from area_maintenance to counter

Features

  • Add diffusion_sql::anonymized_name function to handle special case of anonymized names for people using name and surname in first chars format as JVPR
  • Add function diffusion_sql::map_locator_to_value to handle direct value map situations like "true => 1, false => 0"
  • Add Diffusion config properties to documentation (samples of diffusion configurations using Publication API v1)
  • Add new move_locator widget in area maintenance.
  • Implementation of move_locator. It add the transform locator data from all tables into new locator using a JSON file map
  • Add set_move_identification_value() in transform data class. Used to add a value to moved records to identify the movement.
  • Add replace_locator_in_string() method in change data class. Used to replace string locators in component_text_area into with new one.
  • Add replace_locator_in_tm_data() method in class transform data. Used to change the locator in time machine data.
  • Add process_locators_in_section_data() method into transform data class. Used to change locators in data components.
  • Add changes_in_locators() method in transform data class. Used to move one locator to other locator.

Miscellaneous Tasks

  • Remove tool_time_machine from tools of component_relation_parent
  • Add check to possible non defined children in ts_object::get_ar_elements()
  • Improve tool_diffusion class error handler for better process errors info
  • Add command output to backup::import_structure for easy debug
  • Add function get_base_binary_path in core_functions to get OS dependent core path
  • Add deep component_date example to `diffusion_config_properties´ documentation
  • Add some comments in transform data class for changes in locators
  • Add v6.3.0 update definition. It will change People moving records to People under study.
  • Change municipality definition for fr1 on legacy portal method get_legacy_political_map (used by "cost humà" publication) 41192 => 41193 (commune)

Refactor

  • [breaking] Refactor and improve search presets code
  • Change maintenance class set_congif_auto to set_maintenance_mode for security and usability
  • Move the transform data files into a specify directory

Change

  • [breaking] Improve locator check safe tipo and section tipo to prevent importing bad locators as UCA reporting case
  • Add RecordObj_dd capability to handle term column. used by method hierarchy::create_term()
  • Add DEDALO_UPLOAD_TMP_DIR creation directory test and curl request test to dd_init_test login sequence
  • Add dd_init_test to test unit
  • Change ontology links to new server master.dedalo.dev and new path /v5
  • Add 'slice' options to component_autocomplete_hi::$_get_diffusion_value custom_parents resolutions in an easy way selection
  • Add 'select_model' options to component_autocomplete_hi::$_get_diffusion_value custom_parents resolutions in an easy way selection
  • Change render_tool_diffusion publication button auto focus behavior. Now, is focus when is in view port for convenience
  • Update error detection in Socrata response
  • Add unified section method focus_first_input that mimics components method with same name and allow to activate the first component in the section
  • Change default logger level for SHOW_DEVELOPER in sample config file
  • Add method diffusion::get_table_tipo to resolve the table tipo from diffusion_element_tipo for given section
  • Add method diffusion::get_table_name to resolve the table name from diffusion_element_tipo for given section
  • Change Socrata class method diffusion_socrata::update_record to take care of overwriting langs and exclude columns from ontology config properties
  • Add method diffusion_sql::str_pad for convenience
  • Change the ontology version information in update 6.2.9, now the ontology upgrade will be in 6.4.0
  • Add max_execution_time control to dd_utils_api::get_process_status to prevent stop the update of process status
  • Add control to locator key in replace_locator_in_tm_data
  • Disable logger_backend_activity temporally in transform_data::changes_in_locators (it's not necessary to log millions of changes in time machine and activity tables)
  • Add search previous saved typology for People to prevent duplicates when user apply this update more than once
  • Change process status update rate from 41 to 1000 to reduce the process log file in large process (area_maintenence => update_data_version)