summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Bump fauxton to v1.2.3 (#2515)3.0.x-fauxtonWill Holley2020-04-211-1/+1
| | | Co-authored-by: Joan Touzet <wohali@users.noreply.github.com>
* Port reduce_false.js and reduce_builtin.js to Elixir (#2541)Leonardo Pires2020-04-143-2/+334
| | | | Port reduce_false.js and reduce_builtin.js to Elixir
* Port recreate docs testJuanjo Rodriguez2020-04-143-1/+167
|
* Improve test initializationJuanjo Rodriguez2020-04-041-7/+8
|
* Port view_offset.js to elixir test suiteAlessio Biancalana2020-04-044-2/+128
|
* Merge pull request #2744 from apache/3.0.x-backports-from-masterRobert Newson2020-04-0210-27/+299
|\ | | | | 3.0.x backports from master
| * Merge pull request #2690 from apache/fix-create-db-optionsRussell Branca2020-04-027-21/+280
| | | | | | Fix create db options on secondary shard creation
| * Merge pull request #2657 from apache/cookie-domain-deleteRobert Newson2020-04-022-2/+14
| | | | | | Set cookie domain when DELETE'ing
| * Merge pull request #2654 from apache/fix-filter-changes-feed-rewindsRobert Newson2020-04-021-1/+2
| | | | | | Send correct seq values for filtered changes
| * Merge pull request #2645 from danielbarbarito/users-db-security-editable-ini-fixRobert Newson2020-04-021-3/+3
|/ | | Move "users_db_security_editable" to the correct location in the ini file
* fix: require_valid_user exception logicJan Lehnardt2020-04-012-7/+141
| | | | Co-authored-by: Robert Newson <rnewson@apache.org>
* Do not copy the #server.lru field to async openersPaul J. Davis2020-03-311-1/+4
| | | | | | This copy slowed down the `erlang:spawn_link/3` call considerably. Measurements in the wild showed the cost of that `spawn_link/3` going from roughly 8 uS to 800 uS.
* Port view_pagination integration test to elixir test suiteAlessio Biancalana2020-03-253-1/+192
|
* Port purge.js into elixir test suiteJuanjo Rodriguez2020-03-253-2/+170
|
* Ensure clean PATH for Windows couchdb.cmd (#2709)Joan Touzet2020-03-231-1/+1
|
* Fix ported to elixir tagJuanjo Rodriguez2020-03-225-4/+5
|
* Port http, method_override and jsonp tests into elixir test suite (#2646)Juanjo Rodriguez2020-03-219-8/+267
|
* Update smoosh defaults, default.ini (#2678)Joan Touzet2020-03-202-10/+28
|
* Port design_docs tests from js to elixir (#2641)Juanjo Rodriguez2020-03-203-1/+482
|
* 3.0.x merge - Port elixir proxyauth tests from js to elixir (#2660)
 (#2674)Juanjo Rodriguez2020-03-178-7/+203
| | | | | * Port elixir proxyauth tests from js to elixir (#2660) * Add support for specify a custom config file for CouchDB startup during testing
* Port changes, _design_docs, design_options and design_paths tests from js to ↵Juanjo Rodriguez2020-03-0411-130/+1404
| | | | | | | elixir (3.0.x) (#2629) * Port _design_docs tests, design_options and design_paths from js to elixir (#2596) * Port changes.js test suite into elixir
* feat: add mac ci (#2622)Jan Lehnardt2020-03-021-0/+37
|
* Merge pull request #2616 from dottorblaster/port_form_submit_test_to_elixir_30xAlessio Biancalana2020-03-023-1/+32
|\ | | | | Port form submit test to elixir in 3.0.x
| * Mark form_submit JS test as ported in README and inside the test itselfAlessio Biancalana2020-03-022-1/+3
| |
| * Port form_submit.js test to ElixirAlessio Biancalana2020-03-021-0/+29
|/
* Handle race condition during concurrent db creationNick Vatamaniuc2020-02-282-0/+59
| | | | | | | | | | | | Previously concurrent db creation requests could get past db_exists/1 and try to create the shard document. The first one would succeed but the others would fail with a `500 {"error":"error", "reason":"conflict"}` error instead of `412`. Handle the race condition by checking if db exists after getting a conflict error and return a 412 response. Fixes: #2613
* Fix mem3_sync_event_listener testPaul J. Davis2020-02-281-1/+13
| | | | | | | | | | | | | There's a race between the meck:wait call in setup and killing the config_event process. Its possible that we could kill and restart the config_event process after meck:wait returns, but before gen_event:add_sup_handler is called. More likely, we could end up killing the config_event gen_event process before its fully handled the add_sup_handler message and linked the notifier pid. This avoids the race by waiting for config_event to return that it has processed the add_sup_handler message instead of relying on meck:wait for the subscription call.
* Bump to jiffy 1.0.4Paul J. Davis2020-02-271-1/+1
|
* fix: show single node on setup status with single_node=true3.0.0-RC33.0.0Jan Lehnardt2020-02-201-15/+21
|
* Revert "fix: single node state (#2574)"Jan Lehnardt2020-02-201-7/+5
| | | | This reverts commit afef1b2f5823f6269ecb4a845e286e9d0c0f4f35.
* bump docs rev (#2579)Joan Touzet2020-02-191-1/+1
|
* feat(breaking): make _all_dbs admin-only by default (#2576)Jan Lehnardt2020-02-192-2/+2
|
* fix: single node state (#2574)Jan Lehnardt2020-02-191-5/+7
|
* bump docs rev (#2563)3.0.0-RC2Joan Touzet2020-02-181-1/+1
|
* Handle possibly missing local _users db in mem3_sync:local_dbs()Nick Vatamaniuc2020-02-172-3/+20
| | | | | | After commit 27bb45043435828915bdcbdc130b685e5533bbd8 local _users is only created the first time it is used. So in most case it's expected to not exist. Update local_dbs to return it only if it is actually created.
* Bump SM to 60 on Centos 8 (#2548)Joan Touzet2020-02-131-1/+1
|
* Fix Windows build (#2534)3.0.0-RC1Joan Touzet2020-02-0811-54/+80
| | | | | | | | | | | | | | | | | | | | * Allows `configure.ps1` to correctly pull and build `rebar` on Windows * Removes the static declarations in `rebar.config.script` on specific, pre-determined paths to various includes/libraries necessary for NIFs and external binaries (expectation is these are passed in env vars INCLUDE, LIB and LIBPATH) * fixes the SM60 `couchjs` build by telling `windows.h` not to redefine min and max as macros through a `#define` * fixes the `make eunit` target on Windows * Adds the missing `EXE_LINK_CXX_TEMPLATE` that our rebar doesn't have, but `enc` has today, which is also causing a failed `couchjs` (C++) build on Windows * Causes `make python-black` to correctly cause failure in `make check` if it finds problems * fixes Mango tests on Python 3.8 by bumping the hypothesis dependency * fixes one Elixir test on Windows (incorrect calculation of `now(:ms)` due to Erlang clock precision difference) * a little bit of python black cleanup (mango tests)
* bump docs repo (#2529)Joan Touzet2020-02-071-1/+1
|
* Fix race condition in couch_replicator_clustering eunit setupNick Vatamaniuc2020-02-071-1/+15
| | | | | | | | | Observed on FreeBSD Jenkins test runner: ``` function couch_replicator_clustering:setup/0 (src/couch_replicator_clustering.erl, line 257) **error:{badmatch,{error,{already_started,<0.3165.0>}}} in module 'couch_replicator_clustering' ```
* Force OOM errorPaul J. Davis2020-02-071-6/+18
| | | | | | This changes the couchjs OOM test so that it will trigger more reliably on SpiderMonkey 60. It appears that newer SpiderMonkeys are better at conserving memory usage which takes this test longer to trigger.
* Fix test failure in view_errors.jsPaul J. Davis2020-02-071-2/+7
|
* Update to Jiffy 1.0.3Paul J. Davis2020-02-071-1/+1
| | | | This fixes builds on Windows and CentOS.
* Simplify couch_auth_cacheNick Vatamaniuc2020-02-065-384/+45
| | | | | | | | | | Since the backend port is closed by default, remove the cache service since it was shown to cause monitor leaks, and it just consumes resources running in the background when almost nobody uses it. The few utility scripts that might use the backend port can just get the auth docs directly from the db. Issue: https://github.com/apache/couchdb/issues/2493
* Makefile parity; remove [un]install tgts (#2512)Joan Touzet2020-02-062-108/+70
|
* Add a warning about Erlang VM versions where high priority flag won't workNick Vatamaniuc2020-02-051-2/+2
|
* Merge pull request #2521 from apache/fix-2520Robert Newson2020-02-052-1/+2
|\ | | | | Fix highlight_post_tag parsing from json request body
| * log thingRobert Newson2020-02-051-0/+1
| |
| * Fix highlight_post_tag parsing from json request bodyfix-2520Robert Newson2020-02-051-1/+1
|/ | | | Fixes #2520
* Fix dev/run --with-admin-party-please (#2516)Robert Newson2020-02-041-0/+1
|
* Return mango warnings as a delimited stringWill Holley2020-02-033-6/+6
| | | | | | | The CouchDB API defines the warning field returned by _find to be a string (and this is what Fauxton expects). 5d55e289 was missing a string conversion and returned the warning(s) as an array. This restores the intended behaviour.