forked from ontoportal/ontoportal_web_ui
-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merge to master: AgroPortal release 2.8.0 #41
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
…e-wrong-page-after-search fix: bug after search : the redirect for an empty search page and hidden popup
* remove dead code * return the first concept if there is no roots * return AlertMessageComponent if skos and empty roots * revert removing missing class error in get_class helper --------- Co-authored-by: Syphax Bouazzouni <[email protected]>
… and Bug fixes (#335) * Merge pull request #281 from ontoportal-lirmm/fix-bug-in-slices-links fix bug in slices links * Merge pull request #212 from ontoportal-lirmm/fix/signup-fields-validation Fix: Signup page input fields validation * Merge pull request #214 from ontoportal-lirmm/feature/update-account-page-design Feature: Update submited ontologies and created projet sections design * Merge pull request #237 from ontoportal-lirmm/feature/ecoportal/groups-categories-administration Feature: Add categories and groups administration * Merge pull request #273 from ontoportal-lirmm/fix/bug-ANAEETHES-ontology Fix: Ontology description text display when it is a complex object not a string * Merge pull request #277 from ontoportal-lirmm/Fix-alphabetical-sorting Fix: Alphabetical sorting in the the collection members display * Fix: bug of display list submitted ontologies of account setting (#286) * fix display list of views of ontologies in Submitted ontologies #270 * fix bug of display text in alert when there is no collections (#285) fix the alert message text that is wrapping and overflowing out #266 * Merge pull request #287 from ontoportal-lirmm/fix-bug-reset-password Fix: bug of reset password * Fix bug of select list view of ontology (#289) * Add Chosen.js functionality to fix bug of select views of ontolgy * Add Chosen.js functionality for list views ontologies * fix bug of update ontology where there is no view * Refactor code * Delete ponse = @ontology.update * Merge pull request #295 from ontoportal-lirmm/Fix-display-the-list-of-concepts-in-a-collection-at-one-sight Fix: display the list of concepts in a collection at one sight * Merge pull request #291 from ontoportal-lirmm/Fix-remove-views-of-submitted-ontologies-in-account-setting Fix: Remove views ontologies in list of submitted ontologies * Merge pull request #280 from ontoportal-lirmm/Fix-Ontology-style-text-display-when-it-is-uri Fix: ontology style text display when it is uri * Merge pull request #254 from ontoportal-lirmm/feature/add-ontology-count-to-group-and-category Feature: add column ontologies count to categories and-groups admin page * Merge pull request #302 from ontoportal-lirmm/feature/migrate-fair-score-js-code Feature: Migrate fair score JS code to Stimulus controllers * fix generated bug after edit group and category (#334) --------- Co-authored-by: SirineMhedhbi <[email protected]>
* remove dead code * return the first concept if there is no roots * return AlertMessageComponent if skos and empty roots * Fix message text
…cept not in a scheme information (#355) * Fix bug of roots * fix JQuery simple tree script removing css class of elements on click * add concept tree links muted title text if skos and not in a scheme * make the concept_scheme request parameter nil if ressource is not skos * optimimze the build tree function by passing to the childs the acronym instead of requesting ontology.aconym for each child --------- Co-authored-by: Syphax Bouazzouni <[email protected]>
…lues (#356)" This reverts commit a9932ba.
* add test and appliance environment to deploy action * add PRIVATE_CONFIG_REPO environment for the deploy action * revert removing the jumphost step in deploy action * set default deploy branch for each of the environments * set the deployment rails_env to "appliance" for all the environments * use a variable for the config folder path to use in the get_config task * extract deploy ssh_options into the deploy.rb file * add test environment capistrano deploy file * make the jumpbox host and username configurable for the deployment * make PRIVATE_CONFIG_REPO default example use https with github PAT token * remove the on push in development branch auto deploy
* Update browse page design with the new design on figma * Fix the problems in the design of the browse page and make it responsive * Add the light color variable for differnet themes * Extract the ontologies section in the browse page to be the src of the turbo frame * Change the color of the turbo progress bar * Update the design of the switch component * Add the checked property to the chips component * Add the filtering logic of the browse page * Add the checked filters count in the browse page * Remove the angular from the browse page * In browse page, limit the ontology description to 3 lines and add a button show more to see the entire description * remove duplicate action changed->turbo-frame#updateFrame in the browser * add text truncate stimulus controller * replace in the browser descriptions js with a controller to show more * add timeago stimulus controller to show dates in a human readable way * add ontology contacts and format to the ontology card * remove old angular files * yarn update to install the new JS dependencies * add ontology browser page and empty state image * refactor useHistory mixin This reverts commit 719e456. * add count slot to the chips components * add small version of the loader component * add filters count by ontology * add the count slots to the chips in the browse page * use turbo streams to update ontologies result and the filters counts * add ontology browse private icon * add admin-color theme variable * add private only switch to the ontologies browser * implement the private only ontologies filter * add title tooltip for the browser filters chips * update turbo_frame component to use a custom loader * handle the case where submission publication attribute is not an array * update infinite scroll component to add custom loader and be generic * create and use tree infinite scroll component * create ontology browser card component * decrease the debounce time of the browser search input * remove no more used get_metrics_hash function * move submission filters methods to a concern module * add back to top button and counter loader to the browse page * implement and use submissions filter concern * create browser ontologies partial * update chips component to add label attribute * update tooltip controller to not show if title is empty * update browse page filters section titles * use the new chips component 'label' attribute for the browser filters * fix the wrong browser count when show private only * migrate the fair score js code to stimulus to make it work with turbo * put again the accidentally removed ontology_params method * prevent zombie submission with no ontology) bug in the browse page * fix browse page layout issues * fix unable to see full content of the filter collapsible block in the browse page * move deprecated and view cards of ontology down instead next to name * remove default margin left of the pill button component * add tooltip message to the ontology that is the view of another ontology * change the layout of the browse page to have the upload button and search in same level * add admin style classes * add interactive option for use tooltip controller * add disabled state to chips component * show the filter count loader each time changed * add released year card to the ontology cards * add the debug card to the ontologies card if user is admin --------- Co-authored-by: Bilelkihal <[email protected]>
… previews in the lookbook (#336) * Merge pull request #234 from ontoportal-lirmm/feature/update-footer-design Feature: Update footer design * Merge pull request #249 from ontoportal-lirmm/feature/update-account-page-submited-onto Feature: Update account page submitted ontologies * Merge pull request #236 from ontoportal-lirmm/feature/lookbook Feature: Add Lookbook to preview components * Merge pull request #242 from ontoportal-lirmm/feature/lookbook Feature: Add Lookbook to preview view components - fix the new version release * Merge pull request #262 from ontoportal-lirmm/feature/add-rounded-button-component-to-lookbook Feature: Add rounded button to lookbook * Merge pull request #248 from ontoportal-lirmm/feature/add-notification-message-component Feature: Add notification message component * Merge pull request #268 from ontoportal-lirmm/feature/add-submission-fields-components Feature: Add submission fields components * Merge pull request #288 from ontoportal-lirmm/feature/add-upload-ontology-components-to-lookbook Feature: Add form inputs components to lookbook * Merge pull request #284 from ontoportal-lirmm/feature/update-nested-from-input-component-design Feature: Update nested form input component design * Merge pull request #282 from ontoportal-lirmm/feature/extract-search-input-component Feature: Extract search input component * Merge pull request #296 from ontoportal-lirmm/feature/re-organize-lookbook Feature: Re organize lookbook previews * Merge pull request #305 from ontoportal-lirmm/feature/add-table-component Feature: Add table component & Migrate the views to use it * Merge pull request #312 from ontoportal-lirmm/feature/extract-search-input-component Feature: Extract search input component - follow up * Merge pull request #313 from ontoportal-lirmm/fix/nested-from-component-empty-state Fix: Nested form component empty state * Merge pull request #301 from ontoportal-lirmm/feature/add-switch-input-preview Feature: Add switch input preview * Merge pull request #304 from ontoportal-lirmm/feature/add-link-text-components Feature: Add link text components * Merge pull request #310 from ontoportal-lirmm/feature/update-select-component Feature: update select component * Merge pull request #300 from ontoportal-lirmm/feature/add-modal-link-component Feature: Add modal component preview and helpers * Merge pull request #303 from ontoportal-lirmm/feature/add-pill-button Feature: Add pill button * Merge pull request #297 from ontoportal-lirmm/feature/add-tabs-component Feature: Add tabs component * Merge pull request #306 from ontoportal-lirmm/feature/add-circle-progress-bar-component Feature: Add circle progress bar component (style, JS, code and preview) * Merge pull request #247 from ontoportal-lirmm/feature/update-agroportal-primary-color Feature: Update AgroPortal primary color * Merge pull request #319 from ontoportal-lirmm/feature/extract-form-input-components Feature: Extract form input components * Merge pull request #324 from ontoportal-lirmm/feature/add-summary-page-components Feature: Extract summary page components * Merge pull request #314 from ontoportal-lirmm/add-buttons-components-to-lookbook Feature: Add buttons components to lookbook * Feature: Add progress pages component (#328) * add progress pages component * put again the type argument for button component * fix progress pages item not center if test is long * make progress pages container take full width by default * Fix progress item position (first & last one) to be aligned with the content * fix progress item checked state to show the icon and the good background * make the progress page component preview width bigger --------- Co-authored-by: Bilel Kihal <[email protected]> * Merge pull request #259 from ontoportal-lirmm/feature/add-other-states-to-card-message-component Feature: Add warning state to card message component * Merge pull request #238 from ontoportal-lirmm/feature/update-nav-bar-design Feature: Update nav bar design * Merge pull request #331 from ontoportal-lirmm/feature/update-404-error-design Feature: Update 404 error design * Merge pull request #263 from ontoportal-lirmm/feature/update-nav-bar-design Fix: replace nav_bar css nav-link to top-nav-nav-link to prevent conflicts --------- Co-authored-by: Bilel Kihal <[email protected]>
… New metadata mode and docker images (#240) * use link text component to implement external link component * use link text component to implement internal link component * use internal and external links component in the label link component * add previews to link text components * use the table component in the ontology mappings tab * add table component (style, preview and code) * make dropdown content. with no default padding * update concept details component to use the Table and dropdown component * add concept details component preview * update collection, concept, label_xl and scheme views with the new concept details component * migrate notes table to use Table component * add pills version for the tabs component * migrate concept show to use the pill version of the tab component * add circle progress bar component (style, JS, code and preview) * add option to the tabs container to have pinned right action buttons * add the concept show tabs go to json and purl buttons pinned to in right * add to the ontology viewer tabs a language selector pinned to the right * change internal link icon in link text component * fix button component in lookbook * add secondary button to lookbook * update search input component to have form-control style by default * change agent search input to use it's Id instead of name to find it * add Jquery data table to the admin agents table * change agent search input to use it's Id instead of name to find it * update nested form component to have an empty state to send to the back * fix metadata curator not save agent update (bug still in changed_values) * add display agent in the metadata curator * handle the display of no array agents in summary page * add generate_agent_input helper to the submission helpers * fix submission save/update error state * update display agent to show agent affiliations * make select input by default not open to add values * fix text field component not using the required argument * remove the hardcoded hasCreator and publisher inputs in submission from * add concept sub_menu helpers * use sub_menu helpers in the concept browser * update collection member count redirection sub_menu to use list * install tom select * update select component with tom select * update search input component to handle custom link turbo targets * update search input component to have form-control style by default * remove no used home search controller replaced with search input * fix. ontology search input component ajax_url argument to add ?acronym= * fix home page search input style * migrate search input style from home.scss to search_input.scss * handle for agent show the case they are string * handle contact nested form empty state * add margin top and bottom for the nested form component * update nested form component to have an empty state to send to the back * handle contact nested form empty state * fix select component id * use not centred layout for the select input previews * remove the select id in the select input component template * remove is_selected_value variable in the select input component * make concept list frame not load if concept_collections param is empty * add 'data-turbo-frame':'_top' to member count link to show top loader * remove container class from the new and edit submission views * handle string errors (location file not given ) in the submission form * merge primary and secondary button in one component * remove undesired secondary button css file * add icon property to regular button component * add link type for regular button component * install and configure omniauth gems * add a helper to get omniauth_providers details * add external auth providers icons in the login in page * add oauth login action * add omniauth_token_provider helper * add outline state to the tabs component * migrate concept show to use tabs outline * migrate concept browser to use tabs outline * Add the checked property to the chips component * show by default one row in the nested from input component * Add email, password, url components to lookbook * refactor select input component template to use the rails helper * use stimulus values in select input component controller * migrate date, email, password, url and text component to inline call * fix text area component not showing the value given as argument * move date, file,text_area,text,password,url, email to one preview file * move input field component to input namespace * remove internal-link icon default height * add count slot to the chips components * add ontology viewer style file , for tabs responsiveness * fix a min width for the concept browser * update chips component to add label attribute * fix ontology viewer header not centred * handle date time field exception when value is nil * fix tabs container component type check * update chip button style * override bootstrap text-primary color * update chips button component to have optional html attributes * replace open-popup icon with popup-link icon * update ontology viewer header style and template * add ontology count_subscriptions helper * add show licence details popup action * add attribute_enforced_values helper to enforced values of an attribute * use date time field component to display the uploaded date in the header * use rounded button components in the header page for the json and edit * use chip button component for license button to popup in the header * Add icon button variation to regular button component * update the design of page not found * add info tooltip component * add header text component * disable by default <p> bottom margin every where * add card component * add image component * add list layout component * add borderless and layout fixed states for the table component * add to summary section action links and info tooltip slots * update dropdown to add empty state and use header & list components * add for field container component an html content label slot * update text area field to use span instead of p, to have less padding * add to table row component an optional css class argument * update chip button style to have the same line height in all the states * make link to modal helper use PopupLinkText component * add components helper file, regrouping helper to use component easily * Add size parameter to button component * Add color parameter to button component * Add state parameter to the button component * add slim state to the regular button component * add slim, danger, warning, disabled, noAnimarion variations to button component * groupe all buttons in one folder in the lookbook * put ontology subscribe button component preview in buttons namespace * fix function names duplication in the buttons previews and link preview * extract button loader component from regular button component * refactor regular button components to have less arguments and code duplication * set button component type by default equal 'submit' * fix buttons component default padding * fix omniauth_provider_info helper not working for github * put again the type argument for button component * fix slim state of the button loader component * make the call the to displayAnimation event triggered only if enabled * hide button icon when it's not initialized to avoid undesired padding * Feature: Add progress pages component (#328) * add progress pages component * put again the type argument for button component * fix progress pages item not center if test is long * make progress pages container take full width by default * Fix progress item position (first & last one) to be aligned with the content * fix progress item checked state to show the icon and the good background * make the progress page component preview width bigger --------- Co-authored-by: Bilel Kihal <[email protected]> * Feature: add alert component (#330) * add alert component types icons * create alert component and add to it it's logic * add alert component structure and style * Add alert component close icon * add close logic to alert component * add lookbook preview for alert component * make alert component get closed auto after a delai * add auto close option for the alert component with a configurable delay * add the option to alert component to use also the content as message * replace old alert message component usage with the new one --------- Co-authored-by: Syphax bouazzouni <[email protected]> * do the appropriate changes to the usage of the button component according to the updates we did * fix animation id problem (animation starts in the wrong button) in button component * add something went wrong page * Feature: Implement the new upload ontology form (#292) * use inline svg in file input loader component * add hint to text input component * add error state to input field component * add helper text to input field component * add notes to input field component to explain how to use it * combine text area input component with input field component * groupe inputs in one folder in the lookbook * fix style issues in input field component * refactor input field component code to remove repetition * remove the duplicated alert component preview * make the input field component generic using a the content slot * implement form date component * implement form text area component * implement form text input component * duplicate the select component to be in the "form" namespace * fix select input component inversed open_to_add_values argument usage * move and rename file input loader component to be in the form module * update select component to use InputFieldComponent to have a label * remove unsed text in NestedFormInputComponentPreview * Fix bug of select list view of ontology (#289) * Add Chosen.js functionality to fix bug of select views of ontolgy * Add Chosen.js functionality for list views ontologies * fix bug of update ontology where there is no view * Refactor code * Delete ponse = @ontology.update * fix nested form component inputs focus color to use primary variable * add upload ontology from style file * extract from upload ontology from the location partial * update upload ontology form design * make the upload ontology form button style apply also submit button * add id argument to chips components to permit having multiple chips with same name * fix label not showing for the from select component * put the correct input names in the new ontology form * replace the finish div in the new ontology form with a submit tag * use for the administrated_by input with the form select component * implement the backend create action for the new upload ontology form * fix text area component not showing the value given as argument * add the default values for the inputs in the new ontology form * extract submission_from_params method from the save_submission concern * handle new ontology upload errors in the create action * add default empty submission in the new action * add type parametre to text_input_component so we can specify type as email, number .. * make nested form component start by default by one form initialized * add URI field to the upload ontology process * add search input component * add ontology search input component re-using search-input component * re-use ontology search input component in the topnav * re-use the ontology-search-input in the home * update search-input component to make it more generic * rename view components "form" namespace to "input" * create the display namespace for the data display components * create the layout namespace for view component that structure content * use the table component in the ontology mappings tab * add table component (style, preview and code) * make dropdown content. with no default padding * update concept details component to use the Table and dropdown component * add concept details component preview * update collection, concept, label_xl and scheme views with the new concept details component * migrate notes table to use Table component * install tom select * update select component with tom select * use not centred layout for the select input previews * remove the select id in the select input component template * remove is_selected_value variable in the select input component * fix select component id * add pill button component * add loader component small option and previews * update ontology subscribe component design and add preview * move rounded button preview to the button namespace * extract modal helpers into a helper file * use the new modal helpers instead of writing the view component or frame * add option to modal to show in connect alone * add modal component style * add modal component preview * move the modal component preview into the layout namespace * Update the design of the switch component * add switch input component preview * update search input component to handle custom link turbo targets * update search input component to have form-control style by default * remove no used home search controller replaced with search input * fix. ontology search input component ajax_url argument to add ?acronym= * fix home page search input style * migrate search input style from home.scss to search_input.scss * add margin top and bottom for the nested form component * update nested form component to have an empty state to send to the back * handle contact nested form empty state * migrate the fair score js code to stimulus to make it work with turbo * remove the old fair_score.js code * fix home page responsiveness issues * fix footer responsiveness * fix nav bar responsiveness and add admin to nav items * fix home annotator/recommender section title * fix home responsiveness for small screens * add link text component * use link text component to implement popup link component * use link text component to implement external link component * use link text component to implement internal link component * use internal and external links component in the label link component * add previews to link text components * change internal link icon in link text component tmp tmp tmp tmp tmp tmp tmp tmp tmp tmp * refactor select input component template to use the rails helper * use stimulus values in select input component controller * Add email, password, url components to lookbook * use url component in upload ontology process * fix location subform selection via text on upload ontology * change date of creation by modification date field, and add comment of changes field when upload new version of an ontology * fix select input component to use the name * use the correct name for the visibility and allowed to view inputs * make ontology edit and new form use multi part * fix URI input name and value to replace ontology by submission * add disable state to input field component * make acronym field disabled when uploading a new version of an ontology * migrate the ontology picker single partial to select component * Add the checked property to the chips component * update date component with flatpicker * add disabled state to input field component * update submission helpers with the new components * refactor update ontology code to remove undesired ifs * add text field and text area components to lookbook * add select component to lookbook * add date field to the lookbook * add "inline_svg" gem to use svg in files * make the components preview container include JS cod if needed * add language field component * add link field component * add date_time field component * add license field component * add text area field component * add summary section component preview * add dropdown component * add field container component to show a label with it's value vertically * add nested form input component preview * add a pop-up with list of ontologies in group and category admin table * Revert "add a pop-up with list of ontologies in group and category admin table" This reverts commit c4b391a9d3e5272703051922bcb9495ac35297c8. * add a select to update ontologies in the pop-up edit of group in admin table * add a select to update ontologies in the pop-up edit of category in admin table * Refactor code * refactor code and fix bug * remove old undesired text area input from lookbook * add Upload file input component to lookbook * combine all input components in one globale component * remove style params from input field component * recover text area field component (after deleting it by mistake in a previous commit * add hint to text input component * add error state to input field component * add helper text to input field component * add notes to input field component to explain how to use it * combine text area input component with input field component * groupe inputs in one folder in the lookbook * make the input field component generic using a the content slot * implement form date component * implement form text area component * implement form text input component * duplicate the select component to be in the "form" namespace * move and rename file input loader component to be in the form module * update select component to use InputFieldComponent to have a label * remove unsed text in NestedFormInputComponentPreview * fix nested form component inputs focus color to use primary variable * add upload ontology from style file * extract from upload ontology from the location partial * update upload ontology form design * make the upload ontology form button style apply also submit button * add id argument to chips components to permit having multiple chips with same name * fix label not showing for the from select component * put the correct input names in the new ontology form * replace the finish div in the new ontology form with a submit tag * use for the administrated_by input with the form select component * implement the backend create action for the new upload ontology form * fix text area component not showing the value given as argument * add the default values for the inputs in the new ontology form * extract submission_from_params method from the save_submission concern * handle new ontology upload errors in the create action * add default empty submission in the new action * add type parametre to text_input_component so we can specify type as email, number .. * make nested form component start by default by one form initialized * add URI field to the upload ontology process * rename view components "form" namespace to "input" * create the display namespace for the data display components * create the layout namespace for view component that structure content * add modal component preview * move the modal component preview into the layout namespace * change internal link icon in link text component tmp tmp tmp tmp tmp tmp tmp tmp tmp tmp * add text field and text area components to lookbook * add date field to the lookbook * fix label not showing for the from select component * fix text area component not showing the value given as argument * add type parametre to text_input_component so we can specify type as email, number .. * refactor select input component template to use the rails helper * use stimulus values in select input component controller * Add email, password, url components to lookbook * use url component in upload ontology process * fix location subform selection via text on upload ontology * fix select input component to use the name * use the correct name for the visibility and allowed to view inputs * make ontology edit and new form use multi part * fix URI input name and value to replace ontology by submission * migrate the ontology picker single partial to select component * Add the checked property to the chips component * Merge remote-tracking branch 'origin/feature/update-upload-ontology' into feature/update-upload-ontology * change date of creation by modification date field, and add comment of changes field when upload new version of an ontology * add disable state to input field component * update submission helpers with the new components * refactor update ontology code to remove undesired ifs * add id parameter to input field component * replace finish button in upload ontology by the button component * Add size parameter to button component * Add color parameter to button component * Add state parameter to the button component * make finish button animated in upload ontology process * add progress pages component * put again the type argument for button component * fix progress pages item not center if test is long * migrate upload ontology form to use progress pages component * make progress pages container take full width by default * update login page button component usage to have an ID * put again the removed JS code for visibility and is a view * fix chips style padding removed from merging with the browse branch * update date input in the ontology form to use the metadata helper * fix chips style in upload ontology form * remove old new submission form from the bottom of the new ontology page * Fix select multiple items, delete icon style in select component * fix upload ontology style to have less margin bottom * extract ontology updater and saver concern form ontologies controller code * update submission create action tu update also the ontology * use AlertComponent to display ontology form error messages * create input helpers to use inputs component more easily and use them in ontology form * remove no more used style code in upload ontology style file * fix ontology form date and contact inputs not showing error message * set update ontology to true in the create action of submission controller * fix alignement of chips and button components --------- Co-authored-by: Syphax Bouazzouni <[email protected]> Co-authored-by: SirineMhedhbi <[email protected]> Co-authored-by: Sirine Mhedhbi <[email protected]> * Feature: Update summary page design (#244) * re-style persons and organizations section * add safety parameter to metrics variables * re-style identifiers bloc * relocate the projects sections with visits * modify the table of verisons' name to submissions * add the condition to the fair score bloc for logged in and non logged in users * remove contact title * remove creation text from the general information bloc * remove unecessary containers * remove the title " versions" * remove the unecessary code * remove the links bloc to replace it with the identifiers * relocate the methodology bloc * remove projects bloc and relocate it * remove duplicated code * remove static code from the competency question variable * add the date array * add the date array to show the dates section * update Gemfile.lock file * add keywords and keyclasses containers * remove unecessary margins * add the style to modal component * add the function " show dates " to ontologies controllers * remove the duplicated fair score title * remove released column from the submissions table * add prettier file * fix components index style typo issue * add pull url section in summary if user is an the ontology admin * implement projects section in the summary page * fix an issue in the alert message component not showing the content * add circle progress bar component * override bootstrap text-primary color * add submission metadata component * update summary additional metadata content to show all the attributes * add stimulus read more to package.json * show corresponding lang in the tree view * remove audience from aditionnal metadata * add download links array to the download_link function * update the summary page css * re-style the submissions table in the summary page * update the contact and release date information * chnage categories and domains to categories and subjects * remove the old contact information * change the identifier bloc to an open one * add dates bloc to summary page * add the json entry to the links bloc * add projects variables * add methodology bloc * remove visits bloc to relocate it * relocate the visits bloc * add views bloc to the summary page * Show data in platform language when lang is equal to 'all' * fix sort_by in collections and schemes * make the summary two columns bigger * hide the fair score section if not enabled or ontology is AGROVOC * make sub.publication iterable * use tooltip to show language in concept tree links * re-style the fair-score bloc with the new design * re-style fair-score bloc * Auto stash before merge of "feature/update-summary-page-design" and "origin/feature/update-summary-page-design" * re-locate the logo in the summary page * chnage additionnal metadata modal title to all metadata * align the general information and the logo * add function show-category-name to domains section * add summary page dropdown component * add summary section component * extract summary page section to partials * use display_in_multiple_languges methode to show properties in multiple langs * add tooltips to show language in tree view * change 'process_concept' method name to 'language_hash' * define 'display_in_multiple_languages' method * use 'langauge_hash' methode in collection instead of 'process_concept' * cls_id to string * use 'langauge_hash' methode in schemes instead of 'process_concept' * update tooltip controller to support position * use 'langauge_hash' methode in _list_view instead of 'process_concept' * use 'display_in_multiple_languges' to display properties * fix missing 'end' in application helper * display_in_multiple_languges in schemes * fix language_hash method name typo * check if prefLabel is nil * use tooltip to show preLabel lang in schemes * use tooltip to show preLabel lang in collections * use tooltip in collection * fix a typo display_in_multiple_languages function name * extract link_to_scheme helper for schemes tree view * extract helpers to display the collections list view * refactor language related helpers code in application_helper * add language argument to scheme and collection tree links * refactor scheme and collection helpers to make it work for mutli-langs * move submission_metadata into the application helper * extract summary page section to partials * make the summary page responsive * disable summary ontology relation network mouse zoom in/out * move fairness, submission & metrics sections of summary page to bottom * make the submissions table borderless * move see all metadata button to the summary description section bottom * update the usage of the DropdownContainer Component in summary page * fix summary ontology relation network height * use the correct submission description value instead of a placeholder * make the keyClasses of type link clickable * hide Categories and subjects of the summary page if nil or empty * migrate additional_metadata helper to SubmissionMetadataComponent * update Gemfile.lock * remove container fluid for the appliance layout * fix top_nav responsiveness width * fix design on summary page css * update fair score bloc * remove third row section in summary page * Update Fair Score score section * Add persons and organizations variables * fix summary page inline SVG icons * add natural language to the summary page description * hide ontology hasDomain if empty in the summary page * update summary page to make it work for the new keyclasses attribute * Add link component to identifiers section on the summary page * Add css to the identiders section' attributes * updates vis's * update chips button component to have optional html attributes * fix language field to show the lexvo URL if not matched * make label ajax link component use the ChipsButton component * show the go to API in the top let of the ontology viewer * remove the duplicate get_link_for_cls_ajax helper * update keywords section in the summary to use get_link_for_cls_ajax * add show_licences method * add licenses modal file * add licenses modal * put value as nil by default * add condition to license modal * add show license method to ontoloies controller * add or operation to value and content * make field container use content if given value is nil * fix summary fair score not showing because the controller was removed * fix submission edit page container layout * fix topnav raising an issue when session does not contain ontologies * unify the usage of submission_metadata everywhere * use concept_link helper in the concept show view * use ChipButton component for person & organization in summary page * fix field_container margin if using content not the given value * migrate projects and usage information summary section to use components * Remove maring in the class ontology-details-tabs * fix ontology header responsiveness issues * fix ontology-details-header-layout * fix ontology details tabs layout * fix summary page layout * fix summary page responsiveness issues * add metrics evolution popup in the summary page * fix summary page creators input margin bottom in summary page * fix submissions table dropdown button white space * Revert "Merge branch 'feature/update-browse-page-design' into stage" This reverts commit 5bffb8c6cc7f4ccdeb23babd5df7a0a7ae016252. * Revert "Merge remote-tracking branch 'refs/remotes/origin/feature/support-multilingual-part-2'" * Remove line 56/57 from .gitignore file * Delete .prettierrc * Delete depiction.svg * Delete github.svg * Delete test_visits.svg * Delete openUp.svg * add depiction section partial * add depiction section partial * Add identifier partial section * Add visits partial * Add all projects partial * add projects partial * Add views partial * Add height line on the chip button * Add condition to versionIRI prop * update chip button * Add properties tables to the ontology controller * Use partials and properties on the summary page * fix bug on the fair score section * add conditions to identifiers * add metrics evolution popup in the summary page * Merge branch 'development' into feature/update-summary-page-design * fix summary page creators input margin bottom in summary page * fix submissions table dropdown button white space * Revert "Merge branch 'feature/update-browse-page-design' into stage" This reverts commit 5bffb8c6cc7f4ccdeb23babd5df7a0a7ae016252. * Revert "Merge remote-tracking branch 'refs/remotes/origin/feature/support-multilingual-part-2'" * remove the summary logo placeholder image * fix the drodown button color * fix summary page css * add the tooltip to the dropwon container * add condition to the tooltip usage * fix the field container component * include ApplicationHelper to the summary section component * add the info_tooltip to the card tiltle * add the info_tooltip function to the application helper * add the tooltip to the submission helper * add the tooltip to components on the summary page * add tooltip info to project section * add condition to the icons on the general information section * add tooltip infot to identifiers section * create props array to the projects section * refactor the project section * fix the visits section download arrow * add tootlip to summary page * add ontology viewer style file , for tabs responsiveness * fix a min width for the concept browser * replace open-popup icon with popup-link icon * remove no more used partials in the summary page * migrate submission table to use Table component * clean summary style file and use new icons for ontology relation graph * remove no more used show_depiction and info_tooltip code * fix concept details raw section title padding * use action link slot for summary fairness and submissions sections * update fair score partial design * use component and helpers in summary page partials * migrate submission metadata component to use table component and display_attributes helper * simplify summary ontology_relations_data code * reverse metrics evolution data to have its chart in the right direction * migrate ontology relation network filter to use select input component * remove no more used icons in summary page * simplify ontologies controller summary action by using submission_metadata helper * put again methods used by the index action * handle ontologies with no submission summary page * put temporary help message in summary page section --------- Co-authored-by: Syphax Bouazzouni <[email protected]> Co-authored-by: Bilel Kihal <[email protected]> * Feature: Update edit ontology design (#320) * remove the unnecessaire variable is_selected_value from the select component haml file * update submission form content to use attributes category not display * make submission edit frame have a custom id from params * extract submission form attributes category array * fix submission from tabs style by removing the old edit-ontology-tab cls * fix edit ontology tabs style * fix edit submission error * install tippy js for the hover notes * Add see the wiki sentence in edit ontology page * replace edit ontology buttons with component button * make reset all fields button works in edit ontology page * Make input field label font size bigger (12px --> 14px) * add data attribute for select and text components * handle for the input field component the case attributes are nil * remove no more used form group component and text field component * add a label argument for nest agent input component * make summary licenses popup use attr_label instead of attribute_infos * fix tom select hidden input style to not take full width * extract useTomSelect component tom select controller * update search input component to use InputFieldComponent * update input field help text slot to support raw html display * update submission location form JS to use 'var' instead of 'const' to make it work even if the partial is re-render again in the same context (turbo frame reload) * remove old submission contact and location form partials * update ontology picker single to use select input helper * use attr_label instead of generate_attribute_label helper in the metadata curator table header * redirect ontology edit action to submission controller new or edit * replace metadata selector component with a helper method * update ontology form partial to have only ontology attributes in it * update ontology new template to add submission attributes in it directly * fix regular button display animation by adding as argument a loader id * update inputs helpers to add the arguments data, id and help * extract from ontology and submission form the metadata_help_link helper * update submission new action to redirect to the ontology new template * add submission edit_properties action for a list of submission attributes * add ontology details tab to the submission form * add metadata and submission inputs helpers files * simplify the submission form content and remove no more used helpers * show in the submission edit action the new submission form template * simplify the submission format form and use the new input helpers * make the select component inline rendered * update tooltip to use Tippy.js * add tooltip popovers for submission attribute inputs * move submission form partial to the edit template * transform EditSubmissionAttributeButtonComponent to a helper function * add the button "add new submission" to the ontology viewer header * remove no more used ontology controller update action * fix nested turbo frame to be hidden when a parent frame is busy/loading * create error_message_alert helper to display an alert with erroneous fields * add required asteriks to submission attribute that enforce existence * make the submission location form partial work for existing submission * fix submission format form partial syle * transform submission form_content the view that display update errors * fix ontology form hasDomain and group inputs that can't be reset empty * make selected_attribute? helper work for equivalent or direct attribute * move back some code logic from ontology updated concern to controllers * create render_submission_inputs helper to display inputs components * use the default template of submissions controller edit action * disable submission form categories tabs when the properties filter used * handle submission pullLocation parameter update depending of isRemote * update submission update controller to add ontology update step * fix ontology metadata curator to use the new submission form * remove submission new template, replaced with ontologies new * make attr_header_label use a custom label as argument * add title to new and edit submission buttons in the ontology viewer * put again the removed margin top of summary section only in summary page * move submission_metadata to metadata_helper and application_controller files * have custom labels for summary submission table header * hide tooltip from attribute labels in the summary section * remove the add et edit submission button in front the submissions table * remove useless ontology value in submission updater * redirect edit page to home if user not connected * remove default today value from date input --------- Co-authored-by: Bilel Kihal <[email protected]> * make the not found page message customizable depending of the error type * put again the old internal server error message with style fixing * Feature: Update browse page design (#217) * Update browse page design with the new design on figma * Fix the problems in the design of the browse page and make it responsive * Add the light color variable for differnet themes * Extract the ontologies section in the browse page to be the src of the turbo frame * Change the color of the turbo progress bar * Update the design of the switch component * Add the checked property to the chips component * Add the filtering logic of the browse page * Add the checked filters count in the browse page * Remove the angular from the browse page * In browse page, limit the ontology description to 3 lines and add a button show more to see the entire description * remove duplicate action changed->turbo-frame#updateFrame in the browser * add text truncate stimulus controller * replace in the browser descriptions js with a controller to show more * add timeago stimulus controller to show dates in a human readable way * add ontology contacts and format to the ontology card * remove old angular files * yarn update to install the new JS dependencies * add ontology browser page and empty state image * refactor useHistory mixin This reverts commit 719e45604eb6a303c5ca0fae9b34753a34f19ade. * add count slot to the chips components * add small version of the loader component * add filters count by ontology * add the count slots to the chips in the browse page * use turbo streams to update ontologies result and the filters counts * add ontology browse private icon * add admin-color theme variable * add private only switch to the ontologies browser * implement the private only ontologies filter * add title tooltip for the browser filters chips * update turbo_frame component to use a custom loader * handle the case where submission publication attribute is not an array * update infinite scroll component to add custom loader and be generic * create and use tree infinite scroll component * create ontology browser card component * decrease the debounce time of the browser search input * remove no more used get_metrics_hash function * move submission filters methods to a concern module * add back to top button and counter loader to the browse page * implement and use submissions filter concern * create browser ontologies partial * update chips component to add label attribute * update tooltip controller to not show if title is empty * update browse page filters section titles * use the new chips component 'label' attribute for the browser filters * fix the wrong browser count when show private only * migrate the fair score js code to stimulus to make it work with turbo * put again the accidentally removed ontology_params method * prevent zombie submission with no ontology) bug in the browse page * fix browse page layout issues * fix unable to see full content of the filter collapsible block in the browse page * move deprecated and view cards of ontology down instead next to name * remove default margin left of the pill button component * add tooltip message to the ontology that is the view of another ontology * change the layout of the browse page to have the upload button and search in same level * add admin style classes * add interactive option for use tooltip controller * add disabled state to chips component * show the filter count loader each time changed * add released year card to the ontology cards * add the debug card to the ontologies card if user is admin --------- Co-authored-by: Bilelkihal <[email protected]> * Feature: Show multiple languages (#252) * refactor ontology_viewer_page_name to support multiple languages * refactor sort_by in collection and schemes to support multiple languges * update ontology_viewer title * add all option in language selection * show prefLabel with the specific language in case of all languages * remove a forgotten debugger in the JS code of language change selector * revert concept details prefLabel multiple language display * show corresponding lang in the tree view * Show data in platform language when lang is equal to 'all' * fix sort_by in collections and schemes * make sub.publication iterable * use tooltip to show language in concept tree links * use display_in_multiple_languges methode to show properties in multiple langs * add tooltips to show language in tree view * change 'process_concept' method name to 'language_hash' * define 'display_in_multiple_languages' method * use 'langauge_hash' methode in collection instead of 'process_concept' * cls_id to string * use 'langauge_hash' methode in schemes instead of 'process_concept' * update tooltip controller to support position * use 'langauge_hash' methode in _list_view instead of 'process_concept' * use 'display_in_multiple_languges' to display properties * fix missing 'end' in application helper * display_in_multiple_languges in schemes * fix language_hash method name typo * check if prefLabel is nil * use tooltip to show preLabel lang in schemes * use tooltip to show preLabel lang in collections * use tooltip in collection * fix a typo display_in_multiple_languages function name * extract link_to_scheme helper for schemes tree view * extract helpers to display the collections list view * refactor language related helpers code in application_helper * add language argument to scheme and collection tree links * refactor scheme and collection helpers to make it work for mutli-langs * fix sort in tree_link_to_concept and add return first in array on language_hash methode * extract multi language helpers into a file * make display_in_multiple_languages directly do the language_hash inside * rename the helper get_concept_label to select_language_label * move the not found prefLabel alert in the prefLabel row * catch concept list error when concept label is nil * add main_language_label helper to show the concept label main language label * fix loader showed in small state by default * fix alert component text overflowing * reset turbo progress bar to blue * add id to tabs container component * extract sorted_labels helpers for schemes and collections * fix mappings new form not finding the ontology by id bu by acronym * use main_language_label helper for build_tree * use main_language_label helper in ontology_viewer_page_name * restore removed properties section content --------- Co-authored-by: Syphax Bouazzouni <[email protected]> * Feature: Add search language selector (#309) * add search language selector * add language in the ajax request * add flags to search select * Merge branch 'development' into feat/multilingual * customizing TomSelect controller * use tomselect * remove bootstrap select * SelectComponent * remove flag-icon and use his cdn instead * use flag-icon cdn * remove flag icon import statement * change id for select lang * remove << HEAD * update tom select component to use options inner HTML text to show icons * add lag-icons-rails and iso-639 gems to handle flags display and update code usage * add language selector component * remove tooltipster dependecies * fix flag size in the summary page * add selected argument to LanguageSelector component --------- Co-authored-by: Syphax Bouazzouni <[email protected]> * fix generated bug after edit group and category (#334) * Feature : create a new component to display status of submissions (#345) * Create Submissions status component to display icons * Add alert and archive icons * fix the width and height of icons * add icon parameter to info tooltip component * add spacer style css to display icon with text * Use the component in the submission table * Use icons in front of the name of each ontology on the browse page. * Add logic to render icons for each status of submissions * adapt the icons * Display icons of status only if the admin is logged * refactor ligne to test if session user is admin * Change the conditions to display icons * Add the removed code * Fix : bug feedback window (#349) * Fix bug of chips id * Remove duplicated render of the feedback action * Fix bug of feedback page not showing as Popup * remove unused images (#366) * Feature: add IT and DE internationalization for the homepage (#367) * add 'i18n-tasks' and 'deepl-rb' gems to fix and translate missing locales * add italian and german locales * fix internalization of the home, annotator, login, recommender and user form * Fix: the new homepage bugs (#370) * translate home page * fix search input (navbar and home position ) * fix nav items padding to not be stick the search input when admin * Merge branch 'feat/multilingual-ui' into stage * remove no more used help and about routes * ensure the omniauth_provider_info is get when put a string argument (#372) * Fix: the new summary page bugs (#371) * update language field component to have a better display of not valid ISO links * fix the error page image not displaying the good color * fix turbo frame error text extraction from the new errors pages * fix summary links section display to use link component * catch remaining cases when @concept is nil in the ontology viewer * fix ontology subscribe button error message not showing * show a better error message when no classes found * fix the concept dates list view to use the correct alert component * add '.svg' to the LinkText components icons * fix new ontology form error not displaying when acronym is already used * fix concept details, inSchemes and In Collection chips with no margin * not show narrower row in concept details * Fix: the new ontology form bugs (#368) * add the max date option to date inputs * show the validity date input in the ontology form if status is retired * fix in ontology form not revealed sections after not valid save * add show SKOS form information reveal in the ontologies new form * add reveal component to hide/show a content depending of a condition * use reveal component to display or hide conditional inputs in the ontology form * hide turbo frame error message when context changed (#369) * Fix: the new submission edit form bugs (#373) * add placeholder argument to select component * add option to the nested form component to have an empty row at start * fix select input id vs name mixing, making the submission_metadata_selector to not work as expected * fix select input component where we can add inputs not valid by default * fix new ontology form error state can't change acronym * fix edit ontology metadata form error state not rendering * reset agents input values to fetch there values if edit metadata on error state * fix ontology viewOf detaching from parent * re-use attr_metadata helper where possible to not call multiple time to submission_metadata endpoint taking to much time * fix submission metadata wrong categories got from the API * not show errors message inside nested inputs * extract ontology form inputs into helpers to be re-used in submission form * fix edit ontology metadata form error state not rendering * hide ontology format input advanced options * remove the display of an empty row by default for list_field_inputs * fix usage of reset_agent_attributes concern * Fix: disable pagination for the new browse page (#361) * disable pagination for the browse page * fix ontology browse sort by not selected from request params * make work show retired when unselected after been selected * disable turbo links for the ontology browser card to redirect to good page * update browse card layout to not hide the chips under the metrics cards * add again retired filter in the browse page * add the total count showing in the browse page * enable again the sort by fair score and popularity * use SquareBadge and Chips components in the ontology card * remove default sort_by by creationDate if we use the search * make the sort_by select width bigger in the browse page * Fix: the new summary page bugs - part 2 (#374) * update language field component to have a better display of not valid ISO links * fix the error page image not displaying the good color * fix turbo frame error text extraction from the new errors pages * fix summary links section display to use link component * catch remaining cases when @concept is nil in the ontology viewer * fix ontology subscribe button error message not showing * show a better error message when no classes found * fix the concept dates list view to use the correct alert component * add '.svg' to the LinkText components icons * fix new ontology form error not displaying when acronym is already used * fix concept details, inSchemes and In Collection chips with no margin * not show narrower row in concept details * fix label xl display in multilingual in concept details and label_xl show * move ontology relation network complexity to the controller * add an exception catch in the metrics evolution when an ontology metrics is nil * hide action column of concept notes and mappings table * fix the new project link after login to redirect in the correct page * fix language select to work with iso-1 or iso-3 or plain language name * fix the summary page max width to 145px * fix edit submission metadata link to target top * make clicking in the ontology browse fair score details link redirect to summary page fairness block * use bootsnap to boot the app environment faster * reset agents input values to fetch there values if edit metadata on error state * fix agent search input style * handle case agent affiliations is nil in summary page * in new ontology form auto select the first status possible * fix ontology form visiblity in private not showing additional information * disable turbo in the ontology browser card link * Fix: update ontology summary and edit pages code to adapt the change in the backend metadata (#375) * add "cancel" button to the submission edit form * fix homepage analytics to use all the analytics not only the last_month * handle the change of metadata categories re-naming * Fix: Modify the display of certain texts on home page(#357) * Modify the display of certain texts on home page * Change css of buttons * add upload white icon * add function to render formatted number * change content text in search * Add tooltip info to Fair score and change the dispaly of figures * Delete added icon and fix bug in see details * fix home page main button hover style * use localized values in the home page --------- Co-authored-by: Syphax bouazzouni <[email protected]> * Fix: changes in browse page texts (#363) * Add admin default alert * add style to alert component * Change display text and format button * change display : see more and see less * Add box-shadow to certain elements * Change text in search box * make the box-shadow of the browse page lighter * make the upload button in the browse page take all the width * use the same browser page upload button component in the home page * Change the display of alert component * change the capitalized letter * revert the addition of an argument in the alert component * make the alert message in the browse page take only 70% of the width --------- Co-authored-by: Syphax Bouazzouni <[email protected]> * Fix: Update my account page texts (#353) * Update my account page * Fix display text github * use $REST_URL instead portal_name in the api documentation link in the account page --------- Co-authored-by: Syphax Bouazzouni <[email protected]> * Fix: changes summary page texts (#364) * Update the display of texts and values * add custom labels to the properties_hash_values helper * change the display and the style of texts * Change the order and the text in section dates * add tooltip info to fair score * add infotooltip to submissions section * update info text in submissions * fix language display to be aligned in the center * pass directly the attr_metadata arguement SubmissionMetadataInput object in the attr_label helper * Change the display of text in general information * make the custom labels for metadata attributes work again --------- Co-authored-by: Syphax Bouazzouni <[email protected]> * Fix: changes in upload submission texts(#360) * Change content text * Add target to component * fix new submission form help text, to be only in two lines --------- Co-authored-by: Syphax Bouazzouni <[email protected]> * Fix: changes in edit submission page texts (#378) * Add style to SwitchInputComponent * Change the display of some texts * change the display of titles in dates section * change the text of input label * add again the default_empty_row: true option to contact_input helper * remove the submission edit page dates hard coded label , will fixed in the backend * fix switch component to use a custom header with a custom style * fix generation of boolean metadata attribute with enforce values --------- Co-authored-by: Syphax Bouazzouni <[email protected]> * Feature: Add UI tests infrastructure and Github action (#377) * add test CI * add ontologies controller tests * Fix: global issue with the 2023 Q2 release (#380) * make the recomender and annotator text bigger and have a place holder * update fair score label from N/A score to Not yet supported * remove organization name from the widgets tab title * extract the metadata help link to the settings file * remove notes tabs title * remove the subscribe button to the notes tab * add space to instance details title before the two points * fix the display of concepts if skos and classes if owl * add UM logo for support logos in home page * fix support images width in the home page * Feature: Add social icons to the footer (#379) * add api icon footer * add email icon footer * add sparql icon footer * add new footer icons --------- Co-authored-by: Syphax Bouazzouni <[email protected]> * Fix: Changes in home page and new submission page (#381) * Add icons to fair score (json and api) * change format to Representation language * change twitter news by news * add ontoportal logo * fix bug of switching tabs on the summary page * Add style to ontoportal logo * Add min, max, average to fair score * Change the color of icons in login page * Change the style of "raw data" * change the style of raw data to primary color * Change the site name displayed in the browser * Delete to black line in upload mappings button * change the color of score buttons * Give all logos the same width and height * Add fairness_link to use json icon * Change the width of twitter and fair score box * change organisation to site in the locale files * adjust the json icon * Feature: Remove handlebars dependency and update ontology properties tab to use plain HTML (#346) * remove handlebars dependecy * add tab_properties route and file to use the ConceptDetailsComponent * add conditions to adapt ConceptDetailsComponent * Migrate properties file * Fix bug in url * Add the deleted %div * Creation of new PropertiesController and View * Remove all handlebars * Fix bug when an ID contains "#" so that the data can be displayed * transform properties jquery code to turbo and stimilus js * optimize the ontologies properties action to not fetch all properties --------- Co-authored-by: Syphax bouazzouni <[email protected]> * Fix: portal errors notifications (#385) * Remove the dead code and update error function * add internal_server_error function * add the letter opener config to test emails in local * add the unit test of notifier controller * Add error view to make the backtrace readable * put the letter opener in the development mode * Show the Current user or the request IP * Feature: add local api tests CI (#384) * remove old file and config no more used * add bash scripts to run and stop an ontoportal api using docker images * add test UI against a remote api CI * add a docker build CI with a new Dockerfile * add running UI test against a local API CI * add bash script to run ontoportal web ui in dev mode or run tests * update docker compose file to not build locally and use the publisher image * update ontoportal script to add help and rewrite it using functions * allow hosts in development environment * make testportal and ontoportal have the same theme * update ontoportal script to add reset-cache option * update bioportal config sample to include ui_theme and homepage & footer configs * add a mysql healthcheck to the docker compose * fix linkfield component using a no more existent config variable * add current url in portals errors notification (#387) * Feature: add integration tests & Ontology process information alert (#386) * show ontology groups in the ontology summary page * updatr account page to show empty state of Subscriptions, Submitted and projects * don't stop the API server after running the tests * add chrome-server service to run integration test * add users creation & login flow tests * add submission creation system tests * add system tests CI * fix development environnement not raising exception * if submission status icon helper with the correct conditions * not show the ontology data section if the submission is not ready * add an alert message in summary page, to give information about this submission statueses * add remote api of Stageportal tests CI * add option to the ontoportal script to run test with a remote API * fix ontologies with no submissions summary page state * build docker images in github hub in addition of docker * add test coverage report * fix ontology viewer sections order * Feature: add user agent usages code and UI (#365) * add user agent usage code and UI * add update agents usages action and UI * fix agent search input style * show agent attributes metadata in usages form * fix concepts labels for SKOS and Ontologies * fix submission edit error state not showing agents values * hide in the agents form the organization fields if not selected * remove the enforced capitalization of agent name display * fix agents usages update with new select input interface * disable the agent delete button if the agent is used * fix the display of definitions and parent (#389) Co-authored-by: Syphax Bouazzouni <[email protected]> * Fix: summary page missing properties and fix the edit of copyRightHolder agent (#390) * show ontology groups in the ontology summary page * updatr account page to show empty state of Subscriptions, Submitted and projects * don't stop the API server after running the tests * add chrome-server service to run integration test * add users creation & login flow tests * add submission creation system tests * add system tests CI * fix development environnement not raising exception * if submission status icon helper with the correct conditions * not show the ontology data section if the submission is not ready * add an alert message in summary page, to give information about this submission statueses * add remote api of Stageportal tests CI * add option to the ontoportal script to run test with a remote API * fix ontologies with no submissions summary page state * build docker images in github hub in addition of docker * add test coverage report * fix ontology viewer sections order * fix summary icons, by adding publication, title and enforce disabled * add admin block helper * add to the ontology viewer private, hasLanguage and retired badges * add a title to the json and subscribe button to give their usages * fix summary usage and methodology properties not showing * add :award to summary page "usage" block * add :exampleIdentifier to the summary identifiers block * add ::associatedMedia, :bugDatabase, :mailingList, :uriRegexPattern to summary links block * add :toDoList and :notes to summary methodology block * add a an admin block in the summary page for the configuration metadata * lazy load the ontology view section in development mode for better perf * add the abstract to ontology summary description block * update the summary page description text to integrate multiple metadata alternative, hasLicense, prefix, namespace, metadataVoc * add ontology edit metadata tests * fix browse not working in local french * remove reset button in submission forms * fix metrics evolution popup title * add in summary page show all metrics popup * don't humanize agent name and show them as saved * fix the new hasOntologyLanguage badge for the one that are nil * fix landscape average metrics all NaN * fix metadata curator returning content missing * fix subscribe button unwatch state title * hide topnav "Recently Viewed" if empty * fix user edit form button style * add useGuidelines and copyrightHolder to the ontology licenses popup * add submission hasDomain to the summary general…
* update the maintenance page * use in the footer portal name configuration variable instead of UI_THEME * put in all metadata modal title to have the filled percentage metric * simplify the all metadata modal table to show only the filled metadata
…r paths (#464) * escape user id and include all attribute when fetched in the user paths * add bugsnag configuration to production
…t edition showing 0 usages after saving (#468) * add apikey for the ontology description icon links when needed * fix agent admin editing reseting the usage count after save
…and UI JS code migration (#432) * Feauture: Update admin page and fix google analytics (#422) * remove no more used ontologies.js file * add id argument to the alert component * justify center tabs items if no actions button are pinned_right * install latest version of Chart JS and create chart_component helper * add Analytics section to the admin page * catch the case were the analytics are not existent * Fix: Google Analytics 4 tag (#424) * revert the change in ontologies_analytics to use last month analytics * Merge pull request #271 from ncbo/feature/ga4-migration/270 Universal Analytics -> Google Analytics 4 migration * Feature: add SPARQL endpoint UI (#427) * add yasgui dependency to have a SPARQL editor * add sparql ednpoint proxy action * add SPARQL section to the admin page * add SPARQL section to the ontology viewer * Feature: add satistics page (#428) * upgrade the chart helpers to have more options as show legend, title, .. * add statistics page * add link to statistics page in home page * Fix: remove old JS dependecies (#429) * remove select2 dependency * remove jquery.tooltip dependency as not used * remove fg.menu dependency as not used * remove the usage of the of chart-js gem replaced with esbuild * remove jquery dependency scrollTo and replaced with native JS * remove no more used JS dependencies * remove no more used JS code * remove margin notes remaining code * optimize the json search action * Feature: add synchronize groups to slices button in admin page (#418) * update the js file, add button and ajax action * add synchronize_groups function and GROUPS_SYNCHRONIZE_URL url * add the route of synchronize_groups * remove old jquery validate code of groups --------- Co-authored-by: Syphax Bouazzouni <[email protected]> * Feature: Add icons to display orcid, and affiliations in agent tooltip (#420) * Add icon to display orcid, and affiliations in agent tooltip * add organization dependencies icon in agent tooltip * Feature : create a new component to display tree views (#307) * Add tree link component and refactor the code * update concept controller to use the tree component and remove old code * use tree link component for concept list by date and collection * remove old code no more used * update tree link component to be have more generic arguments * update tree view component to use tree link component * add tree component helper * make tree_infinite_scroll use tree view component * add concept tree view helper and use in concept controller to show tree * update concept list and date sorted views to use tree view component * add a card style to the schemes and collection tree views * use the tree view component for the schemes and collections * migrate properties tree to the ruby tree view component * remove no more used properties tree js code * put again the removed splitter assets blocking history to work * remove this usage of histroy.js and replace with the native one * remove jquery simple tree dependency * add tree view links controller tests --------- Co-authored-by: Syphax bouazzouni <[email protected]> * Feature: update Widgets section design to remove thickbox (#430) * remove old code of reviews feature * update widgets section style to to remove thickbox dependecy * remove jQuery block UI dependecy replaced with the Turbo progress bard * Feature: Remove Facebox from instances, admin submissions, categories, groups and mappings (#431) * migrate instances modal from facebox to turbo modal * migrate admin submission modal from facebox to turbo modal * migrate mapping modal from facebox to turbo modal * migrate categories from JS code to ruby and remove facebox usage * migrate groups admin JS code to ruby and remove the usage of facebox * remove the dependency facebox * replace js required fields validation with native html require * force popup link svg to always be filled with the primary color not dark * remove agent table list partial move its content to directly index * move admin action buttons to the the backend * migrate admin user table to backend and remove the js code * clean admin routes * migrate agents, users, groups, and categories tables to table component * remove facebox dependency files * Feature: Update search page design (#412) * search page new icons * search page new input style * search page new input and advanced options html * search page js controller * Make search result component and add it to search page * add search result subcomponent * Add search page logic * show results id correctly in search page * display ontology name and acronym correctly in search page * make search elements links work in search page * fix api query param error in search page * show search results definition correctly * make search page ui take all width * add empty state to search page * add search result component js * Filter Perflabs to take the most close to the search input in search page * use turbo rails in search page * get all the results from the search api in one page in search page * make search page filters work * Add ontology reuses logic * make details and visualize buttons work in seach page * add class reuses to search result component in search page * add reuses to result structure in search page * add reuse decendents in search page * Make search result component and add it to search page * add search result subcomponent * Add search page logic * show results id correctly in search page * display ontology name and acronym correctly in search page * make search elements links work in search page * fix api query param error in search page * show search results definition correctly * make search page ui take all width * add empty state to search page * add search result component js * Filter Perflabs to take the most close to the search input in search page * use turbo rails in search page * get all the results from the search api in one page in search page * make search page filters work * Add ontology reuses logic * make details and visualize buttons work in seach page * add class reuses to search result component in search page * add reuses to result structure in search page * add reuse decendents in search page * fix bugsnag gem configuration * simplify search result component by inferring some arguments * use d-flex bootstrap call instead options in the search result component * simplify the search parameters key naming to avoid duplication * convert all the functions the bp_search.js to search_aggregator.rb * extract details and vizualize buttons to functions, in search result component * fix ontologies filter and remove categories filter in search page * Clean search result component stimulus controller code * remove categories translation on search page * extract reveal ontologies buttons to a function in search result component * remove duplicated annotator_recommender_form function from home controller * make a generic stimulus controller for reveal by id * make a stimulus controller for reveal with double button * extent reveal component controller to combine all reveal controllers * remove stimulus reveal package * fix the display of obsolete class (#419) Co-authored-by: Syphax bouazzouni <[email protected]> * Fix: new Search page issues (#436) * fix search page query bug * fix search page filters issues * search resuses decendences reveal issues in search page * make search page multilang * Fix: home page issues (#417) Fix home page issues * Fix: content and aesthetics globally to add help text and action icons (#435) * open the link after clicking in a new tab * add the icon of service link * update the text * update the section Ontology relations network * fix the display of portal name * capitalize items in support section * add fullscreen icon * convert dates * Remove points in feeback page * fix local variables * add icones (edit/delete) in action * change the display of items in property tab * fix style of fair scores button * add a logic to open DropdownContainerComponent * use has_ontology_language_input to refactor * change the text of tooltip * change the title of modal * add help text to switch input component * add helper text in edit submissions and delete the icon of url * fix the full screen width and style * change the text in the sort by * make the admin page on the center * fix the style of some classes on the admin, browse and edit submission page * fix bug of the wrong uri in users section of admin page * add a function to generate link_title with style * add the modified line * add the removed line * Add a style to center the actions in both cases, whether the user is logged in or not. * delete the change of style in tab_container * add help text under version information in edit submission * change convert_dates into concept details component * remove convert_dates from the wrong place * move generate_link_title to right place * remove the wrong modification * add new component IconWithTooltipComponent * use the IconWithTooltipComponent to display icons with text * adjust the icon size to be compatible with all icons in the portal * remove the not used functions * update the select in edit submissions with reveal component * remove the show icon condition from summary section component * add fairness_link function into helper * Reuse fairness_link with style * add functions for edit and service action * fix submission success message typo * update reveal component to handle multiple containers * update ontology_language, visibility, status and view of to use the new reveal * rescue concept details converted date parsing exceptions * use generic variable for the colors of the ontology relation title * make the notes metadata attribute long text * add custom help text to deprecated metadata property --------- Co-authored-by: Syphax bouazzouni <[email protected]> * Feature: Update recommender page design (#433) * make radio chip component * udpate the design of recommender page inputs * make radio chip selected initially * make number component and add it to lookbook * add recommender page advanced options * add advanced options revreal to recommender page * handle recommender keywords input text area in recommender page * add results table in recommender page * add sort parameter to option component * make progress bar component * fix recommender page results section style * display recommender page results * add default sorting column in table component * heighlight the row with max final score in recommender page * highlight selected annotations in text recommendation area in recommender page * make edit work in recommender page * make filters work in recommender page * do logic of ontologies and ontologies sets on recommener page * define constraints for the inputs (mins and maxes) in recommender page * limit recommender input text size by 500 char * make insert sample text work in recommender page * add cite button in recommender page * remove get annotations button in recommender page * add recommender cite url * use stimulus values in table component * clean recommender page controllers code * add recommender page texts to local lang files * make advancced options open by default when it's not empty in recommender page * clean recommender page controllers code * remove recommender old jQuerry file * fix bioportal config test to add the new $HOME_PAGE_LOGOS * put again the custom class argument in the table component --------- Co-authored-by: Syphax Bouazzouni <[email protected]> * Feature: Add URL resolvability checker (#463) * add URL resolvability check icon component * add the resolvability check icon to link field component * optimize metadata curator result rendering by using collection * add click action event in the reveal component * extract check resolvability helpers file * add check resolvability tool page * add copy to clipboard component * use clipboard component an account copy apikey * remove unused uri.js file * add copy to clipboard option to the link fields component * fix check resolvability to do follow redirection by format * add clipboard and resolvability to concept details pages * move check_resolvability action to CheckResolvabilityController * move check_resolvability_container to components helper * fix link field component style width after adding the two action icons * fix SKOS collections colors not removing all dots (#465) * Fix: Add slider component to recommender page (#466) * clean recommender controller from unused code * Make ‘select ontologies’ before ‘max ont set’ * Maximize the limite of the input text length in recommender page (9678 char) * Add text area resize to recommender input * make range slider component * validate max_elements_set input in recommender page (valid values are 2,3,4) * Add json and annotator buttons in recommender page * Feature: Add keywords tooltip in Recommender page (#471) * Add keywords tooltip in recommender page * change annotator button text in recommender page * Fix: metadata exporter to different formats (CSV, xml, json and ntriples) (#469) * fix ontology viewer tabs style * extract content_metadata_attributes helper from submissions component * add html_safe to date time component to handle the console warnings * add metadata exporter controller * refactor metadata downloader stimulus to fix prefixes and add csv * remove show_additional_metadata action and code * humanize admin page tabs tabs titles * Feature: enable multilingual to the properties tab (#470) * enable multilingual to the properties tab * handle the case propertyid is nil error --------- Co-authored-by: SirineMhedhbi <[email protected]> Co-authored-by: Bilel Kihal <[email protected]>
* extract find_user method the user controller with correct id escaping * add user reset password test
* add link to see result details of the url resolvability check * fix vizualization widget not showing code section * fix metrics graph evolution to use chart component * re-enforce the sparql query security for no admin users * fix collection show members using the wrong params name * remove unused history routes
…w Ontologies selector & New Annotator UI page (#488) * Fix: Search page issues (#483) * fix search page typos * add icons for reuses and more from ontology buttons in search page * display each definition in a new line for serch results * Feauture: internationalization part 2 - FAIRScore details, Ontology viewer, browse, metadata curator bulk edit pages (#473) * internationalization fairescore details page * internationalization of ontology_views page * internationalization of edit ontology page * internationalization of browse page * Feature : internationalization part 3- Feedback, Visits, Concepts list and jump_to and annotator plus (#474) * internationalization of annotatorplus/index page * internationalization of notifier/feedback page * internationalization of concepts_browsers/concept_list page * internationalization of ontologies/visits page * internationalization of additional_metadata page * internationalization of concepts_browsers/jump_to page * Feature: internationalization part 4 - Submit success page and Ontology metrics, relations, submissions sections (#475) * internationalization of submit_success ontology * internationalization of ontology_submissions_section page * internationalization of ontology_relations_network page * internationalization of ontology_metrcis_section page * internationalization of scheme page * Feature: internationalization part 5 - FAIRScore, Concept tree and details , widgets, ontology description pages (#476) * internationalization ontologies/fair_score file * internationalization of submission_location_form file * internationalization of concept_tree file * internationalization of ontology_fairness_section file * internationalization of visualize file * internationalization of widgets file * Feature: internationalization part 6 - Metrics, Summary, Scheme and Virtual appliance page (#477) * internationalization of sections/metadata file * internationalization of sections/metrics file * internationalization of schemes/scheme file * internationalization of ontology_fairness_section file * internationalization of virtual_appliance/index file * Feature: internationalization part 7 - Projects page (#478) * internationalization of form projects file * internationalization of edit projects file * internationalization of new projects file * internationalization of show projects file * internationalization of admin/licenses/notice file * Feature: internationalization part 8 - groups page (#479) * internationalization of form file * internationalization of group file * internationalization of edit file * internationalization of index file * internationalization of new file * Feature: internationalization part 9 - Categories page (#481) * internationalization of form file * internationalization of group file * internationalization of edit file * internationalization of index file * internationalization of new file * internationalization of form file * internationalization of edit file * internationalization of index file * internationalization of new file * internationalization of category file * Feature: internationalization part 10 - login and statistics pages (#482) * internationalization of lost_password file * internationalization of lost_password_success file * internationalization of statistics/index file * Feature: internationalization part 11 - users page (#484) * internationalization of edit file * internationalization of show file * internationalization of index file * Feature: internationalization part 12 - notes page (#487) * internationalization of new_comment page * internationalization of note_proposal page * internationalization of note_line page * internationalization of thread page * internationalization of notes/replay pages * Feature : internationalization part 1 - Feedback, Metadata curator, Ontology new, Feedback and Home pages (#472) * internationalization of feedback pages * internationalization of home page * internationalization of new ontology page * internationalization of matadata tab file * delete insert_sample_text and add see_details * Feature : internationalization part 13 - mappings page (#489) * internationalization of count file * internationalization of form file * internationalization of show file * internationalization of loader file * internationalization of loaded_mappings file * internationalization of mapping type selector file * internationalization of show line file * internationalization of mapping table file * Feature : internationalization part 14 - agents page (#490) * internationalization of agent file * internationalization of form file * internationalization of index file * internationalization of agent_usage file * Feature: Update annotator page design (#467) * make radio chip component * udpate the design of recommender page inputs * make radio chip selected initially * make number component and add it to lookbook * add recommender page advanced options * add advanced options revreal to recommender page * handle recommender keywords input text area in recommender page * add results table in recommender page * add sort parameter to option component * make progress bar component * fix recommender page results section style * display recommender page results * add default sorting column in table component * heighlight the row with max final score in recommender page * highlight selected annotations in text recommendation area in recommender page * make edit work in recommender page * make filters work in recommender page * do logic of ontologies and ontologies sets on recommener page * define constraints for the inputs (mins and maxes) in recommender page * limit recommender input text size by 500 char * make insert sample text work in recommender page * add cite button in recommender page * remove get annotations button in recommender page * add recommender cite url * use stimulus values in table component * clean recommender page controllers code * add recommender page texts to local lang files * make advancced options open by default when it's not empty in recommender page * clean recommender page controllers code * init annotator page new design * display annotator page results * add match type in annotator page * add context to annotator results table * add results count in annotator page * Add annotator advanced options * display parents in annotator results * add score to annotator results * group contexts by concept in annotator results * remove unnecessary create method from annotator controller * goup results by class name in Annotator page * clean annotator controller code * clean annotator stimulus controller code * fix annotator page css class names * add empty state in annotator page * display annotator results counts * adding the scores of same class in annotator results * make ontologies filter work in annotator * make semantic types filter work in annotator * make prefrences filters work in annotator * make score_threshold and confidence_threshold filters work in annotator * add tooltip param to input field component * add tooltip param in select component * make fast context filter work * remove annotator old js file * fix annotator page hard coded colors * run annotator and annotatorplus with the same code * remove annotator plus old files * run ncbo annotator using the same code of annotator * remove ncbo annotator old files * put annotator page texts in local lang files * clean annotator js controller code * remove old annotator controller code * make advanced options open when it's not empty in annotator * add annotator bottom actions * remove duplicated icon rdf.svg * clean annotator stimulus controller * use dynamic apiKey in Annotator controller * extract url_to_endpoint method to application controller * make semantic groups filter work in Annotator * replace Cite Annotator and Recommender hard coded values * replace %a html tags with link_to tags in Annotator page * minimaze table component params * remove recognize partail words filter from annotator page * clean annotator controller code * pass NCBO_API_KEY in ncbo_annotator_plus * add a helping comment in annotator controller * make api params clear in annotator controller * Fix: Tests issues (#515) Fix tests issues * Fix: Auto fill ontology viw of input when we click the '+' button in summary page (#512) * auto fill ontology viw of input when coming form summary page * fix view of input in upload ontology and edit submission * Feature : internationalization part 15 - licenses, change_request, check_resolvability, errors and collection pages + change request, collections and check resolvability heplers (#491) * internationalization of licenses/form file * internationalization of change_request files * internationalization of errors files * internationalization of check_resolvability file * internationalization of collection file * internationalization of check resolvability helper * internationalization of change requests helper * internationalization of collections helper * Feature : internationalization part 16 - admin pages, footer appliance file (#493) * internationalization of admin files * internationalization of footer appliance file * Feature : internationalization part 17 - concepts and submissions pages (#495) * internationalization of concepts files * internationalization of show/concepts file * internationalization of submissions files * update of en.yml file * internationalization of submissions controller * update en.yml --------- Co-authored-by: Bilel KIHAL <[email protected]> * Feature : internationalization part 18 -Landscape, visits, properties, layout and ontologies files (#496) * internationalization of faire_score_landscape file * internationalization of notices file * internationalization of ontologies/views file * internationalization of properties/show file * internationalization of visits file * fix the bug of syntaxe in widget file * update the en.yml file * fix visits issue in home page internationalization --------- Co-authored-by: Bilel KIHAL <[email protected]> * Feature: Add an explicit search button to the search page (#504) * Auto search when we change advanced options in search page * add an explicite button in search page * remove advanced options id in search page * Fix: display of content sections in summary page by adding option to disable text truncate (#514) * add truncate option * remove duplicated code * update and use link? function --------- Co-authored-by: Bilel KIHAL <[email protected]> * Feature: make home page bubbles clickable (#513) * Feature : internationalization part 23 - Helpers: admin, agents, components, fair score, mappings, notes, ontologies, schemes and submission inputs (#503) * internationalization of admin helper * internationalization of agent helper * internationalization of fair score helper * internationalization of ontologies helper * internationalization of schemes helper * internationalization of notes helper * internationalization of mappings helper * internationalization of components helper * internationalization of submission inputs helper * update of en.yml file * remove not working translation in ontologies helper --------- Co-authored-by: Bilel KIHAL <[email protected]> Co-authored-by: Syphax bouazzouni <[email protected]> * Feature : internationalization part 19 - All components (#498) * internationalization of search input and file input component * internationalization of language selector component * internationalization of license field component * internationalization of browse card component * internationalization of ontology search component * internationalization of text area field component * internationalization of loader component * internationalization of progress pages component * internationalization of ontology subscribe button component * update the en.yml file --------- Co-authored-by: Bilel KIHAL <[email protected]> Co-authored-by: Syphax bouazzouni <[email protected]> * Feature : internationalization part 20 - Controllers: categories, groups, admin, agents, annotator, annotatorplus ,application, collections, concepts, home, label_xl, landscape + application helper (#500) * internationalization of categories controller * internationalization of groups controller * internationalization of agents controller * internationalization of annotator controller * internationalization of collections controller * internationalization of home controller * internationalization of admin controller * internationalization of application controller * internationalization of concepts controller * internationalization of landscape controller * internationalization of annotatorplus controller * internationalization of label_xl controller * update of en.yml file * internationalization of application helper --------- Co-authored-by: Bilel KIHAL <[email protected]> Co-authored-by: Syphax bouazzouni <[email protected]> * Feature : internationalization part 22 - Controllers: ontolobridge, ontologies metadata cruator, precache, projects, schemes, search, users and virtual appliance (#502) * internationalization of ontolobridge controller * internationalization of metadata cruator controller * internationalization of schemes controller * internationalization of search controller * internationalization of users controller * internationalization of projects controller * internationalization of precache controller * internationalization of virtual appliance controller * update of en.yml file --------- Co-authored-by: Bilel KIHAL <[email protected]> Co-authored-by: Syphax bouazzouni <[email protected]> * Feature : internationalization part 21 - Controllers: language, login, mappings, notes and ncbo annotator plus + MultiLanguages helper (#501) * internationalization of mappings controller * internationalization of notes controller * internationalization of login controller * internationalization of language controller * internationalization of ncbo annotator plus controller * update of en.yml file * internationalization of MultiLanguages helper * skip annotator page weird test * put back annotator page test * include translation helper in notes controller * create a class function for controllers translating * remove binding.pry in notes_controller.rb --------- Co-authored-by: Bilel KIHAL <[email protected]> Co-authored-by: Syphax bouazzouni <[email protected]> * Fix: internationalization of french part (#519) * update the fr.file * remove the duplicated keys in en.yml file * internationalization of ontologies helpers * fix the bug of missing translate error * Internationalization of remaining files * remove duplicated keys and update the en.yml file * remove duplicated keys and update the fr.yml file * fix typ in the internationalization of components.by * update bin/run_api to use the development branch ontoportal_docker --------- Co-authored-by: Syphax bouazzouni <[email protected]> * Feature: Update stageportal ui theme colors and extract svgs colors (#518) * update stageportal ui theme colors * add a loading animation to home twitter news * fix harded coded colors issues in the ui * fix selector component spacing issue * use error color css variable in the remaining hardcoded places * replace hard coded by dynamic colors in all icons --------- Co-authored-by: Syphax bouazzouni <[email protected]> * Fix: add target blank to summary page link to open in a new window (#531) * Feature: Add a "Ontoportal instances" section to point to the other portals (#524) * add the ontoportal_instances in all languages * add the logos of all portals * add the ontoportal section in home page * add PORTALS_LOGOS to config file * remove unused images * fix bug * add PORTALS_INSTANCES variable to the test config file --------- Co-authored-by: Syphax bouazzouni <[email protected]> * fix admin routes that don't work with namespace (#541) * Feature: improve search input component to add key events (#499) * make arrow up down and enter work in search input component * add search button for home and nav search --------- Co-authored-by: Syphax bouazzouni <[email protected]> * Fix: Harmonize API and UI urls in Search, Annotator and Recommender pages (#534) * create a stimulus controller to customize forms urls * harmonize search page api and ui urls * harmonize recommender api and ui urls * harmonize annotator api and ui urls * clean form url controller code * Feature: Update ontologies selector component (#508) * init ontologies selector design * ontologies selector options * display ontologies in ontologies selector * finalize ontologies selector design * put ontologies selector in the modal component * fix ontologies result display in ontologies selector * Make ontologies selector search bar work * show ontologies results count in ontologies selector * make groups filter work in ontologies selector * make filter by categories work in ontologies selector * add ontologies selector loading animation * make submission related filters work for ontologies selector * make select all work in ontologies selector * make retired ontologies and views filters work in ontologies selector * fix ontologies style in ontologies selector * add unselect all in ontologies selector * show tab selected checks count in ontologies selector * Clean ontologies selector js controller code * Add loading animation to ontologies selector * make ontology selection work in ontologies selector * add clear selection to ontologies selector * make ontologies selector component * remove duplicated cross icon in ontologies selector * clean ontologies controller code * use rails cache in ontologies selector * replace use cases of the old ontologies selector * delete old ontologies selector code * convert ontologies selector ui component into a helper * replace the usages of the ontologies selector ui component by the ontologies selector helper * replace 'selector' by 'ontologies_selector' in ontologies controller * add internationalisation to ontologies selector * remove the usage of static cache in ontologies selector * extract save and cancel buttons to a reusable helper in ontologies selector * undo extract save and cancel buttons to a reusable helper * add another type to the loader component that uses the style of the three dots * don't use display all in submissions fetching to make it faster in ontologies controller * remove ontology_picker_single code and replace its usages * give type argument in loader component a more significant value * replace ontologies selector text input by text input helper * replace ontologies selector chips components by chips components helpers * extract save and cancel buttons to helpers in the ontologies selector * fix ontologies selector name fild in search annotator and recommender page * fix text input helper label --------- Co-authored-by: Syphax bouazzouni <[email protected]> * Feature: Add contextual go to API icons in admin sections (#530) * create function to render rounded icon * use the function of rounded button into the admin sections * fix the color of rounded button icon * add api key to correct the urls * fix the style of json rouned button * rename render_rounded_button_with_style to rounded_button_component * Feature: Update ontologies selector component (#508) * init ontologies selector design * ontologies selector options * display ontologies in ontologies selector * finalize ontologies selector design * put ontologies selector in the modal component * fix ontologies result display in ontologies selector * Make ontologies selector search bar work * show ontologies results count in ontologies selector * make groups filter work in ontologies selector * make filter by categories work in ontologies selector * add ontologies selector loading animation * make submission related filters work for ontologies selector * make select all work in ontologies selector * make retired ontologies and views filters work in ontologies selector * fix ontologies style in ontologies selector * add unselect all in ontologies selector * show tab selected checks count in ontologies selector * Clean ontologies selector js controller code * Add loading animation to ontologies selector * make ontology selection work in ontologies selector * add clear selection to ontologies selector * make ontologies selector component * remove duplicated cross icon in ontologies selector * clean ontologies controller code * use rails cache in ontologies selector * replace use cases of the old ontologies selector * delete old ontologies selector code * convert ontologies selector ui component into a helper * replace the usages of the ontologies selector ui component by the ontologies selector helper * replace 'selector' by 'ontologies_selector' in ontologies controller * add internationalisation to ontologies selector * remove the usage of static cache in ontologies selector * extract save and cancel buttons to a reusable helper in ontologies selector * undo extract save and cancel buttons to a reusable helper * add another type to the loader component that uses the style of the three dots * don't use display all in submissions fetching to make it faster in ontologies controller * remove ontology_picker_single code and replace its usages * give type argument in loader component a more significant value * replace ontologies selector text input by text input helper * replace ontologies selector chips components by chips components helpers * extract save and cancel buttons to helpers in the ontologies selector * fix ontologies selector name fild in search annotator and recommender page * fix text input helper label --------- Co-authored-by: Syphax bouazzouni <[email protected]> * move the admin go to api button next to the action buttons --------- Co-authored-by: Syphax bouazzouni <[email protected]> Co-authored-by: Bilel Kihal <[email protected]> * Feature: Make the word "Ontology" configurable in all the portal (#520) * update the fr.file * remove the duplicated keys in en.yml file * internationalization of ontologies helpers * fix the bug of missing translate error * Internationalization of remaining files * remove duplicated keys and update the en.yml file * remove duplicated keys and update the fr.yml file * add the logic to replace ontology with semantic term * fix the bug of missing translation * fix the bug of missing translation * add the semantic term in it and de files * resolve the problem of translation terms * include ApplicationHelper into components.rb to use t(*args) function * add vocabulary, terminology and semantic_artefact terms in all languages * add Resource term to config file * add InternationalisationHelper * Remove the logic of configuring the ontology from the ApplicationHelper * include the InternationalisationHelper into the components.rb * fix the bug of syntax error * eliminate the use of the words ontology and semantic resource together * remove unused code * add documentation to the function * add resource term variable to bioportal config * add comment in all languages to explain how to use the resource term * handle the case of the $RESOURCE_TERM variable is not set --------- Co-authored-by: Syphax bouazzouni <[email protected]> * Feature: update metadata curator design and fix show all submissions (#551) * Feature: Update ontologies selector component (#508) * init ontologies selector design * ontologies selector options * display ontologies in ontologies selector * finalize ontologies selector design * put ontologies selector in the modal component * fix ontologies result display in ontologies selector * Make ontologies selector search bar work * show ontologies results count in ontologies selector * make groups filter work in ontologies selector * make filter by categories work in ontologies selector * add ontologies selector loading animation * make submission related filters work for ontologies selector * make select all work in ontologies selector * make retired ontologies and views filters work in ontologies selector * fix ontologies style in ontologies selector * add unselect all in ontologies selector * show tab selected checks count in ontologies selector * Clean ontologies selector js controller code * Add loading animation to ontologies selector * make ontology selection work in ontologies selector * add clear selection to ontologies selector * make ontologies selector component * remove duplicated cross icon in ontologies selector * clean ontologies controller code * use rails cache in ontologies selector * replace use cases of the old ontologies selector * delete old ontologies selector code * convert ontologies selector ui component into a helper * replace the usages of the ontologies selector ui component by the ontologies selector helper * replace 'selector' by 'ontologies_selector' in ontologies controller * add internationalisation to ontologies selector * remove the usage of static cache in ontologies selector * extract save and cancel buttons to a reusable helper in ontologies selector * undo extract save and cancel buttons to a reusable helper * add another type to the loader component that uses the style of the three dots * don't use display all in submissions fetching to make it faster in ontologies controller * remove ontology_picker_single code and replace its usages * give type argument in loader component a more significant value * replace ontologies selector text input by text input helper * replace ontologies selector chips components by chips components helpers * extract save and cancel buttons to helpers in the ontologies selector * fix ontologies selector name fild in search annotator and recommender page * fix text input helper label --------- Co-authored-by: Syphax bouazzouni <[email protected]> * fix metadata curator show all submissions options that was not working * disable metadata curator bulk edit button see if re-enable in futur * use table and button components in the curator page --------- Co-authored-by: Bilel Kihal <[email protected]> * Feature: Add view badge to the summary header section (#526) * Distinguish views on the summary page * fix image position issue in summary page * Fix: Ontoportal instances home section style issue (#552) * resolve a merge conflict in the check resolvability helper * fix ontoportal instances home section style * save the check_resolvability_message in the text variable --------- Co-authored-by: Syphax bouazzouni <[email protected]> * allow special chars in annotator's input text (#553) Co-authored-by: Syphax bouazzouni <[email protected]> * Fix: Some bugs in the pre-release 2.7.4 including internationalisation and code cleaning (#554) * remove old no more used controller * correct the casing of the imported stimulus controller * remove the internationalization of template string the search components * update internationilaztion helper to add the class method version * clean the include of internationalisation helper in some files * remove unused helper * remove the switch from the metadata curator * update the search input stimulus controller to add searchEndpoint value * clean some old usage to jquery chosen to prepare its total removal * fix project index edit button translation missing * handle the case of corrupted agents in the landscape * catch the missing translation in the overided internationalization * fix duplicated translations * complete missing translations and clean the en.yml file * complete and clean the fr.yml file * fix translation upcasing * fix internationlization not displayed well as sanitized * re-write the french translations * add edit submission french translations * Fix: pre release 2.4.7 global bugs (#556) * fix transparent home page icons * fix transparent icons in the browse page * fix summary page icons styles * Fix recommender style issues * Fix annotator style issues * Fix home fairness json link * fix edit ontology style issues * fix fair score link in summary page * fix summary page empty categories and subject * fix footer email icon link * fix summary page zoom icon * fix broken info tooltip component * display tooltip on truncated links in summary page * add tooltip to truncated groups in summary page * fix chip button icon color * fix mailing list subscription button in account page * fix browse page debug admin color issue * fix the count link in admin page for categories and groups tables * fix agent search autocomplete * fix home page recommender annotator section issue when we're in french * fix duplicated application key in the translation files * fix notes tab style * fix landscape page ontologies selector * use helpers.escape instead of CGI.escape in home_controller * don't display select collection when there is no collection * Fix O'faire summary details modal style * enforce the chips button to be inlined otherwise will break to new line * fix reverted translation after merging to development * rename fix_array_format helper show_ontology_domains --------- Co-authored-by: Syphax bouazzouni <[email protected]> * fix: running local docker api test CI * fix: login page icons size --------- Co-authored-by: Bilel Kihal <[email protected]> Co-authored-by: SirineMhedhbi <[email protected]> Co-authored-by: Bilel KIHAL <[email protected]>
…earch json icon (#563) * Fix: Annotator fast context special chars issues & statistics page syntax error (#561) * fix statistics page syntax error * update ontoportal instances home section title * fix fast context option in annotator page * remove special chars from annotator's input on submit to avoid errors * Feature: Add json button to search page (#562) * add json button ui to search page * extract json_link method from annotator controller to application controller * build the search page json link using json_link method * move the search json button down besides the advanced options button * remove this usage of api_params instead of direct params in search controller --------- Co-authored-by: Syphax Bouazzouni <[email protected]> --------- Co-authored-by: Bilel Kihal <[email protected]>
…e mappings cloud and OntoPortal URIs (#564) * Fix: Annotator fast context special chars issues & statistics page syntax error (#561) * fix statistics page syntax error * update ontoportal instances home section title * fix fast context option in annotator page * remove special chars from annotator's input on submit to avoid errors * Feature: Add json button to search page (#562) * add json button ui to search page * extract json_link method from annotator controller to application controller * build the search page json link using json_link method * move the search json button down besides the advanced options button * remove this usage of api_params instead of direct params in search controller --------- Co-authored-by: Syphax Bouazzouni <[email protected]> * Feature: Adding Content Finder Page (#511) * Adding Content Finder Page * use ontologies selector instead of the url input * Change the controller to add use the accept headers - use the Net::HTTP instead of Linked::Client::HTTP to use the accept header * use ontologies selector in the content finder page * use the rest_url helper instead of the global variable REST_URI * remove content finder link from the topnav * close the array items in navitems method that causes an error * use Faraday instead of Net::HTTP * Remove result in content_finder_controller and use this.element.textContent * use this.contentTarget.textContent instead element in the content finder * Add html view using the concept details component * use tool layout for the content finder page --------- Co-authored-by: Syphax Bouazzouni <[email protected]> * Feature: Add ontology concepts exporters to diffrent formats (xml, ntriples, turtle) (#547) * add feature to display resouce content in different formats * Add download and copy buttons to the raw data section * Add css to highlight the content of turtle and ntriples * Add the copy functionality to the resource raw data for formts: json, xml, ntriples and turtle * Remove the clipboard component and change the HTML title to Raw Data * Add clipboard component to the resource-content * Use Net::HTTP instead of Linked::Client::HTTP to include accept header * Add the content formats for instances and Properties * Remove copy_concept_content method in clipboard component * Use the highlight-js in the metadata controller and remove content_finder_controller * Remove code duplication for content formats - add content_formats method in application helper and use it for concepts, properties and instances * Remove content finder controller from index.js * Small fix: remove a condition in metadata_downloader * Add content_formats method to ontologies_helper and remove it from application_helper * Use Faraday instead of Net::HTTP * Add helpers for content finder controller * change content finder route to /ontologies/:acronym/:id/serialize/:output_format * Add concept details component to schemes and collections and fix code * rename the metadata downloader controller and remove the result value * update the concept formats tab UI to use icons and open in modal * update the content finder page code to re-use concept format code * update the content formats icons to use the primary color of the portal * extract commun code in content finder and concept formats in a concern * extract rdf highlighter component from concept format and content finder * rename the concept formats file and action to content_serlizer * in content finder don't call the backend serializer if format is html * fix the content finder container width * clean unused css code for the content finder * extract link_to_format_modal function in the concept details component * abstract the usage of a highlighter from the dependency highlight.js * update instance details page to use the concept details component --------- Co-authored-by: Syphax bouazzouni <[email protected]> * Feature: update admin page UI to use vertical tabs (#566) * create vertical_tabs component * use the vertical tabs component in the admin page * enable sort in the users admin table * fix the padding and marging of the metadata administration page * fix analytics admin page locals * fix an error in table component after rebasing the branch * remove an unused file * remove the paths escaping in the actions of user admin table * add again the link to API for the users admin page * implement for the vertical tabs the option to save the selected tab * Feature: Add indexation admin page (#567) * create vertical_tabs component * use the vertical tabs component in the admin page * add search admin page * translate the admin search tab to french * create number_input helper for Input::NumberComponent * make the regular button hide the loading state after request processed * remove an unused file * translate the search admin page to french and english * Feature: Update search input in homepage and topnav to use the indexed content (#505) * fix styling warning of flex "end" deperection * fix search input text overflowing out of the container * add search content by rdfs label in additoon of skos prefLabel * implement search redirection to the good page * use ontologies_content_autocomplete helper in homepage and topnav * add the search ontology content route * clean unused agent search code from this branch * move the code in search helper to a concern * re-integrate search input loader code to show a loader while searching * Feature: Improve Browse page performance (#572) * optimize fetched attributes in the browse page in API mode * update ontologies browse to use API or Index * add cache for the fair_score and submission endpoint * internationalize a sentence in the browse and ontologies selector views * fix browse hasFormality and isOfType filters * prfioritize API filtring over the index in the browse page * fix a bug with edit submission returning nil error on submission * Feature: Add OntoPortal tools age (#559) * add tools page * extract search input in the search page to re-use in url checker tool * internationlize the tools page * add tools link to the footer * fix the tools page block widths * add top padding to tools cards * Feature: Add concepts mappings button in search page results (#569) * add mappings to concepts search results * fix mapping count in concept page * add new more from this ontology icon * move concept_mappings_loader function to mappings helper * remove indesired comment from _concept_mappings.html.haml file * put url escape functions in a separate helper * Feature: Add search bars for the instances, properties, collections and schemes pages (#550) * remove forgotten binding.pry's from the code * add the option to the tree link component to open in modals * add type value to properties show view * create paginated search list helpers * update instances UI and add search bar * add a search bar to the properties show page * add a search bar for the collections show page * implement a search bar for the schemes show page * add search icon to the concepts search box * fix a typo in the search content concerns * move _instace_details file to _details * remove top padding from the search bar in properties and instances tree * implement selected in the paginated_list_component * use link_last_part in the tree link component to get the label from id * prioritize the label from the id in the ontology search content * remvoe top padding from search bar in the schemes and collection tree * translate missing word in the properties details view * clean the ontologies routes by defining a scope a removing duplicates * remove agent code not relevant in this branch * fix left padding of collections, schemes and properties views * fix tree autoclicking for collections, instances and schemes * move the html rendering from the search concern to helper * fix tests after changing the routes * translate missing words in the new ontologies section search bars * remove no more used instances js code * Feature: Update concept mappings table style (#574) * fix search page search button style * fix search page json button style * update concepts mappings table style * add back chip button overflow wraping in concepts mappings table * Fix: submission date and summary not ready (#576) * fix the copy of creation date on new submission * fix ontology viewer to hidde the data sections if any submission ready * prevent infinite redirection in the ontology controller show action * Feature: Improve browse page search ranking and performance (#575) * enhance the ontology search input to include ontology names * fix new instances of page rendering * add browse page search ranking if API mode * include views by default to be cached and filter them by request after * remove no more used instances of controller and helpers code * Feature: Add terms and conditions to signup and footer links (#579) * put terms and conditions check box in register page in french and english * add terms and conditions link to the config file * make the acceptation of the terms and conditions required for user registration * update the style of the register form errors * add terms and conditions links to the footer * add terms_and_conditions to login_flows_test * fix login flow integration test after adding terms and conditions * clean the config sample file --------- Co-authored-by: Syphax bouazzouni <[email protected]> * Fix: new instance search feature to filter strictly only NamedIndividual (#581) * fix the paginated list selected value ti not select on each new page * fix instance search type filter to not include everything * Feature: Dynamic routes for ontologies content dereferencement (#568) * Add uri redirection for /ontologies/:acronym/:id to the appropriate page * small fixes: remove binding.pry and return resource_id in find_type_by_search * Add copy agroportal link functionality - this functionality is using the ClipboardComponent because it works the same but differ only in the content and icon - the clipboard component has been changed to accept title and icon * redirect to content finder page when no type is valid * Updated route to use redirect action instead of show_redirection * Use default icon and title arguments in the Clipboard Component * rename and internationalize clipboard component titles * small fix: remove % from svg icon * Add the copy title to the components section in en.yml and fr.yml * Show the generated uri when user hover over the copy link icon * Make the dynamic route content negotiable - based on the accept header we will - if "text/html" we will redirect to the agroportal page - else we will call the api and get the content serialized in the format specified and return it * update serialize content to return accept_header * translate copy_original_uri and copy_portal_uri to french * reuse search content concern in uri redirection concern * remove duplicate link_last_part method * update the ontology redirection action to use ontology URI if resource_id nil * update the content serializer to translate ntriples to an html table if asked for html format * in the ontology redirection by default redirect to content finder with in html format * remove the ":" from the copy the portal URI tooltip text * change the order of the icons in the link_with_action component --------- Co-authored-by: Syphax bouazzouni <[email protected]> * Feature: Update mappings page (#538) * install D3 js and display a sample of ontology mappings bubbles * add zoom feature for mappings bubble view * fix bubble view style in mappings page * fix a scss selector in the annotator css that affects all a tags * mappings page layout * add ontologies select in mappings page * add upload new mappings in mappings page * add mappings table turbo frame * display the table view for ontology mappings * fix turbo frame issue in mappings page * Make the modal work in mappings table * improve mappings table view style * make mappings bubbles grow in a log way instead of a linear way * Highlighting mappings for the selected bubble * enable bubble deselection in mappings page * disable non highlighted bubbles in mappings page * show mappings page bubbles mappings in modal * make mappings page bubbles modal show correct values * customize mappings page bubbles tooltip * Link the table and the bubble view in mappings page * show highlighted bubbles with a gradient color related to the number of mappings * upload mappings in a separate tab * add concepts mappings to search page results * fix upload mappings tab style * display ontologies in ontologies selector * finalize ontologies selector design * put ontologies selector in the modal component * fix ontologies result display in ontologies selector * Make ontologies selector search bar work * show ontologies results count in ontologies selector * make groups filter work in ontologies selector * make filter by categories work in ontologies selector * add ontologies selector loading animation * make submission related filters work for ontologies selector * make select all work in ontologies selector * make retired ontologies and views filters work in ontologies selector * show tab selected checks count in ontologies selector * Add loading animation to ontologies selector * make ontology selection work in ontologies selector * make ontologies selector component * remove duplicated cross icon in ontologies selector * replace use cases of the old ontologies selector * convert ontologies selector ui component into a helper * replace 'selector' by 'ontologies_selector' in ontologies controller * enhance mapping page ontologies filtring style * add search page mappings count * add mappings bubble view to the ontology details page * make upload mappings work in mapping page * change seach results more ontologies button icon * fix concepts table mappings count * add a loading animation to the mappings bubble view * extract mappings page tab sections into partials * add internationalization to mappings page * clean mappings bubble view code * give more significant name for mappings ontologies table route * Clean mappings controller code * remove mappings search page part from main mappings PR * update new mapping form style * fix mappings section style and add search to its table in summary page * fix create new mapping for concept issue * fix upload mappings example style issue * update mappings ontologies table style * update the style the search filter of mappings table in mappings tab section * fix mappings bubble view modal link value * replace var by let in mappings visu stimulus controller * make hard coded mappings-bubble-view id by a dynamic * remove undesired #getLastPartOfUrl function from mappings vizu stimulus controller * extract #init_mappings_section_bubble_view() to a separate function in mappings visu stimulus controller * Add a default value for zoomRatio stimulus value in mappings visu controller * Add a default value for type stimulus value in mappings visu controller * refactor submit function in mappings visu stimulus controller * refactor select bubble method in mappings visu stimulus controller * put center_scroll method inside draw bubble method to not repeat code in mappings visu stimulus controller * refactor normalization ration function in mappings visu stimulus controller * use a better comprehensive helper for the empty modal in mappings page * add a legend for mappings bubble view * add back external mappings to mappings table view, and clean visu stimulus controller * move rest_url function to application_helper to be used by views * set table container box-sizing to not overflow if padding set * remove the new created to mappings actions and use the count action * remove the no more used loader action * move some mappings helpers and remove unused ones * use component helpers instead calling render & use reveal component * remove no more used partials in mappings * refactor and clean the mappings stimulus controller * extract from mappings stimulus the drawBubble logic in a file * fix mappings bubble view legend (bubble size) * fix search page results broken links (#583) * Fix: admin delete submission route (#585) * add back admin routes to fix delete submission * remove admin duplicated routes * Fix: Restore the new sample text of the annotator and recommender (#593) * restore the new sample text of the annotator and recommender * add french translation for annotator and recommender sample text * Fix: search results selected language (#595) * add language param to search results links * use helpers.request_lang instead of passing lang variable in search aggregator * make the selection of the closest preflabel to the query case unsensitive * Fix: new instance details page, properties selected property display and browse page ontology type filter (#596) * fix the auto selection of isOfType filter on browse page * fix search properties redirection to use propertyid not instanceid * fix admin ontologies visits sorting * fix ontologies browse page to show ontologies with no submissions * fix the sort by dates order in browse page * add apikey to the fairness cache key * show in the search box result "ontology view" for views * Feature: add a script to import or export CSV of the i18n locals (#597) * Fix: Remove duplicated ontology scheme rows (#584) * remove duplicated ontology scheme rows * move the concept details row duplication logic to filter_properties function * clean concept details component code * reject bottom set keys from leftover in concepts details component * fix skos-xl not been displayed in the raw data section * fix: summary page for ontologies with no submissions * Fix: Note thread show action (#606) * Fix undefined method error Resolves #308 * escape username when creating an ontology subscribtion * fix missing roots message for nil classes --------- Co-authored-by: Jennifer Vendetti <[email protected]> * Fix: user reset password internationalisation issue (#605) * fix user reset password internationalisation issue * get user info in reset password * fix card message component image * fix: trim the copied text in the clipboard stimulus controller (#611) * Feature: Add recommender system tests (#599) * install Webmock gem * setup recommender page test * mock recommender api results in recommender system test * add test edit text area and submit in recommender test * disable webmock after the test ends in recommender test * make add comment/proposal buttons smaller * remove non related code to recommender tests PR * put the a correct recommendations fixture * check the number of results in recommender test * check the number of the highlighted annotations in recommender test * Disable webmock before each test to insure the non mocking of the different requests * use dynamic host and apikey in recommender webmocking * Feature: add htaccess URIs redirection modal help (#580) * Add uri redirection for /ontologies/:acronym/:id to the appropriate page * small fixes: remove binding.pry and return resource_id in find_type_by_search * Add copy agroportal link functionality - this functionality is using the ClipboardComponent because it works the same but differ only in the content and icon - the clipboard component has been changed to accept title and icon * redirect to content finder page when no type is valid * Updated route to use redirect action instead of show_redirection * Use default icon and title arguments in the Clipboard Component * rename and internationalize clipboard component titles * small fix: remove % from svg icon * Add the copy title to the components section in en.yml and fr.yml * Show the generated uri when user hover over the copy link icon * Make the dynamic route content negotiable - based on the accept header we will - if "text/html" we will redirect to the agroportal page - else we will call the api and get the content serialized in the format specified and return it * update serialize content to return accept_header * translate copy_original_uri and copy_portal_uri to french * reuse search content concern in uri redirection concern * remove duplicate link_last_part method * Add htaccess functionality * Add apache and nginx instruction for htaccess redirection * Clean te code in the view file * Add OntologiesRedirectionController - remove redirect and generate_htaccess from ontologies_controller - clean code the generate_htaccess method - add "ontology_portal_uri" in @Identifiers * Regroupe routes * Make ontologies_redirection controller and refactor generate_htaccess code * Internationalization of redirection rewrite rules modal * Add note for url that has # * link contact support button to the feedback page * Change regex to redirect only url of type: /path/resource_id - for urls that has the # it will redirect to the ontology page * Add ontology redirection based on the accept header format * move the ontology redirection route to the bottom to have less priority * Change rewrite rules note using alert component * Add /ontologies/ACRONYM/download?format=FORMAT route * ontology redirection based on the accept header using /ontologies/acronym/download route * Add redirect assertion in ontologies controller test * Fix content serialization when calling /ontologies/:acronym/:id * create private function for accept header and remove ontology redirection * remove generate_rewrite_rules function * remove redirect assertion in ontologies controller test * change htaccess route to /ontologies/:acronym/htaccess * fix copy internal links in LinkFieldComponent * add raw to copy internal links in identifiers card * return all response and add text/n3 format in content serializer * escape id when redirecting to content_finder * choose the right result from the results of search content * add algorithm to choose the right accept header, not_acceptable if no format valid * add an additional security to the uri redirection to have an exact match * make the check resolvability icon clickable & redirect to the tool page * make the check resolvability extend to accept equivalent formats * move the redirection function from ontologies_controller to uri concern * fix check_resolvability_tool to redirect to the full url not only the path - the problem was because everytime it is redirecting to the uri.path and uri.path does not include the ?format parameter - add the octet-stream accept header in the accepted format for xml * add reference to the url of the original file when format not acceptable * put again the resolvability timeout to 5 secondes --------- Co-authored-by: Syphax bouazzouni <[email protected]> * Fix: Release 2.8.0 grouped issues - Summary, Concept, Notes, Mappings pages (#613) * fix hidden multiple synonyms in concept details * remove unecessary search icon from concepts, instances and schemes trees search inputs * fix the style of add comment and add proposal buttons * include page url auto in the errors page feedback form * add the selected bubble to the mappings legend tooltip * update the fix of hidden synonyms to prevent possible breaks * fix concept details raw data values alignement to use divs breaking line * fix recommender result ontology link to redirect to UI not API * fix summary ofaire tooltip breaking to a new line the card header * fix opening the concept tree view link in a new tab showing only html * fix french dates internationalization * fix edit submission up front help message in english version * handle the case of ontologies returning an error when roots are called * add no properties alert message to the ontology viewer * prevent ontology show redirection if summaryOnly show summary directly * localize the mappings vizualization legend text --------- Co-authored-by: Syphax Bouazzouni <[email protected]> * fix data tables warning issue (#624) --------- Co-authored-by: Bilel Kihal <[email protected]> Co-authored-by: Imad Bourouche <[email protected]> Co-authored-by: Jennifer Vendetti <[email protected]>
…nd Annotator issues(#632) * [ontoportal-bot] Gemfile.lock update * implement caching for the ofaire service * fix the browse page popularity sort --------- Co-authored-by: OntoPortal Bot <[email protected]>
syphax-bouazzouni
force-pushed
the
ecoportal-ontoportal-reset
branch
from
May 28, 2024 02:17
4686d65
to
2f8426e
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.