Users with only 'select' permission can now filter, order by, and
group by all permlevel 0 fields, not just search fields.
- Added _get_filterable_fields() returning all permlevel 0 fields
for select permission users
- Split permission checking into check_select_field_permission()
and check_filter_field_permission()
- select field validation uses check_select_field_permission
- Filter/order/group by validation uses check_filter_field_permission
* fix(diff): add type hints to whitelisted methods
* fix(global_search): add type hints to whitelisted methods
* fix(custom_html_block): add type hints to whitelisted methods
* fix(deleted_document): add type hints to whitelisted methods
* fix(log_settings): add type hints to whitelisted methods
* fix(role): add type hints to whitelisted methods
* fix(user_type): add type hints to whitelisted methods
* fix(rq_job): add type hints to whitelisted methods
* fix(link_preview): add type hints to whitelisted methods
* fix(email_account): add type hints to whitelisted methods
* fix(web_form): add type hints to whitelisted methods
* fix(web_page_view): add type hints to whitelisted methods
* fix(csvutils): add type hints to whitelisted methods
* fix(file_manager): add type hints to whitelisted methods
* fix(email_body): add type hints to whitelisted methods
* fix(email_queue): add type hints to whitelisted methods
* fix(email_template): add type hints to whitelisted methods
* fix(notification): add type hints to whitelisted methods
* fix(email_group): add type hints to whitelisted methods
* fix(inbox): add type hints to whitelisted methods
* fix(recorder): add type hints to whitelisted methods
* fix(sms_settings): add type hints to whitelisted methods
* fix: tighten type hints
* fix(data_import): add type hints to whitelisted methods
* fix(user_permission): add type hints to whitelisted methods
* fix(gantt): add type hints to whitelisted methods
* fix(like): add type hints to whitelisted methods
* fix(search): add type hints to whitelisted methods
* fix(onboarding_step): add type hints to whitelisted methods
* fix(system_console): add type hints to whitelisted methods
* fix(workspace_sidebar): add type hints to whitelisted methods
* fix(todo): add type hints to whitelisted methods
* fix: correct type hints
* fix(print_format): add type hints to whitelisted methods
* fix(client): add type hints to whitelisted methods
- use a stable index checkpoint with creation + name so rows are not skipped
- fetch more BM25 matches before reranking, then return the top MAX_SEARCH_RESULTS
- add stable tie-breakers in reranking (BM25 and original rank)
- improve title matching by checking full words instead of substrings
- remove abs normalization in base score
set_docfields was passing the row's mutated docfields (with stale
reqd/read_only/hidden from dependency evaluation) as source to
make_docfield_copy_for, poisoning the copy store for whichever doc
landed at that position after deletion/reorder.
- Remove make_docfield_copy_for call from set_docfields (the copy store
seeds itself lazily from clean originals in get_docfield_copy)
- Always call set_docfields() on refresh so rows pick up correct copies
when doc identity changes at a position
- Thread grid.docfields through meta.js so new copy-store entries
include grid-level customizations (set_df_property on child fields)
Closes#36921
* fix(sendmail): enhance queuing of cc and bcc recipients to avoid duplicates
* revert: fix(sendmail): enhance queuing of cc and bcc recipients to avoid duplicates
This reverts commit 66c0c1cfb7c0f46f5687ce5266f945e88dadc1db.
* docs(email_queue): clarify behavior of queue_separately and CC/BCC in email queue