James Booth
d38e10828e
Added /lastactivity on|off
2015-10-14 22:09:18 +01:00
James Booth
1fd2a8a4e9
Send service-unavailable when lastactivity disabled
2015-10-14 21:45:19 +01:00
James Booth
5fb8acb17f
Use lastactivity preference for presence updates
2015-10-14 21:30:48 +01:00
James Booth
8c9174b82f
Added lastactivity preference
2015-10-14 21:17:46 +01:00
James Booth
aae526fbde
Moved idle time check for last activity
2015-10-14 21:12:26 +01:00
James Booth
85764ddb53
Added TLS show to UI preferences
2015-10-14 00:58:33 +01:00
James Booth
ef832ce526
Add preference for showing TLS indicator in titlebar
...
Issue #616
2015-10-14 00:48:11 +01:00
James Booth
c9165ef9d2
Title bar TLS indicator
...
Issue #616
2015-10-14 00:29:22 +01:00
James Booth
ecbcecea7d
Fixed closing room config windows
2015-10-13 20:46:59 +01:00
James Booth
6e28df66e8
Use libstrophe/libmesode uuid generator
2015-10-12 23:37:11 +01:00
Michael Vetter
e434b1bbf8
Create is_notify_enabled function
...
The same code was used on two different occasions. I put it into a
function.
2015-10-12 09:29:04 +02:00
Michael Vetter
4730dca546
Undefine argument list
...
Call va_end() to correclty stop using the argument list.
2015-10-12 09:29:04 +02:00
Michael Vetter
dd2ce7a5bf
Reduce scope of variables in ui/core
...
Not as important as the other one (where there was a double
declaration). But for the sake of consistency.
2015-10-12 09:29:01 +02:00
Michael Vetter
8dfa41ea8e
Remove double declaration and reduce scope of pcontact
...
In command/commands.c you declare pcontact at the top of the function.
Later in one case you declare it again and use it in a small scope. And
in the same function you use it again this time from the first
declaration. I think you intended only declaring it one time. At first I
thought about top of the function because its easier to find. Then I saw
that you declare "Jid jid" not at the top too, and I think for the sake
of reducing scope it is better. So I went for this approach.
2015-10-09 10:34:58 +02:00
James Booth
de15d47be4
Fixed resize during password and tls commands
2015-10-06 23:21:47 +01:00
James Booth
09cd288186
Updated theme template, changed default lastactivity format
2015-09-30 23:22:39 +01:00
James Booth
b9948a4c01
Added time format perferences per window type
2015-09-30 22:34:27 +01:00
James Booth
075c108e2d
Fixed spelling
2015-09-30 00:07:35 +01:00
James Booth
1afe492e30
Added jabber:iq:last to capabilities
2015-09-29 23:55:01 +01:00
James Booth
99fc70bd92
Added last activity time format option
2015-09-29 23:30:23 +01:00
James Booth
ac1164a3fa
Use more specific messages for last activity responses
2015-09-29 21:51:04 +01:00
James Booth
09833fb0dd
Unmap key sequence Alt+=
...
Fixes #629
2015-09-29 21:08:42 +01:00
James Booth
bfdda17b7f
Fix last active query
2015-09-29 00:53:58 +01:00
James Booth
26d160cae8
WIP: Added last activity request and response
2015-09-29 00:01:38 +01:00
James Booth
a12624ea75
Increased help examples size
2015-09-28 21:39:09 +01:00
James Booth
9f4e2c036e
Added contact OTR policy to help
2015-09-28 21:34:27 +01:00
James Booth
0b03f72b2c
Added missing account properties to /account rename
2015-09-28 21:24:49 +01:00
James Booth
16103f6cc7
Removed old code to fix legacy accounts
2015-09-28 20:42:59 +01:00
James Booth
9593e17c3c
Include last activity in initial presence
2015-09-27 23:53:06 +01:00
James Booth
54e225aa53
Added auto xa option, tidied autoaway code
2015-09-27 23:08:30 +01:00
James Booth
fe22fea9a8
Fixed spelling mistake
2015-09-27 18:32:21 +01:00
James Booth
6f2487c5c1
Tidied autoaway code
2015-09-25 23:29:10 +01:00
James Booth
ca3da5a929
Allow autoaway when status is dnd
2015-09-25 23:04:57 +01:00
James Booth
100db7c36c
Set status to what it was before autoaway
2015-09-25 22:55:44 +01:00
James Booth
22ba3db0b2
Send current presence when autoaway mode idle
2015-09-25 22:08:21 +01:00
James Booth
f7aa03f8e6
Include last activity with autoaway mode away
2015-09-25 21:53:29 +01:00
James Booth
a5c6710024
Removed redundant last activity setter
2015-09-25 00:35:08 +01:00
James Booth
b484411ea8
Save last activity to account on disconnect
2015-09-25 00:26:58 +01:00
James Booth
b96e3f100b
Fixed /tls help
2015-09-24 01:23:48 +01:00
James Booth
3e38d64397
Added HAVE_LIBMESODE check before setting cert path
2015-09-24 01:13:45 +01:00
James Booth
bd42185389
Added /tls revoke
2015-09-24 01:06:53 +01:00
James Booth
8d2c7f1ac0
Show trusted certificate fingerprint first
2015-09-24 00:44:48 +01:00
James Booth
6f8ad6b8e8
Added /tls trusted command
2015-09-24 00:43:41 +01:00
James Booth
d96e68ea53
Save trusted certificates to tlscerts file with more information
2015-09-24 00:18:18 +01:00
James Booth
40ce5cb0e0
Parse TLS cert subject
2015-09-23 23:01:59 +01:00
James Booth
1eab57bd13
Perform directory exists check before setting TLS cert path
2015-09-23 20:42:47 +01:00
James Booth
0321adde3e
Fixed spelling
2015-09-23 20:38:52 +01:00
James Booth
a37d55e1a9
Added TLS trusted certificate path preference
2015-09-23 20:37:41 +01:00
James Booth
bd9c28c100
Tidied output for cert callback
2015-09-23 00:17:10 +01:00
James Booth
a964050b87
Use subject name in cert callback
2015-09-22 23:56:22 +01:00
James Booth
b88885aaae
Store trusted TLS cert fingerprints
2015-09-22 22:44:18 +01:00
James Booth
9a53854a1d
Added conditionals for libmesode cert verification
2015-09-22 21:55:46 +01:00
James Booth
9414ad268d
Prompt user to allow or deny untrusted TLS certificates
2015-09-22 21:42:05 +01:00
James Booth
74151e6419
Added TLS cert fail callback
2015-09-22 20:55:41 +01:00
James Booth
2b88e2f1bf
Check for libmesode, fall back to libstrophe
2015-09-21 21:40:04 +01:00
James Booth
d7bba74091
Moved /winstidy command to /wins autotidy
2015-09-19 23:31:04 +01:00
James Booth
232cc7601d
Added otr and pgp to /prefs command help
2015-09-09 22:59:47 +01:00
James Booth
03ee1d56e6
Added conference and receipts features to caps query response
2015-09-09 22:36:07 +01:00
James Booth
fed6128bbc
Spelling fix
2015-09-09 19:31:11 +01:00
James Booth
b266e4d035
Pass delay timestamp to all incoming chat events
2015-09-08 20:18:31 +01:00
James Booth
e44688306b
Removed duplicate help entry for /roster show empty
2015-09-02 00:07:25 +01:00
James Booth
8a90e1acf1
PGP: Use old gpgme_io_write
2015-09-01 21:52:11 +01:00
James Booth
aee832f7c1
PGP: Use old gpgme_io_write
2015-09-01 21:40:07 +01:00
James Booth
b468fd7ae4
PGP: UI tweaks for passphrase request
2015-09-01 21:25:58 +01:00
James Booth
4d18c5ff52
PGP: Added null check for passphrase_attempt
2015-09-01 21:08:23 +01:00
James Booth
53035f5e4c
Save PGP passphrase when correct
2015-09-01 21:05:17 +01:00
James Booth
7dc1b9d428
Fixed passing from arg in PGP ask passphrase
2015-09-01 20:33:23 +01:00
James Booth
1f4fd0fcb3
Added UI function to get PGP passphrase
2015-09-01 20:16:04 +01:00
James Booth
dd346eefc4
Added PGP passphrase callback
2015-09-01 19:24:56 +01:00
James Booth
688be91c23
PGP: Format fingerprints
2015-08-30 02:12:05 +01:00
James Booth
b4722632b6
Split PGP incoming and outgoing message handling
2015-08-30 01:32:13 +01:00
James Booth
1484e94b35
Fixed OTR decryption check
2015-08-27 00:37:48 +01:00
James Booth
ef52840d91
Added str_contains_str to common
2015-08-26 23:52:40 +01:00
James Booth
55158767cc
Renamed enc_message parameter for incoming messages
2015-08-26 23:23:12 +01:00
James Booth
4b90a53566
Tidied sv_ev_incoming_message
2015-08-26 23:15:10 +01:00
James Booth
fc60c9fbf1
Fixed OTR char display
2015-08-26 21:42:16 +01:00
James Booth
5e962fe0f5
Fixed compile when no OTR or PGP support
2015-08-26 01:48:21 +01:00
James Booth
35239ee319
Added otr and pgp char to themes
2015-08-26 01:36:41 +01:00
James Booth
98ea744648
Added /otr char and /pgp char
2015-08-26 01:24:53 +01:00
James Booth
1bf584793f
Added preference for encryption char
2015-08-26 01:06:10 +01:00
James Booth
48630d45a4
Added check for libgpgme on account autocomplete
2015-08-26 00:48:01 +01:00
James Booth
f998ab8f3b
Display special char for encrypted messages
2015-08-26 00:42:56 +01:00
James Booth
4b0ee89fa3
PGP: Added key ID autocompletion to /account setting
2015-08-25 23:48:21 +01:00
James Booth
cb19be2ffc
Added PGP key autocompleter
2015-08-25 23:44:03 +01:00
James Booth
55c2d1cc21
PGP: Display whether contact public key was received or manually set
2015-08-25 23:04:21 +01:00
James Booth
fc1ee79190
PGP: Show key IDs for assigned public keys
2015-08-25 22:45:51 +01:00
James Booth
592a3695a5
PGP: Do not save contact's fingerprint when no key found
2015-08-25 21:58:24 +01:00
James Booth
872ab8e529
Added HAVE_LIBGPGME check for setting account key
2015-08-25 20:35:45 +01:00
James Booth
f6a91145b6
Show public/private indicator when listing PGP keys
2015-08-25 00:21:49 +01:00
James Booth
d6ff72cf48
Show public keys in PGP key list
2015-08-24 22:27:15 +01:00
James Booth
525876770a
Removed unused barejid argument from PGP decryption
2015-08-24 00:13:57 +01:00
James Booth
b8b54f91a5
Leave chat rooms before receiving self unavailable presence
...
Fixes bug for servers that don't send the self presence
2015-08-23 23:56:34 +01:00
James Booth
b1ab4b2854
Added JID to log when failing to load PGP fingerprint
...
Added PGP stub for tests
2015-08-23 23:09:44 +01:00
James Booth
8501d1db33
Validate PGP key when chosen for account
2015-08-23 23:05:39 +01:00
James Booth
57ca441f02
Check for valid PGP key on start
2015-08-23 22:54:41 +01:00
James Booth
c07638746a
Log recipient used for PGP decryption
2015-08-23 22:18:54 +01:00
James Booth
d791e4dd59
Free OTR TLVS
2015-08-20 22:23:31 +01:00
James Booth
c18b7f4d67
Free id for OTR messages
2015-08-20 22:02:58 +01:00
James Booth
2af5c151a0
Tidied pgp memory allocations
2015-08-11 01:00:23 +01:00
James Booth
e2a528cad4
Free pgp key on connect
2015-08-10 22:18:19 +01:00