1
0
mirror of https://github.com/profanity-im/profanity.git synced 2024-09-29 19:56:07 -04:00
Commit Graph

150 Commits

Author SHA1 Message Date
James Booth
aebca570a4 Renamed params in jabber_join 2012-11-10 18:28:45 +00:00
James Booth
be2fb1c809 Handle subject from room 2012-11-10 03:30:27 +00:00
James Booth
7799623b4a Show error text if received 2012-11-10 02:28:38 +00:00
James Booth
a5082a54bd Using vargs in cons_bad_show 2012-11-10 01:39:42 +00:00
James Booth
81f9292948 Tidy up leaving room 2012-11-10 01:17:16 +00:00
James Booth
7512d70ff5 Moved ping iq creation to stanza 2012-11-10 00:43:09 +00:00
James Booth
0da40a34d5 Moved roster iq creation to stanza 2012-11-10 00:25:42 +00:00
James Booth
244358afb0 Renamed stanza creation 2012-11-10 00:19:49 +00:00
James Booth
34c21c0a2e Moved update presence handler creation to stanza module 2012-11-10 00:16:56 +00:00
James Booth
ca75c1c231 Moved chat room leave presence creation to stanza module 2012-11-09 01:36:53 +00:00
James Booth
8099dfbde6 Fixed leaving chat room 2012-11-09 01:31:52 +00:00
James Booth
187ea6e8b8 Moved room join stanza creation 2012-11-09 01:04:32 +00:00
James Booth
d2497b2e92 Added stanza constants 2012-11-09 00:51:32 +00:00
James Booth
f167fdd55d Use stanza module to create groupchat messages 2012-11-08 23:44:09 +00:00
James Booth
f90d13bd5e Added xml escaping to stanza module 2012-11-08 23:35:11 +00:00
James Booth
29b5abfe06 Added function to create message stanzas 2012-11-08 23:31:21 +00:00
James Booth
dac4cf3c3c Added stanza module for basic stanza handling
To reduce duplication in jabber module
2012-11-08 23:07:00 +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
ca40405d2a Do not show chat state notifications when <delay/> present 2012-11-08 21:04:07 +00:00
James Booth
181669a8cb Basic chat room handling of presence 2012-11-08 00:05:32 +00:00
James Booth
c4c5668779 room_chat: add occupants to room roster until roster received 2012-11-07 22:59:48 +00:00
James Booth
6cb9c853cb jabber: added _room_presence_handler 2012-11-07 22:49:38 +00:00
James Booth
54e591fea3 jabber: wait until full room roster received before showing 2012-11-07 22:24:50 +00:00
James Booth
5fe12bbd15 jabber: added MUC namespace to jabber_join 2012-11-07 21:53:15 +00:00
James Booth
9ea9222158 jabber: fixed spelling in comment 2012-11-07 01:15:26 +00:00
James Booth
82e65734c0 jabber: tidy groupchat message handler 2012-11-07 01:10:05 +00:00
James Booth
d2a923126b jabber: small tidy up 2012-11-07 00:48:59 +00:00
James Booth
444be385a6 jabber: removed 'from' from message type handler function parameters 2012-11-07 00:42:12 +00:00
James Booth
30b1499c67 jabber: added type message handler prototypes 2012-11-07 00:38:31 +00:00
James Booth
9d1f0473ce jabber added message type handler functions 2012-11-07 00:34:43 +00:00
James Booth
8dfa373a01 jabber: added _groupchat_message_handler 2012-11-07 00:19:02 +00:00
James Booth
7c85f0fcb2 room_chat: rename room_is_active 2012-11-07 00:02:43 +00:00
James Booth
3436a2245d Added room_parse_room_jid to room_chat 2012-11-06 23:56:47 +00:00
James Booth
8beca3cbf7 Refactored sending chat states 2012-11-06 23:03:05 +00:00
James Booth
92ae93de33 Tidied escaping xml 2012-11-06 22:53:59 +00:00
James Booth
9872708755 Commented jabber message handler 2012-11-06 22:46:28 +00:00
James Booth
4493f55530 Removed jabber.c dependency on ui.h 2012-11-06 22:40:38 +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
0023422830 Handle incoming groupchat 2012-11-05 22:28:06 +00:00
James Booth
ad8845991c Handle chat history from groupchat 2012-11-05 22:21:03 +00:00
James Booth
83834b96ae Do not send presence when in groupchat 2012-11-05 21:48:13 +00:00
James Booth
2f6361a578 Handle room presence notifications 2012-11-05 21:36:32 +00:00
James Booth
0deba9e13e Check for groupchat 2012-11-05 20:29:57 +00:00
James Booth
a141a997f8 Added room_chat module 2012-11-04 23:31:49 +00:00
James Booth
5e4c662b23 Added jabber_join for MUC 2012-11-04 22:59:52 +00:00
James Booth
e45e6c46b7 Show message when other user <gone/> 2012-11-01 01:21:00 +00:00
James Booth
5792cd597d Handling paused status 2012-10-31 23:08:26 +00:00
James Booth
81dd0a1556 Only send chat states when preference set 2012-10-31 22:08:00 +00:00
James Booth
3c82fb28c4 Added boilerplate code to handle chat states 2012-10-31 21:19:08 +00:00
James Booth
5ce977284b Basic state handling 2012-10-31 01:36:52 +00:00
James Booth
bee708c9d2 Create chat session on send if none exists 2012-10-30 01:50:39 +00:00
James Booth
d339004f55 Merge branch 'master' into chatstates
Conflicts:
	Makefile.am
2012-10-30 01:38:08 +00:00
James Booth
768b2aa466 Fixed tests 2012-10-29 22:55:17 +00:00
James Booth
dbb7445324 Fixed offline bug 2012-10-29 01:27:37 +00:00
James Booth
bc5d8418ad Send presence after roster recieved 2012-10-28 21:32:26 +00:00
James Booth
4e0a631fee Subscription management 2012-10-28 21:16:22 +00:00
James Booth
d13794bf60 Load roster before sending presence 2012-10-28 20:52:30 +00:00
James Booth
15cdc69f31 Added basic subscriptions 2012-10-28 18:51:13 +00:00
James Booth
8258e7a3ef Added /intype setting
Seperate settings for showing contact typing in UI (/intype), and
as desktop notifications (/notify typing).
2012-10-28 00:33:20 +01:00
James Booth
c71259c322 Unified desktop notification preferences 2012-10-27 22:05:08 +01:00
James Booth
847850742c Refactored disconnect 2012-10-27 18:26:57 +01:00
James Booth
28d388319a Added /disconnect command 2012-10-27 18:12:04 +01:00
James Booth
a314e03db2 Fixed possible segfault when no type attribute on incoming messages 2012-10-22 10:05:38 +01:00
James Booth
6bad38c2d5 Removed trailing whitespace from src and tests 2012-10-21 20:02:20 +01:00
Dmitry Podgorny
46b8a21cfb jabber: rewrite error handling 2012-10-20 09:19:59 +03:00
Dmitry Podgorny
bfc9e9a72e handle error messages from server 2012-10-18 18:18:44 +03:00
James Booth
4e05e919b2 Fixed indentation 2012-10-16 23:56:44 +01:00
James Booth
68c6fe4803 Moved jabber_free_resources call 2012-10-16 23:38:27 +01:00
James Booth
2f66feef8a Merge branch 'master' of https://github.com/pasis/profanity 2012-10-16 23:34:38 +01:00
James Booth
d2aeca9bb4 Attempted fix at causing segfault by freeing connection 2012-10-16 23:29:58 +01:00
Dmitry Podgorny
6900d52d80 jabber: fix crash when disconnection timeout is reached 2012-10-17 00:52:19 +03:00
James Booth
65022b3c2f Users added to contact list when no precense notification
The user is added from the roster
2012-10-04 21:31:09 +01:00
James Booth
a970b9ea86 Moved chat logging to profanity module
Removed jabber modules dependency on chat log
2012-10-02 22:00:05 +01:00
James Booth
ee8407f4a4 Tidy up jabber module, removed unused code, made local functions private 2012-10-02 21:37:55 +01:00
James Booth
69fc81cd1c Removed jabber module dependency on ui module 2012-10-02 01:06:37 +01:00
James Booth
28b1723876 Moved roster output handling to profanity module 2012-10-02 01:04:53 +01:00
James Booth
02224ea7bb Added status handler code to profanity module 2012-10-02 00:03:53 +01:00
James Booth
310d712d42 Moved login attempt handler code to profanity module 2012-10-01 23:53:26 +01:00
James Booth
9f00ef14d2 Moved incoming message code to profanity module 2012-10-01 23:41:36 +01:00
James Booth
6d329343dc Shutdown now correctly handles connection 2012-09-23 19:26:07 +01:00
James Booth
3a8229bf6a Created shutdown init function to initiate and wait for shutdown 2012-09-11 22:55:59 +01:00
James Booth
1d44a8a345 Started work on closing stream on quit
For standards compliance
2012-09-11 01:30:48 +01:00
James Booth
fe519410b1 Tidied all includes 2012-08-26 01:50:50 +01:00
James Booth
2bbac1c811 Refactored log
Added shortcut functions for prof logging levels
2012-08-26 00:54:18 +01:00
James Booth
0fe70ce7d3 Merge common and util 2012-08-23 01:08:06 +01:00
James Booth
4dbd8bbefa Added some logging and updated man page 2012-08-22 00:30:24 +01:00
James Booth
74a88ad566 Basic log levels settings 2012-08-19 02:44:46 +01:00
James Booth
108194c944 Moved functions in jabber.c 2012-08-19 01:59:02 +01:00
James Booth
53bff1b73a Removed log reference from jabber.c 2012-08-19 01:54:07 +01:00
James Booth
41daf09432 Send active stanza in messages
To continue receiving typing notifications
2012-08-16 01:08:20 +01:00
James Booth
8b1653f707 Added typing notifications and related preferences 2012-08-16 00:50:32 +01:00
James Booth
a7c7768778 Simple incoming typing notification 2012-08-15 23:52:54 +01:00
James Booth
279737bada Function signatures across lines 2012-07-24 23:19:48 +01:00
James Booth
6b697054b6 Added chlog preference for chat logging 2012-07-22 23:07:34 +01:00
James Booth
cb27c4ab37 Basic chat log per user 2012-07-22 22:34:09 +01:00
James Booth
310a1ff42d Formatting of jids in chat log 2012-07-22 21:44:59 +01:00
James Booth
83ef1d562c Added simple chat log 2012-07-22 20:53:55 +01:00
James Booth
1246808276 Merge branch 'master' into build 2012-07-04 22:56:18 +01:00
James Booth
30ca6cac3d Added autobuild tools 2012-07-01 14:47:09 +01:00