Project

General

Profile

Patch #18209 » tracker_updated_notifiable_revision13520.diff

Patch adding "tracker updated" notification option - Martin Cizek, 2014-10-27 15:20

View differences:

config/locales/bs.yml (working copy)
960 960
  label_issue_note_added: Note added
961 961
  label_issue_status_updated: Status updated
962 962
  label_issue_priority_updated: Priority updated
963
  label_issue_tracker_updated: Tracker updated
963 964
  label_issues_visibility_own: Issues created by or assigned to the user
964 965
  field_issues_visibility: Issues visibility
965 966
  label_issues_visibility_all: All issues
config/locales/fr.yml (working copy)
530 530
  label_issue_status_updated: Statut changé
531 531
  label_issue_assigned_to_updated: Assigné changé
532 532
  label_issue_priority_updated: Priorité changée
533
  label_issue_tracker_updated: Tracker updated
533 534
  label_document: Document
534 535
  label_document_new: Nouveau document
535 536
  label_document_plural: Documents
config/locales/hr.yml (working copy)
948 948
  label_issue_note_added: Note added
949 949
  label_issue_status_updated: Status updated
950 950
  label_issue_priority_updated: Priority updated
951
  label_issue_tracker_updated: Tracker updated
951 952
  label_issues_visibility_own: Issues created by or assigned to the user
952 953
  field_issues_visibility: Issues visibility
953 954
  label_issues_visibility_all: All issues
config/locales/nl.yml (working copy)
929 929
  label_issue_note_added: Notitie toegevoegd
930 930
  label_issue_status_updated: Status gewijzigd
931 931
  label_issue_priority_updated: Prioriteit gewijzigd
932
  label_issue_tracker_updated: Tracker updated
932 933
  label_issues_visibility_own: Issue aangemaakt door of toegewezen aan
933 934
  field_issues_visibility: Issues weergave
934 935
  label_issues_visibility_all: Alle issues
config/locales/zh-TW.yml (working copy)
595 595
  label_issue_status_updated: 狀態已更新
596 596
  label_issue_assigned_to_updated: 被分派者已更新
597 597
  label_issue_priority_updated: 優先權已更新
598
  label_issue_tracker_updated: Tracker updated
598 599
  label_document: 文件
599 600
  label_document_new: 建立新文件
600 601
  label_document_plural: 文件
config/locales/th.yml (working copy)
944 944
  label_issue_note_added: Note added
945 945
  label_issue_status_updated: Status updated
946 946
  label_issue_priority_updated: Priority updated
947
  label_issue_tracker_updated: Tracker updated
947 948
  label_issues_visibility_own: Issues created by or assigned to the user
948 949
  field_issues_visibility: Issues visibility
949 950
  label_issues_visibility_all: All issues
config/locales/pl.yml (working copy)
967 967
  label_issue_note_added: Dodano notatkę
968 968
  label_issue_status_updated: Uaktualniono status
969 969
  label_issue_priority_updated: Uaktualniono priorytet
970
  label_issue_tracker_updated: Tracker updated
970 971
  label_issues_visibility_own: Utworzone lub przypisane do użytkownika
971 972
  field_issues_visibility: Widoczne zagadnienia
972 973
  label_issues_visibility_all: Wszystkie
config/locales/hu.yml (working copy)
967 967
  label_issue_note_added: Jegyzet hozzáadva
968 968
  label_issue_status_updated: Állapot módosítva
969 969
  label_issue_priority_updated: Prioritás módosítva
970
  label_issue_tracker_updated: Tracker updated
970 971
  label_issues_visibility_own: A felhasználó által létrehozott vagy hozzárendelt feladatok
971 972
  field_issues_visibility: Feladatok láthatósága
972 973
  label_issues_visibility_all: Minden feladat
config/locales/no.yml (working copy)
935 935
  label_issue_note_added: Notat lagt til
936 936
  label_issue_status_updated: Status oppdatert
937 937
  label_issue_priority_updated: Prioritet oppdatert
938
  label_issue_tracker_updated: Tracker updated
938 939
  label_issues_visibility_own: Saker opprettet av eller tildelt brukeren
939 940
  field_issues_visibility: Synlighet på saker
940 941
  label_issues_visibility_all: Alle saker
config/locales/vi.yml (working copy)
1001 1001
  label_issue_note_added: Ghi chú được thêm
1002 1002
  label_issue_status_updated: Trạng thái cập nhật
1003 1003
  label_issue_priority_updated: Cập nhật ưu tiên
1004
  label_issue_tracker_updated: Tracker updated
1004 1005
  label_issues_visibility_own: Vấn đề tạo bởi hoặc gán cho người dùng
1005 1006
  field_issues_visibility: Vấn đề được nhìn thấy
1006 1007
  label_issues_visibility_all: Tất cả vấn đề
config/locales/lt.yml (working copy)
530 530
  label_issue_note_added: Pastaba pridėta
531 531
  label_issue_status_updated: Statusas atnaujintas
532 532
  label_issue_priority_updated: Prioritetas atnaujintas
533
  label_issue_tracker_updated: Tracker updated
533 534
  label_document: Dokumentas
534 535
  label_document_new: Naujas dokumentas
535 536
  label_document_plural: Dokumentai
config/locales/ro.yml (working copy)
942 942
  label_issue_note_added: Note added
943 943
  label_issue_status_updated: Status updated
944 944
  label_issue_priority_updated: Priority updated
945
  label_issue_tracker_updated: Tracker updated
945 946
  label_issues_visibility_own: Issues created by or assigned to the user
946 947
  field_issues_visibility: Issues visibility
947 948
  label_issues_visibility_all: All issues
config/locales/lv.yml (working copy)
941 941
  label_issue_note_added: Note added
942 942
  label_issue_status_updated: Status updated
943 943
  label_issue_priority_updated: Priority updated
944
  label_issue_tracker_updated: Tracker updated
944 945
  label_issues_visibility_own: Issues created by or assigned to the user
945 946
  field_issues_visibility: Uzdevumu redzamība
946 947
  label_issues_visibility_all: Visi uzdevumi
config/locales/zh.yml (working copy)
951 951
  label_issue_note_added: 问题备注已添加
952 952
  label_issue_status_updated: 问题状态更新
953 953
  label_issue_priority_updated: 问题优先级更新
954
  label_issue_tracker_updated: Tracker updated
954 955
  label_issues_visibility_own: 创建或分配给用户的问题
955 956
  field_issues_visibility: 问题可见
956 957
  label_issues_visibility_all: 全部问题
config/locales/ca.yml (working copy)
949 949
  label_issue_note_added: Note added
950 950
  label_issue_status_updated: Status updated
951 951
  label_issue_priority_updated: Priority updated
952
  label_issue_tracker_updated: Tracker updated
952 953
  label_issues_visibility_own: Issues created by or assigned to the user
953 954
  field_issues_visibility: Issues visibility
954 955
  label_issues_visibility_all: All issues
config/locales/pt.yml (working copy)
954 954
  label_issue_note_added: Nota adicionada
955 955
  label_issue_status_updated: Estado atualizado
956 956
  label_issue_priority_updated: Prioridade adicionada
957
  label_issue_tracker_updated: Tracker updated
957 958
  label_issues_visibility_own: Tarefas criadas ou atribuídas ao utilizador
958 959
  field_issues_visibility: Visibilidade das tarefas
959 960
  label_issues_visibility_all: Todas as tarefas
config/locales/tr.yml (working copy)
959 959
  label_issue_note_added: Not eklendi
960 960
  label_issue_status_updated: Durum güncellendi
961 961
  label_issue_priority_updated: Öncelik güncellendi
962
  label_issue_tracker_updated: Tracker updated
962 963
  label_issues_visibility_own: Kullanıcı tarafından oluşturulmuş ya da kullanıcıya atanmış sorunlar
963 964
  field_issues_visibility: İşlerin görünürlüğü
964 965
  label_issues_visibility_all: Tüm işler
config/locales/ru.yml (working copy)
1056 1056
  label_issue_note_added: Примечание добавлено
1057 1057
  label_issue_status_updated: Статус обновлён
1058 1058
  label_issue_priority_updated: Приоритет обновлён
1059
  label_issue_tracker_updated: Tracker updated
1059 1060
  label_issues_visibility_own: Задачи созданные или назначенные пользователю
1060 1061
  field_issues_visibility: Видимость задач
1061 1062
  label_issues_visibility_all: Все задачи
config/locales/id.yml (working copy)
951 951
  label_issue_note_added: Note added
952 952
  label_issue_status_updated: Status updated
953 953
  label_issue_priority_updated: Priority updated
954
  label_issue_tracker_updated: Tracker updated
954 955
  label_issues_visibility_own: Issues created by or assigned to the user
955 956
  field_issues_visibility: Issues visibility
956 957
  label_issues_visibility_all: All issues
config/locales/el.yml (working copy)
947 947
  label_issue_note_added: Note added
948 948
  label_issue_status_updated: Status updated
949 949
  label_issue_priority_updated: Priority updated
950
  label_issue_tracker_updated: Tracker updated
950 951
  label_issues_visibility_own: Issues created by or assigned to the user
951 952
  field_issues_visibility: Issues visibility
952 953
  label_issues_visibility_all: All issues
config/locales/en.yml (working copy)
510 510
  label_issue_status_updated: Status updated
511 511
  label_issue_assigned_to_updated: Assignee updated
512 512
  label_issue_priority_updated: Priority updated
513
  label_issue_tracker_updated: Tracker updated
513 514
  label_document: Document
514 515
  label_document_new: New document
515 516
  label_document_plural: Documents
config/locales/gl.yml (working copy)
961 961
  label_issue_note_added: "Engadiuse a nota."
962 962
  label_issue_status_updated: "Actualizouse o estado."
963 963
  label_issue_priority_updated: "Actualizouse a prioridade."
964
  label_issue_tracker_updated: Tracker updated
964 965
  label_issues_visibility_own: "Peticións creadas polo usuario ou asignadas a el"
965 966
  field_issues_visibility: "Visibilidade das peticións"
966 967
  label_issues_visibility_all: "Todas as peticións"
config/locales/ar.yml (working copy)
471 471
  label_issue_note_added: تم اضافة الملاحظة
472 472
  label_issue_status_updated: تم تحديث الحالة
473 473
  label_issue_priority_updated: تم تحديث الاولويات
474
  label_issue_tracker_updated: Tracker updated
474 475
  label_document: مستند
475 476
  label_document_new: مستند جديد
476 477
  label_document_plural: مستندات
config/locales/cs.yml (working copy)
952 952
  label_issue_note_added: Přidána poznámka
953 953
  label_issue_status_updated: Aktualizován stav
954 954
  label_issue_priority_updated: Aktualizována priorita
955
  label_issue_tracker_updated: Aktualizována fronta
955 956
  label_issues_visibility_own: Úkol vytvořen nebo přiřazen uživatel(i/em)
956 957
  field_issues_visibility: Viditelnost úkolů
957 958
  label_issues_visibility_all: Všechny úkoly
config/locales/mk.yml (working copy)
946 946
  label_issue_note_added: Note added
947 947
  label_issue_status_updated: Status updated
948 948
  label_issue_priority_updated: Priority updated
949
  label_issue_tracker_updated: Tracker updated
949 950
  label_issues_visibility_own: Issues created by or assigned to the user
950 951
  field_issues_visibility: Issues visibility
951 952
  label_issues_visibility_all: All issues
config/locales/es.yml (working copy)
987 987
  label_issue_note_added: Nota añadida
988 988
  label_issue_status_updated: Estado actualizado
989 989
  label_issue_priority_updated: Prioridad actualizada
990
  label_issue_tracker_updated: Tracker updated
990 991
  label_issues_visibility_own: Peticiones creadas por el usuario o asignadas a él
991 992
  field_issues_visibility: Visibilidad de las peticiones
992 993
  label_issues_visibility_all: Todas las peticiones
config/locales/et.yml (working copy)
497 497
  label_issue_note_added: "Märkus lisatud"
498 498
  label_issue_status_updated: "Olek uuendatud"
499 499
  label_issue_priority_updated: "Prioriteet uuendatud"
500
  label_issue_tracker_updated: Tracker updated
500 501
  label_document: "Dokument"
501 502
  label_document_new: "Uus dokument"
502 503
  label_document_plural: "Dokumendid"
config/locales/ko.yml (working copy)
997 997
  label_issue_note_added: "덧글이 추가되었습니다."
998 998
  label_issue_status_updated: "상태가 변경되었습니다."
999 999
  label_issue_priority_updated: "우선 순위가 변경되었습니다."
1000
  label_issue_tracker_updated: Tracker updated
1000 1001
  label_issues_visibility_own: "일감을 생성하거나 맡은 사용자"
1001 1002
  field_issues_visibility: "일감 보임"
1002 1003
  label_issues_visibility_all: "모든 일감"
config/locales/eu.yml (working copy)
949 949
  label_issue_note_added: Oharra gehituta
950 950
  label_issue_status_updated: Egoera eguneratuta
951 951
  label_issue_priority_updated: Lehentasuna eguneratuta
952
  label_issue_tracker_updated: Tracker updated
952 953
  label_issues_visibility_own: Erabiltzaileak sortu edo esleituta dituen zereginak
953 954
  field_issues_visibility: Zeregin ikusgarritasuna
954 955
  label_issues_visibility_all: Zeregin guztiak
config/locales/mn.yml (working copy)
948 948
  label_issue_note_added: Note added
949 949
  label_issue_status_updated: Status updated
950 950
  label_issue_priority_updated: Priority updated
951
  label_issue_tracker_updated: Tracker updated
951 952
  label_issues_visibility_own: Issues created by or assigned to the user
952 953
  field_issues_visibility: Issues visibility
953 954
  label_issues_visibility_all: All issues
config/locales/az.yml (working copy)
1046 1046
  label_issue_note_added: Qeyd əlavə olunub
1047 1047
  label_issue_status_updated: Status yenilənib
1048 1048
  label_issue_priority_updated: Prioritet yenilənib
1049
  label_issue_tracker_updated: Tracker updated
1049 1050
  label_issues_visibility_own: İstifadəçi üçün yaradılan və ya ona təyin olunan tapşırıqlar
1050 1051
  field_issues_visibility: Tapşırıqların görünmə dərəcəsi
1051 1052
  label_issues_visibility_all: Bütün tapşırıqlar
config/locales/it.yml (working copy)
948 948
  label_issue_note_added: Nota aggiunta
949 949
  label_issue_status_updated: Stato aggiornato
950 950
  label_issue_priority_updated: Priorità aggiornata
951
  label_issue_tracker_updated: Tracker updated
951 952
  label_issues_visibility_own: Segnalazioni create o assegnate all'utente
952 953
  field_issues_visibility: Visibilità segnalazioni
953 954
  label_issues_visibility_all: Tutte le segnalazioni
config/locales/sk.yml (working copy)
942 942
  label_issue_note_added: Poznámka bola pridaná
943 943
  label_issue_status_updated: Stav bol aktualizovaný
944 944
  label_issue_priority_updated: Priorita bola aktualizovaná
945
  label_issue_tracker_updated: Tracker updated
945 946
  label_issues_visibility_own: Úlohy od používateľa alebo priradené používateľovi
946 947
  field_issues_visibility: Viditeľnosť úloh
947 948
  label_issues_visibility_all: Všetky úlohy
config/locales/sl.yml (working copy)
945 945
  label_issue_note_added: Dodan zaznamek
946 946
  label_issue_status_updated: Status posodobljen
947 947
  label_issue_priority_updated: Prioriteta posodobljena
948
  label_issue_tracker_updated: Tracker updated
948 949
  label_issues_visibility_own: Zahtevek ustvarjen s strani uporabnika ali dodeljen uporabniku
949 950
  field_issues_visibility: Vidljivost zahtevkov
950 951
  label_issues_visibility_all: Vsi zahtevki
config/locales/uk.yml (working copy)
944 944
  label_issue_note_added: Note added
945 945
  label_issue_status_updated: Status updated
946 946
  label_issue_priority_updated: Priority updated
947
  label_issue_tracker_updated: Tracker updated
947 948
  label_issues_visibility_own: Issues created by or assigned to the user
948 949
  field_issues_visibility: Issues visibility
949 950
  label_issues_visibility_all: All issues
config/locales/sr-YU.yml (working copy)
950 950
  label_issue_note_added: Nota dodana
951 951
  label_issue_status_updated: Status ažuriran
952 952
  label_issue_priority_updated: Prioritet ažuriran
953
  label_issue_tracker_updated: Tracker updated
953 954
  label_issues_visibility_own: Problem kreiran od strane ili je dodeljen korisniku
954 955
  field_issues_visibility: Vidljivost problema
955 956
  label_issues_visibility_all: Svi problemi
config/locales/sq.yml (working copy)
478 478
  label_issue_note_added: Shenime te shtuara
479 479
  label_issue_status_updated: Statusi u modifikua
480 480
  label_issue_priority_updated: Prioriteti u modifikua
481
  label_issue_tracker_updated: Tracker updated
481 482
  label_document: Dokument
482 483
  label_document_new: Dokument i ri
483 484
  label_document_plural: Dokumente
config/locales/sr.yml (working copy)
948 948
  label_issue_note_added: Note added
949 949
  label_issue_status_updated: Status updated
950 950
  label_issue_priority_updated: Priority updated
951
  label_issue_tracker_updated: Tracker updated
951 952
  label_issues_visibility_own: Issues created by or assigned to the user
952 953
  field_issues_visibility: Issues visibility
953 954
  label_issues_visibility_all: All issues
config/locales/pt-BR.yml (working copy)
359 359
  label_issue_note_added: Nota adicionada
360 360
  label_issue_status_updated: Situação atualizada
361 361
  label_issue_priority_updated: Prioridade atualizada
362
  label_issue_tracker_updated: Tracker updated
362 363
  label_document: Documento
363 364
  label_document_new: Novo documento
364 365
  label_document_plural: Documentos
config/locales/da.yml (working copy)
964 964
  label_issue_note_added: Note added
965 965
  label_issue_status_updated: Status updated
966 966
  label_issue_priority_updated: Priority updated
967
  label_issue_tracker_updated: Tracker updated
967 968
  label_issues_visibility_own: Issues created by or assigned to the user
968 969
  field_issues_visibility: Issues visibility
969 970
  label_issues_visibility_all: All issues
config/locales/fa.yml (working copy)
949 949
  label_issue_note_added: یادداشت افزوده شد
950 950
  label_issue_status_updated: وضعیت بروز شد
951 951
  label_issue_priority_updated: اولویت بروز شد
952
  label_issue_tracker_updated: Tracker updated
952 953
  label_issues_visibility_own: موردهای ایجاد شده تو سط خود کاربر و یا محول شده به وی
953 954
  field_issues_visibility: امکان مشاهده موارد
954 955
  label_issues_visibility_all: همه موارد
config/locales/sv.yml (working copy)
545 545
  label_issue_note_added: Anteckning tillagd
546 546
  label_issue_status_updated: Status uppdaterad
547 547
  label_issue_priority_updated: Prioritet uppdaterad
548
  label_issue_tracker_updated: Tracker updated
548 549
  label_document: Dokument
549 550
  label_document_new: Nytt dokument
550 551
  label_document_plural: Dokument
config/locales/de.yml (working copy)
579 579
  label_issue_note_added: Notiz hinzugefügt
580 580
  label_issue_plural: Tickets
581 581
  label_issue_priority_updated: Priorität aktualisiert
582
  label_issue_tracker_updated: Tracker updated
582 583
  label_issue_status: Ticket-Status
583 584
  label_issue_status_new: Neuer Status
584 585
  label_issue_status_plural: Ticket-Status
config/locales/bg.yml (working copy)
513 513
  label_issue_status_updated: Обновено състояние
514 514
  label_issue_assigned_to_updated: Задачата е с назначен нов изпълнител
515 515
  label_issue_priority_updated: Обновен приоритет
516
  label_issue_tracker_updated: Tracker updated
516 517
  label_document: Документ
517 518
  label_document_new: Нов документ
518 519
  label_document_plural: Документи
config/locales/en-GB.yml (working copy)
954 954
  label_issue_note_added: Note added
955 955
  label_issue_status_updated: Status updated
956 956
  label_issue_priority_updated: Priority updated
957
  label_issue_tracker_updated: Tracker updated
957 958
  label_issues_visibility_own: Issues created by or assigned to the user
958 959
  field_issues_visibility: Issues visibility
959 960
  label_issues_visibility_all: All issues
config/locales/ja.yml (working copy)
990 990
  label_issue_note_added: 注記の追加
991 991
  label_issue_status_updated: ステータスの更新
992 992
  label_issue_priority_updated: 優先度の更新
993
  label_issue_tracker_updated: Tracker updated
993 994
  label_issues_visibility_own: 作成者か担当者であるチケット
994 995
  field_issues_visibility: 表示できるチケット
995 996
  label_issues_visibility_all: すべてのチケット
config/locales/he.yml (working copy)
952 952
  label_issue_note_added: Note added
953 953
  label_issue_status_updated: Status updated
954 954
  label_issue_priority_updated: Priority updated
955
  label_issue_tracker_updated: Tracker updated
955 956
  label_issues_visibility_own: Issues created by or assigned to the user
956 957
  field_issues_visibility: Issues visibility
957 958
  label_issues_visibility_all: All issues
config/locales/fi.yml (working copy)
968 968
  label_issue_note_added: Note added
969 969
  label_issue_status_updated: Status updated
970 970
  label_issue_priority_updated: Priority updated
971
  label_issue_tracker_updated: Tracker updated
971 972
  label_issues_visibility_own: Issues created by or assigned to the user
972 973
  field_issues_visibility: Issues visibility
973 974
  label_issues_visibility_all: All issues
lib/redmine/notifiable.rb (working copy)
14 14
      notifications << Notifiable.new('issue_status_updated', 'issue_updated')
15 15
      notifications << Notifiable.new('issue_assigned_to_updated', 'issue_updated')
16 16
      notifications << Notifiable.new('issue_priority_updated', 'issue_updated')
17
      notifications << Notifiable.new('issue_tracker_updated', 'issue_updated')
17 18
      notifications << Notifiable.new('news_added')
18 19
      notifications << Notifiable.new('news_comment_added')
19 20
      notifications << Notifiable.new('document_added')
app/models/journal.rb (working copy)
192 192
        (Setting.notified_events.include?('issue_note_added') && notes.present?) ||
193 193
        (Setting.notified_events.include?('issue_status_updated') && new_status.present?) ||
194 194
        (Setting.notified_events.include?('issue_assigned_to_updated') && detail_for_attribute('assigned_to_id').present?) ||
195
        (Setting.notified_events.include?('issue_priority_updated') && new_value_for('priority_id').present?)
195
        (Setting.notified_events.include?('issue_priority_updated') && new_value_for('priority_id').present?) ||
196
        (Setting.notified_events.include?('issue_tracker_updated') && new_value_for('tracker_id').present?)
196 197
      )
197 198
      Mailer.deliver_issue_edit(self)
198 199
    end
    (1-1/1)