1
0
mirror of https://github.com/profanity-im/profanity.git synced 2024-12-04 14:46:46 -05:00
Commit Graph

3188 Commits

Author SHA1 Message Date
James Booth
a713654f93 Fixed compilation without libotr 2016-01-03 02:01:01 +00:00
James Booth
4f35b11471 End OTR session when recipient goes offline 2016-01-03 01:32:37 +00:00
James Booth
3d9e860574 Set autoping timeout default to 10 seconds, added null checks 2016-01-02 16:45:20 +00:00
James Booth
523c35c375 Fix roster rooms checks 2016-01-02 02:50:17 +00:00
James Booth
8ca3fe4ea8 Sort roster rooms 2016-01-02 02:41:51 +00:00
James Booth
f9d89d564f Check for mucwin before showing room in roster 2016-01-02 01:45:02 +00:00
James Booth
254c83d2d1 Added /roster show|hide rooms 2016-01-02 01:37:03 +00:00
James Booth
cf80fdc329 Added roster rooms preference 2016-01-02 01:29:12 +00:00
James Booth
22a14e1240 Show rooms in roster panel 2016-01-02 01:22:19 +00:00
James Booth
f27cae68c5 Added autoping timeout preference 2016-01-01 19:50:13 +00:00
James Booth
94b0d2c6da Added hardcoded autoping timeout 2015-12-31 01:48:04 +00:00
James Booth
08d30a4a83 Abort autping when existing attempt already in progress 2015-12-31 00:33:05 +00:00
James Booth
2847e39659 Tidy ping handlers 2015-12-31 00:11:58 +00:00
James Booth
a0c9b0cb70 Renamed autoping handler 2015-12-30 23:50:39 +00:00
James Booth
fb7001cffb Added console muc message setting to themes 2015-12-30 00:48:37 +00:00
James Booth
6a8656a06b Added /console command 2015-12-29 23:32:32 +00:00
James Booth
8ea228480c Added console MUC message preference 2015-12-29 23:00:49 +00:00
Dmitry Podgorny
bea246d81b Don't compile pgp code with --disable-pgp 2015-12-21 12:53:41 +02:00
James Booth
d9f5a2bda6 Updated console new message text 2015-12-20 23:26:05 +00:00
James Booth
1b88b5706e Change console incoming message text to include "win" 2015-12-20 22:50:03 +00:00
James Booth
e3471fbfaa Fixed /charset help 2015-12-20 03:15:00 +00:00
James Booth
1f56c12377 Added cons_show_incoming_room_message() 2015-12-20 00:54:17 +00:00
James Booth
8f6b37f650 Added /charset command 2015-12-19 23:32:58 +00:00
James Booth
a02c89a8e8 Use MB_CUR_MAX when calculating cursor position 2015-12-19 23:21:07 +00:00
James Booth
e1f674eca3 Fixed PGP error message 2015-12-19 22:55:33 +00:00
James Booth
88fd2a25ee Show PGP error strings 2015-12-15 00:38:16 +00:00
James Booth
482eea4fcf Moved sending of initial presence to sv_ev_roster_received 2015-12-14 23:57:06 +00:00
Steven Erenst
29bc58f53c Fix spelling and grammatical mistakes in command help text
Signed-off-by: Steven Erenst <stevenerenst@gmail.com>
2015-12-06 00:58:51 -08:00
James Booth
53fd2b3534 Read ~/.config/profanity/inputrc 2015-12-06 02:12:20 +00:00
James Booth
e9e54dca44 Renamed readline handlers 2015-12-06 01:33:53 +00:00
James Booth
0d25de9459 Added readline function definitions 2015-12-06 01:33:36 +00:00
James Booth
1093737c62 Updated version in CHANGELOG and comments 2015-12-02 00:34:27 +00:00
James Booth
1e6a1f9921 readline: set rl_outstream to /dev/null 2015-12-01 22:24:43 +00:00
James Booth
d35f30f382 Merge remote-tracking branch 'kiethandi/master' 2015-11-30 23:58:29 +00:00
U-DIR\kieran.thandi
d288291e49 Include string take 2 2015-11-30 23:16:33 +00:00
U-DIR\kieran.thandi
a78dba0ced resolve strdup dec 2015-11-30 22:57:10 +00:00
U-DIR\kieran.thandi
b818dddb32 Inclued stdlib 2015-11-30 22:34:24 +00:00
James Booth
0920b65ddf Added /wins unread 2015-11-30 00:17:44 +00:00
James Booth
d9435d3b65 Tidy wins_create_summary() 2015-11-29 23:58:52 +00:00
James Booth
6e304bb867 Disable readline completion 2015-11-29 22:23:31 +00:00
James Booth
921ce6ec7d Changed /bookmark list output to show text "win" 2015-11-29 01:13:00 +00:00
James Booth
b404663847 Tidied output for /notify command 2015-11-29 00:34:53 +00:00
James Booth
3fbee4023e Renamed /notify message -> /notify chat 2015-11-29 00:08:49 +00:00
James Booth
04ad003e11 Added /notify reset to autocompletion 2015-11-28 23:47:08 +00:00
James Booth
2fc984e673 Removed regular chat message triggers 2015-11-28 23:43:02 +00:00
James Booth
60305de0d9 Added room specific notify settings 2015-11-28 00:15:53 +00:00
James Booth
ff2b19e3f9 Merge branch 'master' into notifications 2015-11-27 21:09:24 +00:00
Alex Jordan
29a2de332c Fix typo 2015-11-27 03:42:55 -08:00
James Booth
d3389db233 Only show reminder notifications when notifications are enabled 2015-11-25 22:33:26 +00:00
James Booth
20e63e364b Finished basic /notify triggers 2015-11-25 21:24:21 +00:00
James Booth
b9794361f7 Implemented regular chat notify triggers 2015-11-25 01:42:27 +00:00
James Booth
01682a7594 Merge branch 'master' into notifications 2015-11-25 00:43:26 +00:00
James Booth
c14d5b77e0 Merge remote-tracking branch 'incertia/export-command' 2015-11-25 00:41:37 +00:00
Will Song
df2726bdf5
add spaces after constructs such as if/for/while 2015-11-24 18:24:48 -06:00
Will Song
e945347f52
free fname as soon as we are done with it (also prevents a memory leak) 2015-11-24 18:19:02 -06:00
Will Song
d8022a9f20
remove NULL check because parse_args will fail before calling cmd_export 2015-11-24 18:15:35 -06:00
Will Song
bd33a24beb
add some code to deal with a common $HOME convention 2015-11-24 18:12:41 -06:00
Will Song
c4a1e7da9b
show different message when one is not connected 2015-11-24 18:02:48 -06:00
Will Song
35b8d58270
move brace to newline to follow conventions 2015-11-24 17:59:28 -06:00
Will Song
b2bc69f926
styling changes and remove temporary comment 2015-11-24 17:58:55 -06:00
James Booth
9c8b137a51 Tidy regular chat and room notifications 2015-11-24 23:03:52 +00:00
Will Song
d4e0be7176
actually check the return value of write for rare fail conditions 2015-11-23 21:02:23 -06:00
Will Song
8b9b06c24f
ignore another return value and move initial loop declaration outside of loop 2015-11-23 20:43:42 -06:00
Will Song
ddd5ce857d
mark return value of sys_write as unused to fix tests 2015-11-23 20:39:04 -06:00
Will Song
4501231eb3
since we keep track of length correctly, we don't need to add a null terminator for sys_write 2015-11-23 20:30:48 -06:00
Will Song
f73f88c571
fix typo 2015-11-23 20:29:17 -06:00
Will Song
aac8bfe98f
decrease the amount of sys_writes used and add a useful error message
also pretty up console messages by adding an empty line
2015-11-23 20:27:25 -06:00
Will Song
fa6a26c6fd
add feature in issue #585
this should only be temporary due the silly amounts of syscalls involved

ideally we would create a new escaped string and write that directly via
fputs
2015-11-23 20:09:51 -06:00
James Booth
00a735ece5 Added autocompleters for notify trigger removal 2015-11-24 01:34:06 +00:00
James Booth
a488d944d2 Added functions to manage custom notification triggers 2015-11-24 00:38:33 +00:00
James Booth
52d4e70d76 Merge branch 'master' into notifications 2015-11-24 00:08:47 +00:00
James Booth
a2f5e921f2 Added conf_string_list_add 2015-11-24 00:02:21 +00:00
James Booth
97d1b964c3 Created config/conflists.c for shared config list handling 2015-11-23 23:54:14 +00:00
James Booth
b79d77409f Added notify triggers WIP 2015-11-23 23:43:53 +00:00
James Booth
e8c0eeda8b Show error message when OTR key cannot be loaded 2015-11-23 21:24:31 +00:00
James Booth
bf1e7efe23 Show summary of trusted certificates, add /tls cert <fingerprint>
fixes #676
2015-11-22 19:53:41 +00:00
James Booth
216493ef07 Tidied roster commands 2015-11-22 17:45:38 +00:00
James Booth
0f22179eef Added /roster resource join 2015-11-22 16:37:05 +00:00
James Booth
c4e8af0b6d Added /roster char resource 2015-11-22 02:04:59 +00:00
James Booth
fade5469df Updated help 2015-11-22 01:51:32 +00:00
James Booth
3bc9275079 Added word wrap to roster panel 2015-11-22 01:39:20 +00:00
James Booth
0763bfc9f4 Pass wrap boolean to win_sub_print() 2015-11-22 01:00:14 +00:00
James Booth
3d1299eb1e Renamed subwin functions 2015-11-22 00:54:40 +00:00
James Booth
b4482b9fe1 Updated themes 2015-11-22 00:48:18 +00:00
James Booth
7a324abcd6 Option to show presence information on single line in roster 2015-11-22 00:30:42 +00:00
James Booth
5c08bea8d0 Added /roster indent presence 2015-11-21 22:03:43 +00:00
James Booth
ef0f093efd Added /roster indent resource 2015-11-21 21:49:12 +00:00
James Booth
f54c2e8eca Tidy rosterwin 2015-11-21 21:20:12 +00:00
James Booth
b73ff08a72 Free pref strings 2015-11-21 21:19:28 +00:00
James Booth
4b022687fa Added /roster indent contact 2015-11-21 21:03:53 +00:00
James Booth
6935862195 Don't print empty line when no presence or status displayed in roster 2015-11-20 01:30:49 +00:00
James Booth
99b4fff949 Merge remote-tracking branch 'kiethandi/patch-2' 2015-11-20 00:38:08 +00:00
kiethandi
f948337103 Update privwin.c 2015-11-20 00:34:03 +00:00
James Booth
548f9394be Removed unused priority settings 2015-11-20 00:18:13 +00:00
kiethandi
2c8c394595 Update privwin.c
Take 2 added include.
2015-11-20 00:16:51 +00:00
James Booth
16fbdedceb Added /roster char contact 2015-11-20 00:06:46 +00:00
James Booth
3f18c8c35d Added missing include 2015-11-19 23:32:11 +00:00
James Booth
316b6a7b8b Added /roster char header 2015-11-19 23:21:51 +00:00
James Booth
78a8487892 Fixed /roster help 2015-11-19 01:02:13 +00:00
James Booth
4eb0f14a3d Changed roster defaults, updated themes 2015-11-19 00:45:03 +00:00
James Booth
522b9ab6be Show status when show presence disabled 2015-11-18 23:00:06 +00:00
James Booth
8e84d160e6 Added option to show resource priority in roster 2015-11-18 02:14:11 +00:00
James Booth
4505102fa8 Added roster count option 2015-11-18 02:02:49 +00:00
James Booth
edbd2d5843 Don't show offline below contact 2015-11-18 01:10:03 +00:00
James Booth
4efe456e74 Pass offline filter to roster_get_contacts 2015-11-18 01:03:35 +00:00
James Booth
b373cbcfc0 Pass offline filter to roster list functions 2015-11-18 00:25:35 +00:00
James Booth
2260e3bd6f Pass ordering to roster list functions 2015-11-18 00:06:00 +00:00
James Booth
8e8852fa9f Added /roster order name|presence 2015-11-17 23:37:33 +00:00
James Booth
230a14219c Tidy rosterwin.c 2015-11-15 23:28:24 +00:00
James Booth
1d9d893ec0 Tidy rosterwin 2015-11-15 23:18:23 +00:00
James Booth
c31ba8c066 Added _rosterwin_presence() 2015-11-15 23:13:53 +00:00
James Booth
b44ea03022 Added _rosterwin_resource() 2015-11-15 22:54:09 +00:00
James Booth
98a395e933 Show presence when resource hidden 2015-11-15 22:17:36 +00:00
James Booth
badbc3003f Show presence in roster WIP 2015-11-15 21:33:48 +00:00
James Booth
c5ac0f1319 Added missing default time formats.
issue #669
2015-11-14 22:42:56 +00:00
James Booth
c4a1d69a0c Keep count of group members 2015-11-12 00:46:42 +00:00
James Booth
1f723a60b3 Tidy connection.c 2015-11-11 01:25:10 +00:00
James Booth
79c2b177a2 Tidy /tls command 2015-11-11 00:57:38 +00:00
James Booth
1e34b9c914 Added /tls trust 2015-11-10 23:26:19 +00:00
James Booth
fcfdc175b6 Allow /quit during TLS certificate verification prompt 2015-11-10 23:14:59 +00:00
James Booth
0bb596e14a Added extra fields to TLSCertificate 2015-11-10 22:46:48 +00:00
James Booth
9302188a32 Show current TLS certificate 2015-11-10 01:20:40 +00:00
James Booth
bee27f4773 Added /tls cert to show current certificate fingerprint 2015-11-09 23:31:21 +00:00
James Booth
4cbfb88814 Store current TLS certificate fingerpint in memory for reconnect 2015-11-09 20:57:26 +00:00
James Booth
bee3e15ea4 Clear Readline undo list when autocompleting command history
fixes #667
2015-11-09 00:34:17 +00:00
James Booth
6feaa12253 Fixed /time help examples
fixes #650
2015-11-08 22:43:42 +00:00
James Booth
8230a28445 Added /account autocomplete for startscript property 2015-11-08 22:31:53 +00:00
James Booth
60215cdf9d Renamed MUC private window functions 2015-11-08 22:08:29 +00:00
James Booth
8a397263dd ui_incoming_private_msg takes ProfPrivateWin, added asserts 2015-11-08 22:01:51 +00:00
James Booth
ebff1fc81e Moved ui_outgoing_private_msg to privwin.c 2015-11-05 23:30:51 +00:00
James Booth
9fcdc5901c Removed ui_new_private_win 2015-11-05 23:28:21 +00:00
James Booth
f1daec663d Added privwin module 2015-11-05 23:20:19 +00:00
James Booth
38255e9be4 Make all mucconfwin functions take ProfMucConfWin 2015-11-02 22:19:01 +00:00
James Booth
9106029261 Added assert check to mucconfwin_field_help 2015-11-02 22:07:07 +00:00
James Booth
2a65aa0030 Added assert check to mucconfwin_form_help 2015-11-02 22:06:12 +00:00
James Booth
a3e9178ea2 Renamed mucconfwin functions 2015-11-02 22:05:17 +00:00
James Booth
a761ea7176 Added mucconfwin module 2015-11-02 21:52:43 +00:00
James Booth
eece15d92c Removed ui_statusbar_new 2015-11-02 21:24:12 +00:00
James Booth
022d20bbdc Removed ui_clear_win 2015-11-02 21:21:52 +00:00
James Booth
84adec83f9 Removed ui_unread 2015-11-02 21:14:55 +00:00
James Booth
7f5b563a81 Removed ui_handle_room_join_error 2015-11-02 21:11:47 +00:00
James Booth
2089eebf09 Removed ui_win_type 2015-11-02 21:07:04 +00:00
James Booth
bcd19c6d16 Removed ui_swap_wins 2015-11-02 21:05:21 +00:00
James Booth
df5b93987f Removed ui_tidy_wins 2015-11-02 21:03:30 +00:00
James Booth
75bce88b8a Renamed ui_switch_win -> ui_focus_win 2015-11-02 20:59:36 +00:00
James Booth
14a81fbbbe Removed ui_handle_recipient_not_found 2015-11-02 20:46:52 +00:00
James Booth
2ea0e1e938 Removed ui_titlebar_presence 2015-11-02 20:39:43 +00:00
James Booth
1c3eadbf1c Removed ui_get_chat_recipients 2015-11-02 20:35:01 +00:00
James Booth
6779c5bf68 mucwin_hide_occupants takes ProfMucWin 2015-11-02 01:01:37 +00:00
James Booth
668f92ece2 mucwin_show_occupants takes ProfMucWin 2015-11-02 00:59:27 +00:00
James Booth
ce0763e160 mucwin_update_occupants takes ProfMucWin 2015-11-02 00:57:13 +00:00
James Booth
6c2617ccda Added assert to mucwin_info 2015-11-02 00:53:54 +00:00
James Booth
1602011e01 mucwin_role_set_error takes ProfMucWin 2015-11-02 00:52:50 +00:00
James Booth
982bc8e066 mucwin_affiliation_set_error takes ProfMucWin 2015-11-02 00:51:12 +00:00
James Booth
c9db9257ae Added assert to mucwin_show_role_list 2015-11-02 00:49:05 +00:00
James Booth
7bedb6c294 mucwin_handle_role_list takes ProfMucWin 2015-11-02 00:47:43 +00:00
James Booth
1aa3c0ea4f mucwin_role_list_error takes ProfMucWin 2015-11-02 00:44:33 +00:00
James Booth
2792c59031 Added assert to mucwin_show_affiliation_list 2015-11-02 00:41:52 +00:00
James Booth
3341e8c202 mucwin_handle_affiliation_list takes ProfMucWin 2015-11-02 00:40:23 +00:00
James Booth
d81dbdb233 mucwin_affiliation_list_error takes ProfMucWin 2015-11-02 00:38:26 +00:00
James Booth
2e81a4efa3 mucwin_broadcast takes ProfMucWin 2015-11-02 00:36:25 +00:00
James Booth
5c53c94253 mucwin_kick_error takes ProfMucWin 2015-11-02 00:33:31 +00:00
James Booth
23ada0d38b mucwin_subject takes ProfMucWin 2015-11-02 00:29:35 +00:00
James Booth
0592c7f9e9 mucwin_requires_config takes ProfMucWin 2015-11-02 00:26:56 +00:00
James Booth
986741dea8 mucwin_message takes ProfMucWin 2015-11-02 00:24:19 +00:00
James Booth
e68784be43 mucwin_history takes ProfMucWin 2015-11-02 00:19:46 +00:00
James Booth
6ed72d8a35 mucwin_nick_change takes ProfMucWin 2015-11-02 00:17:46 +00:00
James Booth
42643391a4 mucwin_occupant_nick_change takes ProfMucWin 2015-11-02 00:16:01 +00:00
James Booth
b3150ef8e1 mucwin_occupant_presence takes ProfMucWin 2015-11-02 00:14:16 +00:00
James Booth
d505a92d1e mucwin_occupant_online takes ProfMucWin 2015-11-01 23:52:16 +00:00
James Booth
3a98bf315c mucwin_occupant_banned takes ProfMucWin 2015-11-01 23:49:45 +00:00
James Booth
cc498110e2 mucwin_occupant_kicked takes ProfMucWin 2015-11-01 23:47:59 +00:00
James Booth
24f283e960 mucwin_occupant_offline takes ProfMucWin 2015-11-01 23:45:54 +00:00
James Booth
8b4bb1c7f1 mucwin_roster takes ProfMucWin 2015-11-01 23:41:45 +00:00
James Booth
d21faa4609 mucwin_room_disco_info takes ProfMucWin 2015-11-01 23:33:50 +00:00
James Booth
363fda82c1 mucwin_room_info_error takes ProfMucWin 2015-11-01 23:30:44 +00:00
James Booth
cb587b0772 Tidy sv_ev_muc_occupant_online 2015-11-01 23:26:47 +00:00
James Booth
ed9585376e mucwin_occupant_role_and_affiliation_change takes ProfMucWin 2015-11-01 23:23:49 +00:00
James Booth
799c064dff mucwin_occupant_affiliation_change takes ProfMucWin 2015-11-01 23:14:27 +00:00
James Booth
288c1a9d6e mucwin_occupant_role_change takes ProfMucWin 2015-11-01 23:12:35 +00:00
James Booth
22cd5b433f Tidy sv_ev_muc_self_online 2015-11-01 23:10:07 +00:00
James Booth
6ea9314f98 mucwin_role_and_affiliation_change takes ProfMucWin 2015-11-01 23:08:02 +00:00
James Booth
c0fc7b51e3 mucwin_affiliation_change takes ProfMucWin 2015-11-01 22:46:24 +00:00
James Booth
e547ae0bcc mucwin_role_change takes ProfMucWin 2015-11-01 22:42:31 +00:00
James Booth
2be3b7d9a2 Tidied ui.h 2015-11-01 22:02:22 +00:00
James Booth
ed2324900a Renamed ui_room_hide_occupants -> mucwin_hide_occupants 2015-11-01 21:57:57 +00:00
James Booth
a08f112fd0 Renamed mucwin_occupants -> mucwin_show_occupants 2015-11-01 21:57:18 +00:00
James Booth
2e08910841 Renamed ui_room_show_occupants -> mucwin_occupants 2015-11-01 21:56:17 +00:00
James Booth
4697393373 Renamed ui_room_update_occupants -> mucwin_update_occupants 2015-11-01 21:55:16 +00:00
James Booth
e4e76ec58b Renamed ui_show_room_info -> mucwin_info 2015-11-01 21:54:31 +00:00
James Booth
67f8faf645 Renamed ui_handle_room_role_set_error -> mucwin_role_set_error 2015-11-01 21:53:12 +00:00
James Booth
50765190f7 Renamed ui_handle_room_affiliation_set_error -> mucwin_affiliation_set_error 2015-11-01 21:52:27 +00:00
James Booth
d47da01c00 Renamed ui_show_room_role_list -> mucwin_show_role_list 2015-11-01 21:51:24 +00:00
James Booth
556985ec39 Renamed ui_handle_room_role_list -> mucwin_handle_role_list 2015-11-01 21:50:32 +00:00
James Booth
2cc5f17871 Renamed ui_handle_room_role_list_error -> mucwin_role_list_error 2015-11-01 21:48:28 +00:00
James Booth
381bce385f Renamed ui_show_room_affiliation_list -> mucwin_show_affiliation_list 2015-11-01 21:46:57 +00:00
James Booth
fa0ed64190 Renamed ui_handle_room_affiliation_list -> mucwin_handle_affiliation_list 2015-11-01 21:45:59 +00:00
James Booth
21d560f068 Renamed ui_handle_room_affiliation_list_error -> mucwin_affiliation_list_error 2015-11-01 21:37:09 +00:00
James Booth
b26e606061 Renamed ui_room_broadcast -> mucwin_broadcast 2015-11-01 21:35:15 +00:00
James Booth
a575ab174c Renamed ui_handle_room_kick_error -> mucwin_kick_error 2015-11-01 21:34:28 +00:00