1
0
mirror of https://github.com/profanity-im/profanity.git synced 2024-06-23 21:45:30 +00:00
Commit Graph

496 Commits

Author SHA1 Message Date
James Booth
eae0b59310 Renamed ui_room_occupant_role_change -> mucwin_occupant_role_change 2015-11-01 21:15:14 +00:00
James Booth
1a87132dc7 Renamed ui_room_role_and_affiliation_change -> mucwin_role_and_affiliation_change 2015-11-01 21:14:01 +00:00
James Booth
d706dcd4bc Renamed ui_room_affiliation_change -> mucwin_affiliation_change 2015-11-01 21:12:53 +00:00
James Booth
75b505cf6a Renamed ui_room_role_change -> mucwin_role_change 2015-11-01 21:11:30 +00:00
James Booth
aa59cf98b8 xmlwin_show takes window as argument 2015-11-01 19:45:35 +00:00
James Booth
db4bcd3e6d Added xmlwin module 2015-11-01 19:39:36 +00:00
James Booth
7e386fbf00 Removed ui_open_xmlconsole_win() 2015-11-01 19:33:01 +00:00
James Booth
9eae20298f Removed ui_create_xmlconsole_win() 2015-11-01 19:29:59 +00:00
James Booth
486d2e0495 Removed ui_xmlconsole_exists 2015-11-01 19:26:31 +00:00
James Booth
be90e44d4a Tidy ui.h 2015-11-01 19:02:09 +00:00
James Booth
d6e4b74802 Removed ui_input_nonblocking() 2015-11-01 18:56:34 +00:00
James Booth
8195ab42cb Removed ui_ paging functions 2015-11-01 18:49:53 +00:00
James Booth
be4b07102c Removed ui_input_clear() 2015-11-01 18:42:42 +00:00
James Booth
4c42ce9701 Removed ui_readline() 2015-11-01 18:38:21 +00:00
James Booth
17488ca346 Added missing config.h includes 2015-10-31 23:38:08 +00:00
James Booth
24896a3bfb Added HAVE_LIBOTR checks 2015-10-31 23:22:23 +00:00
James Booth
fa8a5323b6 Reordered ui.h 2015-10-27 23:42:26 +00:00
James Booth
3f7f1186a6 Tidied remaining chatwin functions 2015-10-27 23:39:26 +00:00
James Booth
31016a2150 Tidied chatwin_outgoing_carbon 2015-10-27 23:25:18 +00:00
James Booth
e7148bf82d Renamed ui_outgoing_chat_msg -> chatwin_outgoing_msg 2015-10-27 23:20:03 +00:00
James Booth
af1124f28f Renamed ui_incoming_msg -> chatwin_incoming_msg 2015-10-27 23:18:42 +00:00
James Booth
ea09dcda18 Renamed ui_new_chat_win -> chatwin_new 2015-10-27 23:15:28 +00:00
James Booth
ae89028772 Renamed ui_recipient_gone -> chatwin_recipeint_gone 2015-10-27 23:06:27 +00:00
James Booth
62c2febc11 Tidied ui_recipient_gone 2015-10-27 23:05:20 +00:00
James Booth
ff9abecd50 Combined chatwin OTR SMP functions 2015-10-27 22:25:26 +00:00
James Booth
40dcd59727 Renamed chatwin OTR functions 2015-10-27 21:23:56 +00:00
James Booth
124aaa9809 remaining otr functions take ProfChatWin 2015-10-27 00:19:22 +00:00
James Booth
8bd74cefcf ui_smp_successful takes ProfChatWin 2015-10-26 23:50:56 +00:00
James Booth
3cea2bc4f4 ui_smp_aborted takes ProfChatWin 2015-10-26 23:45:39 +00:00
James Booth
0b51f4d36f ui_smp_unsuccessful_receiver takes ProfChatWin 2015-10-26 23:40:37 +00:00
James Booth
d11f8d5ffc ui_smp_unsuccessful_sender takes ProfChatWin 2015-10-26 23:36:11 +00:00
James Booth
3ce55de1e1 ui_smp_recipient_initiated_q takes ProfChatWin 2015-10-26 23:29:01 +00:00
James Booth
55e857d6a8 ui_smp_recipient_initiated takes ProfChatWin 2015-10-26 23:22:59 +00:00
James Booth
9d3bcf5f90 ui_gone_insecure takes ProfChatWin 2015-10-26 23:10:30 +00:00
James Booth
4fb0b4b0da ui_gone_secure takes ProfChatWin 2015-10-26 23:04:45 +00:00
James Booth
2efaa464bf ui_message_receipt takes ProfChatWin 2015-10-26 22:54:06 +00:00
James Booth
8f45f332ad Removed ui_chat_win_exists 2015-10-26 22:43:32 +00:00
James Booth
d8fc7faa36 Removed ui_about() function 2015-10-26 20:37:50 +00:00
James Booth
2ce43b633f Applied coding style to src/ui/ 2015-10-25 23:31:11 +00:00
James Booth
eca7390951 Implemented /script show 2015-10-17 22:58:45 +01:00
James Booth
a35cbea732 Implemented /script list 2015-10-17 22:30:01 +01:00
James Booth
85764ddb53 Added TLS show to UI preferences 2015-10-14 00:58:33 +01:00
James Booth
c9165ef9d2 Title bar TLS indicator
Issue #616
2015-10-14 00:29:22 +01:00
James Booth
54e225aa53 Added auto xa option, tidied autoaway code 2015-09-27 23:08:30 +01:00
James Booth
100db7c36c Set status to what it was before autoaway 2015-09-25 22:55:44 +01:00
James Booth
9414ad268d Prompt user to allow or deny untrusted TLS certificates 2015-09-22 21:42:05 +01:00
James Booth
1f4fd0fcb3 Added UI function to get PGP passphrase 2015-09-01 20:16:04 +01:00
James Booth
b4722632b6 Split PGP incoming and outgoing message handling 2015-08-30 01:32:13 +01:00
James Booth
f998ab8f3b Display special char for encrypted messages 2015-08-26 00:42:56 +01:00
James Booth
406b821b35 Show software version result in current window 2015-08-06 01:56:52 +01:00
James Booth
2a92169351 Use id handler for software version requests, handle errors 2015-08-05 00:26:29 +01:00
James Booth
8ec931eb84 Added cons_show_padded 2015-07-29 23:48:28 +01:00
James Booth
5576b88a04 Added indent padding 2015-07-29 22:48:03 +01:00
James Booth
34537e2fb1 Removed old command help 2015-07-26 02:05:53 +01:00
James Booth
22111bf75b Moved help and about to new format 2015-07-23 23:05:33 +01:00
James Booth
46e2f11b93 Removed /mouse command 2015-07-19 22:48:12 +01:00
James Booth
dd206ef637 WIP fix for #516, needs memory cleanup 2015-06-29 23:48:41 +01:00
James Booth
86acd4649b Added PGP prefs 2015-06-22 21:09:14 +01:00
James Booth
446027b950 Moved setting otr.warn -> enc.warn 2015-06-21 21:07:57 +01:00
James Booth
13a612cbc2 Moved window creation to sv_ev_incoming_message 2015-06-21 18:29:20 +01:00
James Booth
2215a3791f Added current window reference to command functions 2015-06-17 00:15:28 +01:00
James Booth
fb0e065902 Tidied cmd_otr, added check-unit target to Makefile 2015-06-15 23:16:22 +01:00
James Booth
6097a5bade Removed ui_get_current_chat() 2015-06-15 22:01:28 +01:00
James Booth
5cdd69f478 Moved UI interfaces to ui.h 2015-06-15 20:11:34 +01:00
James Booth
a849b200b3 Added win_clear() function 2015-06-15 17:54:47 +01:00
James Booth
732533ee5a I removed ncurses header dependencies, removed unused code 2015-06-15 17:11:11 +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
Pete
fbc57765a3 Added window auto tidy. 2015-05-29 14:25:14 +01:00
James Booth
aaad3ff909 Moved logic to notify_message 2015-05-10 01:03:34 +01:00
James Booth
a2c6211732 Added ui_contact_online 2015-05-07 22:05:36 +01:00
James Booth
c8eaaa0ce9 Added ui_ev_new_private_win to ui events 2015-05-04 01:31:27 +01:00
James Booth
ef54ff305e ui_outgoing_chat_msg now takes ProfChatWin as argument 2015-05-04 00:55:43 +01:00
James Booth
e11e55e31a Move current win check to event, removed next and prev win functions 2015-04-30 22:43:08 +01:00
James Booth
d68fb25dde Removed ui_win_switch_num 2015-04-30 22:09:39 +01:00
James Booth
0a6b76d6d3 Removed some ui functions, inlined 2015-04-30 21:23:43 +01:00
James Booth
2e75e54460 Added ui_win_error_line() 2015-04-29 23:16:28 +01:00
James Booth
665c34414d Return result on OTR message sending 2015-04-29 22:59:44 +01:00
James Booth
88739d5c59 Moved new chat win events to client events module 2015-04-21 23:28:52 +01:00
James Booth
57dc5f14ef Added option to show jids in occupants panel 2015-04-12 02:14:37 +01:00
James Booth
2762f18a3e Added /receipts command 2015-03-15 19:48:19 +00:00
James Booth
8c552e8a70 Merge branch 'master' into xep-0184 2015-03-15 01:27:09 +00:00
James Booth
49022068ef Added OTR error messages 2015-03-15 01:26:09 +00:00
James Booth
ca30ff3910 Merge branch 'master' into xep-0184
Conflicts:
	src/server_events.c
	src/ui/core.c
	src/ui/ui.h
	tests/ui/stub_ui.c
2015-03-14 23:10:51 +00:00
James Booth
385336c10b Don't switch window on sent carbon 2015-03-14 22:59:49 +00:00
James Booth
bc6e32175d Removed from argument from outgoing message functions 2015-03-14 14:50:45 +00:00
James Booth
57c7564445 Show message received text for receipts 2015-03-11 23:47:11 +00:00
James Booth
78becceedb Added basic delivery receipts 2015-03-11 23:18:28 +00:00
James Booth
945f29873e Merge remote-tracking branch 'oliverlemoal/xep-0280' into xep-0280 2015-03-08 21:51:50 +00:00
James Booth
b24510c776 Merge branch 'master' into readline
Conflicts:
	src/tools/history.c
	src/tools/history.h
2015-02-11 00:09:58 +00:00
James Booth
b3be26a214 Updated copyright 2015-02-10 23:16:09 +00:00
Olivier LE MOAL
48f9f3b3b0 Add XEP-0280 support 2015-02-10 11:32:22 +01:00
James Booth
a70aa0255f Moved command processing to main loop, allow resize during password prompt 2015-02-05 00:58:23 +00:00
James Booth
30180ac8bb Move SIGWINCH handling to ui/core.c, ignore signal whilst resizing 2015-02-04 23:35:28 +00:00
James Booth
28dd545877 Added paging handlers 2015-01-31 22:00:22 +00:00
James Booth
83bd207316 Moved readline code to inputwin.c 2015-01-30 23:28:02 +00:00
James Booth
2cdbfc7eb7 Added gnu readline 2015-01-27 22:13:09 +00:00
James Booth
4c6cfcdca0 Simplified autocompleters and command history 2015-01-16 22:50:40 +00:00
James Booth
51105720ab Moved input line to inputwin 2015-01-15 23:43:22 +00:00
James Booth
82c986775d Moved input to ui module, renamed ui_readline 2015-01-15 22:21:24 +00:00
James Booth
5be47cc5a9 Moved input size variable to ui module 2015-01-15 13:22:54 +00:00
James Booth
aec1484806 Removed ch from main loop 2015-01-15 01:21:24 +00:00
James Booth
0007e3569e Moved remimder notification code out of main loop 2015-01-15 00:42:40 +00:00
James Booth
db9a2cf0ab Inlined ui_handle_special_keys 2015-01-15 00:02:42 +00:00
James Booth
3984c660b6 Removed result from main loop 2015-01-14 23:57:45 +00:00
James Booth
a6160d52c6 Pass value rather than address of ch during main loop 2015-01-14 23:54:46 +00:00
Simon Effenberg
c7ff3255b8 trying to block (and save cpu power) more dynamically
instead of blocking too long if inpblock is set to something like
500ms the input timeout is not set directly to inpblock but is
increasing dynamically from 0 to inpblock by a little algorithm

FIXME: the call from the win_* method to the ui_input_* method looks
wrong.. this causes a cross reference which shouldn't be
2015-01-12 08:08:07 +01:00
James Booth
0d0ed9b7ca Merge remote-tracking branch 'incertia/exit-title'
Conflicts:
	src/command/command.c
	src/config/preferences.c
	src/config/preferences.h
2015-01-12 01:12:42 +00:00
James Booth
13f0166aa0 Only show UI events for chat states when in session 2015-01-11 23:04:22 +00:00
James Booth
c16871d143 Added remaining chat states 2015-01-11 20:20:17 +00:00
James Booth
31c0f2ba78 Added preferences for showing resource in titlebar and messages 2015-01-10 19:10:10 +00:00
James Booth
c3ad3c0ba6 Show resource in titlebar and on each message 2015-01-10 18:35:59 +00:00
Will Song
e57fa1633a add exit title preference to group and add command for setting the preference 2015-01-08 10:18:29 -06:00
Will Song
3561ff4d97
set a nice title (instead of empty) on shutdown 2014-12-29 20:05:50 -06:00
James Booth
10a3a3a675 Use events for chat sessions 2014-12-29 01:17:59 +00:00
James Booth
9d94ac5c63 Removed function pointers 2014-12-22 22:13:42 +00:00
James Booth
3cbeb7b483 Removed ui_current_set_otr 2014-12-22 00:37:06 +00:00
James Booth
bda98a416e Removed ui_close_current 2014-12-22 00:34:56 +00:00
James Booth
0c1bbb63c0 Added win_get_title 2014-12-21 22:01:56 +00:00
James Booth
13f73a30e7 Added /inpblock command 2014-12-21 18:15:29 +00:00
James Booth
39aae7f548 Removed TODOs 2014-12-20 18:48:35 +00:00
James Booth
6800bf1cad Fixed tests 2014-12-20 18:39:39 +00:00
James Booth
ea267e2017 Refactored all window recipients and types
Tests need fixing
2014-12-20 00:52:35 +00:00
James Booth
0146e62576 Refactoring window types, removing recipient and from references - wip 2014-12-18 23:57:19 +00:00
James Booth
4dc48b4b48 Added occupantswin.c 2014-12-16 23:37:23 +00:00
James Booth
48ec7b3b47 Moved roster functions 2014-12-16 23:00:05 +00:00
James Booth
070547a7ff Added window specific creation functions 2014-12-15 00:28:28 +00:00
James Booth
70f7db0d91 Subscription handler uses wins_new_chat 2014-12-11 00:02:51 +00:00
James Booth
9ba5a576ba Split private message handling to separate functions 2014-12-10 22:23:33 +00:00
James Booth
20fa96325d Added [ui] preferences to themes 2014-11-19 23:58:55 +00:00
James Booth
076576178c Update input window on /theme set 2014-11-19 16:32:26 +00:00
James Booth
1d5ac1b474 Added /theme colours command 2014-11-17 21:10:08 +00:00
James Booth
976e5aac0a Added support for bold theme settings 2014-11-16 21:56:19 +00:00
James Booth
40dc8e2c49 Added /time setting 2014-11-16 00:40:54 +00:00
James Booth
497b07c1c3 Added /roster show|hide command, only show roster on connect success 2014-11-10 23:23:02 +00:00
James Booth
5d59d17642 Refactor subwin sizing and disabled wrapping 2014-11-10 22:47:53 +00:00
James Booth
36331e4908 Added simple roster 2014-11-10 00:31:11 +00:00
James Booth
eed8f6c76d Added subwin to console 2014-11-10 00:06:13 +00:00
James Booth
46583839df Added /wrap user preference for enabling/disabling word wrapping 2014-11-09 23:29:25 +00:00
James Booth
373b3a2d7c Added /presence command to show contacts presence 2014-11-07 22:38:34 +00:00
James Booth
74a2d4601f Removed hash_table_iter usage for room roster 2014-11-03 21:27:41 +00:00
James Booth
fc049c9eef Added /privileges command to set UI option for showing roles/affiliations in rooms 2014-10-18 20:22:34 +01:00
James Booth
0cc25e1b76 Removed debug messages when setting roles/affiliations 2014-10-18 19:19:01 +01:00
James Booth
77674beb7e Show occupants role/affiliation changes 2014-10-18 19:10:50 +01:00
James Booth
67755ca74d Added reason to role/affiliation changes 2014-10-18 01:37:52 +01:00
James Booth
3790b16299 Add output for when both role and affiliation changed at same time 2014-10-18 01:07:25 +01:00
James Booth
9134a65e97 Show occupants role and affiliation when they join a room 2014-10-18 00:52:42 +01:00
James Booth
014f0f7a91 Don't show join messages on subsequent /join commands 2014-10-18 00:40:44 +01:00
James Booth
9f2f54b2a0 Removed /duck command 2014-10-18 00:07:48 +01:00
James Booth
6b6ed6a93e Show role/affiliation on room join and on change 2014-10-12 02:10:46 +01:00
James Booth
3615736762 Renamed args to /occupants default 2014-10-09 22:39:57 +01:00
James Booth
778a495fbd Added /occupants commands, unfinished 2014-10-09 13:16:36 +01:00
James Booth
ef62104d63 Added larger occupants pad size 2014-10-08 00:34:26 +01:00
James Booth
b8ba9b038c Added scroll support to occupant list 2014-10-07 21:12:19 +01:00
James Booth
639796384a Handle occupant list resize 2014-10-07 17:06:02 +01:00
James Booth
0c24b53bfa Added room occupants panel 2014-10-07 16:37:14 +01:00
James Booth
78a1556f12 Added jid autocomplete for affiliation commands 2014-10-06 22:59:25 +01:00
James Booth
965f048b18 Implemented setting and listing roles 2014-10-06 21:42:09 +01:00
James Booth
d12534c58e Implemented /room kick command 2014-10-05 20:52:34 +01:00
James Booth
ac7bc02c63 Added /room kick command 2014-10-05 03:52:55 +01:00
James Booth
7584ddaa62 Added /room subject command 2014-10-05 03:05:46 +01:00
James Booth
2026ab4b6e Implemented getting affiliation list, and setting affiliation 2014-10-05 01:39:48 +01:00
James Booth
25b04537e1 Added service discovery to /room info command 2014-10-02 23:37:10 +01:00
James Booth
c90f4a37a3 Added /room <affiliation> command 2014-10-01 00:46:58 +01:00
James Booth
5879f497ad Added /room <role> command 2014-10-01 00:27:25 +01:00
James Booth
76d2b9e9b5 Moved room info output to ui module, added TODO for roles 2014-09-30 23:08:48 +01:00
James Booth
4f7feedb65 Changed rooms to use Occupant type instead of PContact 2014-09-30 00:16:01 +01:00
James Booth
2fb9989123 Added jid->hash lookup for capabilities 2014-09-20 23:50:19 +01:00
James Booth
d2a06ab18e Handle result of room configuration submit 2014-09-17 21:48:55 +01:00
James Booth
672fcfe009 Show errors in room when can't retrieve room config 2014-09-17 20:59:56 +01:00
James Booth
0d9a145d45 Implemented /form help 2014-09-16 20:52:38 +01:00
James Booth
f494faac99 Show form fields after updating 2014-09-15 23:28:12 +01:00
James Booth
6b575aa8fc Added /form show 2014-09-15 22:51:53 +01:00
James Booth
c5b697dba7 Dont allow unsaved form windows to be closed 2014-09-15 22:31:15 +01:00
James Booth
eba3a7cb30 Implemented /room config submit for saving room configuration 2014-09-10 23:05:35 +01:00
James Booth
47d1b1ea21 Moved room config UI code to ui/core.c 2014-09-07 00:22:11 +01:00
James Booth
64521eb135 Handle /room config cancel 2014-09-03 22:00:08 +01:00
James Booth
57effcd504 Show message when room requires config 2014-09-03 00:23:04 +01:00
James Booth
bc3c4e09a1 Always update UI in event loop, removed updates from rest of code 2014-09-01 19:14:52 +01:00
James Booth
f9737251a6 Added license exemption for OpenSSL to source headers 2014-08-24 20:57:39 +01:00
James Booth
4279735dd7 Reinitialise libnotify per notification
Fixes issue on Xfce4 where notification are not being sent after a period of time.
Issue #370
2014-06-29 19:19:08 +01:00
James Booth
1925cb80ec Show info in chat and private chat windows 2014-06-03 21:35:27 +01:00
James Booth
c65b43f081 Show info in room for participant 2014-06-03 21:20:13 +01:00
James Booth
b36fbe413a Added settings to show message text in notifications 2014-05-24 22:14:26 +01:00
James Booth
015780662e Added /prefs otr 2014-05-11 13:32:59 +01:00
James Booth
1e4fc2ce79 Added UI messages for smp question/answer result 2014-05-07 20:41:05 +01:00
James Booth
a077d2008a Added question answer authentication (libotr 3.2.x) 2014-04-30 23:59:40 +01:00
James Booth
eaa19598c1 Added ui functions for otr authentication 2014-04-30 22:41:53 +01:00
James Booth
2bc19f4669 Added SMP secret authentication success message 2014-04-27 01:17:38 +01:00
James Booth
c39c093fa5 Tidied UI messages for SMP shared secret authentication 2014-04-27 00:32:04 +01:00
James Booth
84c7fc9ae0 Added SMP ui events 2014-04-26 23:29:05 +01:00
James Booth
547b6cf4da Added command /wins swap 2014-04-24 21:50:59 +01:00
James Booth
2c15aba92a Chat room windows now created only after successful join 2014-04-21 00:37:04 +01:00
James Booth
e6e0a13e89 Added XML Console window 2014-04-15 13:16:32 +01:00
James Booth
bf185d9907 Added simple stanza logging to main console 2014-04-15 01:08:41 +01:00
James Booth
71180f66d7 Added focus param to ui_room_join, not set for bookmark autojoin
Issue #194
2014-04-13 02:52:25 +01:00
James Booth
132976d85e Revert "Added ui_unknown_command"
This reverts commit 714ee24863.
2014-04-12 15:20:31 +01:00
James Booth
2fafcf0013 Revert "Added ui_already_connected"
This reverts commit e97ec56fce.
2014-04-12 15:20:19 +01:00
James Booth
e97ec56fce Added ui_already_connected 2014-04-09 22:29:38 +01:00
James Booth
714ee24863 Added ui_unknown_command 2014-04-09 22:13:01 +01:00
James Booth
b9aac28ccc Refactored invalid command usage 2014-04-09 22:05:31 +01:00
James Booth
a05b63f7a5 Removed unused inputwin module init 2014-04-07 22:01:50 +01:00
James Booth
9aa282f6de Removed inputwin functions from ui.h 2014-04-07 21:50:28 +01:00
James Booth
f0f0dbfdac Removed statusbar functions from ui.h 2014-04-07 21:12:30 +01:00
James Booth
fc40637789 Removed titlebar functions from ui.h 2014-04-07 20:41:06 +01:00
James Booth
c7e214860c Removed create_title_bar from ui.h 2014-04-07 20:00:11 +01:00
James Booth
95c081666a Clear window title bar on exit 2014-04-03 21:13:59 +01:00
James Booth
b19b881b97 Added missing files, refactored ui_switch_win to check win exists 2014-04-01 23:54:26 +01:00
James Booth
404dde2810 Renamed refresh functions to update_virtual 2014-04-01 21:52:04 +01:00
James Booth
26726b207a Updated copyright 2014-03-09 01:18:19 +00:00
James Booth
dd1ee18c72 Added test for /join with nick option 2014-03-08 21:10:23 +00:00
James Booth
82ad0cd306 Added /otr myfp test 2014-02-17 21:52:42 +00:00
James Booth
7e956fb347 Added tests for /otr warn 2014-02-16 02:22:29 +00:00
James Booth
12666b41e6 Refactored handle_presence_error, removed no longer used functions 2014-01-30 22:20:57 +00:00
James Booth
27293ebbc2 Added fallback message error handlers 2014-01-27 22:09:16 +00:00
James Booth
1a300ce7d3 Show original error message 2014-01-26 22:50:22 +00:00
James Booth
292ae567aa Handle recipient not found 2014-01-26 18:30:34 +00:00
James Booth
5d85974bc0 Added aliases to autocomplete 2014-01-23 23:53:20 +00:00
James Booth
8dbe300d72 Added /alias command, writing aliases to [alias] group in profrc 2014-01-23 22:29:53 +00:00
James Booth
8ba2d26947 Added skeleton /alias command 2014-01-23 19:56:33 +00:00
James Booth
3f0addbc99 Added UI presence functions 2014-01-19 18:31:02 +00:00
James Booth
5610f70b35 Inlined ui_contact_online and ui_contact_offline 2014-01-19 17:51:32 +00:00
James Booth
45aee2e778 Tidied OTR messages 2014-01-16 23:16:37 +00:00
James Booth
4f98bc8c25 Show OTR coloured status
Customisable within theme files e.g.:
titlebar.unencrypted=red
titlebar.encrypted=green
titlebar.trusted=red
titlebar.untrusted=green

Shows [unencrypted] for all non-OTR chat

Disable with '/otr warn off'
2014-01-16 22:44:23 +00:00
James Booth
f0e5e585f8 Removed title_bar_draw from UI module 2014-01-16 20:09:54 +00:00
James Booth
c32caa62e0 Removed title_bar_show from UI module 2014-01-16 18:32:24 +00:00
James Booth
16bf753ad0 Renamed title bar status -> presence 2014-01-16 18:22:50 +00:00
James Booth
9f6d6d44cc Renamed title_bar_set_status -> title_bar_set_presence 2014-01-16 18:13:22 +00:00
James Booth
0a04ef1510 Renamed title_bar_title -> title_bar_console 2014-01-16 18:04:25 +00:00
James Booth
60820007ee Added setting /otr log on|off|redact 2014-01-13 20:17:45 +00:00
James Booth
462e84ea82 Added /otr trust|untrust commands 2014-01-12 01:20:22 +00:00
James Booth
a3217bcf8c End OTR session when user closes chat window 2014-01-11 23:28:11 +00:00
James Booth
f35e485bd4 Handle window creation for incoming and outgoing OTR sessions 2014-01-11 21:44:24 +00:00
James Booth
9daefe170d Require '/otr start' from both parties before encryption used both ways 2014-01-11 17:03:01 +00:00
James Booth
b83b262d47 Bind remaining ui functions in main.c 2013-12-23 00:23:22 +00:00
James Booth
7fe8f61b9b Bind console functions in main.c 2013-12-23 00:08:45 +00:00
James Booth
a6859354b4 Bind ui core functions in main.c 2013-12-22 23:54:22 +00:00
James Booth
5a5b1340aa Dynamically load UI functions, fixed tests 2013-12-22 22:14:15 +00:00
James Booth
d56f6dc39b Added mocks and stubs for cons_show 2013-12-19 21:05:39 +00:00
James Booth
079ea5304b Moved _ask_password to UI module 2013-12-15 19:38:23 +00:00
James Booth
107fdd355e Added simple mock test, refactored roster 2013-12-14 15:34:17 +00:00
James Booth
8c97658b8d Merge branch 'master' into refactor2
Conflicts:
	src/ui/core.c
2013-11-11 20:51:35 +00:00
James Booth
2b0108e6cc Allow "account" setting in [connection] to autconnect the account
closes #251
2013-11-07 23:04:12 +00:00
James Booth
acf1afe025 Moved idle chat state handling out of ui module 2013-10-07 00:51:00 +01:00
James Booth
710c49b6b8 Moved UI error handler code to ui/core 2013-10-06 00:05:23 +01:00
James Booth
6ff7177b9b Show current window in status bar 2013-10-02 23:33:48 +01:00
James Booth
2625630ff3 Next and previous windows, handle KEY_CODE_YES terms, jump empty wins 2013-09-26 00:25:04 +01:00
James Booth
4ae817cd82 Fixed ">" indicator when tidying windows 2013-08-30 00:49:38 +01:00
James Booth
b5eb095820 Removed limit on number of windows, WIP 2013-08-27 23:38:25 +01:00
James Booth
8045b949a7 Refactor _cmd_close 2013-08-26 18:06:33 +01:00
James Booth
48feac3e77 Removed cons_create from console.c 2013-08-26 17:29:20 +01:00