James Booth
7344d3b898
Added deallocation function for string prefs, added otr policy enum
2014-06-18 00:32:36 +01:00
James Booth
79ddf10484
Fixed memleaks with otr policy and autoaway options
2014-06-17 23:34:52 +01:00
James Booth
0166454794
Added config.h to files checking for OTR support
2014-05-19 21:25:21 +01:00
James Booth
e8d84abb46
Moved OTR policy check to otr module
2014-05-11 15:03:10 +01:00
James Booth
f247f367e9
Handle room subject and broadcasts sent before roster received
...
Issue #341
2014-05-05 20:13:22 +01:00
James Booth
c7b3ff02ff
Rejoin private rooms after reconnecting
2014-04-23 22:19:14 +01:00
James Booth
1706980fd7
Merge remote-tracking branch 'lucian/master'
...
Conflicts:
src/server_events.c
2014-04-23 00:20:34 +01:00
lightb
e08ee67f5f
Bugfix: Because whitespace was removed, last check OTR always, didn't work, now it works.
2014-04-22 18:53:48 -04:00
James Booth
1a0f12b0e6
Merge remote-tracking branch 'lucian/master'
2014-04-22 23:53:15 +01:00
lightb
5a5ad31edf
Added new functionality to OTR always policy
...
If policy is set to always, and unencrypted message is received it will try to start an otr session.
Note: Fully tested with pidgin, is now working (opportunistic and always)
2014-04-22 18:07:53 -04:00
lightb
1192e67cf7
Strip whitespace from otr tagged message for proper display.
...
Will handle BASE + OTRV1TAG/OTRV2TAG or BASE + OTRV1TAG + OTRV2TAG
or BASE + OTRV2TAG + OTRV1TAG
2014-04-22 16:55:28 -04:00
lightb
1bd617d389
Small modification, should check for whitespace pattern even if policy is always.
2014-04-22 16:26:45 -04:00
lightb
6450e2a704
Added OTR opportunistic pattern intercept.
...
When a message is received, OTRL_MESSAGE_TAG_BASE + OTRL_MESSAGE_TAG_V1 or OTRL_MESSAGE_TAG_V2
is searched for, if it is, the client attempts to start an OTR session.
Tested between profanity clients: WORKED
Tested between profanity and pidgin: NOT WORKING (not sure if pidgin checks for the whitespace)
2014-04-22 16:01:57 -04:00
James Booth
2c15aba92a
Chat room windows now created only after successful join
2014-04-21 00:37:04 +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
fc40637789
Removed titlebar functions from ui.h
2014-04-07 20:41:06 +01:00
James Booth
aa2a87d162
Tidied ui dependencies
2014-04-06 21:35:17 +01:00
James Booth
404dde2810
Renamed refresh functions to update_virtual
2014-04-01 21:52:04 +01:00
James Booth
e8e5ab597a
Do not scroll to end when chat room message whilst paging
2014-03-31 21:50:33 +01:00
James Booth
3d768527c1
Moved ui_current_page_off to ui_incoming_msg
2014-03-31 21:09:24 +01:00
James Booth
2af418fd8d
Command '/statuses muc' now allows 'all', 'online' and 'none' settings
2014-03-15 22:25:15 +00:00
James Booth
26726b207a
Updated copyright
2014-03-09 01:18:19 +00:00
James Booth
b177250f47
Refactored muc_room_is_active to only take room, rather than full jid
2014-03-08 21:20:26 +00:00
James Booth
b30155a10e
Moved otr sources into folder
2014-02-12 22:19:21 +00:00
James Booth
0338d136e0
Added presence_error tests, added muc_close()
2014-01-30 23:15:39 +00:00
James Booth
12666b41e6
Refactored handle_presence_error, removed no longer used functions
2014-01-30 22:20:57 +00:00
James Booth
2cd24a484a
Renamed handle_error_message -> handle_presence_error
2014-01-30 21:43:31 +00:00
James Booth
5afb296e67
Moved error handling logic to server_events
2014-01-28 22:37:50 +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
50f1a5ecc0
Changed error message when couldn't join room
2014-01-26 22:19:22 +00:00
James Booth
292ae567aa
Handle recipient not found
2014-01-26 18:30:34 +00:00
James Booth
16de267906
Added id handler for pings, disable ping on error type 'cancel'
2014-01-26 00:53:24 +00:00
James Booth
21ab182151
Refactored ProfAccount creation
2014-01-22 22:22:01 +00:00
James Booth
0e2fbeb350
Added statuses settings to prefs output
2014-01-21 00:16:37 +00:00
James Booth
a8c356e191
Added use of statuses preferences
2014-01-21 00:06:41 +00:00
James Booth
a7a2850637
WIP - /statuses command options
2014-01-20 18:40:48 +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
9f6d6d44cc
Renamed title_bar_set_status -> title_bar_set_presence
2014-01-16 18:13:22 +00:00
James Booth
ecf323de31
Implemented chat logging options for OTR messages
...
on - Log OTR messages as plaintext
off - Do not log OTR messages
redact - Log, but replace the text with '[redacted]'
Defaults to redact
2014-01-13 20:38:19 +00:00
James Booth
264fc55aa2
Added conditionals to makefile for otr support
2014-01-12 02:15:16 +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
5c13538e6b
Load OTR private key on connect, gen command checks if already generated
2014-01-11 15:48:22 +00:00
James Booth
84f1c4b96f
WIP - OTR support
2014-01-10 00:08:49 +00:00
James Booth
db973457d0
Refactored roster add/update
2014-01-05 23:54:29 +00:00
James Booth
b8672d709a
Moved roster handlers to server_events
2014-01-05 21:55:32 +00:00
James Booth
4bcd766d34
Moved presence handlers to server_events
2014-01-05 21:48:04 +00:00
James Booth
a54518f2d4
Moved messages handlers to server_events
2014-01-05 21:33:12 +00:00