WIP: feat/upstream-sync #104

Closed
jabber.developer2 wants to merge 54 commits from feat/upstream-sync into master

54 Commits

Author SHA1 Message Date
6d8942972f fix: move trusted_attrs declarations inside #ifdef HAVE_OMEMO in _show_muc_privacy
Some checks failed
CI Code / Check coding style (pull_request) Failing after 8s
CI Code / Check spelling (pull_request) Successful in 20s
CI Code / Linux (debian) (pull_request) Successful in 4m38s
CI Code / Linux (arch) (pull_request) Successful in 5m10s
CI Code / Code Coverage (pull_request) Successful in 6m59s
CI Code / Linux (ubuntu) (pull_request) Successful in 14m1s
Variables trusted_attrs and untrusted_attrs were declared unconditionally
but only used inside #ifdef HAVE_OMEMO block, causing -Werror=unused-variable
failure in builds without OMEMO (CI builds 2 and 3).
2026-04-03 13:15:48 +03:00
48b36a0269 fix: add missing omemo_is_jid_trusted(), auto_gerror macro, and titlebar variable declarations
Some checks failed
CI Code / Check coding style (pull_request) Failing after 12s
CI Code / Check spelling (pull_request) Successful in 23s
CI Code / Linux (debian) (pull_request) Failing after 5m42s
CI Code / Linux (ubuntu) (pull_request) Failing after 6m3s
CI Code / Code Coverage (pull_request) Successful in 7m2s
CI Code / Linux (arch) (pull_request) Failing after 8m20s
Fixes build errors from cherry-picked upstream patches:
- Add omemo_is_jid_trusted() function (from upstream trust indicator feature)
- Add auto_gerror/PROF_GERROR_MESSAGE macros (needed by /changes command)
- Add trusted_attrs/untrusted_attrs declarations in _show_muc_privacy()
- Remove stale 'error' reference in omemo_receive_message()
2026-03-31 21:01:26 +03:00
7bb8f2efb3 upstream: fix: define prefs_changes_print outside of prefs_changes (309c0a64a) 2026-03-31 20:05:02 +03:00
35ab9ca457 upstream: Use the stronger certificate fingerprint. (a07cff8a9) 2026-03-31 19:59:24 +03:00
fff03ff543 upstream: Retrieve and save new fingerprints from libstrophe. (0acea8d0d) 2026-03-31 19:59:24 +03:00
05efdf83e2 upstream: Prepare to use SHA256 fingerprints of certs. (4dcaa839f) 2026-03-31 19:59:24 +03:00
05cdd31299 upstream: Return error on /time <invalid-section> (29129bf88) 2026-03-31 19:59:13 +03:00
ac6c3a13a9 upstream: Fix Git version strings for out-of-tree builds. (4b610579a) 2026-03-31 19:59:13 +03:00
1859d61620 upstream: cleanup: Fix cast function type warnings in pgp.c (b6a70aa47) 2026-03-31 19:58:59 +03:00
dda8a6f722 upstream: cleanup: Wrap release handler in iq.c (12a181b5d) 2026-03-31 19:58:59 +03:00
b1aa840e06 upstream: Add types to function prototypes (a704887f1) 2026-03-31 19:58:59 +03:00
ccd6a8b3c3 upstream: Use gboolean consistently. (62fd40c51) 2026-03-31 19:58:59 +03:00
c99d852ad7 upstream: Simplify conf_string_list_{add,remove}() implementations. (b0221f614) 2026-03-31 19:58:59 +03:00
ef958772a9 upstream: Add new command /changes (24c3b5d53) 2026-03-31 19:58:59 +03:00
1c12498a1b upstream: Print PID in debug logs. (1aeb19acb) 2026-03-31 19:58:59 +03:00
a7a09a813a upstream: Minor improve theme (038f345a4) 2026-03-31 19:58:59 +03:00
e1de3eee8e upstream: Fix overwriting new accounts when running multiple instances. (81f92f1fe) 2026-03-31 19:58:59 +03:00
c1dd6b8b1a upstream: fix: Improve status reporting and filename handling for /url save (a9ef00032) 2026-03-31 19:57:35 +03:00
c67f716eb9 upstream: fix(ui): Fix custom outgoing stamp and fix stamp command help (b0a89530f) 2026-03-31 19:57:34 +03:00
b0f4590082 upstream: feat: Add command autocompletion for /stamp (9035af95c) 2026-03-31 19:57:34 +03:00
9538816bef upstream: feat: Display incoming reports (XEP-0377) (93918a20d) 2026-03-31 19:57:34 +03:00
c03d3d499b upstream: fix: Use <body> tag for spam reporting (XEP-0377) (446f28ac3) 2026-03-31 19:57:34 +03:00
7de1b52962 upstream: docs: Improve help for /blocked (030c0b799) 2026-03-31 19:57:34 +03:00
66e84a2735 upstream: fix: Check for necessary pointers in omemo_receive_message (25d2cb012) 2026-03-31 19:57:34 +03:00
19c87e74f2 upstream: Simplify accounts_get_account(). (7c04b17af) 2026-03-31 19:54:07 +03:00
dd8b62f43d upstream: When renaming an account, copy all existing keys. (c61c72f2f) 2026-03-31 19:54:07 +03:00
5fc3b41707 upstream: Fix reconnect when no account has been set up yet. (f19acc215) 2026-03-31 19:54:07 +03:00
7215aacd5e upstream: cleanup: add a defensive check in cmd_process_input() (f74501e97) 2026-03-31 19:52:25 +03:00
23436ae0aa upstream: fix: fix redundant error reporting in http download (286e563fb) 2026-03-31 19:52:25 +03:00
56488dd2f9 upstream: fix: fix api_get_current_occupants() memory problems (1ec536d34) 2026-03-31 19:52:25 +03:00
034b789f1c upstream: fix: Fix Floating Point Exception in OMEMO session building (bc13a726b) 2026-03-31 19:51:20 +03:00
f6b2347811 upstream: fix: Ignore self-presence for untracked MUC rooms (9fb45b543) 2026-03-31 19:51:20 +03:00
a8716bf8a7 perf: optimize random data generation (upstream d9a8c579) 2026-03-31 19:50:30 +03:00
6831c4a192 perf: flush OMEMO store only after encrypting for all recipients (upstream cbe6dac4) 2026-03-31 19:48:20 +03:00
e8b8a8d52e fix: don't publish OMEMO keys if server doesn't support pubsub (upstream 01c781fc) 2026-03-31 19:46:19 +03:00
1bf7324970 fix: allow adding own JID to roster (upstream 4c731f52) 2026-03-31 19:39:28 +03:00
6730719355 feat: only request receipts when supported (upstream 421bb2e2) 2026-03-31 19:37:09 +03:00
e55b1b3e9d feat(ui): implement dynamic pad resizing (upstream 3e16ae1d) 2026-03-31 19:32:18 +03:00
d7decd7f17 fix: reduce OMEMO trust check frequency + trust indicators in titlebar (upstream 62458557) 2026-03-31 19:25:06 +03:00
626f67237d fix: OTR whitespace tag detection to prevent false positives (upstream cff26a97) 2026-03-31 19:23:09 +03:00
1ffff8de33 fix: check connection state before accepting command (upstream 613df864) 2026-03-31 19:21:05 +03:00
7bc5b3cf2e fix: exit gracefully on SIGTERM and SIGHUP (upstream 7c83c260) 2026-03-31 19:19:02 +03:00
bba6bc5f76 feat: sanitize illegal XML characters from outgoing messages (upstream 189050f3) 2026-03-31 19:16:57 +03:00
3fa6542fb8 fix: OMEMO startup initialization (upstream 79ff9bad) 2026-03-31 19:10:48 +03:00
46987dee77 fix: rare memleak in roster_list (upstream 2d7426fb) 2026-03-31 19:10:03 +03:00
d4112a3efb fix: NULL deref in cmd_omemo_trust/untrust (upstream 3d2a82ad) 2026-03-31 19:09:39 +03:00
1c95446084 fix: file handle leak in cmd_sendfile on OMEMO error (upstream 156b78ad) 2026-03-31 19:09:16 +03:00
7f7e8307f4 fix: potential null pointer deref in cmd_ac_complete (upstream 16080ab9) 2026-03-31 19:08:25 +03:00
fbcb49f6d0 fix: NULL deref and memleaks in OX logic (upstream 2406413e) 2026-03-31 19:03:43 +03:00
c7c4c8da78 fix: memleaks in tlscerts and console (upstream 7f5ae430) 2026-03-31 19:02:53 +03:00
d993155c30 fix: invalid free after /omemo gen (upstream fa1c4ddd) 2026-03-31 19:02:24 +03:00
1dc1785b4c fix: memory leaks when OMEMO keys not generated yet (upstream 1d508d59) 2026-03-31 19:01:43 +03:00
a9ee765c49 fix: memory leak and crash when id is NULL in iq_id_handler_add (upstream 0218ba26) 2026-03-31 18:56:02 +03:00
0b7ec1c5b6 fix: potential segfault in log_database_get_limits_info (upstream ff65db0b) 2026-03-31 18:52:45 +03:00