Re: [PR] mango: add $beginsWith operator [couchdb]

2023-11-01 Thread via GitHub
pgj commented on PR #4810: URL: https://github.com/apache/couchdb/pull/4810#issuecomment-1789425187 > Another sentinel value might work, good idea. Sure but what should be that value specifically? My impression is that 0x was created for that exact purpose because it was missing

Re: [PR] mango: add $beginsWith operator [couchdb]

2023-11-01 Thread via GitHub
nickva commented on PR #4810: URL: https://github.com/apache/couchdb/pull/4810#issuecomment-1789416560 Another sentinel value might work, good idea. CentOS is EOL next year so then we can deprecate support for it and remove a few hacks we have for it. -- This is an automated

Re: [PR] Decouple offline hash strength from online [couchdb]

2023-11-01 Thread via GitHub
rnewson commented on code in PR #4814: URL: https://github.com/apache/couchdb/pull/4814#discussion_r1379094457 ## src/couch/src/couch_passwords_cache.erl: ## @@ -0,0 +1,65 @@ +% Licensed under the Apache License, Version 2.0 (the "License"); you may not +% use this file except

Re: [PR] Decouple offline hash strength from online [couchdb]

2023-11-01 Thread via GitHub
rnewson commented on code in PR #4814: URL: https://github.com/apache/couchdb/pull/4814#discussion_r1379093773 ## src/couch/src/couch_passwords_cache.erl: ## @@ -0,0 +1,65 @@ +% Licensed under the Apache License, Version 2.0 (the "License"); you may not +% use this file except

Re: [PR] Decouple offline hash strength from online [couchdb]

2023-11-01 Thread via GitHub
rnewson commented on code in PR #4814: URL: https://github.com/apache/couchdb/pull/4814#discussion_r1379093552 ## src/couch/src/couch_passwords.erl: ## @@ -69,106 +68,74 @@ get_unhashed_admins() -> ({_User, "-pbkdf2-" ++ _}) -> % already hashed

Re: [PR] Decouple offline hash strength from online [couchdb]

2023-11-01 Thread via GitHub
rnewson commented on code in PR #4814: URL: https://github.com/apache/couchdb/pull/4814#discussion_r1379093251 ## src/couch/src/couch_password_hasher.erl: ## @@ -21,20 +21,41 @@ init/1, handle_call/3, handle_cast/2, +handle_info/2, code_change/3 ]).

Re: [PR] Decouple offline hash strength from online [couchdb]

2023-11-01 Thread via GitHub
nickva commented on code in PR #4814: URL: https://github.com/apache/couchdb/pull/4814#discussion_r1378989463 ## src/couch/src/couch_passwords_cache.erl: ## @@ -0,0 +1,65 @@ +% Licensed under the Apache License, Version 2.0 (the "License"); you may not +% use this file except

Re: [PR] Decouple offline hash strength from online [couchdb]

2023-11-01 Thread via GitHub
nickva commented on code in PR #4814: URL: https://github.com/apache/couchdb/pull/4814#discussion_r1378976731 ## src/couch/src/couch_password_hasher.erl: ## @@ -21,20 +21,41 @@ init/1, handle_call/3, handle_cast/2, +handle_info/2, code_change/3 ]).

Re: [PR] Decouple offline hash strength from online [couchdb]

2023-11-01 Thread via GitHub
rnewson commented on code in PR #4814: URL: https://github.com/apache/couchdb/pull/4814#discussion_r1378872713 ## src/couch/src/couch_passwords_cache.erl: ## @@ -0,0 +1,65 @@ +% Licensed under the Apache License, Version 2.0 (the "License"); you may not +% use this file except

Re: [PR] Decouple offline hash strength from online [couchdb]

2023-11-01 Thread via GitHub
rnewson commented on code in PR #4814: URL: https://github.com/apache/couchdb/pull/4814#discussion_r1378861581 ## src/couch/src/couch_passwords_cache.erl: ## @@ -0,0 +1,65 @@ +% Licensed under the Apache License, Version 2.0 (the "License"); you may not +% use this file except

Re: [PR] Decouple offline hash strength from online [couchdb]

2023-11-01 Thread via GitHub
rnewson commented on code in PR #4814: URL: https://github.com/apache/couchdb/pull/4814#discussion_r1378853926 ## src/couch/src/couch_password_hasher.erl: ## @@ -45,29 +66,95 @@ start_link() -> init(_Args) -> hash_admin_passwords(true), -{ok, #state{}}. +

[PR] Add Debian Bookworm for packaging [couchdb-pkg]

2023-11-01 Thread via GitHub
big-r81 opened a new pull request, #115: URL: https://github.com/apache/couchdb-pkg/pull/115 (no comment) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe,

[PR] Add Debian Bookworm [couchdb-ci]

2023-11-01 Thread via GitHub
big-r81 opened a new pull request, #58: URL: https://github.com/apache/couchdb-ci/pull/58 Bumped Erlang, Elixir, Node versions ... -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific

Re: [PR] Decouple offline hash strength from online [couchdb]

2023-11-01 Thread via GitHub
rnewson commented on code in PR #4814: URL: https://github.com/apache/couchdb/pull/4814#discussion_r1378759270 ## src/couch/src/couch_password_hasher.erl: ## @@ -45,29 +66,95 @@ start_link() -> init(_Args) -> hash_admin_passwords(true), -{ok, #state{}}. +

Re: [PR] Decouple offline hash strength from online [couchdb]

2023-11-01 Thread via GitHub
rnewson commented on code in PR #4814: URL: https://github.com/apache/couchdb/pull/4814#discussion_r1378758404 ## src/couch/src/couch_password_hasher.erl: ## @@ -45,29 +66,95 @@ start_link() -> init(_Args) -> hash_admin_passwords(true), -{ok, #state{}}. +

Re: [PR] Decouple offline hash strength from online [couchdb]

2023-11-01 Thread via GitHub
rnewson commented on code in PR #4814: URL: https://github.com/apache/couchdb/pull/4814#discussion_r1378756370 ## src/couch/src/couch_password_hasher.erl: ## @@ -21,20 +21,41 @@ init/1, handle_call/3, handle_cast/2, +handle_info/2, code_change/3 ]).

Re: [PR] Decouple offline hash strength from online [couchdb]

2023-11-01 Thread via GitHub
rnewson commented on code in PR #4814: URL: https://github.com/apache/couchdb/pull/4814#discussion_r1378756370 ## src/couch/src/couch_password_hasher.erl: ## @@ -21,20 +21,41 @@ init/1, handle_call/3, handle_cast/2, +handle_info/2, code_change/3 ]).

Re: [PR] Decouple offline hash strength from online [couchdb]

2023-11-01 Thread via GitHub
rnewson commented on code in PR #4814: URL: https://github.com/apache/couchdb/pull/4814#discussion_r1378756370 ## src/couch/src/couch_password_hasher.erl: ## @@ -21,20 +21,41 @@ init/1, handle_call/3, handle_cast/2, +handle_info/2, code_change/3 ]).

Re: [PR] mango: add $beginsWith operator [couchdb]

2023-11-01 Thread via GitHub
pgj commented on PR #4810: URL: https://github.com/apache/couchdb/pull/4810#issuecomment-1788849130 > whether there's a pragmatically high code point we could use as the high bound I was thinking about the same. Unfortunately I am not that experienced with Unicode collation and

Re: [I] Need to limit access to Fauxton UI to localhost, but maintain remote API access. [couchdb]

2023-11-01 Thread via GitHub
estoT1 closed issue #4827: Need to limit access to Fauxton UI to localhost, but maintain remote API access. URL: https://github.com/apache/couchdb/issues/4827 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above

Re: [I] Need to limit access to Fauxton UI to localhost, but maintain remote API access. [couchdb]

2023-11-01 Thread via GitHub
estoT1 commented on issue #4827: URL: https://github.com/apache/couchdb/issues/4827#issuecomment-1788763323 Thank you, this fully answers my question! Have a great day! -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and

Re: [I] Need to limit access to Fauxton UI to localhost, but maintain remote API access. [couchdb]

2023-11-01 Thread via GitHub
rnewson commented on issue #4827: URL: https://github.com/apache/couchdb/issues/4827#issuecomment-1788722544 Got it. What you can do is remove all the files under the `share/www` directory, and then `/_utils` won't serve up those files. You can then place those files elsewhere and

Re: [PR] mango: add $beginsWith operator [couchdb]

2023-11-01 Thread via GitHub
willholley commented on PR #4810: URL: https://github.com/apache/couchdb/pull/4810#issuecomment-1788606504 I wonder whether there's a pragmatically high code point we could use as the high bound in `$beginsWith` until we drop support for Centos 7 (it goes out of support next year)? --

Re: [I] Need to limit access to Fauxton UI to localhost, but maintain remote API access. [couchdb]

2023-11-01 Thread via GitHub
estoT1 commented on issue #4827: URL: https://github.com/apache/couchdb/issues/4827#issuecomment-1788590244 Thank you for your prompt reply, all feedback is appreciated. From your reply I infer the Fauxton UI cannot be limited to local host bind address from the APIs? Short

Re: [PR] mango: add $beginsWith operator [couchdb]

2023-11-01 Thread via GitHub
willholley commented on PR #4810: URL: https://github.com/apache/couchdb/pull/4810#issuecomment-1788538868 Looking at https://icu.unicode.org/download/, it looks like there was a [rewrite of the collator](https://icu.unicode.org/design/collation/v2) for ICU 53 which includes better support