• lucas.parsy's avatar
    GdriveStorage: add a new google drive storage · d005d845
    lucas.parsy authored
    Squashed commit of the following:
    
    commit 2283732c2e3649d66c3b83f00ac2a9d846f50a35
    Author: Lucas Parsy <lucas.parsy@nexedi.com>
    Date:   Fri Dec 4 11:02:50 2015 +0100
    
        modified gdrivestorage's allDocs to return only the documents ids.
        modified gdrivestorage test file to fit the above changes.
        refactored an URI template in gdrivestorage.
    
    commit eaf750820f349ff1add6ef5172779a119dc06597
    Author: Lucas Parsy <lucas.parsy@nexedi.com>
    Date:   Fri Nov 27 17:16:16 2015 +0100
    
        added allAttachments method to gdriveStorage with tests.
        corrected bug in get method returning a string instead of an object.
    
    commit 212e4d6b41382c9d8ad2aaa9743671850eac245d
    Author: Lucas Parsy <lucas.parsy@nexedi.com>
    Date:   Fri Nov 27 15:49:05 2015 +0100
    
        various fixes on gdriveStorage and his tests.
    
        removed the removeAttachment method as it was useless.
        removed error catching when user was doing request with invalid credentials.
        throw error when doing a putAttachment on a folder.
    
        changed varaiables names in test file to respect naming convention.
        added/ removed tests following the changes on gdriveStorage file.
    
        added tests verifying that the user can only put "enclosure"
        as attachment name in putAttachment and getAttachment.
    
    commit 5150c9420e30ab7869c4d4c2cedd5eddeb1e52de
    Author: Lucas Parsy <lucas.parsy@nexedi.com>
    Date:   Tue Nov 24 11:01:33 2015 +0100
    
        followed naming convention in gdrivestorage test file.
        post and put method now return the id of the docment they created/modified.
        corrected bug in getAttachment allowing the method to pass the test,
        but not to work on real utilisation.
    
    commit 0195dc37eeac4ae8f009f483e566180c81c857b1
    Author: Lucas Parsy <lucas.parsy@nexedi.com>
    Date:   Tue Nov 3 16:44:20 2015 +0100
    
        added test for gdrivestorage for allDocs() method
        when method needs to do multiple calls to google Drive API.
        added gdrivestorage.tests.js to tests.html file.
    
    commit 204acb98616267a5598b099f8375c3fe38d4e268
    Author: Lucas Parsy <lucas.parsy@nexedi.com>
    Date:   Fri Oct 30 12:27:49 2015 +0100
    
        refactored gdrivestorage.js
        Improved gdrive allDocs test to check return value.
    
    commit 23f6ec71de45d161c36ca148d5fa53d475a51d89
    Author: Lucas Parsy <lucas.parsy@nexedi.com>
    Date:   Thu Oct 29 14:21:36 2015 +0100
    
        corrected 2 jslint errors in gdrivestorage test file
    
    commit b472700451e72659fecfacd07305cddb48ece323
    Author: Lucas Parsy <lucas.parsy@nexedi.com>
    Date:   Thu Oct 29 13:40:08 2015 +0100
    
        completed google drive storage and added test file
    
    commit 841a5fb5d2388cd822ed53dec1984b0aafb3accd
    Author: Lucas Parsy <lucas.parsy@nexedi.com>
    Date:   Mon Oct 19 16:12:56 2015 +0200
    
        changed names of variables and checked user input in putAttachment method
    
    commit 991cd0a70ce3a9da61c724f6bf50336684776535
    Author: Lucas Parsy <lucas.parsy@nexedi.com>
    Date:   Fri Sep 25 15:31:57 2015 +0200
    
        refactoring of gdrivestorage.js
        various conditions optimized
        added compliance with future tests.
    
        added error message when giving non-boolean value
        for "trashed" value at creation of gdrive storage.
    
    commit 8d82e3e51634d774685bc39c804a9a383dc46cad
    Author: Lucas Parsy <lucas.parsy@nexedi.com>
    Date:   Thu Sep 24 17:33:00 2015 +0200
    
        added google drive storage to jio (tests to be done)
    d005d845
Gruntfile.js 6.84 KB