Added organization.chatrooms.* check.

This commit is contained in:
Christian P. MOMON 2021-01-07 00:42:18 +01:00
parent 161d547f32
commit 83fa3a6b02

View file

@ -79,7 +79,7 @@ public class PropertyChecker
this.federationRules.add("federation.logo", URL, PropertyMode.WISHED); this.federationRules.add("federation.logo", URL, PropertyMode.WISHED);
this.federationRules.add("federation.contact.url", URL, PropertyMode.WISHED); this.federationRules.add("federation.contact.url", URL, PropertyMode.WISHED);
this.federationRules.add("federation.contact.email", EMAIL, PropertyMode.WISHED); this.federationRules.add("federation.contact.email", EMAIL, PropertyMode.WISHED);
this.federationRules.add("federation.socialnetworks.", "^federation\\.socialnetworks\\.\\S+$", URL, PropertyMode.OPTIONAL); this.federationRules.add("federation.socialnetworks.*", "^federation\\.socialnetworks\\.\\S+$", URL, PropertyMode.OPTIONAL);
this.federationRules.add("federation.legal.url", URL, PropertyMode.WISHED); this.federationRules.add("federation.legal.url", URL, PropertyMode.WISHED);
this.federationRules.add("federation.legal", URL, PropertyMode.WISHED); this.federationRules.add("federation.legal", URL, PropertyMode.WISHED);
this.federationRules.add("federation.guide.user", URL, PropertyMode.WISHED); this.federationRules.add("federation.guide.user", URL, PropertyMode.WISHED);
@ -111,7 +111,8 @@ public class PropertyChecker
this.organizationRules.add("organization.status.description", STRING, PropertyMode.OPTIONAL); this.organizationRules.add("organization.status.description", STRING, PropertyMode.OPTIONAL);
this.organizationRules.add("organization.website", URL, PropertyMode.WISHED); this.organizationRules.add("organization.website", URL, PropertyMode.WISHED);
this.organizationRules.add("organization.logo", URL, PropertyMode.WISHED); this.organizationRules.add("organization.logo", URL, PropertyMode.WISHED);
this.organizationRules.add("organization.socialnetworks.…", "^organization\\.socialnetworks\\.\\S+$", URL, PropertyMode.OPTIONAL); this.organizationRules.add("organization.socialnetworks.*", "^organization\\.socialnetworks\\.\\S+$", URL, PropertyMode.OPTIONAL);
this.organizationRules.add("organization.chatrooms.*", "^organization\\.chatrooms\\.\\S+$", URL, PropertyMode.OPTIONAL);
this.organizationRules.add("organization.owner.name", STRING, PropertyMode.OPTIONAL); this.organizationRules.add("organization.owner.name", STRING, PropertyMode.OPTIONAL);
this.organizationRules.add("organization.owner.website", URL, PropertyMode.OPTIONAL); this.organizationRules.add("organization.owner.website", URL, PropertyMode.OPTIONAL);
this.organizationRules.add("organization.owner.logo", URL, PropertyMode.OPTIONAL); this.organizationRules.add("organization.owner.logo", URL, PropertyMode.OPTIONAL);
@ -147,7 +148,6 @@ public class PropertyChecker
this.serviceRules.add("service.logo", URL, PropertyMode.WISHED); this.serviceRules.add("service.logo", URL, PropertyMode.WISHED);
this.serviceRules.add("service.contact.url", URL, PropertyMode.WISHED); this.serviceRules.add("service.contact.url", URL, PropertyMode.WISHED);
this.serviceRules.add("service.contact.email", EMAIL, PropertyMode.WISHED); this.serviceRules.add("service.contact.email", EMAIL, PropertyMode.WISHED);
this.serviceRules.add("service.socialnetworks.…", "^service\\.socialnetworks\\.\\S+$", URL, PropertyMode.OPTIONAL);
this.serviceRules.add("service.legal.url", URL, PropertyMode.WISHED); this.serviceRules.add("service.legal.url", URL, PropertyMode.WISHED);
this.serviceRules.add("service.guide.user", URL, PropertyMode.WISHED); this.serviceRules.add("service.guide.user", URL, PropertyMode.WISHED);
this.serviceRules.add("service.guide.technical", URL, PropertyMode.WISHED); this.serviceRules.add("service.guide.technical", URL, PropertyMode.WISHED);