Changeset View
Changeset View
Standalone View
Standalone View
src/applications/people/storage/PhabricatorUserLog.php
Show All 21 Lines | final class PhabricatorUserLog extends PhabricatorUserDAO | ||||
const ACTION_EMAIL_PRIMARY = 'email-primary'; | const ACTION_EMAIL_PRIMARY = 'email-primary'; | ||||
const ACTION_EMAIL_REMOVE = 'email-remove'; | const ACTION_EMAIL_REMOVE = 'email-remove'; | ||||
const ACTION_EMAIL_ADD = 'email-add'; | const ACTION_EMAIL_ADD = 'email-add'; | ||||
const ACTION_CHANGE_PASSWORD = 'change-password'; | const ACTION_CHANGE_PASSWORD = 'change-password'; | ||||
const ACTION_CHANGE_USERNAME = 'change-username'; | const ACTION_CHANGE_USERNAME = 'change-username'; | ||||
const ACTION_ENTER_HISEC = 'hisec-enter'; | |||||
const ACTION_EXIT_HISEC = 'hisec-exit'; | |||||
protected $actorPHID; | protected $actorPHID; | ||||
protected $userPHID; | protected $userPHID; | ||||
protected $action; | protected $action; | ||||
protected $oldValue; | protected $oldValue; | ||||
protected $newValue; | protected $newValue; | ||||
protected $details = array(); | protected $details = array(); | ||||
protected $remoteAddr; | protected $remoteAddr; | ||||
protected $session; | protected $session; | ||||
Show All 15 Lines | return array( | ||||
=> pht('Conduit: Read Certificate'), | => pht('Conduit: Read Certificate'), | ||||
self::ACTION_CONDUIT_CERTIFICATE_FAILURE | self::ACTION_CONDUIT_CERTIFICATE_FAILURE | ||||
=> pht('Conduit: Read Certificate Failure'), | => pht('Conduit: Read Certificate Failure'), | ||||
self::ACTION_EMAIL_PRIMARY => pht('Email: Change Primary'), | self::ACTION_EMAIL_PRIMARY => pht('Email: Change Primary'), | ||||
self::ACTION_EMAIL_ADD => pht('Email: Add Address'), | self::ACTION_EMAIL_ADD => pht('Email: Add Address'), | ||||
self::ACTION_EMAIL_REMOVE => pht('Email: Remove Address'), | self::ACTION_EMAIL_REMOVE => pht('Email: Remove Address'), | ||||
self::ACTION_CHANGE_PASSWORD => pht('Change Password'), | self::ACTION_CHANGE_PASSWORD => pht('Change Password'), | ||||
self::ACTION_CHANGE_USERNAME => pht('Change Username'), | self::ACTION_CHANGE_USERNAME => pht('Change Username'), | ||||
self::ACTION_ENTER_HISEC => pht('Hisec: Enter'), | |||||
self::ACTION_EXIT_HISEC => pht('Hisec: Exit'), | |||||
); | ); | ||||
} | } | ||||
public static function initializeNewLog( | public static function initializeNewLog( | ||||
PhabricatorUser $actor = null, | PhabricatorUser $actor = null, | ||||
$object_phid, | $object_phid, | ||||
$action) { | $action) { | ||||
▲ Show 20 Lines • Show All 94 Lines • Show Last 20 Lines |