You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by ro...@apache.org on 2022/08/25 11:04:24 UTC
[couchdb] branch draft_allow_nested_json_claim_roles updated (5a1747d28 -> 413e18ccd)
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
omit 5a1747d28 Update get_roles_claim/1
omit 7586b9c90 Check if roles claim is a JSON list of strings
omit 366bdf61d Throw an error if roles claim isn't a JSON array
omit 527ad32f6 Removed unneeded setup/0 and tear_down/0 helper functions
omit e675ecba5 Fix warnings in test
omit 0bba04961 Adding tests
omit 03536b6c0 Replacing the separator in the last step
omit 77d0679c2 Remove unnecessary function clause
omit 6b2cedd73 Adding `roles_claim_path` to default config
omit c16636fb4 Tokenize (nested) roles_claim_path variable
omit b6f760ff6 Refactor function name
omit dee985d71 Remove duplicated case value
omit 1fbdd11ea Run erlfmt
omit a3cf27863 Handle more role claim cases
omit 5ef288d32 Allow and evaluate nested json claim roles
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
add f8dad2fe6 Fix proxyauth_test and remove it from skipping tests (#4129)
add 96214780e Fix purge request timeouts
add 6c57f58dd Update couchdb-config to 2.2.0
add 9a5d0de97 Update couchdb-mochiweb to v3.1.0
add 264ad11f3 Add some utility functions to couch_replicator_test_helper
add 1ec76df18 Update couch_replicator_attachments_too_large to use fabric
add e1a947531 Update couch_replicator_compact_tests
add 620bdea36 Update couch_replicator_connection_tests
add 31185647f Update couch_replicator_create_target_with_options_tests
add 381fe30d8 Update couch_replicator_error_reporting_tests
add cad96318f Update couch_replicator_filtered_tests
add 75e73da04 Update couch_replicator_httpc_pool_tests
add 065b212e5 Update couch_replicator_id_too_long_tests
add 9a6875f6b Update couch_replicator_large_atts_tests
add ca46fa61c Update couch_replicator_many_leaves_tests
add 033b8d5de Update couch_replicator_missing_stubs_tests
add 9243298ef Update couch_replicator_proxy_tests
add d831ec70e Update couch_replicator_rate_limiter_tests
add 1e69eaac9 Update couch_replicator_retain_stats_between_job_runs
add 8e6158972 Update couch_replicator_selector_tests
add 609e7cc79 Update couch_replicator_small_max_request_size_target
add e6db35b6b Update couch_replicator_use_checkpoints_tests
add b9afb4590 update devcontainer
add 7fabe4bfb update variable name and readme
add 7a53ffcce moved the name property to the correct spot.
add baef83f6b Address race in cpse_incref_decref test
add 6f5a021f7 config section for require_valid_user is only [chttpd]
add 133d6bb40 fix missing "=" for admin party in #4153
add bc3242bc8 Upgrade hash algorithm for cookie auth (#4140)
add 34d336c01 Allow and evaluate nested json claim roles
add 182575303 Handle more role claim cases
add ea299a262 Run erlfmt
add ed71e5665 Remove duplicated case value
add a67d02fe9 Refactor function name
add 303874d7a Tokenize (nested) roles_claim_path variable
add c81818d9f Adding `roles_claim_path` to default config
add f0a4f8bfb Remove unnecessary function clause
add 43326f1e4 Replacing the separator in the last step
add 22c7b04cc Adding tests
add 88f95d299 Fix warnings in test
add 252ea408a Removed unneeded setup/0 and tear_down/0 helper functions
add 65c4f9b9d Throw an error if roles claim isn't a JSON array
add e76df8893 Check if roles claim is a JSON list of strings
add 003bfbcdf Update get_roles_claim/1
add 413e18ccd Case statement is more explicit and additional test case
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 (5a1747d28)
\
N -- N -- N refs/heads/draft_allow_nested_json_claim_roles (413e18ccd)
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:
.devcontainer/Dockerfile | 31 +-
.devcontainer/devcontainer.json | 30 +-
README-DEV.rst | 16 ++
README.rst | 19 ++
config/integration.exs | 4 +-
config/test.exs | 4 +-
dev/run | 12 +-
rebar.config.script | 7 +-
rel/overlay/etc/default.ini | 11 +-
rel/overlay/etc/local.ini | 6 -
src/chttpd/rebar.config | 2 +
src/chttpd/src/chttpd.erl | 2 +-
.../eunit/chttpd_auth_hash_algorithms_tests.erl | 99 +++++++
src/couch/rebar.config.script | 2 +
src/couch/src/couch_db.erl | 2 +-
src/couch/src/couch_httpd.erl | 2 +-
src/couch/src/couch_httpd_auth.erl | 48 +++-
src/couch_dist/rebar.config | 2 +
src/couch_epi/rebar.config | 2 +
src/couch_event/rebar.config | 2 +
src/couch_index/rebar.config | 2 +
src/couch_log/rebar.config | 2 +
src/couch_mrview/rebar.config | 2 +
src/couch_pse_tests/src/cpse_test_ref_counting.erl | 11 +-
.../src/couch_replicator_auth_session.erl | 5 +-
.../couch_replicator_attachments_too_large.erl | 79 ++----
.../test/eunit/couch_replicator_compact_tests.erl | 314 +++++++++------------
.../eunit/couch_replicator_connection_tests.erl | 264 ++++++++---------
...replicator_create_target_with_options_tests.erl | 74 ++---
.../couch_replicator_error_reporting_tests.erl | 272 ++++++++----------
.../test/eunit/couch_replicator_filtered_tests.erl | 257 +++++++----------
.../eunit/couch_replicator_httpc_pool_tests.erl | 96 +++----
.../eunit/couch_replicator_id_too_long_tests.erl | 82 ++----
.../eunit/couch_replicator_large_atts_tests.erl | 92 ++----
.../eunit/couch_replicator_many_leaves_tests.erl | 190 +++++--------
.../eunit/couch_replicator_missing_stubs_tests.erl | 146 +++-------
.../test/eunit/couch_replicator_proxy_tests.erl | 137 +++++----
.../eunit/couch_replicator_rate_limiter_tests.erl | 77 +++--
...ch_replicator_retain_stats_between_job_runs.erl | 153 ++++------
.../test/eunit/couch_replicator_selector_tests.erl | 121 +++-----
...ch_replicator_small_max_request_size_target.erl | 158 +++--------
.../test/eunit/couch_replicator_test_helper.erl | 134 ++++++---
.../couch_replicator_use_checkpoints_tests.erl | 182 ++++--------
src/couch_tests/rebar.config | 2 +
src/custodian/rebar.config.script | 2 +
src/dreyfus/src/clouseau_rpc.erl | 2 +-
src/fabric/rebar.config | 2 +
.../test/eunit/global_changes_hooks_tests.erl | 2 +-
src/ioq/src/ioq.erl | 5 +-
src/jwtf/rebar.config | 2 +
src/ken/rebar.config.script | 2 +
src/mango/rebar.config.script | 2 +
src/mem3/rebar.config | 2 +
src/mem3/rebar.config.script | 2 +
src/rexi/rebar.config | 2 +
src/smoosh/rebar.config | 2 +
src/weatherreport/rebar.config | 2 +
test/elixir/config/test.exs | 4 +-
test/elixir/test/config/skip.elixir | 4 -
test/elixir/test/jwt_roles_claim_test.exs | 62 ++++
test/elixir/test/proxyauth_test.exs | 95 ++-----
61 files changed, 1480 insertions(+), 1869 deletions(-)
create mode 100644 src/chttpd/test/eunit/chttpd_auth_hash_algorithms_tests.erl