This is an automated email from the ASF dual-hosted git repository.
ronny pushed a change to branch draft_allow_nested_json_claim_roles
in repository https://gitbox.apache.org/repos/asf/couchdb.git
discard fb243c7b7 Update get_roles_claim/1
discard 81a86e6eb Check if roles claim is a JSON list of strings
discard d09cfbe21 Throw an error if roles claim isn't a JSON array
discard 5b1bdc9fa Removed unneeded setup/0 and tear_down/0 helper functions
discard 6717e70c1 Fix warnings in test
discard 713c0207c Adding tests
discard b9e543093 Replacing the separator in the last step
discard 4a7648fcc Remove unnecessary function clause
discard 6b9712ad3 Adding `roles_claim_path` to default config
discard c043faeb2 Tokenize (nested) roles_claim_path variable
discard 022da125a Refactor function name
discard 0aa26c862 Remove duplicated case value
discard 0a55bab0a Run erlfmt
discard f7b6a6b41 Handle more role claim cases
discard 4515f9ea3 Allow and evaluate nested json claim roles
add 687b4e023 Enable replicating purge requests between nodes
add 63e09832a Ignore repeated interactive purges
add 428d280e4 Update CI to remove Erlang < 23
add b4aadedcb Update rebar config to remove Erlang < 23 support
add eb9884e95 Skip Erlang version != 20 in configure
add 11eea624b Set low erlang version in Jenkins.pr to 23 instead of 20
add 0a229d8fb Remove Erlang < 23 ifdefs and other macros
add 1d2ba3e5e Update erlfmt formatting for smoosh_server
add cb80c634a Lowest CI image version Erlang 23 doesn't have spidermonkey
1.8.5
add 6da9405ff Erlang 25 compatibility - http_uri:parse -> uri_string:parse
add 1bb3da87c Fix deprecated function warning
add 09737dfd6 Delete unused include_lib
add 507932ca3 Replace include with include_lib
add 19d2f9b69 Fix "variable bound multiple times" warning
add 52ef641f1 Fix full CI build
add 211509e58 Bypass macos builder for now while we sort the rebar issue
add 116c4e956 Fix couch_debug:opened_files* functions
add c417303ef Prevent error:function_clause in check_security/3 if roles
claim is malformed (#4070)
add 47866dea3 - rename master to main - fixing links
add f164b2dd9 Adding commit message conventions and update links
add ab00be437 Use https as default protocol for links
add 0bfbb63e4 Backport commits from fdbmain into main (old 3.x)
add adf17140e Merge pull request #4079 from apache/backport-from-fdbmain
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 5ef288d32 Allow and evaluate nested json claim roles
add a3cf27863 Handle more role claim cases
add 1fbdd11ea Run erlfmt
add dee985d71 Remove duplicated case value
add b6f760ff6 Refactor function name
add c16636fb4 Tokenize (nested) roles_claim_path variable
add 6b2cedd73 Adding `roles_claim_path` to default config
add 77d0679c2 Remove unnecessary function clause
add 03536b6c0 Replacing the separator in the last step
add 0bba04961 Adding tests
add e675ecba5 Fix warnings in test
add 527ad32f6 Removed unneeded setup/0 and tear_down/0 helper functions
add 366bdf61d Throw an error if roles claim isn't a JSON array
add 7586b9c90 Check if roles claim is a JSON list of strings
add 5a1747d28 Update get_roles_claim/1
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 (fb243c7b7)
\
N -- N -- N refs/heads/draft_allow_nested_json_claim_roles
(5a1747d28)
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:
.github/ISSUE_TEMPLATE/rfc.md | 2 +-
.gitignore | 3 +
CONTRIBUTING.md | 132 ++++---
Makefile | 2 +-
README.rst | 14 +-
build-aux/Jenkinsfile.full | 78 ++--
build-aux/Jenkinsfile.pr | 44 +--
build-aux/logfile-uploader.py | 1 +
config/config.exs | 4 +-
config/dev.exs | 2 +-
config/integration.exs | 2 +-
config/prod.exs | 2 +-
config/test.exs | 2 +-
configure | 4 +-
dev/run | 3 +-
mix.exs | 23 +-
mix.lock | 19 -
rebar.config.script | 12 +-
rel/overlay/etc/default.ini | 23 +-
rel/overlay/etc/local.ini | 2 +-
rel/overlay/etc/vm.args | 11 +-
src/chttpd/src/chttpd.app.src | 7 +-
src/chttpd/src/chttpd.erl | 52 +--
src/chttpd/src/chttpd_auth_cache.erl | 6 +-
src/chttpd/src/chttpd_db.erl | 14 +-
src/chttpd/src/chttpd_node.erl | 21 +-
src/chttpd/src/chttpd_stats.erl | 7 +-
src/chttpd/src/chttpd_sup.erl | 2 +-
src/chttpd/test/eunit/chttpd_db_test.erl | 56 +++
.../test/eunit/chttpd_open_revs_error_test.erl | 2 +-
src/couch/include/couch_db.hrl | 26 +-
src/couch/src/couch.app.src | 7 +-
src/couch/src/couch_app.erl | 2 -
src/couch/src/couch_bt_engine.erl | 4 +-
src/couch/src/couch_db.erl | 83 +++--
src/couch/src/couch_db_engine.erl | 4 +-
src/couch/src/couch_db_updater.erl | 2 +-
src/couch/src/couch_debug.erl | 138 +++++---
src/couch/src/couch_doc.erl | 2 +-
src/couch/src/couch_httpd.erl | 239 +++++++------
src/couch/src/couch_httpd_auth.erl | 8 +-
src/couch/src/couch_httpd_db.erl | 8 +-
src/couch/src/couch_httpd_vhost.erl | 2 +-
src/couch/src/couch_key_tree.erl | 4 +-
src/couch/src/couch_passwords.erl | 4 +-
src/couch/src/couch_proc_manager.erl | 10 +-
src/couch/src/couch_query_servers.erl | 9 +-
src/couch/src/couch_server.erl | 6 +-
src/couch/src/couch_util.erl | 112 +++---
src/couch/src/couch_uuids.erl | 2 +-
src/couch/src/test_util.erl | 4 +-
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_js_tests.erl | 2 +-
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_epi/src/couch_epi.app.src.script | 24 +-
src/couch_epi/test/eunit/couch_epi_tests.erl | 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/src/couch_log_monitor.erl | 12 -
src/couch_log/src/couch_log_trunc_io_fmt.erl | 2 +-
.../test/eunit/couch_log_formatter_test.erl | 4 +-
src/couch_mrview/src/couch_mrview_debug.erl | 391 ++++++++++++++++++++-
src/couch_mrview/src/couch_mrview_http.erl | 2 +-
.../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_prometheus/src/couch_prometheus_util.erl | 2 +-
src/couch_pse_tests/src/cpse_test_purge_docs.erl | 21 +-
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/src/couch_replicator_auth.erl | 2 +-
.../src/couch_replicator_auth_session.erl | 10 +-
.../src/couch_replicator_changes_reader.erl | 14 +-
.../src/couch_replicator_doc_processor_worker.erl | 2 +-
src/couch_replicator/src/couch_replicator_docs.erl | 18 +-
.../src/couch_replicator_httpc.erl | 3 +-
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_scheduler_job.erl | 93 +++--
.../src/couch_replicator_utils.erl | 6 +-
.../src/couch_replicator_worker.erl | 7 +-
src/couch_replicator/src/json_stream_parse.erl | 2 +-
.../couch_replicator_error_reporting_tests.erl | 2 +-
.../eunit/couch_replicator_many_leaves_tests.erl | 134 ++++---
src/custodian/src/custodian_util.erl | 9 +-
src/ddoc_cache/src/ddoc_cache_entry.erl | 5 +-
src/dreyfus/test/elixir/test/test_helper.exs | 2 +-
src/fabric/src/fabric_doc_open.erl | 2 +-
src/fabric/src/fabric_doc_open_revs.erl | 2 +-
src/fabric/src/fabric_doc_purge.erl | 2 +-
src/fabric/src/fabric_doc_update.erl | 4 +-
src/fabric/src/fabric_rpc.erl | 42 ++-
src/fabric/src/fabric_util.erl | 14 -
src/fabric/src/fabric_view_all_docs.erl | 10 +-
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 | 19 +
src/jwtf/src/jwtf.erl | 23 --
src/ken/src/ken.app.src.script | 17 +-
src/mango/src/mango_cursor_view.erl | 2 +-
src/mango/src/mango_httpd.erl | 10 +-
src/mango/src/mango_selector.erl | 4 +-
src/mango/src/mango_selector_text.erl | 2 +-
src/mango/src/mango_util.erl | 6 +-
src/mem3/src/mem3.app.src | 3 +-
src/mem3/src/mem3.erl | 4 +-
src/mem3/src/mem3_bdu.erl | 2 +-
src/mem3/src/mem3_nodes.erl | 7 +-
src/mem3/src/mem3_rep.erl | 8 +-
src/mem3/src/mem3_reshard_httpd.erl | 4 +-
src/mem3/src/mem3_shards.erl | 6 +-
src/mem3/src/mem3_util.erl | 11 +-
src/rexi/src/rexi_server.erl | 45 ++-
src/setup/src/setup.app.src | 29 +-
src/smoosh/src/smoosh_channel.erl | 87 +++--
src/smoosh/src/smoosh_priority_queue.erl | 2 +-
src/smoosh/src/smoosh_server.erl | 41 ++-
src/smoosh/src/smoosh_utils.erl | 61 +++-
src/smoosh/test/smoosh_tests.erl | 75 ++--
src/weatherreport/src/weatherreport.app.src | 5 +-
test/elixir/README.md | 2 +-
test/elixir/config/config.exs | 2 +-
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/bulk_docs_test.exs | 4 +-
test/elixir/test/changes_test.exs | 4 +-
test/elixir/test/config/suite.elixir | 8 +-
test/elixir/test/cookie_auth_test.exs | 2 +-
test/elixir/test/design_docs_test.exs | 16 +-
140 files changed, 1824 insertions(+), 1023 deletions(-)
delete mode 100644 mix.lock
rename test/elixir/lib/couch/{db_test.ex => dbtest.ex} (100%)