[Rt-commit] rt branch, admin_ui, created. rt-3.8.6-96-g95182cb

sunnavy at bestpractical.com sunnavy at bestpractical.com
Wed Nov 25 09:38:59 EST 2009


The branch, admin_ui has been created
        at  95182cbc4c5b469c176d83fe5e1489c42713b4dd (commit)

- Log -----------------------------------------------------------------
commit 90fa1f465e557daea803d2a3f69d401fe9b2cf0f
Author: Kevin Falcone <falcone at bestpractical.com>
Date:   Fri Nov 20 13:36:58 2009 -0500

    Skip the richtext editor for android and iphone devices
    
    Although they're webkit > 422 (which is what FCKeditor checks for)
    the browser won't pop up the keyboard or react to input events,
    rendering the rich text editor useless for these mobile devices.
    
    Resolves 14070

diff --git a/share/html/Elements/HeaderJavascript b/share/html/Elements/HeaderJavascript
index be12d48..6ee88a1 100644
--- a/share/html/Elements/HeaderJavascript
+++ b/share/html/Elements/HeaderJavascript
@@ -69,7 +69,10 @@ $onload => undef
 
 % if ( RT->Config->Get('MessageBoxRichText',  $session{'CurrentUser'})) {
     function ReplaceAllTextareas() {
-        if (!FCKeditor_IsCompatibleBrowser())
+        var sAgent = navigator.userAgent.toLowerCase();
+        if (!FCKeditor_IsCompatibleBrowser() ||
+            sAgent.indexOf('iphone') != -1 ||
+            sAgent.indexOf('android') != -1 )
             return false;
 
         // replace all content and signature message boxes

commit c39ee41af11ee3a52a9bd998e6ab5c887edf1bd9
Author: Emmanuel Lacour <elacour at home-dn.net>
Date:   Sat Nov 21 00:12:22 2009 +0100

    Add ability to skip QuickCreate ticket creation in the Initial callback
    (consistent with Ticket/Create.html and SelfService/Create.html)

diff --git a/share/html/index.html b/share/html/index.html
index a554e9c..ad9964c 100755
--- a/share/html/index.html
+++ b/share/html/index.html
@@ -87,8 +87,10 @@ If you need commercial support, please contact us at sales at bestpractical.com.
 <%init>
 
 my @results;
+my $skip_create = 0;
 
-$m->callback( ARGSRef => \%ARGS, results => \@results, CallbackName => 'Initial' );
+$m->callback( ARGSRef => \%ARGS, results => \@results, CallbackName => 'Initial', 
+              skip_create => \$skip_create );
 
 if ( $ARGS{'QuickCreate'} ) {
     my $QueueObj = new RT::Queue($session{'CurrentUser'});
@@ -103,7 +105,7 @@ if ( $ARGS{'QuickCreate'} ) {
     );
 
 
-    if ( $ValidCFs ) {
+    if ( $ValidCFs && !$skip_create ) {
         my ($t, $msg) = CreateTicket( 
                         Queue => $ARGS{'Queue'},
                         Owner => $ARGS{'Owner'},
@@ -115,7 +117,7 @@ if ( $ARGS{'QuickCreate'} ) {
                         Subject => $ARGS{'Subject'});
         push @results, $msg;
     }
-    else {
+    elsif ( !$ValidCFs ) {
         push @results, "can't quickly create ticket in queue " .
             $QueueObj->Name . ' because some custom fields need to be set, please go to normal ticket creation page to do that.';
     }

commit 95182cbc4c5b469c176d83fe5e1489c42713b4dd
Author: Emmanuel Lacour <elacour at easter-eggs.com>
Date:   Tue Nov 24 15:30:50 2009 +0100

    Add doc about @Plugins configuration variable.

diff --git a/etc/RT_Config.pm.in b/etc/RT_Config.pm.in
index 8f06b93..5d28e71 100755
--- a/etc/RT_Config.pm.in
+++ b/etc/RT_Config.pm.in
@@ -1561,6 +1561,19 @@ Hide links/portlets related to Reminders by setting this to 0
 
 Set($EnableReminders,1);
 
+
+=item C<@Plugins>
+
+Set C<@Plugins> to a list of external RT plugins that should be enabled (those
+plugins have to be previously downloaded and installed).
+Example:
+
+C<Set(@Plugins, (qw(Extension::QuickDelete RT::FM)));>
+
+=cut
+
+Set(@Plugins, ());
+
 =back
 
 =head1 Development Configuration

-----------------------------------------------------------------------


More information about the Rt-commit mailing list