James Booth
88f423afea
Rename jabber_ functions
2016-05-06 00:53:03 +01:00
James Booth
f6fa63b374
Renamed connection.c -> session.c
2016-05-05 22:10:10 +01:00
James Booth
ccabc08fef
Tidy xmpp headers
2016-05-04 01:19:51 +01:00
James Booth
b8c94376aa
Add /blocked command
2016-05-01 19:39:39 +01:00
Dmitry Podgorny
efbf233c85
Define stanza's attributes as const char*
...
In most get-like funcitons libstrophe returns pointer to a string
that resides in an internal structure (e.g. xmpp_stanza_t). Hence,
Profanity must not change such strings. Define respective variables
as 'const char*' to reduce a chance of error and conform future
libstrophe's interface.
This patch mostly replaces 'char *' with 'const char*', but also
fixes two memory leaks after stanza_get_reason(). Add comment within
stanza_get_reason() to fix conflict with different allocator types.
2016-04-27 10:31:28 +00:00
Dominik Heidler
1b0ce852bb
Implement XEP-0363: HTTP File Upload
2016-04-26 23:50:55 +02:00
James Booth
9b177a9e01
Removed #AX_PREFIX_CONFIG_H
2016-03-31 21:05:02 +01:00
James Booth
1f90aca503
Merge branch 'master' into plugins-c
...
Conflicts:
src/main.c
src/ui/console.c
2016-02-14 23:00:52 +00:00
James Booth
e53e94f1e2
Updated copyright
2016-02-14 22:54:46 +00:00
James Booth
41fe8c22b1
Added C plugin code from plugins branch
2016-02-14 22:28:55 +00:00
James Booth
c8a6bdb381
Applied coding style to src/xmpp/
2015-10-26 00:14:23 +00:00
James Booth
aae526fbde
Moved idle time check for last activity
2015-10-14 21:12:26 +01:00
James Booth
1afe492e30
Added jabber:iq:last to capabilities
2015-09-29 23:55:01 +01:00
James Booth
26d160cae8
WIP: Added last activity request and response
2015-09-29 00:01:38 +01:00
James Booth
2b88e2f1bf
Check for libmesode, fall back to libstrophe
2015-09-21 21:40:04 +01:00
James Booth
783342a48c
Free timestamps and carbons stanzas
2015-08-09 00:40:37 +01:00
James Booth
2a92169351
Use id handler for software version requests, handle errors
2015-08-05 00:26:29 +01:00
James Booth
f9a7e35001
Added id attributes to roster queries
...
fixes #596
2015-07-22 22:48:37 +01:00
Sam Whited
167ee28ec0
Add no-copy and no-store hints to OTR messages
2015-07-01 09:04:54 -05:00
James Booth
d5f79c7b35
Use reference counts for GDateTimes #516
2015-06-30 16:21:21 +01:00
James Booth
dd206ef637
WIP fix for #516 , needs memory cleanup
2015-06-29 23:48:41 +01:00
James Booth
c487fe5f77
Use null check convention in stanza.c
2015-05-04 23:23:55 +01:00
James Booth
1917d4c095
Added password to direct invites
2015-03-29 02:46:59 +01:00
James Booth
fac2b2cf66
Added check members only room to send mediated invites
2015-03-28 22:51:41 +00:00
James Booth
57c7564445
Show message received text for receipts
2015-03-11 23:47:11 +00:00
James Booth
78becceedb
Added basic delivery receipts
2015-03-11 23:18:28 +00:00
James Booth
2ff6873cf1
Send private carbons element with message when encrypted
2015-03-10 21:16:34 +00:00
James Booth
3c1e8c4e15
Added server error handling when setting /carbons preference
2015-03-09 23:07:51 +00:00
James Booth
945f29873e
Merge remote-tracking branch 'oliverlemoal/xep-0280' into xep-0280
2015-03-08 21:51:50 +00:00
James Booth
b3be26a214
Updated copyright
2015-02-10 23:16:09 +00:00
Olivier LE MOAL
48f9f3b3b0
Add XEP-0280 support
2015-02-10 11:32:22 +01:00
James Booth
42a5c431c7
Use resource in chat sessions
2015-01-04 20:19:42 +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
c4412fe823
Fixed various memory leaks
2014-11-01 01:48:36 +00:00
James Booth
77674beb7e
Show occupants role/affiliation changes
2014-10-18 19:10:50 +01:00
James Booth
ea511f8fbc
Refactor muc_user_handler
2014-10-07 00:22:39 +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
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
0b78a9a57e
Implemented setting affiliation and listing affiliations
2014-10-04 23:40:36 +01:00
James Booth
58fb89ad33
Allow adding and removing room owners
2014-10-04 21:38:31 +01:00
James Booth
d25d6b4502
Tidied muc module
2014-09-28 22:09:20 +01:00
James Booth
41b49cb5d6
Store room affiliation and role
2014-09-28 01:55:24 +01:00
James Booth
345a9e3f40
Create sha-1 of own capabilities once
2014-09-23 00:08:26 +01:00
James Booth
c2e173479f
Fixed muc presence check, remove logging from presence handler
2014-09-21 01:05:16 +01:00
James Booth
99c0b3f2cf
wip - refactoring capabilities
2014-09-19 00:49:48 +01:00
James Booth
eba3a7cb30
Implemented /room config submit for saving room configuration
2014-09-10 23:05:35 +01:00