<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/couchdb.git/src, branch 2735-duplicate-docs</title>
<subtitle>github.com: apache/couchdb.git
</subtitle>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/couchdb.git/'/>
<entry>
<title>Ensure doc groups are sorted before merging them</title>
<updated>2015-07-18T15:44:53+00:00</updated>
<author>
<name>Adam Kocoloski</name>
<email>adam@cloudant.com</email>
</author>
<published>2015-07-17T23:20:36+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/couchdb.git/commit/?id=50ada24b120c274b7d959ffe8e780055816b662e'/>
<id>50ada24b120c274b7d959ffe8e780055816b662e</id>
<content type='text'>
We had been implicitly assuming that clients send us sorted groups, but
unsurprisingly that's not always the case. The additional sorting here
should be redundant, but the consequences of merging unsorted groups are
severe -- we can end up with uniqueness violations on the primary key in
the database -- and so we add an additional sort here.

COUCHDB-2735
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
We had been implicitly assuming that clients send us sorted groups, but
unsurprisingly that's not always the case. The additional sorting here
should be redundant, but the consequences of merging unsorted groups are
severe -- we can end up with uniqueness violations on the primary key in
the database -- and so we add an additional sort here.

COUCHDB-2735
</pre>
</div>
</content>
</entry>
<entry>
<title>Preserve bucket ordering during validation</title>
<updated>2015-07-16T01:42:39+00:00</updated>
<author>
<name>Adam Kocoloski</name>
<email>adam@cloudant.com</email>
</author>
<published>2015-07-15T21:06:18+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/couchdb.git/commit/?id=5b1b3e155dd2909db75bed799f40f97c29410b19'/>
<id>5b1b3e155dd2909db75bed799f40f97c29410b19</id>
<content type='text'>
Document buckets are sorted by docid, but the validation code was
reversing the buckets. If multiple clients send concurrent updates for
the same document the broken sorting can result in duplicate documents.

The particular structure of the patch here is chosen to match the 2.x
codebase.

COUCHDB-2735
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Document buckets are sorted by docid, but the validation code was
reversing the buckets. If multiple clients send concurrent updates for
the same document the broken sorting can result in duplicate documents.

The particular structure of the patch here is chosen to match the 2.x
codebase.

COUCHDB-2735
</pre>
</div>
</content>
</entry>
<entry>
<title>Don't upgrade admin hashes into the _users database</title>
<updated>2014-08-21T15:34:59+00:00</updated>
<author>
<name>Robert Newson</name>
<email>rnewson@apache.org</email>
</author>
<published>2014-08-21T15:34:59+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/couchdb.git/commit/?id=5e46f3b988797e16bde36518d5b808eadd83ecfa'/>
<id>5e46f3b988797e16bde36518d5b808eadd83ecfa</id>
<content type='text'>
Admin users are stored in .ini files and are not full-fledged user
documents. Internally, a fake document is made to allow insertion into
the auth cache. CouchDB 1.6 introduced a feature to upgrade password
hashes from the legacy simple hash scheme to the stronger PBKDF2
scheme. It inappropriately attempted to do this to the fake admin
docs, which do not pass the _design/_auth validation checks. This is
fortunate, however, as CouchDB would then have written the admin users
into the users database causing widespread confusion and fear.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Admin users are stored in .ini files and are not full-fledged user
documents. Internally, a fake document is made to allow insertion into
the auth cache. CouchDB 1.6 introduced a feature to upgrade password
hashes from the legacy simple hash scheme to the stronger PBKDF2
scheme. It inappropriately attempted to do this to the fake admin
docs, which do not pass the _design/_auth validation checks. This is
fortunate, however, as CouchDB would then have written the admin users
into the users database causing widespread confusion and fear.
</pre>
</div>
</content>
</entry>
<entry>
<title>hash admin passwords on startup when list</title>
<updated>2014-08-18T15:44:32+00:00</updated>
<author>
<name>Robert Newson</name>
<email>rnewson@apache.org</email>
</author>
<published>2014-06-06T19:38:14+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/couchdb.git/commit/?id=ed825d362ff237981ef15e4a28e326c79bd1367f'/>
<id>ed825d362ff237981ef15e4a28e326c79bd1367f</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>COUCHDB-2233 - Correct HTML interpolation instances in documents.</title>
<updated>2014-05-05T16:35:16+00:00</updated>
<author>
<name>Christian Hogan</name>
<email>github@infliction.org</email>
</author>
<published>2014-05-02T15:59:16+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/couchdb.git/commit/?id=d1bc0a9cfe6e95b166131829b1b154027731a5d8'/>
<id>d1bc0a9cfe6e95b166131829b1b154027731a5d8</id>
<content type='text'>
Further updating instances of &lt;%= and to &lt;%- within documents to correctly handle HTML interpolation.

Tested for regression in
- 34.0.1847.131
- Safari 7.0.2

Signed-off-by: Alexander Shorin &lt;kxepal@apache.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Further updating instances of &lt;%= and to &lt;%- within documents to correctly handle HTML interpolation.

Tested for regression in
- 34.0.1847.131
- Safari 7.0.2

Signed-off-by: Alexander Shorin &lt;kxepal@apache.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Apply workaround fix for replication checkpoints test against R14B01</title>
<updated>2014-05-05T10:51:14+00:00</updated>
<author>
<name>Alexander Shorin</name>
<email>kxepal@apache.org</email>
</author>
<published>2014-05-05T10:50:16+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/couchdb.git/commit/?id=8ff9286590aae1df5bcd6875df97cb09457fade7'/>
<id>8ff9286590aae1df5bcd6875df97cb09457fade7</id>
<content type='text'>
R14B01 and R14B02 both are affected to OTP-9167 Erlang issue which
causes 4 tests failure because supervisor restarts worker with old
ChildSpec ignoring changes in use_checkpoint options.

This fix makes all tests passed, but leaves a notice in verbose mode
that there is a problem and how it could be resolved.

Another possible solution is to isolate test_use_checkpoints calls, but
this will be only hide the issue while it still may happened in prod.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
R14B01 and R14B02 both are affected to OTP-9167 Erlang issue which
causes 4 tests failure because supervisor restarts worker with old
ChildSpec ignoring changes in use_checkpoint options.

This fix makes all tests passed, but leaves a notice in verbose mode
that there is a problem and how it could be resolved.

Another possible solution is to isolate test_use_checkpoints calls, but
this will be only hide the issue while it still may happened in prod.
</pre>
</div>
</content>
</entry>
<entry>
<title>Use &lt;%- when interpolating XSS targets</title>
<updated>2014-05-01T20:16:02+00:00</updated>
<author>
<name>Kyle Snavely</name>
<email>ksnavely@cloudant.com</email>
</author>
<published>2014-05-01T15:57:42+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/couchdb.git/commit/?id=eef869330b0203fc262e9eff3e86e1d8dc521228'/>
<id>eef869330b0203fc262e9eff3e86e1d8dc521228</id>
<content type='text'>
  - I tried to not be super heavy handed, only using &lt;%- for values that
    could be set with XSS payloads or otherwise come from a user/data.

Conflicts:
	src/fauxton/app/addons/auth/templates/nav_link_title.html
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
  - I tried to not be super heavy handed, only using &lt;%- for values that
    could be set with XSS payloads or otherwise come from a user/data.

Conflicts:
	src/fauxton/app/addons/auth/templates/nav_link_title.html
</pre>
</div>
</content>
</entry>
<entry>
<title>Add some more files to the build system</title>
<updated>2014-04-15T08:23:45+00:00</updated>
<author>
<name>Dirkjan Ochtman</name>
<email>dirkjan@ochtman.nl</email>
</author>
<published>2014-04-15T08:20:31+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/couchdb.git/commit/?id=6f067492d8a7ee1b863abde2bf55bb92c14dfd50'/>
<id>6f067492d8a7ee1b863abde2bf55bb92c14dfd50</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fauxton: Fix global var in logs/resources</title>
<updated>2014-04-14T20:14:47+00:00</updated>
<author>
<name>Robert Kowalski</name>
<email>rok@kowalski.gd</email>
</author>
<published>2014-04-14T20:01:40+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/couchdb.git/commit/?id=6fe7583a6677e7d4333d7854dd8d3f22e02f823a'/>
<id>6fe7583a6677e7d4333d7854dd8d3f22e02f823a</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Changes: Some button class cleanup</title>
<updated>2014-04-14T19:51:17+00:00</updated>
<author>
<name>suelockwood</name>
<email>deathbear@apache.org</email>
</author>
<published>2014-04-14T19:51:17+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/couchdb.git/commit/?id=b2c7cc763e9eb16a66f1bf70798f05676a55d30f'/>
<id>b2c7cc763e9eb16a66f1bf70798f05676a55d30f</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
