diff --git a/src/agents/store/object-model.c b/src/agents/store/object-model.c index 18de663..5aaa8a1 100644 --- a/src/agents/store/object-model.c +++ b/src/agents/store/object-model.c @@ -986,6 +986,7 @@ StoreObjectIterConversationMails(StoreClient *client, StoreObject *conversation, // no error checking here.. bad... :) QueryBuilderStart(&builder); + QueryBuilderSetOutputMode(&builder, MODE_LIST); QueryBuilderSetQuerySafe(&builder, query); diff --git a/src/www/bongo_web/filters.py b/src/www/bongo_web/filters.py index 23917c5..f368033 100644 --- a/src/www/bongo_web/filters.py +++ b/src/www/bongo_web/filters.py @@ -161,6 +161,10 @@ def compile_filter(value, rule_id, group_resolver=lambda _name: ()): def _native_rules(): try: + # The lightweight rules binding uses ConnIO and NMAP directly. Load + # the main native module first so those process-wide libraries are + # initialised exactly once before a request thread opens a connection. + import libbongo.libs # noqa: F401 from libbongo import _rules except ImportError as error: raise RuntimeError("the native Bongo rules store is unavailable") from error diff --git a/src/www/static/app.css b/src/www/static/app.css index f23f4e1..a8442fe 100644 --- a/src/www/static/app.css +++ b/src/www/static/app.css @@ -21,8 +21,8 @@ :root { font: 14px/1.45 "Lucida Grande", Verdana, "Bitstream Vera Sans", sans-serif; color: #111; background: #e4eaf4; } * { box-sizing: border-box; } -html, body { margin: 0; min-height: 100%; overflow-x: hidden; overflow-y: auto; } -body { background: #e7e4ef url('/assets/bg-page.png') repeat-x 0 0; } +html { margin: 0; min-height: 100%; overflow-x: hidden; overflow-y: auto; } +body { margin: 0; min-height: 100%; overflow: visible; background: #e7e4ef url('/assets/bg-page.png') repeat-x 0 0; } button, input, select { font: inherit; } button { cursor: pointer; } [hidden] { display: none !important; }