1
0
mirror of https://github.com/profanity-im/profanity.git synced 2024-11-03 19:37:16 -05:00
Commit Graph

2167 Commits

Author SHA1 Message Date
James Booth
4dc48b4b48 Added occupantswin.c 2014-12-16 23:37:23 +00:00
James Booth
052eee3c3e Refactor rosterwin.c 2014-12-16 23:16:23 +00:00
James Booth
48ec7b3b47 Moved roster functions 2014-12-16 23:00:05 +00:00
James Booth
0e7e931589 Added rosterwin.c 2014-12-16 22:14:15 +00:00
James Booth
0ac789e48c Fixed window resize 2014-12-16 21:18:32 +00:00
James Booth
0880b217cb Tidied subwin paging 2014-12-16 21:08:48 +00:00
James Booth
8f6167b45e Refactor layout creation 2014-12-16 20:53:23 +00:00
James Booth
630fef015d Added new window and layout types 2014-12-16 01:39:47 +00:00
James Booth
070547a7ff Added window specific creation functions 2014-12-15 00:28:28 +00:00
James Booth
3cef4e1db4 Merge remote-tracking branch 'origin/master' 2014-12-14 23:05:27 +00:00
James Booth
65c9c3a7fc Allow params to /bookmark when in a room 2014-12-14 19:57:29 +00:00
James Booth
70f7db0d91 Subscription handler uses wins_new_chat 2014-12-11 00:02:51 +00:00
James Booth
8e46b9e75b Added win create functions for chat and private chat 2014-12-10 22:34:33 +00:00
James Booth
9ba5a576ba Split private message handling to separate functions 2014-12-10 22:23:33 +00:00
James Booth
c8ae55a88c Removed unused argument from _wins_show_history 2014-12-10 21:49:21 +00:00
James Booth
742748b05c Renamed chat_resource -> resource 2014-12-10 21:17:31 +00:00
James Booth
706f31422d Moved chat resource to WIN_CHAT type 2014-12-10 01:44:32 +00:00
James Booth
12d0d22ab3 Moved otr properties to WIN_CHAT type 2014-12-10 01:33:46 +00:00
James Booth
7b44ac97cc Added form to WIN_MUC_CONFIG type 2014-12-10 01:14:11 +00:00
James Booth
0ce924465f Added union for window types 2014-12-10 00:54:46 +00:00
James Booth
0f7519663d Changed ChatSession typedef 2014-12-07 22:59:13 +00:00
James Booth
5314e59703 Added /resource autocompletion 2014-12-04 00:16:42 +00:00
James Booth
eeb6e6b8fc Use selected resource for sending messages 2014-12-03 23:36:39 +00:00
James Booth
d652c3c7ac Show resource presence with /resource command 2014-12-02 21:06:29 +00:00
James Booth
1a8c805319 Added /resource command 2014-12-02 20:50:21 +00:00
James Booth
aae88753a3 Tidied title bar draw 2014-12-02 20:05:52 +00:00
James Booth
e756daf2be Fixed closing window 0 2014-12-01 23:15:22 +00:00
James Booth
4740f84c24 Updated navigation help 2014-12-01 22:16:25 +00:00
James Booth
b704fb1777 Merge remote-tracking branch 'origin/ctrl-w' into ctrl-w 2014-12-01 22:14:09 +00:00
James Booth
bca36bfcbf Removed debug 2014-12-01 22:13:42 +00:00
James Booth
0a3365d297 Added ifdef to _show_privacy() function 2014-12-01 21:54:32 +00:00
James Booth
fe021a226c Added ctrl-w support (with debug) 2014-12-01 21:45:08 +00:00
James Booth
71ed9ac2d1 Fixed /me messages in chat room history 2014-12-01 13:38:17 +00:00
James Booth
8fee155797 Automatically add/remove '/' when adding and removing aliases 2014-11-30 23:34:54 +00:00
James Booth
e70cbd1b61 Colour /me messages correctly
fixes #457
2014-11-30 22:50:02 +00:00
James Booth
5875dcfd53 Only overwrite preferences with theme when them loaded, not on startup 2014-11-30 21:25:13 +00:00
James Booth
aec7afd06a Added caching of legacy capabilities 2014-11-30 00:37:36 +00:00
Will Song
6a3285795a removing the account connected to the default account removes the default account as well 2014-11-27 20:26:10 -06:00
Will Song
3b13c00df4 /connect supports default account 2014-11-27 13:18:54 -06:00
Will Song
b23c60953f add some tooltip messages for /account and /connect 2014-11-27 12:28:16 -06:00
Will Song
b5a40f5b04 finish /account default ac 2014-11-27 12:11:47 -06:00
Will Song
48778265e7 add a bit of default account autocomplete 2014-11-27 12:07:18 -06:00
Will Song
de9e621bb7 add default account property and commands associated with them 2014-11-27 11:42:23 -06:00
James Booth
94bd9dbdfe Store capabilities against fulljid when unsupported hash 2014-11-27 01:08:02 +00:00
James Booth
e263e00a85 Refactored parsing caps 2014-11-26 21:59:36 +00:00
James Booth
508bfeb2bf Refactored available presence handler 2014-11-26 21:07:46 +00:00
James Booth
ed228ebb59 Merge remote-tracking branch 'incertia/master' 2014-11-24 00:54:51 +00:00
James Booth
679513ae73 Merge remote-tracking branch 'incertia/account-remove' 2014-11-24 00:38:22 +00:00
James Booth
d1c5cfefb6 Free contact list on /who 2014-11-24 00:32:30 +00:00
James Booth
05664ef009 Free string after setting theme ui preference, fixed valgrind warning 2014-11-24 00:29:02 +00:00
Will Song
be031bbe54 implement account removal 2014-11-23 15:53:13 -06:00
Will Song
915c3633e8 implement account removal 2014-11-23 15:37:10 -06:00
Will Song
035dc313dd add nooffline to /roster autocomplete 2014-11-23 02:06:04 -06:00
Will Song
553f8b54cc updated description for /roster 2014-11-23 02:03:26 -06:00
Will Song
e113fd2b1d roster_get_contacts_nooffline only gets contacts that are not offline 2014-11-23 02:00:56 -06:00
Will Song
a980fbe0bd add nooffline option to roster 2014-11-23 01:34:09 -06:00
Will Song
0f2035e4ad add functions for getting roster list without offline contacts (but not implemented) 2014-11-23 01:33:23 -06:00
James Booth
f486b5884b Added Alt-Backspace to navigation help 2014-11-22 22:12:32 +00:00
James Booth
b819ea3708 Fix autocomplete clash, fix crash on opening window when recipient not in roster 2014-11-22 21:55:33 +00:00
James Booth
6772935493 Remove contact lookup when showing OTR privacy 2014-11-22 21:26:53 +00:00
James Booth
e8a65e3b68 Renamed roster autocomplete functions 2014-11-22 21:13:33 +00:00
James Booth
c0420e9cfb Merge branch 'autocomplete_fix' 2014-11-22 20:41:57 +00:00
James Booth
d965709910 Tidied whitespace 2014-11-22 20:41:47 +00:00
James Booth
3e98df7a2f Fixed autoaway help 2014-11-20 23:31:20 +00:00
James Booth
cdba79cbb5 Merge branch 'master' into autocomplete_fix 2014-11-20 22:37:14 +00:00
James Booth
5030d49952 Removed bookmark autojoin limit 2014-11-20 22:33:46 +00:00
James Booth
f24b348739 refactor parts of title bar render out of _title_bar_draw 2014-11-20 21:32:19 +00:00
James Booth
81b1009fd9 Updated /theme usage 2014-11-20 01:50:04 +00:00
James Booth
9d9ffb08cf Show roster after roster received 2014-11-20 00:32:33 +00:00
James Booth
20fa96325d Added [ui] preferences to themes 2014-11-19 23:58:55 +00:00
James Booth
1a896d7b53 Tidied theme.c 2014-11-19 16:53:40 +00:00
James Booth
076576178c Update input window on /theme set 2014-11-19 16:32:26 +00:00
James Booth
a781295542 Added newline 2014-11-17 21:14:03 +00:00
James Booth
1d5ac1b474 Added /theme colours command 2014-11-17 21:10:08 +00:00
James Booth
74d9937573 Changed type to enum for presence colour attributes 2014-11-16 23:37:07 +00:00
James Booth
976e5aac0a Added support for bold theme settings 2014-11-16 21:56:19 +00:00
James Booth
ed4391ec8a Replaced colours with theme_item_t 2014-11-16 20:40:19 +00:00
James Booth
90dd1de91a Fixed indentation bug 2014-11-16 16:27:11 +00:00
James Booth
cd855d3740 Added /time off 2014-11-16 01:28:41 +00:00
James Booth
8c027a56f9 Implemented /time preference 2014-11-16 01:11:00 +00:00
James Booth
40dc8e2c49 Added /time setting 2014-11-16 00:40:54 +00:00
James Booth
1479a5e134 Added /roster size and /occupants size settings 2014-11-15 23:47:27 +00:00
James Booth
3a778cc974 Added seperate values for roster and occupants win sizes 2014-11-15 22:59:13 +00:00
James Booth
3642797146 Changed subwin width to percentage 2014-11-15 22:26:43 +00:00
James Booth
dad8e2799d Fixed roster resource list 2014-11-13 01:19:20 +00:00
James Booth
0a7c16747b Fixed freeing lists 2014-11-13 01:01:41 +00:00
James Booth
ada6f5a8b6 Fixed leaks 2014-11-13 00:47:07 +00:00
James Booth
4e429fe788 Implemented /roster by group 2014-11-13 00:22:22 +00:00
James Booth
15d0f679f6 Implemented roster grouped by presence 2014-11-12 23:19:07 +00:00
James Booth
7e360dc35a Fixed printing utf8 chats to roster, changed boothj5 theme 2014-11-11 00:54:10 +00:00
James Booth
a45cb4bb3c Added /roster by commands, wip 2014-11-11 00:30:29 +00:00
James Booth
eace543da5 Added /roster show|hide resource 2014-11-11 00:00:10 +00:00
James Booth
f715c0580c Added /roster show|hide offline 2014-11-10 23:51:13 +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
04bacdcf38 Order resources in roster, allow paging roster 2014-11-10 01:10:43 +00:00
James Booth
48afa52390 Show resources and only subscribed contacts in roster panel 2014-11-10 00:46:20 +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
70501f5dbf Wordwrap, handle words bigger than line space 2014-11-09 23:05:53 +00:00
James Booth
fbda2b4170 Fixed history messages to work with wrapping 2014-11-09 00:36:25 +00:00
James Booth
bcfbc9f7b3 Added time to xmlconsole, handle newlines in messages 2014-11-08 22:35:47 +00:00
James Booth
da376b26d6 Simple word wrap 2014-11-08 21:16:16 +00:00
James Booth
ecef8f7956 Print one word at a time 2014-11-08 21:03:28 +00:00
James Booth
373b3a2d7c Added /presence command to show contacts presence 2014-11-07 22:38:34 +00:00
James Booth
571db23150 Use message theme settings in chat rooms 2014-11-07 21:05:51 +00:00
James Booth
0bde9a6121 Use message theme setting for regular chat 2014-11-07 20:54:55 +00:00
James Booth
f56cc9761f Added main.text.me and main.text.them theme settings 2014-11-07 20:46:31 +00:00
James Booth
e445356c5a Updated /who help 2014-11-05 23:17:14 +00:00
James Booth
74a2d4601f Removed hash_table_iter usage for room roster 2014-11-03 21:27:41 +00:00
James Booth
7a03dd7641 Free datetime on ping errors 2014-11-03 21:09:49 +00:00
James Booth
c4ab9405f6 Fixed leaks in /affiliation and /role 2014-11-03 20:57:22 +00:00
James Booth
c4412fe823 Fixed various memory leaks 2014-11-01 01:48:36 +00:00
James Booth
b6c116e8b6 Updated help 2014-10-27 20:52:45 +00:00
James Booth
d1e99ab920 Updated /account clear help 2014-10-27 20:37:51 +00:00
James Booth
c8b524d9c8 Show message on /prefs desktop when notifications not supported by the build 2014-10-26 22:20:37 +00:00
James Booth
6c980969e0 Added compile time checks for big endian from @pasis 2014-10-26 21:43:50 +00:00
James Booth
d7911664e1 Merge branch 'master' into symlinks 2014-10-26 20:53:33 +00:00
James Booth
be7c4f5a00 Follow symlinks for profrc and accounts files 2014-10-26 20:43:05 +00:00
James Booth
fea8945953 Updated /info help 2014-10-24 19:23:37 +01:00
James Booth
25b673a422 Updated /form help 2014-10-24 19:14:38 +01:00
James Booth
bc563851aa Updated privileges help 2014-10-24 19:11:23 +01:00
James Booth
5fc35bd6a6 Changed room help colour, added whitespace after invalid field setting 2014-10-24 00:21:00 +01:00
James Booth
0b61c75969 Removed room unlocked console message 2014-10-24 00:00:37 +01:00
James Booth
fa834d003c Added locked messages when joining rooms 2014-10-23 23:58:25 +01:00
James Booth
60e3f91cf6 Removed console message when joining locked rooms 2014-10-23 23:56:31 +01:00
James Booth
c014bb34b3 Renamed room destroy function 2014-10-23 23:33:12 +01:00
James Booth
84765969e0 Added /account clear [account] port 2014-10-23 23:12:15 +01:00
James Booth
552d88b931 Added /account clear [account] server 2014-10-23 23:07:27 +01:00
James Booth
a78891b8b3 Added patch from @pasis for big endian architectures 2014-10-21 23:56:24 +01:00
James Booth
140cf0cbb0 Revert "Removed 0.4.5 todo"
This reverts commit e1f5cfb928.
2014-10-20 21:01:27 +01:00
James Booth
e1f5cfb928 Removed 0.4.5 todo 2014-10-20 20:58:49 +01:00
James Booth
7a88898a21 Implemented new field commands 2014-10-19 03:27:34 +01:00
James Booth
272fbf2f0f Updated form field help 2014-10-19 01:27:44 +01:00
James Booth
ecb2989a5d Added /form help autocomplete 2014-10-19 01:23:06 +01:00
James Booth
7973e0b683 Refactor form field and form autocompleters 2014-10-19 01:09:53 +01:00
James Booth
23ff88f27f Added all autocompelers for form fields 2014-10-19 01:01:31 +01:00
James Booth
f1097daaa3 Added autocomplete for /field list-single types 2014-10-19 00:34:09 +01:00
James Booth
5818fbe7bb Added autocomplete for /field boolean types 2014-10-19 00:26:02 +01:00
James Booth
04a6504689 Remove fields from command autocomplete on form submit/cancel 2014-10-18 23:56:10 +01:00
James Booth
6246c8b940 Add fields to command autocompleter on switch/previous/next 2014-10-18 23:16:19 +01:00
James Booth
bd03bbad73 Moved previous win function 2014-10-18 22:43:47 +01:00
James Booth
bb3f1b0909 Set file permissions for logs 2014-10-18 21:41:39 +01:00
James Booth
c6ae459cd5 Set file permissions for preferences file 2014-10-18 21:26:38 +01:00
James Booth
462cf67f1d Set file permissions for accounts file 2014-10-18 21:23:42 +01:00
James Booth
bbf807ea97 Fixed message on /ban in private conversations 2014-10-18 20:35:23 +01: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
48929aa92e Removed /help other 2014-10-18 00:18:10 +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
da373e9097 Added validation to /role and /affiliation 2014-10-12 01:32:15 +01:00
James Booth
77684cda00 Allow /role list and /affiliation list with no args 2014-10-12 01:10:46 +01:00
James Booth
8b1d0bdc3f Added /affiliation and /role commands 2014-10-12 00:43:58 +01:00
James Booth
c66d03539d Removed /room info command, covered by /info 2014-10-11 23:37:04 +01:00
James Booth
8b77f527c0 Moved /room subject to /subject 2014-10-11 23:13:56 +01:00
James Booth
9054427144 Moved /room ban to /ban 2014-10-11 23:13:22 +01:00
James Booth
02a4beb6fe Moved /room kick to /kick 2014-10-10 13:35:50 +01:00
James Booth
6a2bc79ca6 Fixed nick changes 2014-10-10 02:25:52 +01:00
James Booth
ed9266f959 Added key code for ctrl-left ctrl-right 2014-10-09 22:43:06 +01:00
James Booth
3615736762 Renamed args to /occupants default 2014-10-09 22:39:57 +01:00
James Booth
ce7cb3f40f Added occupants UI preference 2014-10-09 22:02:39 +01:00
James Booth
cbe14d6e4e Implemented /occupants show 2014-10-09 21:42:09 +01:00
James Booth
73262221f5 Implemented /occupants hide 2014-10-09 21:27:16 +01:00
James Booth
778a495fbd Added /occupants commands, unfinished 2014-10-09 13:16:36 +01:00
James Booth
f6e0a219ff Add key codes for shift arrow keys on ITerm 2014-10-08 00:50:28 +01:00
James Booth
ef62104d63 Added larger occupants pad size 2014-10-08 00:34:26 +01:00
James Booth
4f0009312f Added help to form config 2014-10-07 21:31:34 +01:00
James Booth
fb84c6dcd0 Fixed spelling 2014-10-07 21:21:03 +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
0e18b10b8e Include self in room roster 2014-10-07 01:16:46 +01:00
James Booth
d8eb97eec8 Refactor handle_muc_occupant_online 2014-10-07 00:57:51 +01:00
James Booth
d6a4af9992 Refactor muc user handler 2014-10-07 00:46:08 +01:00
James Booth
ea511f8fbc Refactor muc_user_handler 2014-10-07 00:22:39 +01:00
James Booth
3228746827 Added /room ban command 2014-10-06 23:17:40 +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
2aeaad230e Allow setting "none" affiliation 2014-10-06 00:38:29 +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
fd5326b40b Added autocompleters for /room subcommands 2014-10-04 23:58:54 +01:00
James Booth
0b78a9a57e Implemented setting affiliation and listing affiliations 2014-10-04 23:40:36 +01:00
James Booth
719dbfaacc Split autocompleters for roster and rooms 2014-10-04 22:43:22 +01:00
James Booth
2d05601259 Split validation between /who for rooms and roster 2014-10-04 21:53:04 +01:00
James Booth
58fb89ad33 Allow adding and removing room owners 2014-10-04 21:38:31 +01:00
James Booth
7090f04a92 Formatted /room info output 2014-10-02 23:52:17 +01:00
James Booth
25b04537e1 Added service discovery to /room info command 2014-10-02 23:37:10 +01:00
James Booth
ba6aded2b4 Merge branch 'master' into muc_roles 2014-10-02 22:17:56 +01:00
James Booth
1423ee7a75 Handle roster set and result when item name is empty string
fixed #431
2014-10-02 22:12:41 +01:00
James Booth
41d6994310 Merge remote-tracking branch 'origin/muc_roles' into muc_roles 2014-10-02 01:38:02 +01:00