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
James Booth
0410dd90f1
Free timestamp and id for receipts
2015-08-09 23:08:36 +01:00
James Booth
dea10ecfdc
Dereference timestamp on chat logging
2015-08-09 01:24:15 +01:00
James Booth
d501576fcf
Free gpgme context on verification
2015-08-09 01:20:16 +01:00
James Booth
1422af05fc
Free pgp headers
2015-08-09 01:16:41 +01:00
James Booth
131f1788c2
Free software version result properties
2015-08-09 01:10:02 +01:00
James Booth
3b79d5aa63
Dereference pgp key
2015-08-09 00:54:11 +01:00
James Booth
70c0eeed1e
Free error message in carbons handlers
2015-08-09 00:43:00 +01:00
James Booth
783342a48c
Free timestamps and carbons stanzas
2015-08-09 00:40:37 +01:00
James Booth
8531357e88
Free strings in prefs_load
2015-08-09 00:20:17 +01:00
James Booth
103f80c227
Updated /help help
2015-08-08 22:38:50 +01:00
James Booth
406b821b35
Show software version result in current window
2015-08-06 01:56:52 +01:00
brandenbyers
4e5f197eb4
Fix typo
2015-08-05 13:10:59 -05:00
James Booth
af38ddc9e7
Handle resource not found on sofware version request
2015-08-05 01:14:41 +01:00
James Booth
0b7c79ac13
Use original JID in software version request in MUC
2015-08-05 01:01:46 +01:00
James Booth
ac3e7dd9e8
Handle software version requests for gateways that return from domainpart
2015-08-05 00:48:50 +01:00
James Booth
2a92169351
Use id handler for software version requests, handle errors
2015-08-05 00:26:29 +01:00
James Booth
091a23fc48
Modified /account help
2015-08-03 00:45:14 +01:00
James Booth
5619ba7058
Added account status autocomplete
2015-08-03 00:33:16 +01:00
James Booth
7151792b8c
Handle private messages that include muc#user namespace
2015-08-02 01:12:54 +01:00
James Booth
41c93c3350
Handle larger than line words in wrapping
2015-07-30 01:31:11 +01:00
James Booth
8ec931eb84
Added cons_show_padded
2015-07-29 23:48:28 +01:00
James Booth
79f618367d
Do not print newline when curs position 0
2015-07-29 23:03:00 +01:00
James Booth
5576b88a04
Added indent padding
2015-07-29 22:48:03 +01:00
James Booth
30c1cdd318
Refactored showing tagged command help
2015-07-28 00:10:18 +01:00
James Booth
08f43bee8e
Retagged commands
2015-07-27 23:55:04 +01:00
James Booth
eb550eedb3
Added tags to command definitions
2015-07-27 01:06:10 +01:00
James Booth
8119025120
Fixed tests for new command format
2015-07-27 00:04:48 +01:00
James Booth
59d5dd73a7
Use command definition macros for remaining commands
2015-07-26 20:43:59 +01:00
James Booth
6986a02ff3
Added command definition macros
2015-07-26 19:39:12 +01:00
James Booth
bd32f4dc47
Show command header in help output
2015-07-26 03:01:14 +01:00
James Booth
2b725f9144
Reordered command arguments
2015-07-26 02:28:45 +01:00
James Booth
4f9a848429
Added message for invalid /wins usage
2015-07-26 02:09:01 +01:00
James Booth
34537e2fb1
Removed old command help
2015-07-26 02:05:53 +01:00
James Booth
36ebf0fc17
Updated help category output
2015-07-26 01:27:42 +01:00
James Booth
cb7504e67f
Moved remaining help to new format
2015-07-26 00:17:16 +01:00
James Booth
b33f4777d0
Fix formatting for variables in new help
2015-07-25 20:57:21 +01:00
James Booth
19fb907bc5
Generate HTML docs using new help format
2015-07-25 20:43:16 +01:00
James Booth
90dda0e9a0
Added more help to new format
2015-07-25 00:45:20 +01:00
James Booth
b736883ac4
Added roster to new help format
2015-07-24 21:20:55 +01:00
James Booth
a8eb281553
Added msg to new help format
2015-07-24 00:44:56 +01:00
James Booth
44d7a152a4
Added connect to new help format
2015-07-24 00:33:38 +01:00
James Booth
22111bf75b
Moved help and about to new format
2015-07-23 23:05:33 +01:00
James Booth
e55ef63f61
Merge branch 'master' into help
2015-07-22 22:59:20 +01:00
James Booth
f9a7e35001
Added id attributes to roster queries
...
fixes #596
2015-07-22 22:48:37 +01:00
James Booth
59dd87d5f8
Fix /help commands spacing
2015-07-21 22:55:39 +01:00
James Booth
b63ede7964
Fixed time preference display
2015-07-19 22:56:22 +01:00
James Booth
46e2f11b93
Removed /mouse command
2015-07-19 22:48:12 +01:00
James Booth
84cc67fa88
Removed 'empty' from roster autocompleter
2015-07-14 20:59:55 +01:00
James Booth
051c6ed50e
Check for self jid on /software
...
fixed #592
2015-07-08 21:05:20 +01:00
James Booth
9a5fe29caa
Changed /roster empty -> /roster remove_all contacts
...
Make it difficult to accidentally use this command.
2015-07-08 20:51:39 +01:00
Daniel
806afcc014
Allow hiding of empty presence groups: /roster {show,hide} empty (default is show)
2015-07-08 13:11:56 +02:00
James Booth
6c668bce88
Migrate old time display format settings
2015-07-02 16:31:09 +01:00
James Booth
84a8da7741
Default autoping to 1 minute #541
2015-07-02 00:10:31 +01:00
James Booth
fb8b223876
Removed subscribed check when displaying roster panel
2015-07-02 00:01:37 +01:00
James Booth
10eb0bbbf8
Merge remote-tracking branch 'SamWhited/otr_no_store_carbons'
2015-07-01 21:09:45 +01:00
James Booth
d8c410d289
Don't write chars during password input
2015-07-01 21:00:31 +01:00
James Booth
446f5f0aa1
Merge remote-tracking branch 'pasis/ui-ignore-EINTR'
2015-07-01 20:55:22 +01:00
James Booth
106e909fbd
Merge remote-tracking branch 'incertia/time'
...
Conflicts:
src/config/preferences.c
2015-07-01 20:16:09 +01:00
Sam Whited
167ee28ec0
Add no-copy and no-store hints to OTR messages
2015-07-01 09:04:54 -05:00
James Booth
d5f79c7b35
Use reference counts for GDateTimes #516
2015-06-30 16:21:21 +01:00
James Booth
dd206ef637
WIP fix for #516 , needs memory cleanup
2015-06-29 23:48:41 +01:00
Dmitry Podgorny
f24019ee4d
ui: Ignore EINTR in inp_readline()
...
EINTR is usual situation during resizing of terminal window.
2015-06-25 18:17:10 +00:00
James Booth
fed55b5459
Do not update UI whilst receiving password
2015-06-25 00:33:28 +01:00
James Booth
524c7a8671
Free account on pgp presence send
2015-06-24 22:02:29 +01:00
James Booth
7f17fd2e48
Merge pull request #583 from pasis/jid-memleak
...
Fixed memory leak in jid_create()
2015-06-24 22:00:02 +01:00
Dmitry Podgorny
89b76400c8
jid: Fixed memory leak in jid_create()
2015-06-24 20:42:20 +00:00
James Booth
ae4c2781e1
Added messaage when account resource changed whilst connected
2015-06-24 21:36:39 +01:00
James Booth
583bccf631
Merge remote-tracking branch 'pasis/stderr-log-handler'
2015-06-24 21:02:21 +01:00
James Booth
240f6a3f79
Fixed various jid and account mem leaks
2015-06-24 20:53:04 +01:00
James Booth
626ab51ed4
free account after account connect
2015-06-24 20:24:39 +01:00
James Booth
48a2cad8fd
free muc autocompleter result
2015-06-24 20:20:55 +01:00
James Booth
026b0885b5
Merge remote-tracking branch 'pasis/prefs-alloc'
2015-06-24 20:14:00 +01:00
James Booth
2becd9170e
Merge remote-tracking branch 'pasis/gpgme-h-check'
2015-06-24 19:34:59 +01:00
James Booth
ac454fb1cc
Removed NULL checks when not required
2015-06-24 19:19:44 +01:00
Dmitry Podgorny
6325e4f64d
pgp: Added include config.h
...
gpgme.h checks _FILE_OFFSET_BITS macro and it's set at config.h
2015-06-24 14:21:28 +00:00
James Booth
17919298f7
Free prefs strings, check for NULLs when closing pgp module
2015-06-24 14:27:40 +01:00
Dmitry Podgorny
592cf2c69b
prefs: Don't mix allocator types
2015-06-24 12:50:04 +00:00
James Booth
8eb921e34a
Merge remote-tracking branch 'pasis/ui-log-fix'
2015-06-23 23:37:52 +01:00
James Booth
d89a9862b1
Merge remote-tracking branch 'pasis/pgp-without-otr-fix'
2015-06-23 23:32:41 +01:00
James Booth
358e9d6af0
Added /pgp setkey command
2015-06-23 23:29:10 +01:00
Dmitry Podgorny
6a73ca1b52
pgp: Fixed compilation error when libotr is not supported
2015-06-23 22:13:50 +00:00
Dmitry Podgorny
02cd8d2330
ui: decreased log level of the message on resizing
...
Resizing of terminal window can produce many logs "Resizing UI". Also
they are not so informative to be shown without -l DEBUG.
2015-06-23 22:03:09 +00:00
Dmitry Podgorny
e831410669
log: Introduced stderr log handler
...
This handler redirects stderr output to a pipe and gathers logs from the
read end.
The handler is called from main loop, therefore, if a function prints logs
to stderr they will be put to log file only after function returns.
2015-06-23 20:52:04 +00:00
James Booth
86acd4649b
Added PGP prefs
2015-06-22 21:09:14 +01:00
Dmitry Podgorny
c851a48af2
shutdown: Call prefs_close() after log_close()
...
log_msg() uses prefs, so prefs_close() should be called after
log_close(). It makes possible to use logs in other finalisation
functions.
2015-06-22 11:43:12 +00:00
James Booth
918e55becf
Fixed pgp help
2015-06-21 22:29:15 +01:00
James Booth
9526f2b7eb
Fixed /pgp help formatting
2015-06-21 22:06:27 +01:00
James Booth
3d2f999efb
Added PGP logging preferences
2015-06-21 21:42:58 +01:00
James Booth
446027b950
Moved setting otr.warn -> enc.warn
2015-06-21 21:07:57 +01:00
James Booth
e72ddf5488
Show message when contact ends PGP
2015-06-21 20:27:56 +01:00
James Booth
217fcff420
Added /pgp end command
2015-06-21 20:20:28 +01:00
James Booth
f81652e84e
Added enc_mode check when starting OTR
2015-06-21 20:13:28 +01:00
James Booth
5669799690
Encryption modes for sv_ev_incoming_message
2015-06-21 20:08:46 +01:00
James Booth
03a4aa4408
Tidied OTR and PGP combinations in client_events.c
2015-06-21 19:29:23 +01:00
James Booth
13a612cbc2
Moved window creation to sv_ev_incoming_message
2015-06-21 18:29:20 +01:00
James Booth
8d2d923603
Moved message display logic to sv_ev_incoming_message
2015-06-21 18:00:57 +01:00
James Booth
9b991ae058
Extracted chat session code from message senders
2015-06-21 17:11:23 +01:00
James Booth
e45afd5c09
Added pgp checks for message sending
2015-06-21 01:48:25 +01:00
James Booth
6617bb5a2b
Added window encyption mode for PGP
2015-06-20 23:49:24 +01:00
James Booth
16999a3964
Merge branch 'master' into openpgp
2015-06-20 00:39:08 +01:00
James Booth
d7ec339e3e
Added /roster empty command
2015-06-20 00:38:28 +01:00
James Booth
edbb3d938e
Merge branch 'master' into openpgp
2015-06-19 00:15:40 +01:00
James Booth
e117c0368f
Added missing include client_events.c
2015-06-19 00:14:48 +01:00
James Booth
ea99012d9b
Added initial /pgp start checks
2015-06-18 01:34:27 +01:00
James Booth
85cc5ab50d
Added cmd_pgp tests
2015-06-18 00:12:01 +01:00
James Booth
97ba9d2692
Merge branch 'master' into openpgp
2015-06-17 20:06:13 +01:00
James Booth
f51a26e6a0
Merge remote-tracking branch 'quite/#513'
2015-06-17 20:05:27 +01:00
James Booth
1af3565cbd
Merge branch 'master' into openpgp
2015-06-17 19:55:52 +01:00
James Booth
e00a03f916
Removed wins_get_current_* functions
2015-06-17 19:49:55 +01:00
James Booth
8fde14879a
Merge branch 'master' into openpgp
...
Conflicts:
src/command/commands.c
src/command/commands.h
2015-06-17 00:40:06 +01:00
James Booth
a798dc5618
Removed unused function prototype
2015-06-17 00:18:59 +01:00
James Booth
2215a3791f
Added current window reference to command functions
2015-06-17 00:15:28 +01:00
James Booth
cfef64c767
Pass current window to autocompleters
2015-06-16 22:59:08 +01:00
Daniel
d00d71f245
Let's only strip trailing whitespace when parsing command
...
Allows for "quoting" a command--doing nothing but sending the string: SPC/command
As we're used to from for example irc clients.
Fixes boothj5/profanity#513
2015-06-16 09:46:02 +02:00
James Booth
637b8bee9f
Merge branch 'master' into openpgp
2015-06-15 23:17:11 +01:00
James Booth
fb0e065902
Tidied cmd_otr, added check-unit target to Makefile
2015-06-15 23:16:22 +01:00
James Booth
de47450594
Merge branch 'master' into openpgp
2015-06-15 22:03:25 +01:00
James Booth
6097a5bade
Removed ui_get_current_chat()
2015-06-15 22:01:28 +01:00
James Booth
c76692516a
Merge branch 'master' into openpgp
2015-06-15 20:39:17 +01:00
James Booth
5cdd69f478
Moved UI interfaces to ui.h
2015-06-15 20:11:34 +01:00
James Booth
38ed9188d3
Moved ui/windows -> window_list
2015-06-15 19:26:28 +01:00
James Booth
6b44b988f4
Moved refresh subwin logic to window.c
2015-06-15 18:59:20 +01:00
James Booth
989dde77cd
Added win_resize() function
2015-06-15 18:08:47 +01:00
James Booth
a849b200b3
Added win_clear() function
2015-06-15 17:54:47 +01:00
James Booth
e9aa4ea084
Removed unused variable
2015-06-15 17:40:22 +01:00
James Booth
732533ee5a
I removed ncurses header dependencies, removed unused code
2015-06-15 17:11:11 +01:00
James Booth
10a5f29023
Merge branch 'master' into openpgp
2015-06-14 00:02:00 +01:00
James Booth
e50461a897
Set columns when running functional tests
2015-06-13 23:59:33 +01:00
James Booth
0ef00e87ab
Merge branch 'master' into openpgp
2015-06-13 16:27:20 +01:00
James Booth
698288ab5c
Show message when offline for /pgp fps
2015-06-13 01:19:56 +01:00
James Booth
e0783e20db
Renamed otr trusted window property
2015-06-13 01:13:56 +01:00
James Booth
a408ca7326
Removed TODO in gpg.c
2015-06-13 00:35:53 +01:00
James Booth
abcf67044c
Merge branch 'master' into openpgp
2015-06-08 20:33:03 +01:00
James Booth
549fceaa7f
Set default autoaway mode to off
...
fixes #555
2015-06-08 20:26:23 +01:00
James Booth
9aff8abd2e
Merge branch 'master' into openpgp
...
Conflicts:
.travis.yml
2015-06-05 23:02:56 +01:00
James Booth
78a4446023
Merge branch 'master' into stabber-tests
2015-06-02 20:32:15 +01:00
James Booth
a3693cfbe7
Merge branch 'master' into openpgp
2015-06-02 20:32:07 +01:00
James Booth
f0f3a739f4
Merge remote-tracking branch 'PMaynard/#551'
2015-06-02 20:29:35 +01:00
Pete
a0a7d04a5f
Tidy up windows when enabling
2015-06-01 14:47:02 +01:00
Pete
e8eb23c4f0
Merge branch ' #551 ' of github.com:PMaynard/profanity into #551
2015-06-01 11:45:22 +01:00
Pete
2ce35fe61c
Added Theme UI option for window auto tidy
2015-06-01 11:44:52 +01:00
Pete Maynard
7bc671e07c
Extra underline
2015-06-01 11:33:19 +01:00
Pete
0564976264
Refactored 'ui_tidy_wins()' to return bool and not output text, Corrected underline, removed call to function 'wins_resize_all()'.
2015-06-01 11:27:01 +01:00
Will Song
837f8b1f10
add examples and be more specific about time formatting
2015-05-30 00:42:19 -05:00
Will Song
83bed119e4
remove memory leak from creating a gdatetime string
2015-05-29 20:55:33 -05:00
Will Song
0e7507a1aa
update autocomplete
2015-05-29 20:49:28 -05:00
Will Song
3842daa334
fix indent code
2015-05-29 20:45:10 -05:00
Will Song
f2629aca7b
updated statusbar to use strftime formats
2015-05-29 20:23:09 -05:00
Will Song
9463c67190
fix conflicts
2015-05-29 19:53:37 -05:00
Pete
fbc57765a3
Added window auto tidy.
2015-05-29 14:25:14 +01:00
James Booth
e4ad201324
Merge branch 'master' into stabber-tests
2015-05-25 21:17:06 +01:00
James Booth
06fe9bec37
Merge branch 'master' into openpgp
2015-05-25 21:16:51 +01:00
James Booth
304e08a9c0
Added jid to OTR errors in console
2015-05-25 21:16:10 +01:00
James Booth
e295a474dc
Added more connect tests
2015-05-24 20:31:18 +01:00
James Booth
80665ea051
Added rooms iq test
2015-05-24 04:13:28 +01:00
James Booth
2241473ee6
Added bad password test
2015-05-24 00:56:13 +01:00
James Booth
09f01d518c
Merge branch 'master' into stabber-tests
2015-05-17 22:28:25 +01:00
James Booth
34d9b2b272
Merge branch 'master' into openpgp
2015-05-17 22:28:12 +01:00
James Booth
2c5b44421e
Added initial stabber test
2015-05-17 22:05:43 +01:00
Adam Ehlers Nyholm Thomsen
882ca85aca
allow enabling / disabling carbons without being connected.
2015-05-17 13:29:08 +02:00
James Booth
7f861b7743
Removed libgpg include from presence.c
2015-05-10 23:54:48 +01:00
James Booth
58b5e39b95
Merge branch 'master' into openpgp
2015-05-10 01:45:07 +01:00
James Booth
aeffca496c
Tidy ui_room_message
2015-05-10 01:44:34 +01:00
James Booth
487f5da17d
Merge branch 'master' into openpgp
2015-05-10 01:08:30 +01:00
James Booth
aaad3ff909
Moved logic to notify_message
2015-05-10 01:03:34 +01:00
James Booth
acd2d2309f
Moved pgp signature generation to cl_ev_presence_send
2015-05-08 00:07:21 +01:00
James Booth
0db7bcbdcd
Merge branch 'master' into openpgp
2015-05-07 23:23:45 +01:00
James Booth
d853284f92
Added cl_ev_presence_send
2015-05-07 23:21:48 +01:00
James Booth
a2281dbccf
Merge branch 'master' into openpgp
2015-05-07 23:16:22 +01:00