Opush
  1. Opush
  2. OP-193

An user can create an imap folder

    Details

    • Type: New Feature New Feature
    • Status: Closed Closed
    • Priority: Normal Normal
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.1.0
    • Labels:
      None
    • Rank:
      6810

      Description

      Pre-conditions

      Nothing special

      Reproduction steps

      As usera with any device, I want to create an Imap folder

      Expected behavior

      I can create a folder with special characters (*ù$!& éè()_à+/-) OK
      I can't create a folder that already exists and it doesn't try to test infinitely OK
      I can't create a folder if I don't have the creation rights on the Imap server
      (see RFC https://tools.ietf.org/html/rfc4314#page-5 (section 2.1) to disable this rights)
      OK
      I want to be able to see this folder in OBM UI and thunderbird OK
      I can move mails from a folder to an other OK
      I can delete this new folder from thunderbird or OBM UI and see the modifications on the device. I'm able to recreate it OK

        Activity

        Hide
        Simon STG_GARNIER added a comment - - edited
        Smartphone OPush version Test 1 Test 2 Test 3 Test 4 Test 5
        Samsung Galaxy SII (Android 4.1.2) Opush 3.1.0-alpha OK (1) OK OK OK OK
        Ipad (iOS 8.1.2) Opush 3.1.0-alpha OK(1) OK OK OK OK

        Test 1: I can create a folder with special characters
        Test 2: I can't create a folder that already exists and it doesn't try to test infinitely
        Test 3: I'm able to see this folder in OBM UI
        Test 4: I can move mails from a folder to an other
        Test 5: I can delete this new folder from thunderbird or OBM UI and see the modifications on the device. I'm able to recreate it

        (1) with éëèêË &€#-:à but not with /@;\

        I didn't find the folder create command on the Moto G (Android 4.4.4) and on the Windows Phone 8.1 (Nokia Lumia 920)... (It seems not to be possible.)

        We didn't manage to reproduce this test ----> I can't create a folder if I don't have the creation rights on the Imap server (see RFC https://tools.ietf.org/html/rfc4314#page-5 (section 2.1) to disable this rights)

        Show
        Simon STG_GARNIER added a comment - - edited Smartphone OPush version Test 1 Test 2 Test 3 Test 4 Test 5 Samsung Galaxy SII (Android 4.1.2) Opush 3.1.0-alpha OK (1) OK OK OK OK Ipad (iOS 8.1.2) Opush 3.1.0-alpha OK (1) OK OK OK OK Test 1: I can create a folder with special characters Test 2: I can't create a folder that already exists and it doesn't try to test infinitely Test 3: I'm able to see this folder in OBM UI Test 4: I can move mails from a folder to an other Test 5: I can delete this new folder from thunderbird or OBM UI and see the modifications on the device. I'm able to recreate it (1) with éëèêË &€#-:à but not with /@;\ I didn't find the folder create command on the Moto G (Android 4.4.4) and on the Windows Phone 8.1 (Nokia Lumia 920)... (It seems not to be possible.) We didn't manage to reproduce this test ----> I can't create a folder if I don't have the creation rights on the Imap server (see RFC https://tools.ietf.org/html/rfc4314#page-5 (section 2.1) to disable this rights)
        Hide
        Jenkins Continuous Integration Server added a comment -

        SUCCESS: Integrated in opush-master #228
        OP-193 Introduced FolderCreate protocol beans (sgarnier: 0483e387b87a9c6705c7b14642c95cfb37aabf3d)

        • push-bean/src/main/java/org/obm/push/bean/change/hierarchy/FolderCreateResponse.java
        • push-bean/src/main/java/org/obm/push/bean/FolderCreateStatus.java
        • protocol/src/test/java/org/obm/push/BeansTest.java
        • push-bean/src/main/java/org/obm/push/bean/change/hierarchy/FolderCreateRequest.java
          OP-193 FolderCreate protocol parser and writer (sgarnier: b5637b54edea7ea8c79e5fca7a94fa0088fe6a1c)
        • protocol/src/test/java/org/obm/push/protocol/FolderCreateProtocolTest.java
        • protocol/src/main/java/org/obm/push/protocol/data/FolderCreateRequestFields.java
        • protocol/src/main/java/org/obm/push/protocol/data/ActiveSyncDecoder.java
        • protocol/src/main/java/org/obm/push/protocol/FolderCreateProtocol.java
        • protocol/src/main/java/org/obm/push/protocol/data/FolderCreateResponseFields.java
          OP-193 Introduced FolderCreate handler (sgarnier: 264d6d9eb4382b1e3b00bd3e507c69dc79cea7dd)
        • push-mail/src/main/java/org/obm/push/mail/MailBackendImpl.java
        • client/src/main/java/org/obm/sync/push/client/OPClient.java
        • push-interfaces/src/main/java/org/obm/push/backend/PIMBackend.java
        • obm-backend/src/main/java/org/obm/push/contacts/ContactsBackend.java
        • push-core/src/main/java/org/obm/push/Handlers.java
        • client/src/main/java/org/obm/sync/push/client/commands/FolderCreate.java
        • push-bean/src/main/java/org/obm/push/exception/activesync/BackendNotSupportedException.java
        • push-core/src/main/java/org/obm/push/HierarchyExporter.java
        • push-core/src/main/java/org/obm/push/SummaryLoggerService.java
        • push-core/src/main/java/org/obm/push/backend/FolderSnapshotService.java
        • integration-testing/opush/src/test/java/org/obm/opush/command/sync/folder/FolderCreateHandlerTest.java
        • push-core/src/main/java/org/obm/push/handler/FolderCreateHandler.java
        • obm-backend/src/main/java/org/obm/push/calendar/CalendarBackend.java
        • .gitignore
        • obm-backend/src/main/java/org/obm/push/task/TaskBackend.java
        • push-core/src/main/java/org/obm/push/backend/IHierarchyExporter.java
        • push-core/src/test/java/org/obm/push/backend/FolderSnapshotServiceTest.java
          OP-193 manage folder already exist case (sgarnier: f9d33324f581fb7793e412b5c23636fa8d4a6ffc)
        • push-mail/src/main/java/org/obm/push/mail/MailBackendImpl.java
        • push-mail/src/main/java/org/obm/push/mail/MailboxService.java
        • push-core/src/main/java/org/obm/push/HierarchyExporter.java
        • push-bean/src/main/java/org/obm/push/exception/activesync/FolderAlreadyExistsException.java
        • push-mail/src/test/java/org/obm/push/mail/imap/MailboxServiceAllFoldersTest.java
        • push-mail/src/main/java/org/obm/push/mail/imap/LinagoraMailboxService.java
        • integration-testing/opush/src/test/java/org/obm/opush/command/sync/folder/FolderCreateHandlerTest.java
        • push-core/src/main/java/org/obm/push/handler/FolderCreateHandler.java
          OP-193 Support folders with a parent creation (sgarnier: 7811cb639e30dc9700dc42a4d9e366cf3c255917)
        • push-mail/src/main/java/org/obm/push/mail/MailBackendImpl.java
        • obm-backend/src/main/java/org/obm/push/task/TaskBackend.java
        • push-core/src/main/java/org/obm/push/HierarchyExporter.java
        • push-core/src/main/java/org/obm/push/backend/IHierarchyExporter.java
        • integration-testing/opush/src/test/java/org/obm/opush/command/sync/folder/FolderCreateHandlerTest.java
        • obm-backend/src/main/java/org/obm/push/contacts/ContactsBackend.java
        • obm-backend/src/main/java/org/obm/push/calendar/CalendarBackend.java
        • push-bean/src/main/java/org/obm/push/exception/activesync/ParentFolderNotFoundException.java
        • push-interfaces/src/main/java/org/obm/push/backend/PIMBackend.java
        • push-core/src/main/java/org/obm/push/handler/FolderCreateHandler.java
          OP-193 create folders as subscribed (sgarnier: e87dc3c496a3d60cf8da862188c8dc2d0b32ebe8)
        • push-mail/src/test/java/org/obm/push/mail/MailBackendFoldersBuilderTest.java
        • push-mail/src/main/java/org/obm/push/mail/MailboxService.java
        • push-mail/src/main/java/org/obm/push/mail/MailBackendImpl.java
        • push-bean/src/test/java/org/obm/push/bean/change/hierarchy/MailboxPathTest.java
        • push-mail/src/test/java/org/obm/push/mail/BeansTest.java
        • push-mail/src/main/java/org/obm/push/mail/imap/LinagoraMailboxService.java
        • integration-testing/opush/src/main/java/org/obm/opush/HierarchyChangesTestUtils.java
        • push-bean/src/main/java/org/obm/push/bean/change/hierarchy/MailboxPath.java
        • integration-testing/opush/src/test/java/org/obm/opush/command/sync/folder/FolderCreateHandlerTest.java
        Show
        Jenkins Continuous Integration Server added a comment - SUCCESS: Integrated in opush-master #228 OP-193 Introduced FolderCreate protocol beans (sgarnier: 0483e387b87a9c6705c7b14642c95cfb37aabf3d ) push-bean/src/main/java/org/obm/push/bean/change/hierarchy/FolderCreateResponse.java push-bean/src/main/java/org/obm/push/bean/FolderCreateStatus.java protocol/src/test/java/org/obm/push/BeansTest.java push-bean/src/main/java/org/obm/push/bean/change/hierarchy/FolderCreateRequest.java OP-193 FolderCreate protocol parser and writer (sgarnier: b5637b54edea7ea8c79e5fca7a94fa0088fe6a1c ) protocol/src/test/java/org/obm/push/protocol/FolderCreateProtocolTest.java protocol/src/main/java/org/obm/push/protocol/data/FolderCreateRequestFields.java protocol/src/main/java/org/obm/push/protocol/data/ActiveSyncDecoder.java protocol/src/main/java/org/obm/push/protocol/FolderCreateProtocol.java protocol/src/main/java/org/obm/push/protocol/data/FolderCreateResponseFields.java OP-193 Introduced FolderCreate handler (sgarnier: 264d6d9eb4382b1e3b00bd3e507c69dc79cea7dd ) push-mail/src/main/java/org/obm/push/mail/MailBackendImpl.java client/src/main/java/org/obm/sync/push/client/OPClient.java push-interfaces/src/main/java/org/obm/push/backend/PIMBackend.java obm-backend/src/main/java/org/obm/push/contacts/ContactsBackend.java push-core/src/main/java/org/obm/push/Handlers.java client/src/main/java/org/obm/sync/push/client/commands/FolderCreate.java push-bean/src/main/java/org/obm/push/exception/activesync/BackendNotSupportedException.java push-core/src/main/java/org/obm/push/HierarchyExporter.java push-core/src/main/java/org/obm/push/SummaryLoggerService.java push-core/src/main/java/org/obm/push/backend/FolderSnapshotService.java integration-testing/opush/src/test/java/org/obm/opush/command/sync/folder/FolderCreateHandlerTest.java push-core/src/main/java/org/obm/push/handler/FolderCreateHandler.java obm-backend/src/main/java/org/obm/push/calendar/CalendarBackend.java .gitignore obm-backend/src/main/java/org/obm/push/task/TaskBackend.java push-core/src/main/java/org/obm/push/backend/IHierarchyExporter.java push-core/src/test/java/org/obm/push/backend/FolderSnapshotServiceTest.java OP-193 manage folder already exist case (sgarnier: f9d33324f581fb7793e412b5c23636fa8d4a6ffc ) push-mail/src/main/java/org/obm/push/mail/MailBackendImpl.java push-mail/src/main/java/org/obm/push/mail/MailboxService.java push-core/src/main/java/org/obm/push/HierarchyExporter.java push-bean/src/main/java/org/obm/push/exception/activesync/FolderAlreadyExistsException.java push-mail/src/test/java/org/obm/push/mail/imap/MailboxServiceAllFoldersTest.java push-mail/src/main/java/org/obm/push/mail/imap/LinagoraMailboxService.java integration-testing/opush/src/test/java/org/obm/opush/command/sync/folder/FolderCreateHandlerTest.java push-core/src/main/java/org/obm/push/handler/FolderCreateHandler.java OP-193 Support folders with a parent creation (sgarnier: 7811cb639e30dc9700dc42a4d9e366cf3c255917 ) push-mail/src/main/java/org/obm/push/mail/MailBackendImpl.java obm-backend/src/main/java/org/obm/push/task/TaskBackend.java push-core/src/main/java/org/obm/push/HierarchyExporter.java push-core/src/main/java/org/obm/push/backend/IHierarchyExporter.java integration-testing/opush/src/test/java/org/obm/opush/command/sync/folder/FolderCreateHandlerTest.java obm-backend/src/main/java/org/obm/push/contacts/ContactsBackend.java obm-backend/src/main/java/org/obm/push/calendar/CalendarBackend.java push-bean/src/main/java/org/obm/push/exception/activesync/ParentFolderNotFoundException.java push-interfaces/src/main/java/org/obm/push/backend/PIMBackend.java push-core/src/main/java/org/obm/push/handler/FolderCreateHandler.java OP-193 create folders as subscribed (sgarnier: e87dc3c496a3d60cf8da862188c8dc2d0b32ebe8 ) push-mail/src/test/java/org/obm/push/mail/MailBackendFoldersBuilderTest.java push-mail/src/main/java/org/obm/push/mail/MailboxService.java push-mail/src/main/java/org/obm/push/mail/MailBackendImpl.java push-bean/src/test/java/org/obm/push/bean/change/hierarchy/MailboxPathTest.java push-mail/src/test/java/org/obm/push/mail/BeansTest.java push-mail/src/main/java/org/obm/push/mail/imap/LinagoraMailboxService.java integration-testing/opush/src/main/java/org/obm/opush/HierarchyChangesTestUtils.java push-bean/src/main/java/org/obm/push/bean/change/hierarchy/MailboxPath.java integration-testing/opush/src/test/java/org/obm/opush/command/sync/folder/FolderCreateHandlerTest.java
        Hide
        Stephane COLSON added a comment -

        OK with version 3.1.0~alpha0~git20150430.172455.8595bca-1

        Tested with

        • Nexus 7 (Android 5.1.1) => cannot create a folder
        • Fairphone FP1 (Android 4.2.2) => cannot create a folder
        • Nokia Lumia 920 (windows Phone 8) => cannot create a folder
        • iPhone 4 (iOS 7.1.2) => OK
        • Samsung Galaxy SII (Android 4.1.2) => OK

        Cannot rename or delete a folder => "no handler for command = FolderUpdate"

        Show
        Stephane COLSON added a comment - OK with version 3.1.0~alpha0~git20150430.172455.8595bca-1 Tested with Nexus 7 (Android 5.1.1) => cannot create a folder Fairphone FP1 (Android 4.2.2) => cannot create a folder Nokia Lumia 920 (windows Phone 8) => cannot create a folder iPhone 4 (iOS 7.1.2) => OK Samsung Galaxy SII (Android 4.1.2) => OK Cannot rename or delete a folder => "no handler for command = FolderUpdate"

          People

          • Assignee:
            Simon STG_GARNIER
            Reporter:
            Simon STG_GARNIER
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: