James Booth
0bd5b5200a
Use DiscoIdentity in EntityCapabilities
2016-08-13 17:19:24 +01:00
James Booth
80eb5bee90
Rename Capabilties -> EntityCapabilities
2016-08-13 16:39:25 +01:00
James Booth
e949114284
Reduce variable scope in caps_create_sha1_str
2016-08-13 16:21:25 +01:00
James Booth
6ec159737b
Use list for profanity service discovery features
2016-08-12 22:25:35 +01:00
James Booth
a65403c54a
Remove disco features added by plugins on unload
2016-08-11 23:20:59 +01:00
James Booth
a3a73cf003
Move all filepath handling to files.c
2016-07-24 21:49:35 +01:00
James Booth
29452f8f1b
Move xgd functions
2016-07-24 17:12:09 +01:00
James Booth
ef942bd27a
Add config/files.c
2016-07-24 16:22:15 +01:00
James Booth
0a57c4de78
Tidy headers
2016-07-24 15:43:51 +01:00
James Booth
e8fc80f5c1
Update GPL link in headers
2016-07-24 01:14:49 +01:00
James Booth
feb50ea411
capabilities: use free instead of g_free
2016-07-18 22:32:58 +01:00
James Booth
a2efda19cc
Merge remote-tracking branch 'pasis/const-char'
2016-05-01 00:39:16 +01:00
James Booth
623fbe9e47
Plugins: Added prof_disco_add_feature()
2016-04-30 23:00:07 +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
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
1afe492e30
Added jabber:iq:last to capabilities
2015-09-29 23:55:01 +01:00
James Booth
2b88e2f1bf
Check for libmesode, fall back to libstrophe
2015-09-21 21:40:04 +01:00
James Booth
03ee1d56e6
Added conference and receipts features to caps query response
2015-09-09 22:36:07 +01:00
James Booth
067ad7fa2c
Use null check convention in capabilities.c
2015-05-04 23:15:15 +01:00
James Booth
b3be26a214
Updated copyright
2015-02-10 23:16:09 +00:00
James Booth
50601d4db3
Removed strdup calls when creating capabilities
2015-02-09 21:36:04 +00:00
James Booth
9d94ac5c63
Removed function pointers
2014-12-22 22:13:42 +00:00
James Booth
94bd9dbdfe
Store capabilities against fulljid when unsupported hash
2014-11-27 01:08:02 +00:00
James Booth
bb3f1b0909
Set file permissions for logs
2014-10-18 21:41:39 +01:00
James Booth
41f4621e6f
Free caps, remove strdup
2014-09-24 01:06:49 +01:00
James Booth
95a2cec953
Handle errors for /disco info requests
2014-09-24 00:30:05 +01:00
James Booth
162aeab827
Capabilities: check for identity locale
2014-09-23 21:36:46 +01:00
James Booth
ab9c3ac330
Reordered identity attributes in caps cache for readability
2014-09-23 00:22:59 +01:00
James Booth
345a9e3f40
Create sha-1 of own capabilities once
2014-09-23 00:08:26 +01:00
James Booth
60a18c3c8d
Cache capabilities to file
2014-09-22 01:36:45 +01:00
James Booth
9f7a8cea81
Show message when no capabilities available
2014-09-21 23:21:48 +01:00
James Booth
e8a450bc17
Sort form fields for sha-1 caps hash
2014-09-21 21:43:42 +01:00
James Booth
2fb9989123
Added jid->hash lookup for capabilities
2014-09-20 23:50:19 +01:00
James Booth
99c0b3f2cf
wip - refactoring capabilities
2014-09-19 00:49:48 +01:00
James Booth
c4b4cb557f
form_get_field_by_var->form_get_form_type_field
2014-09-13 21:55:46 +01:00
James Booth
2599c43d66
Rewrite form parser
2014-09-06 22:40:57 +01:00
James Booth
157a1b5ff7
Created form module
2014-09-05 21:04:16 +01:00
James Booth
f9737251a6
Added license exemption for OpenSSL to source headers
2014-08-24 20:57:39 +01:00
James Booth
efc833a202
Free string after use in sending caps response
2014-06-15 21:39:54 +01:00
James Booth
92837ec186
Renamed sha1 functions to avoid naming clashes
2014-06-15 19:08:18 +01:00
James Booth
524b1f2383
Changed to use gnutls instead of openssl for sha1 hashing
2014-05-01 22:18:04 +01:00
James Booth
26726b207a
Updated copyright
2014-03-09 01:18:19 +00:00
Dmitry Podgorny
0fbaa6f5ee
fixed build error when make run with -jN option
...
Race can occur when gitversion file isn't fully generated before
it is used.
2014-03-06 02:06:22 +02:00
James Booth
e818a6772b
Bind capabilities functions in main.c
2013-12-22 23:16:19 +00:00
James Booth
81909ef000
Dynamically bind xmpp module api
2013-12-18 20:16:55 +00:00
James Booth
ee8ff948bf
Use git revision in development strings
2013-09-17 01:28:35 +01:00