-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[wip] feat: add mango-based VDU endpoints #1898
base: main
Are you sure you want to change the base?
Commits on May 6, 2017
-
Configuration menu - View commit details
-
Copy full SHA for 9a671b6 - Browse repository at this point
Copy the full SHA 9a671b6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2c3f968 - Browse repository at this point
Copy the full SHA 2c3f968View commit details -
Configuration menu - View commit details
-
Copy full SHA for f2e1085 - Browse repository at this point
Copy the full SHA f2e1085View commit details -
* remove dependency on config * make checks optional * support HS256
Configuration menu - View commit details
-
Copy full SHA for 3888d18 - Browse repository at this point
Copy the full SHA 3888d18View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5f93661 - Browse repository at this point
Copy the full SHA 5f93661View commit details
Commits on May 7, 2017
-
Configuration menu - View commit details
-
Copy full SHA for 02ecf5b - Browse repository at this point
Copy the full SHA 02ecf5bView commit details
Commits on May 8, 2017
-
Configuration menu - View commit details
-
Copy full SHA for 5b9dad7 - Browse repository at this point
Copy the full SHA 5b9dad7View commit details -
Configuration menu - View commit details
-
Copy full SHA for d7bd8d1 - Browse repository at this point
Copy the full SHA d7bd8d1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8077258 - Browse repository at this point
Copy the full SHA 8077258View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3cb8b7d - Browse repository at this point
Copy the full SHA 3cb8b7dView commit details
Commits on May 9, 2017
-
Configuration menu - View commit details
-
Copy full SHA for e60fa50 - Browse repository at this point
Copy the full SHA e60fa50View commit details -
Configuration menu - View commit details
-
Copy full SHA for a18a2e5 - Browse repository at this point
Copy the full SHA a18a2e5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 69e1ce2 - Browse repository at this point
Copy the full SHA 69e1ce2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 25bfdc3 - Browse repository at this point
Copy the full SHA 25bfdc3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 31999f4 - Browse repository at this point
Copy the full SHA 31999f4View commit details -
Configuration menu - View commit details
-
Copy full SHA for acbaa37 - Browse repository at this point
Copy the full SHA acbaa37View commit details
Commits on May 10, 2017
-
Configuration menu - View commit details
-
Copy full SHA for bf7a2ed - Browse repository at this point
Copy the full SHA bf7a2edView commit details -
Configuration menu - View commit details
-
Copy full SHA for 61f47b3 - Browse repository at this point
Copy the full SHA 61f47b3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 373a367 - Browse repository at this point
Copy the full SHA 373a367View commit details -
Configuration menu - View commit details
-
Copy full SHA for ae0e0f4 - Browse repository at this point
Copy the full SHA ae0e0f4View commit details -
Configuration menu - View commit details
-
Copy full SHA for e0d61d0 - Browse repository at this point
Copy the full SHA e0d61d0View commit details -
Configuration menu - View commit details
-
Copy full SHA for e180555 - Browse repository at this point
Copy the full SHA e180555View commit details
Commits on May 11, 2017
-
Configuration menu - View commit details
-
Copy full SHA for e80c3d1 - Browse repository at this point
Copy the full SHA e80c3d1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6cc182d - Browse repository at this point
Copy the full SHA 6cc182dView commit details -
Configuration menu - View commit details
-
Copy full SHA for e083b22 - Browse repository at this point
Copy the full SHA e083b22View commit details
Commits on May 12, 2017
-
Configuration menu - View commit details
-
Copy full SHA for 9d60fa2 - Browse repository at this point
Copy the full SHA 9d60fa2View commit details -
Configuration menu - View commit details
-
Copy full SHA for ceeb019 - Browse repository at this point
Copy the full SHA ceeb019View commit details
Commits on May 24, 2017
-
Improve pubkey not found error handling (apache#4)
* Improve pubkey not found error handling When the public key identified by the {Alg, KID} tuple is not found on the IAM keystore server, it's possible to see errors like: ([email protected])140> epep:jwt_decode(SampleJWT). ** exception error: no function clause matching public_key:do_verify(<<"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImtpZCI6IjIwMTcwNTIwLTAwOjAwOjAwIn0.eyJpc3MiOiJodHRwOi8vbG9jYWxob3N0OjEyMzIx"...>>, sha256, <<229,188,162,247,201,233,118,32,115,206,156, 169,17,221,78,157,161,147,46,179,42,219,66, 15,139,91,...>>, {error,not_found}) (public_key.erl, line 782) in function jwtf:public_key_verify/4 (src/jwtf.erl, line 212) in call from jwtf:decode/3 (src/jwtf.erl, line 30) Modify key/1 and public_key_not_found_test/0 to account for keystore changing from returning an error tuple to throwing one.
Configuration menu - View commit details
-
Copy full SHA for 5b31b0d - Browse repository at this point
Copy the full SHA 5b31b0dView commit details
Commits on May 30, 2017
-
Configuration menu - View commit details
-
Copy full SHA for 80d4a64 - Browse repository at this point
Copy the full SHA 80d4a64View commit details -
Merge pull request apache#5 from jaydoane/improve-restart-strategy
Improve restart strategy
Configuration menu - View commit details
-
Copy full SHA for 094489f - Browse repository at this point
Copy the full SHA 094489fView commit details
Commits on Jun 8, 2017
-
Configuration menu - View commit details
-
Copy full SHA for b396a1d - Browse repository at this point
Copy the full SHA b396a1dView commit details -
Implement jwtf:encode/3 for encoding JSON Web Tokens. Test encode/decode round trip for each supported alg.
Configuration menu - View commit details
-
Copy full SHA for d9a718b - Browse repository at this point
Copy the full SHA d9a718bView commit details -
Merge pull request apache#6 from cloudant/implement-encode
Implement encode
Configuration menu - View commit details
-
Copy full SHA for 280376f - Browse repository at this point
Copy the full SHA 280376fView commit details
Commits on Jun 9, 2017
-
Configuration menu - View commit details
-
Copy full SHA for 382229e - Browse repository at this point
Copy the full SHA 382229eView commit details
Commits on Jun 15, 2017
-
Configuration menu - View commit details
-
Copy full SHA for 768732a - Browse repository at this point
Copy the full SHA 768732aView commit details -
Configuration menu - View commit details
-
Copy full SHA for a3b6661 - Browse repository at this point
Copy the full SHA a3b6661View commit details -
Configuration menu - View commit details
-
Copy full SHA for f9c1f33 - Browse repository at this point
Copy the full SHA f9c1f33View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8100be3 - Browse repository at this point
Copy the full SHA 8100be3View commit details
Commits on Jun 16, 2017
-
Configuration menu - View commit details
-
Copy full SHA for c6e58c4 - Browse repository at this point
Copy the full SHA c6e58c4View commit details
Commits on Jun 19, 2017
-
Configuration menu - View commit details
-
Copy full SHA for 53c254f - Browse repository at this point
Copy the full SHA 53c254fView commit details -
Configuration menu - View commit details
-
Copy full SHA for a01cb0f - Browse repository at this point
Copy the full SHA a01cb0fView commit details -
Merge pull request apache#3 from jaydoane/simplify-tests
Simplify tests
Configuration menu - View commit details
-
Copy full SHA for 845226c - Browse repository at this point
Copy the full SHA 845226cView commit details
Commits on Jun 21, 2017
-
Configuration menu - View commit details
-
Copy full SHA for bb1744e - Browse repository at this point
Copy the full SHA bb1744eView commit details
Commits on Aug 7, 2017
-
Configuration menu - View commit details
-
Copy full SHA for 3d6c294 - Browse repository at this point
Copy the full SHA 3d6c294View commit details
Commits on Aug 8, 2017
-
Merge pull request apache#10 from cloudant/move-key-cache
Move key cache to epep
Configuration menu - View commit details
-
Copy full SHA for d4f4aee - Browse repository at this point
Copy the full SHA d4f4aeeView commit details
Commits on Aug 11, 2017
-
Separate tests into dedicated module
Currently jwtf tests don't run in a continuous integration environment, presumably due to dependency rules. This splits the tests into their own module, but requires exposing a couple new functions in jwtf to support them. Some long lines were also broken into smaller lengths.
Configuration menu - View commit details
-
Copy full SHA for 8e937f2 - Browse repository at this point
Copy the full SHA 8e937f2View commit details
Commits on Aug 14, 2017
-
Merge pull request apache#11 from cloudant/separate-test-module
Separate tests into dedicated module
Configuration menu - View commit details
-
Copy full SHA for b4abcda - Browse repository at this point
Copy the full SHA b4abcdaView commit details
Commits on Feb 3, 2019
-
Configuration menu - View commit details
-
Copy full SHA for aecd237 - Browse repository at this point
Copy the full SHA aecd237View commit details
Commits on Feb 13, 2020
-
Port reduce_false.js and reduce_builtin.js to Elixir (apache#2541)
Port reduce_false.js and reduce_builtin.js to Elixir
Configuration menu - View commit details
-
Copy full SHA for 99f94e6 - Browse repository at this point
Copy the full SHA 99f94e6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8748310 - Browse repository at this point
Copy the full SHA 8748310View commit details
Commits on Feb 17, 2020
-
Expose
couch_util:decode/2
to support jiffy optionsIt 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`.
Configuration menu - View commit details
-
Copy full SHA for ca178f0 - Browse repository at this point
Copy the full SHA ca178f0View commit details -
Reset if we don't get a view header
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.
2Configuration menu - View commit details
-
Copy full SHA for 09ac720 - Browse repository at this point
Copy the full SHA 09ac720View commit details
Commits on Feb 19, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 91ecf67 - Browse repository at this point
Copy the full SHA 91ecf67View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1e37457 - Browse repository at this point
Copy the full SHA 1e37457View commit details -
Revert "fix: single node state (apache#2575)"
This reverts commit 91ecf67.
Configuration menu - View commit details
-
Copy full SHA for e0cff2f - Browse repository at this point
Copy the full SHA e0cff2fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 26f9366 - Browse repository at this point
Copy the full SHA 26f9366View commit details
Commits on Feb 20, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 2ef656e - Browse repository at this point
Copy the full SHA 2ef656eView commit details
Commits on Feb 22, 2020
-
Merge pull request apache#2586 from jjrodrig/port-elixir-changes
Port changes.js test suite into elixir
Configuration menu - View commit details
-
Copy full SHA for 93cf4d3 - Browse repository at this point
Copy the full SHA 93cf4d3View commit details
Commits on Feb 27, 2020
-
Configuration menu - View commit details
-
Copy full SHA for fb30ac5 - Browse repository at this point
Copy the full SHA fb30ac5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6a44b32 - Browse repository at this point
Copy the full SHA 6a44b32View commit details -
Merge pull request apache#2518 from dottorblaster/upgrade-credo-to-1.…
…2.0-disable-legacy-checks Upgrade credo to 1.2.0 disable legacy checks
Configuration menu - View commit details
-
Copy full SHA for 949e496 - Browse repository at this point
Copy the full SHA 949e496View commit details -
Configuration menu - View commit details
-
Copy full SHA for 65bc5b0 - Browse repository at this point
Copy the full SHA 65bc5b0View commit details -
Fix mem3_sync_event_listener test
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.
Configuration menu - View commit details
-
Copy full SHA for 7a33ca0 - Browse repository at this point
Copy the full SHA 7a33ca0View commit details -
Configuration menu - View commit details
-
Copy full SHA for d163648 - Browse repository at this point
Copy the full SHA d163648View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3f76c9f - Browse repository at this point
Copy the full SHA 3f76c9fView commit details
Commits on Feb 28, 2020
-
Merge pull request apache#2608 from dottorblaster/port_form_submit_te…
…st_to_elixir Port form_submit.js test to Elixir
Configuration menu - View commit details
-
Copy full SHA for 16ed4b7 - Browse repository at this point
Copy the full SHA 16ed4b7View commit details
Commits on Feb 29, 2020
-
Configuration menu - View commit details
-
Copy full SHA for c6b54d6 - Browse repository at this point
Copy the full SHA c6b54d6View commit details -
Merge pull request apache#2619 from apache/doc/readme-links
doc: link README-DEV in README
Configuration menu - View commit details
-
Copy full SHA for 0a4afde - Browse repository at this point
Copy the full SHA 0a4afdeView commit details
Commits on Mar 2, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 93d5263 - Browse repository at this point
Copy the full SHA 93d5263View commit details -
Port _design_docs tests, design_options and design_paths from js to e…
…lixir (apache#2596) * Port _design_docs tests from js to elixir * Port design_options and design_paths tests from js to elixir
Configuration menu - View commit details
-
Copy full SHA for 86ec2f3 - Browse repository at this point
Copy the full SHA 86ec2f3View commit details
Commits on Mar 4, 2020
-
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 e05e3cd)
Configuration menu - View commit details
-
Copy full SHA for ec3cf20 - Browse repository at this point
Copy the full SHA ec3cf20View commit details -
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 3d559eb)
Configuration menu - View commit details
-
Copy full SHA for deca868 - Browse repository at this point
Copy the full SHA deca868View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6ec8c71 - Browse repository at this point
Copy the full SHA 6ec8c71View commit details -
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`.
Configuration menu - View commit details
-
Copy full SHA for db3aa0f - Browse repository at this point
Copy the full SHA db3aa0fView commit details
Commits on Mar 9, 2020
-
1
Configuration menu - View commit details
-
Copy full SHA for 528e02f - Browse repository at this point
Copy the full SHA 528e02fView commit details -
Merge pull request apache#2645 from danielbarbarito/users-db-security…
…-editable-ini-fix Move "users_db_security_editable" to the correct location in the ini file
Configuration menu - View commit details
-
Copy full SHA for d0c30f2 - Browse repository at this point
Copy the full SHA d0c30f2View commit details
Commits on Mar 10, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 640e39c - Browse repository at this point
Copy the full SHA 640e39cView commit details
Commits on Mar 11, 2020
-
Configuration menu - View commit details
-
Copy full SHA for b00814e - Browse repository at this point
Copy the full SHA b00814eView commit details -
Configuration menu - View commit details
-
Copy full SHA for c9a9bf0 - Browse repository at this point
Copy the full SHA c9a9bf0View commit details -
Configuration menu - View commit details
-
Copy full SHA for ddeb2d1 - Browse repository at this point
Copy the full SHA ddeb2d1View commit details -
Handle malformed tokens with jiffy 1.x
Recent changes in how `jiffy:decode/1` handles malformed JSON has caused `jwtf:decode/3` to fail to properly return a bad request 400 response for some malformed tokens. First, this changes the name of the function to `decode_b64url_json/1`, indicating that it decodes something that has been first been JSON encoded, and then base64url encoded. More substantially, it wraps both the base64url and jiffy decoding in a try/catch block, since both can throw errors, while the former can also return an error tuple. Tests have been added to ensure all code paths are covered.
Configuration menu - View commit details
-
Copy full SHA for 1794e14 - Browse repository at this point
Copy the full SHA 1794e14View commit details -
Merge pull request apache#2652 from dottorblaster/upgrade-credo-1.3.0
Upgrade credo to 1.3.0
Configuration menu - View commit details
-
Copy full SHA for 8c7e825 - Browse repository at this point
Copy the full SHA 8c7e825View commit details -
Merge pull request apache#12 from cloudant/handle-malformed-token
Handle malformed tokens with jiffy 1.x
Configuration menu - View commit details
-
Copy full SHA for 588eade - Browse repository at this point
Copy the full SHA 588eadeView commit details -
Send correct seq values for filtered changes
If a filtered changes feed hit a rewind we would send a bare `integer()` value for the Seq. If this was used again during a rewind it causes a competely rewind to zero due to not having the `node()` and UUID `binary()` values to calculate a new start seq.
Configuration menu - View commit details
-
Copy full SHA for 27abf0e - Browse repository at this point
Copy the full SHA 27abf0eView commit details -
Merge pull request apache#2654 from apache/fix-filter-changes-feed-re…
…winds Send correct seq values for filtered changes
Configuration menu - View commit details
-
Copy full SHA for f2ddedd - Browse repository at this point
Copy the full SHA f2ddeddView commit details
Commits on Mar 12, 2020
-
Configuration menu - View commit details
-
Copy full SHA for af2eb04 - Browse repository at this point
Copy the full SHA af2eb04View commit details -
Merge pull request apache#2657 from apache/cookie-domain-delete
Set cookie domain when DELETE'ing
Configuration menu - View commit details
-
Copy full SHA for 99101dc - Browse repository at this point
Copy the full SHA 99101dcView commit details -
Configuration menu - View commit details
-
Copy full SHA for 087f727 - Browse repository at this point
Copy the full SHA 087f727View commit details -
Configuration menu - View commit details
-
Copy full SHA for 919f75c - Browse repository at this point
Copy the full SHA 919f75cView commit details -
Configuration menu - View commit details
-
Copy full SHA for b14ec65 - Browse repository at this point
Copy the full SHA b14ec65View commit details
Commits on Mar 13, 2020
-
The "alg" check can now take list of algorithms that are supported, which must be from the valid list of algorithms.
Configuration menu - View commit details
-
Copy full SHA for 39b9cc7 - Browse repository at this point
Copy the full SHA 39b9cc7View commit details -
Merge pull request apache#2661 from apache/jwtf-enhance-alg-check
Enhance alg check
Configuration menu - View commit details
-
Copy full SHA for da7f648 - Browse repository at this point
Copy the full SHA da7f648View commit details
Commits on Mar 16, 2020
-
Port elixir proxyauth tests from js to elixir (apache#2660)
* Add support for specify a custom config file for CouchDB startup during testing * Port proxyauth test from js to elixir
Configuration menu - View commit details
-
Copy full SHA for 1f54b14 - Browse repository at this point
Copy the full SHA 1f54b14View commit details -
Configuration menu - View commit details
-
Copy full SHA for ff6cef6 - Browse repository at this point
Copy the full SHA ff6cef6View commit details -
Merge pull request apache#2668 from apache/jwtf-unknown-checks
Throw if an unknown check is passed to jwtf:decode
Configuration menu - View commit details
-
Copy full SHA for f7bdc8c - Browse repository at this point
Copy the full SHA f7bdc8cView commit details
Commits on Mar 19, 2020
-
Feature - Add JWT support (apache#2648)
Add JWT Authentication Handler Co-authored-by: Robert Newson <[email protected]> Co-authored-by: Joan Touzet <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 032934f - Browse repository at this point
Copy the full SHA 032934fView commit details -
Configuration menu - View commit details
-
Copy full SHA for cb3c772 - Browse repository at this point
Copy the full SHA cb3c772View commit details
Commits on Mar 20, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 996587d - Browse repository at this point
Copy the full SHA 996587dView commit details -
Merge pull request apache#2686 from dottorblaster/upgrade-credo-1.3.1
Upgrade Credo to 1.3.1
Configuration menu - View commit details
-
Copy full SHA for fc950c5 - Browse repository at this point
Copy the full SHA fc950c5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 11dee52 - Browse repository at this point
Copy the full SHA 11dee52View commit details -
Merge pull request apache#2688 from dottorblaster/fix-utf8-elixir-tes…
…t-warning Ignore unused string variable inside utf8 test case
Configuration menu - View commit details
-
Copy full SHA for f8ffde2 - Browse repository at this point
Copy the full SHA f8ffde2View commit details
Commits on Mar 21, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 3248ebc - Browse repository at this point
Copy the full SHA 3248ebcView commit details
Commits on Mar 22, 2020
-
Configuration menu - View commit details
-
Copy full SHA for f6a4f8e - Browse repository at this point
Copy the full SHA f6a4f8eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8074a32 - Browse repository at this point
Copy the full SHA 8074a32View commit details -
Configuration menu - View commit details
-
Copy full SHA for bb86d04 - Browse repository at this point
Copy the full SHA bb86d04View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5c77ef0 - Browse repository at this point
Copy the full SHA 5c77ef0View commit details -
Configuration menu - View commit details
-
Copy full SHA for db21eda - Browse repository at this point
Copy the full SHA db21edaView commit details -
Configuration menu - View commit details
-
Copy full SHA for 623ae9a - Browse repository at this point
Copy the full SHA 623ae9aView commit details -
Create in-memory cache of JWT keys
Decoding RSA and EC keys is a little expensive and we don't want to do it for every single request. Add a cache that is invalidated on config change.
Configuration menu - View commit details
-
Copy full SHA for c1e7c5a - Browse repository at this point
Copy the full SHA c1e7c5aView commit details -
Configuration menu - View commit details
-
Copy full SHA for dc88e36 - Browse repository at this point
Copy the full SHA dc88e36View commit details -
Configuration menu - View commit details
-
Copy full SHA for 16b3c8d - Browse repository at this point
Copy the full SHA 16b3c8dView commit details
Commits on Mar 23, 2020
-
Merge pull request apache#2687 from apache/jwt-enhancements
Jwt enhancements
Configuration menu - View commit details
-
Copy full SHA for 55f704d - Browse repository at this point
Copy the full SHA 55f704dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8a5f48b - Browse repository at this point
Copy the full SHA 8a5f48bView commit details -
Merge pull request apache#2698 from dottorblaster/fix-missing-apexes
Fix missing apexes in test/elixir/README.md
Configuration menu - View commit details
-
Copy full SHA for c38a2c2 - Browse repository at this point
Copy the full SHA c38a2c2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5c52904 - Browse repository at this point
Copy the full SHA 5c52904View commit details
Commits on Mar 24, 2020
-
Add support for roles to be obtained from JWTs. (apache#2694)
Add support for roles to be obtained from JWTs
Configuration menu - View commit details
-
Copy full SHA for 1890168 - Browse repository at this point
Copy the full SHA 1890168View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3523c81 - Browse repository at this point
Copy the full SHA 3523c81View commit details -
Merge pull request apache#2714 from atrauzzi/jwt-couchdb-specific-rol…
…es-claim Make the JWT roles claim more CouchDB specific
Configuration menu - View commit details
-
Copy full SHA for 2b95500 - Browse repository at this point
Copy the full SHA 2b95500View commit details
Commits on Mar 25, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 49dbb6a - Browse repository at this point
Copy the full SHA 49dbb6aView commit details -
Configuration menu - View commit details
-
Copy full SHA for e26d99e - Browse repository at this point
Copy the full SHA e26d99eView commit details -
Merge pull request apache#2703 from dottorblaster/port-view-paginatio…
…n-test-to-elixir Port view_pagination integration test to elixir test suite
Configuration menu - View commit details
-
Copy full SHA for e22b5ab - Browse repository at this point
Copy the full SHA e22b5abView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2247322 - Browse repository at this point
Copy the full SHA 2247322View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7c831f6 - Browse repository at this point
Copy the full SHA 7c831f6View commit details
Commits on Mar 26, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 9c95667 - Browse repository at this point
Copy the full SHA 9c95667View commit details
Commits on Mar 27, 2020
-
Merge pull request apache#2690 from apache/fix-create-db-options
Fix create db options on secondary shard creation
Configuration menu - View commit details
-
Copy full SHA for 9ee8244 - Browse repository at this point
Copy the full SHA 9ee8244View commit details
Commits on Mar 28, 2020
-
Configuration menu - View commit details
-
Copy full SHA for a799b67 - Browse repository at this point
Copy the full SHA a799b67View commit details -
Merge pull request apache#2727 from apache/jwt-kty-check
Only trust the servers declaration of JWT key type
Configuration menu - View commit details
-
Copy full SHA for 2212c31 - Browse repository at this point
Copy the full SHA 2212c31View commit details
Commits on Mar 30, 2020
-
This mechanism is replaced by the much stronger tying of verification algorithm to the key directly in the server config.
Configuration menu - View commit details
-
Copy full SHA for d291847 - Browse repository at this point
Copy the full SHA d291847View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1ab4ff3 - Browse repository at this point
Copy the full SHA 1ab4ff3View commit details -
All claims in the header and payload are verified if present. The required_claims config setting is now separate and only causes CouchDB to reject JWT tokens without those claims.
Configuration menu - View commit details
-
Copy full SHA for 6b6ddf0 - Browse repository at this point
Copy the full SHA 6b6ddf0View commit details
Commits on Mar 31, 2020
-
Merge pull request apache#2732 from apache/jwt-controls-2
Enhance JWT controls (again)
Configuration menu - View commit details
-
Copy full SHA for 5bc0af1 - Browse repository at this point
Copy the full SHA 5bc0af1View commit details -
Do not copy the #server.lru field to async openers
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.
Configuration menu - View commit details
-
Copy full SHA for 4dca84e - Browse repository at this point
Copy the full SHA 4dca84eView commit details
Commits on Apr 1, 2020
-
fix: require_valid_user exception logic
Co-authored-by: Robert Newson <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 42d20da - Browse repository at this point
Copy the full SHA 42d20daView commit details -
Configuration menu - View commit details
-
Copy full SHA for f3a3312 - Browse repository at this point
Copy the full SHA f3a3312View commit details -
Configuration menu - View commit details
-
Copy full SHA for fb9d404 - Browse repository at this point
Copy the full SHA fb9d404View commit details -
Configuration menu - View commit details
-
Copy full SHA for 54a05e4 - Browse repository at this point
Copy the full SHA 54a05e4View commit details
Commits on Apr 2, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 2ed662e - Browse repository at this point
Copy the full SHA 2ed662eView commit details
Commits on Apr 12, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 2e78beb - Browse repository at this point
Copy the full SHA 2e78bebView commit details
Commits on Apr 15, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 522627e - Browse repository at this point
Copy the full SHA 522627eView commit details -
Merge pull request apache#1944 from cloudant/integrate-emilio
Integrate emilio
Configuration menu - View commit details
-
Copy full SHA for 7f24add - Browse repository at this point
Copy the full SHA 7f24addView commit details
Commits on Apr 18, 2020
-
Fix couchjs utf8 conversions (apache#2786)
* Remove unused string conversion functions * Set UTF-8 encoding when compiling scripts * Encode JavaScript strings as UTF-8 for printing * Check that only strings are passed to print * Use builtin UTF-8 conversions in http.cpp * Add tests for couchjs UTF-8 support * Remove custom UTF-8 conversion functions We're now using 100% built-in functionality of SpiderMonkey to handle all UTF-8 conversions. * Report error messages at global scope Previously we weren't reporting any uncaught exceptions or compilation errors. This changes that to print any compilation errors or any uncaught exceptions with stack traces. The previous implementation of `couch_error` was attempting to call `String.replace` on the `stack` member string of the thrown exception. This likely never worked and attempting to fix I was unable to properly invoke the `String.replace` function. This changes the implementation to use the builtin stack formatting method instead. * Modernize sources to minimize changes for 68 These are a handful of changes that modernize various aspects of the couchjs 60 source files. Behaviorally they're all benign but will shorten the diff required for adding support for SpiderMonkey 68. Co-authored-by: Joan Touzet <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for f9dc835 - Browse repository at this point
Copy the full SHA f9dc835View commit details
Commits on Apr 21, 2020
-
Update README.rst (apache#2537)
Update the description of the behavior of the script ./dev/run. Co-authored-by: Joan Touzet <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 975110d - Browse repository at this point
Copy the full SHA 975110dView commit details -
Bump fauxton to v1.2.3 (apache#2515)
Co-authored-by: Joan Touzet <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 5748ef3 - Browse repository at this point
Copy the full SHA 5748ef3View commit details -
fix operator issue with empty arrays (apache#2805)
Previously, in apache#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.
Configuration menu - View commit details
-
Copy full SHA for a8413bc - Browse repository at this point
Copy the full SHA a8413bcView commit details
Commits on Apr 22, 2020
-
Replace VM_ARGS with ARGS_FILE which is set as it is in couchdb scrip…
…t /etc/vm.args; also parses name from config. (apache#2738) Co-authored-by: sklassen <none> Co-authored-by: Joan Touzet <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 440ab26 - Browse repository at this point
Copy the full SHA 440ab26View commit details -
fix: use correct logging module name, fixes apache#2797 (apache#2798)
Co-authored-by: Joan Touzet <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for f3d5965 - Browse repository at this point
Copy the full SHA f3d5965View commit details
Commits on Apr 23, 2020
-
Configuration menu - View commit details
-
Copy full SHA for f332f43 - Browse repository at this point
Copy the full SHA f332f43View commit details -
Merge pull request apache#2816 from apache/mango-bookmark-master
safer binary_to_term in mango_json_bookmark
Configuration menu - View commit details
-
Copy full SHA for 66e02a2 - Browse repository at this point
Copy the full SHA 66e02a2View commit details
Commits on Apr 27, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 27d1405 - Browse repository at this point
Copy the full SHA 27d1405View commit details -
Configuration menu - View commit details
-
Copy full SHA for e5239b7 - Browse repository at this point
Copy the full SHA e5239b7View commit details -
Configuration menu - View commit details
-
Copy full SHA for bb43a69 - Browse repository at this point
Copy the full SHA bb43a69View commit details -
Configuration menu - View commit details
-
Copy full SHA for e6e6e6b - Browse repository at this point
Copy the full SHA e6e6e6bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 55deba0 - Browse repository at this point
Copy the full SHA 55deba0View commit details -
Configuration menu - View commit details
-
Copy full SHA for b7ca42d - Browse repository at this point
Copy the full SHA b7ca42dView commit details -
View is partitioned if db and view are partitioned
We've seen a crash if DbPartitioned is false and ViewPartitioned is true, which is obviously nonsense. The effect of the `nocase` is the termination of the couch_index_server gen_server, which is a serious amplification of a small (user-initiated) oddity.
Configuration menu - View commit details
-
Copy full SHA for 63e2d08 - Browse repository at this point
Copy the full SHA 63e2d08View commit details
Commits on Apr 28, 2020
-
Suppress offsetof gcc warnings for SM60
Mozilla did this years ago: https://hg.mozilla.org/mozilla-central/rev/41d9d32ab5a7
Configuration menu - View commit details
-
Copy full SHA for 607f4c1 - Browse repository at this point
Copy the full SHA 607f4c1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 44e0f0f - Browse repository at this point
Copy the full SHA 44e0f0fView commit details
Commits on Apr 29, 2020
-
Configuration menu - View commit details
-
Copy full SHA for ba9fc3c - Browse repository at this point
Copy the full SHA ba9fc3cView commit details
Commits on Apr 30, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 4f3d5ae - Browse repository at this point
Copy the full SHA 4f3d5aeView commit details -
Configuration menu - View commit details
-
Copy full SHA for ebdfbba - Browse repository at this point
Copy the full SHA ebdfbbaView commit details
Commits on May 2, 2020
-
Configuration menu - View commit details
-
Copy full SHA for baba64b - Browse repository at this point
Copy the full SHA baba64bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 69f6b86 - Browse repository at this point
Copy the full SHA 69f6b86View commit details
Commits on May 17, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 0399200 - Browse repository at this point
Copy the full SHA 0399200View commit details
Commits on May 18, 2020
-
allow configurability of JWT claims that require a value
e.g; [jwt] required_claims = {iss, "https://example.com/issuer"}
Configuration menu - View commit details
-
Copy full SHA for 4f7d1d9 - Browse repository at this point
Copy the full SHA 4f7d1d9View commit details -
Merge pull request apache#2888 from apache/jwtf-iss-configurability
allow configurability of JWT claims that require a value
Configuration menu - View commit details
-
Copy full SHA for 4398d3b - Browse repository at this point
Copy the full SHA 4398d3bView commit details
Commits on May 21, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 850cc12 - Browse repository at this point
Copy the full SHA 850cc12View commit details -
Merge pull request apache#2899 from apache/jwtf-erlang-19
make jwtf_keystore compatible with erlang 19
Configuration menu - View commit details
-
Copy full SHA for 143ad31 - Browse repository at this point
Copy the full SHA 143ad31View commit details -
Configuration menu - View commit details
-
Copy full SHA for e245aa0 - Browse repository at this point
Copy the full SHA e245aa0View commit details -
Merge pull request apache#2900 from apache/jwtf-erlang-19-2
make jwtf_keystore compatible with erlang 19 for real this time
Configuration menu - View commit details
-
Copy full SHA for 474cb72 - Browse repository at this point
Copy the full SHA 474cb72View commit details
Commits on May 26, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 08a0c6b - Browse repository at this point
Copy the full SHA 08a0c6bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4e64f5b - Browse repository at this point
Copy the full SHA 4e64f5bView commit details
Commits on May 30, 2020
-
2906 couchjs sm version (apache#2911)
Closes apache#2906 * Added a suffix to the first line of couchjs with the (static) version number compiled * Update rebar.config.script * In couchjs -h replaced the link to jira with a link to github Co-authored-by: simon.klassen <simon.klassen> Co-authored-by: Jan Lehnardt <[email protected]
Configuration menu - View commit details
-
Copy full SHA for 0be139a - Browse repository at this point
Copy the full SHA 0be139aView commit details
Commits on Jun 4, 2020
-
Configuration menu - View commit details
-
Copy full SHA for ab93b15 - Browse repository at this point
Copy the full SHA ab93b15View commit details
Commits on Jun 5, 2020
-
Report if FIPS mode is enabled
This will only report "fips" in the welcome message if FIPS mode was enabled at boot (i.e, in vm.args).
Configuration menu - View commit details
-
Copy full SHA for 10fae61 - Browse repository at this point
Copy the full SHA 10fae61View commit details -
Merge pull request apache#2929 from apache/report-fips-feature
Report if FIPS mode is enabled
Configuration menu - View commit details
-
Copy full SHA for 887d740 - Browse repository at this point
Copy the full SHA 887d740View commit details
Commits on Jun 10, 2020
-
In replicator, when rescheduling, pick only pending jobs which are no…
…t running Previously, when pending jobs were picked in the `ets:foldl` traversal, both running and non-running jobs were considered and a large number of running jobs could displace pending jobs in the accumulator. In the worst case, no crashed jobs would be restarted during rescheduling.
Configuration menu - View commit details
-
Copy full SHA for a7803fb - Browse repository at this point
Copy the full SHA a7803fbView commit details
Commits on Jun 18, 2020
-
Make restricted partition search parameters return bad request
According to https://docs.couchdb.org/en/master/ddocs/search.html there are parameters for searches that are not allowed for partitioned queries. Those restrictions were not enforced, thus making the software and docs inconsistent. This commit adds them to validation so that the behavior matches the one described in the docs.
Configuration menu - View commit details
-
Copy full SHA for 6659dbb - Browse repository at this point
Copy the full SHA 6659dbbView commit details -
fix: send CSP header to make Fauxotn work fully
Co-authored-by: Robert Newson <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 34baa46 - Browse repository at this point
Copy the full SHA 34baa46View commit details -
Configuration menu - View commit details
-
Copy full SHA for 074789f - Browse repository at this point
Copy the full SHA 074789fView commit details
Commits on Jun 22, 2020
-
Allow drilldown for search to always be specified as list of lists
To use multiple `drilldown` parameters users had to define `drilldown` multiple times to be able supply them. This caused interoperability issues as most languages require defining query parameters and request bodies as associative arrays, maps or dictionaries where the keys are unique. This change enables defining `drilldown` as a list of lists so that other languages can define multiple drilldown keys and values. Co-authored-by: Robert Newson <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 4240391 - Browse repository at this point
Copy the full SHA 4240391View commit details -
Merge pull request apache#2958 from bessbd/allow-drilldown-list-of-lists
Allow drilldown for search to always be specified as list of lists
Configuration menu - View commit details
-
Copy full SHA for 22dbde2 - Browse repository at this point
Copy the full SHA 22dbde2View commit details
Commits on Jun 27, 2020
-
Configuration menu - View commit details
-
Copy full SHA for c155bd5 - Browse repository at this point
Copy the full SHA c155bd5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5c49e0f - Browse repository at this point
Copy the full SHA 5c49e0fView commit details
Commits on Jun 29, 2020
-
Configuration menu - View commit details
-
Copy full SHA for c6940d8 - Browse repository at this point
Copy the full SHA c6940d8View commit details
Commits on Jun 30, 2020
-
Configuration menu - View commit details
-
Copy full SHA for eaf6e74 - Browse repository at this point
Copy the full SHA eaf6e74View commit details
Commits on Jul 3, 2020
-
fix: set gen_server:call() timeout to infinity on ioq bypass
Before the bypass existed, ioq would call `gen_server:call()` on hehalf of it calling module with the queueing logic in between. Commit e641a74 introduced a way to bypass any queues, but the delegated `gen_server:call()` there was added without a timeout parameter, leading to a default timeout of 5000ms. A problem manifests here when operations that are sent through ioq that take longer than that 5000ms timeout. In practice, these operations should be very rare and this timeout should be a help on overloaded systems. However, one sure-fire way to cause an issue on an otherwise idle machine is raise the max_document_size and store unreasonably large documents, think 50MB+ of raw JSON). Not that we recommend this, but folks have run this fine on 2.x before the ioq changes and it isn’t too hard to support here. By adding an `infinity` timeout delegated `gen_server:call()` in the queue bypasse case, this no longer applies. Thanks to Joan @woahli Touzet, Bob @rnewson Newson and Paul @davisp Davis for helping to track this down.
Configuration menu - View commit details
-
Copy full SHA for 0eedd8b - Browse repository at this point
Copy the full SHA 0eedd8bView commit details
Commits on Jul 7, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 23b4aa7 - Browse repository at this point
Copy the full SHA 23b4aa7View commit details -
Configuration menu - View commit details
-
Copy full SHA for ce22cbc - Browse repository at this point
Copy the full SHA ce22cbcView commit details
Commits on Jul 20, 2020
-
Configuration menu - View commit details
-
Copy full SHA for fc6dbee - Browse repository at this point
Copy the full SHA fc6dbeeView commit details
Commits on Jul 22, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 909357e - Browse repository at this point
Copy the full SHA 909357eView commit details -
Configuration menu - View commit details
-
Copy full SHA for b518f01 - Browse repository at this point
Copy the full SHA b518f01View commit details
Commits on Jul 23, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 6944605 - Browse repository at this point
Copy the full SHA 6944605View commit details
Commits on Jul 26, 2020
-
Configuration menu - View commit details
-
Copy full SHA for a817e60 - Browse repository at this point
Copy the full SHA a817e60View commit details
Commits on Jul 27, 2020
-
Configuration menu - View commit details
-
Copy full SHA for f011a66 - Browse repository at this point
Copy the full SHA f011a66View commit details
Commits on Aug 3, 2020
-
Configuration menu - View commit details
-
Copy full SHA for f43f78a - Browse repository at this point
Copy the full SHA f43f78aView commit details
Commits on Aug 10, 2020
-
Configuration menu - View commit details
-
Copy full SHA for e0cbe1c - Browse repository at this point
Copy the full SHA e0cbe1cView commit details
Commits on Aug 12, 2020
-
Unlink index pid and swallow EXIT message if present
This should prevent unexpected exit messages arriving which crash couch_index_server. Patch suggested by davisp. Closes apache#3061.
Configuration menu - View commit details
-
Copy full SHA for 57e3501 - Browse repository at this point
Copy the full SHA 57e3501View commit details -
Merge pull request apache#3068 from apache/couch_index_server_crash
Unlink index pid and swallow EXIT message if present
Configuration menu - View commit details
-
Copy full SHA for c66694f - Browse repository at this point
Copy the full SHA c66694fView commit details
Commits on Aug 14, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 7c9094c - Browse repository at this point
Copy the full SHA 7c9094cView commit details -
Don't crash couch_index_server if the db isn't known yet
If a ddoc is added immediately after database creation (_users and _replicator when couchdb is used in a multi-tenant fashion), we can crash couch_index_server in handle_db_event, as mem3_shards:local throws an error.
Robert Newson committedAug 14, 2020 Configuration menu - View commit details
-
Copy full SHA for 5004f99 - Browse repository at this point
Copy the full SHA 5004f99View commit details -
Merge pull request apache#3075 from apache/couch_index_server_crash2
Don't crash couch_index_server if the db isn't known yet
Configuration menu - View commit details
-
Copy full SHA for 7d9f115 - Browse repository at this point
Copy the full SHA 7d9f115View commit details
Commits on Aug 20, 2020
-
fixup: Build couch_js for redhat linux
When building couch_js in RHEL, there is one error occurring with "undefined reference to symbol '_ZTVN10__cxxabiv117__class_type_infoE@@CXXABI_1.3'". This commit is to adjust binding library to address this issue.
Configuration menu - View commit details
-
Copy full SHA for 11e8d0d - Browse repository at this point
Copy the full SHA 11e8d0dView commit details -
Merge pull request apache#3056 from apache/build-couchjs-for-redhat-l…
…inux fixup: Build couch_js for redhat linux
Configuration menu - View commit details
-
Copy full SHA for 3091c93 - Browse repository at this point
Copy the full SHA 3091c93View commit details -
Handle jiffy returning an iolist when encoding atts_since query string
If we don't handle it, it throws an error when trying to encode the full URL string, for example: ``` badarg,[ {mochiweb_util,quote_plus,2,[{file,"src/mochiweb_util.erl"},{line,192}]}, {couch_replicator_httpc,query_args_to_string,2,[{file,"src/couch_replicator_httpc.erl"},{line,421}]}, {couch_replicator_httpc,full_url,2,[{file,"src/couch_replicator_httpc.erl"},{line,413}]}, {couch_replicator_api_wrap,open_doc_revs,6,[{file,"src/couch_replicator_api_wrap.erl"},{line,255}]} ] ``` This is also similar to what we did for open_revs encoding: apache@a2d0c42
Configuration menu - View commit details
-
Copy full SHA for bdfb129 - Browse repository at this point
Copy the full SHA bdfb129View commit details
Commits on Aug 27, 2020
-
bypass partition query limit for mango
When partition_query_limit is set for couch_mrview, it limits how many docs can be scanned when executing partitioned queries. But this limits mango's doc scans internally. This leads to documents not being scanned to fulfill a query. This fixes: apache#2795
Configuration menu - View commit details
-
Copy full SHA for 7dbd0ad - Browse repository at this point
Copy the full SHA 7dbd0adView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3004513 - Browse repository at this point
Copy the full SHA 3004513View commit details
Commits on Aug 28, 2020
-
Merge pull request apache#3105 from apache/fix-partition-query-limit
bypass partition query limit for mango
Configuration menu - View commit details
-
Copy full SHA for ac69520 - Browse repository at this point
Copy the full SHA ac69520View commit details
Commits on Aug 31, 2020
-
fix bookmark passing with text indexes
Previously, we passed in the unpacked version of the bookmark with the cursor inside the options field. This worked fine for _find because we didn't need to return it to the user. But for _explain, we return the value back as unpacked tuple instead of a string and jiffy:encode/1 complains. Now we correctly extract the bookmark out of options, unpack it, and then pass it separately in it's own field. This way options retains it's original string form for the user so that invalid_ejson is not thrown.
Configuration menu - View commit details
-
Copy full SHA for c14569c - Browse repository at this point
Copy the full SHA c14569cView commit details -
Merge pull request apache#3116 from apache/fix-explain-text-indexes
fix bookmark passing with text indexes
Configuration menu - View commit details
-
Copy full SHA for 0c3c4b6 - Browse repository at this point
Copy the full SHA 0c3c4b6View commit details
Commits on Sep 1, 2020
-
Allow to continue to cleanup search index even if there is invalid ddoc
In some situation where design document for search index created by customer is not valid, the _search_cleanup endpoint will stop to clean up. This will leave some search index orphan. The change is to allow to continue to clean up search index even if there is invalid design document for search.
Configuration menu - View commit details
-
Copy full SHA for 253d64a - Browse repository at this point
Copy the full SHA 253d64aView commit details -
Merge pull request apache#3118 from apache/dreyfus-cleanup-with-inval…
…id-ddoc Allow to continue to cleanup search index even if there is invalid design document
Configuration menu - View commit details
-
Copy full SHA for 27eefab - Browse repository at this point
Copy the full SHA 27eefabView commit details -
Configuration menu - View commit details
-
Copy full SHA for a57b717 - Browse repository at this point
Copy the full SHA a57b717View commit details
Commits on Sep 3, 2020
-
Configuration menu - View commit details
-
Copy full SHA for d72a5f5 - Browse repository at this point
Copy the full SHA d72a5f5View commit details -
Merge pull request apache#3125 from apache/improve_jwtf_keystore_erro…
…r_handling Improve jwtf keystore error handling
Configuration menu - View commit details
-
Copy full SHA for 29a5dea - Browse repository at this point
Copy the full SHA 29a5deaView commit details
Commits on Sep 4, 2020
-
Configuration menu - View commit details
-
Copy full SHA for e7822a5 - Browse repository at this point
Copy the full SHA e7822a5View commit details -
Add option to delay responses until the end
When set, every response is sent once fully generated on the server side. This increases memory usage on the nodes but simplifies error handling for the client as it eliminates the possibility that the response will be deliberately terminated midway through due to a timeout. The config value can be changed at runtime without impacting any in-flight responses.
Configuration menu - View commit details
-
Copy full SHA for 881f52f - Browse repository at this point
Copy the full SHA 881f52fView commit details
Commits on Sep 7, 2020
-
Merge pull request apache#3129 from apache/delay_response_until_end
Add option to delay responses until the end
Configuration menu - View commit details
-
Copy full SHA for c625517 - Browse repository at this point
Copy the full SHA c625517View commit details
Commits on Sep 9, 2020
-
Handle malformed URLs when stripping URL creds in couch_replicator
Previously there was an error thrown which prevented emitting _scheduler/docs responses. Instead of throwing an error, return `null` if the URL cannot be parsed.
Configuration menu - View commit details
-
Copy full SHA for e4d577b - Browse repository at this point
Copy the full SHA e4d577bView commit details
Commits on Sep 10, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 45ddc93 - Browse repository at this point
Copy the full SHA 45ddc93View commit details -
add remonitor code to DOWN message (apache#3144)
Smoosh monitors the compactor pid to determine when the compaction jobs finishes, and uses this for its idea of concurrency. However, this isn't accurate in the case where the compaction job has to re-spawn to catch up on intervening changes since the same logical compaction job continues with another pid and smoosh is not aware. In such cases, a smoosh channel with concurrency one can start arbitrarily many additional database compaction jobs. To solve this problem, we added a check to see if a compaction PID exists for a db in `start_compact`. But wee need to add another check because this check is only for shard that comes off the queue. So the following can still occur: 1. Enqueue a bunch of stuff into channel with concurrency 1 2. Begin highest priority job, Shard1, in channel 3. Compaction finishes, discovers compaction file is behind main file 4. Smoosh-monitored PID for Shard1 exits, a new one starts to finish the job 5. Smoosh receives the 'DOWN' message, begins the next highest priority job, Shard2 6. Channel concurrency is now 2, not 1 This change adds another check into the 'DOWN' message so that it checks for that specific shard. If the compaction PID exists then it means a new process was spawned and we just monitor that one and add it back to the queue. The length of the queue does not change and therefore we won’t spawn new compaction jobs.
Configuration menu - View commit details
-
Copy full SHA for a94e693 - Browse repository at this point
Copy the full SHA a94e693View commit details -
Fix buffer_response=true (apache#3145)
We need to call StartFun as it might add headers, etc.
Configuration menu - View commit details
-
Copy full SHA for 1c6a738 - Browse repository at this point
Copy the full SHA 1c6a738View commit details
Commits on Sep 11, 2020
-
Configuration menu - View commit details
-
Copy full SHA for ac33e85 - Browse repository at this point
Copy the full SHA ac33e85View commit details
Commits on Sep 14, 2020
-
fix race condition (apache#3150)
This fixes a94e693 because a race condition exisited where the 'DOWN' message could be received before the compactor pid is spawned. Adding a synchronous call to get the compactor pid guarantees that the couch_db_updater process handling of finish_compaction has occurred.
Configuration menu - View commit details
-
Copy full SHA for 168d635 - Browse repository at this point
Copy the full SHA 168d635View commit details
Commits on Sep 15, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 6169104 - Browse repository at this point
Copy the full SHA 6169104View commit details
Commits on Sep 24, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 3b815a6 - Browse repository at this point
Copy the full SHA 3b815a6View commit details
Commits on Sep 29, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 796d714 - Browse repository at this point
Copy the full SHA 796d714View commit details
Commits on Sep 30, 2020
-
Add module tag to elixir test cases (apache#3178)
Some elixir test cases don't have actual module tag. Add tags to help include or exclude them in CI test.
Configuration menu - View commit details
-
Copy full SHA for 1719500 - Browse repository at this point
Copy the full SHA 1719500View commit details
Commits on Oct 1, 2020
-
Configuration menu - View commit details
-
Copy full SHA for fb36cc6 - Browse repository at this point
Copy the full SHA fb36cc6View commit details -
Configuration menu - View commit details
-
Copy full SHA for f21d601 - Browse repository at this point
Copy the full SHA f21d601View commit details
Commits on Oct 5, 2020
-
Configuration menu - View commit details
-
Copy full SHA for de35260 - Browse repository at this point
Copy the full SHA de35260View commit details
Commits on Oct 6, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 9564023 - Browse repository at this point
Copy the full SHA 9564023View commit details
Commits on Oct 9, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 90d4cf7 - Browse repository at this point
Copy the full SHA 90d4cf7View commit details