Changeset View
Changeset View
Standalone View
Standalone View
src/applications/people/storage/PhabricatorUserLog.php
<?php | <?php | ||||
final class PhabricatorUserLog extends PhabricatorUserDAO | final class PhabricatorUserLog extends PhabricatorUserDAO | ||||
implements PhabricatorPolicyInterface { | implements PhabricatorPolicyInterface { | ||||
const ACTION_LOGIN = 'login'; | const ACTION_LOGIN = 'login'; | ||||
const ACTION_LOGIN_PARTIAL = 'login-partial'; | |||||
const ACTION_LOGIN_FULL = 'login-full'; | |||||
const ACTION_LOGOUT = 'logout'; | const ACTION_LOGOUT = 'logout'; | ||||
const ACTION_LOGIN_FAILURE = 'login-fail'; | const ACTION_LOGIN_FAILURE = 'login-fail'; | ||||
const ACTION_RESET_PASSWORD = 'reset-pass'; | const ACTION_RESET_PASSWORD = 'reset-pass'; | ||||
const ACTION_CREATE = 'create'; | const ACTION_CREATE = 'create'; | ||||
const ACTION_EDIT = 'edit'; | const ACTION_EDIT = 'edit'; | ||||
const ACTION_ADMIN = 'admin'; | const ACTION_ADMIN = 'admin'; | ||||
Show All 26 Lines | final class PhabricatorUserLog extends PhabricatorUserDAO | ||||
protected $newValue; | protected $newValue; | ||||
protected $details = array(); | protected $details = array(); | ||||
protected $remoteAddr; | protected $remoteAddr; | ||||
protected $session; | protected $session; | ||||
public static function getActionTypeMap() { | public static function getActionTypeMap() { | ||||
return array( | return array( | ||||
self::ACTION_LOGIN => pht('Login'), | self::ACTION_LOGIN => pht('Login'), | ||||
self::ACTION_LOGIN_FAILURE => pht('Login Failure'), | self::ACTION_LOGIN_PARTIAL => pht('Login: Partial Login'), | ||||
self::ACTION_LOGIN_FULL => pht('Login: Upgrade to Full'), | |||||
self::ACTION_LOGIN_FAILURE => pht('Login: Failure'), | |||||
self::ACTION_LOGOUT => pht('Logout'), | self::ACTION_LOGOUT => pht('Logout'), | ||||
self::ACTION_RESET_PASSWORD => pht('Reset Password'), | self::ACTION_RESET_PASSWORD => pht('Reset Password'), | ||||
self::ACTION_CREATE => pht('Create Account'), | self::ACTION_CREATE => pht('Create Account'), | ||||
self::ACTION_EDIT => pht('Edit Account'), | self::ACTION_EDIT => pht('Edit Account'), | ||||
self::ACTION_ADMIN => pht('Add/Remove Administrator'), | self::ACTION_ADMIN => pht('Add/Remove Administrator'), | ||||
self::ACTION_SYSTEM_AGENT => pht('Add/Remove System Agent'), | self::ACTION_SYSTEM_AGENT => pht('Add/Remove System Agent'), | ||||
self::ACTION_DISABLE => pht('Enable/Disable'), | self::ACTION_DISABLE => pht('Enable/Disable'), | ||||
self::ACTION_APPROVE => pht('Approve Registration'), | self::ACTION_APPROVE => pht('Approve Registration'), | ||||
▲ Show 20 Lines • Show All 117 Lines • Show Last 20 Lines |