Skip to content

v6.2.4

Compare
Choose a tag to compare
@renderpci renderpci released this 12 Jul 19:58
· 1994 commits to master since this release

[6.2.4] - 2024-07-12

Bug Fixes

  • [breaking] Add missing caller dataframe to tool_import_dedalo_csv
  • [breaking] Fix component_text_area error where method 'get_component_indexations_term_id' do not create the indexation terms correctly to use in v6
  • [breaking] Fix section pagination error where search using children option (in MIB Catalog for example) fails on go from list to edit mode because SQO is not updated on navigate section.
  • Fix tool_import_files error when no options selector are defined causing an invalid DOM selection element
  • Fix dd_grid view indexation issues
  • Fix environment 'get_label' value non JSON decoded. Now, is decoded in server side
  • Add default values for 'window.get_label' and 'window.SHOW_DEBUG' to prevent update cache issues. They will be overwritten on set the API environment values
  • Fix component_text_area indexation value error where tools were not calculated
  • Add missing DEVELOPMENT_SERVER var on start page (used by login)
  • Fix missing fallback value for filter_section (dd_core_api::get_indexation_grid)
  • Fix invalid type string for environment lang_labels
  • Fix service_autocomplete bug where Zenon results was not display because data don't have currently mandatory mode
  • Fix ts_object.refresh_element error where root elements not take care about if element children is open or not on refresh
  • Fix class label set_static_label_vars issue where default lang labels were not calculated again on update Ontology
  • Fix ts_object 'element to hilite' issues with root terms were children are updated even if not shown
  • Fix section pagination error where 'session_save' with false value is changing the pagination of local DB data
  • Fix '../common/js/lang.json' load file redundancy
  • Fix component_iri view mini margin issues
  • Fix component_portal view line first child margin top issue (now is aligned with vertical position of other components like input text)
  • Fix component_iri bug where values with lang : 'lg-nolan' were not published. Now, a fallback is made when value is empty
  • Fix pagination issue where section new and duplicate events do not save pagination status and loosing the offset on window refresh
  • Set a fallback to object when the process property of calculation widget has not options property
  • Remove the automatic sort of component_check_box, the list is sorted in get_list_of_values function, and controlled by ontology
  • Fix search bug where q_operator was not reset correctly
  • Fix invalid offset issue in dd_core_api:.build_json_rows
  • Fix update_dato_version issue in component_pdf where old 'scalar' values are not taken into account to update dato
  • Fix component_number->set_format_form_type method error where round numeric value fails if value is not integer|double
  • Fix tools_register issues where invalid model stop execution
  • Fix transform_data::changes_in_tipos issue where null section_id crash the process. Now, types distinct from string|integer will be pontificated and ignored
  • Fix non defined property 'skip_virtuals' issue in transform_data
  • Fix rebuild_db_indexes error where json_files was not passed in the expected format
  • Remove section_group_div from get_section_elements_context (section list items used for search selection)
  • Fix non defined method scenario manage in transform_data::changes_in_tipos. Non exiting will be ignored and error log will be generated
  • Fix bug where new window sections with session_save=false don't navigate correctly after go to list and search
  • Fix issue where component_text_area method get_diffusion_value crash when try to html_entity_decode in non string values
  • Fix diffusion_sql bug where map_target_section_tipo fails if data is not as expected (array)
  • Improve diffusion save_global_table_data column values check to prevent errors if format is not as expected (array of strings)
  • Fix component_filter display issue where long lists were not being cut off, generating very long lines vertically
  • Fix component_iri issue where old string values are not managed correctly
  • Fix non posterframe scenarios in component av view edit default
  • Fix non available text editor scenarios in component_text_area. Now, editor service is checked before apply focus or scroll

Documentation

  • Add total definition in SQO documentation
  • Add group_by property to SQO documentation
  • Fix some tabs and typos in SQO documentation
  • Add nomenclature definitions for flat denominations in SQL documentation
  • Change the thesaurus dependence documentation with the new hierarchies
  • Update the change_log of documentation
  • Change properties order, fix typos and sync with the sample.config
  • Add sessions definitions in config documentation
  • Move cache manager definition documentation to sync with sample.config
  • Add explanation of check publication state documentation in diffusion
  • Fix error in the markdown
  • Fix typo in events documentation

Features

  • Add set_total method to sqo(search query object) definition
  • Add set_group_by method to sqo(search query object) definition.
  • Implement group_by to count in search and search_related classes. Now is possible specify the concept to be counted as section_tipo
  • Add function to get_calculation_data for component_info, is used to get his value in widgets of calculations in the same way than dates
  • Add range_to_days function to get the day between two dates in mdcat calculation widget
  • Add days_correction_manually function into calculation mdcat widget
  • Add data_fn property to ddo_object, it used to define the function to get data of the component
  • Add use_from_component_tipo property in get_fixed_filter, to remove the from_component_tipo of locator data to match with other components, select data used into portal
  • Create a ddo_map by default when is not defined in the ontology, ddo_map created assume that is the component to get data and is in the section_tipo and section_id of the caller.
  • Add final_total function to calculate the total amount in ex-prisoners
  • Add subtract function to subtract values from two components
  • Add get_calculation_data to component_relation_common, to obtain specific component values inside portals
  • Add show_section_id to show_interface properties, by default is true, when false remove the section_id label (not the functionality of edit button)
  • Add get_plain_text method to remove the tags and HTML of the text area. Used to search into a clean data by diffusion.

Miscellaneous Tasks

  • [breaking] Incorporates the environment data into the API start flow. Eliminates the need for a specific file (environment.js.php)
  • Improve view_indexation buttons behavior and styles
  • Change minor CSS issues in tool_diffusion.less
  • Add portal button edit title info for debug (section_tipo, section_id)
  • Fix PHP unit test issues and add some new minor test
  • Unified JS section session_key build
  • Add a JSON to replace «objet» hierarchy to object hierarchy
  • Remove unused code in the mdcat widgets
  • Improve search_Test test unit
  • Improve tool_import_dedalo_csv responsive CSS
  • Add inside_dataframe ui function
  • Improve thesaurus grid indexation CSS for mobile
  • Improve component_portal|component_dataframe view_tree CSS
  • Add transform definitions to move mdcat to dmm in v6
  • Change the display of the get_archive_state of dmm1076 widget
  • Add onelogin/php-saml composer lib
  • Update composer libraries
  • Add certs to gitignore list
  • Update login SAML files and config to allow to use in v6
  • Add specific get_diffusion_value method to component_dataframe
  • Add login->get_user_code method to easy get the current user code
  • Add missing portal legacy methods 'get_political_toponymy' and 'get_legacy_political_map' used to publication of 'cost humà'
  • Unify create and delete posterframe actions from tool_posterframe. Now, component 3D is allowed for the tool. (It is necessary to update tool_posterframe to version >= 2.0.3)

Refactor

  • [breaking] Refactor user navigation. Now, local storage for pagination limit and offset is used instead old SQO edit/list approach to preserve client and server coherence between modes and search configurations
  • Get the context and sub-context of all calling sections as now the data is always paginated and is not possible get from current data.
  • Refactor pagination from section. Add local DB table 'pagination'
  • Change the sample.config with more sense order
  • Improve component_iri view default edit interface CSS
  • Use array as main data values of calculations in mdcat widget
  • Assume array as data from components to summarize
  • Get label defined in ontology for calculations and format with a space between value and the label.
  • Change the sum_dates mdcat widget to v6 format

Revert

  • Revert dropzone lib because it doesn't work in http servers only in https
  • Revert search update caller pagination deletion

Change

  • [breaking] Change locator check way to improve errors detection. Added check_locator method and removed destruct throw
  • [breaking] Add check_locator process to every conform_import_data value. This allow to detect invalid locators on import
  • Add new dropzone lib with uuidv4
  • Rename the dropzone files
  • Set max-height to text areas to render in list mode
  • Add the restoration hierarchies of thesaurus. Changed from coXX to resXX
  • Set provisional label to full indexation tags
  • Set the check count result of pagination to false, prevent the 0 value of total could be not set.
  • Set the portal CSS selector to more generic view_mosaic
  • Remove the component_relation_index setting it as box elements
  • Set default mode to list for section count
  • Add pagination options to dd_grid. Now dd_grid could use pagination to show data.
  • Implement show_interface property to control the options of paginator
  • Add control of the total set in sqo, now when is empty the section_tipo in the sqo return 0 and when is set the total the pagination->total will set to use into the components
  • Add pagination to component_relation_index. Now the component could get his data as paginated_data and it could count the records by section or get the total references
  • Add pagination and section control to indexation grid. Now the data could be showed by section and the data is paginated to allow large datasets
  • Add total to portal pagination
  • Apply sticky functionality to the top container for view_indexation
  • Add dd_grid indexation_view label sticky
  • Set as type instead typo al maintenance widgets
  • Rename the analysis thesaurus from «resanalysis» to «labanalysis»
  • Add Historical toponymy thesaurus with «htoponymy» tld into hierarchies
  • Remap labels with more clear explanation about the import files tool
  • Change regenerate component_image policy about default quality. Now, file is always re-created when modified/original files exists
  • Force pagination local DB to update en each section build to preserve offset across navigation
  • Remove SQO local data save on menu (unnecessary)
  • Change thesaurus root terms order policy. Now, elements with order value will be sort ascendant and the rest, alphabetically by target_section_name
  • Add authority thesaurus into thematic, PROVISIONAL
  • For to update local database (indexedDB) from version 10 to 11
  • Add component_media common check file for get_diffusion_value. Now, the file is checked for existence and if it does not exist, null is returned.
  • Add curl_request property 'CURLOPT_SSL_VERIFYHOST' to avoid self signed certificates issues
  • Add tool_diffusion local storage for diffusion levels and skip publication state
  • Get value instead old v5 valor to get_calculation_data in general
  • Add caller_section_tipo to calculations functions to know how are fire the calculation, used in mdcat2605 to discriminate between minor and major ex-prisoners.
  • Add area_maintenance database_info widget normalized widget form with spinner
  • Add Ontology feature from v5: build_version_from_git_master
  • Change Ontology CSS header color to easy identify v6 Ontology
  • Improve build_version_from_git_master from Ontology
  • Add is_string check to process output value
  • Update the component_dataframe of transform mdcat to dmm
  • Change area_maintenance move_tld widget files list from radio button to check box to allow multiple selection
  • Add n_queries to area-maintenance widget database_info
  • Improve menu responsive
  • Improve ddo check debug message in get_ar_request_config
  • Add persistent value for tool_diffusion resolve levels and skip_publication_state_check for easy publish
  • Add SAML login options to v6 login. If defined PHP constant 'SAML_CONFIG', the SAML login button will be displayed
  • Add empty component context manager to common render to detect bad formed components before try to render it
  • Change login SAML load. Now, SAML files only will be loaded if config is set, removing dependence
  • Add .gitignore rules: skip dir /lib/dedalo (only used for custom legacy libs like SAML)
  • Add 'toggle_section_group_label_siblings' to section elements selection (search, tool export, etc.). Allow show/hide section group children for easy selection
  • Component_av now creates a new thumbnail on set posterframe (Nurses case)

Remove

  • Delete old restoration hierarchies