Giter Club home page Giter Club logo

browsercouch's People

Contributors

airportyh avatar mikeal avatar peterbraden avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

browsercouch's Issues

HTTP Error 405 Method not allowed

Hi,
I tried to run specs, but I failed miserably.

  1. I run couchdb on my ubuntu.

  2. I open browsercouch/html/js/spec/spec.html in Chrome.

  3. Browser console yields:

    original: {"_id":"1","name":"Bob","_rev":"1-35207413509488108000"}
    new: {"_id":"1","name":"Bill"}
    changes: {"results":[{"seq":2,"id":"1","changes":[{"rev":"2-98626305442303430000"}],"deleted":true}],"last_seq":2}
    DELETE: http://localhost:5984/rep/
    Parse JSON failed:
    PUT: http://localhost:5984/rep/
    Parse JSON failed:

... and so on.

  1. And couchdb yields:

    Apache CouchDB 1.0.0 (LogLevel=info) is starting.
    Apache CouchDB has started. Time to relax.
    [info] [<0.2477.0>] 127.0.0.1 - - 'OPTIONS' /rep/ 405
    [info] [<0.2477.0>] 127.0.0.1 - - 'OPTIONS' /rep/ 405
    [info] [<0.2477.0>] 127.0.0.1 - - 'OPTIONS' /rep/_bulk_docs 405
    [info] [<0.2477.0>] 127.0.0.1 - - 'OPTIONS' /rep/_ensure_full_commit 405
    [info] [<0.2477.0>] 127.0.0.1 - - 'GET' /rep/_all_docs?include_docs=true 304
    [info] [<0.2685.0>] 127.0.0.1 - - 'OPTIONS' /rep/ 405
    [info] [<0.2685.0>] 127.0.0.1 - - 'OPTIONS' /rep/ 405
    [info] [<0.2685.0>] 127.0.0.1 - - 'OPTIONS' /rep/_bulk_docs 405
    [info] [<0.2685.0>] 127.0.0.1 - - 'OPTIONS' /rep/_ensure_full_commit 405
    [info] [<0.2685.0>] 127.0.0.1 - - 'OPTIONS' /rep/_bulk_docs 405
    [info] [<0.2685.0>] 127.0.0.1 - - 'OPTIONS' /rep/_ensure_full_commit 405
    [info] [<0.2685.0>] 127.0.0.1 - - 'GET' /rep/_all_docs?include_docs=true 304
    [info] [<0.2687.0>] 127.0.0.1 - - 'OPTIONS' /rep/ 405
    [info] [<0.2687.0>] 127.0.0.1 - - 'OPTIONS' /rep/ 405
    [info] [<0.2687.0>] 127.0.0.1 - - 'OPTIONS' /rep/_bulk_docs 405
    [info] [<0.2687.0>] 127.0.0.1 - - 'OPTIONS' /rep/_ensure_full_commit 405
    [info] [<0.2687.0>] 127.0.0.1 - - 'OPTIONS' /rep/_bulk_docs 405
    [info] [<0.2687.0>] 127.0.0.1 - - 'OPTIONS' /rep/_ensure_full_commit 405
    [info] [<0.2687.0>] 127.0.0.1 - - 'GET' /rep/_all_docs?include_docs=true 304
    [info] [<0.2689.0>] 127.0.0.1 - - 'OPTIONS' /rep/ 405
    [info] [<0.2689.0>] 127.0.0.1 - - 'OPTIONS' /rep/ 405
    [info] [<0.2689.0>] 127.0.0.1 - - 'OPTIONS' /rep/_bulk_docs 405
    [info] [<0.2689.0>] 127.0.0.1 - - 'OPTIONS' /rep/_ensure_full_commit 405
    [info] [<0.2689.0>] 127.0.0.1 - - 'GET' /rep/_all_docs?include_docs=true 304
    [info] [<0.2691.0>] 127.0.0.1 - - 'OPTIONS' /sync/ 404
    [info] [<0.2691.0>] 127.0.0.1 - - 'OPTIONS' /sync/ 404
    [info] [<0.2691.0>] 127.0.0.1 - - 'OPTIONS' /sync/_bulk_docs 404
    [info] [<0.2691.0>] 127.0.0.1 - - 'OPTIONS' /sync/_ensure_full_commit 404
    [info] [<0.2691.0>] 127.0.0.1 - - 'OPTIONS' /sync/ 404
    [info] [<0.2691.0>] 127.0.0.1 - - 'OPTIONS' /sync/ 404
    [info] [<0.2691.0>] 127.0.0.1 - - 'OPTIONS' /sync/ 404
    [info] [<0.2691.0>] 127.0.0.1 - - 'OPTIONS' /sync/ 404
    [info] [<0.2691.0>] 127.0.0.1 - - 'OPTIONS' /sync/ 404
    [info] [<0.2691.0>] 127.0.0.1 - - 'OPTIONS' /sync/ 404
    [info] [<0.2691.0>] 127.0.0.1 - - 'OPTIONS' /cloud/ 404
    [info] [<0.2691.0>] 127.0.0.1 - - 'OPTIONS' /cloud/ 404
    [info] [<0.2691.0>] 127.0.0.1 - - 'OPTIONS' /cloud/1 404
    [info] [<0.2691.0>] 127.0.0.1 - - 'GET' /cloud/_changes?include_docs=true&since=0 404

The same happens on Couchdb 0.11, Firefox, and another Linux. I really tried to understand this but I don't. Jquery.couch.js on futon works just fine.

Store replication status in database, so can provide remote seq on sync.

Need to store url, seq number for each replication

Apparently Couch keeps these in memory :
"At the time of writing, CouchDB doesn’t remember continuous replications over a server restart. For the time being, you are required to trigger them again, when you restart CouchDB. In the future, CouchDB will allow you to define permanent continuous replications that survive a server restart without you having to do anything."

So we don't have storage precedent to copy

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.