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

299 Commits

Author SHA1 Message Date
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
James Booth
d3cfeb9d5c Merge branch 'master' into windows 2013-08-25 23:27:42 +01:00
James Booth
601a88037a Initial code refactor for growable window list 2013-08-20 23:08:21 +01:00
Dmitry Podgorny
b9d29e9aa5 draft of bookmarks implementation
'/bookmark add' and '/bookmark remove' ain't finished
2013-07-14 23:58:02 +03:00
James Booth
ca5c6a5745 Show current setting with settings commands
closes #139
2013-06-25 23:38:06 +01:00
James Booth
d5e9ca649d Show messages on /group add and /group remove
closes #189
closes #190
2013-06-23 17:38:30 +01:00
James Booth
dace47e5d3 Show message when removing contact from group when not in group 2013-06-23 16:35:13 +01:00
James Booth
265fff8f40 Show message when contact already in group 2013-06-23 16:29:42 +01:00
James Booth
9dd5456f88 Added group add and group remove to /roster command 2013-06-02 02:48:20 +01:00
James Booth
0e5d277c14 Added message in console on /roster remove 2013-06-02 00:24:22 +01:00
James Booth
65c09db19e Added message in console on /roster add 2013-06-02 00:20:22 +01:00
James Booth
d49a01a9c3 Added roster list when using /roster with no args 2013-06-01 23:27:46 +01:00
James Booth
1eba4f5ab1 Added /leave command 2013-05-30 22:48:56 +01:00
James Booth
ecc62af305 Finished handle usage 2013-05-20 22:51:35 +01:00
James Booth
db6e7f5697 Show contacts handle as window title in chat 2013-05-19 03:45:27 +01:00
James Booth
905571bfb7 Added "tidy" and "prune" options to /wins command 2013-05-17 00:33:00 +01:00
James Booth
2f92752365 Added "read" parameter to /close
Closes all windows where there are no unread messages
2013-05-16 22:34:05 +01:00
James Booth
57e64bebe5 Added parameter to /close
2,3,4,5,6,7,8,9,0 will close specified window.
'all' will close all windows.

closes #159
2013-05-12 23:00:29 +01:00
James Booth
90ac69beb3 Added /duck command to perform searches using duckduckgo chat bot 2013-05-05 02:31:04 +01:00
James Booth
04c6f2d7b0 Moved display logic for subscriptions to console module 2013-04-27 23:13:52 +01:00
James Booth
17757c86e6 Support for XEP-0249 Direct MUC Invitations
Commands /invite, /invites, /decline and /join
2013-04-24 23:50:47 +01:00
James Booth
9373f41fa4 Refactor marking windows as dirty and status bar new indicator 2013-04-22 21:11:08 +01:00
James Booth
f63f68630b Added notifier module 2013-04-21 20:17:06 +01:00
James Booth
1046a00405 Renamed remaining win_ functions 2013-04-21 19:44:31 +01:00
James Booth
954c9ededc Renamed win_current_get_recipient -> ui_current_win_recipient 2013-04-21 18:47:37 +01:00
James Booth
bf740d9997 Replace window type functions with single function returning type 2013-04-21 18:40:22 +01:00
James Booth
345c21bbce Renamed clear and close functions in ui 2013-04-21 17:35:57 +01:00
James Booth
b2c08cfc43 Renamed cons_bad_show -> cons_show_error 2013-04-21 02:49:23 +01:00
James Booth
f110a8fe3b Removed cons_bad_command() 2013-04-21 02:42:27 +01:00
James Booth
e151ce707d Moved remaining static functions to console module 2013-04-21 01:47:57 +01:00
James Booth
867774ce57 Moved cons_show_wins() to console module 2013-04-21 00:32:31 +01:00
James Booth
a234ba0cd6 Moved cons_show_login_success() to console module 2013-04-21 00:21:30 +01:00
James Booth
b6095ca955 Show message in console when receiving chat room invites 2013-03-24 21:46:00 +00:00
James Booth
e2bc9bde74 Implemented output for /disco info 2013-03-14 23:41:36 +00:00
James Booth
7bd7c15994 Added output for /disco items 2013-03-14 22:18:21 +00:00
James Booth
681c3b6be2 Show name as well as jid for room list 2013-03-14 22:03:38 +00:00
James Booth
be379afa5d Added /clear command to clear current window 2013-03-02 21:55:55 +00:00
James Booth
f1693278cb Colour connected account in "/account list" according ot presence 2013-02-18 22:07:17 +00:00
James Booth
e955df8894 Colour title on /caps and /software output 2013-02-17 16:39:37 +00:00
James Booth
bced3d4b36 Added autocomplete for /software command 2013-02-17 02:10:56 +00:00
James Booth
44d2f8da7a Added /caps command 2013-02-17 01:04:10 +00:00
James Booth
b5e06a079c Simple default resource hanlding on presence 2013-02-14 22:06:25 +00:00
James Booth
e922568770 Added resource_presence_t and contact_presence_t 2013-02-10 17:13:19 +00:00
James Booth
591f8a8dbf Renamed jabber_presence_t->presence_t 2013-02-10 11:31:31 +00:00
James Booth
7d6ce4da02 Added resize check to ui module 2013-02-02 23:52:47 +00:00
James Booth
fc5bfb7d33 Tidied #include's 2013-02-02 20:55:58 +00:00
James Booth
ed3261a238 Added ui subdir to source 2013-02-02 19:57:46 +00:00