58f092d410615baa2d9d23adbd884c976914aad3
[manu/RT-Extension-Drafts.git] / lib / RT / Extension / Drafts.pm
1 package RT::Extension::Drafts;
2
3 use warnings;
4 use strict;
5
6 =head1 NAME
7
8 RT::Extension::Drafts - Allow to save/load drafts in ticket replies/comments
9
10 =head1 VERSION
11
12 Version 0.03
13
14 =cut
15
16 our $VERSION = '0.03';
17
18
19 =head1 SYNOPSIS
20
21 This RT Extension allow users to save a reply/comment as a draft for the
22 current ticket and load it again later.
23
24 =head1 AUTHOR
25
26 Emmanuel Lacour, C<< <elacour at home-dn.net> >>
27
28 =head1 BUGS
29
30 Please report any bugs or feature requests to C<bug-rt-extension-Drafts at rt.cpan.org>, or through
31 the web interface at L<http://rt.cpan.org/NoAuth/ReportBug.html?Queue=RT-Extension-Drafts>.  I will be notified, and then you'll
32 automatically be notified of progress on your bug as I make changes.
33
34
35
36
37 =head1 SUPPORT
38
39 You can find documentation for this module with the perldoc command.
40
41     perldoc RT::Extension::Drafts
42
43
44 You can also look for information at:
45
46 =over 4
47
48 =item * RT: CPAN's request tracker
49
50 L<http://rt.cpan.org/NoAuth/Bugs.html?Dist=RT-Extension-Drafts>
51
52 =item * AnnoCPAN: Annotated CPAN documentation
53
54 L<http://annocpan.org/dist/RT-Extension-Drafts>
55
56 =item * CPAN Ratings
57
58 L<http://cpanratings.perl.org/d/RT-Extension-Drafts>
59
60 =item * Search CPAN
61
62 L<http://search.cpan.org/dist/RT-Extension-Drafts>
63
64 =back
65
66
67 =head1 ACKNOWLEDGEMENTS
68
69
70 =head1 COPYRIGHT & LICENSE
71
72 Copyright 2011-2018 Emmanuel Lacour, all rights reserved.
73
74 This program is free software; you can redistribute it and/or modify it
75 under the same terms as Perl itself.
76
77 Request Tracker (RT) is Copyright Best Practical Solutions, LLC.
78
79 =cut
80
81 # User overridable options
82 $RT::Config::META{AutoSaveDraftPeriod} = {
83     Section         => 'Ticket composition',
84     Overridable     => 1,
85     SortOrder       => 20,
86     Widget          => '/Widgets/Form/Integer',
87     WidgetArguments => {
88         Description => 'Period (in seconds) to automatically save a response/comment draft'
89     },
90 };
91
92 1; # End of RT::Extension::Drafts