You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@couchdb.apache.org by garrensmith <gi...@git.apache.org> on 2015/04/30 22:21:28 UTC

[GitHub] couchdb-fauxton pull request: Fauxton Server for use with NPM

GitHub user garrensmith opened a pull request:

    https://github.com/apache/couchdb-fauxton/pull/395

    Fauxton Server for use with NPM

    This allows Fauxton to be installed via npm so that we can release newer
    versions of Fauxton for users to try out.
    
      $ npm install fauxton -g
      $ fauxton
    
    or see `fauxton --help` for options

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/garrensmith/couchdb-fauxton server

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/couchdb-fauxton/pull/395.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #395
    
----
commit e51382cbf42311a62037610eca097040c2d5d93c
Author: Garren Smith <ga...@gmail.com>
Date:   2015-04-27T12:29:54Z

    Fauxton Server for use with NPM
    
    This allows Fauxton to be installed via npm so that we can release newer
    versions of Fauxton for users to try out.
    
      $ npm install fauxton -g
      $ fauxton
    
    or see `fauxton --help` for options

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] couchdb-fauxton pull request: Fauxton Server for use with NPM

Posted by kxepal <gi...@git.apache.org>.
Github user kxepal commented on the pull request:

    https://github.com/apache/couchdb-fauxton/pull/395#issuecomment-100825582
  
    @garrensmith sure! will also check it again.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] couchdb-fauxton pull request: Fauxton Server for use with NPM

Posted by kxepal <gi...@git.apache.org>.
Github user kxepal commented on the pull request:

    https://github.com/apache/couchdb-fauxton/pull/395#issuecomment-99073341
  
    Polling interval for active tasks is set as 5 seconds, but actually my Firefox 37 doing one request every 5 milliseconds.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] couchdb-fauxton pull request: Fauxton Server for use with NPM

Posted by kxepal <gi...@git.apache.org>.
Github user kxepal commented on the pull request:

    https://github.com/apache/couchdb-fauxton/pull/395#issuecomment-99075961
  
    Also, this page has some weird behaviour:
    1. Create some view function here
    2. Go to ddoc
    3. Edit view function in JSON doc
    4. Go back to view browsing page
    5. You'll see your old function here
    6. Refresh page - you'll see your actual function now
    7. Refresh page - you'll see `function (keys, values, rereduce) {` default one
    
    Also, it seems that Fauxton rejects to show all non javascript views at all.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] couchdb-fauxton pull request: Fauxton Server for use with NPM

Posted by andreujuanc <gi...@git.apache.org>.
Github user andreujuanc commented on the pull request:

    https://github.com/apache/couchdb-fauxton/pull/395#issuecomment-213724676
  
    After installing "npm install fauxton -g". "fauxton" is not recognized. Need a hand.!


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] couchdb-fauxton pull request: Fauxton Server for use with NPM

Posted by andreujuanc <gi...@git.apache.org>.
Github user andreujuanc commented on the pull request:

    https://github.com/apache/couchdb-fauxton/pull/395#issuecomment-214250144
  
    @garrensmith  Both latest. But I had to reinstall everything because i needed the ddbb done for development today. so I'll set up everything on a different VM just for testing this. 
    
    Also, probably was my fault, since yesterday i tried in my windows box, and worked. Maybe there was something wrong in my linux instalation.
    
    Btw, i really like this project, but i have no time to fix. Where do I report issues?
    
    Cheers mate.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] couchdb-fauxton pull request: Fauxton Server for use with NPM

Posted by kxepal <gi...@git.apache.org>.
Github user kxepal commented on the pull request:

    https://github.com/apache/couchdb-fauxton/pull/395#issuecomment-99074590
  
    Default map function contains very awkward code:
    ```
    function (keys, values, rereduce) {
      if (rereduce) {
        return sum(values);
      } else {
        return values.length;
      }
    }
    ```


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] couchdb-fauxton pull request: Fauxton Server for use with NPM

Posted by robertkowalski <gi...@git.apache.org>.
Github user robertkowalski commented on the pull request:

    https://github.com/apache/couchdb-fauxton/pull/395#issuecomment-105475195
  
    +1


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] couchdb-fauxton pull request: Fauxton Server for use with NPM

Posted by kxepal <gi...@git.apache.org>.
Github user kxepal commented on the pull request:

    https://github.com/apache/couchdb-fauxton/pull/395#issuecomment-99072803
  
    Oh, no...
    GET http://localhost:8000/_utils/js/ace/theme-idle_fingers.js - HTTP 404
    GET http://localhost:8000/_utils/js/ace/mode-json.js - HTTP 404


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] couchdb-fauxton pull request: Fauxton Server for use with NPM

Posted by kxepal <gi...@git.apache.org>.
Github user kxepal commented on the pull request:

    https://github.com/apache/couchdb-fauxton/pull/395#issuecomment-99076084
  
    Ok, I take back my "works perfectly" words, sorry (:


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] couchdb-fauxton pull request: Fauxton Server for use with NPM

Posted by robertkowalski <gi...@git.apache.org>.
Github user robertkowalski commented on the pull request:

    https://github.com/apache/couchdb-fauxton/pull/395#issuecomment-105551400
  
    i think you can close this


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] couchdb-fauxton pull request: Fauxton Server for use with NPM

Posted by garrensmith <gi...@git.apache.org>.
Github user garrensmith closed the pull request at:

    https://github.com/apache/couchdb-fauxton/pull/395


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] couchdb-fauxton pull request: Fauxton Server for use with NPM

Posted by garrensmith <gi...@git.apache.org>.
Github user garrensmith commented on the pull request:

    https://github.com/apache/couchdb-fauxton/pull/395#issuecomment-214330693
  
    Thats good to hear. You can submit issues here https://issues.apache.org/jira/browse/COUCHDB


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] couchdb-fauxton pull request: Fauxton Server for use with NPM

Posted by kxepal <gi...@git.apache.org>.
Github user kxepal commented on the pull request:

    https://github.com/apache/couchdb-fauxton/pull/395#issuecomment-99075552
  
    On view index edit page:
    ```
    Could not locate /home/kxepal/tmp/node_modules/fauxton/dist/release/_utils/js/ace/mode-javascript.js
    ```


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] couchdb-fauxton pull request: Fauxton Server for use with NPM

Posted by robertkowalski <gi...@git.apache.org>.
Github user robertkowalski commented on the pull request:

    https://github.com/apache/couchdb-fauxton/pull/395#issuecomment-99036566
  
    I found that by running the nightwatch testsuite against the server - there are probably more, but this is the first one:
    
    ```
    Could not locate /Users/robert/.nvm/versions/v0.12.2/lib/node_modules/fauxton/dist/release/sdfsdf/_changes?limit=100
    ````



---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] couchdb-fauxton pull request: Fauxton Server for use with NPM

Posted by kxepal <gi...@git.apache.org>.
Github user kxepal commented on the pull request:

    https://github.com/apache/couchdb-fauxton/pull/395#issuecomment-100890680
  
    @garrensmith Few more to come:
    - COUCHDB-2244;
    - COUCHDB-2243;
    - COUCHDB-2476;
    - When user tries to change own password, Fauxton forbids that requiring to be an admin;
    - Bulk delete doesn't deletes all selected documents and surprisely cannot delete anything if there is only one document in database;
    - File upload still doesnt works: Could not upload document: Referer header required.
    - Some files are still missed:
    
    Bonus: http://localhost:8000/_utils (:


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] couchdb-fauxton pull request: Fauxton Server for use with NPM

Posted by kxepal <gi...@git.apache.org>.
Github user kxepal commented on the pull request:

    https://github.com/apache/couchdb-fauxton/pull/395#issuecomment-99073962
  
    Failed to upload attachment:
    ```
    Could not upload document: undefined
    ```
    
    In console:
    
    ```
    Could not locate /home/kxepal/tmp/node_modules/fauxton/dist/release/c/05155563216341bc0e69507ce06a4b9f
    ```


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] couchdb-fauxton pull request: Fauxton Server for use with NPM

Posted by garrensmith <gi...@git.apache.org>.
Github user garrensmith commented on the pull request:

    https://github.com/apache/couchdb-fauxton/pull/395#issuecomment-214159490
  
    @andreujuanc could you show me your npm output when you installed it. Also which version of node and npm?


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] couchdb-fauxton pull request: Fauxton Server for use with NPM

Posted by garrensmith <gi...@git.apache.org>.
Github user garrensmith commented on the pull request:

    https://github.com/apache/couchdb-fauxton/pull/395#issuecomment-100823414
  
    @kxepal @robertkowalski I've fixed all url issues. 
    
    @kxepal could you file a JIRA ticket for the active task bug. The Weird behaviour for the view is being fixes in #399 along with the Reduce option.
    
    I've just pushed another version to NPM for testing.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] couchdb-fauxton pull request: Fauxton Server for use with NPM

Posted by kxepal <gi...@git.apache.org>.
Github user kxepal commented on the pull request:

    https://github.com/apache/couchdb-fauxton/pull/395#issuecomment-99073097
  
    Seems like changes feed page is broken as well:
    ```
    Could not locate /home/kxepal/tmp/node_modules/fauxton/dist/release/a/_changes?limit=100
    ```


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] couchdb-fauxton pull request: Fauxton Server for use with NPM

Posted by kxepal <gi...@git.apache.org>.
Github user kxepal commented on the pull request:

    https://github.com/apache/couchdb-fauxton/pull/395#issuecomment-99074167
  
    Failed to clone document:
    ```
    Could not duplicate document, reason: {"error":"ENOENT: no such file or directory, stat '/home/kxepal/tmp/node_modules/fauxton/dist/release/c/05155567753a13c8e110d96eebe348a3'"}. 
    ```


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] couchdb-fauxton pull request: Fauxton Server for use with NPM

Posted by kxepal <gi...@git.apache.org>.
Github user kxepal commented on the pull request:

    https://github.com/apache/couchdb-fauxton/pull/395#issuecomment-99072704
  
    A few warnings on install:
    ```
    npm WARN engine follow@0.11.4: wanted: {"node":"0.10.x || 0.8.x"} (current: {"node":"1.8.1","npm":"2.8.3"})
    npm WARN engine xmlbuilder@2.4.6: wanted: {"node":"0.8.x || 0.10.x || 0.11.x  || 1.0.x"} (current: {"node":"1.8.1","npm":"2.8.3"})
    |
    > fauxton@1.0.1 postinstall /home/kxepal/tmp/node_modules/fauxton
    > grunt release
    
    >> Local Npm module "grunt-contrib-watch" not found. Is it installed?
    >> Local Npm module "grunt-mocha-phantomjs" not found. Is it installed?
    ```
    
    But in everything else, it works perfectly with io.js 1.8.1
    ```


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] couchdb-fauxton pull request: Fauxton Server for use with NPM

Posted by kxepal <gi...@git.apache.org>.
Github user kxepal commented on the pull request:

    https://github.com/apache/couchdb-fauxton/pull/395#issuecomment-99073012
  
    When you open database compaction page:
    ```
    {"error":"ENOENT: no such file or directory, stat '/home/kxepal/tmp/node_modules/fauxton/dist/release/database/a/compact'"}
    ```


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---