couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From chewbra...@apache.org
Subject [couchdb] branch elixir-suite updated (1c5ae3e -> 656934a)
Date Fri, 22 Jun 2018 22:15:29 GMT
This is an automated email from the ASF dual-hosted git repository.

chewbranca pushed a change to branch elixir-suite
in repository https://gitbox.apache.org/repos/asf/couchdb.git.


 discard 1c5ae3e  Port replication.js to replication_test.ex
 discard 7351759  Add the user tag to create users declaratively
 discard b95b212  Add helper functions for user sessions
 discard d26f670  Allow tests to set config values dynamically
 discard bd3587a  Fix bug when canceling replications
    omit 97a71b1  Allow tests to specify the request Content-Type
    omit cb0ffe1  Replace header match with regexp
    omit 871ff45  Add list of test ports status to README
    omit 53dc90f  Integrate Elixir suite with `make`
    omit 3afa337  Move elixir_suite to test/elixir
    omit 9ddbbe5  WIP: Port most of rewrite.js suite
    omit f91b181  Port httpotion functionality until released
    omit 5bce2d9  Prefer ?w=3 over hacky sleeps
    omit 6895fdc  Port reduce.js suite
    omit 7aba50b  Remove extraneous comment
    omit 86708b5  Port view_collation.js to view_collation_test.exs
    omit 7b8e6c1  Embrace the Elixir
    omit 67f6fae  Update the context in place for setup
    omit 1e0cb25  DRY constant definition
    omit b52f778  Ignore erln8.config
    omit 7e10c70  Simple .gitignore for sanity
    omit 44516be  Add simple Makefile for muscle memory
    omit 4898c08  Remove module attribute
    omit 5c5b60b  Port uuids.js to Elixir
    omit a9123ae  Add support for a config tag
    omit 1edae17  Port config.js tests
    omit eeaf8c7  Port all_docs.js tests
    omit 418470e  Misc updates
    omit 736a779  Port remaining basics.js tests
    omit 9155687  WIP: Elixir test suite
     add 8b4e92a  Improve Mango test suite performance (#995)
     add 9b71781  (typo) fetchig -> fetching
     add 44cca52  Move cluster_start_period and cluster_quiet_period to replicator section
     add 7c78922  Update COMMITTERS.md
     add bdaeaff  Fix replicator cluster stability race condition
     add ede5dd9  Fix index validation for nested $and (#1014)
     add a406cc0  Test duplicate fields in Mango selector (#998)
     add 27dcd6b  Fix _explain for sort descending (#1025)
     add 3e511b3  Allow replicator documents to include params for db creation   - specify
q in "create_target_params": {"q": "1", ...} issue-887
     add b66e52a  Add missing methods to fake index
     add ccb657e  Remove invalid meck unload
     add 743bd88  warn instead of error when use_index not valid (#962)
     add 9eb845b  Fix eunit "suites" example
     add fda4c67  Remove Spidermonkey as an "optional" depedency
     add c5e48a8  Remove Bob's 2.0 TODO list
     add 57b615d  Remove references to etap
     add 6fce0fe  Fix replicator create target options test
     add ac7a00c  Make q configurable for peruser dbs issue 875
     add 0493988  Allow to use index with or (#1038)
     add 718f89d  Multiple fixes and refactoring of couch tests. (#1062)
     add f8e56e9  Add coverage reports to more applications
     add beb8781  Add couch_stats tracking back to couch_log (#1064)
     add 8e0e8b3  Fix haproxy stats (#1039)
     add 7c37e58  Mango: change catch-all field range priority (#1069)
     add 3b28b84  Fix mango native proc crash (#1067)
     add dd7cb4e  Refactor couch_log
     add 3c90cc3  Merge pull request #1078 from cloudant/issue-832-couch_log-refactor
     add b791106  Cleanup data dirs in eunit_plugin before test run
     add f71daa2  Merge pull request #1090 from apache/cleanup-on-setup_eunit
     add f3ecd13  Use uuid in tmp db names in unit tests
     add bc192d1  Merge pull request #1092 from apache/use-uuid-in-eunit-dbnames
     add 0414ef3  Make sure mango tests's recreate fun creates db
     add 4ac9ab0  Merge pull request #1091 from apache/better-mango-test-recreate-function
     add 6fb3577  Return friendly error message when creating user with invalid password (#1087)
     add 65fbcd0  fallback to "selector" on empty "partial_filter_selector" (#1098)
     add 730dcf7  Simplify couch_key_tree test setup
     add 1768aea  Remove warning on `couch_epi_codegen` compile
     add 649b808  Allow override of `-args_file` and `-config` parameters (#1095)
     add 567a16e  Fix couch_peruser_test
     add ba82c4e  Return null for update_seq and offset if update_seq is true issue 969
     add aa7821b  Merge pull request #1085 from cloudant/issue-969-update_seq-true
     add b43c401  Create all needed directories to build docs (#1115)
     add 0fd9509  Add support for queries in /{db}/_all_docs POST Fixes #820
     add 91f5985  Set eunit timeout on a whole test object
     add b2e0e13  Merge pull request #1123 from apache/fix-create_delete_database_continuously-test
     add d16f2db  Make peruser database prefix configurable
     add c3bc956  Remove outdated docker targets and docs (#1109)
     add 4e35b36  Hide Auth information in replication document for reader   - don't display
credential information for user who   just wants to check replication status. In basic authentication,
  the credential information is available in header field of doc
     add 52e7cbe  Decode destination header for doc copy
     add 380ae69  Remove 'smartquote' from default.ini, broke the build
     add 1ecf363  Make _design_docs to respect query parameters
     add 92a280a  Introduce new _dbs_info endpoint to get info of a list of databases
     add 884db89  Merge pull request #1082 from cloudant/issue-822-all-dbs-info
     add 960a6f9  Fix for issue #603 - Error 500 when creating a db below quorum
     add 1c39e0c  feat: add quorum tests to make check
     add 7a296d2  Fix for issue #1134 clean up dev/lib before run mango tests (#1135)
     add 1446e87  Remove queries for _all_docs issue 820
     add 3b53c1c  Merge pull request #1143 from cloudant/issue-820-remove-queries-for_all_docs
     add d35f00a  Simplify make dist approach
     add d3a2871  feat: add ./configure --dev as alias for -c --disable-{docs,fauxton}
     add c6f0208  Add config app to couch_replicator app dependencies
     add 6cd62c2  Bump config to 1.0.2 for dialyzer related fixes
     add 4976f49  Use callbacks for couch_event_listener behavior
     add 302bd8b  feat: update mochiweb to 2.17.0
     add 6d959a7  Avoid unconditional retries in replicator's http client
     add 0832393  Prevent chttpd multipart zombie processes
     add 364ea20  Remove old rolling reboot upgrade code
     add fb2b046  Add couch_db_engine module
     add 8e34ce3  Add legacy storage engine implementation
     add f6a7711  Implement pluggable storage engines
     add d80f7df  Add storage engine test suite
     add 49d4194  Ensure deterministic revisions for attachments
     add fdc7a26  Increase timeout for storage engine tests
     add 51cb6ae  Eliminate "default" Erlang platform from Jenkins CI
     add 9b99722  Remove unused code for starting compactions
     add 4a73d03  re-enable "flaky" test in quest to nail down #745
     add 72b41c4  Implement pluggable authentication and session support for replicator
     add 2c43e62  This fixes couch_bt_engine:fold_local_docs/4
     add 5ef942a  feat: introduce snooze_period to reduce compaction_daemon load.
     add 0761b6a  fix: simplify config integer get
     add 58fef34  feat: bump the compaction daemon check_interval to one hour
     add e5bf9d4  doc: add snooze_period doc to default.ini
     add 42aba99  feat: demote view index opening/closing to log level debug
     add 3bd033b  Prevent access to Fauxton on node-local port (5986)
     add 8898104  Fix dialyzer warning on `couch_key_tree:merge/2`
     add 5218348  Fix validate_doc_update for Erlang functions
     add 101f29b  Use precise term comparison
     add 0464c46  Switching `couch_stats_process_tracker:track/2` argument names
     add e1fa0f5  Use `chttpd:send_error/2` in mango_httpd
     add 087a1b2  Merge pull request #1193 from cloudant/fix-error-reporting-in-mango
     add cd598d8  Add error tuple return type to replicator auth spec and callback
     add ba624ea  Revert "re-enable "flaky" test in quest to nail down #745"
     add 817b2b6  Add bcrypt hashing option
     add b58021e  Introduce bin_opt_info erl_opts compilation option
     add 3c26bc3  Fix dialyzer warning for couch_att:from_disk_term
     add 1b21587  feat: allow eunit to run without setup or make all
     add 6f294c1  fix: compaction daemon symlink resolution and log level #1097
     add b05c177  Proper error handling for file:open() call
     add 42c89ba  fix whitespace
     add f999071  style fixes as per @davisp
     add 2b5cf23  Increase PSE test engine timeouts
     add bb74b16  Implement format_status/2 for replication worker gen_server
     add 18f8362  Bump config dependency to 1.0.3
     add 36ecf92  Support queries for endpoints
     add 0a477b5  Merge pull request #1222 from cloudant/issue-820-add-queries
     add 95a78ce  Remove _config call in couch_peruser_test
     add a0c863d  Merge pull request #1130 from cloudant/issue-876-remove-_config-call-in-eunit-test
     add 89a727b  Replace resource expensive bcrypt test with shorter version (#1231)
     add 45da9f3  Validate password_scheme in user doc
     add 3d702d8  Revert "Revert "re-enable "flaky" test in quest to nail down #745""
     add e7c48b3  Improve 413 response handling
     add f0887c1  Allow couch_os_daemons to live in directories with spaces
     add 7bfdedb  Fix DB-specific compaction configuration (#1059)
     add 6f987ae  Merge branch 'master' into daemon-spaces
     add f28d896  make it so
     add 3621725  add bootstrap
     add 0f559a9  add ignore
     add 58c4948  add http stub
     add e8c4966  add basic action handling
     add a5213f7  add Apache License stanza everywhere
     add 404692f  add the plan to readme
     add ecf310a  add note about skipping a step if the node is already setup
     add 38eaa88  add delete_node API
     add 9f1fa23  hack for storing erlang cookie value on new nodes
     add 068bdf1  add action hints
     add 94eab12  add license
     add 3ad82e5  remove leftover
     add 317e5a4  formatting
     add 0145bae  formatting & clarification
     add bc41677  mroe formatting
     add 277ca66  wip: implement setup handling
     add 92da54e  wip: full receive feature, setup now works yay
     add fc39fab  add simple test script
     add 354647b  add finish cluster routine
     add 7c6c3bb  add some more testing
     add 4c423e6  s/_cassim/cassim/ for the time being
     add 7528f5b  add license header
     add 0a676fc  add testing instructions to readme
     add 3304add  hash admin passwords, more resilient port parsing
     add 14e0374  handle GET cluster state
     add 9c3eb0a  show cluster finished state
     add be52f7e  R14 compatibility
     add 9728b34  Remove error-handling clause
     add cd7d0ec  Fix LICENSE indention
     add deeb073  Rename cassim db to _metadata
     add 127e85a  Use _nodes db
     add 372dd8b  fix tests
     add ecb601b  Create _global_changes database on cluster setup
     add 616789b  cluster_enable: add remote_node feature
     add f4fd3fa  whitespace fix
     add aa17a55  use couch_log instead of io:format
     add 5c0e927  Use dynamic handlers
     add ff19be1  add catch-all clause for url_handler
     add bdb8a0c  configure the right http interface
     add 647ffbc  fix enable_cluster_http for admin-party clusters
     add fb61c04  Update to new couch_epi API
     add d0a9b72  Pass supervisor's children to couch_epi
     add 747144e  Return HTTP 200 on GET
     add b9e1f3b  Return HTTP 405 for unsupported request method
     add e8d1e32  feat: cassim is off for now
     add 75a7682  require nodecount on setup
     add dd68945  use config:setineger/3
     add b107042  fix wording
     add 401d776  Merge remote-tracking branch 'robertkowalski/2594-2598-number-of-nodes'
     add 2590fbc  Fixed some minor errors in the documentation.
     add d75693e  add_node: Don't fail if node name != "couchdb" or "node1"
     add b2b93c1  Merge remote-tracking branch 'adrienverge/COUCHDB-3119'
     add 54623ce  fix cluster setup: use same admin pq salt on all nodes
     add c38d7aa  Merge remote-tracking branch 'asf/salt-distribution'
     add 18314a6  Add support for new ensure_dbs_exist option to GET, POST/finish_cluster
     add 92dd9d1  Add new enable_single_node action for cluster_setup endpoint
     add e153d48  address comments from rnewson
     add d61381a  fix typo/compilation error
     add 942c665  chore: whitespace
     add 4b90eca  chore: better log output
     add 4d9bd58  Merge branch '593-setup-single-node' of https://github.com/apache/couchdb-setup
     add 68545af  fix: make sure cluster setups do not exceed n=3 by default
     add 9fd7f44  Merge branch 'fix/node-count' of https://github.com/apache/couchdb-setup
     add 2f725d9  Import couchdb-setup
     add e282d70  Update rebar.config for local src/setup
     add 1a040a4  Merge pull request #1243 from apache/import-setup-again
     add b163663  Merge branch 'master' into daemon-spaces
     add c300673  Merge pull request #1242 from apache/daemon-spaces
     add 266c56b  Various top-level directory cleanups
     add 25de7b5  Merge pull request #1240 from apache/cleanup
     add 0e1cdef  Fix couch peruser test suite (#1247)
     add 0074b4f  fix: more reliable password scheme tests
     add f6fc285  add test covering loading admins from config
     add fe1ce42  feat: add debug log output for shard open errors
     add 99a64b2  Fix shard substitution in changes feeds
     add 790783e  Fix killing of OS processes
     add 6ffe042  Make loginUser wait for successful authentication
     add 455d634  Fix compaction resumption for the BT engine
     add b52683c  Test compaction resumption after error
     add 8f38625  fix file_compression value description
     add 948a131  Fix typo in node local _replicate handler
     add 02c9429  Key tree property tests
     add 0e92688  Kill fabric attachment receiver when middleman times out
     add a0dd946  Do not drop updated httpdb record after auth headers are updated
     add f9aa52f  Switch to using a mirrored triq dependency
     add 1ae2aae  Minor documentation cleanup for couch_replicator
     add 5b74e66  Set update_lru_on_read=false as default
     add 33783c3  call commit_data where needed
     add 3d1eecb  Merge pull request #1281 from apache/commit_data_pse
     add b0f673f  In _scheduler/docs fix `crashing` state showing as `pending` sometimes
     add 581bd05  Adopt fake_db to PSE changes
     add 356069d  Merge pull request #1273 from cloudant/adopt-fake_db-to-PSE
     add 069c02b  Document enable_database_recovery ini option
     add 8de46c7  Fix mem3 tests (#1285)
     add 894accb  Fix length badarg error in mp parser
     add 47a38d3  Force use of SMP enabled BEAM VM, fixes #1296
     add ae29e65  Bump fauxton to fix CI builds
     add f541e48  Add SSL session_lifetime limit for ibrowse pids
     add 8e28fd2  Mango: _id and _rev index selection
     add 5290a32  Update Jenkins build process:
     add 6d44e17  Add _approx_count_distinct as a builtin reduce function (#1346)
     add 8a46473  Add hyper app to dependencies
     add 0392c51  Finalize in couch_mrview, but make it optional
     add 5fa3c43  Use finalize operation to simplify _stats
     add 398ac18  Ignore trailing characters in a builtin reduce
     add 62f71c0  Fix container for package-building step
     add 994b370  Jenkinsfile: typo
     add 71c33b1  Update skip_deps for 3rd parties eunit (#1386)
     add 2bf04a0  Revert "Introduce bin_opt_info erl_opts compilation option"
     add 76790d5  Add compile's command line options
     add 2fe402f  Remove debug_info from compile options
     add dfa8780  Make bin_opt_info optional based on env variable
     add 41decfa  Allow custom compile options with env variable
     add c7d35c3  Merge pull request #1387 from cloudant/make-bin_opt_info-optional
     add 000766c  Fix active size calculations for views
     add aebdbc4  Optimize couch_key_tree:stem/2
     add 3c98385  Fix couch_key_tree_tests.erl
     add f040d75  Add set_mqd_off_heap utility function
     add a13efba  Call `set_mqd_off_heap` for critical processes
     add f3a0f42  refactor process_request to not drop req (#1375)
     add fe53e43  Prepare to fabric attachment receiver from a fun closure to a tuple
     add 5b5c8a1  Add constant index fields to sort based on the selector (#1376)
     add 103a062  Update snappy dep to CouchDB-1.0.1 with 21.0 support
     new d099375  WIP: Elixir test suite
     new 35d5721  Port remaining basics.js tests
     new 0fc3f02  Misc updates
     new b3ca83c  Port all_docs.js tests
     new 3c4730e  Port config.js tests
     new 05fa713  Add support for a config tag
     new fba7e88  Port uuids.js to Elixir
     new a8e7a7c  Remove module attribute
     new 754202e  Add simple Makefile for muscle memory
     new cb1e1d1  Simple .gitignore for sanity
     new 5f72bc7  Ignore erln8.config
     new 005d48b  DRY constant definition
     new 42d1dca  Update the context in place for setup
     new 3667d8f  Embrace the Elixir
     new abdd7d6  Port view_collation.js to view_collation_test.exs
     new d159ded  Remove extraneous comment
     new 859533a  Port reduce.js suite
     new 91687ee  Prefer ?w=3 over hacky sleeps
     new cae385a  Port httpotion functionality until released
     new 0097ac5  WIP: Port most of rewrite.js suite
     new 0b48df6  Move elixir_suite to test/elixir
     new 17f8de1  Integrate Elixir suite with `make`
     new 9d392c7  Add list of test ports status to README
     new dadbf13  Replace header match with regexp
     new 1d97b35  Allow tests to specify the request Content-Type
     new 35dcf85  Fix bug when canceling replications
     new 534739f  Allow tests to set config values dynamically
     new 508cb82  Add helper functions for user sessions
     new 6d01bb9  Add the user tag to create users declaratively
     new 29a6561  Port replication.js to replication_test.ex
     new 656934a  Port the first half of security_validation_tests.js

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   (1c5ae3e)
            \
             N -- N -- N   refs/heads/elixir-suite (656934a)

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 31 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                                         |    8 +-
 COMMITTERS.md                                      |   51 +-
 Jenkinsfile                                        |  209 +--
 LICENSE                                            |  167 ++-
 Makefile                                           |   99 +-
 Makefile.win                                       |   22 +-
 NOTICE                                             |   15 +-
 README-DEV.rst                                     |   28 +-
 TODO                                               |   10 -
 Vagrantfile                                        |   69 -
 introspect => build-aux/introspect                 |    0
 configure                                          |    9 +
 dev/run                                            |   24 +-
 license.skip                                       |  216 ----
 rebar.config.script                                |   28 +-
 rel/haproxy.cfg                                    |    4 +-
 rel/overlay/bin/couchdb                            |    8 +-
 rel/overlay/etc/default.ini                        |   70 +-
 rel/overlay/etc/local.ini                          |    3 +
 rel/overlay/etc/vm.args                            |    6 +
 rel/plugins/eunit_plugin.erl                       |   20 +
 rel/reltool.config                                 |    4 +
 src/{couch_log => chttpd}/rebar.config             |    0
 src/chttpd/src/chttpd.erl                          |   51 +-
 src/chttpd/src/chttpd_auth_request.erl             |    4 +
 src/chttpd/src/chttpd_db.erl                       |   63 +-
 src/chttpd/src/chttpd_httpd_handlers.erl           |    1 +
 src/chttpd/src/chttpd_misc.erl                     |   35 +
 src/chttpd/src/chttpd_view.erl                     |   16 +
 .../test/chttpd_csp_tests.erl}                     |   11 +-
 src/chttpd/test/chttpd_db_test.erl                 |  218 +++-
 src/chttpd/test/chttpd_dbs_info_test.erl           |  169 +++
 src/chttpd/test/chttpd_security_tests.erl          |   22 +
 src/chttpd/test/chttpd_view_test.erl               |  123 ++
 src/couch/.gitignore                               |    5 +
 src/couch/include/couch_db.hrl                     |    5 +-
 src/couch/include/couch_eunit.hrl                  |   11 +-
 src/couch/include/couch_js_functions.hrl           |    9 +
 src/couch/src/couch.app.src                        |    4 +-
 src/couch/src/couch.erl                            |    1 +
 src/couch/src/couch_att.erl                        |  146 ++-
 src/couch/src/couch_auth_cache.erl                 |   16 +-
 src/couch/src/couch_bt_engine.erl                  |  963 ++++++++++++++
 .../{couch_server_int.hrl => couch_bt_engine.hrl}  |   21 +-
 src/couch/src/couch_bt_engine_compactor.erl        |  496 +++++++
 ...ch_db_header.erl => couch_bt_engine_header.erl} |   39 +-
 src/couch/src/couch_bt_engine_stream.erl           |   70 +
 src/couch/src/couch_changes.erl                    |   21 +-
 src/couch/src/couch_compaction_daemon.erl          |  105 +-
 src/couch/src/couch_db.erl                         |  726 +++++------
 src/couch/src/couch_db_engine.erl                  |  893 +++++++++++++
 src/couch/src/couch_db_int.hrl                     |   69 +-
 src/couch/src/couch_db_updater.erl                 | 1350 +++++---------------
 src/couch/src/couch_file.erl                       |   40 +-
 src/couch/src/couch_httpd.erl                      |   13 +
 src/couch/src/couch_httpd_auth.erl                 |   12 +-
 src/couch/src/couch_httpd_db.erl                   |   11 +-
 src/couch/src/couch_httpd_misc_handlers.erl        |   38 +-
 src/couch/src/couch_httpd_multipart.erl            |   78 +-
 src/couch/src/couch_key_tree.erl                   |   84 +-
 src/couch/src/couch_os_daemons.erl                 |    2 +-
 src/couch/src/couch_os_process.erl                 |    1 -
 src/couch/src/couch_passwords.erl                  |   39 +-
 src/couch/src/couch_query_servers.erl              |   36 +-
 src/couch/src/couch_server.erl                     |  240 +++-
 src/couch/src/couch_stream.erl                     |  255 ++--
 src/couch/src/couch_users_db.erl                   |   10 +-
 src/couch/src/couch_util.erl                       |   57 +-
 src/couch/src/test_engine_attachments.erl          |   93 ++
 src/couch/src/test_engine_compaction.erl           |  185 +++
 src/couch/src/test_engine_fold_changes.erl         |  190 +++
 src/couch/src/test_engine_fold_docs.erl            |  390 ++++++
 src/couch/src/test_engine_get_set_props.erl        |   70 +
 src/couch/src/test_engine_open_close_delete.erl    |   81 ++
 src/couch/src/test_engine_purge_docs.erl           |  158 +++
 src/couch/src/test_engine_read_write_docs.erl      |  317 +++++
 src/couch/src/test_engine_ref_counting.erl         |  103 ++
 src/couch/src/test_engine_util.erl                 |  607 +++++++++
 src/couch/src/test_request.erl                     |   10 +
 src/couch/src/test_util.erl                        |   26 +-
 src/couch/test/chttpd_endpoints_tests.erl          |    1 +
 src/couch/test/couch_auth_cache_tests.erl          |   16 +-
 src/couch/test/couch_bt_engine_compactor_tests.erl |  130 ++
 .../test/couch_bt_engine_tests.erl}                |   11 +-
 src/couch/test/couch_db_plugin_tests.erl           |    2 +-
 src/couch/test/couch_db_tests.erl                  |  221 ++--
 src/couch/test/couch_key_tree_prop_tests.erl       |  531 ++++++++
 src/couch/test/couch_key_tree_tests.erl            |   42 +-
 src/couch/test/couch_passwords_tests.erl           |   42 +-
 src/couch/test/couch_server_tests.erl              |   16 +
 src/couch/test/couch_stream_tests.erl              |   32 +-
 src/couch/test/couchdb_compaction_daemon_tests.erl |    3 +-
 src/couch/test/couchdb_cookie_domain_tests.erl     |   78 +-
 src/couch/test/couchdb_vhosts_tests.erl            |   25 -
 src/couch/test/couchdb_views_tests.erl             |   42 +-
 src/couch/test/global_changes_tests.erl            |    2 +-
 src/couch_epi/rebar.config                         |    4 +
 src/couch_epi/src/couch_epi_codegen.erl            |   19 +-
 src/couch_event/src/couch_event_listener.erl       |   28 +-
 src/{couch_log => couch_index}/rebar.config        |    0
 src/couch_index/src/couch_index.erl                |    6 +-
 src/couch_index/src/couch_index_updater.erl        |    6 +-
 .../test/couch_index_compaction_tests.erl          |   16 +-
 .../test/couch_index_ddoc_updated_tests.erl        |    5 +-
 src/couch_log/src/couch_log.erl                    |    1 +
 src/couch_log/src/couch_log_server.erl             |    1 +
 src/couch_log/test/couch_log_test_util.erl         |    7 +-
 src/{couch_log => couch_mrview}/rebar.config       |    0
 src/couch_mrview/src/couch_mrview.erl              |   62 +-
 src/couch_mrview/src/couch_mrview_index.erl        |    3 +-
 src/couch_mrview/src/couch_mrview_util.erl         |   36 +-
 .../test/couch_mrview_index_info_tests.erl         |   96 +-
 .../test/couch_mrview_local_docs_tests.erl         |    6 +-
 src/couch_peruser/src/couch_peruser.erl            |   60 +-
 src/couch_peruser/test/couch_peruser_test.erl      |  307 +++--
 src/couch_replicator/README.md                     |   43 +-
 .../{src => include}/couch_replicator_api_wrap.hrl |   13 +-
 src/couch_replicator/src/couch_replicator.app.src  |    1 +
 src/couch_replicator/src/couch_replicator.erl      |    2 +-
 .../src/couch_replicator_api_wrap.erl              |   30 +-
 src/couch_replicator/src/couch_replicator_auth.erl |  100 ++
 .../src/couch_replicator_auth_noop.erl             |   52 +
 .../src/couch_replicator_auth_session.erl          |  693 ++++++++++
 .../src/couch_replicator_changes_reader.erl        |    2 +-
 .../src/couch_replicator_clustering.erl            |   73 +-
 src/couch_replicator/src/couch_replicator_docs.erl |   54 +-
 .../src/couch_replicator_httpc.erl                 |   92 +-
 .../src/couch_replicator_httpd.erl                 |    2 +-
 src/couch_replicator/src/couch_replicator_ids.erl  |   51 +-
 .../src/couch_replicator_scheduler.erl             |   84 +-
 .../src/couch_replicator_scheduler_job.erl         |    5 +-
 .../src/couch_replicator_utils.erl                 |   90 +-
 .../src/couch_replicator_worker.erl                |   49 +-
 .../test/couch_replicator_compact_tests.erl        |    4 +-
 ...replicator_create_target_with_options_tests.erl |  143 +++
 .../test/couch_replicator_filtered_tests.erl       |    4 +-
 .../test/couch_replicator_missing_stubs_tests.erl  |    4 +-
 .../test/couch_replicator_proxy_tests.erl          |    2 +-
 .../test/couch_replicator_selector_tests.erl       |    4 +-
 ...ch_replicator_small_max_request_size_target.erl |   28 +-
 .../test/couch_replicator_test_helper.erl          |    4 +-
 .../couch_replicator_use_checkpoints_tests.erl     |    4 +-
 src/couch_stats/src/couch_stats.app.src            |    2 +-
 src/couch_stats/src/couch_stats.erl                |    2 +-
 .../src/couch_stats_process_tracker.erl            |   12 +-
 src/ddoc_cache/src/ddoc_cache_lru.erl              |    1 +
 src/fabric/rebar.config                            |    5 +-
 src/fabric/src/fabric_db_create.erl                |   33 +-
 src/fabric/src/fabric_doc_attachments.erl          |    5 +-
 ...ric_doc_attachments.erl => fabric_doc_atts.erl} |   33 +-
 src/fabric/src/fabric_rpc.erl                      |   16 +-
 src/fabric/src/fabric_util.erl                     |    4 +-
 src/fabric/src/fabric_view.erl                     |    3 +-
 src/fabric/src/fabric_view_all_docs.erl            |   10 +-
 src/mango/src/mango_cursor.erl                     |   76 +-
 src/mango/src/mango_cursor_special.erl             |    7 +-
 src/mango/src/mango_cursor_text.erl                |    2 +-
 src/mango/src/mango_cursor_view.erl                |    4 +-
 src/mango/src/mango_error.erl                      |   19 -
 src/mango/src/mango_httpd.erl                      |    2 +-
 src/mango/src/mango_idx.erl                        |   46 +-
 src/mango/src/mango_idx_special.erl                |   13 +-
 src/mango/src/mango_idx_text.erl                   |    2 +-
 src/mango/src/mango_idx_view.erl                   |   38 +-
 src/mango/src/mango_native_proc.erl                |   51 +-
 src/mango/src/mango_selector.erl                   |  338 ++++-
 src/mango/test/02-basic-find-test.py               |   19 +
 src/mango/test/03-operator-test.py                 |    9 +-
 src/mango/test/05-index-selection-test.py          |  114 +-
 src/mango/test/12-use-correct-index-test.py        |   13 +
 src/mango/test/16-index-selectors-test.py          |   10 +
 src/mango/test/18-json-sort.py                     |  222 ++++
 src/mango/test/mango.py                            |   47 +-
 src/mem3/include/mem3.hrl                          |    6 +-
 src/mem3/src/mem3.erl                              |   19 +-
 src/mem3/src/mem3_nodes.erl                        |    3 +-
 src/mem3/src/mem3_rep.erl                          |   17 +-
 src/mem3/src/mem3_shards.erl                       |  103 +-
 src/mem3/src/mem3_util.erl                         |   17 +-
 src/mem3/test/01-config-default.ini                |   14 -
 src/mem3/test/mem3_sync_security_test.erl          |   19 +-
 src/mem3/test/mem3_util_test.erl                   |   71 +-
 src/{couch_log => rexi}/rebar.config               |    0
 src/rexi/src/rexi_server.erl                       |    1 +
 src/setup/.gitignore                               |    4 +
 src/{global_changes => setup}/LICENSE              |    0
 src/setup/README.md                                |  193 +++
 .../src/setup.app.src}                             |   15 +-
 src/setup/src/setup.erl                            |  289 +++++
 .../couch_epi_app.erl => setup/src/setup_app.erl}  |   11 +-
 .../src/mem3_epi.erl => setup/src/setup_epi.erl}   |    7 +-
 src/setup/src/setup_httpd.erl                      |  169 +++
 .../src/setup_httpd_handlers.erl}                  |    3 +-
 .../src/setup_sup.erl}                             |   19 +-
 src/setup/test/t-frontend-setup.sh                 |   63 +
 src/setup/test/t-single-node.sh                    |   46 +
 src/setup/test/t.sh                                |   63 +
 test/build/test-run-couch-for-mango.sh             |    3 +
 test/elixir/lib/couch.ex                           |    8 +-
 test/elixir/test/security_validation_test.exs      |  309 +++++
 test/javascript/couch_test_runner.js               |    4 +-
 test/javascript/run                                |   16 +-
 .../tests-cluster/with-quorum/db-creation.js       |   26 +-
 .../without-quorum/db-creation.js}                 |   28 +-
 test/javascript/tests/design_docs_query.js         |  154 +++
 test/javascript/tests/reduce_builtin.js            |   20 +
 test/javascript/tests/users_db_security.js         |  182 ++-
 test/javascript/tests/view_errors.js               |    2 +-
 208 files changed, 12870 insertions(+), 3561 deletions(-)
 delete mode 100644 TODO
 delete mode 100644 Vagrantfile
 rename introspect => build-aux/introspect (100%)
 delete mode 100644 license.skip
 copy src/{couch_log => chttpd}/rebar.config (100%)
 rename src/{couch/test/couchdb_csp_tests.erl => chttpd/test/chttpd_csp_tests.erl} (90%)
 create mode 100644 src/chttpd/test/chttpd_dbs_info_test.erl
 create mode 100644 src/chttpd/test/chttpd_view_test.erl
 create mode 100644 src/couch/src/couch_bt_engine.erl
 copy src/couch/src/{couch_server_int.hrl => couch_bt_engine.hrl} (77%)
 create mode 100644 src/couch/src/couch_bt_engine_compactor.erl
 copy src/couch/src/{couch_db_header.erl => couch_bt_engine_header.erl} (92%)
 create mode 100644 src/couch/src/couch_bt_engine_stream.erl
 create mode 100644 src/couch/src/couch_db_engine.erl
 create mode 100644 src/couch/src/test_engine_attachments.erl
 create mode 100644 src/couch/src/test_engine_compaction.erl
 create mode 100644 src/couch/src/test_engine_fold_changes.erl
 create mode 100644 src/couch/src/test_engine_fold_docs.erl
 create mode 100644 src/couch/src/test_engine_get_set_props.erl
 create mode 100644 src/couch/src/test_engine_open_close_delete.erl
 create mode 100644 src/couch/src/test_engine_purge_docs.erl
 create mode 100644 src/couch/src/test_engine_read_write_docs.erl
 create mode 100644 src/couch/src/test_engine_ref_counting.erl
 create mode 100644 src/couch/src/test_engine_util.erl
 create mode 100644 src/couch/test/couch_bt_engine_compactor_tests.erl
 copy src/{ddoc_cache/test/ddoc_cache_ev.erl => couch/test/couch_bt_engine_tests.erl} (77%)
 create mode 100644 src/couch/test/couch_key_tree_prop_tests.erl
 copy src/{couch_log => couch_index}/rebar.config (100%)
 copy src/{couch_log => couch_mrview}/rebar.config (100%)
 rename src/couch_replicator/{src => include}/couch_replicator_api_wrap.hrl (86%)
 create mode 100644 src/couch_replicator/src/couch_replicator_auth.erl
 create mode 100644 src/couch_replicator/src/couch_replicator_auth_noop.erl
 create mode 100644 src/couch_replicator/src/couch_replicator_auth_session.erl
 create mode 100644 src/couch_replicator/test/couch_replicator_create_target_with_options_tests.erl
 copy src/fabric/src/{fabric_doc_attachments.erl => fabric_doc_atts.erl} (91%)
 create mode 100644 src/mango/test/18-json-sort.py
 delete mode 100644 src/mem3/test/01-config-default.ini
 copy src/{couch_log => rexi}/rebar.config (100%)
 create mode 100644 src/setup/.gitignore
 copy src/{global_changes => setup}/LICENSE (100%)
 create mode 100644 src/setup/README.md
 copy src/{couch_plugins/src/couch_plugins.app.src => setup/src/setup.app.src} (71%)
 create mode 100644 src/setup/src/setup.erl
 copy src/{couch_epi/src/couch_epi_app.erl => setup/src/setup_app.erl} (69%)
 copy src/{mem3/src/mem3_epi.erl => setup/src/setup_epi.erl} (91%)
 create mode 100644 src/setup/src/setup_httpd.erl
 copy src/{couch/src/couch_httpd_handlers.erl => setup/src/setup_httpd_handlers.erl} (86%)
 copy src/{couch_peruser/src/couch_peruser_sup.erl => setup/src/setup_sup.erl} (57%)
 create mode 100755 src/setup/test/t-frontend-setup.sh
 create mode 100755 src/setup/test/t-single-node.sh
 create mode 100755 src/setup/test/t.sh
 create mode 100644 test/elixir/test/security_validation_test.exs
 copy share/server/validate.js => test/javascript/tests-cluster/with-quorum/db-creation.js
(59%)
 copy test/javascript/{tests/large_docs.js => tests-cluster/without-quorum/db-creation.js}
(56%)
 create mode 100644 test/javascript/tests/design_docs_query.js


Mime
View raw message