Skip to content
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: Release 2.9.1 - Agents and global bug fixes #712

Merged
merged 29 commits into from
Aug 8, 2024

Conversation

syphax-bouazzouni
Copy link
Collaborator

@syphax-bouazzouni syphax-bouazzouni commented Jul 5, 2024

Changes

Features

Bug fixes

Backend releases

imadbourouche and others added 25 commits August 9, 2024 01:21
* remove duplicate from gemfile

* add port 3000 for production to use it with ontoportal_docker

* add commands to run production correctly
* add rewrite condition in the rewrite rules

* refactor and clean code of htaccess and nginx redirection rules
* Fix ontologies custom set feature

* enhance custom set feature style

* remove duplicated action in home controller account, which is the same as show in users controller

* clean application helper ontologies selector code

* remove unecessary server calls in account page

* Remove JQuery code in accounts page

* remove repeated server call in custom ontologies features

* fix the login flow test after deleting the repeated action related to `/acount`
* fix clicking on subscribe button while being not logged in

* remove non related code to fix subscribe button issues PR

* fix subscribe button displays wrong values when using french

* replace UnWatch by unwatch

* clean subscriptions method code in ontologies controller

* Fix the color of the loader component spinning loader

* remove duplicated code in subscription button fix

* disable cache for subscription button calls

* remove invalidate cache for the user calls
)

* add response time calculation in check resolvability tool

* add other format equivalents to handle most cases of request accept header

* move the AVG time to check_resolvability_message instead of appending it

* remove the usage of  inexistent variable  in that block scope

* remove comment as the variable name is already clear

---------

Co-authored-by: Syphax Bouazzouni <[email protected]>
* add cookies action to show and save cookie state in a session

* add link button component helper

* add cookie modal view

* enhance the style of the cookies banner

---------

Co-authored-by: Bilel KIHAL <[email protected]>
…tip (#713)

* update summary page categories display to show acronym with tooltip

* fix submission flow system tests after changing their display

* make show_category return the full domain if not a category

* update the show category name to use clickable state if not a category and is a link
* make agents search field component results unlimited to only 4

* make agents cherchable by acronym, affiliations, email and home page

* Update the agent search input to display the result in this format Orga name (ACRONYM) – ROR:003vg9w96 and for persons Person Name – ORCID:0000-1524-5487-5487

* chagne display mode value type from string to boolean in search input component

* remove agents search logic from UI side and limit it to only name, acronym and identifiers

* use the endpoint '/search/agents' for the agents search input component
* Hide affiliations when the agent is an organization in the agents form

* Change the name of the function affliations? to is_organization? to make it more clear

* fix submission flows test after the fix of the PR #713

* fix agent tests after changing the behavior of displaying affiliations

---------

Co-authored-by: Syphax <[email protected]>
…type (#721)

* remove the restriction for certain submission fields to create only organization type or person type agents

* make orcid or ror default input based on agent type in agent form

* fix disappeared signup form icons

* fix nested agents creation

* fix agent form not filling saved identifier values

* create an agent identifier input helper

* disable cookie banner in development and test  mode

* fix agent tests after enforcing ROR for organizations

---------

Co-authored-by: Syphax <[email protected]>
* Fix propertyId param auto added to summary page URL

* remove added PropertyId param to the URL when opening summary page

* Fix auto added propertyId to the summary page URL

* Fix auto added instanceid to the summary page URL

* Fix auto added propertyId to the summary page URL

* add back the constraint of making frames loading lazy while env.development

* make by default properties section displays the first property

* make by default instances section displays the first instance

* change the name of the function instances_tree_first_id by search_first_instance_id

* add a clarification comment in search_first_instance_id method

* move get_property function to properties controller

---------

Co-authored-by: Syphax <[email protected]>
* accept different orcid forms in agents creation/update form

* humanize empty values errors in creating and updating agents

* accept ror identifier in all forms and handle it in the UI

* humanize identifier already used when updating agent

* put agent form errors in local lang files

* extract generate agents errors function

* remove ror/orcid ui validators

* enhance invalid agents identifiers url error message
* disable email displaying in agents chips tooltip

* display agent acronym for organization in agent chip component when available

* hide email in agent chip tooltip only for agents and not for contacts
syphax-bouazzouni and others added 3 commits August 9, 2024 01:22
* add cookies action to show and save cookie state in a session

* add link button component helper

* add cookie modal view

* enhance the style of the cookies banner

* update cookie banner text and remove deny button

---------

Co-authored-by: Bilel KIHAL <[email protected]>
* fix: identifier for organizations is ror and for persons is orcid

* disable multiple identifiers for agents in agents form

* remove the restriction for certain submission fields to create only organization type or person type agents

* fix agent tests after changing agent identifier to not be a list

---------

Co-authored-by: Syphax <[email protected]>
@syphax-bouazzouni syphax-bouazzouni changed the title Merge to master: Release 2.9.1 Merge to master: Release 2.9.1 - Agents and global bug fixes Aug 8, 2024
@syphax-bouazzouni
Copy link
Collaborator Author

syphax-bouazzouni commented Aug 8, 2024

Rebased this branch, reviewed all the changes, and all the tests are green. So I merge.

@Bilelkihal you can deploy the API and UI using the CI when you are ready.

@syphax-bouazzouni syphax-bouazzouni merged commit cd8d49f into master Aug 8, 2024
7 of 8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants