You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by ja...@apache.org on 2020/07/10 17:17:21 UTC
[couchdb] branch feat/access-3.x updated (eea89d5 -> 872b582)
This is an automated email from the ASF dual-hosted git repository.
jan pushed a change to branch feat/access-3.x
in repository https://gitbox.apache.org/repos/asf/couchdb.git.
discard eea89d5 feat: ignore ioq in emilio
discard 8200726 fix: all_docs on partitioned dbs, override partition requirement on faked access all docs query
discard 25ffac8 fix(fabric): revert expected results, we should look into this later
discard e99c6e8 fix(repl): return rep id only in ok results
discard 60f4e8c fix(peruse): old tests might leave _users db around and binary:part() fails
discard 2868e52 chore: tmp disable show tests
discard f81828e fix(doc): delete
discard 62f98d5 fix(changes): only apply access logic on access enabled dbs
discard 95b91bc wip: changes and ddocs
discard 9308069 feat: per-document-access-control
add 6659dbb Make restricted partition search parameters return bad request
add 34baa46 fix: send CSP header to make Fauxotn work fully
add 074789f Upgrade Credo to 1.4.0
add 4240391 Allow drilldown for search to always be specified as list of lists
add 22dbde2 Merge pull request #2958 from bessbd/allow-drilldown-list-of-lists
add c155bd5 Tests already ported to elixir
add 5c49e0f Skip tests as temporary views are not supported
add c6940d8 Port reader_acl test into elixir test suite
add eaf6e74 Port view_update_seq.js into elixir
add 0eedd8b fix: set gen_server:call() timeout to infinity on ioq bypass
add 23b4aa7 Port view_collation_raw.js to elixir
add ce22cbc Port view_compaction test to elixir
add 694965a feat: per-document-access-control
add e4352022 wip: changes and ddocs
add 6a1149c fix(changes): only apply access logic on access enabled dbs
add ab64d47 fix(doc): delete
add ec29bab chore: tmp disable show tests
add 124465c fix(peruse): old tests might leave _users db around and binary:part() fails
add 6353666 fix(repl): return rep id only in ok results
add 7ffcd41 fix(fabric): revert expected results, we should look into this later
add 3661c0f fix: all_docs on partitioned dbs, override partition requirement on faked access all docs query
add bcf8879 feat: ignore ioq in emilio
add 5dc648d feat: don’t load access ddocs into ddoc cache
add 97a3579 feat: users now always have a default role _users
add 05503f4 fix: special case only for _design/_access
add 19b9f97 fix: don’t append _users role for admin users
add bc4c513 chore: remove debugging leftovers
add 18ae992 test: re-commit test file
add 6d79838 fix: deletes
add b5acade feat: re-add access query server
add 762fbf6 feat: re-add access query server
add bfc09c9 wip: move access check in couch_db_updater
add 872b582 feat: move access check into couch_db_updater
This update added new revisions after undoing existing revisions.
That is to say, some revisions that were in the old version of the
branch are not in the new version. This situation occurs
when a user --force pushes a change and generates a repository
containing something like this:
* -- * -- B -- O -- O -- O (eea89d5)
\
N -- N -- N refs/heads/feat/access-3.x (872b582)
You should already have received notification emails for all of the O
revisions, and so the following emails describe only the N revisions
from the common base, B.
Any revisions marked "omit" are not gone; other references still
refer to them. Any revisions marked "discard" are gone forever.
No new revisions were added by this update.
Summary of changes:
mix.exs | 2 +-
mix.lock | 4 +-
src/chttpd/src/chttpd.erl | 2 +
.../src/{chttpd_auth.erl => chttpd_auth.erl.orig} | 23 +-
src/chttpd/src/chttpd_db.erl | 23 +-
src/chttpd/src/chttpd_misc.erl | 2 +-
src/chttpd/src/chttpd_show.erl | 6 -
src/chttpd/test/eunit/chttpd_csp_tests.erl | 2 +-
src/couch/include/couch_db.hrl | 3 +-
src/couch/src/couch_access_native_proc.erl | 149 +++
src/couch/src/couch_db.erl | 102 +-
src/couch/src/couch_db_updater.erl | 103 +-
src/couch/src/couch_httpd_auth.erl | 11 +-
src/couch/test/eunit/couch_changes_tests.erl | 2 +-
src/couch/test/eunit/couchdb_access_tests.erl | 1034 ++++++++++++++++++++
src/couch/test/eunit/couchdb_mrview_cors_tests.erl | 7 +-
src/couch/test/eunit/couchdb_mrview_tests.erl | 20 +-
.../test/eunit/couchdb_update_conflicts_tests.erl | 6 +-
src/couch_index/src/couch_index_updater.erl | 19 +-
src/couch_mrview/src/couch_mrview.erl | 2 +-
src/couch_mrview/src/couch_mrview_updater.erl | 2 +-
.../test/eunit/couch_peruser_test.erl | 1 +
src/couch_replicator/src/couch_replicator.erl | 1 -
.../src/couch_replicator_api_wrap.erl | 4 +-
src/ddoc_cache/src/ddoc_cache_entry_ddocid.erl | 2 +-
src/ddoc_cache/src/ddoc_cache_entry_ddocid_rev.erl | 2 +-
src/dreyfus/src/dreyfus_httpd.erl | 24 +-
.../test/elixir/test/partition_search_test.exs | 36 +-
src/dreyfus/test/elixir/test/search_test.exs | 201 ++++
src/fabric/src/fabric_doc_update.erl | 3 +-
src/fabric/src/fabric_rpc.erl | 4 +-
src/ioq/src/ioq.erl | 2 +-
src/mem3/src/mem3_nodes.erl | 1 +
test/elixir/README.md | 10 +-
test/elixir/lib/couch/db_test.ex | 3 +-
test/elixir/test/bulk_docs_test.exs | 6 +-
test/elixir/test/cookie_auth_test.exs | 2 +-
test/elixir/test/reader_acl_test.exs | 254 +++++
test/elixir/test/security_validation_test.exs | 2 +-
...lation_test.exs => view_collation_raw_test.exs} | 81 +-
test/elixir/test/view_compaction_test.exs | 105 ++
test/elixir/test/view_update_seq_test.exs | 142 +++
test/javascript/tests/reader_acl.js | 1 +
test/javascript/tests/reduce_builtin.js | 1 +
test/javascript/tests/reduce_false.js | 1 +
test/javascript/tests/reduce_false_temp.js | 1 +
test/javascript/tests/security_validation.js | 2 +-
test/javascript/tests/view_collation_raw.js | 1 +
test/javascript/tests/view_compaction.js | 1 +
test/javascript/tests/view_update_seq.js | 1 +
50 files changed, 2241 insertions(+), 178 deletions(-)
copy src/chttpd/src/{chttpd_auth.erl => chttpd_auth.erl.orig} (77%)
create mode 100644 src/couch/src/couch_access_native_proc.erl
create mode 100644 src/couch/test/eunit/couchdb_access_tests.erl
create mode 100644 src/dreyfus/test/elixir/test/search_test.exs
create mode 100644 test/elixir/test/reader_acl_test.exs
copy test/elixir/test/{view_collation_test.exs => view_collation_raw_test.exs} (77%)
create mode 100644 test/elixir/test/view_compaction_test.exs
create mode 100644 test/elixir/test/view_update_seq_test.exs