Git Product home page Git Product logo

Comments (11)

dizda avatar dizda commented on September 24, 2024

Hmm I guess that Dropbox changed the way to login.
You should post an issue to the library maintainer which is https://github.com/jakajancar/DropboxUploader

from cloudbackupbundle.

clemlatz avatar clemlatz commented on September 24, 2024

Thanks, I will do that.

from cloudbackupbundle.

clemlatz avatar clemlatz commented on September 24, 2024

By the way, the DropboxUploader readme says this:

Its development was started before Dropbox released their API, and to work, it scrapes their website. So you can and probably should use their API now as it is much more stable.

from cloudbackupbundle.

dizda avatar dizda commented on September 24, 2024

Yes, that's why you can also use the other way (OAuth2 way) with Gaufrette, it's explained there: https://github.com/KnpLabs/KnpGaufretteBundle#dropbox-dropbox
The CloudBackupBundle can also work with the GaufretteBundle.

from cloudbackupbundle.

 avatar commented on September 24, 2024

Hey, please try to change the code in DropboxUploader.php from:
if (!preg_match('#, "TOKEN": "([A-Za-z0-9_-]+)", #', $html, $matches))
to:
if (!preg_match(', js_csrf=([A-Za-z0-9_-]+), ', $html, $matches))

Let me know if that works. For me it worked fine.

from cloudbackupbundle.

dizda avatar dizda commented on September 24, 2024

You should send a pull request to the library https://github.com/jakajancar/DropboxUploader @mariosk

from cloudbackupbundle.

 avatar commented on September 24, 2024

Done: hakre/DropboxUploader#4

from cloudbackupbundle.

dizda avatar dizda commented on September 24, 2024

👍

from cloudbackupbundle.

hakre avatar hakre commented on September 24, 2024

v1.1.22 should address this, it contains the token extraction suggested here as fix as well as falling back to the input element as suggested in DropboxUploader #52. Just FYI.

from cloudbackupbundle.

dizda avatar dizda commented on September 24, 2024

Thanks @hakre.

Is that ok to you @mariosk @iwazaru ?

from cloudbackupbundle.

clemlatz avatar clemlatz commented on September 24, 2024

It is, thanks !

from cloudbackupbundle.

Related Issues (20)

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.