Giter Site home page Giter Site logo

androidphotobackup's People

Contributors

bright-tools avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

gaecom

androidphotobackup's Issues

Update backup service to retrieve file list

Service should retrieve the list of files stored on the remote server in one go rather than individually checking files. This should sheep up the process as well as reducing API calls to the network server.

Wifi Sleep

Backing up over WiFi can be interrupted if Android sleeps the WiFi connection. Should establish a WiFi lock when using it as the transport.

Photos re-uploaded after time-zone or DST change

It was observed that after change to DST, photos were being re-uploaded due to the fact that the timestamp appeared to have changed by 1 hour.

e.g. originally uploaded file:

20150314_155612.jpg.1426348572.zip

file re-uploaded after DST change:

20150314_155612.jpg.1426344972.zip

The photos in question were stored on an external SD card.

File checking does not work with >1000 photos

The 'search' method if the DropBox API has a limitation which means that it will not return more than 1000 entries see here. This means that in the case that the target folder has more than 1000 files, the app will not receive all the filenames and hence will believe that various files need to be uploaded again, even though they already exist on DropBox, just weren't returned by the API call.

Tags are too long

As of a recent Android Studio update, an error is being flagged that the Log tags in various classes are too long.

handleFiles does not correctly handle directory creation failure

in PhotoBackupService::handleFiles(), the second call to mExistingFiles.containsKey() erroneously uses bucketName as the parameter rather than bucketTargetDir and also inverts the result. This means that in the case that there is a top-level directory specified in the configuration the condition will always evaluate to true (meaning that failure to create the directory will be missed). In the case that there is no top-level directory specified, successful creation of the directory will result in an erroneous error indicating that the directory could not be created.

Dropbox file limit

Fixing issue #10 means that the file limit in a single directory has increased from 1k to 25k for the DropBox back-end, however this still means that in the case that the file limit is reached, the sync behaviour will not work correctly (see issue #10).

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.