Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | revert temp test errorsfeat/access-3.x | Jan Lehnardt | 2020-07-26 | 1 | -5/+3 |
| | |||||
* | chore: remove .venv on make clean | Jan Lehnardt | 2020-07-26 | 2 | -0/+2 |
| | |||||
* | chore: re-enable tests | Jan Lehnardt | 2020-07-26 | 1 | -55/+55 |
| | |||||
* | move db access check out of doc list loop | Jan Lehnardt | 2020-07-26 | 1 | -5/+13 |
| | |||||
* | cleanup | Jan Lehnardt | 2020-07-26 | 1 | -10/+11 |
| | |||||
* | chore: cleanup | Jan Lehnardt | 2020-07-12 | 23 | -101/+72 |
| | |||||
* | chore: drop more merge artifacts | Jan Lehnardt | 2020-07-10 | 2 | -68/+0 |
| | |||||
* | chore: drop merge artifacts | Jan Lehnardt | 2020-07-10 | 8 | -4579/+0 |
| | |||||
* | feat: move access check into couch_db_updater | Jan Lehnardt | 2020-07-10 | 17 | -125/+216 |
| | |||||
* | wip: move access check in couch_db_updater | Jan Lehnardt | 2020-07-10 | 4 | -54/+79 |
| | |||||
* | feat: re-add access query server | Jan Lehnardt | 2020-07-10 | 1 | -1/+6 |
| | |||||
* | feat: re-add access query server | Jan Lehnardt | 2020-07-10 | 4 | -37/+188 |
| | |||||
* | fix: deletes | Jan Lehnardt | 2020-07-10 | 1 | -4/+11 |
| | |||||
* | test: re-commit test file | Jan Lehnardt | 2020-07-10 | 1 | -0/+1003 |
| | |||||
* | chore: remove debugging leftovers | Jan Lehnardt | 2020-07-10 | 2 | -2/+1 |
| | |||||
* | fix: don’t append _users role for admin users | Jan Lehnardt | 2020-07-10 | 5 | -7/+14 |
| | |||||
* | fix: special case only for _design/_access | Jan Lehnardt | 2020-07-10 | 1 | -6/+14 |
| | |||||
* | feat: users now always have a default role _users | Jan Lehnardt | 2020-07-10 | 1 | -1/+1 |
| | |||||
* | feat: don’t load access ddocs into ddoc cache | Jan Lehnardt | 2020-07-10 | 7 | -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 emilio | Jan Lehnardt | 2020-07-10 | 1 | -0/+1 |
| | |||||
* | fix: all_docs on partitioned dbs, override partition requirement on faked ↵ | Jan Lehnardt | 2020-07-10 | 10 | -7/+3082 |
| | | | | access all docs query | ||||
* | fix(fabric): revert expected results, we should look into this later | Jan Lehnardt | 2020-07-10 | 1 | -3/+3 |
| | |||||
* | fix(repl): return rep id only in ok results | Jan Lehnardt | 2020-07-10 | 4 | -6/+1494 |
| | |||||
* | fix(peruse): old tests might leave _users db around and binary:part() fails | Jan Lehnardt | 2020-07-10 | 1 | -2/+2 |
| | |||||
* | chore: tmp disable show tests | Jan Lehnardt | 2020-07-10 | 1 | -2/+2 |
| | |||||
* | fix(doc): delete | Jan Lehnardt | 2020-07-10 | 1 | -6/+15 |
| | |||||
* | fix(changes): only apply access logic on access enabled dbs | Jan Lehnardt | 2020-07-10 | 2 | -20/+24 |
| | |||||
* | wip: changes and ddocs | Jan Lehnardt | 2020-07-10 | 15 | -44/+98 |
| | |||||
* | feat: per-document-access-control | Jan Lehnardt | 2020-07-10 | 25 | -113/+530 |
| | |||||
* | Port view_compaction test to elixir | Juanjo Rodriguez | 2020-07-07 | 4 | -2/+109 |
| | |||||
* | Port view_collation_raw.js to elixir | Juanjo Rodriguez | 2020-07-07 | 3 | -1/+161 |
| | |||||
* | fix: set gen_server:call() timeout to infinity on ioq bypass | Jan Lehnardt | 2020-07-03 | 1 | -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 elixir | Juanjo Rodriguez | 2020-06-30 | 3 | -1/+144 |
| | |||||
* | Port reader_acl test into elixir test suite | Juanjo Rodriguez | 2020-06-29 | 3 | -2/+257 |
| | |||||
* | Skip tests as temporary views are not supported | Juanjo Rodriguez | 2020-06-27 | 1 | -0/+1 |
| | |||||
* | Tests already ported to elixir | Juanjo Rodriguez | 2020-06-27 | 2 | -0/+2 |
| | |||||
* | Merge pull request #2958 from bessbd/allow-drilldown-list-of-listsarchive/prototype/fdnprototype/fdn | Robert Newson | 2020-06-22 | 2 | -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 lists | Bessenyei Balázs Donát | 2020-06-22 | 2 | -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.0 | Alessio Biancalana | 2020-06-18 | 2 | -3/+3 |
| | |||||
* | fix: send CSP header to make Fauxotn work fully | Jan Lehnardt | 2020-06-18 | 3 | -2/+91 |
| | | | | Co-authored-by: Robert Newson <rnewson@apache.org> | ||||
* | Make restricted partition search parameters return bad request | Bessenyei Balázs Donát | 2020-06-18 | 2 | -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 running | Nick Vatamaniuc | 2020-06-10 | 1 | -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-feature | Robert Newson | 2020-06-05 | 1 | -0/+10 |
|\ | | | | | Report if FIPS mode is enabled | ||||
| * | Report if FIPS mode is enabledreport-fips-feature | Robert Newson | 2020-06-05 | 1 | -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 roles | mauroporras | 2020-06-04 | 2 | -1/+2 |
| | |||||
* | 2906 couchjs sm version (#2911) | Simon Klassen | 2020-05-30 | 4 | -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 module | Juanjo Rodriguez | 2020-05-26 | 8 | -155/+56 |
| | |||||
* | Port rev_stemming into elixir | Juanjo Rodriguez | 2020-05-26 | 3 | -1/+195 |
| | |||||
* | Merge pull request #2900 from apache/jwtf-erlang-19-2 | Robert Newson | 2020-05-21 | 1 | -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-2 | Robert Newson | 2020-05-21 | 1 | -1/+1 |
|/ |