Enhancement #851

Default pattern for link stereotype

Added by Portier Thomas about 5 years ago. Updated about 4 years ago.

Status:ClosedStart date:10/30/2014
Priority:NormalDue date:
Assignee:-% Done:

0%

Category:CATALOG
Target version:4.2.7
Sponsor: Ergonomic impact:

-

Functional impact:

-


Description

The actual default pattern for stereotype link doesn't let user fill a link without www

This pattern should be used by default :
((http:\/\/|https:\/\/)(www.)?(([a-zA-Z0-9-]){2,}\.){1,4}([a-zA-Z]){2,6}(\/([a-zA-Z-_\/\.0-9#:?=&;,]*)?)?)

In the installer, we should change the value for the link value in table jos_sdi_sys_stereotype

Associated revisions

Revision 7836
Added by Portier Thomas almost 5 years ago

modifs sur le ticket #851

Revision 7840
Added by Battaglia Marc almost 5 years ago

[tp] modifs sur le ticket #851
[tp] #851 add 4.2.3 sql files

Revision 7844
Added by Battaglia Marc almost 5 years ago

Merged revision(s) 7840 from branches/4.2.x:
[tp] modifs sur le ticket #851
[tp] #851 add 4.2.3 sql files
........

Revision 7848
Added by Villemagne Jérôme almost 5 years ago

Merged revision(s) 7840-7845 from branches/4.2.x:
[tp] modifs sur le ticket #851
[tp] #851 add 4.2.3 sql files
........
- Défaut #11318 : La valeur par défaut de la relation 491 ne s'affiche pas en français
- Défaut #11319 : Problème de tooltips
- Défaut #11322 : Le lien vers les relations dans la fenêtre de suppression ne marchent pas
........

Revision 7861
Added by Villemagne Jérôme almost 5 years ago

Merged revision(s) 7801-7859 from branches/4.2.x:
#883 : Can't save search criteria on relation with sql server
........
#884 : search criteria label
........
Auto Commit from continuous integration. (easySDI_4.2.x:315 http://localhost:8080/jenkins/job/easySDI_4.2.x/315/)
........
#10702 : Migration Archiva
........
[jvi - ]:
- modification for easySDI 4.2.x's installation under Joomla 3.3.6 from scratch
........
[tp] #886
........
[jvi - ]:
- comment easysdi updateservers to don't break Joomla update checker
........
Auto Commit from continuous integration. (easySDI_4.2.x:316 http://localhost:8080/jenkins/job/easySDI_4.2.x/316/)
........
- Défaut #11320 : La valeur par défaut de la relation 183 ne s'affiche pas dans le champs default
- Défaut #11328 : L'éditeur ne peut pas sauver une métadonnée
- Defect #888 : The list of resources is empty when the assignment is not configured.
........
[tp] modifs sur le ticket #851
[tp] #851 add 4.2.3 sql files
........
- Défaut #11318 : La valeur par défaut de la relation 491 ne s'affiche pas en français
- Défaut #11319 : Problème de tooltips
- Défaut #11322 : Le lien vers les relations dans la fenêtre de suppression ne marchent pas
........
[jvi]:
- change edit's link condition
- fix translation in edit metadata
- fix relation edit page (available resourcetypechild)
- fix new relation for new viral version
- implement relation creation for non-viral relation while creating new parent's version
- fix version query in the resources list page

........
Auto Commit from continuous integration. (easySDI_4.2.x:318 http://localhost:8080/jenkins/job/easySDI_4.2.x/318/)
........
[jvi - ]:
- moving sql changes to Joomla packages
........
[jvi]:
- translate resourcetype in relation edit page
- fix gemet/inspire dropdown width
- fix publish tree
........

Revision 7863
Added by Villemagne Jérôme almost 5 years ago

Merged revision(s) 7824-7862 from branches/4.2.x:
[tp] #886
........
[jvi - ]:
- comment easysdi updateservers to don't break Joomla update checker
........
Auto Commit from continuous integration. (easySDI_4.2.x:316 http://localhost:8080/jenkins/job/easySDI_4.2.x/316/)
........
- Défaut #11320 : La valeur par défaut de la relation 183 ne s'affiche pas dans le champs default
- Défaut #11328 : L'éditeur ne peut pas sauver une métadonnée
- Defect #888 : The list of resources is empty when the assignment is not configured.
........
[tp] modifs sur le ticket #851
[tp] #851 add 4.2.3 sql files
........
- Défaut #11318 : La valeur par défaut de la relation 491 ne s'affiche pas en français
- Défaut #11319 : Problème de tooltips
- Défaut #11322 : Le lien vers les relations dans la fenêtre de suppression ne marchent pas
........
[jvi]:
- change edit's link condition
- fix translation in edit metadata
- fix relation edit page (available resourcetypechild)
- fix new relation for new viral version
- implement relation creation for non-viral relation while creating new parent's version
- fix version query in the resources list page

........
Auto Commit from continuous integration. (easySDI_4.2.x:318 http://localhost:8080/jenkins/job/easySDI_4.2.x/318/)
........
[jvi - ]:
- moving sql changes to Joomla packages
........
[jvi]:
- translate resourcetype in relation edit page
- fix gemet/inspire dropdown width
- fix publish tree
........
Merged revision(s) 7801-7859 from branches/4.2.x:
#883 : Can't save search criteria on relation with sql server
........
#884 : search criteria label
........
Auto Commit from continuous integration. (easySDI_4.2.x:315 http://localhost:8080/jenkins/job/easySDI_4.2.x/315/)
........
#10702 : Migration Archiva
........
[jvi - ]:
- modification for easySDI 4.2.x's installation under Joomla 3.3.6 from scratch
........
[tp] #886
........
[jvi - ]:
- comment easysdi updateservers to don't break Joomla update checker
........
Auto Commit from continuous integration. (easySDI_4.2.x:316 http://localhost:8080/jenkins/job/easySDI_4.2.x/316/)
........
- Défaut #11320 : La valeur par défaut de la relation 183 ne s'affiche pas dans le champs default
- Défaut #11328 : L'éditeur ne peut pas sauver une métadonnée
- Defect #888 : The list of resources is empty when the assignment is not configured.
........
[tp] modifs sur le ticket #851
[tp] #851 add 4.2.3 sql files
........
- Défaut #11318 : La valeur par défaut de la relation 491 ne s'affiche pas en français
- Défaut #11319 : Problème de tooltips
- Défaut #11322 : Le lien vers les relations dans la fenêtre de suppression ne marchent pas
........
[jvi]:
- change edit's link condition
- fix translation in edit metadata
- fix relation edit page (available resourcetypechild)
- fix new relation for new viral version
- implement relation creation for non-viral relation while creating new parent's version
- fix version query in the resources list page

........
Auto Commit from continuous integration. (easySDI_4.2.x:318 http://localhost:8080/jenkins/job/easySDI_4.2.x/318/)
........
[jvi - ]:
- moving sql changes to Joomla packages
........
[jvi]:
- translate resourcetype in relation edit page
- fix gemet/inspire dropdown width
- fix publish tree
........

........
[jvi]:
- modification for easySDI 4.2.x's installation under Joomla 3.3.6 from scratch
- comment easysdi updateservers to don't break Joomla update checker
- moving sql changes to Joomla packages

........

Revision 7865
Added by Villemagne Jérôme almost 5 years ago

Merged revision(s) 7823-7863 from branches/4.3.x:
Merged revision(s) 7773-7812 from branches/4.2.x:
Défaut #11172 : Contenu d'une instance pas sauvée part 3
........
4.2.0
........
Auto Commit from continuous integration. (easySDI_4.2.x:311 http://localhost:8080/jenkins/job/easySDI_4.2.x/311/)
........
4.2.1 : fix sql server update scripts
........
[tp]
- #851
- #777
- #847
- #749
........
Change update files 4.2.1 to 4.2.2
........
Revert revision with incorrect fixes
........
Merged revision(s) 7622-7790 from branches/4.2.x:
Auto Commit from continuous integration. (easySDI_4.2.x:284 http://localhost:8080/jenkins/job/easySDI_4.2.x/284/)
........
- Défaut #11105: Problème de validation
- Réalisation #11104: Le type localechoice n'est pas traité correctement
........
Auto Commit from continuous integration. (easySDI_4.2.x:289 http://localhost:8080/jenkins/job/easySDI_4.2.x/289/)
........
- Default #11113: Sauvegarde d'extent multiple ne fonctionne pas : part 1
- Défaut #11113: Sauvegarde d'extent multiple ne fonctionne pas : part 2
- Réalisation #11104: Le type localechoice n'est pas traité correctement : part 2
........
- Ajout du fichier validators.js.php et passage en 4.2.0-rc-2
- Ajout des fichiers sql 4.2.0-rc-2
- Suppression des fichiers sql de la 4.2.0
........
- Défaut #11112 : Instance d'un attribut contient une valeur à la création
........
Défaut #11159 : Erreur à la sauvegarde
........
Auto Commit from continuous integration. (easySDI_4.2.x:295 http://localhost:8080/jenkins/job/easySDI_4.2.x/295/)
........
- Défaut #11184 : Le scope de l’éditeur n'est pas pris en compte dans l’édition
........
[jvi]:
- fix cascading assignment request
[jvi]:
- fix bootbox translation and add some translation
[jvi - Refs #11161/#11187]:
- relation's management between version refactoring
- datatables use common default settings + translations loaded from datatables CDN
- datatables are now server-side processed (via Ajax call) + sorting and filtering too
- versionlink updates done via temporaries arrays
[jvi - Refs #11196]:
- add an addslashes to escape quotes
- add try/catch on ajax call
[jvi - Refs #11182]:
- don't display 'edit link' when metadata's state is different of inprogress/validated/published
[jvi - Refs #11174]:
- fix preserveFileIdentifier CSWMerge's method
[jvi - Refs #11178]:
- refactor metadata save/update
[jvi - Refs #11183]:
- fix some datatables translation
- add a join between sdi_language and languages in SdiLanguageDao
[jvi - Refs #11178]:
- synchronize non-existent nodes in the children by adding them
- fix multiple instance synchronization
[jvi - Refs #11236]:
- fix mysql update file

........
- Défaut #11180 : La validation ne rends pas systématiquement obligatoire le nom de la ressource lié
........
[jvi - Refs #11183]:
- remove old datatable translations
[jvi - Refs #11224]:
- propagates the new metadatastate_id
[jvi - Refs #11224]:
- fix synchronization link display

........
[jvi - Refs #11115]:
- fix cascading assignment request
........
Auto Commit from continuous integration. (easySDI_4.2.x:301 http://localhost:8080/jenkins/job/easySDI_4.2.x/301/)
........
[jvi - Refs #10366]:
- change submitform for version to avoid double event under IE
[jvi - Refs #10366]:
- add sql to delete duplicates entries and add unique constraint on sdi_versionlink table

........
[jvi - Refs #11261]:
- fix query for mysql
- fix JFile import
[jvi]:
- fix stereotype_id notice
- fix bootbox language notice

........
[jvi]:
- sdi_catalog_resourcetype db model to match the sdiTable extension
........
[jvi]:
- add an error message when gemet remote service are unavailable
........
Défaut #11172 : Contenu d'une instance pas sauvée
........
[jvi]:
- add an error message when gemet remote service are unavailable
........
Défaut #11172 : Contenu d'une instance pas sauvée part 2
........
Défaut #11172 : Contenu d'une instance pas sauvée part 3
........
4.2.0
........
Auto Commit from continuous integration. (easySDI_4.2.x:311 http://localhost:8080/jenkins/job/easySDI_4.2.x/311/)
........
4.2.1 : fix sql server update scripts
........
[tp]
- #851
- #777
- #847
- #749
........
Change update files 4.2.1 to 4.2.2
........

........
#883 : Can't save search criteria based on relation
........
Set version 4.2.3
........
Translation storage and check
........
Get the correct version of resources.js.php from branch 4.2.x
........
#883 : Can't save search criteria on relation with sql server
........
#884 : search criteria label
........
Auto Commit from continuous integration. (easySDI_4.2.x:315 http://localhost:8080/jenkins/job/easySDI_4.2.x/315/)
........
#10702 : Migration Archiva
........

........
Merged revision(s) 7824-7862 from branches/4.2.x:
[tp] #886
........
[jvi - ]:
- comment easysdi updateservers to don't break Joomla update checker
........
Auto Commit from continuous integration. (easySDI_4.2.x:316 http://localhost:8080/jenkins/job/easySDI_4.2.x/316/)
........
- Défaut #11320 : La valeur par défaut de la relation 183 ne s'affiche pas dans le champs default
- Défaut #11328 : L'éditeur ne peut pas sauver une métadonnée
- Defect #888 : The list of resources is empty when the assignment is not configured.
........
[tp] modifs sur le ticket #851
[tp] #851 add 4.2.3 sql files
........
- Défaut #11318 : La valeur par défaut de la relation 491 ne s'affiche pas en français
- Défaut #11319 : Problème de tooltips
- Défaut #11322 : Le lien vers les relations dans la fenêtre de suppression ne marchent pas
........
[jvi]:
- change edit's link condition
- fix translation in edit metadata
- fix relation edit page (available resourcetypechild)
- fix new relation for new viral version
- implement relation creation for non-viral relation while creating new parent's version
- fix version query in the resources list page

........
Auto Commit from continuous integration. (easySDI_4.2.x:318 http://localhost:8080/jenkins/job/easySDI_4.2.x/318/)
........
[jvi - ]:
- moving sql changes to Joomla packages
........
[jvi]:
- translate resourcetype in relation edit page
- fix gemet/inspire dropdown width
- fix publish tree
........
Merged revision(s) 7801-7859 from branches/4.2.x:
#883 : Can't save search criteria on relation with sql server
........
#884 : search criteria label
........
Auto Commit from continuous integration. (easySDI_4.2.x:315 http://localhost:8080/jenkins/job/easySDI_4.2.x/315/)
........
#10702 : Migration Archiva
........
[jvi - ]:
- modification for easySDI 4.2.x's installation under Joomla 3.3.6 from scratch
........
[tp] #886
........
[jvi - ]:
- comment easysdi updateservers to don't break Joomla update checker
........
Auto Commit from continuous integration. (easySDI_4.2.x:316 http://localhost:8080/jenkins/job/easySDI_4.2.x/316/)
........
- Défaut #11320 : La valeur par défaut de la relation 183 ne s'affiche pas dans le champs default
- Défaut #11328 : L'éditeur ne peut pas sauver une métadonnée
- Defect #888 : The list of resources is empty when the assignment is not configured.
........
[tp] modifs sur le ticket #851
[tp] #851 add 4.2.3 sql files
........
- Défaut #11318 : La valeur par défaut de la relation 491 ne s'affiche pas en français
- Défaut #11319 : Problème de tooltips
- Défaut #11322 : Le lien vers les relations dans la fenêtre de suppression ne marchent pas
........
[jvi]:
- change edit's link condition
- fix translation in edit metadata
- fix relation edit page (available resourcetypechild)
- fix new relation for new viral version
- implement relation creation for non-viral relation while creating new parent's version
- fix version query in the resources list page

........
Auto Commit from continuous integration. (easySDI_4.2.x:318 http://localhost:8080/jenkins/job/easySDI_4.2.x/318/)
........
[jvi - ]:
- moving sql changes to Joomla packages
........
[jvi]:
- translate resourcetype in relation edit page
- fix gemet/inspire dropdown width
- fix publish tree
........

........
[jvi]:
- modification for easySDI 4.2.x's installation under Joomla 3.3.6 from scratch
- comment easysdi updateservers to don't break Joomla update checker
- moving sql changes to Joomla packages

........

........

Revision 7881
Added by Van Hoecke Hélène almost 5 years ago

Merged revision(s) 7863-7879 from branches/4.3.x:
Merged revision(s) 7824-7862 from branches/4.2.x:
[tp] #886
........
[jvi - ]:
- comment easysdi updateservers to don't break Joomla update checker
........
Auto Commit from continuous integration. (easySDI_4.2.x:316 http://localhost:8080/jenkins/job/easySDI_4.2.x/316/)
........
- Défaut #11320 : La valeur par défaut de la relation 183 ne s'affiche pas dans le champs default
- Défaut #11328 : L'éditeur ne peut pas sauver une métadonnée
- Defect #888 : The list of resources is empty when the assignment is not configured.
........
[tp] modifs sur le ticket #851
[tp] #851 add 4.2.3 sql files
........
- Défaut #11318 : La valeur par défaut de la relation 491 ne s'affiche pas en français
- Défaut #11319 : Problème de tooltips
- Défaut #11322 : Le lien vers les relations dans la fenêtre de suppression ne marchent pas
........
[jvi]:
- change edit's link condition
- fix translation in edit metadata
- fix relation edit page (available resourcetypechild)
- fix new relation for new viral version
- implement relation creation for non-viral relation while creating new parent's version
- fix version query in the resources list page

........
Auto Commit from continuous integration. (easySDI_4.2.x:318 http://localhost:8080/jenkins/job/easySDI_4.2.x/318/)
........
[jvi - ]:
- moving sql changes to Joomla packages
........
[jvi]:
- translate resourcetype in relation edit page
- fix gemet/inspire dropdown width
- fix publish tree
........
Merged revision(s) 7801-7859 from branches/4.2.x:
#883 : Can't save search criteria on relation with sql server
........
#884 : search criteria label
........
Auto Commit from continuous integration. (easySDI_4.2.x:315 http://localhost:8080/jenkins/job/easySDI_4.2.x/315/)
........
#10702 : Migration Archiva
........
[jvi - ]:
- modification for easySDI 4.2.x's installation under Joomla 3.3.6 from scratch
........
[tp] #886
........
[jvi - ]:
- comment easysdi updateservers to don't break Joomla update checker
........
Auto Commit from continuous integration. (easySDI_4.2.x:316 http://localhost:8080/jenkins/job/easySDI_4.2.x/316/)
........
- Défaut #11320 : La valeur par défaut de la relation 183 ne s'affiche pas dans le champs default
- Défaut #11328 : L'éditeur ne peut pas sauver une métadonnée
- Defect #888 : The list of resources is empty when the assignment is not configured.
........
[tp] modifs sur le ticket #851
[tp] #851 add 4.2.3 sql files
........
- Défaut #11318 : La valeur par défaut de la relation 491 ne s'affiche pas en français
- Défaut #11319 : Problème de tooltips
- Défaut #11322 : Le lien vers les relations dans la fenêtre de suppression ne marchent pas
........
[jvi]:
- change edit's link condition
- fix translation in edit metadata
- fix relation edit page (available resourcetypechild)
- fix new relation for new viral version
- implement relation creation for non-viral relation while creating new parent's version
- fix version query in the resources list page

........
Auto Commit from continuous integration. (easySDI_4.2.x:318 http://localhost:8080/jenkins/job/easySDI_4.2.x/318/)
........
[jvi - ]:
- moving sql changes to Joomla packages
........
[jvi]:
- translate resourcetype in relation edit page
- fix gemet/inspire dropdown width
- fix publish tree
........

........
[jvi]:
- modification for easySDI 4.2.x's installation under Joomla 3.3.6 from scratch
- comment easysdi updateservers to don't break Joomla update checker
- moving sql changes to Joomla packages

........

........
Merged revision(s) 7868 from branches/4.2.x:
Auto Commit from continuous integration. (easySDI_4.2.x:319 http://localhost:8080/jenkins/job/easySDI_4.2.x/319/)
........

........
[jvi]:
- apply accessscope (with or without limitation) on linked resources in edit metadata
- apply accessscope in replicate modal + upgrade form

........
Merged revision(s) 7878 from branches/4.2.x:
[jvi]:
- fix sql install files for PostgreSQL
- fix sql update files for PostgreSQL

........

........

History

#1 Updated by Van Hoecke Hélène about 5 years ago

  • Target version deleted (157)

#2 Updated by Portier Thomas about 5 years ago

  • Assignee set to Portier Thomas
  • Target version set to 4.2.1

#3 Updated by Portier Thomas about 5 years ago

  • Status changed from New to Affected

#4 Updated by Magoni Bruno about 5 years ago

  • Affected version changed from to 4.2.0

#5 Updated by Magoni Bruno about 5 years ago

Hi Thomas,
Reading this issue, be aware that stereotype link is also used for other protocol like FTP or email
For now we have also detected that is not accepted (for now only email like )

#6 Updated by Battaglia Marc about 5 years ago

  • Target version changed from 4.2.1 to 4.2.2

#7 Updated by Portier Thomas about 5 years ago

  • Assignee changed from Portier Thomas to Magoni Bruno

Ok for ftp, the pattern will be :
((http://|https://|ftp://)(www.)?(([a-zA-Z0-9-]){2,}.){1,4}([a-zA-Z]){2,6}(/([a-zA-Z-_/.0-9#:?=&;,]*)?)?)

But I don't think that stereotype "link" should be used for email? In my case I use the stereotype text for email.
There should be an other stereotype specific for the mail or the ability to add a pattern as an option.

#8 Updated by Battaglia Marc almost 5 years ago

  • Target version changed from 4.2.2 to 4.2.3

#9 Updated by Magoni Bruno almost 5 years ago

  • Tracker changed from Defect to Enhancement
  • Status changed from Affected to Rejected

#10 Updated by Magoni Bruno almost 5 years ago

  • Status changed from Rejected to New

#11 Updated by Magoni Bruno almost 5 years ago

  • Status changed from New to Request For Comments
  • Assignee changed from Magoni Bruno to Steering Committee
  • Target version changed from 4.2.3 to Unplanned

Need further discussion about what covers exactly such stereotype...

#12 Updated by Magoni Bruno almost 5 years ago

  • Assignee changed from Steering Committee to Technical Committee

Sorry SC, should be assigned to TC as it is an enhancement to technically talk about ;-)

#13 Updated by Van Hoecke Hélène almost 5 years ago

The pattern proposed by Thomas was comited in SVN but doesn't work for email so we revert the comit until TC comes with a technical solution for this stereotype.

Portier Thomas wrote:

Ok for ftp, the pattern will be :
((http://|https://|ftp://)(www.)?(([a-zA-Z0-9-]){2,}.){1,4}([a-zA-Z]){2,6}(/([a-zA-Z-_/.0-9#:?=&;,]*)?)?)

But I don't think that stereotype "link" should be used for email? In my case I use the stereotype text for email.
There should be an other stereotype specific for the mail or the ability to add a pattern as an option.

#14 Updated by Magoni Bruno almost 5 years ago

  • Target version deleted (Unplanned)

#15 Updated by Van Hoecke Hélène almost 5 years ago

  • Assignee changed from Technical Committee to Magoni Bruno

The pattern set in version 4.2.6 is :

((http:\/\/|https:\/\/|ftp:\/\/)(www.)?(([a-zA-Z0-9-]){2,}.){1,4}([a-zA-Z]){2,6}(\/([a-zA-Z-_\/.0-9#:?=&;,]*)?)?)|^([a-z0-9_\.-]+)@([\da-z\.-]+)\.([a-z\.]{2,6})$

TC has accepted this proposal.

#16 Updated by Magoni Bruno almost 5 years ago

  • Status changed from Request For Comments to Accepted
  • Target version set to 4.2.7

#17 Updated by Magoni Bruno almost 5 years ago

  • Status changed from Accepted to Affected
  • Assignee changed from Magoni Bruno to Van Hoecke Hélène

#18 Updated by Magoni Bruno almost 5 years ago

  • Status changed from Affected to Resolved
  • Assignee changed from Van Hoecke Hélène to Portier Thomas

AS far as I understand, such issue is closed...

#19 Updated by Magoni Bruno almost 5 years ago

  • Status changed from Resolved to Closed

#20 Updated by Van Hoecke Hélène about 4 years ago

  • Assignee deleted (Portier Thomas)
  • Functional impact set to -
  • Ergonomic impact set to -

Also available in: Atom PDF