Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | python black cleanup3.x-sm68 | Joan Touzet | 2020-04-27 | 1 | -7/+3 |
| | |||||
* | Fix new JS test case | Joan Touzet | 2020-04-27 | 1 | -2/+3 |
| | |||||
* | Replace broken u-escape sequences | Paul J. Davis | 2020-04-27 | 1 | -2/+104 |
| | |||||
* | Incorporate changes from #2786 | Joan Touzet | 2020-04-27 | 9 | -596/+351 |
| | |||||
* | First pass at SpiderMonkey 68 support | Joan Touzet | 2020-04-27 | 12 | -37/+2107 |
| | |||||
* | Merge pull request #2817 from apache/mango-bookmark-3.x | Robert Newson | 2020-04-23 | 1 | -1/+1 |
|\ | | | | | safer binary_to_term in mango_json_bookmark | ||||
| * | safer binary_to_term in mango_json_bookmarkmango-bookmark-3.x | Robert Newson | 2020-04-23 | 1 | -1/+1 |
|/ | |||||
* | fix: use correct logging module name, fixes #2797 (#2798) (#2811) | Joan Touzet | 2020-04-22 | 1 | -1/+1 |
| | | | | | Co-authored-by: Joan Touzet <wohali@users.noreply.github.com> Co-authored-by: Jan Lehnardt <jan@apache.org> | ||||
* | fix operator issue with empty arrays (#2805) (#2808) | Tony Sun | 2020-04-22 | 2 | -3/+25 |
| | | | | | | | | | | | | | Previously, in https://github.com/apache/couchdb/pull/1783, the logic was wrong in relation to how certain operators interacted with empty arrays. We modify this logic to make it such that: {"foo":"bar", "bar":{"$in":[]}} and {"foo":"bar", "bar":{"$all":[]}} should return 0 results. Co-authored-by: Joan Touzet <wohali@users.noreply.github.com> | ||||
* | Replace VM_ARGS with ARGS_FILE which is set as it is in couchdb script ↵ | Joan Touzet | 2020-04-22 | 1 | -5/+16 |
| | | | | | | /etc/vm.args; also parses name from config. (#2738) (#2809) Co-authored-by: Joan Touzet <wohali@users.noreply.github.com> Co-authored-by: Simon Klassen <6997477+sklassen@users.noreply.github.com> | ||||
* | Bump fauxton to v1.2.3 (#2515) (#2803) | Joan Touzet | 2020-04-22 | 1 | -1/+1 |
| | | | | | Co-authored-by: Joan Touzet <wohali@users.noreply.github.com> Co-authored-by: Will Holley <willholley@apache.org> | ||||
* | Update compaction progress during docid phases | Paul J. Davis | 2020-04-14 | 2 | -29/+99 |
| | | | | | | | | | | | Previously the sort and copy phases when handling document IDs was not measured in _active_tasks. This adds size tracking to allow operators a way to measure progress during those phases. I'd like to thank Vitaly for the example in #1006 that showed a clean way for tracking the size info in `couch_emsort`. Co-Authored-By: Vitaly Goot <vitaly.goot@gmail.com> | ||||
* | Optimize compactor to use multi-IO API | Paul J. Davis | 2020-04-14 | 1 | -21/+33 |
| | | | | | | | | This updates couch_db_updater to use the new multi-IO API functions (append_terms/pread_terms) in couch_file. This optimization benefits us by no longer requiring the `couch_emsort:merge/1` step to copy `#full_doc_info{}` records multiple times while also not being penalized by signficantly increasing the number of calls through couch_file APIs. | ||||
* | Optimize btree node writes | Paul J. Davis | 2020-04-14 | 1 | -13/+15 |
| | | | | | This uses the new couch_file:append_terms/2 function to write all chunks in a single write call. | ||||
* | Add multi-append functions to couch_file | Paul J. Davis | 2020-04-14 | 1 | -27/+135 |
| | | | | | | | These functions allow the caller to append multiple terms or binaries to a file and receive the file position and size for each individual element. This is to optimize throughput in situations where we want to write multiple pieces of independant data. | ||||
* | Implement compactor test suite | Paul J. Davis | 2020-04-14 | 3 | -0/+464 |
| | |||||
* | Simplify compaction state management | Paul J. Davis | 2020-04-14 | 1 | -42/+123 |
| | | | | | | | This change adds a new `#comp_st{}` record that is used to pass compaction state through the various compaction steps. There are zero changes to the existing compaction logic. This merely sets the stage for adding our docid copy optimization. | ||||
* | Port reduce_false.js and reduce_builtin.js to Elixir (#2541) | Leonardo Pires | 2020-04-14 | 3 | -2/+334 |
| | | | | Port reduce_false.js and reduce_builtin.js to Elixir | ||||
* | Port recreate docs test | Juanjo Rodriguez | 2020-04-14 | 3 | -1/+167 |
| | |||||
* | Improve test initialization | Juanjo Rodriguez | 2020-04-07 | 1 | -7/+8 |
| | |||||
* | Port view_offset.js to elixir test suite | Alessio Biancalana | 2020-04-04 | 4 | -2/+128 |
| | |||||
* | Merge pull request #2645 from danielbarbarito/users-db-security-editable-ini-fix | Robert Newson | 2020-04-02 | 1 | -3/+3 |
| | | | Move "users_db_security_editable" to the correct location in the ini file | ||||
* | Merge pull request #2654 from apache/fix-filter-changes-feed-rewinds | Robert Newson | 2020-04-02 | 1 | -1/+2 |
| | | | Send correct seq values for filtered changes | ||||
* | Merge pull request #2657 from apache/cookie-domain-delete | Robert Newson | 2020-04-02 | 2 | -2/+14 |
| | | | Set cookie domain when DELETE'ing | ||||
* | Merge pull request #2690 from apache/fix-create-db-options | Russell Branca | 2020-04-02 | 7 | -21/+280 |
| | | | Fix create db options on secondary shard creation | ||||
* | Merge pull request #2742 from apache/backport-jwt-3.x | Robert Newson | 2020-04-02 | 19 | -1/+1385 |
|\ | | | | | Backport jwt 3.x | ||||
| * | Merge pull request #2732 from apache/jwt-controls-2 | Robert Newson | 2020-04-02 | 5 | -41/+72 |
| | | | | | | Enhance JWT controls (again) | ||||
| * | Merge pull request #2727 from apache/jwt-kty-check | Robert Newson | 2020-04-02 | 4 | -33/+134 |
| | | | | | | Only trust the servers declaration of JWT key type | ||||
| * | Merge pull request #2714 from atrauzzi/jwt-couchdb-specific-roles-claim | Robert Newson | 2020-04-02 | 2 | -2/+3 |
| | | | | | | | | Make the JWT roles claim more CouchDB specific | ||||
| * | Merge pull request #2687 from apache/jwt-enhancements | Robert Newson | 2020-04-02 | 8 | -16/+300 |
| | | | | | | Jwt enhancements | ||||
| * | Feature - Add JWT support (#2648) | Alexander Trauzzi | 2020-04-02 | 5 | -1/+80 |
| | | | | | | | | | | | | Add JWT Authentication Handler Co-authored-by: Robert Newson <rnewson@apache.org> Co-authored-by: Joan Touzet <wohali@users.noreply.github.com> | ||||
| * | Merge pull request #2668 from apache/jwtf-unknown-checks | Robert Newson | 2020-04-02 | 2 | -0/+23 |
| | | | | | | Throw if an unknown check is passed to jwtf:decode | ||||
| * | Merge pull request #2661 from apache/jwtf-enhance-alg-check | Robert Newson | 2020-04-02 | 2 | -4/+15 |
| | | | | | | Enhance alg check | ||||
| * | Merge pull request #2658 from apache/import-jwtf | Robert Newson | 2020-04-02 | 9 | -0/+854 |
|/ | | | Import jwtf | ||||
* | fix: require_valid_user exception logic | Jan Lehnardt | 2020-04-01 | 2 | -7/+141 |
| | | | | Co-authored-by: Robert Newson <rnewson@apache.org> | ||||
* | Do not copy the #server.lru field to async openers | Paul J. Davis | 2020-03-31 | 1 | -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 suite | Alessio Biancalana | 2020-03-25 | 3 | -1/+192 |
| | |||||
* | Port purge.js into elixir test suite | Juanjo Rodriguez | 2020-03-25 | 3 | -2/+170 |
| | |||||
* | Ensure clean PATH for Windows couchdb.cmd (#2710) | Joan Touzet | 2020-03-23 | 1 | -1/+1 |
| | |||||
* | Fix ported to elixir tag | Juanjo Rodriguez | 2020-03-22 | 5 | -4/+5 |
| | |||||
* | Port http, method_override and jsonp tests into elixir test suite (#2646) | Juanjo Rodriguez | 2020-03-21 | 9 | -8/+267 |
| | |||||
* | Update smoosh defaults, default.ini (#2679) | Joan Touzet | 2020-03-20 | 2 | -10/+28 |
| | |||||
* | Port design_docs tests from js to elixir (#2641) | Juanjo Rodriguez | 2020-03-20 | 3 | -1/+482 |
| | |||||
* | 3.x merge - Port elixir proxyauth tests from js to elixir (#2660) | Juanjo Rodriguez | 2020-03-17 | 8 | -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 _design_docs tests, design_options and design_paths from js to elixir ↵ | Juanjo Rodriguez | 2020-03-04 | 8 | -111/+431 |
| | | | | | | (#2596) (#2628) * 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 Lehnardt | 2020-03-02 | 1 | -0/+37 |
| | |||||
* | Merge pull request #2615 from dottorblaster/port_form_submit_test_to_elixir_3x | Alessio Biancalana | 2020-03-02 | 3 | -1/+32 |
|\ | | | | | Port form submit test to elixir in 3.x branch | ||||
| * | Mark form_submit JS test as ported in README and inside the test itself | Alessio Biancalana | 2020-02-28 | 2 | -1/+3 |
| | | |||||
| * | Port form_submit.js test to Elixir | Alessio Biancalana | 2020-02-28 | 1 | -0/+29 |
|/ | |||||
* | Handle race condition during concurrent db creation | Nick Vatamaniuc | 2020-02-28 | 2 | -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 |