summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Fauxton Duplicate Document1828-duplicate-docGarren Smith2013-07-025-30/+180
| | | | Duplicates the current document using Couchdb's COPY api.
* Fauxton: remove route events from main.jsGarren Smith2013-07-021-21/+12
|
* Fauxton: watch assets pathGarren Smith2013-07-021-1/+1
|
* Fauxton: Change select header to data attributeGarren Smith2013-07-0110-11/+11
|
* Fauxton: Add dependancies to watch path instead of custom watch pathGarren Smith2013-07-013-6/+14
|
* Use Array#forEach instead of for .. inMichael Jackson2013-06-291-22/+22
| | | | Also improved the wording in a few places.
* [tests] tidy up etap stream test outputAndrey Somov2013-06-281-2/+2
| | | | Closes COUCHDB-1082.
* Fauxton: Set active nav tabGarren Smith2013-06-2710-6/+18
| | | | | When a nav tab is clicked on that tab is now highlighted. This fixes COUCHDB-1842
* move watch files to settings.jsonGarren Smith2013-06-272-1/+5
|
* Add a configurable whitelist of public user propsRobert Newson2013-06-214-5/+99
| | | | | | | | | | | | | By default no user properties are public and attempts to view a users document other than your own will return a 404. If the public_fields setting of the users_db config section is set to a list of field names, however, you will see that subset of fields for any user. Also, if `public_fields` is set and non-empty, `_users/_all_docs?include_docs=true` will return documents with stripped field. Contributed with code parts from @indutny
* support R16B01Dave Cottlehuber2013-06-211-1/+1
| | | | | | Due to non-OTP-ness, couch need to start its own OTP apps. R16B01 requires asn1 as a dependency for public_key. Closes COUCHDB-1833.
* Revert "fix perms on install instructions"Jan Lehnardt2013-06-201-4/+4
| | | | This reverts commit 9cf9b53d2cee9976a5b215af52672838abec0d6b.
* fix perms on install instructionsJan Lehnardt2013-06-201-4/+4
|
* Add live CouchDB version info to FauxtonRussell Branca2013-06-174-9/+36
|
* Spacing nitsRussell Branca2013-06-172-5/+5
|
* Restore rev handling for _bulk_docs with all_or_nothingRobert Newson2013-06-171-2/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Commit 5b1430c120904181313848444dbfcdb60e42568b added this hunk; - {aborted, lists:map( - fun({{Id,{Pos, [RevId|_]}}, Error}) -> - {{Id, {Pos, RevId}}, Error}; - ({{Id,{0, []}}, Error}) -> - {{Id, {0, <<>>}}, Error} - end, PreCommitFailures)}; + {aborted, + lists:foldl(fun({#doc{id=Id,revs={Pos, RevIds}}, Ref},Acc) -> + case lists:keyfind(Ref,1,PreCommitFailures) of + {Ref, Error} -> + [{{Id,{Pos,RevIds}}, Error} | Acc]; + false -> + Acc + end + end,[],Docs3)}; + This causes the full list of revisions to be passed to revid_to_str/1; revid_to_str(RevId) when size(RevId) =:= 16 -> ?l2b(couch_util:to_hex(RevId)); revid_to_str(RevId) -> RevId. This falls through to the second case, which in turn leads to invalid JSON output when we convert the presumed iolist. This patch restores the code that takes only the head of the revisions list when present, and an artificial "0-" when it is not (in the case that the validation fails for a new document rather than an update). BugzID: 1772
* Fix badrecord error in EXIT handlingRobert Newson2013-06-151-4/+3
| | | | The second item in the by_pid tuple is the name not a #db{} record.
* [TESTS] [HOTFIX] correct error in auth cache testJan Lehnardt2013-06-151-1/+1
|
* [TESTS] Make tests run more reliably. Delete test-auth-dbs before tests.Jan Lehnardt2013-06-131-0/+2
|
* Fauxton: Upload attachmentsGarren Smith2013-06-1113-9/+1441
| | | | | | | Can upload an attachment along with progress bar and view it in the code and field editor. Resolves COUCHDB-1811
* Ajax loader helpersuelockwood2013-06-103-4/+23
| | | | | | | Added disableLoader & loaderClassname attribute to views, for showing ajax spinners. Included default class and spinner image. Added the loader to app-container as well, to run on the whole page while the routeObjects load. fixes #1802
* Fauxton fix log not refreshingGarren Smith2013-06-061-1/+1
|
* FIX BUILD: add license header to fauxton/templates/../ddoc_info.htmlJan Lehnardt2013-06-051-0/+13
|
* FIX BUILD: add Vagrantfile to license.skipJan Lehnardt2013-06-051-0/+1
|
* fix 140-*.t, reflect mv README README.rstJan Lehnardt2013-06-051-1/+1
|
* Fauxton wrap codemirror errors in try catch.Garren Smith2013-06-041-4/+15
|
* Show view request duration amd goto doc idGarren Smith2013-06-046-11/+91
| | | | This is for issues #1812 and #1810.
* Add design doc metadata to viewGarren Smith2013-06-045-6/+82
| | | | Fixes issue #1816
* Create/edit and query views.Garren Smith2013-06-0411-518/+790
| | | | It is now also possible to preview views with pouch. Issue #1806
* Add documentation on replicationStefan Kögl2013-06-035-347/+460
| | | | | Previously replication.rst described only the _replicator database, but did not provide an overall view on replication.
* Move myself from THANKS to AUTHORSAlexander Shorin2013-06-032-1/+1
|
* Allow storing a pre-hashed admin passwordJason Smith (work)2013-05-313-7/+109
| | | | | | | | | | | | | When duplicating a couch, it is difficult to copy the _config/admins/* values. Storing the encoded value does not work because that value is re-hashed when stored. (Your password is the literal string "-pbkdf2-abcdef...".) This change will store any config setting unmodified if ?raw=true is in the query string. Updating _config/admins/* already requires admin privileges, so there is no change to the security.
* Add Vagrantfilebenoitc2013-05-291-0/+70
| | | | | | | | | | | | | | | | | | This patch allows us to develop and test couchdb using vagrant (http://www.vagrantup.com) . Since we don't have any good debian packaging for now this image is only useful for developers or those who want to use latest couchdb version. To use it run the following commad: $ vagrant up $ vagrant ssh $ cd /vagrant then you can play with the code and build your own distribution of couch. This image is supporting lxc, ec2 and rackspace providers for vagrant.
* Distribute test_setup.jsNoah Slater2013-05-281-0/+1
|
* Remove 1.2.3 sectionsNoah Slater2013-05-282-10/+0
|
* Forward port 1.3.1 changesNoah Slater2013-05-283-24/+47
|
* Update CHANGES for 1.3.1Dave Cottlehuber2013-05-281-1/+1
| | | | COUCHDB-1696
* COUCHDB-1784 update license.skip to support VPATH buildsDave Cottlehuber2013-05-281-1/+1
|
* Update NEWS and CHANGES w 1.3.1 entriesRandall Leeds2013-05-282-0/+25
|
* Remove bashisms from JS test runnerJan Lehnardt2013-05-271-6/+8
| | | | | | | | | | | | 1. Stop using bash arrays. 2. Account for the sh-builtin `echo` not having an `-n` argument on BSDs. 3. Strip spaces from `wc -l` output when calculating the number of tests for 1. Patch by Klaus Trainer & Jan Lehnardt. Closes COUCHDB-1793.
* docs: rewrite sentence about HTTP admins interfaceDirkjan Ochtman2013-05-271-5/+5
|
* docs: don't refer to release chapter in build systemDirkjan Ochtman2013-05-231-3/+0
|
* replace README with README.rst in build systemDirkjan Ochtman2013-05-231-2/+2
|
* docs: add more structure to the release historyDirkjan Ochtman2013-05-231-10/+63
|
* Merge remote-tracking branch 'ocasta/1799-rewrite-session-cookie-fix'Adam Kocoloski2013-05-222-2/+6
|\ | | | | | | Fixes COUCHDB-1799
| * Save the auth values so if the AuthSession cookie has passed the Time left ↵Martin Higham2013-05-222-2/+6
| | | | | | | | threshold it gets updated
* | Fix fauxton boundRoute bugRussell Branca2013-05-221-0/+1
| |
* | rename README to README.rstDirkjan Ochtman2013-05-221-0/+0
| |
* | docs: add Upgrade Notes for 1.2.0Dirkjan Ochtman2013-05-221-0/+44
|/ | | | Synthesized from the Breaking_changes page on the wiki.
* Fauxton - add route and masterlayout to RouteObject initialiseGarren Smith2013-05-224-8/+6
|