This is an automated email from the ASF dual-hosted git repository.
jan pushed a change to branch feat/access-2022
in repository https://gitbox.apache.org/repos/asf/couchdb.git
discard 1d12525ac chore(access): style notes
discard 6f60d904a fix(access): use minimal info from prev rev
discard 8dbba7afc chore(access): remove old comment
discard 7c6068109 doc(access): leave todo for missing implementation detail
discard 17ec65823 feat(access): add global off switch
discard 8ca15ed22 fix: make tests pass again
discard a6e3c655f feat(access): additional test fixes
discard ee10ea60f feat(access): add access handling to fabric
discard fe8647620 feat(access): add access handling to ddoc cache
discard 7b0cec348 feat(access): add access handling to replicator
discard 93aadf32a feat(access): add access tests
discard cabd4691b feat(access): add mrview machinery
discard 30c4fb8be feat(access): adjust existing tests
discard 06956354c feat(access): add util functions
discard 5608d49f2 feat(access): handle access in couch_db[_updater]
discard a6f3f38a5 feat(access): expand couch_btree / bt_engine to handle access
discard bf78db93c feat(access): add access query server
discard cce80b958 feat(access): add new _users role for all authenticated users
discard 7c3df79b8 feat(access): handle new records in couch_doc
discard 511300a4e feat(access): add access to couch_db internal records
discard 3a2a9c611 feat(access): add access handling to chttpd
add 23b352d76 Small url fixes
add b424ad12a Merge pull request #4080 from apache/change-irc-url
add c605e0458 Fix Elixir 13 compatibility
add 2c351d62c Update vm.args for Erlang 23+
add ea5df65c5 Bring back POWER full builds
add eb2f8d998 Add Erlang 25 to PR CI pipeline and Ubuntu Jammy to full CI
add e41465ec8 Add an option to let custodian always use [cluster] n value
add 29ac7853f Optimize couch_util:to_hex/1
add 6a455c74b Implement winning_revs_only option for the replicator
add eb0b28a70 Fix flaky "validate doc update" elixir test
add 74017fd5d Skip uploading build logs for now
add 4fab0509d Skip nightly package uploads since nothing seems to be using
them
add 5eef3fff5 Improve error handling in smoosh_utils:write_to_file/3
add 22f0b44ef Merge pull request #4093 from
noahshaw11/fix-error-handling-smoosh
add b749b219b Add filepath to is_compacting
add 330703cae Remove some left-over local endpoint clauses in replicator
add 02c0c75c2 Clean up unused code and invalid spec from replicator
add 76dd66f40 Remove view compaction jobs recovery
add 005843a43 Fix not calling is_compacting test
add d0fd91529 Fix not_found error smoosh
add 7fb96d265 Add toggle for smoosh queue persistence
add daff65d8c Replace SHA-1 with SHA-256 for cookie authentication (#4094)
add 42be159c7 Trim X-Auth-CouchDB-Roles header after reading
add 9965289f2 Update elixir to 1.13
add c71239bf0 Update application description and dependencies
add ebbcc7ec2 Fix the flaky tests for `create_doc()`
add b3586f1f5 Fix stats endpoint
add 8c99dc530 make haproxy config valid again
add f4ff8aa12 Merge pull request #4123 from apache/dev-run-fix-haproxy-cfg
add a431b930f Turn document update mode atoms into defines
add 35b30385a Return a 400 response for a single new_edits=false doc
update without revisions
add 419447cd1 Remove `couch_tests`
add 02ca8c62c Merge pull request #4125 from jiahuili430/couch-tests
add 3527d3047 Revert "Replace SHA-1 with SHA-256 for cookie authentication
(#4094)"
add fff03ef8e Merge pull request #4128 from apache/revert-4094-for-now
add 963daf6ca Implement view_report function
add a45e82aa1 Merge pull request #4033 from
noahshaw11/implement-view_report-function
add 2be1da823 Add io_priority classes
add c09cd8968 Add ioq io_priority functions and system class
add 74f12c74d Merge pull request #4106 from apache/4101-add-io-priority
add deef12eff Add ioq:call_search
add 7f1a33169 Merge pull request #4135 from
apache/dedicated-ioq-search-function
add 1f1c56d5d Fix elixir :logger warnings
add 90f20c849 Add editors magic lines
add cfed4bb07 Merge pull request #4133 from
noahshaw11/add-editors-magic-lines
new b8dd8f4a5 feat(access): add access handling to chttpd
new c4756f306 feat(access): add access to couch_db internal records
new 4a98ed03b feat(access): handle new records in couch_doc
new 48c1c1d0a feat(access): add new _users role for all authenticated users
new bd2df7128 feat(access): add access query server
new 6a5e6049d feat(access): expand couch_btree / bt_engine to handle access
new 8d2f667a8 feat(access): handle access in couch_db[_updater]
new 34f7b9c8e feat(access): add util functions
new 1736e0bcd feat(access): adjust existing tests
new c0e639324 feat(access): add mrview machinery
new 7f7e165b6 feat(access): add access tests
new 1dd4ecce7 feat(access): add access handling to replicator
new 026795eca feat(access): add access handling to ddoc cache
new 9a9c7237e feat(access): add access handling to fabric
new 7bac8f19d feat(access): additional test fixes
new 76c67b446 fix: make tests pass again
new fc01d0421 feat(access): add global off switch
new d4691e0b6 doc(access): leave todo for missing implementation detail
new b5f791ddc chore(access): remove old comment
new b7828e9c5 fix(access): use minimal info from prev rev
new 79fbe501c chore(access): style notes
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 (1d12525ac)
\
N -- N -- N refs/heads/feat/access-2022 (79fbe501c)
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.
The 21 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
.gitignore | 3 +
Makefile | 2 +-
README.rst | 4 +-
build-aux/Jenkinsfile.full | 61 ++--
build-aux/Jenkinsfile.pr | 32 +-
build-aux/logfile-uploader.py | 1 +
config/config.exs | 4 +-
config/dev.exs | 2 +-
config/integration.exs | 6 +-
config/prod.exs | 2 +-
config/test.exs | 6 +-
dev/run | 1 +
mix.exs | 21 +-
mix.lock | 19 -
rebar.config.script | 3 +-
rel/overlay/etc/default.ini | 13 +
rel/overlay/etc/vm.args | 11 +-
src/chttpd/rebar.config | 2 +
src/chttpd/src/chttpd.app.src | 7 +-
src/chttpd/src/chttpd_auth_cache.erl | 6 +-
src/chttpd/src/chttpd_db.erl | 14 +-
src/chttpd/src/chttpd_node.erl | 21 +-
src/chttpd/test/eunit/chttpd_db_test.erl | 56 +++
src/couch/include/couch_db.hrl | 2 +
src/couch/rebar.config.script | 2 +
src/couch/src/couch.app.src | 7 +-
src/couch/src/couch_bt_engine.erl | 4 +-
src/couch/src/couch_db.erl | 56 +--
src/couch/src/couch_db_engine.erl | 4 +-
src/couch/src/couch_db_updater.erl | 2 +-
src/couch/src/couch_debug.erl | 80 ++++-
src/couch/src/couch_doc.erl | 2 +-
src/couch/src/couch_httpd_auth.erl | 2 +-
src/couch/src/couch_httpd_db.erl | 8 +-
src/couch/src/couch_passwords.erl | 4 +-
src/couch/src/couch_server.erl | 6 +-
src/couch/src/couch_util.erl | 83 +++--
src/couch/src/couch_uuids.erl | 2 +-
src/couch/src/test_util.erl | 2 +-
src/couch/test/eunit/couch_auth_cache_tests.erl | 2 +-
.../test/eunit/couch_bt_engine_compactor_tests.erl | 35 +-
src/couch/test/eunit/couch_db_plugin_tests.erl | 16 +-
src/couch/test/eunit/couch_key_tree_tests.erl | 2 +-
src/couch/test/eunit/couch_util_tests.erl | 43 +++
src/couch/test/eunit/couch_uuids_tests.erl | 4 +-
.../test/eunit/couchdb_update_conflicts_tests.erl | 4 +-
src/couch_dist/rebar.config | 2 +
src/couch_epi/rebar.config | 2 +
src/couch_epi/src/couch_epi.app.src.script | 24 +-
src/couch_epi/test/eunit/couch_epi_tests.erl | 2 +-
src/couch_event/rebar.config | 2 +
src/couch_index/rebar.config | 2 +
src/couch_index/src/couch_index.app.src | 2 +-
src/couch_index/src/couch_index.erl | 1 +
src/couch_index/src/couch_index_util.erl | 2 +-
src/couch_log/rebar.config | 2 +
src/couch_mrview/rebar.config | 2 +
src/couch_mrview/src/couch_mrview_debug.erl | 391 ++++++++++++++++++++-
.../test/eunit/couch_mrview_purge_docs_tests.erl | 6 +-
src/couch_peruser/src/couch_peruser.app.src | 2 +-
src/couch_peruser/src/couch_peruser.erl | 2 +
src/couch_pse_tests/src/cpse_test_purge_docs.erl | 6 +-
src/couch_pse_tests/src/cpse_test_purge_seqs.erl | 2 +-
src/couch_pse_tests/src/cpse_util.erl | 6 +-
src/couch_replicator/src/couch_replicator.app.src | 3 +-
.../src/couch_replicator_api_wrap.erl | 55 +--
.../src/couch_replicator_auth_session.erl | 6 +-
.../src/couch_replicator_changes_reader.erl | 14 +-
.../src/couch_replicator_doc_processor_worker.erl | 2 +-
src/couch_replicator/src/couch_replicator_docs.erl | 16 +-
.../src/couch_replicator_httpc.erl | 1 +
src/couch_replicator/src/couch_replicator_ids.erl | 48 ++-
.../src/couch_replicator_js_functions.hrl | 6 +
.../src/couch_replicator_scheduler.erl | 2 +-
.../src/couch_replicator_utils.erl | 6 +-
.../src/couch_replicator_worker.erl | 7 +-
.../eunit/couch_replicator_many_leaves_tests.erl | 134 ++++---
src/couch_tests/rebar.config | 2 +
src/custodian/rebar.config.script | 2 +
src/custodian/src/custodian_util.erl | 9 +-
src/dreyfus/src/clouseau_rpc.erl | 2 +-
src/dreyfus/test/elixir/test/test_helper.exs | 2 +-
src/fabric/rebar.config | 2 +
src/fabric/src/fabric_doc_open.erl | 2 +-
src/fabric/src/fabric_doc_open_revs.erl | 2 +-
src/fabric/src/fabric_doc_update.erl | 4 +-
src/fabric/src/fabric_rpc.erl | 8 +-
src/fabric/test/eunit/fabric_db_create_tests.erl | 4 +-
src/global_changes/src/global_changes.app.src | 3 +-
src/global_changes/src/global_changes_server.erl | 5 +-
src/ioq/src/ioq.erl | 24 +-
src/jwtf/rebar.config | 2 +
src/ken/rebar.config.script | 2 +
src/ken/src/ken.app.src.script | 17 +-
src/mango/rebar.config.script | 2 +
src/mem3/rebar.config | 2 +
src/mem3/rebar.config.script | 2 +
src/mem3/src/mem3.app.src | 3 +-
src/mem3/src/mem3_bdu.erl | 2 +-
src/mem3/src/mem3_nodes.erl | 7 +-
src/mem3/src/mem3_rep.erl | 6 +-
src/mem3/src/mem3_shards.erl | 6 +-
src/mem3/src/mem3_util.erl | 3 +
src/rexi/rebar.config | 2 +
src/setup/src/setup.app.src | 29 +-
src/smoosh/rebar.config | 2 +
src/smoosh/src/smoosh_channel.erl | 87 +++--
src/smoosh/src/smoosh_priority_queue.erl | 2 +-
src/smoosh/src/smoosh_server.erl | 18 +-
src/smoosh/src/smoosh_utils.erl | 61 +++-
src/smoosh/test/smoosh_tests.erl | 75 ++--
src/weatherreport/rebar.config | 2 +
src/weatherreport/src/weatherreport.app.src | 5 +-
test/elixir/config/config.exs | 2 +-
test/elixir/config/test.exs | 4 +-
test/elixir/lib/couch/{db_test.ex => dbtest.ex} | 0
test/elixir/lib/step/start.ex | 4 +-
test/elixir/lib/suite.ex | 2 +-
test/elixir/test/design_docs_test.exs | 16 +-
119 files changed, 1354 insertions(+), 509 deletions(-)
delete mode 100644 mix.lock
rename test/elixir/lib/couch/{db_test.ex => dbtest.ex} (100%)