Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | feat: add "access-ready" to feature flags in welcome messagefeat/prepare-access | Jan Lehnardt | 2020-01-03 | 1 | -0/+3 |
| | |||||
* | feat: allow special document member _access | Jan Lehnardt | 2020-01-03 | 2 | -3/+7 |
| | | | | | | | | | | | | | | | | | This is in preparation for per-document access control which is going to use this field. We are adding this in 3.0 because per- document access control will not be ready for 3.0, but added in 3.1 or later. This commit allows a future version of CouchDB with per-document access control to replicate with CouchDB 3.0, to make upgrades and interoperability easy. The per-documnet access control code is not going to store the _access property in the document body like this patch does, but is going to store it in an extra field inside of #doc and assert access control for a document without having to load the entire document body. | ||||
* | test: add failing test for _access preparation commit | Jan Lehnardt | 2020-01-03 | 1 | -1/+11 |
| | |||||
* | Fix double "make clean" | Joan Touzet | 2019-12-31 | 1 | -1/+3 |
| | | | | | | | This is a recurrence of #1450 caused by ec416c3 (SpiderMonkey 60 PR), where a case clause in rebar.config.script lacks a match when configure has not yet been run yet. | ||||
* | Speedup eunit: smoosh_server | Paul J. Davis | 2019-12-25 | 1 | -18/+27 |
| | |||||
* | Speedup eunit: mem3_sync_event_listener | Paul J. Davis | 2019-12-25 | 1 | -18/+35 |
| | |||||
* | Speedup eunit: mem3_shards | Paul J. Davis | 2019-12-25 | 1 | -18/+36 |
| | |||||
* | Speedup eunit: mem3_rep | Paul J. Davis | 2019-12-25 | 1 | -1/+1 |
| | |||||
* | Speedup eunit: mango_idx_test | Paul J. Davis | 2019-12-25 | 1 | -17/+30 |
| | |||||
* | Speedup eunit: fabric_doc_update | Paul J. Davis | 2019-12-25 | 1 | -19/+34 |
| | |||||
* | Speedup eunit: fabric_doc_purge | Paul J. Davis | 2019-12-25 | 1 | -2/+1 |
| | |||||
* | Speedup eunit: fabric_doc_open | Paul J. Davis | 2019-12-25 | 1 | -23/+38 |
| | |||||
* | Speedup eunit: fabric_db_create | Paul J. Davis | 2019-12-25 | 1 | -14/+25 |
| | |||||
* | Speedup eunit: ddoc_cache_no_cache_test | Paul J. Davis | 2019-12-25 | 1 | -3/+13 |
| | |||||
* | Speedup eunit: couch_replicator_scheduler | Paul J. Davis | 2019-12-25 | 1 | -38/+55 |
| | |||||
* | Speedup eunit: couch_replicator_clustering | Paul J. Davis | 2019-12-25 | 1 | -11/+28 |
| | |||||
* | Speedup eunit: couch_replicator_auth_session | Paul J. Davis | 2019-12-25 | 1 | -20/+37 |
| | |||||
* | Speedup eunit: couch_replicator | Paul J. Davis | 2019-12-25 | 1 | -4/+6 |
| | |||||
* | Speedup eunit: couch_mrview_purge_docs_fabric_tests | Paul J. Davis | 2019-12-25 | 1 | -4/+14 |
| | |||||
* | Speedup eunit: couch_mrview_compactor | Paul J. Davis | 2019-12-25 | 1 | -19/+22 |
| | |||||
* | Speedup eunit: couch_index_compaction_tests | Paul J. Davis | 2019-12-25 | 1 | -4/+15 |
| | |||||
* | Speedup eunit: couch_index | Paul J. Davis | 2019-12-25 | 1 | -6/+15 |
| | |||||
* | Speedup eunit: couchdb_mrview_tests | Paul J. Davis | 2019-12-25 | 1 | -11/+20 |
| | |||||
* | Speedup eunit: couch_uuids_tests | Paul J. Davis | 2019-12-25 | 1 | -98/+68 |
| | | | | | Avoid `test_util:start/3` as it wastes time mocking modules for each test. | ||||
* | Speedup eunit: couch_flags_config_tests | Paul J. Davis | 2019-12-25 | 1 | -4/+7 |
| | | | | | This undoes the test per combination approach to avoid the time spent printing each name to the console. | ||||
* | Speedup eunit: couch_file_tests | Paul J. Davis | 2019-12-25 | 1 | -74/+92 |
| | |||||
* | Speedup eunit: couch_server | Paul J. Davis | 2019-12-25 | 1 | -34/+29 |
| | |||||
* | Speedup eunit: couch_httpd | Paul J. Davis | 2019-12-25 | 1 | -6/+9 |
| | |||||
* | Speedup eunit: couch_db | Paul J. Davis | 2019-12-25 | 1 | -18/+52 |
| | |||||
* | Speedup eunit: chttpd_xframe_test | Paul J. Davis | 2019-12-25 | 1 | -8/+21 |
| | |||||
* | Speedup eunit: chttpd_prefer_header_test | Paul J. Davis | 2019-12-25 | 1 | -16/+31 |
| | |||||
* | Speedup eunit: chttpd_view | Paul J. Davis | 2019-12-25 | 1 | -9/+26 |
| | |||||
* | Speedup eunit: couch_replicator_compact_tests | Paul J. Davis | 2019-12-25 | 1 | -18/+21 |
| | | | | | Increase the doc write batch count in the background writer process to speed up the should_populate_and_compact test. | ||||
* | Speedup eunit: chttpd_endpoints_tests | Paul J. Davis | 2019-12-25 | 1 | -136/+55 |
| | | | | | There's no need to call through mocked functions when we can just assert its the correct function returned. | ||||
* | Speedup eunit: couch_replicator_doc_processor | Paul J. Davis | 2019-12-25 | 1 | -23/+45 |
| | | | | Another example of moving mocks around. | ||||
* | Speedup eunit: chttpd_db_bulk_get_test | Paul J. Davis | 2019-12-25 | 1 | -30/+34 |
| | | | | | Another example of moving mocks to a setup and using `meck:reset/1` in the foreach fixture. | ||||
* | Speedup eunit: chttpd_db_bulk_get_multipart_test | Paul J. Davis | 2019-12-25 | 1 | -24/+43 |
| | | | | | Another module where loading the meck expect values once per suite saves us 20s or so. | ||||
* | Speedup eunit: couchdb_file_compression_tests | Paul J. Davis | 2019-12-25 | 1 | -67/+57 |
| | | | | | This just populates a single test db and then copies the raw file to a new database name for each individual test. | ||||
* | Speedup eunit: fabric_doc_open_revs | Paul J. Davis | 2019-12-25 | 1 | -36/+54 |
| | | | | | Moving the meck configuration into setup and resetting in foreach makes tests quite a bit faster. | ||||
* | Speedup eunit: couch_multidb_changes | Paul J. Davis | 2019-12-25 | 1 | -56/+75 |
| | | | | | This moves all of the mock work to a single setup function and then just resets all of the mocked modules before each test run. | ||||
* | Speedup eunit: couch_peruser_test | Paul J. Davis | 2019-12-25 | 1 | -3/+3 |
| | | | | | The quiet and start periods of a second were costing quite a bit of time. Setting them to zero shaves off about 26 seconds. | ||||
* | Cleanup eunit: couch_peruser_test | Paul J. Davis | 2019-12-25 | 1 | -254/+273 |
| | | | | | The body of these tests were running during the setup phase which is not correct. Wrapping each body with `?_test()` macros fixes the issue. | ||||
* | Disable JavaScript tests ported to Elixir | Paul J. Davis | 2019-12-25 | 24 | -69/+97 |
| | |||||
* | Speedup JavaScript tests | Paul J. Davis | 2019-12-25 | 28 | -93/+92 |
| | | | | | | We sleep for a bit more than a second for each test. Rather than using return to skip a test we just mark the test as skipped so we don't have to waste time. This saves about 25s on the test suite. | ||||
* | Silence already started message for crypto | Paul J. Davis | 2019-12-25 | 1 | -0/+2 |
| | |||||
* | Switch replicator "info" error message to be an object | Nick Vatamaniuc | 2019-12-23 | 3 | -6/+10 |
| | | | | Instead of a string, null or object, it should now be only a null or an object. | ||||
* | Merge pull request #2345 from apache/sm60-davisp | Peng Hui Jiang | 2019-12-21 | 33 | -56/+9014 |
|\ | | | | | port to spidermonkey 60 | ||||
| * | Add Javascript to support Spidermonkey 60sm60-davisp | jiangph | 2019-12-20 | 16 | -41/+6925 |
| | | | | | | | | Co-Authored-By: Paul J. Davis <paul.joseph.davis@gmail.com> | ||||
| * | Allow configuring the use of SpiderMonkey 60 | Paul J. Davis | 2019-12-20 | 1 | -5/+31 |
| | | |||||
| * | Import SpiderMonkey 60 based CouchJS sources | jiangph | 2019-12-20 | 8 | -0/+1997 |
| | | | | | | | | Co-Authored-By: Jan Lehnardt <jan@apache.org> |