summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Improve mango markdownimprove-mango-readmesJay Doane2020-03-033-90/+274
| | | | | | This primarily wraps long lines and removes trailing whitespace in the README.md and TODO.md files. In `test/README.md`, it updates the default admin username and password used by `dev/run`.
* Add coverage to Mango eunit testsJay Doane2020-03-031-0/+2
|
* Clean up mango test user docsJay Doane2020-03-032-0/+8
| | | | | | | | Tests based on class `UsersDbTests` don't clean up the user docs it puts in the `_users` db. This uses the classmethod `tearDownClass` to delete those docs. (cherry picked from commit 3d559eb14fd709662d3eb5cda8afe9a45687c3b1)
* Clean up mango test dbsJay Doane2020-03-031-0/+4
| | | | | | | | | After mango python tests are run, a bunch of dbs are typically left around, e.g. `mango_test_048b290b574d4039981893097ab71912` This deletes those test dbs after they are no longer in use. (cherry picked from commit e05e3cdc8d16d88e7c7af8fbcc4b671b81ac2693)
* Port _design_docs tests, design_options and design_paths from js to elixir ↵Juanjo Rodriguez2020-03-028-111/+431
| | | | | | | | | (#2596) * Port _design_docs tests from js to elixir * Port design_options and design_paths tests from js to elixir
* feat: add mac ci (#2622)Jan Lehnardt2020-03-021-0/+37
|
* Merge pull request #2619 from apache/doc/readme-linksAlessio Biancalana2020-02-291-1/+3
|\ | | | | doc: link README-DEV in README
| * doc: link README-DEV in READMEJan Lehnardt2020-02-291-1/+3
|/
* Merge pull request #2608 from dottorblaster/port_form_submit_test_to_elixirAlessio Biancalana2020-02-283-1/+32
|\ | | | | Port form_submit.js test to Elixir
| * Mark form_submit JS test as ported in README and inside the test itselfAlessio Biancalana2020-02-272-1/+3
| |
| * Port form_submit.js test to ElixirAlessio Biancalana2020-02-271-0/+29
|/
* Fix mem3_sync_event_listener testPaul J. Davis2020-02-271-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
|
* Merge pull request #2518 from ↵Alessio Biancalana2020-02-273-4/+4
|\ | | | | | | | | dottorblaster/upgrade-credo-to-1.2.0-disable-legacy-checks Upgrade credo to 1.2.0 disable legacy checks
| * Disable legacy Credo checks incompatible with Elixir >= 1.9Alessio Biancalana2020-02-271-2/+2
| |
| * Upgrade Credo to 1.2.2Alessio Biancalana2020-02-272-2/+2
|/
* Merge pull request #2586 from jjrodrig/port-elixir-changesJuanjo Rodriguez2020-02-223-19/+973
|\ | | | | Port changes.js test suite into elixir
| * Port changes.js test suite into elixirJuanjo Rodriguez2020-02-203-19/+973
|/
* fix: show single node on setup status with single_node=trueJan Lehnardt2020-02-191-15/+21
|
* Revert "fix: single node state (#2575)"Jan Lehnardt2020-02-191-7/+5
| | | | This reverts commit 91ecf6777cc5fff93483b8e92c8daadd7ff33fdc.
* feat(breaking): make _all_dbs admin-only by default (#2577)Jan Lehnardt2020-02-192-2/+2
|
* fix: single node state (#2575)Jan Lehnardt2020-02-191-5/+7
|
* Reset if we don't get a view headerRobert Newson2020-02-171-0/+6
| | | | | | | | I found a .view file with a db_header in production (cause unknown but I'm hoping it's manual intervention). This patch means we'll reset the index if we find something other than a view header when looking for one.
* Expose `couch_util:decode/2` to support jiffy optionsJay Doane2020-02-162-2/+12
| | | | | | | | | It can be desirable in some cases for decoded JSON to e.g. return maps instead of the default data structure, which is not currently possible. This exposes a new function `couch_util:decode/2`, the second parameter being a list of options passed to `jiffy:decode/2`.
* Bump SM to 60 on Centos 8 (#2544)Joan Touzet2020-02-131-1/+1
|
* Port reduce_false.js and reduce_builtin.js to Elixir (#2541)Leonardo Pires2020-02-133-2/+334
| | | | Port reduce_false.js and reduce_builtin.js to Elixir
* 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.
* Add recon for user convenience (#2511)Joan Touzet2020-02-015-3/+45
|
* Enable per-view-shard accessJoan Touzet2020-02-011-2/+8
|
* Fix attachment reading from _node/_local shardsNick Vatamaniuc2020-02-012-0/+8
| | | | It just needed a few clauses in send and recv_loop it turns out.
* Fix node-specific shard access via HTTPJoan Touzet2020-02-011-1/+1
|
* Jiffy exceptions are errors nowPaul J. Davis2020-01-311-1/+1
| | | | | Jiffy changed its exception type in 1.0 to match the standard Erlang style for exceptions that cross an API boundary.
* Update dependencies for 3.0Paul J. Davis2020-01-311-2/+2
| | | | | * b64url 1.0.1 -> 1.0.2 * jiffy CouchDB-0.14.11-2 -> CouchDB-1.0.1-1
* Stop propagating RC tags into dist archive (#2506)Joan Touzet2020-01-312-39/+43
|
* python-black style cleanup (#2505)Joan Touzet2020-01-312-3/+3
|
* fix: re-allow spaces in startup paths (#2504)Jan Lehnardt2020-01-312-10/+10
|
* Setup wizard: do not create _global_changes (#2497)Joan Touzet2020-01-291-1/+1
|