/plugin/structtasks/_test/ |
H A D | NotifiersTest.php | 115 $old_data = [ 124 $old_data2 = array_replace($old_data, ['duedate' => clone $old_data['duedate']]); 143 $old_data, 'date' 163 $old_data, 'deleted' 197 $old_data, 'deleted' 251 ReminderNotifier::class, [], $old_data, $old_data, 273 TodayNotifier::class, [], $old_data, $old_data, 'today' 282 OverdueNotifier::class, $old_data['assignees'], $old_data, 357 $old_data, 363 $old_data = [ [all …]
|
H A D | UtilitiesTest.php | 114 list($old_data, $new_data, $valid) = $this->util->getMetadata( 118 $this->assertEquals($old_data[$key], $val); 126 list($old_data, $new_data, $valid) = $this->util->getMetadata( 130 $this->assertEquals($old_data[$key], $val); 151 …list($old_data, $new_data, $valid) = $this->util->getMetadata($page, $schema, $this->rev1, $this->… 152 $this->assertNull($old_data);
|
H A D | ActionTest.php | 61 $old_data = ['duedate' => '2023-03-27', 68 'duedate' => date_create($old_data['duedate']), 70 'status' => $old_data['status'], 97 $access->saveData($old_data);
|
/plugin/structtasks/meta/ |
H A D | AssignedNotifier.php | 20 public function getNotifiableUsers($page, $editor_email, $new_data, $old_data) { argument 23 if ($old_data['content'] == '') $old_data['assignees'] = []; 25 array_diff($new_data['assignees'], $old_data['assignees']),
|
H A D | DateNotifier.php | 20 public function getNotifiableUsers($page, $editor_email, $new_data, $old_data) { argument 22 if ($old_data['content'] === '' and $new_data['content'] !== '') return []; 23 if ($new_data['duedate'] == $old_data['duedate']) return [];
|
H A D | DeletedNotifier.php | 20 public function getNotifiableUsers($page, $editor_email, $new_data, $old_data) { argument 21 $old_closed = $this->isCompleted($old_data['status']); 24 $old_data['assignees'],
|
H A D | ClosedStatusNotifier.php | 20 public function getNotifiableUsers($page, $editor_email, $new_data, $old_data) { argument 22 if ($old_data['content'] === '' and $new_data['content'] !== '') return []; 24 $old_closed = $this->isCompleted($old_data['status']);
|
H A D | OpenStatusNotifier.php | 20 public function getNotifiableUsers($page, $editor_email, $new_data, $old_data) { argument 22 if ($old_data['content'] === '' and $new_data['content'] !== '') return []; 24 $old_closed = $this->isCompleted($old_data['status']);
|
H A D | AbstractNotifier.php | 63 abstract function getNotifiableUsers($page, $editor_email, $new_data, $old_data); argument 141 $old_data, $mailer = NULL) { argument 143 … $notifiable_users = $this->getNotifiableUsers($page_id, $editor_email, $new_data, $old_data); 155 'PREVSTATUS' => $old_data['status'], 157 'PREVDUEDATE' => $old_data['duedate_formatted'],
|
H A D | RemovedNotifier.php | 20 public function getNotifiableUsers($page, $editor_email, $new_data, $old_data) { argument 23 array_diff($old_data['assignees'], $new_data['assignees']),
|
H A D | SelfRemovalNotifier.php | 20 public function getNotifiableUsers($page, $editor_email, $new_data, $old_data) { argument 21 if (in_array($editor_email, $old_data['assignees']) and
|
H A D | Utilities.php | 104 $old_data = $this->struct->getData($id, null, $old_rev); 106 if (!array_key_exists($schema, $old_data) or !array_key_exists($schema, $new_data)) { 110 $old_data[$schema]['date_format'] = 112 return [$this->formatData($old_data[$schema], $dateformat),
|
H A D | TodayNotifier.php | 21 public function getNotifiableUsers($page, $editor_email, $new_data, $old_data) { argument
|
H A D | OverdueNotifier.php | 21 public function getNotifiableUsers($page, $editor_email, $new_data, $old_data) { argument
|
H A D | ReminderNotifier.php | 42 public function getNotifiableUsers($page, $editor_email, $new_data, $old_data) { argument
|
/plugin/structtasks/ |
H A D | action.php | 68 list($old_data, $new_data, $valid) = $util->getMetadata( 83 $old_data['content'] = $event->data['oldContent']; 86 $notifier->sendMessage($id, $title, $editor_name, $editor_email, $new_data, $old_data);
|