| 626 | }}} |
| 627 | |
| 628 | Source: [source:trunk/trac/notification.py trac/notification.py] |
| 629 | |
| 630 | {{{#!th |
| 631 | type |
| 632 | }}} |
| 633 | {{{#!th |
| 634 | name |
| 635 | }}} |
| 636 | {{{#!th |
| 637 | doc-string/notes |
| 638 | }}} |
| 639 | |---------------- |
| 640 | {{{#!td style="background: #efe" |
| 641 | class |
| 642 | }}} |
| 643 | {{{#!td style="background: #efe" |
| 644 | !TicketNotificationSystem(Component) |
| 645 | }}} |
| 646 | {{{#!td |
| 647 | |
| 648 | {{{#!th |
| 649 | type |
| 650 | }}} |
| 651 | {{{#!th |
| 652 | section |
| 653 | }}} |
| 654 | {{{#!th |
| 655 | option name |
| 656 | }}} |
| 657 | {{{#!th |
| 658 | default value |
| 659 | }}} |
| 660 | {{{#!th |
| 661 | doc-string/notes |
| 662 | }}} |
| 663 | |---------------- |
| 664 | {{{#!td |
| 665 | !BoolOption |
| 666 | }}} |
| 667 | {{{#!td |
| 668 | notification |
| 669 | }}} |
| 670 | {{{#!td |
| 671 | always_notify_owner |
| 672 | }}} |
| 673 | {{{#!td |
| 674 | false |
| 675 | }}} |
| 676 | {{{#!td |
| 677 | Always send notifications to the ticket owner (''since 0.9''). |
| 678 | }}} |
| 679 | |---------------- |
| 680 | {{{#!td |
| 681 | !BoolOption |
| 682 | }}} |
| 683 | {{{#!td |
| 684 | notification |
| 685 | }}} |
| 686 | {{{#!td |
| 687 | always_notify_reporter |
| 688 | }}} |
| 689 | {{{#!td |
| 690 | false |
| 691 | }}} |
| 692 | {{{#!td |
| 693 | Always send notifications to any address in the ''reporter'' field. |
| 694 | }}} |
| 695 | |---------------- |
| 696 | {{{#!td |
| 697 | !BoolOption |
| 698 | }}} |
| 699 | {{{#!td |
| 700 | notification |
| 701 | }}} |
| 702 | {{{#!td |
| 703 | always_notify_updater |
| 704 | }}} |
| 705 | {{{#!td |
| 706 | true |
| 707 | }}} |
| 708 | {{{#!td |
| 709 | Always send notifications to the person who causes the ticket property change and to any previous updater of that ticket. |
| 710 | }}} |
| 711 | |---------------- |
| 712 | {{{#!td |
| 713 | Option |
| 714 | }}} |
| 715 | {{{#!td |
| 716 | notification |
| 717 | }}} |
| 718 | {{{#!td |
| 719 | ticket_subject_template |
| 720 | }}} |
| 721 | {{{#!td |
| 722 | '$prefix #$ticket.id: $summary' |
| 723 | }}} |
| 724 | {{{#!td |
| 725 | A Genshi text template snippet used to get the notification subject.[[BR]] |
| 726 | By default, the subject template is `$prefix #$ticket.id: $summary`. `$prefix` being the value of the `smtp_subject_prefix` option. ''(since 0.11)'' |
| 727 | }}} |
| 728 | |
| 729 | }}} |
| 730 | |---------------- |
| 731 | {{{#!td colspan="3" |
| 732 | }}} |
| 733 | |---------------- |
| 734 | {{{#!td style="background: #efe" |
| 735 | class |
| 736 | }}} |
| 737 | {{{#!td style="background: #efe" |
| 738 | !TicketNotifyEmail(NotifyEmail) |
| 739 | }}} |
| 740 | {{{#!td |
| 741 | Notification of ticket changes. |
| 742 | }}} |
| 743 | |---------------- |
| 744 | {{{#!td |
| 745 | method |
| 746 | }}} |
| 747 | {{{#!td |
| 748 | {{{__init__}}} |
| 749 | }}} |
| 750 | {{{#!td |
| 751 | }}} |
| 752 | |---------------- |
| 753 | {{{#!td |
| 754 | method |
| 755 | }}} |
| 756 | {{{#!td |
| 757 | notify |
| 758 | }}} |
| 759 | {{{#!td |
| 760 | Send ticket change notification e-mail (untranslated) |
| 761 | }}} |
| 762 | |---------------- |
| 763 | {{{#!td |
| 764 | method |
| 765 | }}} |
| 766 | {{{#!td |
| 767 | _notify |
| 768 | }}} |
| 769 | {{{#!td |
| 770 | }}} |
| 771 | |---------------- |
| 772 | {{{#!td |
| 773 | method |
| 774 | }}} |
| 775 | {{{#!td |
| 776 | send |
| 777 | }}} |
| 778 | {{{#!td |
| 779 | }}} |
| 780 | |---------------- |
| 781 | {{{#!td |
| 782 | method |
| 783 | }}} |
| 784 | {{{#!td |
| 785 | format_props |
| 786 | }}} |
| 787 | {{{#!td |
| 788 | }}} |
| 789 | |---------------- |
| 790 | {{{#!td |
| 791 | method |
| 792 | }}} |
| 793 | {{{#!td |
| 794 | parse_cc |
| 795 | }}} |
| 796 | {{{#!td |
| 797 | }}} |
| 798 | |---------------- |
| 799 | {{{#!td |
| 800 | method |
| 801 | }}} |
| 802 | {{{#!td |
| 803 | diff_cc |
| 804 | }}} |
| 805 | {{{#!td |
| 806 | }}} |
| 807 | |---------------- |
| 808 | {{{#!td |
| 809 | method |
| 810 | }}} |
| 811 | {{{#!td |
| 812 | format_hdr |
| 813 | }}} |
| 814 | {{{#!td |
| 815 | }}} |
| 816 | |---------------- |
| 817 | {{{#!td |
| 818 | method |
| 819 | }}} |
| 820 | {{{#!td |
| 821 | format_subj |
| 822 | }}} |
| 823 | {{{#!td |
| 824 | }}} |
| 825 | |---------------- |
| 826 | {{{#!td |
| 827 | method |
| 828 | }}} |
| 829 | {{{#!td |
| 830 | get_recipients |
| 831 | }}} |
| 832 | {{{#!td |
| 833 | }}} |
| 834 | |---------------- |
| 835 | {{{#!td |
| 836 | method |
| 837 | }}} |
| 838 | {{{#!td |
| 839 | get_message_id |
| 840 | }}} |
| 841 | {{{#!td |
| 842 | Generate a predictable, but sufficiently unique message ID. |
| 843 | }}} |
| 844 | |---------------- |
| 845 | {{{#!td |
| 846 | method |
| 847 | }}} |
| 848 | {{{#!td |
| 849 | send |
| 850 | }}} |
| 851 | {{{#!td |