Module: DiasporaFederation::Validators

Defined in:
lib/diaspora_federation/validators.rb,
lib/diaspora_federation/validators/like_validator.rb,
lib/diaspora_federation/validators/poll_validator.rb,
lib/diaspora_federation/validators/event_validator.rb,
lib/diaspora_federation/validators/photo_validator.rb,
lib/diaspora_federation/validators/h_card_validator.rb,
lib/diaspora_federation/validators/person_validator.rb,
lib/diaspora_federation/validators/comment_validator.rb,
lib/diaspora_federation/validators/contact_validator.rb,
lib/diaspora_federation/validators/message_validator.rb,
lib/diaspora_federation/validators/profile_validator.rb,
lib/diaspora_federation/validators/reshare_validator.rb,
lib/diaspora_federation/validators/location_validator.rb,
lib/diaspora_federation/validators/relayable_validator.rb,
lib/diaspora_federation/validators/retraction_validator.rb,
lib/diaspora_federation/validators/web_finger_validator.rb,
lib/diaspora_federation/validators/poll_answer_validator.rb,
lib/diaspora_federation/validators/conversation_validator.rb,
lib/diaspora_federation/validators/participation_validator.rb,
lib/diaspora_federation/validators/optional_aware_validator.rb,
lib/diaspora_federation/validators/related_entity_validator.rb,
lib/diaspora_federation/validators/status_message_validator.rb,
lib/diaspora_federation/validators/account_deletion_validator.rb,
lib/diaspora_federation/validators/account_migration_validator.rb,
lib/diaspora_federation/validators/poll_participation_validator.rb,
lib/diaspora_federation/validators/event_participation_validator.rb

Overview

Validators to perform basic sanity-checks on federation entities.

The Validators are mapped with the entities by name. The naming schema is “<EntityName>Validator”.

Defined Under Namespace

Modules: RelayableValidator Classes: AccountDeletionValidator, AccountMigrationValidator, CommentValidator, ContactValidator, ConversationValidator, EventParticipationValidator, EventValidator, HCardValidator, LikeValidator, LocationValidator, MessageValidator, OptionalAwareValidator, ParticipationValidator, PersonValidator, PhotoValidator, PollAnswerValidator, PollParticipationValidator, PollValidator, ProfileValidator, RelatedEntityValidator, ReshareValidator, RetractionValidator, StatusMessageValidator, WebFingerValidator