25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-10-31 15:21:38 +01:00
Commit Graph

3135 Commits

Author SHA1 Message Date
Paweł Chmielowski
418baf4fa6 Fix processing of list arguments in xmlrpc handler
Before this change only lists with exactly single element were handled
properly.
2013-03-19 19:02:03 +01:00
Paweł Chmielowski
fcf647738d erlang:integer_to_binary was added in R16, switch to method which works in older versions 2013-03-18 12:46:59 +01:00
Paweł Chmielowski
3c9ab9e53d Httpc is not able to process binary headers or url, we need to convert them 2013-03-18 12:44:26 +01:00
Paweł Chmielowski
c339c9b2ad Add ejabberd_commands for managing shared roster groups 2013-03-13 12:14:05 +01:00
Paweł Chmielowski
4ef32bb18f Make ejabberd_ctl not die for ejabberd_commands with binary arguments 2013-03-13 11:13:19 +01:00
Paweł Chmielowski
0f87034539 Make http connections serve flash policy files 2013-02-01 13:05:20 +01:00
Paweł Chmielowski
acee58f6bb Fix problem from conversion to binaries in old websocket protocol handler 2013-01-31 20:11:02 +01:00
Jerome Sautret
ceeef24faa Fix type error on MUC room config form generation. 2013-01-30 11:05:38 +01:00
Badlop
201b0b3725 Fix another dialyzer warning 2013-01-09 22:25:54 +01:00
Badlop
5f8b41a357 ssl:seed was removed in OTP R14B04. Fix dialyzer warning. 2013-01-09 12:58:57 +01:00
Badlop
a003ef556b Fix two dialyzer warnings 2013-01-09 12:40:42 +01:00
Badlop
cb91e10803 Copied check_account and check_password from old mod_xmlrpc (TECH-1519) 2013-01-04 13:32:21 +01:00
Badlop
5190866a24 Copied set_rosternick from old mod_xmlrpc (TECH-1519) 2013-01-04 12:37:35 +01:00
Evgeniy Khramtsov
473a58e3c2 Fix iconv wrapper 2013-01-03 20:15:33 +10:00
Pablo Polvorin
3e6b88cbc3 Fix pubsub_state mnesia table definition
Partially bound lookups keys only works efficiently if the table
type if ordered_set.
If the table is a set, then it is implemented as a hashtable,
and if the lookup key isn't fully bound an entire table scan
is neccesarly.
2012-12-21 12:48:27 -03:00
Alexey Shchepin
362d7f617d Fixed signedness issue in tls_drv GET_DESCRYPTED_INPUT (EJAB-1591) 2012-12-20 14:03:28 +02:00
Remco Wendt
d11df52abf Added command to list all the vhosts registered in an ejabberd node 2012-12-19 15:08:19 +02:00
Janusz Dziemidowicz
906161b27f Detect OpenSSL version at runtime, not at compile time 2012-12-17 14:41:37 +02:00
Janusz Dziemidowicz
347e8b28ef Enable DHE key exchange in TLS driver 2012-12-17 14:41:37 +02:00
Janusz Dziemidowicz
c85c2796f4 Enable ECDHE key exchange in TSL driver 2012-12-17 14:41:37 +02:00
Janusz Dziemidowicz
df72de96ae Disable old and unsecure ciphers in TLS driver
Disable:
- export ciphers - broken by design, 40 and 56 bit encryption
- low encryption ciphers - 56 and 64 bit encryption
- SSLv2 ciphers - some ciphers using MD5 MAC
2012-12-17 14:41:37 +02:00
Evgeniy Khramtsov
e1f8233d08 Fix broken JPEG photo (EJAB-1526)
Conflicts:

	src/eldap/eldap_filter.erl
2012-12-12 18:10:08 +10:00
Badlop
38d2a27c56 Provide ejabberd_xmlrpc configuration examples 2012-12-10 13:56:16 +01:00
Badlop
6a42119292 Document ejabberd_xmlrpc in the Guide 2012-12-10 13:36:47 +01:00
Badlop
89787875d4 In frontends, if result is in binary then convert to string 2012-12-10 13:36:34 +01:00
Badlop
d76ae701cd Partial revert "Test for binary arguments and results to get_roster command" 2012-12-10 13:35:37 +01:00
Evgeniy Khramtsov
c4db156ad2 Reflect new ejabberd_sets usage in the type spec.
This will eliminate dialyzer warnings
2012-12-10 12:40:09 +10:00
Evgeniy Khramtsov
d95778ea16 Make hash lookups more robust (EJABS-1965)
Conflicts:

	src/ejabberd_cluster.erl
2012-12-10 12:38:17 +10:00
Alexey Shchepin
a9b452fba9 Fixed config parsing error messages 2012-12-07 16:12:49 +02:00
Alexey Shchepin
afed9e919e Use ejabberd_listener instead of tcp_serv in ejabberd_xmlrpc 2012-12-07 16:06:15 +02:00
Badlop
5252dcbd2c Fix some http Dialyzer warnings 2012-12-07 13:53:58 +01:00
Evgeniy Khramtsov
a5cfac76dd Don't bounce broadcasts, i.e. bounce xmlel{}s only 2012-11-29 14:28:28 +10:00
Badlop
45aa32f6fe Document export_odbc command 2012-11-26 14:01:25 +01:00
Evgeniy Khramtsov
2372e30150 Improve Riak support 2012-11-21 11:30:50 +10:00
Alexey Shchepin
f3b55596b2 Updated riak support
Conflicts:

	src/mod_roster.erl
2012-11-21 11:30:30 +10:00
Alexey Shchepin
84eee8d5a7 Preliminary Riak support 2012-11-21 11:28:49 +10:00
Badlop
a800a5d4df Test for binary arguments and results to get_roster command 2012-11-20 13:57:41 +01:00
Badlop
dfa47556d1 Add support for binary arguments and results to ejabberd_xmlrpc 2012-11-20 13:57:41 +01:00
Badlop
77111aeec1 Add support for binary arguments to ejabberd_xmlrpc 2012-11-20 12:43:59 +01:00
Badlop
c9ac75474f Update to xmlrpc-rds13
Cloned from
https://github.com/rds13/xmlrpc
2012-11-20 12:43:54 +01:00
Pablo Polvorin
0fcaef0566 Backward compatibility for xep-0280 v0.6 (EJABS-1953)
make mod_carboncopy supports v0.8 and v0.6
2012-11-19 16:05:23 -03:00
Badlop
031c7412a8 Partially revert "Fix and document persistent_history MUC option (EJABS-1865)"
This reverts commit ab9ac62138.
2012-11-19 13:28:57 +01:00
Evgeniy Khramtsov
594ff79514 Make terms serialization faster
Conflicts:

	src/odbc/ejabberd_odbc.erl
2012-11-18 12:30:36 +10:00
Evgeniy Khramtsov
8f3f74a6d7 Only migrate C2S processes with remote sockets
Conflicts:

	src/ejabberd_c2s.erl
	src/ejabberd_sm.erl
2012-11-16 20:36:40 +10:00
Evgeniy Khramtsov
ff2050b301 Clean tables from remote pids when their node goes down
Conflicts:

	src/ejabberd_sm.erl
	src/mod_muc/mod_muc.erl
	src/web/mod_bosh.erl
2012-11-15 15:16:42 +10:00
Pablo Polvorin
89ea1dd1c4 Adapt to XEP-0280 v0.8 2012-11-14 12:57:25 -03:00
Pablo Polvorin
66902b788b Do not require special api for ejabberd_set
Remove the pack() function, make mod_roster
return subscriptions splitted by {From, To, Both}
2012-11-12 22:32:33 -03:00
Christophe Romain
ec8cb81c0d make sure publisher is #jid (TECH-1499) 2012-11-12 16:08:09 +01:00
Pablo Polvorin
1a24ac62e5 Change representation of JID sets
Instead of a single set, use a map from domains to
resources (in presence sets the resource is usually empty) to
users.  This makes the sharing explicit

DomainA
	-> Resource1
		-> User1, User2, ..
	-> Resource2
		-> User3
DomainB
	->Resource3
		-> User4, User5, User6
2012-11-11 22:25:20 -03:00
Pablo Polvorin
78fb913a00 Use a custom set module, reuse structs when possible.
For JID sets in ejabberd_c2s
2012-11-09 21:53:28 -03:00