[jira] Updated: (COUCHDB-891) Allow ?keys=["a","b"] for GET to _view and _list

2010-10-09 Thread Paul Joseph Davis (JIRA)

 [ 
https://issues.apache.org/jira/browse/COUCHDB-891?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Paul Joseph Davis updated COUCHDB-891:
--

Skill Level: Regular Contributors Level (Easy to Medium)

> Allow ?keys=["a","b"] for GET to _view and _list
> 
>
> Key: COUCHDB-891
> URL: https://issues.apache.org/jira/browse/COUCHDB-891
> Project: CouchDB
>  Issue Type: New Feature
>  Components: HTTP Interface
>Affects Versions: 1.0.1
> Environment: -
>Reporter: Michael Fellinger
>Priority: Minor
> Fix For: 1.0.2
>
> Attachments: get_keys_param_with_tests.diff
>
>
> The idea was already described back in 2008 when the POST 
> {"keys":["key1","key2"]} API was introduced.
> http://mail-archives.apache.org/mod_mbox/couchdb-dev/200811.mbox/%3c4910d88a.8000...@kore-nordmann.de%3e
> I'm looking at the source right now, but can't figure out how to implement 
> this at the moment, and I'd love this to be part of CouchDB proper.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



[jira] Updated: (COUCHDB-891) Allow ?keys=["a","b"] for GET to _view and _list

2010-10-06 Thread Jeff Zellner (JIRA)

 [ 
https://issues.apache.org/jira/browse/COUCHDB-891?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jeff Zellner updated COUCHDB-891:
-

Attachment: get_keys_param_with_tests.diff

Okay, now featuring lots of passing tests.

> Allow ?keys=["a","b"] for GET to _view and _list
> 
>
> Key: COUCHDB-891
> URL: https://issues.apache.org/jira/browse/COUCHDB-891
> Project: CouchDB
>  Issue Type: New Feature
>  Components: HTTP Interface
>Affects Versions: 1.0.1
> Environment: -
>Reporter: Michael Fellinger
>Priority: Minor
> Fix For: 1.0.2
>
> Attachments: get_keys_param_with_tests.diff
>
>
> The idea was already described back in 2008 when the POST 
> {"keys":["key1","key2"]} API was introduced.
> http://mail-archives.apache.org/mod_mbox/couchdb-dev/200811.mbox/%3c4910d88a.8000...@kore-nordmann.de%3e
> I'm looking at the source right now, but can't figure out how to implement 
> this at the moment, and I'd love this to be part of CouchDB proper.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



[jira] Updated: (COUCHDB-891) Allow ?keys=["a","b"] for GET to _view and _list

2010-10-06 Thread Jeff Zellner (JIRA)

 [ 
https://issues.apache.org/jira/browse/COUCHDB-891?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jeff Zellner updated COUCHDB-891:
-

Attachment: (was: 
0001-add-keys-query-string-parameter-to-GET-request-of-vi.patch)

> Allow ?keys=["a","b"] for GET to _view and _list
> 
>
> Key: COUCHDB-891
> URL: https://issues.apache.org/jira/browse/COUCHDB-891
> Project: CouchDB
>  Issue Type: New Feature
>  Components: HTTP Interface
>Affects Versions: 1.0.1
> Environment: -
>Reporter: Michael Fellinger
>Priority: Minor
> Fix For: 1.0.2
>
> Attachments: get_keys_param_with_tests.diff
>
>
> The idea was already described back in 2008 when the POST 
> {"keys":["key1","key2"]} API was introduced.
> http://mail-archives.apache.org/mod_mbox/couchdb-dev/200811.mbox/%3c4910d88a.8000...@kore-nordmann.de%3e
> I'm looking at the source right now, but can't figure out how to implement 
> this at the moment, and I'd love this to be part of CouchDB proper.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



[jira] Updated: (COUCHDB-891) Allow ?keys=["a","b"] for GET to _view and _list

2010-10-05 Thread Jeff Zellner (JIRA)

 [ 
https://issues.apache.org/jira/browse/COUCHDB-891?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jeff Zellner updated COUCHDB-891:
-

Attachment: 0001-add-keys-query-string-parameter-to-GET-request-of-vi.patch

Fixed up single patch attached -- thanks for the help.

> Allow ?keys=["a","b"] for GET to _view and _list
> 
>
> Key: COUCHDB-891
> URL: https://issues.apache.org/jira/browse/COUCHDB-891
> Project: CouchDB
>  Issue Type: New Feature
>  Components: HTTP Interface
>Affects Versions: 1.0.1
> Environment: -
>Reporter: Michael Fellinger
>Priority: Minor
> Fix For: 1.0.2
>
> Attachments: 
> 0001-add-keys-query-string-parameter-to-GET-request-of-vi.patch
>
>
> The idea was already described back in 2008 when the POST 
> {"keys":["key1","key2"]} API was introduced.
> http://mail-archives.apache.org/mod_mbox/couchdb-dev/200811.mbox/%3c4910d88a.8000...@kore-nordmann.de%3e
> I'm looking at the source right now, but can't figure out how to implement 
> this at the moment, and I'd love this to be part of CouchDB proper.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



[jira] Updated: (COUCHDB-891) Allow ?keys=["a","b"] for GET to _view and _list

2010-10-05 Thread Jeff Zellner (JIRA)

 [ 
https://issues.apache.org/jira/browse/COUCHDB-891?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jeff Zellner updated COUCHDB-891:
-

Attachment: (was: 
0001-add-keys-query-string-parameter-to-GET-request-of-vi.patch)

> Allow ?keys=["a","b"] for GET to _view and _list
> 
>
> Key: COUCHDB-891
> URL: https://issues.apache.org/jira/browse/COUCHDB-891
> Project: CouchDB
>  Issue Type: New Feature
>  Components: HTTP Interface
>Affects Versions: 1.0.1
> Environment: -
>Reporter: Michael Fellinger
>Priority: Minor
> Fix For: 1.0.2
>
> Attachments: 
> 0001-add-keys-query-string-parameter-to-GET-request-of-vi.patch
>
>
> The idea was already described back in 2008 when the POST 
> {"keys":["key1","key2"]} API was introduced.
> http://mail-archives.apache.org/mod_mbox/couchdb-dev/200811.mbox/%3c4910d88a.8000...@kore-nordmann.de%3e
> I'm looking at the source right now, but can't figure out how to implement 
> this at the moment, and I'd love this to be part of CouchDB proper.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



[jira] Updated: (COUCHDB-891) Allow ?keys=["a","b"] for GET to _view and _list

2010-10-05 Thread Jeff Zellner (JIRA)

 [ 
https://issues.apache.org/jira/browse/COUCHDB-891?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jeff Zellner updated COUCHDB-891:
-

Attachment: (was: 
0001-add-GET-keys-parameter-to-_all_docs-handler.patch)

> Allow ?keys=["a","b"] for GET to _view and _list
> 
>
> Key: COUCHDB-891
> URL: https://issues.apache.org/jira/browse/COUCHDB-891
> Project: CouchDB
>  Issue Type: New Feature
>  Components: HTTP Interface
>Affects Versions: 1.0.1
> Environment: -
>Reporter: Michael Fellinger
>Priority: Minor
> Fix For: 1.0.2
>
> Attachments: 
> 0001-add-keys-query-string-parameter-to-GET-request-of-vi.patch
>
>
> The idea was already described back in 2008 when the POST 
> {"keys":["key1","key2"]} API was introduced.
> http://mail-archives.apache.org/mod_mbox/couchdb-dev/200811.mbox/%3c4910d88a.8000...@kore-nordmann.de%3e
> I'm looking at the source right now, but can't figure out how to implement 
> this at the moment, and I'd love this to be part of CouchDB proper.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



[jira] Updated: (COUCHDB-891) Allow ?keys=["a","b"] for GET to _view and _list

2010-10-04 Thread Jeff Zellner (JIRA)

 [ 
https://issues.apache.org/jira/browse/COUCHDB-891?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jeff Zellner updated COUCHDB-891:
-

Attachment: 0001-add-GET-keys-parameter-to-_all_docs-handler.patch

Added to _all_docs handler, thanks for the catch :)

> Allow ?keys=["a","b"] for GET to _view and _list
> 
>
> Key: COUCHDB-891
> URL: https://issues.apache.org/jira/browse/COUCHDB-891
> Project: CouchDB
>  Issue Type: New Feature
>  Components: HTTP Interface
>Affects Versions: 1.0.1
> Environment: -
>Reporter: Michael Fellinger
>Priority: Minor
> Fix For: 1.0.2
>
> Attachments: 0001-add-GET-keys-parameter-to-_all_docs-handler.patch, 
> 0001-add-keys-query-string-parameter-to-GET-request-of-vi.patch
>
>
> The idea was already described back in 2008 when the POST 
> {"keys":["key1","key2"]} API was introduced.
> http://mail-archives.apache.org/mod_mbox/couchdb-dev/200811.mbox/%3c4910d88a.8000...@kore-nordmann.de%3e
> I'm looking at the source right now, but can't figure out how to implement 
> this at the moment, and I'd love this to be part of CouchDB proper.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



[jira] Updated: (COUCHDB-891) Allow ?keys=["a","b"] for GET to _view and _list

2010-10-04 Thread Jeff Zellner (JIRA)

 [ 
https://issues.apache.org/jira/browse/COUCHDB-891?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jeff Zellner updated COUCHDB-891:
-

Attachment: 0001-add-keys-query-string-parameter-to-GET-request-of-vi.patch

I've implemented this functionality for view and list handlers.

I added a couch_httpd:qs_json_value/3 function, since it was needed in two 
places for now. I guess it's not unfathomable that it would be useful 
elsewhere. I'm hilariously new to and stupid with git, so please let me know if 
this patch is up to snuff, as it's my first!

> Allow ?keys=["a","b"] for GET to _view and _list
> 
>
> Key: COUCHDB-891
> URL: https://issues.apache.org/jira/browse/COUCHDB-891
> Project: CouchDB
>  Issue Type: New Feature
>  Components: HTTP Interface
>Affects Versions: 1.0.1
> Environment: -
>Reporter: Michael Fellinger
>Priority: Minor
> Fix For: 1.0.2
>
> Attachments: 
> 0001-add-keys-query-string-parameter-to-GET-request-of-vi.patch
>
>
> The idea was already described back in 2008 when the POST 
> {"keys":["key1","key2"]} API was introduced.
> http://mail-archives.apache.org/mod_mbox/couchdb-dev/200811.mbox/%3c4910d88a.8000...@kore-nordmann.de%3e
> I'm looking at the source right now, but can't figure out how to implement 
> this at the moment, and I'd love this to be part of CouchDB proper.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.