| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
|
|
|
| |
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.
|
| | |
|
| |
|
|
|
|
|
|
|
|
| |
Further updating instances of <%= and to <%- within documents to correctly handle HTML interpolation.
Tested for regression in
- 34.0.1847.131
- Safari 7.0.2
Signed-off-by: Alexander Shorin <kxepal@apache.org>
|
| |
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
| |
- I tried to not be super heavy handed, only using <%- 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
|
| | |
|
| | |
|
| | |
|
| |
|
|
|
|
| |
Fix button text trigger
Toggle button gray on click
Change padding
|
| | |
|
| |
|
|
| |
Closes #200
|
| | |
|
| |
|
|
|
|
|
| |
Implement copying to clipboard
Change the view
Closes COUCHDB-2206
|
| |
|
|
|
| |
Remove old linted config
Add resizeColumns to app
|
| |
|
|
|
| |
* Fix stats css was leaking over to other pages
* Fix new view creation failing for a new design doc
|
| | |
|
| |
|
|
|
|
|
|
|
| |
This adds leading zeros to the times in the log view. Before that
the times were displayed like 1:5:3 (if it were 01:05:03)
because getHours() and friends are returning a Number and not
a String with a leading 0. In the case of 1:5:3 the corrected
time is now displayed as: 01:05:03. As d3 has a nice date formatter
we do not have to roll our own.
|
| | |
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This is a new version of pagination in Fauxton using skip. It uses a
PagingCollection that has the main algorithm for pagination and exposes
a nice api.
This is an intermediate step as this is a much better pagination than we
have at the moment. However using just skip for pagination is not
optimal as there are two cases where skip pagination fails - For very
large skips and for when documents that a user have paginated past have
been deleted.
The next step once this has landed will be to add in a startkey_docid
pagination as well. The PagingCollection would then decided which method
to use to paginate for an index.
|
| |\ |
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Passing unexpected values to auth fields can result in server
issues. Notably, setting "iterations" to a string will cause an
infinite loop as the comparison 'when Iteration > Iterations' will
never evaluate to true.
The latest validate_doc_update prevents user docs with this problem
and administrators can deploy that check themselves (and only
administrators can edit design documents).
A server administrator can also insist on lower and upper bounds for
iteration count to reject weakly protected passwords and
resource-hungry passwords respectively.
COUCHDB-2221
|
| |/ |
|
| |
|
|
| |
Fixes the ActiveTasks View
|
| | |
|
| | |
|
| |
|
|
| |
whitespace cleanup.
|
| |
|
|
| |
characters
|
| | |
|
| | |
|
| |
|
|
|
|
|
|
| |
I've modified nv.d3 to be an amd module. This isn't pretty but it's the
best fix, otherwise we cannot use this library.
I've also added a new config in settings.json.default for couchapp
deployment as the current release config doesn't work with a couchapp
|
| | |
|
| |
|
|
| |
was removed in b63ff1b50b7bde0c8f1f95988d076dda63f41fed
|
| |
|
|
| |
to make pie chart fit all nice like.
|
| | |
|
| | |
|
| | |
|
| |
|
|
| |
Fixes COUCHDB-2209
|
| |
|
|
|
| |
Small typo in the error message. Was ?=rev but should
read ?rev=
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
|
|
|
|
|
| |
null object fix.
Improved key support
initial linking with paginate
Fix linting issue
|
| |
|
|
| |
Show the message from the server instead of the whole JSON as text
|
| |
|
|
| |
Fix for config modal height
|
| |
|
|
| |
Fixes #COUCHDB-2169
|