Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F15412562
D13313.id32219.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
3 KB
Referenced Files
None
Subscribers
None
D13313.id32219.diff
View Options
diff --git a/src/applications/phriction/editor/PhrictionTransactionEditor.php b/src/applications/phriction/editor/PhrictionTransactionEditor.php
--- a/src/applications/phriction/editor/PhrictionTransactionEditor.php
+++ b/src/applications/phriction/editor/PhrictionTransactionEditor.php
@@ -391,6 +391,10 @@
pht("A document's content changes."),
PhrictionTransaction::MAILTAG_DELETE =>
pht('A document is deleted.'),
+ PhrictionTransaction::MAILTAG_SUBSCRIBERS =>
+ pht('A document\'s subscribers change.'),
+ PhrictionTransaction::MAILTAG_OTHER =>
+ pht('Other document activity not listed above occurs.'),
);
}
diff --git a/src/applications/phriction/storage/PhrictionTransaction.php b/src/applications/phriction/storage/PhrictionTransaction.php
--- a/src/applications/phriction/storage/PhrictionTransaction.php
+++ b/src/applications/phriction/storage/PhrictionTransaction.php
@@ -9,9 +9,11 @@
const TYPE_MOVE_TO = 'move-to';
const TYPE_MOVE_AWAY = 'move-away';
- const MAILTAG_TITLE = 'phriction-title';
- const MAILTAG_CONTENT = 'phriction-content';
- const MAILTAG_DELETE = 'phriction-delete';
+ const MAILTAG_TITLE = 'phriction-title';
+ const MAILTAG_CONTENT = 'phriction-content';
+ const MAILTAG_DELETE = 'phriction-delete';
+ const MAILTAG_SUBSCRIBERS = 'phriction-subscribers';
+ const MAILTAG_OTHER = 'phriction-other';
public function getApplicationName() {
return 'phriction';
@@ -280,7 +282,12 @@
case self::TYPE_DELETE:
$tags[] = self::MAILTAG_DELETE;
break;
-
+ case PhabricatorTransactions::TYPE_SUBSCRIBERS:
+ $tags[] = self::MAILTAG_SUBSCRIBERS;
+ break;
+ default:
+ $tags[] = self::MAILTAG_OTHER;
+ break;
}
return $tags;
}
diff --git a/src/applications/project/editor/PhabricatorProjectTransactionEditor.php b/src/applications/project/editor/PhabricatorProjectTransactionEditor.php
--- a/src/applications/project/editor/PhabricatorProjectTransactionEditor.php
+++ b/src/applications/project/editor/PhabricatorProjectTransactionEditor.php
@@ -433,6 +433,8 @@
pht('Project membership changes.'),
PhabricatorProjectTransaction::MAILTAG_WATCHERS =>
pht('Project watcher list changes.'),
+ PhabricatorProjectTransaction::MAILTAG_SUBSCRIBERS =>
+ pht('Project subscribers change.'),
PhabricatorProjectTransaction::MAILTAG_OTHER =>
pht('Other project activity not listed above occurs.'),
);
diff --git a/src/applications/project/storage/PhabricatorProjectTransaction.php b/src/applications/project/storage/PhabricatorProjectTransaction.php
--- a/src/applications/project/storage/PhabricatorProjectTransaction.php
+++ b/src/applications/project/storage/PhabricatorProjectTransaction.php
@@ -14,10 +14,11 @@
// NOTE: This is deprecated, members are just a normal edge now.
const TYPE_MEMBERS = 'project:members';
- const MAILTAG_METADATA = 'project-metadata';
- const MAILTAG_MEMBERS = 'project-members';
- const MAILTAG_WATCHERS = 'project-watchers';
- const MAILTAG_OTHER = 'project-other';
+ const MAILTAG_METADATA = 'project-metadata';
+ const MAILTAG_MEMBERS = 'project-members';
+ const MAILTAG_SUBSCRIBERS = 'project-subscribers';
+ const MAILTAG_WATCHERS = 'project-watchers';
+ const MAILTAG_OTHER = 'project-other';
public function getApplicationName() {
return 'project';
@@ -369,6 +370,9 @@
case self::TYPE_COLOR:
$tags[] = self::MAILTAG_METADATA;
break;
+ case PhabricatorTransactions::TYPE_SUBSCRIBERS:
+ $tags[] = self::MAILTAG_SUBSCRIBERS;
+ break;
case PhabricatorTransactions::TYPE_EDGE:
$type = $this->getMetadata('edge:type');
$type = head($type);
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Mar 20, 1:41 PM (1 w, 1 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7225178
Default Alt Text
D13313.id32219.diff (3 KB)
Attached To
Mode
D13313: Email Preferences - round out options for Projects and Phriction
Attached
Detach File
Event Timeline
Log In to Comment