Пример #1
0
 public function getConfiguration()
 {
     return array(self::CONFIG_AUX_PHID => true) + parent::getConfiguration();
 }
 protected function getConfiguration()
 {
     return array(self::CONFIG_AUX_PHID => true, self::CONFIG_SERIALIZATION => array('properties' => self::SERIALIZATION_JSON), self::CONFIG_COLUMN_SCHEMA => array('userPHID' => 'phid?', 'accountType' => 'text16', 'accountDomain' => 'text64', 'accountSecret' => 'text?', 'accountID' => 'text64', 'displayName' => 'text255?', 'username' => 'text255?', 'realName' => 'text255?', 'email' => 'text255?', 'emailVerified' => 'bool', 'profileImagePHID' => 'phid?', 'accountURI' => 'text255?'), self::CONFIG_KEY_SCHEMA => array('key_phid' => null, 'phid' => array('columns' => array('phid'), 'unique' => true), 'account_details' => array('columns' => array('accountType', 'accountDomain', 'accountID'), 'unique' => true))) + parent::getConfiguration();
 }
Пример #3
0
 protected function getConfiguration()
 {
     return array(self::CONFIG_AUX_PHID => true, self::CONFIG_COLUMN_SCHEMA => array('userName' => 'sort64', 'realName' => 'text128', 'sex' => 'text4?', 'translation' => 'text64?', 'passwordSalt' => 'text32?', 'passwordHash' => 'text128?', 'profileImagePHID' => 'phid?', 'consoleEnabled' => 'bool', 'consoleVisible' => 'bool', 'consoleTab' => 'text64', 'conduitCertificate' => 'text255', 'isSystemAgent' => 'bool', 'isMailingList' => 'bool', 'isDisabled' => 'bool', 'isAdmin' => 'bool', 'timezoneIdentifier' => 'text255', 'isEmailVerified' => 'uint32', 'isApproved' => 'uint32', 'accountSecret' => 'bytes64', 'isEnrolledInMultiFactor' => 'bool', 'profileImageCache' => 'text255?', 'availabilityCache' => 'text255?', 'availabilityCacheTTL' => 'uint32?'), self::CONFIG_KEY_SCHEMA => array('key_phid' => null, 'phid' => array('columns' => array('phid'), 'unique' => true), 'userName' => array('columns' => array('userName'), 'unique' => true), 'realName' => array('columns' => array('realName')), 'key_approved' => array('columns' => array('isApproved'))), self::CONFIG_NO_MUTATE => array('profileImageCache' => true, 'availabilityCache' => true, 'availabilityCacheTTL' => true)) + parent::getConfiguration();
 }
 protected function getConfiguration()
 {
     return array(self::CONFIG_AUX_PHID => true, self::CONFIG_COLUMN_SCHEMA => array('emailAddress' => 'sort128', 'verificationHash' => 'bytes12', 'acceptedByPHID' => 'phid?'), self::CONFIG_KEY_SCHEMA => array('key_address' => array('columns' => array('emailAddress'), 'unique' => true), 'key_code' => array('columns' => array('verificationHash'), 'unique' => true))) + parent::getConfiguration();
 }
Пример #5
0
 protected function getConfiguration()
 {
     return array(self::CONFIG_COLUMN_SCHEMA => array('address' => 'sort128', 'isVerified' => 'bool', 'isPrimary' => 'bool', 'verificationCode' => 'text64?'), self::CONFIG_KEY_SCHEMA => array('address' => array('columns' => array('address'), 'unique' => true), 'userPHID' => array('columns' => array('userPHID', 'isPrimary')))) + parent::getConfiguration();
 }
 protected function getConfiguration()
 {
     return array(self::CONFIG_COLUMN_SCHEMA => array('title' => 'text255', 'blurb' => 'text', 'profileImagePHID' => 'phid?', 'icon' => 'text32'), self::CONFIG_KEY_SCHEMA => array('userPHID' => array('columns' => array('userPHID'), 'unique' => true))) + parent::getConfiguration();
 }
Пример #7
0
 protected function getConfiguration()
 {
     return array(self::CONFIG_TIMESTAMPS => false, self::CONFIG_COLUMN_SCHEMA => array('cacheIndex' => 'bytes12', 'cacheKey' => 'text255', 'cacheData' => 'text', 'cacheType' => 'text32'), self::CONFIG_KEY_SCHEMA => array('key_usercache' => array('columns' => array('userPHID', 'cacheIndex'), 'unique' => true), 'key_cachekey' => array('columns' => array('cacheIndex')), 'key_cachetype' => array('columns' => array('cacheType')))) + parent::getConfiguration();
 }
 public function getConfiguration()
 {
     return array(self::CONFIG_SERIALIZATION => array('preferences' => self::SERIALIZATION_JSON), self::CONFIG_TIMESTAMPS => false) + parent::getConfiguration();
 }
Пример #9
0
 public function getConfiguration()
 {
     return array(self::CONFIG_SERIALIZATION => array('oldValue' => self::SERIALIZATION_JSON, 'newValue' => self::SERIALIZATION_JSON, 'details' => self::SERIALIZATION_JSON)) + parent::getConfiguration();
 }
 protected function getConfiguration()
 {
     return array(self::CONFIG_SERIALIZATION => array('preferences' => self::SERIALIZATION_JSON), self::CONFIG_TIMESTAMPS => false, self::CONFIG_KEY_SCHEMA => array('userPHID' => array('columns' => array('userPHID'), 'unique' => true))) + parent::getConfiguration();
 }
 protected function getConfiguration()
 {
     return array(self::CONFIG_AUX_PHID => true, self::CONFIG_SERIALIZATION => array('preferences' => self::SERIALIZATION_JSON), self::CONFIG_COLUMN_SCHEMA => array('userPHID' => 'phid?', 'builtinKey' => 'text32?'), self::CONFIG_KEY_SCHEMA => array('key_user' => array('columns' => array('userPHID'), 'unique' => true), 'key_builtin' => array('columns' => array('builtinKey'), 'unique' => true))) + parent::getConfiguration();
 }
 public function getConfiguration()
 {
     return array(self::CONFIG_AUX_PHID => true, self::CONFIG_SERIALIZATION => array('properties' => self::SERIALIZATION_JSON)) + parent::getConfiguration();
 }
Пример #13
0
 protected function getConfiguration()
 {
     return array(self::CONFIG_SERIALIZATION => array('oldValue' => self::SERIALIZATION_JSON, 'newValue' => self::SERIALIZATION_JSON, 'details' => self::SERIALIZATION_JSON), self::CONFIG_COLUMN_SCHEMA => array('actorPHID' => 'phid?', 'action' => 'text64', 'remoteAddr' => 'text64', 'session' => 'bytes40?'), self::CONFIG_KEY_SCHEMA => array('actorPHID' => array('columns' => array('actorPHID', 'dateCreated')), 'userPHID' => array('columns' => array('userPHID', 'dateCreated')), 'action' => array('columns' => array('action', 'dateCreated')), 'dateCreated' => array('columns' => array('dateCreated')), 'remoteAddr' => array('columns' => array('remoteAddr', 'dateCreated')), 'session' => array('columns' => array('session', 'dateCreated')))) + parent::getConfiguration();
 }