+ Reply to Thread
Page 6 of 9 FirstFirst ... 4 5 6 7 8 ... LastLast
Results 51 to 60 of 85

Thread: Managesieve patch

  1. #51
    nmgl is offline Registered User
    Join Date
    Feb 2009
    Posts
    6
    Downloads
    0
    Uploads
    0

    Default

    Quote Originally Posted by kuyaedz View Post
    ok, I reinstalled roundcube to make sure it was pristine and then tried this patch <roundcubebject name="pagetitle" /> but I get a similar error.

    Is there any more info I can give you toward finding the right patch for the right version?
    I have this error. It is due to the patch command. On FreeBSD, the patch command does not like the diff binary. So, the solution is to use a Linux, install a roundcube and patch it. And after, you can use these files.



    Just another question. I see in the author page: More Sieve features like regexp, body, imapflags, comparators. And what about vacation? It's an important feature of Sieve. In my mind.
    Last edited by nmgl; 02-04-2009 at 02:18 PM.

  2. #52
    JohnDoh is offline Super Moderator
    Join Date
    May 2007
    Posts
    1,206
    Downloads
    6
    Uploads
    0

    Default

    Thanks for the info about FreeBSD, I did not know that. Does it help if you use the --binary option for the patch command?

    The sieverules patch has more features than the original script made my Alec, so far from that list it supports regexp, imapflags, comparators, and vacation. The changes are in the changelog but I should probably may them clearer. I will add the supported features to the readme.
    Roundcube Patches: Sieverules, SpamAssassin Prefs, and more…

  3. #53
    nmgl is offline Registered User
    Join Date
    Feb 2009
    Posts
    6
    Downloads
    0
    Uploads
    0

    Default

    Quote Originally Posted by JohnDoh View Post
    Thanks for the info about FreeBSD, I did not know that. Does it help if you use the --binary option for the patch command?
    There's no --binary option in patch(1).

    Quote Originally Posted by JohnDoh View Post
    The sieverules patch has more features than the original script made my Alec, so far from that list it supports regexp, imapflags, comparators, and vacation. The changes are in the changelog but I should probably may them clearer. I will add the supported features to the readme.
    And where find this patch? I only know Alec patch (managesieve plugin).

  4. #54
    JohnDoh is offline Super Moderator
    Join Date
    May 2007
    Posts
    1,206
    Downloads
    6
    Uploads
    0

    Default

    its the patch this thread is all about... RoundCube Patches
    Roundcube Patches: Sieverules, SpamAssassin Prefs, and more…

  5. #55
    ridnhard19 is offline Registered User
    Join Date
    Feb 2009
    Posts
    1
    Downloads
    0
    Uploads
    0

    Default

    This is great! I've applied this to .2 stable without any issues and its working great thus far with Cyrus IMAP/SIEVE.

    Thanks for your hard work on this.

  6. #56
    nmgl is offline Registered User
    Join Date
    Feb 2009
    Posts
    6
    Downloads
    0
    Uploads
    0

    Default

    The patch has some errors.
    I'm on a GNU/Linux Debian. I download roundcube from official website (0.2-stable). So, I'm on a clean and a from-scratch roundcube. No modifications. I want to use SieveRules patch (BETA.r2264.patch).And, when I apply the patch:

    Code:
    root@domain roundcubemail-0.2-stable # patch -ul -d /root/roundcubemail-0.2-stable -p1 < sieverules.BETA.r2264.patch
    patching file index.php
    Hunk #1 succeeded at 193 (offset -4 lines).
    patching file plugins/sieverules/add.png
    patching file plugins/sieverules/config.inc.php
    patching file plugins/sieverules/help.png
    patching file plugins/sieverules/Net_Sieve.php
    patching file plugins/sieverules/rcube_sieve.php
    patching file plugins/sieverules/rcube_sieve_script.php
    patching file plugins/sieverules/sieverules_func.inc
    patching file plugins/sieverules/sieverules.php
    patching file program/js/app.js
    Hunk #1 FAILED at 288.
    Hunk #2 FAILED at 301.
    Hunk #3 FAILED at 1080.
    Hunk #4 FAILED at 2835.
    4 out of 4 hunks FAILED -- saving rejects to file program/js/app.js.rej
    patching file program/js/sieverules.js
    patching file program/localization/en_US/labels.inc
    patching file program/localization/en_US/messages.inc
    patching file program/steps/settings/delete_sieverule.inc
    patching file program/steps/settings/edit_sieverule.inc
    patching file program/steps/settings/save_sieverule.inc
    patching file program/steps/settings/sieverules_ajax.inc
    patching file program/steps/settings/sieverules.inc
    patching file skins/default/functions.js
    patching file skins/default/includes/settingstabs.html
    patching file skins/default/sieverules.css
    patching file skins/default/templates/editsieverule.html
    patching file skins/default/templates/sieverules.html

    Code:
    root@domain roundcubemail-0.2-stable # cat program/js/app.js.rej
    ***************
    *** 288,293 ****
    
            case 'settings':
              this.enable_command('preferences', 'identities', 'save', 'folders', true);
    
              if (this.env.action=='identities' || this.env.action=='edit-identity' || this.env.action=='add-identity') {
                this.enable_command('add', this.env.identities_level < 2);
    --- 288,294 ----
    
            case 'settings':
              this.enable_command('preferences', 'identities', 'save', 'folders', true);
    +         this.enable_command('sieverules', true);
    
              if (this.env.action=='identities' || this.env.action=='edit-identity' || this.env.action=='add-identity') {
                this.enable_command('add', this.env.identities_level < 2);
    ***************
    *** 300,305 ****
              if (this.env.action=='folders')
                this.enable_command('subscribe', 'unsubscribe', 'create-folder', 'rename-folder', 'delete-folder', true);
    
              if (this.gui_objects.identitieslist)
                {
                this.identity_list = new rcube_list_widget(this.gui_objects.identitieslist, {multiselect:false, draggable:false, keyboard:false});
    --- 301,323 ----
              if (this.env.action=='folders')
                this.enable_command('subscribe', 'unsubscribe', 'create-folder', 'rename-folder', 'delete-folder', true);
    
    +         if ((this.env.action=='sieverules' || this.env.action=='edit-sieverule' || this.env.action=='add-sieverule') && !this.env.sieveruleserror)
    +           this.enable_command('add-sieverule', true);
    +
    +         if (this.env.action=='edit-sieverule' || this.env.action=='add-sieverule')
    +           this.enable_command('save-sieverule', 'delete-sieverule', true);
    +
    +         if (this.gui_objects.sieveruleslist)
    +           {
    +           this.sievefilters_list = new rcube_list_widget(this.gui_objects.sieveruleslist, {multiselect:false, draggable:false, keyboard:false});
    +           this.sievefilters_list.addEventListener('select', function(o){ sieverule_select(o); });
    +           this.sievefilters_list.init();
    +           this.sievefilters_list.focus();
    +
    +           if (!isNaN(this.env.iid))
    +             this.sievefilters_list.highlight_row(this.env.iid);
    +           }
    +
              if (this.gui_objects.identitieslist)
                {
                this.identity_list = new rcube_list_widget(this.gui_objects.identitieslist, {multiselect:false, draggable:false, keyboard:false});
    ***************
    *** 1062,1067 ****
              this.delete_folder(props);
              break;
    
            }
    
          return obj ? false : true;
    --- 1080,1103 ----
              this.delete_folder(props);
              break;
    
    +       case 'sieverules':
    +         this.goto_url('sieverules', '', true);
    +         break;
    +
    +       case 'add-sieverule':
    +         this.goto_url('add-sieverule', '', true);
    +         break;
    +
    +       case 'save-sieverule':
    +         if (sieverules_check_input())
    +           this.gui_objects.editform.submit();
    +         break;
    +
    +       case 'delete-sieverule':
    +         if (confirm(rcmail.get_label('filterdeleteconfirm')))
    +           this.goto_url('delete-sieverule', '_iid=' + this.env.iid, true);
    +         break;
    +
            }
    
          return obj ? false : true;
    ***************
    *** 2799,2804 ****
        /*********        user settings methods          *********/
        /*********************************************************/
    
        this.init_subscription_list = function()
          {
          var p = this;
    --- 2835,2844 ----
        /*********        user settings methods          *********/
        /*********************************************************/
    
    +   this.sieverules_updatelist = function(action, name, id) {
    +     sieverules_updatelist(action, name, id);
    +   }
    +
        this.init_subscription_list = function()
          {
          var p = this;
    Anybody could say me a roundcube version for this patch?
    Last edited by nmgl; 02-15-2009 at 10:02 AM.

  7. #57
    JohnDoh is offline Super Moderator
    Join Date
    May 2007
    Posts
    1,206
    Downloads
    6
    Uploads
    0

    Default

    You are using the wrong version of the patch, as it says on the site you need a special version for the 0.2stable tarball becuase of the compressed JS files.

    Click on "old versions" under SieveRules and you should see it.
    Roundcube Patches: Sieverules, SpamAssassin Prefs, and more…

  8. #58
    nmgl is offline Registered User
    Join Date
    Feb 2009
    Posts
    6
    Downloads
    0
    Uploads
    0

    Default

    Thanks a lot!

    (need some help for the french translation?)

  9. #59
    JohnDoh is offline Super Moderator
    Join Date
    May 2007
    Posts
    1,206
    Downloads
    6
    Uploads
    0

    Default

    if you could make a french translation that would be create, there is a translator on the website that should show you all the text.
    Roundcube Patches: Sieverules, SpamAssassin Prefs, and more…

  10. #60
    Nyro is offline Registered User
    Join Date
    Feb 2009
    Posts
    4
    Downloads
    0
    Uploads
    0

    Default

    Quote Originally Posted by JohnDoh View Post
    if you could make a french translation that would be create, there is a translator on the website that should show you all the text.
    Hi JohnDoh,

    I can't use your plugin in my roundcube installation.
    I just downloaded it from the roundcube website.

    I read that I should'nt use the last version but a special one.
    I used: sieverules.BETA.r2198.rl.patch

    After running the patch command, it's not working. Clicking on the filters tab doesn't do anything at all.

    I also tried with the last patched version and it's the same.

    Once it will work, I'll be glad to create the French translation

+ Reply to Thread
Page 6 of 9 FirstFirst ... 4 5 6 7 8 ... LastLast

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

     

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts