summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* revert temp test errorsfeat/access-3.xJan Lehnardt2020-07-261-5/+3
|
* chore: remove .venv on make cleanJan Lehnardt2020-07-262-0/+2
|
* chore: re-enable testsJan Lehnardt2020-07-261-55/+55
|
* move db access check out of doc list loopJan Lehnardt2020-07-261-5/+13
|
* cleanupJan Lehnardt2020-07-261-10/+11
|
* chore: cleanupJan Lehnardt2020-07-1223-101/+72
|
* chore: drop more merge artifactsJan Lehnardt2020-07-102-68/+0
|
* chore: drop merge artifactsJan Lehnardt2020-07-108-4579/+0
|
* feat: move access check into couch_db_updaterJan Lehnardt2020-07-1017-125/+216
|
* wip: move access check in couch_db_updaterJan Lehnardt2020-07-104-54/+79
|
* feat: re-add access query serverJan Lehnardt2020-07-101-1/+6
|
* feat: re-add access query serverJan Lehnardt2020-07-104-37/+188
|
* fix: deletesJan Lehnardt2020-07-101-4/+11
|
* test: re-commit test fileJan Lehnardt2020-07-101-0/+1003
|
* chore: remove debugging leftoversJan Lehnardt2020-07-102-2/+1
|
* fix: don’t append _users role for admin usersJan Lehnardt2020-07-105-7/+14
|
* fix: special case only for _design/_accessJan Lehnardt2020-07-101-6/+14
|
* feat: users now always have a default role _usersJan Lehnardt2020-07-101-1/+1
|
* feat: don’t load access ddocs into ddoc cacheJan Lehnardt2020-07-107-32/+39
| | | | | | fix: don’t apply_open_options twice on couch_db:open_doc* test: re-enable show and update tests
* feat: ignore ioq in emilioJan Lehnardt2020-07-101-0/+1
|
* fix: all_docs on partitioned dbs, override partition requirement on faked ↵Jan Lehnardt2020-07-1010-7/+3082
| | | | access all docs query
* fix(fabric): revert expected results, we should look into this laterJan Lehnardt2020-07-101-3/+3
|
* fix(repl): return rep id only in ok resultsJan Lehnardt2020-07-104-6/+1494
|
* fix(peruse): old tests might leave _users db around and binary:part() failsJan Lehnardt2020-07-101-2/+2
|
* chore: tmp disable show testsJan Lehnardt2020-07-101-2/+2
|
* fix(doc): deleteJan Lehnardt2020-07-101-6/+15
|
* fix(changes): only apply access logic on access enabled dbsJan Lehnardt2020-07-102-20/+24
|
* wip: changes and ddocsJan Lehnardt2020-07-1015-44/+98
|
* feat: per-document-access-controlJan Lehnardt2020-07-1025-113/+530
|
* Port view_compaction test to elixirJuanjo Rodriguez2020-07-074-2/+109
|
* Port view_collation_raw.js to elixirJuanjo Rodriguez2020-07-073-1/+161
|
* fix: set gen_server:call() timeout to infinity on ioq bypassJan Lehnardt2020-07-031-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | Before the bypass existed, ioq would call `gen_server:call()` on hehalf of it calling module with the queueing logic in between. Commit e641a740 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.
* Port view_update_seq.js into elixirJuanjo Rodriguez2020-06-303-1/+144
|
* Port reader_acl test into elixir test suiteJuanjo Rodriguez2020-06-293-2/+257
|
* Skip tests as temporary views are not supportedJuanjo Rodriguez2020-06-271-0/+1
|
* Tests already ported to elixirJuanjo Rodriguez2020-06-272-0/+2
|
* Merge pull request #2958 from bessbd/allow-drilldown-list-of-listsarchive/prototype/fdnprototype/fdnRobert Newson2020-06-222-0/+203
|\ | | | | Allow drilldown for search to always be specified as list of lists
| * Allow drilldown for search to always be specified as list of listsBessenyei Balázs Donát2020-06-222-0/+203
|/ | | | | | | | | | | | | | 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 <rnewson@apache.org>
* Upgrade Credo to 1.4.0Alessio Biancalana2020-06-182-3/+3
|
* fix: send CSP header to make Fauxotn work fullyJan Lehnardt2020-06-183-2/+91
| | | | Co-authored-by: Robert Newson <rnewson@apache.org>
* Make restricted partition search parameters return bad requestBessenyei Balázs Donát2020-06-182-8/+50
| | | | | | | | | | | 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.
* In replicator, when rescheduling, pick only pending jobs which are not runningNick Vatamaniuc2020-06-101-0/+16
| | | | | | | 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.
* Merge pull request #2929 from apache/report-fips-featureRobert Newson2020-06-051-0/+10
|\ | | | | Report if FIPS mode is enabled
| * Report if FIPS mode is enabledreport-fips-featureRobert Newson2020-06-051-0/+10
|/ | | | | This will only report "fips" in the welcome message if FIPS mode was enabled at boot (i.e, in vm.args).
* feat(auth): Allow a custom JWT claim for rolesmauroporras2020-06-042-1/+2
|
* 2906 couchjs sm version (#2911)Simon Klassen2020-05-304-4/+4
| | | | | | | | | | Closes #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 <jan@apache.org
* move compact and replicate functions into CouchTestCase shared moduleJuanjo Rodriguez2020-05-268-155/+56
|
* Port rev_stemming into elixirJuanjo Rodriguez2020-05-263-1/+195
|
* Merge pull request #2900 from apache/jwtf-erlang-19-2Robert Newson2020-05-211-1/+1
|\ | | | | make jwtf_keystore compatible with erlang 19 for real this time
| * make jwtf_keystore compatible with erlang 19 for real this timejwtf-erlang-19-2Robert Newson2020-05-211-1/+1
|/