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

220 Commits

Author SHA1 Message Date
James Booth
b768296a93 Use Jid in groupchat message handler 2013-01-13 17:58:25 +00:00
James Booth
ec75b5e04a Use Jid datatype in chat rooms 2013-01-13 03:14:36 +00:00
James Booth
bfd7362e2a Renamed muc functions 2013-01-12 01:34:09 +00:00
James Booth
dad01d8f84 Renamed room_chat module to muc 2013-01-12 01:01:39 +00:00
James Booth
e073b69a98 If chat room already joined, just show window 2013-01-11 23:52:01 +00:00
James Booth
d29c7fd878 Updated copyright 2013-01-11 02:05:29 +00:00
James Booth
5fbf966b9c Check nick exists when private messaging
Show nick part of jid in private messaging
2013-01-11 01:35:25 +00:00
James Booth
1cc5353697 Added win_current_is_console() 2013-01-11 01:05:59 +00:00
James Booth
62c102860c Use room nickname autocompleter on /info and /msg when in chat room 2013-01-11 00:48:58 +00:00
James Booth
89967905db Autocomplete: added free function
Fixed tests
2013-01-11 00:17:18 +00:00
James Booth
8756ae552b Fixed help on /connect 2012-12-22 23:48:45 +00:00
James Booth
d669866aac Amended /gone help 2012-12-19 23:33:10 +00:00
James Booth
3d6ebf48ec Added /gone to allow configurable delay for </gone> state 2012-12-19 23:31:25 +00:00
James Booth
803eacc488 Fixed name clashes with windows.h 2012-12-11 23:58:54 +00:00
James Booth
9ccccf9b6d Renamed /account new to /account add 2012-12-10 01:14:21 +00:00
James Booth
5013cce832 Added autocomplete for enabled logins only 2012-12-10 00:53:57 +00:00
James Booth
210da7b137 Added account name autocomplete for /account set 2012-12-10 00:28:08 +00:00
James Booth
8415f57b32 Added /account set command, set server or jid 2012-12-10 00:23:55 +00:00
James Booth
c80383e298 Added /account rename 2012-12-10 00:08:03 +00:00
James Booth
30cb06ed74 Added /account show command 2012-12-09 22:58:45 +00:00
James Booth
ce6f227651 Handle logins using accounts 2012-12-09 22:14:38 +00:00
James Booth
324a85a2a5 Added /account list command, and added jid property to accounts 2012-12-09 20:18:38 +00:00
James Booth
0bba09fd04 Tidied help 2012-12-09 18:59:11 +00:00
James Booth
6b99624348 Renamed /theme load to /theme set 2012-12-09 00:53:26 +00:00
James Booth
a855709b5e Added autocomplete to /theme load 2012-12-09 00:46:14 +00:00
James Booth
53ac41057c Added '/theme load name' to replace '/theme name' 2012-12-09 00:29:17 +00:00
James Booth
bf1a574cfd Changed help on /theme 2012-12-09 00:26:08 +00:00
James Booth
986967ef89 Added /theme list command 2012-12-09 00:21:33 +00:00
James Booth
4c243722c6 Renamed functions in theme 2012-12-08 22:34:16 +00:00
James Booth
8304b30b52 Add optional server parameter to /connect command 2012-12-06 20:36:16 +00:00
James Booth
6cf33d65e7 Changed titlebarversion command 2012-12-02 20:53:45 +00:00
James Booth
9d700f3f1f Organised config file 2012-12-02 02:21:59 +00:00
James Booth
6826a66f85 Moved logins to accounts module 2012-12-02 01:29:42 +00:00
James Booth
489c0c6bd3 Added autocomplete to /autoaway, fixed help 2012-12-02 00:38:10 +00:00
James Booth
fae848ea64 Implemented /autoaway mode idle 2012-12-01 17:46:25 +00:00
James Booth
5a625dd891 Added preferences for /autoaway 2012-11-30 23:34:14 +00:00
James Booth
846d3f848a Allow /msg with no message, to open a chat window with a contact 2012-11-30 00:19:03 +00:00
James Booth
478aa671fc Fixed spelling on /prefs help 2012-11-29 23:16:23 +00:00
James Booth
e7f2697e1f Show command in /prefs, and split into categories 2012-11-29 23:14:56 +00:00
James Booth
1780148f59 Option to show version in title bar with /titlebarversion 2012-11-29 20:34:52 +00:00
James Booth
a1066d210d Tidied help on /sub 2012-11-28 02:02:59 +00:00
James Booth
0756a9cec6 Implemented "/sub sent" to show outstanding sent subscription requests 2012-11-28 01:36:04 +00:00
James Booth
3462b5afd6 List commands for /sub 2012-11-28 00:36:51 +00:00
James Booth
a061b0d452 Handle roster subscription updates 2012-11-27 23:43:32 +00:00
James Booth
2f2fa8de66 Show "request pending" in /sub show, when request has been sent 2012-11-27 22:26:42 +00:00
James Booth
ebf8911ffc Implemented /sub show 2012-11-27 21:53:56 +00:00
James Booth
4e78f8f149 Show usage when invalid /sub argument 2012-11-27 21:20:00 +00:00
James Booth
828cc8b0c0 Show message on /join when windows full 2012-11-27 00:20:43 +00:00
James Booth
671e7d589f Show message on /msg when windows full 2012-11-27 00:17:35 +00:00
James Booth
213ccc0150 Added /autoping command to set ping interval or disable with 0 2012-11-26 23:58:24 +00:00
James Booth
c9ed583412 Fixed some memory leaks 2012-11-26 02:20:44 +00:00
James Booth
b2f9e1ad5f Further tidy up of windows.c 2012-11-26 00:57:41 +00:00
James Booth
e131afdb12 windows tidy up 2012-11-26 00:01:34 +00:00
James Booth
58655a90c3 Fixed help config file locations 2012-11-25 22:08:41 +00:00
James Booth
921f026cba Added auto reconnect, and /reconnect command to control interval 2012-11-25 02:14:38 +00:00
James Booth
faeea56bb5 Revert "Stop ctrl-c quitting with /ctrlc off"
This reverts commit 721df8ca48.
2012-11-23 02:54:35 +00:00
James Booth
721df8ca48 Stop ctrl-c quitting with /ctrlc off 2012-11-23 02:00:51 +00:00
James Booth
cd4465394b Added theme files support with /theme command 2012-11-21 22:33:07 +00:00
James Booth
118d97cd90 Handling commands after /disconnect 2012-11-19 23:15:42 +00:00
James Booth
346ed2a8e8 Moved disconnect code to profanity module 2012-11-19 22:23:48 +00:00
James Booth
e9d6ba2117 Allow nick change in chat room 2012-11-18 18:36:17 +00:00
James Booth
78dd79f6a0 Commands now use parser function to handle parameters 2012-11-18 02:40:49 +00:00
James Booth
0cec188eb5 Added usage of command parser 2012-11-18 00:54:39 +00:00
James Booth
824eaa1678 Added parser module 2012-11-18 00:07:00 +00:00
Dmitry Podgorny
d234a71770 _cmd_set_boolean_preference: fix usage allocation 2012-11-16 13:49:26 +02:00
Dmitry Podgorny
5e6a1fed78 _cmd_tiny: fix allocation for usage variable 2012-11-16 13:44:15 +02:00
James Booth
b5d1a8edcb Started work on command parser 2012-11-15 02:31:31 +00:00
James Booth
c87eeee836 Renamed /status -> /info 2012-11-14 01:39:26 +00:00
James Booth
de2f060742 Added /wins command to list active windows 2012-11-14 00:39:34 +00:00
James Booth
faa5f8871f Merge pull request #81 from pasis/priority
introduce priority support
2012-11-13 14:40:24 -08:00
James Booth
8ecbe0c590 Fixed help command name clash on status 2012-11-13 22:24:37 +00:00
Dmitry Podgorny
52c4c3d953 introduce _strtoi() and validation of typed numbers 2012-11-14 00:23:06 +02:00
James Booth
e506986ef5 Added basic /status command to find out about a specific contact 2012-11-13 22:08:46 +00:00
Dmitry Podgorny
a114fe88b8 introduce priority support
add new command /priority <int>
improve jabber_update_presence()
use jabber_update_presence() for sending initial presence
save priority and status string to jabber_conn structure
2012-11-13 12:51:28 +02:00
James Booth
c67b1d6f40 Fixed help on log command 2012-11-12 19:50:14 +00:00
Dmitry Podgorny
e559c33df4 complete log rotation support
add command '/log maxsize <int>'
save maxsize value to config file
when maxsize < 64 default value 1MB is used
2012-11-12 11:13:03 +02:00
James Booth
2234979031 Changed /who command to allow available and unavailable 2012-11-12 00:21:49 +00:00
James Booth
5ef8aa8c69 Added /help list to list all commands 2012-11-11 23:57:02 +00:00
James Booth
07d624c513 Shortened /sub "request" parameter to "req", and formatted help 2012-11-11 19:32:42 +00:00
Dmitry Podgorny
fb276338fa rename _cmd_reset_who_completer 2012-11-11 16:32:18 +02:00
Dmitry Podgorny
ef64262f8b fix autocompletion for /sub command 2012-11-11 16:16:31 +02:00
Dmitry Podgorny
c3b0e80432 add subscription support 2012-11-11 14:00:21 +02:00
James Booth
aebca570a4 Renamed params in jabber_join 2012-11-10 18:28:45 +00:00
James Booth
7799623b4a Show error text if received 2012-11-10 02:28:38 +00:00
James Booth
81f9292948 Tidy up leaving room 2012-11-10 01:17:16 +00:00
James Booth
8099dfbde6 Fixed leaving chat room 2012-11-09 01:31:52 +00:00
James Booth
76149e1f31 Show delayed time on messages received whilst offline
Also do not show chat state notifications received whilst offline
2012-11-08 22:14:41 +00:00
James Booth
3dd1575549 Added help for chat rooms 2012-11-08 00:29:52 +00:00
James Booth
c967cd9dc9 Using /who in chat room shows room occupants 2012-11-08 00:22:15 +00:00
James Booth
fb3d7a47d2 Leaving chat rooms on /close 2012-11-06 00:00:25 +00:00
James Booth
517bc30360 Handle sending messages in groupchat 2012-11-05 23:24:29 +00:00
James Booth
2f6361a578 Handle room presence notifications 2012-11-05 21:36:32 +00:00
James Booth
c8fe2a4aca Removed debug when joining room 2012-11-04 23:09:15 +00:00
James Booth
5e4c662b23 Added jabber_join for MUC 2012-11-04 22:59:52 +00:00
James Booth
191b3b96a2 Basic /join command 2012-11-04 01:27:01 +00:00
James Booth
4be7833e2b Added a seperate option to enable outgoing typing notifications 2012-11-01 00:12:35 +00:00
James Booth
270ac03558 Fixed invalid state transition from <active/> to <paused/> 2012-10-31 23:41:30 +00:00
James Booth
81dd0a1556 Only send chat states when preference set 2012-10-31 22:08:00 +00:00
James Booth
7982d7061b Added states preference to enable chat states 2012-10-31 21:41:00 +00:00
James Booth
baced85767 Send <gone/> when closing chat window 2012-10-31 21:30:58 +00:00