Badlop
7248ee1dbc
Fix some typos in the Guide
2011-05-31 21:13:20 +02:00
Christophe Romain
75b6162b44
Pubsub node maxitem forced to 0 if non persistent node (thanks to Karim Gemayel)(EJAB-1434)
2011-05-31 16:09:27 +02:00
Christophe Romain
75510a4b1b
apply filtered notification to PEP last items (thanks to karim Gemayel)(EJAB-1456)
2011-05-31 16:08:25 +02:00
Badlop
4a4f3eb8c5
Fix minor English error
2011-05-31 12:51:09 +02:00
Badlop
8168526f01
New ERL_EPMD_ADDRESS that works since Erlang/OTP R14B03
2011-05-31 12:51:05 +02:00
Badlop
09b4e36457
Cut the string when calling halt/1
2011-05-30 17:11:51 +02:00
Christophe Romain
dfd7936ea6
PubSub: NodeIdx variable name cleanup
2011-05-30 14:04:42 +02:00
Badlop
970f74288b
Fix a recent commit about "Set script as executable"
2011-05-30 11:46:31 +02:00
Badlop
b8e9c6a7a2
Add link in the Backup page to the Guide
2011-05-30 11:01:49 +02:00
Badlop
6c08c53d74
Fix get_queue_length argument type
2011-05-27 11:54:52 +02:00
Badlop
82296c277a
Support XEP-0191 Simple Communications Blocking (thanks to Stephan Maka)(EJAB-695)
2011-05-27 11:54:50 +02:00
Badlop
806d5497c4
A user can query his own Last activity, even if not subscribed to oneself
2011-05-27 11:54:30 +02:00
Badlop
b0bf89e319
Several fixes and improvements in ejabberd.init.template
...
Changes:
* Set script as executable
* Add LSB tags and overrides, copied from Debian's ejabberd package
* Add chkconfig support (thanks to Ivan Martinez)(EJAB-1450)
* Don't use nounset, as that breaks when no argument is provided
* Add status command
2011-05-24 23:46:25 +02:00
Badlop
9d9a4d1bc7
Fix errors reported by dialyzer
2011-05-18 19:46:56 +02:00
Badlop
c55aa9be7b
Store privacy list user_host and name as binary, not string
2011-05-18 19:46:54 +02:00
Badlop
4d2408c9c9
When module start fails during server start, stop erlang (EJAB-1446)
2011-05-16 22:33:51 +02:00
Evgeniy Khramtsov
bd25bd465c
Note that ejabberd works with CGP LDAP server
2011-05-07 10:33:32 +10:00
Christophe Romain
6898553afd
Owner can delete any items from its own node (EJAB-1445)
2011-05-06 14:02:37 +02:00
Badlop
a8dd91512c
Simplify and particularize the code of previous commit (EJAB-1333)
2011-05-04 23:14:41 +02:00
Badlop
05d95f2dd7
Support in BOSH for stanzas without jabber:client (EJAB-1333)
2011-05-04 23:05:06 +02:00
Badlop
f839b1c6ff
Log this cached exception as DEBUG in ejabberd log file
2011-05-04 23:04:07 +02:00
Badlop
b8026d8df7
Reorganize the push_item function, and handle version not_found (EJAB-1420)
2011-04-29 20:34:38 +02:00
Badlop
c611361bbe
No need to inform that XEP-0237 is optional; clarified in XEP version 1.2
2011-04-29 20:34:36 +02:00
Badlop
7fe05e67a7
Show configuration for HTTPS http_bind
2011-04-28 13:24:37 +02:00
Badlop
0c7ce8b7fe
mod_register Access now also controls account unregistrations
2011-04-26 22:54:28 +02:00
Badlop
34fc5d82b3
Try to improve support for roster_version in MSSQL (EJAB-1437)
2011-04-14 23:10:47 +02:00
Badlop
7436ef1fb1
The responses to HEAD must have empty Body
2011-04-13 10:32:26 +02:00
Badlop
099f7d6521
Support as read-only HTTP method not only GET, also HEAD
2011-04-13 10:32:24 +02:00
Badlop
545162a283
If extauth script crashes, ejabberd should restart it (EJAB-1428)
2011-04-11 21:27:36 +02:00
Badlop
a2d60a1977
Support more captcha_host value formats (EJAB-1418)
2011-04-11 19:58:37 +02:00
Badlop
33745954a9
Store packet table field as binary, not as string
2011-04-11 15:49:06 +02:00
Badlop
028d158e13
Show result of message deletion with colour box
2011-04-11 13:39:48 +02:00
Badlop
b684e90292
First delete messages, and then get the remaining messages
2011-04-11 13:39:46 +02:00
Badlop
191187a279
Store user_host table field as binaries instead of strings
2011-04-11 13:39:43 +02:00
Badlop
80483d8fd1
Migrate MUC tables from 2.1 mnesia to 3.0 gen_storage (EJAB-1372)
2011-04-07 23:55:24 +02:00
Badlop
4689b0d861
Document the mod_muc 2.1.x mnesia tables (EJAB-1372)
2011-04-07 23:55:15 +02:00
Badlop
c73aeca393
Send jid attribute when occupant is banned (EJAB-1432)
2011-04-07 13:12:52 +02:00
Badlop
f893669d91
mod_ping uses iqdisc no_queue by default (thanks to Chris Moos)(EJAB-1435)
2011-04-07 12:09:53 +02:00
Badlop
3c549bca4e
Clarify {iqdisc, no_queue}
2011-04-07 12:08:51 +02:00
Badlop
198298df2c
Fix minor comment typo
2011-04-04 17:36:31 +02:00
Badlop
5a876dfd33
Store user_host as binaries in vcard table. Fix migration from old ejabberd 2 tables schema
2011-03-30 19:16:05 +02:00
Christophe Romain
9cf43ffc9e
apply pubsub efficiency patch to ODBC code (TECH-1293)
2011-03-23 09:59:10 +01:00
Christophe Romain
8d2def619d
add indexes to improve pubsub efficiency (TECH-1293)
2011-03-23 09:36:03 +01:00
Badlop
25a6493e1b
Fix typo (thanks to Krzee)
2011-03-17 12:16:54 +01:00
Badlop
71bfa17354
Fix crash when SASL PLAIN denies auth (EJAB-1425)
2011-03-16 18:38:44 +01:00
Badlop
dedd2a7f59
Update the changed string in the PO translation files
2011-03-13 18:41:43 +01:00
Badlop
415a50921f
Change string in WebAdmin to reuse an existing one
2011-03-13 18:36:27 +01:00
Badlop
8cd0894ad5
Update version numbers of the related: exmpp, ejabberd 2, and Erlang
2011-03-11 10:55:34 +01:00
Badlop
33feca74ec
Document that ODBC tables are created by ejabberd itself (EJAB-1421)
2011-03-10 20:29:07 +01:00
Badlop
102dabdefc
Only attempt to migrate an old ODBC table if it still exists
2011-03-10 20:29:04 +01:00
Christophe Romain
38bf3bfc1c
fix PEP broadcasting (thanks to Karim Gemayel)(EJAB-1411)
2011-03-10 12:24:56 +01:00
Pablo Polvorin
afec527f5f
Include client namespace in CAPs queries (EJAB-1411)
...
When constructing an IQ record, if no namespace is specified
for the IQ, exmpp treat that literally as "no namespace" and
so put xmlns="" (it do not interpret it as "no change" and let
the parent namespace apply).
So it is neccesarly to especify the jabber:client namespace.
See EXMPP-53.
2011-03-09 16:30:16 -03:00
Badlop
8a135262db
Fix bashism and remove duplicate unused option (EJAB-1404)
2011-03-09 16:26:09 +01:00
Pablo Polvorin
3b2af5dfc5
Fix internal-server-error error response (EJAB-1414).
...
Ejabberd was trying to send a tuple instead of the full error stanza.
2011-03-09 10:30:54 -03:00
Badlop
4caf2c8674
If the port number isn't listener, then specify the protocol (EJAB-1418)
2011-03-03 11:36:35 +01:00
Badlop
6cc950d76f
captcha_host must have the port number to get protocol (EJAB-1418)
2011-03-03 00:05:06 +01:00
Badlop
bf8e09038e
ejabberdctl needs space between INET_DIST_INTERFACE (thanks to Dale Chase)(EJAB-1416)
2011-02-28 18:42:04 +01:00
Badlop
9a55ced505
Fix to show correctly the command that is unknown
2011-02-23 16:51:40 +01:00
Badlop
eaa17dab90
Revert "Mention in release notes that Pubsub/PEP isn't ready for alpha-testing (EJAB-1393)"
...
This reverts commit 76b0300505 .
2011-02-23 12:06:32 +01:00
Badlop
62a4e20ae7
Tweak pg2_backport.erl to work with Erlang older than R13A (EJAB-1349)
2011-02-22 23:44:22 +01:00
Badlop
e0bda563e6
Add support for '@online@' Shared Roster Group (thanks to Martin Langhoff)(EJAB-1391)
...
New version of the @online@ patch originally by Collabora.
Notes:
- the presence push is mediated via the group rather than
per user - this may reduce memory footprint... _if_ ejabberd
has some smart optimisation in that codepath
- it assumes that any group with membership @online@ _displays_
online as well -- this is a simplification and breaks the
decoupling that ejabberd has in this regard.
2011-02-21 22:32:57 +01:00
Badlop
61e4fde247
Forward old messages to newly spawned extauth process (thanks to Mika Seppänen)(EJAB-1385)
2011-02-21 16:19:45 +01:00
Christophe Romain
7f899ee179
fix broadcast issue (EJAB-1411)
2011-02-21 15:12:31 +01:00
Christophe Romain
75a85beb80
Merge branch 'master' of git+ssh://gitorious.process-one.net/ejabberd/mainline
2011-02-21 14:45:44 +01:00
Christophe Romain
0b7bb342cf
fix API issue for subscribe/unsubscribe (EJAB-1410)
2011-02-21 14:45:05 +01:00
Badlop
8f9bf47d78
New route_iq/5 accepting Timeout (thanks to Edwin Fine)(EJAB-1398)
...
Also new register_iq_response_handler/5
2011-02-21 13:46:59 +01:00
Badlop
76b0300505
Mention in release notes that Pubsub/PEP isn't ready for alpha-testing (EJAB-1393)
2011-02-21 12:55:40 +01:00
Christophe Romain
15749a2193
server must generate itemid if not given at publish time (EJAB-1409)
2011-02-21 12:08:58 +01:00
Badlop
60d83f937d
New DIST_USE_INTERFACE to restrict IP where erlang connections are listened (EJAB-1404)
2011-02-16 23:53:40 +01:00
Badlop
7060791e4e
New Indonesian translation (thanks to Irfan Mahfudz Guntur)(EJAB-1407)
2011-02-16 13:46:48 +01:00
Christophe Romain
72395ba497
fix empty pubsub payload check
2011-02-14 16:48:54 +01:00
Christophe Romain
4a2005f7cc
update copyright up to 2011
2011-02-14 13:47:22 +01:00
Badlop
90c711162b
Provide HTTPS URL in CAPTCHA form when listener has 'tls' option (EJAB-1406)
2011-02-14 13:01:46 +01:00
Badlop
7111ecc1b7
Fix typo in French translation
2011-02-11 20:21:24 +01:00
Badlop
e1cc8a90fa
Escape output from ctlexec() to erl script (thanks to Dan Scott)(EJAB-1399)
2011-02-09 16:34:48 +01:00
Christophe Romain
96d1400792
typo fix
2011-02-09 16:32:11 +01:00
Christophe Romain
975e7f47ee
fix previous commit issues
2011-02-09 14:27:40 +01:00
Christophe Romain
2f681b05f3
refactor pubsub broadcast to allow large optimization
2011-02-08 19:08:38 +01:00
Badlop
a3dba06baf
Remove erroneous comment (EJAB-645)
2011-02-03 17:27:04 +01:00
Badlop
16a97ab903
Handle Tigase's unexpected version=1.0 when ejabberd doesn't announce it (EJAB-1379)
2011-01-31 19:50:56 +01:00
Badlop
d8f339bceb
Add to example config file access_from comment
2011-01-28 17:16:36 +01:00
Badlop
798d7bce1b
Fix unused variable when code was copied from mod_pubsub.erl
2011-01-27 16:42:27 +01:00
Badlop
a98193ea6e
Merge exmpp jlib.erl into ejabberd jlib.erl (EJAB-1377)
2011-01-27 16:30:55 +01:00
Pablo Polvorin
70a2200888
Fix initial presence after roster subscription approval (EJAB-1384)
...
Send initial presence after the roster subscription workflow
is complete.
2011-01-27 11:05:16 -03:00
Badlop
3391c9cad7
mod_pres_counter prevents subscription flood (thanks to Ahmed Omar and Alexey Shchepin)(EJAB-1388)
2011-01-19 23:44:53 +01:00
Badlop
d5cfdc7f1f
Fix delayed response of a timeout call was reused for next login (EJAB-1385)
2011-01-19 19:27:52 +01:00
Badlop
caf64c035f
Subsecond timestamp granularity in offline messages (EJAB-1376)
2011-01-18 23:25:41 +01:00
Badlop
089a00fc3f
Clarify more the expected content of welcome_message mod_register option
2011-01-17 23:42:51 +01:00
Badlop
bec67378aa
Fix compilation bug in BOSH
2011-01-17 17:31:28 +01:00
Badlop
9bb4f124ad
Update NODE and HOST with the definitive values from ejabberdctl or command line
2011-01-17 17:28:12 +01:00
Christophe Romain
722fdd6bc7
check_start must grep processes for nodename last
2011-01-17 16:55:00 +01:00
Christophe Romain
d34dab4822
improve check_start, avoid false process match with grep
2011-01-17 16:52:20 +01:00
Badlop
ad357c2f59
Clarify error message when BOSH query is sent to non-running module
2011-01-14 15:48:22 +01:00
Badlop
2d0d46e296
Option to reject S2S connection if untrusted certificate (EJAB-464)
2011-01-11 16:38:33 +01:00
Badlop
d523901ddc
Include From attribute in the stream header of outgoing S2S connections
2011-01-11 16:38:32 +01:00
Badlop
41fc44e55f
When TLS is required in s2s, add subelement to stream:features starttls
2011-01-11 16:38:30 +01:00
Badlop
befb4fc7ea
Add option to require encryption in S2S connections (EJAB-495)
2011-01-11 16:38:28 +01:00
Pablo Polvorin
54557cb867
Send correct from/to attributes in s2s dialback response (EJAB-1363).
...
We were sending swapped from/to attributes when replying to db:verify requests.
Some servers don't mind about this, but others like prosody checks this and
rejects the verification, the s2s connection in that case couldn't be established.
2011-01-10 17:46:07 -03:00
Badlop
2d3efdf983
Fix old unresolved merge conflicts in pg.sql
...
Please note that ejabberd takes care to create the tables in your
ODBC database if needed. The file pg.sql is provided for reference
purposes only, as it isn't needed when preparing the database.
2011-01-09 18:51:24 +01:00
Badlop
159529d539
Add start time information in ejabberd log
...
One way to print that information is to configure in ejabberd.cfg
{loglevel, {4, [{ejabberd_app, debug}]}}.
2011-01-05 18:38:01 +01:00
Badlop
e3d875d09f
Several bugfixes in Caps (thanks to Karim Gemayel)
...
- fix bug with caps 2.0: ERRORs were logged in some cases
- enhance record definitions
- turn string() data into binary() ones
- remove mod_caps:node_to_binary/2, mod_caps:features_to_binary/1 and mod_caps:binary_to_features/1.
Tested with Psi+ (caps 1.0) and OneTeam (caps 2.0), and they now don't produce ERROR REPORTs.
2010-12-30 20:32:01 +01:00
Badlop
ea84f802e5
Keep the order of stanzas when BOSH sends several (EJAB-1374)
2010-12-30 13:49:26 +01:00
Badlop
20c4919eda
Revert buggy previous commit (thanks to W. Andrew Loe III), and add better fix
2010-12-30 13:49:07 +01:00
Badlop
9cbf08700d
Provide stacktrace in log report when a transaction fails
2010-12-30 13:47:15 +01:00
Badlop
ff455f1a42
Don't delete the whole table, as other module instances may already have started rooms.
2010-12-30 13:44:53 +01:00
Evgeniy Khramtsov
a4728d14d5
Change c2s state before offline messages resending
2010-12-28 21:12:33 +09:00
Christophe Romain
f2925d8efc
new caps processing and related fixes in ejabberd_c2s.erl and miscellaneous fixes in mod_pubsub.erl (Thanks to Karim Gemayel)(EJAB-620)
2010-12-24 16:21:28 +01:00
Badlop
4b0a7fe307
Only call mod_roster when the user is in a local vhost, fixing EJAB-869
2010-12-23 21:05:21 +01:00
Badlop
980d9c37ea
Fix bug introduced with an old commit (EJAB-72)
2010-12-23 19:19:00 +01:00
Alexey Shchepin
a40e9c2626
Remove version=1.0 from stream opening when TLS is not available (thanks to Karim Gemayel)
2010-12-23 16:28:35 +02:00
Badlop
897141c9e1
Delete obsolete modules, because now the standard ones use gen_storage
2010-12-23 14:19:59 +01:00
Badlop
d20b6dccb3
Remove log line that was intended only for debugging during development
2010-12-23 13:30:41 +01:00
Badlop
fe909a45e9
Allow auth modules to provide SASL errors; default is "not-authorized".
...
See
http://tools.ietf.org/html/draft-saintandre-rfc3920bis-09#section-7.4
2010-12-23 13:27:24 +01:00
Alexey Shchepin
bb4a87806f
Make jlib:ip_to_list safe to use
2010-12-23 13:17:14 +01:00
Badlop
7ca1c0387c
Clean muc_online_room when mod_muc starts (EJAB-1365)
2010-12-23 02:16:00 +01:00
Badlop
8c4e4e5f91
Bugfix in starting persistent rooms when mod_muc odbc (EJAB-1365)
2010-12-23 02:15:58 +01:00
Badlop
93787bee73
Bugfix mod_muc odbc couldn't register nickname (EJAB-1364)
2010-12-23 02:15:56 +01:00
Badlop
d3efcf8682
Document the types of some state elements
2010-12-23 02:15:53 +01:00
Badlop
268e80ece7
Document in mod_muc.erl the gen_storage table schema (EJAB-1368)
2010-12-23 02:15:43 +01:00
Badlop
a33c389b9b
Add support in WebAdmin to register vhosts, and a page to restart or remove it
2010-12-23 02:15:40 +01:00
Badlop
9ce44cd0a7
New ejabberd commands to list, register and remove vhosts
2010-12-23 02:15:38 +01:00
Badlop
be8e1bfc35
Fix register of vhost (EJAB-1346)
2010-12-23 02:15:35 +01:00
Badlop
7b2b9412ad
Add some variable type hints
2010-12-23 02:15:33 +01:00
Badlop
75f2e775ab
Update auth modules to support stopping
2010-12-23 02:15:09 +01:00
Badlop
0859667a8c
Fix Type definition
2010-12-21 01:04:52 +01:00
Badlop
563344d219
Remove call to function no longer existent
2010-12-21 01:03:00 +01:00
Evgeniy Khramtsov
a13c9185f7
Make sure 'closed' event is correctly processed on every state
2010-12-17 17:27:52 +09:00
W. Andrew Loe III
1eeff9b0df
Export make_sid so we can use it in pre-binding.
2010-12-15 16:58:09 +01:00
W. Andrew Loe III
942c6e4dd0
Ignore OS X libraries.
2010-12-15 16:47:46 +01:00
Badlop
8b7d529519
Add release notes for ejabberd 2.1.6
2010-12-15 16:25:41 +01:00
Badlop
a47caa8c54
Fix warning about unused variables
2010-12-13 20:59:36 +01:00
Badlop
aee3e30232
Fix some exmpp attribute type
2010-12-11 23:16:17 +01:00
Badlop
1bbb41682a
Mention in the Guide that mod_muc supports the backend option
2010-12-09 23:58:43 +01:00
Badlop
d448b6c955
Fix some errors when porting from mod_pubsub.erl (thanks to Karim Gemayel)
2010-12-07 19:36:34 +01:00
Badlop
74f86bef6a
Support for X-Forwarded-For HTTP header (EJAB-1356)
2010-12-07 16:51:20 +01:00
Christophe Romain
ce0219c569
update pubsub_odbc patch
2010-12-07 15:22:54 +01:00
Christophe Romain
53cc032251
add node attribute to pubsub subscribe event (EJAB-1361)
2010-12-07 13:53:58 +01:00
Badlop
a8bf889e79
Fix detection of mod_last at server start (EJAB-641)
2010-12-03 17:25:10 +01:00
Badlop
4e2bd18c7f
Update example extauth script with tryregister, removeuser and removeuser3 (EJAB-641)
2010-12-03 17:23:55 +01:00
Badlop
27872c6022
Support PostgreSQL 9.0 (EJAB-1359)(thanks to Stephen Gibberd and Konstantin Nikiforov)
2010-12-03 12:43:27 +01:00
Badlop
c6e0cff144
Fix use of exmpp
2010-12-02 20:14:54 +01:00
Pablo Polvorin
a8ef64ab45
Fix cyrsasl_digest RFC-2831 2.1.2.1 (EJAB-476)
...
Fix sasl digest bug when username|password|resource strings had
all characters <= U+00FF and at least one character >= U+0080.
Warnning:
Note that by fixing the bug, we may be broking compatibility with clients
that "implements" it.
See comments on https://support.process-one.net/browse/EJAB-476
2010-12-02 12:56:21 -03:00
Christophe Romain
9afaec40f5
fix pubsub cross domain eventing (EJAB-1340)
2010-12-02 14:05:19 +01:00
Evgeniy Khramtsov
8520b76483
Increase maximum restart strategy of the ODBC supervisor. Do not brutally kill ODBC processes on supervisor shutdown to avoid polution of the mnesia table
2010-12-01 14:25:58 +09:00
Badlop
b8f04aae6f
When the Password attribute is missing in PIEFXIS file, don't check account auth.
2010-12-01 00:55:29 +01:00
Pablo Polvorin
c9db1f691c
Merge branch 'master' of git+ssh://git@gitorious.process-one.net/ejabberd/mainline
2010-11-29 16:56:32 -03:00
Pablo Polvorin
ef572c815f
Port to latest exmpp changes (attribute names as binary()).
...
All atributes are now binary() instead of atoms.
2010-11-29 16:44:31 -03:00
Christopher tofu Zorn
dad3297c9c
expose find_connection for routing in other modules (if needed)
2010-11-29 20:06:02 +01:00
Christopher tofu Zorn
312574cbc5
add the ability to send raw xml packets over http bind
2010-11-29 20:06:00 +01:00
Badlop
008a0a29cd
Fix characters not allowed in username. Don't include that in translatable string.
...
List mentioned in:
http://xmpp.org/rfcs/rfc3920.html#nodeprep-prohibited
2010-11-29 19:39:01 +01:00
Badlop
f9e2466867
Support negative part-hour TZ values (thanks to Alexander Zhukov)(EJAB-1301)
2010-11-29 14:35:57 +01:00
Alexey Shchepin
26550efd91
Don't loop when there is nothing after a stream start
2010-11-26 17:11:56 +01:00
Andreas Köhler
7be6e33ea4
Correct domain_certfile tlsopts modifications for s2s connections (EJAB-1086)
...
* In ejabberd_s2s_out:wait_for_feature_request/2, the domain to use for
looking up domain_certfile options is #state.myname and not
#state.server
* If s2s_certfile is not specified, connect should still be part of the
tls options used by ejabberd_s2s_out
* Add #state.server to ejabberd_s2s_in processes and store the to
attribute in :wait_for_stream/2. Then use that server in
:wait_for_feature_request/2 to change the tls options like in
ejabberd_s2s_out.
Fixes EJAB-1086.
2010-11-26 00:13:36 +01:00
Badlop
7aa48e265a
Send Unavailable Presence stanza when an occupant is kicked or banned (EJAB-1350)
2010-11-22 21:16:34 +01:00
Badlop
2ef06678c0
Port SSLVER detection from 2.1.x, needed for ?PG2 (EJAB-1349)
2010-11-22 16:20:40 +01:00
Badlop
2aa56cd86e
Use pg2 from R14B in systems with older versions (EJAB-1349)
...
pg2_backport.erl is a copy of pg2.erl from Erlang/OTP R14B.
That module is used in ejabberd installations where an OTP
previous to R14 is installed.
2010-11-22 16:02:36 +01:00
Badlop
33116be0ae
Disapprove the use of R14A and R14B due to the rwlock bug.
2010-11-19 15:36:48 +01:00
Badlop
d94f6b45bf
Remove forgotten mentions of obsolete and undocumented mod_..._odbc
2010-11-19 11:31:01 +01:00
Christophe Romain
81f4e71efa
add missing modrosterodbc newcommand
2010-11-19 10:35:00 +01:00
Evgeniy Khramtsov
5a3fe4e348
Document mod_shared_roster_ldap (thanks to Marcin Owsiany)
2010-11-18 17:02:21 +09:00
Badlop
c2dface515
Fix http-bind supervisor to support multiple vhosts (EJAB-1321)
2010-11-17 20:30:37 +01:00
Andreas Köhler
690c56ca6d
Fix R12B5 compatibility in ejabberd_http_bind.erl (EJAB-1343)
...
erlang:max/2 and :min/2 are new functions
2010-11-17 13:03:59 +01:00
Andreas Köhler
aaa69a8c36
Use LFrom and LTo consistently in ejabberd_s2s_in:stream_established/2 (EJAB-1342)
2010-11-17 12:56:18 +01:00
Evgeniy Khramtsov
ec0e0ef8a6
Do not start mod_proxy65 if it is unable to bind an address (EJAB-1336)
2010-11-17 18:13:55 +09:00
Evgeniy Khramtsov
0b8a761a61
Use MEDIUMTEXT type for vcard avatars in MySQL schema (EJAB-1252)
2010-11-17 17:42:04 +09:00
Evgeniy Khramtsov
0ccbd7e3f2
Do not print full error message when LDAP timeout occurs (EJAB-1324)
2010-11-17 17:15:28 +09:00
Evgeniy Khramtsov
549f1029a6
Set SSL_MODE_RELEASE_BUFFERS mode when available (EJAB-1351)
2010-11-17 13:55:35 +09:00
Badlop
da7e53fe3c
Temporary workaround for starting stored rooms
2010-11-16 02:13:58 +01:00
Badlop
3e9de2ec79
Provide new, not old, affiliation in kick/ban presence with codes 321 and 301
2010-11-16 01:19:34 +01:00
Badlop
d146ef873d
Fix typos in the example configuration file
2010-11-12 22:01:09 +01:00
Andreas Köhler
d8d20d5b88
Before binding tcp ports, checks the socket type and listener options
...
(EJAB-1334)
If the callback module has a socket type of independent and needs to
create the listener itself, do not pre-bind the port. The same holds if
there are errors in the listener configuration.
2010-11-10 23:45:27 +01:00
Andreas Köhler
1ab92d1159
Bind listener ports early and start accepting connections later
...
(EJAB-1334)
It may happen that auth or rdbms client tcp connections bind a local
socket to a port number required by a configered listener. The ejabberd
applications fails to start up and needs to be restarted.
In plain C you would bind(2) the listener port and listen(2) later on.
gen_tcp:listen/2 does not allow to separate these two steps though, so
another way is not to accept connections while start up. OTOH, the
kernel will syn/ack incoming connections and receive data, leaving them
in a buffer for the ejabberd to read from. If this is unwanted, a load
balancer would need to receive data from the ejabberd server before
adding the node to its pool.
This patch binds tcp ports while initializing the ejabberd_listener
process, storing ListenSockets in an ets table. start_listeners/0 will
reuse these ports later on.
2010-11-10 23:45:24 +01:00
Badlop
abf069da9e
Rollback some Specs that break Dialyzer (thanks to Karim Gemayel)(EJAB-1345)
2010-11-10 21:27:53 +01:00
ppolvorin
f4f949bd72
Fix anonymous user cleanup (EJAB-883)
...
anonymous users table and vcards were not correctly cleaned up
after the user disconnect.
2010-11-10 13:27:47 -03:00
Andreas Köhler
f4507a088a
In mod_last*:get_last_iq/4, check for user resources first to return 0 seconds if there is one
...
Fixes problem 2 of EJAB-1158.
2010-11-10 15:41:10 +01:00
Andreas Köhler
6b46b8f794
Refactor mod_last to use the same core get_last/2 functionality, but keep api stable
...
The local function get_last/4 has been renamed to get_last_iq/4, since
it converts the result of get_last/2 (typically {ok, TimeStamp, Status})
to an iq packet.
2010-11-10 15:41:09 +01:00
Andreas Köhler
7d93cad452
Before forwarding last activity requests to a user, check that the user's presence is visible for From
...
According to XEP-0012, 4. Online User Query, "if the requesting entity
is not authorized to view the user's presence information (normally via
a presence subscription as defined in XMPP IM), the user's server MUST
NOT deliver the IQ-get to an available resource but instead MUST return
a <forbidden/> error in response to the last activity request."
So check for a subscription of from of the jid and bare jid and whether
outgoing presences to From are allowed.
Fixes problem 3 of EJAB-1158.
2010-11-10 15:41:08 +01:00
Andreas Köhler
860d8525ee
Remove dead code for NS_VCARD iq packets from ejabberd_c2s
...
For EJAB-1045, the special NS_VCARD block for handling incoming vcard
iqs on behalf of clients has already been restricted to cases where the
user or resource part of the recipient is empty. But then the packets
should not have been routed to the c2s process anyway. This patch
completely removes it.
2010-11-10 15:41:07 +01:00
Andreas Köhler
351635d0aa
Use ejabberd_c2s:privacy_check_packet/5 for all those hook folded runs in the c2s module
2010-11-10 15:41:06 +01:00
Andreas Köhler
614f13714c
Use c2s state data as user and server in ejabberd_c2s:is_privacy_allow
...
is_privacy_allow is only used in ejabberd_c2s:handle_info/3 to determine
for a few presence types whether the packet is allowed to be forwarded
to the user's client. This only makes sense if To#jid.user and
To#jid.server match StateData#state.user and StateData#state.server.
Also, add the atom in as parameter to a new argument Dir of
is_privacy_allow and extract from that function
privacy_check_packet(StateData, From, To, Packet, Dir) which runs the
privavcy check without converting allow/deny to true/false.
2010-11-10 15:41:05 +01:00
Andreas Köhler
642b18edcb
Correct error responses of forbidden offline last activity queries
...
According to XEP-0012 Last Activity, the server must return iq errors
with forbidden instead of not-allowed.
Fixes problem 1 of EJAB-1158.
2010-11-10 15:41:03 +01:00
Christophe Romain
03239c662e
populate pubsub#roster_groups_allowed in node configuration options (thanks to Karim Gemayel)(EJAB-1344)
2010-11-10 15:14:16 +01:00
Christophe Romain
fbb84c8256
fix bad plugin order issue injected in previous patch (EJAB-1286)
2010-11-09 14:36:04 +01:00
Andreas Köhler
e710ac51eb
Correct privacy check direction in mod_last (EJAB-1339)
...
The change for EJAB-1271 to change the direction of the privacy check
from out to in violates the idea that the check should imitate a
subscription state check of from. Rather correct the order of the From
and To parameters.
2010-11-09 13:57:01 +01:00
Andreas Köhler
6ce29e7ecb
Change max restart strategy of ejabberd_odbc_sup to handle some SQL timeouts.
2010-11-08 18:42:37 +01:00
Badlop
e84d853bc3
Improve the IQ error stanzas to provide an explanation (EJAB-1262)
2010-11-08 12:01:14 +01:00
Christophe Romain
5e0f2b8560
avoid node_call to break transaction (thanks to Karim Gemayel)(EJAB-1286)
2010-11-08 11:18:33 +01:00
Andreas Köhler
01b6cd3aba
Re-raise exceptions caught in gen_mod:start_module/3 (EJAB-1335)
...
Modules configured by the administrator normally should not be treated
as optional, so a exception (error, exit, throw) to start them should not
be caught and logged only.
This patch re-raises a caught exception instead of ignoring the
exception and inserting the module's opts on success. That way
gen_mod:get_module_opt/4 should work while calling Module:start/2.
2010-11-07 00:47:53 +01:00
Badlop
2ebfd4090a
Fix register
2010-11-06 21:53:18 +01:00
Evgeniy Khramtsov
e4a1eb4370
Take care of xml:lang attribute in unauthenticated stanzas as well
2010-11-06 21:53:16 +01:00
Evgeniy Khramtsov
e3afec9465
Disable LRU caching algorithm for LDAP shared rosters
2010-11-06 21:53:14 +01:00
Evgeniy Khramtsov
29fbe6d8e1
Do not store long language tag to avoid possible DoS/flood attacks
2010-11-06 21:53:13 +01:00
Evgeniy Khramtsov
5c3611fe32
LDAP shared roster support (thanks to Realloc and Marcin Owsiany)
2010-11-06 21:53:11 +01:00
Badlop
4a1d8c2cd2
New ip_access option restricts which IPs can register (thanks to Alexey Shchepin)(EJAB-915)
2010-11-05 19:33:20 +01:00
Badlop
b9c6f6e627
Disable mod_register_web in default config because by default captcha is disabled
2010-11-05 19:33:10 +01:00
Badlop
d456578b3c
Added mod_register_web: web page for account registration (EJAB-471)
2010-11-05 18:21:59 +01:00
Badlop
659d546897
Fix warnings detected by Dialyzer
2010-11-04 01:00:18 +01:00
Jonas Ådahl
bacecae3dd
Fixes a leak of ejabberd_receiver processes.
...
When a (non-frontend) socket module without any custom receiver fails to
start, the newly created ejabberd_receiver process needs to be properly
closed.
2010-11-03 17:10:46 +01:00
Badlop
5168f68946
Don't add Pid to Captcha record when it's requested by c2s instead of muc
2010-11-03 14:05:27 +01:00
Badlop
9a32615122
Handle incoherence of argument type in calls to remove_user
2010-11-03 13:24:40 +01:00
Badlop
48dcc5180a
Additional fixes for previous captcha commits related to exmpp
2010-11-03 12:44:11 +01:00
Badlop
32868e534e
Include a Required xml element in the captcha field
2010-11-03 12:44:04 +01:00
Evgeniy Khramtsov
773c54f912
Add top-level instructions for x:data incompatible clients
2010-11-03 12:44:03 +01:00
Badlop
82e8048a8a
Changes in registration form to workaround client problems (EJAB-1262)
...
Changes included:
* Remove var in fixed field because Gajim and Tkabber display it to user
* Add workaround for Psi's overlap fields
* Add var=url attribute, required by Psi to display the field
* Provide the image URL as a copy-able form field
2010-11-03 12:44:02 +01:00
Badlop
633b467a22
Workaround for Psi's wrong Type in form submission
2010-11-03 12:44:01 +01:00
Badlop
b0ae3d14aa
Add CAPTCHA example configurations to cfg (EJAB-1262)(EJAB-1326)
2010-11-03 12:44:00 +01:00
Evgeniy Khramtsov
2d8bfb1a15
Provide image url in registration form when captcha is enabled
2010-11-03 12:43:59 +01:00
Evgeniy Khramtsov
30366dbe98
Add password entropy check (EJAB-1326)
2010-11-03 12:43:58 +01:00
Evgeniy Khramtsov
55bd17d6f5
Rename option captcha to captcha_protected for consistency
2010-11-03 12:43:57 +01:00
Badlop
f310292da4
CAPTCHA IBR support (EJAB-1262)(thanks to Evgeniy Khramtsov)
2010-11-03 12:43:55 +01:00
Badlop
81546f3270
Fix crash in ejabberd_c2s when blacklist hook returned true (thanks to Jonas Ådahl)
...
Cause of the crash jlib:ip_to_list/1 only supports IP tuples using the
form {N1,N2,N3,N4} which is not the case when IPv6 is enabled.
2010-11-02 14:04:10 +01:00
Badlop
91dee14ad6
Fix errors in EDoc comments
2010-10-28 18:23:02 +02:00
Badlop
231d44ffa3
Handle binary data from SockMod:recv in ejabberd_http:recv_data/3 (thanks to Andreas Köhler)(EJAB-1331)
2010-10-27 21:21:15 +02:00
Andreas Köhler
70c247d357
Ignore Length argument to tls:recv/[23] (EJAB-1327)
...
The Length argument cannot be used for gen_tcp:recv/3, because the
compressed size does not equal the desired uncompressed one.
2010-10-26 19:33:56 +02:00
Andreas Köhler
1579bf2d18
Re-use the TLSSock argument in tls:send/2 (EJAB-1327)
2010-10-26 19:33:53 +02:00
Badlop
d9ac399c74
Improve example of outoging_s2s_options
2010-10-22 23:16:52 +02:00
Christophe Romain
378b8a60c6
add function specification, convert string() to binary(), fix pubsub.hrl (thanks to Karim Gemayel)
2010-10-19 17:08:59 +02:00
Peter Lemenkov
70cdcfcae1
Change directory before any operation to one readable by INSTALLUSER (EJAB-1322)
...
This is required in order to suppress error messages like
"File operation error: eacces" when ejabberd was started from directory,
which is not readable by INSTALLUSER (/root, for example). See rhbz #564686 :
https://bugzilla.redhat.com/564686
Signed-off-by: Peter Lemenkov <lemenkov@gmail.com >
2010-10-19 01:16:15 +02:00
Badlop
a473935782
Fix bug in mod_pubsub in_subscription return value
2010-10-19 00:28:24 +02:00
Badlop
16f0873488
Fix bug when routing error stanza
2010-10-16 22:51:51 +02:00
Badlop
17b4aaa1f7
When privacy list denies local user's outgoing stanza, try to return error (EJAB-1320)
...
See:
http://xmpp.org/extensions/xep-0016.html#example-51
Example 51. Error: contact is blocked
2010-10-16 22:51:50 +02:00
Badlop
eddbad2c76
Check privacy of outgoing Message stanzas (EJAB-1320)
2010-10-16 22:51:48 +02:00
Badlop
2e932dd85c
Add support to ejabberd_ctl to handle anonymous command arguments
2010-10-16 00:48:03 +02:00
Badlop
3bc7127743
Rename aclocal.m4 to acinclude.m4 (thanks to Andreas Köhler)
...
Also fixed minor typos, added the compiled aclocal.m4 to gitignore,
and documented how to build the script 'configure'.
Related documentation:
http://www.gnu.org/software/hello/manual/automake/Local-Macros.html#Local-Macros
http://www.gnu.org/software/hello/manual/automake/Invoking-aclocal.html#Invoking-aclocal
2010-10-15 16:24:17 +02:00
Badlop
d6a69dbca5
Fix errors detected by Dialyzer
2010-10-15 13:11:14 +02:00
Badlop
864b0ec149
Document ejabberd_loglevel using EDoc (EJAB-225)
2010-10-15 13:10:56 +02:00
Badlop
abdbb347eb
Rename ejabberd_loglevel:get/0 to get_default, and add a more general get (EJAB-225)
...
API change: ejabberd_loglevel:get/0 renamed to ejabberd_loglevel:get_default/0
2010-10-15 13:10:53 +02:00
Andreas Köhler
651ee5eb19
Fix unused variable warning in ejabberd_loglevel
2010-10-15 13:10:43 +02:00
Andreas Köhler
e1f5fb798c
Add set_custom/2, clear_custom/0 and clear_custom/1 to ejabberd_loglevel
2010-10-15 13:10:42 +02:00
Andreas Köhler
14349890e3
Document new loglevel configuration form.
2010-10-15 13:10:41 +02:00
Andreas Köhler
81555d8def
Add support for changing the loglevels for given modules (EJAB-225)
...
ejabberd_loglevel:set/1 now understands more input formats:
set(Param) -> {module, ejabberd_logger}
Param = Level | {Level, CustomLevels}
CustomLevels = [CustomLevel]
CustomLevel = {Module, Level}
Module = atom()
Level = integer() | atom()
set(Level) is equivalent to set({Level, []}), so it clears all module
level customizations. log_src/2 adds additional function heads for those
_msg function and module combinations that need non-default behavior,
i.e. add or filter logging.
ejabberd_loglevel:get/0 only returns the default log level. To retrieve
the complete setting use ejabberd_logger:get/0 instead.
2010-10-15 13:10:40 +02:00
Andreas Köhler
cc76869da5
Use warning_msg event type for warning log level.
2010-10-15 13:10:39 +02:00
Andreas Köhler
6523258b53
Add warning message and report handlers to ejabberd_logger_h.erl.
2010-10-15 13:10:38 +02:00
Andreas Köhler
1cbe821145
Improve ejabberd_logger code generation
...
Split the monolithic function ejabberd_loglevel:ejabberd_logger_src/1
into separate functions returning deep lists.
log_src/2 now returns the code for any of *_msg/4. Its parameters are
the current loglevel (integer()) and a loglevel specification
(#loglevel{}), with added information in #loglevel:
- function: The api function enabled by this level, may be no_log
- event_type: The type of the event sent to the error_logger
- msg_prefix: One character used in the message (one of "DIWEC")
If the current loglevel is too low for logging, the api function is
optimized at compile time.
2010-10-15 13:10:36 +02:00
Andreas Köhler
61d8bf9440
Use records for encoding static loglevel information.
2010-10-15 13:10:34 +02:00
Badlop
d1f5fb4aa9
Speed up ejabberd_s2s:is_service/2, allow_host/2 (thanks to Andreas Köhler)(EJAB-1319)
...
Iterating through the list of possible parent domains of a given domain
and comparing with the list of hosts or routes is almost always faster
than doing it the other way around. It naturally returns the shortest or
longest parent domain satisfying a predicate, whereas the possibly long
list compared with would need to be sorted by length first.
2010-10-14 21:14:46 +02:00
Badlop
0960637aa4
Include a gitignore file in the ejabberd git repository (EJAB-1312)
2010-10-14 19:49:33 +02:00
Christophe Romain
a73d451576
make http-bind restartable (thanks to Andreas Köhler)(EJAB-1318)
2010-10-13 10:55:35 +02:00
Pablo Polvorin
ce9ce8293b
Merge branch 'master' of git+ssh://git@gitorious.process-one.net/ejabberd/mainline
2010-10-12 10:57:07 -03:00
Badlop
82a8dc7b3a
Cosmetic code changes to support emacs indentation
2010-10-07 17:38:18 +02:00
Badlop
404b9a4a11
Minor fix in http_bind detected by Dialyzer
2010-10-07 00:16:24 +02:00
Badlop
f4f2f46f50
Dirty fixes for Dialyzer warnings in mod_privacy
2010-10-07 00:14:28 +02:00
Badlop
6c74c67069
Fix Captcha library and MUC use for exmpp
2010-10-06 13:05:21 +02:00
Badlop
645ddcb749
Fix unused variables
2010-10-05 15:48:11 +02:00
Evgeniy Khramtsov
8647ca5f0b
use one_queue IQ discipline by default
2010-10-05 21:32:47 +10:00
Christophe Romain
ee861e650d
fix dializer warnings (thanks to Karim Gemayel)
2010-10-04 17:41:59 +02:00
Badlop
349c44fcc0
Fix Edoc errors (thanks to Karim Gemayel)
2010-09-30 13:44:16 +02:00
Christophe Romain
78b8307a1f
fix dializer warnings (thanks to Karim Gemayel)
2010-09-30 12:06:40 +02:00
Christophe Romain
7c580bbeed
Merge branch 'master' of git+ssh://gitorious.process-one.net/ejabberd/mainline
2010-09-29 11:48:40 +02:00
Christophe Romain
6b7d73dcd5
fix dializer errors, improve documentation (thanks to Karim Gemayel)(EJAB-1260)
2010-09-29 11:48:19 +02:00
Badlop
c57f726ecb
Fix some Dialyzer warnings
2010-09-28 16:06:37 +02:00
Badlop
56b66ab64f
Dialyzer fixes. Ensure all_table_hosts/1 returns only a list of binaries
2010-09-28 16:06:35 +02:00
Badlop
403690a498
Only install the guide.html files when it was compiled (EJAB-1311)
2010-09-28 16:06:32 +02:00
Christophe Romain
f7dc4df784
Allow use with binary() Host from exmpp (thanks to Karim Gemayel)
2010-09-28 10:06:16 +02:00
Badlop
819dbdbf59
Move the extract_translations code to the tools dir (EJAB-1311)
2010-09-27 13:39:15 +02:00
Badlop
2293bd6855
Move the extauth example script to the tools dir (EJAB-1311)
2010-09-27 13:35:33 +02:00
Badlop
caf07d09bf
Remove files about obsolete transports (EJAB-1311)
2010-09-27 13:35:08 +02:00
Badlop
b2d67df8d0
Remove Marshall T. Rose examples, superseded by supported examples (EJAB-1311)
2010-09-27 13:34:43 +02:00
Badlop
73c992c5af
Delete compiled files from git; they are included in source package (EJAB-1311)
2010-09-27 13:31:50 +02:00
Badlop
a46f02a136
Fix typo in type
2010-09-22 00:14:47 +02:00
Badlop
62b3b31b8d
Allow webadmins to change roster of user (EJAB-72)
2010-09-21 17:05:50 +02:00
Evgeniy Khramtsov
d4480c1361
fixes default value for cache_life_time
2010-09-21 04:32:42 +10:00
Christophe Romain
2e75faefae
improve type specification
2010-09-20 16:54:37 +02:00
Badlop
9bde1dc9af
Add missing needdb, use bare jid to get roster; now group and subs blocking works again (thanks to Andreas Köhler)
2010-09-17 21:06:30 +02:00
Andreas Köhler
afac34de88
Discard unmatched INFO messages in ejabberd services.
...
This patch will stop services terminating with function clause messages,
but doesn't affect the message queue at all.
2010-09-17 19:28:35 +02:00
Christophe Romain
1cbfdce457
remove garbage configuration
2010-09-16 14:52:30 +02:00
Badlop
cb953f949f
Fix problems reported by Dialyzer
2010-09-15 20:04:35 +02:00
Christophe Romain
52deb16676
apply modification for the exmpp #jid{} record update
2010-09-15 12:16:03 +02:00
Badlop
89a98be605
Display priority, login time, pid and pid info in webadmin (EJAB-1300)
2010-09-13 17:49:55 +02:00
Badlop
813022aec1
Support timezone West of UTC (thanks to Edwin Fine)(EJAB-1301)
2010-09-13 12:07:35 +02:00
Pablo Polvorin
0d5f20cae1
Include roster pack patch from Geoff
...
Patch was already applied to 2.x branch, but not yet ported to master.
2010-09-10 15:32:19 -03:00
Christophe Romain
4b5b98b465
clean nodeid/nidx variables names (thanks to Karim)(EJAB-1000)
2010-09-10 19:45:28 +02:00
Evgeniy Khramtsov
556892aebf
cache lifetime should be converted in microseconds
2010-09-08 02:37:01 +10:00
Evgeniy Khramtsov
7a3aa8f97d
Implemented dirty (non-atomic) functions; added copyright notice
2010-08-31 18:07:24 +10:00
Evgeniy Khramtsov
1bd43bbd2d
implemented backend-independed key-value cacheing table; applied to mod_caps.erl first
2010-08-30 14:32:48 +10:00
Pablo Polvorin
77d5eabd00
Update rosteritem table definition for mysql (gen_storage)
...
Previous definition do not work with gen_storage.
gen_storage creates the table when they don't exists, but if
they exists it simple uses that definition.
Note that the column values also had changed in gen_storage,
so instead of "B" for a bidirectional subscription, it must be
"both". Keep this in mind when loading data into the DB
2010-08-27 14:17:04 -03:00
Badlop
9050aa1de0
Support exmpp's jid record, and require next exmpp release (EXMPP-41)
2010-08-27 15:36:29 +02:00
Evgeniy Khramtsov
445691bab1
fixes ampersand escaping (EJAB-1258)
2010-08-19 20:37:28 +10:00
Andreas Köhler
d6722e353f
Fix mod_offline:remove_old_messages/1.
2010-08-18 13:22:38 +02:00
Andreas Köhler
b2d96d0753
Fix gen_storage:matchrules_transform_conditions/2 for =/=, and, andalso, or and orelse.
2010-08-18 13:22:37 +02:00
Andreas Köhler
7f1759ab0a
Fix a ?DEBUG call in ejabberd_auth.
2010-08-18 13:22:34 +02:00
Badlop
3cb128963c
Fix ejabberd_auth:get_vh_registered_users/2 (thanks to Andreas Köhler)
2010-08-18 13:22:30 +02:00
Badlop
555a3113a1
Fix EDoc error
2010-08-16 12:02:45 +02:00
Badlop
dffb9cdaf9
Fix Dialyzer reports
2010-08-13 17:41:05 +02:00
Badlop
6e65f0694e
New API to update host config on the fly (thanks to Juan Pablo Carlino)
...
Adds ejabberd_hosts:update_host_conf/2 to update a host with a new
configuration on the fly. Typically this is useful to enable / disable
specific modules for a given host without restarting the whole app.
Also fixes a problem with mod_disco, after config refreshing to include
global services if there are not locally available.
2010-08-11 23:31:30 +02:00
Evgeniy Khramtsov
bee01cfd1e
fixes typo for table copy
2010-08-10 19:44:45 +10:00
Badlop
da866ed326
When user joins non-anonymous room, warn also in presence stanza (EJAB-310)
2010-08-07 21:26:22 +02:00
Badlop
b0b98e8c63
Update the 'configure' script
2010-08-07 19:54:04 +02:00
Evgeniy Khramtsov
83e17a7c65
Make MD2 autodetected (EJAB-1285)
2010-08-07 22:28:48 +10:00
Badlop
771da0e1d6
Preliminary release notes for 3.0.0
2010-08-06 13:32:29 +02:00
Badlop
75d8d8a43e
Fix minor typo in log message
2010-08-06 11:08:19 +02:00
Badlop
80610e62f8
Require the latest exmpp version released
2010-08-06 00:54:25 +02:00
Badlop
fa9b8d63f9
Ensure the default virtual host "localhost" is defined and is the first
2010-08-05 22:19:41 +02:00
Badlop
d4316558de
When an obsolete ODBC module is starting, switch to the normal one
2010-08-05 00:49:58 +02:00
Christophe Romain
690857e0d4
enforce disco features results (thanks to Karim)(EJAB-1033, EJAB-1228, EJAB-1238)
2010-08-04 18:30:22 +02:00
Badlop
73705a3b2e
Explain better what's the problem with the option clusterid
2010-08-04 14:03:33 +02:00
Evgeniy Khramtsov
7510a54f81
Loading ASN.1 driver explicitly to avoid races in LDAP (EJAB-1284)
2010-08-04 19:25:18 +10:00
Badlop
8235c9eea1
Change record() to tuple() so Dialyzer can run
2010-08-02 23:47:11 +02:00
Badlop
8cd32f9706
Change syntax of type declarations so Dialyzer accepts them
2010-08-02 23:45:51 +02:00
Badlop
b28b9686fe
Copy latest release notes from the 2.1.x branch
2010-08-02 17:53:30 +02:00
Badlop
72b9d8b250
Remove unused and useless SVN keywords
2010-08-02 16:03:05 +02:00
Badlop
6abfea6d8d
Minor cosmetic change in clusterid description
2010-08-02 15:48:35 +02:00
Badlop
d599aba9ca
Fix example GSSAPI config
2010-07-31 01:09:47 +02:00
Badlop
02f19c0c1d
Only start GSSAPI support when configured, and when esasl is found
2010-07-31 01:08:11 +02:00
Badlop
3181685158
Support parallel extauth script (thanks to Jesse Thompson)(EJAB-1280)
2010-07-30 20:34:01 +02:00
Badlop
f93c6c2b35
Copy translations from 2.1.x branch, and update
2010-07-30 16:50:03 +02:00
Badlop
a134626849
Fix some English strings
2010-07-30 16:49:31 +02:00
Badlop
31198d6c63
Fix regexp call
2010-07-30 16:49:04 +02:00
Badlop
92dc45ad76
Don't call modules that were obsoleted by GS
2010-07-30 13:22:03 +02:00
Badlop
8a5b08e3f0
New access option in mod_roster to disable changes (EJAB-72)
2010-07-30 13:21:58 +02:00
Badlop
1a368436b4
Use the term 'room' instead of 'chatroom' and 'conference'
2010-07-30 00:06:19 +02:00
Badlop
59a19ca87a
Don't offer SASL auth before doing TLS if TLS is required (thanks to Etan Reisner)
...
Originally reported in
http://yo.jabber.ru/bugzilla/show_bug.cgi?id=251
Implements:
http://tools.ietf.org/html/rfc3920#section-6.2
If Use of TLS (Section 5) needs to be
established before a particular authentication mechanism may be used, the
receiving entity MUST NOT provide that mechanism in the list of available SASL
authentication mechanisms prior to TLS negotiation.
2010-07-29 23:14:03 +02:00
Badlop
e653598cd0
Allow mod_caps and shared_roster to start, they don't really need to use GS
2010-07-29 20:35:30 +02:00
Badlop
891c9610e9
Remove support to migrate mod_muc from ejabberd 0.7.5 or older
2010-07-29 20:24:46 +02:00
Badlop
9265c23e1a
Don't say v1.2, because that number is never increased and is confusing
2010-07-28 20:00:47 +02:00
Badlop
11130806f9
Return Registered element when account exists (thanks to PioneerMike)
2010-07-28 19:48:06 +02:00
Badlop
0d065dd021
Fix Edoc comments
2010-07-23 13:36:35 +02:00
Badlop
f5dc8d2f78
Document GSSAPI (EJAB-831)
2010-07-23 01:23:39 +02:00
Badlop
07e459d577
Various fixes (EJAB-831)
2010-07-23 01:23:37 +02:00
Badlop
aa791ad0c4
Support SASL GSSAPI authentication (thanks to Mikael Magnusson)(EJAB-831)
2010-07-23 01:23:35 +02:00
Badlop
17fc992ba9
Recompile the guide and configure
2010-07-23 00:30:52 +02:00
Badlop
115392ff2d
Add MH and GS specific options to ejabberd.cfg.example
2010-07-23 00:30:45 +02:00
Badlop
b1545d1d7d
Document GS in the Guide, undocument the mod_*_odbc
2010-07-23 00:30:43 +02:00
Badlop
9e2d614b41
Update ejabberd version from 3.0.0-prealpha to 3.0.0-alpha-x
2010-07-23 00:30:41 +02:00
Badlop
917c5edfe5
Mark as obsolete the modules that use odbc instead of GS
2010-07-23 00:30:37 +02:00
Badlop
1285bd52c9
Fix ejabberd_odbc code
2010-07-23 00:30:33 +02:00
Badlop
597c1c87d4
Fix ejabberd modules
2010-07-23 00:30:32 +02:00
Badlop
58bed2cbff
Fix core files
2010-07-23 00:30:31 +02:00
Badlop
13fad04d14
Fix GS
2010-07-23 00:30:29 +02:00
Badlop
eb2ad7e699
Patch modules for GS (thanks to Stephan Maka)
2010-07-23 00:29:40 +02:00
Badlop
511f73812d
Patch core for GS (thanks to Stephan Maka)
2010-07-23 00:29:36 +02:00
Badlop
a7d9fa7301
New files for GS (thanks to Stephan Maka)
2010-07-23 00:29:34 +02:00
Badlop
bb77c39553
Patch ODBC modules for MH (thanks to Alexey Shchepin and Geoff Cant)
2010-07-23 00:29:32 +02:00
Badlop
a1a6bd79ac
Patch mnesia modules for MH (thanks to Alexey Shchepin and Geoff Cant)
2010-07-23 00:29:30 +02:00
Badlop
cdb379a22c
Patch core for MH (thanks to Alexey Shchepin and Geoff Cant)
2010-07-23 00:29:28 +02:00
Badlop
9336356efd
New files for MH (thanks to Alexey Shchepin and Geoff Cant)
...
Thanks to:
Alexey Shchepin for planning and developing MH in late 2007
Geoff Cant for improving during 2008 and 2009
Christophe Romain and Badlop for merging into master in 2010
2010-07-23 00:29:26 +02:00
Badlop
8e9888c411
When logging s2s out connection attempt or success, log if TLS is used
2010-07-23 00:27:26 +02:00
Badlop
027418aba5
The command Update now returns meaningful message and exit-status (EJAB-1237)
2010-07-22 16:38:04 +02:00
Christophe Romain
f36da63a3a
Allow roster change from external component (TECH-1001)
2010-07-22 11:06:51 +02:00
Christophe Romain
5bc9860f5d
add ejabberdctl ability to check epmd names (TECH-1121)
2010-07-20 14:05:18 +02:00
Badlop
c237570bc2
Describe what a user gets when he hits the registration_timeout limit
2010-07-19 12:13:00 +02:00
Badlop
0dcbe10a22
Only compile etop_tr.erl when running: make debugtools=true
2010-07-19 12:12:30 +02:00
Badlop
581f011b28
Fix warning about unused variable
2010-07-19 12:11:10 +02:00
Christophe Romain
fb2c74c4aa
add missing hrl
2010-07-16 18:55:58 +02:00
Christophe Romain
8dbd6007ed
Add etop command to ejabberdctl
2010-07-16 16:24:55 +02:00
Evgeniy Khramtsov
c9faa5bde7
correct handling of SQL boolean types (EJAB-1275)
2010-07-14 21:57:32 +10:00
Christophe Romain
de6675a433
Added catches to reset_stream calls to avoid errors during a race condition (thanks to Aleksey Shchepin)
2010-07-13 22:13:38 +02:00
Christophe Romain
81d364a97a
Make chat room destroy and create being sync_dirty to limit mnesia overload. (thanks to Mickael Remond)
2010-07-13 22:09:48 +02:00
Christophe Romain
02b7ba50fe
Try forcing usage of cache for all MySQL sessions, and add correct timeout on odbc driver query. (thanks to Mickael Remond)
2010-07-13 22:08:16 +02:00
Christophe Romain
e64d69350f
Add rate limit command to ejabberd_listener. You can now limit the max number of TCP connects per second on a given port. (thanks to Mickael Remond)
2010-07-13 22:07:43 +02:00
Badlop
2b48732de4
Fix my flock change from last friday
2010-07-12 18:53:28 +02:00
Badlop
29e626bf80
Remove ejabberd_debug because p1_prof provides similar and better features
2010-07-12 16:03:47 +02:00
Badlop
2e13a56ca9
Only compile and install p1_prof when: make debugtools=true
2010-07-12 16:03:44 +02:00
Badlop
976baccceb
Raise requirement to Erlang/OTP R12B-5 (EJAB-953)
2010-07-12 15:21:31 +02:00
Badlop
f8412d7c5d
When using OTP R14, use public_key library instead of old ssl (EJAB-953)
2010-07-12 13:58:10 +02:00
Badlop
5a8d99232c
Mention missing modules in the overview table
2010-07-11 12:21:57 +02:00
Badlop
fe70217703
Some systems delete the lock dir; in such case don't use flock at all
2010-07-09 22:40:32 +02:00
Evgeniy Khramtsov
20f6e4714e
Added functions to collect statistics about queues, memory, reductions etc. Several cleanups
2010-07-10 01:37:28 +10:00
Evgeniy Khramtsov
b76eba62ea
New ejabberd profiler
2010-07-05 13:46:49 +10:00
Badlop
5b6351577a
Fix print of command result that contains ~ (thanks to Tsukasa Hamano)
2010-07-03 00:45:46 +02:00
Badlop
894f0abdfa
Prevent Dialyzer warnings about case inside macro
2010-07-02 23:40:51 +02:00
Badlop
c89944fe12
Don't handle useless case of Affiliation none
2010-07-02 23:40:51 +02:00
Badlop
fe1a4908b5
Move deeply nested cases to functions, and fix affiliation changes.
2010-07-02 23:40:51 +02:00
Evgeniy Khramtsov
d60ef4c212
Use ets insead of asking supervisor in ejabberd_odbc_sup:get_pids/1 (Thanks to Alexey Shchepin)
2010-07-03 00:35:34 +10:00
Badlop
5161a9d4e8
Show some more room options in the log file
2010-07-02 15:21:05 +02:00
Badlop
eb0dc4f4ca
Document the mod_muc option captcha_protected
2010-07-02 13:09:11 +02:00
Badlop
6b9a523dc9
Recompile the Guide and Configure
2010-07-01 17:08:17 +02:00
Badlop
3e97054390
Requirement of OpenSSL increased from 0.9.6 to 0.9.8
2010-07-01 17:06:25 +02:00
Badlop
69d10702ee
Fix typo in --enable-transient_supervisors
2010-07-01 17:05:24 +02:00
Christophe Romain
455107ff5f
fix some dialyzer warnings on pubsub (EJAB-1260)
2010-07-01 11:19:48 +02:00
Badlop
5ca3f221cc
Fix privacy check when serving local Last (thanks to Brian Acton)(EJAB-1271)
2010-06-29 11:59:16 +02:00
Badlop
7ffe06c77f
Fix binary Host argument
2010-06-28 13:54:43 +02:00
Badlop
bdea5d3598
Fix problem when FIREWALL_WINDOW options for erl kernel were used
2010-06-28 13:18:48 +02:00
Badlop
a07eb3e023
Fix missing closing right parenthesis in define
2010-06-28 12:23:18 +02:00
Badlop
c3ef12debb
Inform client that SSL session caching is disabled (thanks to Pawel Chmielowski)
2010-06-25 18:33:59 +02:00
Badlop
739412119e
Don't ask for client certificate when using tls (EJAB-1267)
2010-06-25 18:33:56 +02:00
Badlop
90d9ed1ee4
OpenSSL is required, not optional
2010-06-25 16:59:15 +02:00
Badlop
7d96d831c1
Fix Edoc typo
2010-06-25 00:03:38 +02:00
Badlop
b2eb9bc512
Fix some binary variables
2010-06-24 00:22:26 +02:00
Badlop
71fc696f81
When account is deleted, delete also member of stored shared rosters.
2010-06-24 00:04:02 +02:00
Evgeniy Khramtsov
234280ddc7
now admins are able to see private rooms in disco (EJAB-1269)
2010-06-23 17:51:05 +10:00
Badlop
7a76cabe26
Varied fixes in mod_muc_room
2010-06-22 00:11:41 +02:00
Badlop
a610d8b699
Several fixes about binary in mod_muc_room
2010-06-22 00:11:41 +02:00
Badlop
98a78b7955
Several fixes about binary in mod_muc
2010-06-22 00:11:41 +02:00
Badlop
493d3bc7aa
Fix language string
2010-06-22 00:11:41 +02:00
Badlop
ac6ae9e8dd
Fix xmlcdata binary content
2010-06-22 00:11:41 +02:00
Badlop
a6c0a3d59b
Fix exmpp parser options
2010-06-22 00:11:41 +02:00
Badlop
0b5bcaf74a
Remove some unused cases clauses
2010-06-22 00:11:41 +02:00
Badlop
3ee28ef7cc
Throw a meaningful error when the URL can't be parsed
2010-06-22 00:11:41 +02:00
Badlop
3f68689367
Handle when username in shared roster members is undefined
2010-06-22 00:11:41 +02:00
Badlop
6fc578f2ee
Use string instead of binary for body content
2010-06-22 00:11:41 +02:00
Badlop
cd4c730b9c
Fix pattern match
2010-06-22 00:11:41 +02:00
Evgeniy Khramtsov
b0b66be747
Added md2/1 support
2010-06-22 02:57:58 +10:00
Evgeniy Khramtsov
e04a690303
New OpenSSL functions wrapper: sha224/1, sha256/1, sha384/1, sha512/1
2010-06-22 02:34:27 +10:00
Badlop
bc44a3584f
Fix detection of push roster item unsubscribed
2010-06-18 21:24:52 +02:00
Badlop
5e986442a2
Remove duplicate function from mod_roster
2010-06-18 21:24:52 +02:00
Badlop
19ad0eb238
Fid mod_roster_odbc binary arguments
2010-06-18 21:24:52 +02:00
Badlop
fe4944e031
Provide iq instead of xmlel in roster webadmin changes
2010-06-18 21:24:51 +02:00
Badlop
a51df8db6e
Fix build of blank JID
2010-06-18 21:24:51 +02:00
Badlop
b605295f9d
Fix call to exmpp_stanza:error
2010-06-18 21:24:51 +02:00
Badlop
dd69d47543
Fix xmlcdata binary content
2010-06-18 21:24:51 +02:00
Badlop
3b7449fb92
Fix result IQ vcard stanza
2010-06-18 21:24:51 +02:00
Badlop
0514ccb047
Remove function clause that is never called
2010-06-18 21:24:51 +02:00
Badlop
cab6ee9d86
Fix some exmpp calls
2010-06-18 21:24:51 +02:00
Badlop
63032e1397
Fix xmlcdata type
2010-06-18 21:24:51 +02:00
Badlop
8cef084bd2
New mod_echo option client_version for the educational example
2010-06-18 21:24:51 +02:00
Badlop
6942d0bcc3
Remove in mod_caps handle of unused md5 hash
2010-06-18 21:24:51 +02:00
Badlop
979c2b5a74
Fix binary arguments
2010-06-18 21:24:51 +02:00
Badlop
a62a9b6460
Remove unused function, and unused os:type return
2010-06-18 21:24:51 +02:00
Badlop
67da88f0bd
Improve ejabberd's broadcast stanzas to satisfy #xmlel type
2010-06-18 21:24:51 +02:00
Badlop
4fd7ec27f5
OTP doc says the Command in the open_port spawn tuple must be string()
2010-06-18 21:24:51 +02:00
Badlop
19a8b79342
Improve handle of inet:gethostbyname return
2010-06-18 21:24:51 +02:00
Badlop
be111b6749
More remove support for XEP-0018 (EJAB-810)
2010-06-18 21:24:51 +02:00
Badlop
b6711e407e
Remove support for the rejected XEP-0018 Invisible Presence (EJAB-810)
2010-06-17 22:43:15 +02:00
Badlop
3bcc60066e
Throw error when tls has no_certfile, instead of returning error tuple
2010-06-17 22:39:01 +02:00
Badlop
8d783bae15
Fix roster webadmin display
2010-06-17 15:55:33 +02:00
Badlop
e0bdbcf063
Fix exmpp bug in mod_pubsub_odbc
2010-06-17 15:55:06 +02:00
Badlop
f32332cdfc
Rebuilt the configure script with: autoconf
2010-06-16 16:06:44 +02:00
Peter Lemenkov
399bb31e13
Pass correct version to autoreconf
...
It seems that AC_INIT macro is wrongly initialized. See this link
for explanation of a particular AC_INIT variables:
http://www.gnu.org/software/autoconf/manual/html_node/Initializing-configure.html
Briefly, AC_INIT macro should be populated with the following data:
AC_INIT (package, version, [bug-report], [tarname], [url])
Signed-off-by: Peter Lemenkov <lemenkov@gmail.com >
2010-06-16 16:06:16 +02:00
Peter Lemenkov
eae5d1b764
Install COPYING file along with other docs
...
It's a generally good idea to provide file with licensing terms.
Signed-off-by: Peter Lemenkov <lemenkov@gmail.com >
2010-06-16 16:06:14 +02:00
Peter Lemenkov
1459cb8a56
Install dev.html, and guide.pdf if it exists
...
Signed-off-by: Peter Lemenkov <lemenkov@gmail.com >
2010-06-16 16:06:11 +02:00
Christophe Romain
53638d094a
remove outdated and useless file, use ejabberdctl.template instead
2010-06-16 12:20:46 +02:00
Badlop
8d3fd94d7d
Log error when HTTP request has ambiguous Host header (EJAB-1261)
2010-06-16 11:45:13 +02:00
Badlop
e27dda3ff1
Fix for Erlang R12, that doesn't support: true andalso ok
2010-06-15 23:01:13 +02:00
Jerome Sautret
1142cdad1b
Discard queued requests that are too old (the caller has already got a timeout).
...
(cherry picked from commit 0e5b930b22 )
2010-06-11 16:38:19 +02:00
Christophe Romain
2028698336
Fix bad pattern matching on undefined resource
2010-06-10 18:26:21 +02:00
Badlop
5d1d797330
Explain that 2 LDAP connections are established per vhost
2010-06-10 15:03:30 +02:00
Christophe Romain
a67539075f
prevent pubsub filtering too much packets
2010-06-10 14:25:46 +02:00
Badlop
75053cf40d
Fix to push new contacts to connected users
2010-06-10 13:45:46 +02:00
Badlop
cbf06b4785
Fix to not send roster contact from oneself
2010-06-10 13:14:09 +02:00
Badlop
cc7ecfb39e
Support anonymous accounts in Shared Roster @all@ directive (EJAB-1264)
...
With this change, logged anonymous accounts are considered to be registered.
2010-06-10 12:22:27 +02:00
Badlop
04943ca469
Fix bug creating anonymous mnesia table
2010-06-10 12:17:31 +02:00
Badlop
89f99c4251
Fix Dialyzer errors in ejabberd_ctl
2010-06-10 00:52:51 +02:00
Badlop
1a6c162371
Fix Dialyzer errors in auth modules
2010-06-10 00:52:38 +02:00
Evgeniy Khramtsov
ead2655a62
fixes some badmatches and calls to undefined functions (part of EJAB-1260)
2010-06-09 15:56:33 +10:00
Badlop
526912756b
Fix warnings about unused variables
2010-06-08 21:29:53 +02:00
Badlop
aa176917fa
Fix typo in previous pubsub commit
2010-06-08 21:29:39 +02:00
Badlop
be25c5ada7
Fix export to SQL
2010-06-08 21:16:41 +02:00
Badlop
d2dee01f7c
Don't delete offline messages in mnesia when exporting to PIEFXIS
2010-06-08 18:56:10 +02:00
Badlop
b9e79aac6c
Fix IQ records
2010-06-08 18:56:09 +02:00
Badlop
2e9f3d3308
Fix call to mod_offline
2010-06-08 18:56:08 +02:00
Badlop
39e18e3738
Fix JID conversion, useful for mod_offline update from 2.1.x to 3.0
2010-06-08 18:56:07 +02:00
Christophe Romain
baef586581
fix unexported function calls
2010-06-08 15:57:36 +02:00
Badlop
db17504c82
Don't hide the erlang node when using ejabberdctl debug
2010-06-07 22:40:11 +02:00
Badlop
85e59c14d2
New argument --erlargs to pass arguments to erl
2010-06-07 22:40:10 +02:00
Badlop
d48b4f2438
Fix typo in update_list command (EJAB-1237)
2010-06-07 15:58:26 +02:00
Badlop
6925f388e7
Fix previous commit (EJAB-1257)
2010-06-07 13:48:20 +02:00
Badlop
bc1b4163a2
New optional BOSH connection attribute process-delay (EJAB-1257)
2010-06-07 13:45:05 +02:00
Badlop
4e459b9466
Fix call to the proper API function
2010-06-03 12:29:44 +02:00
Badlop
e3e888b8de
Fix crash because JID is a 3-tuple
2010-06-03 12:19:52 +02:00
Badlop
b1dfb4b5f2
Clarify in the Guide that mssql configuration is similar to odbc
2010-06-02 17:34:40 +02:00
Christophe Romain
2f372261d3
sync last changes in pubsub_odbc patch
2010-06-02 16:47:03 +02:00
Evgeniy Khramtsov
2187bccc38
consistent hashing support. WARNING: update exmpp before running this
2010-06-03 00:01:36 +10:00
Christophe Romain
6c0c30c032
final fix on created node notification (EJAB-1225)
2010-06-02 14:38:04 +02:00
Christophe Romain
166e742b3c
can not use unexpected-request with 'cancel' type
2010-05-28 16:27:04 +02:00
Christophe Romain
76447a8810
fix error code when unsubscribing from a non-existent node (needs exmpp from e8f1096) (EJAB-1227)
2010-05-28 14:25:06 +02:00
Christophe Romain
0232f5958f
send created node notifications (EJAB-1225)
2010-05-28 13:27:28 +02:00
Christophe Romain
e042fdb111
fix cached_item issue with PEP
2010-05-28 13:17:36 +02:00
Christophe Romain
01855b4e32
make last_item_cache feature cluster aware (EJAB-1234)
2010-05-28 11:32:51 +02:00
Badlop
9275a0020e
Handle error response from auth modules (thanks to Eric Liang)
2010-05-28 01:36:27 +02:00
Badlop
fbc8466c3c
Makefile with optional ejabberd_debug.erl compilation (EJAB-1242)
...
Only compile and install ejabberd_debug.erl when running:
make ejabberd_debug=true
2010-05-28 00:48:29 +02:00
Badlop
bd69e3ad6c
Remove useless loop and clean prepare_response (thanks to Christopher tofu Zorn)
...
1. Remove the silly loop that isnt needed,
this speeds up all requests by 100 milliseconds.
2. Clean up prepare response function and add two new functions to
handle out going payloads based of whether its a new session or not.
2010-05-28 00:40:07 +02:00
Badlop
3b963c4f18
Add created_at column also to PostgreSQL schema (thanks to Mathias Ertl)(EJAB-1240)
2010-05-26 16:13:55 +02:00
Badlop
72b2209c3e
Mix the commands update_all/0 and update_module/1 into update/1 (EJAB-1237)
2010-05-25 20:02:29 +02:00
Badlop
75c5803431
New ejabberd commands to update modified modules (EJAB-1237)
2010-05-24 13:56:52 +02:00
Badlop
d03eacd160
Only log when script errors are found
2010-05-24 13:54:25 +02:00
Christopher tofu Zorn
c13df5645e
typo on exported function
2010-05-20 20:45:57 +02:00
Christopher tofu Zorn
a76d3d46fc
expose more functions so developers can implement prebinding methods
2010-05-20 20:32:56 +02:00
Badlop
e5535c80da
Document mod_multicast, and add module disabled to default config
2010-05-20 00:08:43 +02:00
Badlop
41484213fd
Use multicast in C2S presence broadcast (EJAB-267)
2010-05-20 00:03:05 +02:00
Badlop
a4cf03dbf0
Use multicast in MUC groupchat messages (EJAB-266)
2010-05-20 00:03:04 +02:00
Badlop
8935da5b5c
Service for XEP-0033: Extended Stanza Addressing (EJAB-265)
2010-05-20 00:03:02 +02:00
Badlop
9c12790011
New ejabberd router for multicast packets (EJAB-329)
2010-05-20 00:03:00 +02:00
Christophe Romain
bc963e7855
fix EJAB-1233 on pubsub_odbc patch
2010-05-19 11:03:20 +02:00
Christophe Romain
877a864ba3
remove useless binding
2010-05-19 10:43:07 +02:00
Christophe Romain
033bec01e3
prevent orphaned pubsub node (EJAB-1233)
2010-05-19 10:42:49 +02:00
Christophe Romain
5f89f481e4
fix hometree<->flat change
2010-05-18 17:29:09 +02:00
Christophe Romain
95057c1182
finish port to exmpp calls on jid transformation
2010-05-18 15:20:41 +02:00
Christophe Romain
f6e4d95c6f
PubSub: node_flat becomes default plugin (thanks to Karim Gemayel)(EJAB-1077)
2010-05-17 22:09:01 +02:00
Christophe Romain
4409c49494
fix create_node_permission using binary() instead of string()
2010-05-17 12:52:43 +02:00
Badlop
f32b394a96
Fix English typos
2010-05-17 11:56:51 +02:00
Christophe Romain
c09df6cf93
fix pubsub->pubsub_odbc patch
2010-05-17 11:11:33 +02:00
Christophe Romain
497911fc5d
accept pubsub publish using normal message
2010-05-17 10:31:53 +02:00
Christophe Romain
46ac8f97eb
Add pubsub#type node config (EJAB-1083)
2010-05-12 14:51:38 +02:00
Christophe Romain
0964724b2a
sync pubsub_odbc with latest code
2010-05-12 13:54:21 +02:00
Christophe Romain
ccc684b095
Enforce pubsub#show_values subscription option (EJAB-1096)(thanks to Karim Gemayel)
2010-05-12 13:46:34 +02:00
Christophe Romain
2f075b7b77
Add pubsub#notify_sub node option (EJAB-1230)(thanks to Karim Gemayel)
2010-05-12 12:01:54 +02:00
Christophe Romain
e1dd9ed875
fix unsubscribing with SubID (thanks to Karim Gemayel)
2010-05-12 11:47:43 +02:00
Badlop
e7d70933ac
Show HTTP auth username and IP address in logs, not the password (EJAB-1231)
2010-05-12 10:28:01 +02:00
Badlop
611a9c0136
Fix EDoc errors
2010-05-11 13:15:33 +02:00
Badlop
834ca8a08d
Show vCard size in WebAdmin, allow to delete it, allow to view the vCard
2010-05-11 01:22:20 +02:00
Badlop
34bc4da8d8
Fix vcard removal
2010-05-11 01:22:18 +02:00
Badlop
3727e2426d
Catch error when auth crashes
2010-05-11 01:22:17 +02:00
Badlop
7aa5e8f435
Don't show HTTP request in logs, because reveals password (EJAB-1231)
2010-05-10 23:23:38 +02:00
Badlop
6129065cfa
Show parsing error in debug log message
2010-05-10 22:45:24 +02:00
Badlop
86eebc21b4
More fixes in BOSH, it seems to work now
2010-05-10 22:44:55 +02:00
Badlop
56f5a7846f
Fix binary conversion when removing user in mod_pubsub
2010-05-10 17:01:20 +02:00
Badlop
bb4dae26da
Optionally cache extauth users in mnesia (EJAB-641)
2010-05-10 16:43:39 +02:00
Badlop
2afce7822f
Use a standard method to get a random seed (EJAB-1229)
2010-05-10 15:39:20 +02:00
Badlop
e249a21f83
Fix warning
2010-05-10 15:10:24 +02:00
Badlop
2331e23f49
New option pam_userinfotype to provide username or JID (EJAB-652)
2010-05-10 15:08:21 +02:00
Badlop
110819525f
Partially revert "Fix more HTTP-Bind", add proper fix: c2s works again, BOSH not yet
2010-05-10 13:56:58 +02:00
Evgeniy Khramtsov
3f6579ffbc
new option ldap_tls_verify is added (EJAB-1229)
2010-05-10 19:57:40 +10:00
Evgeniy Khramtsov
92ec42565e
full support for XEP-0115 v1.5 (EJAB-1223) (EJAB-1189)
2010-05-10 16:00:30 +10:00
Christopher tofu Zorn
f84a1c88cf
Change max inactivity from 30 to 120 seconds
2010-05-06 20:55:08 +02:00
Christopher tofu Zorn
a1205f347f
Use dirty_delete when removing the session.
...
There is no need for a transaction and has less overhead
2010-05-06 20:55:03 +02:00
Badlop
674ee7f5f6
Fix more HTTP-Bind; now works with exmpp bosh_client, but not others yet.
2010-05-05 19:59:57 +02:00
Badlop
4d1dfe8914
Indicate explicitly what nodes are handled by mod_configure
2010-05-04 11:40:35 +02:00
Christophe Romain
dc4d72cf77
Let PubSub check the namespace of the published root payload element
2010-05-03 14:35:49 +02:00
Badlop
57ffba34c2
New page Miscelanea Options
2010-05-03 13:59:18 +02:00
Christophe Romain
2f97ef8b81
Enforce pubsub#presence_based_delivery (EJAB-1221) (thanks to Karim Gemayel)
...
this commit also sync pubsub_odbc back to latest pubsub
2010-04-29 12:54:35 +02:00
Emilio Bustos
4548f2faf0
Fixed Bugs handling Service Discovery to contacts (EJAB-1207)
2010-04-29 00:38:25 -03:00
Badlop
f01dd3e942
Fix Edoc comment
2010-04-28 20:15:15 +02:00
Badlop
53a5b602dc
New Access rule webadmin_view for read-only (thanks to Oleg Palij)(EJAB-213)
2010-04-27 23:27:24 +02:00
Christophe Romain
b49dd8b8c4
fix node path format, must be binary()
2010-04-27 19:08:56 +02:00
Badlop
4c147c5f29
Don't store blocked messages in offline queue (thanks to Brian Acton)(EJAB-1224)
2010-04-27 13:29:05 +02:00
Badlop
9820880cd5
Automatic vcard avatar addition in presence (thanks to Igor Goryachev)(EJAB-208)
2010-04-27 12:33:38 +02:00
Badlop
8713465df1
No need to handle IQ requests other than Get and Set
2010-04-22 20:15:45 +02:00
Badlop
cb9b97411b
Rename mod_muc_log option spam_prevention to link_nofollow (EJAB-1141)
2010-04-21 18:58:03 +02:00
Badlop
069ad5332d
Update WebAdmin logo to ejabberd 3.
2010-04-21 15:50:01 +02:00
Badlop
1d7daab4e8
Don't send error stanza as reply to error stanza (EJAB-930)
2010-04-20 20:31:17 +02:00
Badlop
6cdfec1284
Fix support for registration from C2S connections
2010-04-19 16:08:01 +02:00
Badlop
ab77bb5466
Recompile the Guide
2010-04-19 15:20:45 +02:00
Evgeniy Khramtsov
c8f5585f3b
added notes about LDAP password change
2010-04-19 23:10:22 +10:00
Evgeniy Khramtsov
e117ce1b7b
allow inband password change (EJAB-199)
2010-04-19 21:05:19 +10:00
Badlop
b0d5ac0b33
Minor fixes in listeners options list
2010-04-19 11:57:16 +02:00
Evgeniy Khramtsov
5bb22101e2
LDAP extensible match support (EJAB-722)
2010-04-19 14:14:26 +10:00
Badlop
f70ebd6983
Allow definition of local address for outgoing s2s (EJAB-418)
2010-04-15 01:04:40 +02:00
Badlop
5cb10cf9fa
Fix outgoing s2s
2010-04-14 21:08:24 +02:00
Badlop
3259c1c2ea
Update some HTTP-Bind to work with exmpp; but doesn't work yet.
2010-04-14 16:50:32 +02:00
Badlop
58a4b594db
Update calls of old xml_stream and xml, to exmpp.
2010-04-14 16:45:37 +02:00
Badlop
7471d49b5a
Fix roster display in WebAdmin
2010-04-14 16:42:29 +02:00
Badlop
67cced15b9
Fix calls to register_feature
2010-04-14 01:08:22 +02:00
Badlop
7fffae5b1a
Rename some JEP references to XEP
2010-04-14 01:00:14 +02:00
Badlop
bda56552eb
Fix management of disco_features and disco_extra_domains
2010-04-14 00:57:56 +02:00
Badlop
d2104ba4e1
Reduce verbosity of log when captcha_cmd is checked but not configured.
2010-04-12 13:33:13 +02:00
Pablo Polvorin
3581b137e1
Remove warning for undefined print_state/1 function for p1_fsm processes.
...
Include a identity function as implementation of print_state/1.
2010-04-09 14:18:44 -03:00
Christophe Romain
44abf1ff28
fix subscriptions, subscribe, and configure options (thanks to Karim Gemayel)
2010-04-08 13:58:47 +02:00
Badlop
7814527e0d
Bugfix for starting with a clean caps table (thanks to Karim Gemayel)
2010-04-07 12:50:47 +02:00
Badlop
57d5bc693c
Add xml default content type (thanks to Aaron Winborn)(EJAB-14214)
2010-04-06 23:04:28 +02:00
Emilio Bustos
b85b63018d
Move SQL queries from vcard_odbc to odbc_queries.
2010-03-31 16:33:18 -03:00
Pablo Polvorin
fd990cf4d8
Allow customizing the StateData in p1_fsm before error reporting.
...
A new callback is introduced on the p1_fsm behaviour:
print_error/1
If the module implements this function, it will be invoked
in case of process crash with the current state data *before*
printing the error in the log. The function must return the
desired State to print.
It is used in ejabberd_c2s to prune the presence sets that
can be large. Instead, the state is changed to include only
the # of elements on each set.
Change inspired in comming changes to gen_server on OTP, and
http://github.com/erlyvideo/erlyvideo/commit/b01d15abc3189226dbf824db19db22da35fa33a0#diff-0
2010-03-30 16:44:39 -03:00
Badlop
da50d95873
Refactor code to reduce calls to get_affiliation and get_role (thanks to Steam)(EJAB-1038)
2010-03-29 20:49:22 +02:00
Christophe Romain
2f899ba76f
purge_offline and get/set affiliation bugfix
2010-03-22 20:27:13 +01:00
Evgeniy Khramtsov
d11a715eda
- pass jid into feature_check_packet hook;
...
- bounce messages when closing c2s session;
- implemented treap:to_list/1 and treap:from_list/1
2010-03-17 23:47:13 +09:00
Mickael Remond
6d9094ceca
Move HTTP session timeout log from warning level to info. Timeout can be generated when user close the browser for example.
2010-03-14 10:30:01 +01:00
Christophe Romain
d50fc6728e
improve remove_user (EJAB-1172)
2010-03-11 16:07:56 +01:00
Peter Lemenkov
c316bfae25
More compliance with LSB
...
The init-script shall return 4 in case then user doesn't have sufficient privileges for action.
See http://refspecs.freestandards.org/LSB_3.2.0/LSB-Core-generic/LSB-Core-generic/iniscrptact.html
Signed-off-by: Peter Lemenkov <lemenkov@gmail.com >
2010-03-08 22:41:14 +01:00
Christophe Romain
37a23e69d7
allows PEP to send to bare jid on s2s
2010-03-08 15:35:19 +01:00
Badlop
13412129ec
Document mod_sic (EJAB-1205)
2010-03-08 13:59:06 +01:00
Badlop
94257c3e4b
Implement XEP-0279: Server IP Check (thanks to Karim Gemayel)(EJAB-1205)
2010-03-08 13:58:53 +01:00
Badlop
4dc48da638
Replace concat_binary supported until R14 with list_to_binary supported since R9
2010-03-08 12:53:37 +01:00
Badlop
002104c62e
Catch errors when exporting to PIEFXIS file (EJAB-1178)
2010-03-08 11:16:33 +01:00
Badlop
3844883321
Recompile the Guide
2010-03-08 11:16:05 +01:00
Evgeniy Khramtsov
fb64d79379
ldap_dn_filter option is documented; now fetching only needed attributes in LDAP search requests (EJAB-1204)
2010-03-08 16:51:24 +09:00
Evgeniy Khramtsov
9d2fd3e52c
now using "%u" pattern as default for ldap_uids (EJAB-1203)
2010-03-08 14:08:22 +09:00
Christophe Romain
7d497615a1
add extended stanza addressing 'replyto' on PEP (EJAB-1198) (thanks karim)
2010-03-05 18:33:12 +01:00
Christophe Romain
fe40651b0d
add pubsub#purge_offline (EJAB-1186) (thanks karim)
2010-03-05 16:09:06 +01:00
Christophe Romain
3c36cd64e3
fix pubsub#title option (EJAB-1190) (thanks karim)
2010-03-05 15:45:31 +01:00
Christophe Romain
7d97830ad7
mod_caps optimizations (thanks evgeniy)
2010-03-05 15:38:44 +01:00
Denis Kurochkin
a1fe809197
MSSQL support was broken (EJAB-1201)
2010-03-05 14:46:17 +01:00
Christophe Romain
236423d058
fix: subscribe, unsubscribe, last published item (thanks karim)
2010-03-05 13:50:51 +01:00
Evgeniy Khramtsov
c8c7169465
improved s2s connections clean up (EJAB-1202)
2010-03-04 12:43:43 +09:00
Badlop
64f8cf8a9e
Clarify in Displayed Groups label that it expects IDs.
2010-03-01 11:44:02 +01:00
Badlop
c99de764bc
Add quotes in documentation of some erl arguments (thanks to Vincent Courcelle)(EJAB-1191)
2010-02-25 00:06:13 +01:00
Badlop
c9463e3308
Fix resending authorization problem
2010-02-24 13:14:53 +01:00
Badlop
87beae3298
Run user_receive_packet also when sending offline messages to client (thanks to Brian Acton)(EJAB-1193)
2010-02-22 22:56:57 +01:00
Badlop
3e6acdfb4a
Fix typos in example config comments (thanks to Florian Zumbiehl)(EJAB-1192)
2010-02-22 13:40:19 +01:00
Badlop
ebc82f2968
Use alternative of file:read_line/1 to not require R13B02
2010-02-20 19:31:57 +01:00
Evgeniy Khramtsov
9890cc89b6
get rid of queue:filter/2 to keep compatibility with older Erlang versions
2010-02-20 20:14:34 +09:00
Evgeniy Khramtsov
62ad40b1e4
now using mnesia:async_dirty when cleaning table from failed node
2010-02-19 16:41:13 +09:00
Badlop
ca1ac76108
Reduce verbosity of HTTP Binding log messages (thanks to Alexey Shchepin)
2010-02-19 00:08:04 +01:00
Badlop
ceb377621e
Recompile guide.html
2010-02-18 22:25:36 +01:00
ekhramtsov
d70e92d781
improved explanation of "max_fsm_queue" option; included this option in ejabberd.cfg.example
2010-02-18 15:42:59 +09:00
ekhramtsov
c0a0bae91e
option "access_from" is now documented (EJAB-1187)
2010-02-18 15:00:40 +09:00
ekhramtsov
e7c93ae68d
new option "hostname" is added (thanks to Stefan Hepp) (EJAB-838)
2010-02-17 23:58:53 +09:00
Badlop
55986739c9
Update namespaces to match exmpp_nss.hrl (thanks to Karim Gemayel)(EJAB-1179)
...
This requires a recent exmpp from Git. Once released, it'll require exmpp 0.9.3
2010-02-16 17:33:53 +01:00
Badlop
8539a7d7ea
Close also legacy sessions that were half connected (thanks to Evgeniy Khramtsov)(EJAB-1165)
2010-02-16 12:44:43 +01:00
Badlop
23d008cd79
Remove references to the old SVN repository.
2010-02-16 12:00:05 +01:00
Badlop
5a82e3ac70
Rewrite mnesia counter functions to use dirty_update_counter (EJAB-1177)
...
(thanks to Juan Pablo Carlino and Alexey Shchepin)
2010-02-15 23:38:08 +01:00
Badlop
4117a5e856
New command to set master Mnesia node
2010-02-15 23:25:02 +01:00
Badlop
6cf078ae83
Shared roster gets contact nickname from vcard, when available (EJAB-114)
2010-02-15 22:47:38 +01:00
Badlop
27be3b400e
Cross-domain HTTP-Bind support (thanks to Jack Moffitt)(EJAB-1168)
2010-02-15 22:39:32 +01:00
Badlop
fa4ebab036
Fix cluster race condition in route read (thanks to Alexey Shchepin)
2010-02-15 18:37:42 +01:00
Badlop
df2878739c
Improve TTY code to work on more operating systems (thanks to Jan Koum)
2010-02-12 22:11:22 +01:00
Badlop
cab98b3fd5
Added support for Jot in ctl and TTY in debug (thanks to Jan Koum)
2010-02-12 20:52:31 +01:00
Badlop
60ffcd78f1
Minor fixes in the new ejabberdctl flock code
2010-02-12 20:25:20 +01:00
Martin Langhoff
6557136426
ejabberdctl: support concurrent connections with bound conn names
...
If flock is available, ejabberdctl will use it to grab one
of a bound number of connection names. This allows concurrent
connections while using a bound number of atoms.
Using PID, timestamps or random strings for transient connection IDs
(which would avoid the need for flock) uses an unbound number of atoms.
This can effectively DoS servers, as these connection names are
not garbage collected.
2010-02-12 20:24:58 +01:00
Badlop
50b0ef4db9
Replace mention of ejabberd SVN with Git.
2010-02-11 13:24:39 +01:00
Badlop
18074abfdd
Remove unnecessary section about Snow Leopard with Erlang R13B
2010-02-11 13:23:41 +01:00
Badlop
d429ba812c
Fix bashism in 'ejabberdctl started'
2010-02-11 11:04:15 +01:00
Badlop
0d09816c39
Allow a request_handler to serve a file in root of HTTP
2010-02-10 20:17:37 +01:00
Badlop
4caf4da9a6
Add Edoc comment about run_fold/4 function
2010-02-08 21:27:10 +01:00
Badlop
961640bd2c
Fix to get shared roster displayed when user logins
2010-02-08 21:14:40 +01:00
Badlop
5d92dce21d
Update spec of node_hometree get_states (thanks to Magnus Henoch)
2010-02-08 17:54:11 +01:00
Badlop
50f5356c89
Another migration of regexp call to re (EJAB-921)
2010-02-08 13:42:05 +01:00
Badlop
3156cdf10e
Fix character in README file, in master, too.
2010-02-08 12:38:52 +01:00
Badlop
7a5ec47b58
Copied release notes from previous 2.1.* releases
...
SVN Revision: 2962
2010-02-05 13:34:09 +01:00
Pablo Polvorin
b22e8b706a
Add new debuging hook to the http receiving process.
...
The new hook is called http_request_debug, and receive the LocalPath and Request as parameter.
SVN Revision: 2961
2010-02-05 13:34:09 +01:00
Pablo Polvorin
0ddf0d10a5
Hibernate http-bind process after handling a request.
...
When using BOSH, this reduces memory consuption of the http-bind process, with negligible CPU impact.
SVN Revision: 2960
2010-02-05 13:34:09 +01:00
Pablo Polvorin
0ed8ae5975
Bug Fix: The value of max # of erlang process specified in ejabberdctl.cfg was not used.
...
It was called PROCESSES in the .cfg file, and ERL_PROCESSES in the script. The latter is the correct, to be coherent with ERL_MAX_PORTS and ERL_MAX_ETS_TABLES.
SVN Revision: 2959
2010-02-05 13:34:09 +01:00
Evgeniy Khramtsov
1283a59465
Added new acl for mod_register: access_from. This acl is applied if existing account tries to register a new account (either via s2s or c2s). The default action is to deny such operations.
...
SVN Revision: 2958
2010-02-03 12:20:04 +00:00
Evgeniy Khramtsov
ad1aec6cd1
avoid resending <stream:error> stanzas on terminate (EJAB-1180)
...
SVN Revision: 2957
2010-02-03 12:10:08 +00:00
Evgeniy Khramtsov
7d7177a6af
changed Reason to shutdown when stopping destroyed MUC room
...
SVN Revision: 2956
2010-02-03 11:50:37 +00:00
Badlop
f5e6c9a2a3
Fix bug handling Reason in gen_fsm:terminate
...
SVN Revision: 2951
2010-02-02 11:15:44 +00:00
Evgeniy Khramtsov
7cd5a04087
improved SQL reconnect behaviour
...
SVN Revision: 2948
2010-01-31 11:48:21 +00:00
Christophe Romain
bfff7d721d
remove useless empty dir
...
SVN Revision: 2946
2010-01-28 16:04:58 +00:00
Evgeniy Khramtsov
aaff63da58
regenerated guide.html
...
SVN Revision: 2944
2010-01-28 15:37:02 +00:00
Evgeniy Khramtsov
95a3cc88cd
fixes badly formed define
...
SVN Revision: 2943
2010-01-28 15:34:00 +00:00
Evgeniy Khramtsov
70c1a3f60b
ejabberd_c2s option "max_fsm_queue" is now documented
...
SVN Revision: 2942
2010-01-28 14:01:31 +00:00
Evgeniy Khramtsov
c24af4ca63
new ejabberd_c2s option support: max_fsm_queue
...
SVN Revision: 2940
2010-01-28 13:46:44 +00:00
Evgeniy Khramtsov
e31b2582b6
now using p1_fsm behaviour in c2s FSM (EJAB-1173)
...
SVN Revision: 2937
2010-01-28 13:11:14 +00:00
Badlop
479e5cb107
Fix disco of bare JID
...
SVN Revision: 2935
2010-01-27 18:54:03 +00:00
Badlop
887a65aa18
exmpp in pubsub doc and retrocompatibility comments (thanks to Karim Gemayel)
...
SVN Revision: 2934
2010-01-27 18:53:56 +00:00
Badlop
e4a6d20328
exmpp fixes in captcha (thanks to Karim Gemayel)
...
SVN Revision: 2933
2010-01-27 18:53:47 +00:00
Badlop
f5e1479afe
exmpp fixes in receiver (thanks to Karim Gemayel)
...
SVN Revision: 2932
2010-01-27 18:53:43 +00:00
Badlop
a10493976e
exmpp fixes in mod_muc (thanks to Karim Gemayel)
...
SVN Revision: 2931
2010-01-27 18:53:38 +00:00
Badlop
4caac4a322
exmpp fixes in c2s, piefxis and mod_vcard_ldap (thanks to Karim Gemayel)
...
SVN Revision: 2930
2010-01-27 18:53:33 +00:00
Badlop
e98df7acb1
exmpp fixes in http_bind (thanks to Karim Gemayel)
...
SVN Revision: 2929
2010-01-27 18:53:27 +00:00
Mickaël Rémond
f20d2bb2ff
Fix typo in doc
...
SVN Revision: 2927
2010-01-26 13:14:19 +00:00
Badlop
a5e4f34dbb
Fix documentation installation, no need for executable permission (thanks to Peter)(EJAB-1170)
...
SVN Revision: 2923
2010-01-25 18:27:24 +00:00
Badlop
1c9760f6d2
Fix typo in EJABBERD_BIN_PATH (thanks to Martin Langhoff)(EJAB-891)
...
SVN Revision: 2922
2010-01-25 18:24:59 +00:00
Badlop
2b1ea7d85b
Ignore in SVN also epam binary, and Makefile of pam and odbc subdirectories.
...
SVN Revision: 2921
2010-01-22 18:55:39 +00:00
Badlop
1677603e59
Ignore in SVN the file stun/Makefile
...
SVN Revision: 2920
2010-01-22 14:22:50 +00:00
Badlop
a95286d511
Recompile the configure script and the Guide.
...
SVN Revision: 2919
2010-01-22 11:30:31 +00:00
Badlop
6e18e292f3
Degrade trunk to prealpha, and show a warning in configure script.
...
SVN Revision: 2918
2010-01-22 11:27:32 +00:00
Badlop
114dd4d9e7
Support in ejabberdctl help command names with old - characters.
...
SVN Revision: 2917
2010-01-20 10:32:56 +00:00
Badlop
0495112aab
Close sessions that were half connected (thanks to Alexey Shchepin)(EJAB-1165)
...
SVN Revision: 2912
2010-01-17 19:29:35 +00:00
Badlop
f3483529a7
Fix some moved URLs in the Guide
...
SVN Revision: 2910
2010-01-16 14:35:23 +00:00
Badlop
ffc4f3dc48
Document the option route_subdomains in the Guide (EJAB-1164)
...
SVN Revision: 2909
2010-01-16 14:35:19 +00:00
Badlop
a9fba750fa
Improve functions calls when closing client connection.
...
SVN Revision: 2905
2010-01-15 12:02:15 +00:00
Christophe Romain
13220d44f4
improve delete_subscriptions code
...
SVN Revision: 2903
2010-01-14 12:56:40 +00:00
Christophe Romain
0c9e0168d5
fix binary conversion of ServerHost in presence/2
...
SVN Revision: 2901
2010-01-13 14:53:05 +00:00
Christophe Romain
db4fe25274
add send_loop robustness
...
SVN Revision: 2900
2010-01-13 10:25:06 +00:00
Badlop
e948aafeca
If big offline message queue, show only subset on WebAdmin (EJAB-1095)
...
SVN Revision: 2898
2010-01-13 00:00:34 +00:00
Badlop
4639c0faf0
Fix explanation of access_max_user_messages.
...
SVN Revision: 2897
2010-01-13 00:00:11 +00:00
Badlop
82cd0adb79
Check for Effective GID EGID in ejabberdctl (thanks to Rustam Aliyev)(EJAB-1160)
...
SVN Revision: 2894
2010-01-12 18:13:30 +00:00
Badlop
1bcd481fdc
Update year of ProcessOne copyright from 2009 to 2010 (EJAB-1159)
...
SVN Revision: 2892
2010-01-12 16:15:16 +00:00
Badlop
768ea20a3a
Require exmpp 0.9.2
...
SVN Revision: 2890
2010-01-12 15:55:31 +00:00
Christophe Romain
bb1ab19997
avoid calling gen_server on internal events (EJAB-1156)
...
SVN Revision: 2887
2010-01-12 15:14:57 +00:00
Christophe Romain
dd159242e3
allow unsubscribe with 'all' SubId, as mod_pubsub already does
...
SVN Revision: 2885
2010-01-12 14:42:23 +00:00
Christophe Romain
f8886ee36c
fix NodeName issue from r2880 (thanks to Karim Gemayel)
...
SVN Revision: 2883
2010-01-12 13:30:49 +00:00
Christophe Romain
67af2908f9
fix headers (EJAB-1091), (EJAB-1092), (EJAB-1093) (thanks to Karim Gemayel)
...
SVN Revision: 2881
2010-01-12 12:34:02 +00:00
Badlop
9df6e1fe0a
Support in user list page of WebAdmin when mod_offline is disabled (EJAB-377)
...
SVN Revision: 2878
2010-01-12 12:06:43 +00:00
Badlop
a658348ac1
Show and throw error when captcha_cmd is required but not configured.
...
SVN Revision: 2875
2010-01-11 22:22:04 +00:00
Badlop
75ca3d8975
Minor case code simplification.
...
SVN Revision: 2873
2010-01-09 18:39:17 +00:00
Mickaël Rémond
b431a9099e
jlib:make_jid/3 does not exist anymore. I think I replaced it correctly by exmpp_jid:make/3
...
SVN Revision: 2872
2010-01-09 16:44:33 +00:00
Mickaël Rémond
7ed6614ad4
Added a comment to improve code as suggested by Dialyzer.
...
SVN Revision: 2871
2010-01-09 16:38:07 +00:00
Mickaël Rémond
4fba4db32f
Match Erlang typing documentation, to remove dialyzer warning. Code was working fine however.
...
SVN Revision: 2870
2010-01-09 16:31:45 +00:00
Mickaël Rémond
a0554183c5
Attempt to fix dialyzer warning: adhoc.erl:51: Guard test XData::'false' | #xmlel{ns::'jabber:x:data',declared_ns::[{_,_}],attrs::[{_,_,_,_}],children::'undefined' | [{_,_} | {_,_,_,_,_,_}]} =:= 'true' can never succeed
...
SVN Revision: 2869
2010-01-09 16:18:59 +00:00
Mickaël Rémond
b1ad7ad0ba
Fix typo in comment.
...
SVN Revision: 2868
2010-01-09 15:19:48 +00:00
Mickaël Rémond
0537eea929
Small refactoring
...
SVN Revision: 2867
2010-01-09 15:15:46 +00:00
Badlop
cfc9089e51
An AccessCommand with Access 'all', don't require auth to execute it.
...
SVN Revision: 2866
2010-01-09 00:48:03 +00:00
Badlop
bb926f8f87
Remove doc/api directory because its content is now in doc/devdoc.
...
SVN Revision: 2864
2010-01-07 20:13:03 +00:00
Badlop
c2f242b4a6
Fix so script runs correctly when invoked by root (EJAB-1152)
...
SVN Revision: 2863
2010-01-05 20:31:19 +00:00
Badlop
3f1c8f98ed
Show the last activity time in the user page.
...
SVN Revision: 2861
2010-01-04 20:39:01 +00:00
Badlop
7a3ce2e81a
Command to stop ejabberd informing users, with grace period, and kindly (EJAB-1112)
...
SVN Revision: 2860
2010-01-04 20:35:47 +00:00
Badlop
8c0cc95a55
When ejabberd stops, send stream close to clients (thanks to Alexey Shchepin)(EJAB-1112)
...
SVN Revision: 2859
2010-01-04 20:32:44 +00:00
Badlop
38dfef923c
Improve parsing of ejabberd_sm:get_user_info result.
...
SVN Revision: 2858
2010-01-04 19:03:36 +00:00
Christophe Romain
89bceb959a
add explicit comment on last published items configuration (EJAB-1130)
...
SVN Revision: 2856
2010-01-04 11:50:08 +00:00
Badlop
8deb2b57af
Improve log message when showing lines of config file.
...
SVN Revision: 2851
2009-12-30 01:39:02 +00:00
Badlop
60915a7f21
Kick occupants with reason when room is stopped due to MUC shutdown (EJAB-1149)
...
SVN Revision: 2849
2009-12-30 01:29:02 +00:00
Badlop
69869f0446
Fix warning about unused variable
...
SVN Revision: 2847
2009-12-29 23:13:15 +00:00
Badlop
1eb2b1f047
If problem in config file starting ejabberd: display config lines and stop node (EJAB-1148)
...
SVN Revision: 2845
2009-12-29 22:49:16 +00:00
Badlop
a89b400c04
Add +export_all to EFLAGS if: make debug=true (thanks to Marcin Owsiany)(EJAB-1134)
...
SVN Revision: 2843
2009-12-29 19:15:59 +00:00
Badlop
6f3aeead07
Support also SASL PLAIN auth messages described in RFC4616 (EJAB-1132)
...
SVN Revision: 2841
2009-12-29 18:45:02 +00:00
Badlop
3da20486c1
Disable code of recent commit because some clients can't handle it (EJAB-1058)
...
SVN Revision: 2840
2009-12-29 18:44:48 +00:00
Badlop
d911cd1124
Write in room log when a room is created, destroyed, started, stopped (EJAB-1144)
...
SVN Revision: 2837
2009-12-29 14:44:12 +00:00
Badlop
a7bd529dac
Send features after negotiating binding and session (EJAB-1058)
...
SVN Revision: 2835
2009-12-28 20:10:18 +00:00
Badlop
857c87499a
Fix bug of unbound variable Attrs in the previous commit.
...
SVN Revision: 2833
2009-12-28 18:47:14 +00:00
Badlop
381dff1afc
Provide more detailed log message when s2s stream start fails.
...
SVN Revision: 2832
2009-12-28 15:31:18 +00:00
Badlop
378a6b2ff2
Better use install_fallback when importing a Mnesia backup file.
...
SVN Revision: 2830
2009-12-28 12:44:07 +00:00
Badlop
5b782ad5a1
Support for arguments in ejabberdctl that are empty strings.
...
SVN Revision: 2828
2009-12-28 11:46:22 +00:00
Badlop
93ed18c2e2
Add explanation about global Access precendence over vhost Access (EJAB-803)
...
SVN Revision: 2826
2009-12-23 16:09:47 +00:00
Badlop
95e96cc346
Fix error message when register is forbidden by ACL (EJAB-803)
...
SVN Revision: 2825
2009-12-23 16:09:33 +00:00
Badlop
0e2cd7a8d0
Clarify that 'tls' option is still useful in ejabberd_http for HTTPS.
...
SVN Revision: 2820
2009-12-23 09:05:02 +00:00
Badlop
332b474a9e
Remove the old note about LDAP lack of encryption.
...
SVN Revision: 2818
2009-12-21 16:11:18 +00:00
Badlop
7434234c27
pep_mapping not working due to Node type mismatch (EJAB-1135)
...
SVN Revision: 2816
2009-12-21 15:20:27 +00:00
Badlop
848e72bcab
Fix EDoc comment
...
SVN Revision: 2813
2009-12-21 14:31:10 +00:00
Badlop
eb26edf5f5
Fix get_group_opt to return Default value in case of Mnesia error.
...
SVN Revision: 2812
2009-12-19 00:19:26 +00:00
Badlop
440299656f
Print command's reply and newline only when there's something to print.
...
SVN Revision: 2807
2009-12-11 20:08:06 +00:00
Badlop
4ac69edfe7
Added to ejabberdctl an experimental variable EJABBERD_BYPASS_WARNINGS
...
SVN Revision: 2805
2009-12-11 19:43:57 +00:00
Badlop
9ccdcfc849
Add support for serving a Unique Room Name (thanks to Pablo Polvorin)(EJAB-1121)
...
SVN Revision: 2803
2009-12-11 12:32:40 +00:00
Badlop
514d5aab14
Show Last Activity menu item in Webadmin only if vhost has mod_last (EJAB-1031)
...
SVN Revision: 2801
2009-12-09 17:48:03 +00:00
Badlop
2a09bdad13
Call in WebAdmin the proper mod_last backend module (EJAB-1031)
...
SVN Revision: 2800
2009-12-09 17:47:50 +00:00
Badlop
dfa966a576
Fix erl -setcookie argument in cluster setup (thanks to Jan Koum)
...
SVN Revision: 2797
2009-12-09 10:09:57 +00:00
Pablo Polvorin
573ff2564b
Remove usage of #jid record introduced in 2787.
...
Replace explicit references to #jid with exmpp_jid API calls.
SVN Revision: 2794
2009-12-08 18:59:00 +00:00
Badlop
929022bc0f
Apply a forgotten part of the original patch (EJAB-1119)
...
SVN Revision: 2793
2009-12-08 17:33:30 +00:00
Badlop
21a36819b0
Fix memory and port leak when TLS is enabled in HTTP (thanks to Brian Cully)(EJAB-1119)
...
SVN Revision: 2791
2009-12-07 17:34:52 +00:00
Badlop
efd99f5b28
Add notices about MIT license and copyright to escobar_hiliter.erl
...
SVN Revision: 2788
2009-12-07 15:50:08 +00:00
Christophe Romain
913684e5a5
prevent sending duplicated last items if several resources online (EJAB-1116)
...
SVN Revision: 2787
2009-12-06 23:21:03 +00:00
Badlop
40e06b55c0
Typo in mod_pubsub_odbc breaks Service Discovery and more (EJAB-1115)
...
SVN Revision: 2785
2009-12-04 18:36:07 +00:00
Badlop
182f4b008b
Call ejabberd_router:route/3 instead of sending a message (EJAB-1114)
...
SVN Revision: 2783
2009-12-04 16:32:20 +00:00
Badlop
c3df4f3eb0
Small relax the limitation in the mod_pubsub_odbc host option.
...
SVN Revision: 2780
2009-12-04 16:07:43 +00:00
Badlop
2c1b8b0930
Merge from 2.1.x 2498: added mod_pubsub_odbc documentation
...
SVN Revision: 2779
2009-12-03 22:58:49 +00:00
Badlop
3cca748bd5
Explain limitation in the mod_pubsub_odbc host option.
...
SVN Revision: 2778
2009-12-03 22:58:30 +00:00
Badlop
2a05ca5f2b
Use os:getenv to get HOME; if variable is undefined use default values.
...
SVN Revision: 2772
2009-12-03 15:58:19 +00:00
Badlop
3173d9167f
Forward IQ vCard queries of room occupants to bare JID, not full (EJAB-1045)
...
SVN Revision: 2770
2009-12-01 20:02:16 +00:00
Badlop
f7b5afec51
Don't handle internally an IQ vCard if destination is full JID (EJAB-1045)
...
SVN Revision: 2769
2009-12-01 20:02:00 +00:00
Badlop
bc355eebaa
Fix call to get_module_proc with binary.
...
SVN Revision: 2765
2009-11-30 13:08:37 +00:00
Badlop
78f9586839
Fix call to hook management in mod_caps start/stop
...
SVN Revision: 2764
2009-11-30 12:55:35 +00:00
Badlop
040892d1a2
Remove all references to unused library: expat (EJAB-1111)
...
SVN Revision: 2763
2009-11-30 12:32:14 +00:00
Badlop
71cd4917d8
Move get_group_name outside the loop (thanks to mikekaganski)
...
SVN Revision: 2761
2009-11-26 14:45:39 +00:00
Badlop
b989297725
Fix problem of authentication when using plain from SVN r2575 (EJAB-936)
...
SVN Revision: 2759
2009-11-24 21:40:50 +00:00
Badlop
cf6d842d45
Fix warning
...
SVN Revision: 2758
2009-11-24 15:22:06 +00:00
Badlop
733e84a4a8
Fix exmpp_stanza:get_sender return value.
...
SVN Revision: 2757
2009-11-24 11:56:26 +00:00
Badlop
9ac9a84ca7
Fix explanation of option content_types. Reorder options.
...
SVN Revision: 2756
2009-11-23 20:28:53 +00:00
Badlop
4f369d048d
Generate main XML file also when exporting only a vhost (EJAB-1098)
...
SVN Revision: 2754
2009-11-23 18:35:11 +00:00
Badlop
c1a7e30f12
Show informative webpage when browsing the HTTP-Poll page (EJAB-1106)
...
SVN Revision: 2752
2009-11-23 15:22:45 +00:00
Badlop
4dcfde7737
Change captcha.sh to not depend on bash (thanks to Konstantin Khomoutov)(EJAB-1105)
...
SVN Revision: 2750
2009-11-23 12:43:56 +00:00
Badlop
0838514c27
Option to define custom HTTP headers in mod_http_fileserver (EJAB-612)
...
SVN Revision: 2748
2009-11-23 12:13:26 +00:00
Badlop
29f3ef4716
Explain that the example captcha.sh requires Bash because uses RANDOM feature.
...
SVN Revision: 2746
2009-11-17 15:49:54 +00:00
Badlop
a8e5437271
Include IP address, time and module in IBR admin message (thanks to Tsukasa Hamano)
...
SVN Revision: 2743
2009-11-17 11:14:00 +00:00
Badlop
a363d988a7
The default value of option ldap_filter is: undefined.
...
SVN Revision: 2742
2009-11-13 20:17:54 +00:00
Badlop
e1968b6b52
Copied Release Notes from 2.1.0 tag
...
SVN Revision: 2740
2009-11-13 20:07:03 +00:00
Evgeniy Khramtsov
99a6f12026
fixes allow_host/2 on subdomains. added hook s2s_allow_host: the hook should return deny or allow
...
SVN Revision: 2739
2009-11-13 16:22:54 +00:00
Badlop
eca650efac
Fix bug that forgot listener options when using R12 or older.
...
SVN Revision: 2736
2009-11-06 18:33:37 +00:00
Christophe Romain
bde4b7b057
minor bug fixes related to the use/conversion of/to exmpp (thanks to Karim Gemayel)
...
SVN Revision: 2733
2009-11-06 14:36:41 +00:00
Christophe Romain
a1e9b55ead
minor bug fixes related to the use/conversion of/to exmpp (thanks to Karim Gemayel)
...
SVN Revision: 2732
2009-11-06 14:34:23 +00:00
Christophe Romain
1c4cc57e3f
fix root node deletion match
...
SVN Revision: 2730
2009-11-05 17:36:54 +00:00
Badlop
26cd3a78d2
Fix ProcessOne name in comments.
...
SVN Revision: 2728
2009-11-04 20:19:38 +00:00
Badlop
3ed3c94a15
Extend explanation of ldap_encrypt tls (thanks to Konstantin Khomoutov)
...
SVN Revision: 2727
2009-11-04 20:18:23 +00:00
Badlop
ff338a0a62
Fix disco on root node, add commands to disco (thanks to Brian Cully)(EJAB-1094)
...
SVN Revision: 2726
2009-11-04 20:17:08 +00:00
Badlop
5138a9709e
Send authorization messages outside of get-pending transaction (thanks to Brian Cully)(EJAB-1090)
...
SVN Revision: 2725
2009-11-04 20:16:05 +00:00
Badlop
ae93cf2c28
Send authorization messages outside of get-pending transaction (thanks to Brian Cully)(EJAB-1090)
...
SVN Revision: 2720
2009-11-04 17:40:39 +00:00
Badlop
1c2d639179
Fix small typo (thanks to MiCHi)
...
SVN Revision: 2716
2009-10-29 12:41:51 +00:00
Christophe Romain
2078f9ae95
typo fix on mod_pubsub and improve ejabberd_sm:get_session_pid api
...
SVN Revision: 2715
2009-10-27 14:40:01 +00:00
Christophe Romain
1fea1e3f4e
minor bugfix, thanks to brian Cully (EJAB-1089)
...
SVN Revision: 2714
2009-10-27 14:30:00 +00:00
Christophe Romain
b2bd51d3e3
fix disco bugs, thanks to Brian Cully (EJAB-1088)
...
SVN Revision: 2712
2009-10-27 14:24:33 +00:00
Badlop
80a7f5123d
Update ejabberd-p1 logo
...
SVN Revision: 2709
2009-10-26 18:30:53 +00:00
Badlop
8746175f1d
Better detection of ejabberd modules. Support down to Graphviz 2.8. Fix APP colours.
...
SVN Revision: 2708
2009-10-26 18:30:38 +00:00
Badlop
236d8fa254
Update overview.edoc
...
SVN Revision: 2706
2009-10-23 15:14:39 +00:00
Badlop
3872907f38
Fix EDoc errors
...
SVN Revision: 2705
2009-10-23 15:14:25 +00:00
Badlop
98f79f0c47
Add devdoc support to Makefiles
...
SVN Revision: 2704
2009-10-23 15:14:08 +00:00
Badlop
795992fb30
Update stylesheet
...
SVN Revision: 2703
2009-10-23 15:13:48 +00:00
Badlop
96504ffd88
Add images for ejabberd devdoc.
...
SVN Revision: 2702
2009-10-23 15:13:28 +00:00
Badlop
5e7b217d6c
Add funrelg: draw a function relation graph from source code using Graphviz.
...
SVN Revision: 2701
2009-10-23 15:13:11 +00:00
Badlop
f07513c74b
Add escobar_run, a small frontend to call escobar_hilite.
...
SVN Revision: 2700
2009-10-23 15:12:48 +00:00
Badlop
22fffb32ca
Customize escobar_hilite.erl for ejabberd purposes.
...
SVN Revision: 2699
2009-10-23 15:12:32 +00:00
Badlop
abcb3f22a8
Add escobar_hilite.erl and escobar.css.
...
SVN Revision: 2698
2009-10-23 15:12:16 +00:00
Badlop
f7a5689c45
Move overview.edoc to src/ dir.
...
SVN Revision: 2697
2009-10-23 15:12:01 +00:00
Badlop
bebc5a137a
Rename directory doc/api to doc/devdoc
...
SVN Revision: 2696
2009-10-23 15:11:43 +00:00
Badlop
5625f7d984
Fix mistake that disallowed s2s_out connections when using Erlang R12 or older.
...
SVN Revision: 2695
2009-10-22 14:44:00 +00:00
Badlop
c889491e2f
The road-to-exmpp branch now becomes trunk.
...
SVN Revision: 2693
2009-10-21 12:58:55 +00:00
Christophe Romain
cd09381efd
update pubsub patch
...
SVN Revision: 2691
2009-10-21 08:31:51 +00:00
Pablo Polvorin
306cff729c
Merge with trunk #2687 (EJAB-667) (untested)
...
SVN Revision: 2690
2009-10-20 22:09:43 +00:00
Badlop
4083267cc9
Mention the change in nodename slash separation in release notes.
...
SVN Revision: 2689
2009-10-20 15:39:57 +00:00
Badlop
12573ed8d2
Body tag not properly closed in HTTP-Bind (thanks to Janusz Dziemidowicz)(EJAB-1075)
...
SVN Revision: 2686
2009-10-20 09:56:51 +00:00
Badlop
6b4651fad6
In default config, only local accounts can create rooms and pubsub nodes.
...
SVN Revision: 2684
2009-10-19 17:05:13 +00:00
Badlop
0095f4fbf9
Provide send_timeout_close option in TCP only in R13B or higher (EJAB-926)
...
SVN Revision: 2682
2009-10-19 14:53:39 +00:00
Badlop
372658d299
Merged from trunk SVN r2671:
...
Support gen_tcp send timeout: Close the connection if the other end has disconnected ungracefully or cannot keep up with the rate at which we are sending data (EJAB-926)
SVN Revision: 2681
2009-10-19 14:53:21 +00:00
Badlop
227514c20c
Support ejabberd_listener option 'backlog' to increase TCP backlog (thanks to Janusz Dziemidowicz)(EJAB-1063)
...
SVN Revision: 2679
2009-10-19 13:24:13 +00:00
Badlop
9a6c869cb8
Fix word Sensible with Sensitive (thanks to Marcin Owsiany)(EJAB-1071)
...
SVN Revision: 2676
2009-10-19 10:50:00 +00:00
Badlop
dce7b1430b
Start mnesia as a permanent application (thanks to Brian Cully)(EJAB-1068)
...
SVN Revision: 2674
2009-10-19 10:42:19 +00:00
Badlop
162fbc2ef8
Small fix in RSM decoding (thanks to Alexander Tsvyashchenko)(EJAB-1066)
...
SVN Revision: 2670
2009-10-15 22:46:50 +00:00
Badlop
13b8940606
Fixed more gcc signedness warnings
...
SVN Revision: 2669
2009-10-13 22:31:06 +00:00
Badlop
f1b9f1fb63
Fix EDoc compilation errors.
...
SVN Revision: 2667
2009-10-13 21:36:32 +00:00
Christophe Romain
861cc87272
prevent remove_user from blocking gen_server, and allow plugin to change broadcasted payload on publish
...
SVN Revision: 2665
2009-10-13 16:42:13 +00:00
Badlop
e5fb89731c
If s2s fails due to namespace mismatch, show differences to help debugging the problem.
...
SVN Revision: 2663
2009-10-12 22:51:53 +00:00
Christophe Romain
2565a670b1
fix get_item issue on authorize access model (thanks to brian cully) (EJAB-1060)
...
SVN Revision: 2661
2009-10-12 15:25:00 +00:00
Badlop
74cd5ffb02
Autodetect compilation parameters for Mac OS X Snow Leopard (EJAB-1056)
...
SVN Revision: 2659
2009-10-12 12:59:07 +00:00
Christophe Romain
c3303ce364
return invalid-options on badly formed subscription options
...
SVN Revision: 2657
2009-10-12 10:23:51 +00:00
Christophe Romain
2042ab090d
Default pubsub messages to headline if nothing is configured (thanks to Brian Cully) (EJAB-1061)
...
SVN Revision: 2655
2009-10-12 09:06:37 +00:00
Badlop
13a231f6fa
Add debug message on command execution
...
Merged from trunk@2650.
SVN Revision: 2653
2009-10-09 12:01:43 +00:00
Badlop
503defac73
Fix regression for authorize node subscription (thanks to Brian Cully)(EJAB-1060)
...
SVN Revision: 2652
2009-10-09 12:01:30 +00:00
Badlop
2d41c81890
Document new option max_fsm_queue.
...
SVN Revision: 2649
2009-10-08 14:34:32 +00:00
Badlop
036095f37d
New option added: max_fsm_queue. Removed hardcoded FSMLIMITS. (thanks to Evgeniy Khramtsov)
...
Merged from trunk@2645
SVN Revision: 2647
2009-10-08 11:33:32 +00:00
Badlop
a2bb22a0e7
Use queue to reduced quadratic time effort on selective receive (thanks to Alexey Shchepin)
...
Merged from trunk@2644
SVN Revision: 2646
2009-10-08 11:33:18 +00:00
Christophe Romain
65926460b2
allow max_items_node use on pep
...
SVN Revision: 2643
2009-10-06 15:22:02 +00:00
Badlop
f4e35033e7
Improve stream error stanza when receives invalid handshake from component.
...
SVN Revision: 2641
2009-10-06 10:05:10 +00:00
Badlop
75793f7cf4
New CAPTCHA script since previous one has been broken (thanks to Evgeniy Khramtsov)(merged from trunk@2631)
...
SVN Revision: 2639
2009-10-02 15:04:16 +00:00
Mickaël Rémond
e36c530732
Describe how to compile ejabberd on Mac OS X Snow Leopard with Erlang R13B-2
...
SVN Revision: 2637
2009-09-27 14:31:52 +00:00
Christophe Romain
53edf861e0
do not create hometree base when hometree not configured as plugin
...
SVN Revision: 2635
2009-09-25 13:14:59 +00:00
Christophe Romain
24afead423
fix EJAB-1054 (thanks to Evgeniy Khramtsov)
...
SVN Revision: 2633
2009-09-25 12:48:10 +00:00
Christophe Romain
2f5211ab74
improve waiting caps clean (EJAB-1054)
...
SVN Revision: 2629
2009-09-24 19:52:46 +00:00
Christophe Romain
b168cd7cf2
fix EJAB-1044 and EJAB-1055
...
SVN Revision: 2628
2009-09-24 19:47:01 +00:00
Badlop
667fc07ec6
Recomppile guide.
...
SVN Revision: 2624
2009-09-24 13:36:48 +00:00
Christophe Romain
e5a26b388f
rename pep_sendlast_offline option to ignore_pep_from_offline (EJAB-1047)
...
SVN Revision: 2623
2009-09-23 22:00:53 +00:00
Christophe Romain
479b04a6a3
fix Makefile.win32 for including stun (thanks to neustradamus)
...
SVN Revision: 2620
2009-09-23 21:12:44 +00:00
Badlop
b12b18d59f
Fix wrong XEP number to XEP-0227
...
SVN Revision: 2618
2009-09-23 17:27:09 +00:00
Christophe Romain
b3955fca3a
fix EJAB-1048 and EJAB-819, thanks to badlop
...
SVN Revision: 2616
2009-09-23 16:32:06 +00:00
Badlop
bac5c30380
Replace several mentions of Jabber to XMPP (thanks to Nicolas Vérité)
...
SVN Revision: 2614
2009-09-23 15:29:34 +00:00
Mickaël Rémond
4ce2890af0
Replaced Jabber references in config file with XMPP, official name of the protocol
...
SVN Revision: 2612
2009-09-23 12:37:58 +00:00
Badlop
169a0471b9
Document more ejabberd commands in the Guide (EJAB-1041)
...
SVN Revision: 2609
2009-09-21 10:14:06 +00:00
Christophe Romain
6bdf4aa960
improve configure parsing in iq_pubsub (sync with ejabberd 2.1.0)
...
SVN Revision: 2605
2009-09-20 08:14:24 +00:00
Christophe Romain
36676f0719
fix missing member affiliation on odbc plugin
...
SVN Revision: 2604
2009-09-18 13:44:12 +00:00
Christophe Romain
bb1fca058d
Return terminal binding condition on max stanza size limit (thanks to Aleksey)
...
SVN Revision: 2602
2009-09-18 13:33:12 +00:00
Jérôme Sautret
b4c161e04a
Merge r2592 and r2593 from trunk:
...
Fix pubsub tables constraints in MySQL schema creation script.
Add a "created_at" column to some tables in the MySQL schema to store
a timestamp (thanks to Pedro Melo, EJAB-376).
SVN Revision: 2594
2009-09-10 16:59:58 +00:00
Christophe Romain
376741c9a1
fix delete item to allow owner being able to remove all publisher items, and also fix EJAB-1036
...
SVN Revision: 2591
2009-09-09 21:49:23 +00:00
Badlop
04e86829e3
Change some error messages.
...
SVN Revision: 2588
2009-09-07 14:31:34 +00:00
Christophe Romain
75dbcd5c68
fix minor timestamp shift between item creation and modification
...
SVN Revision: 2586
2009-09-04 23:34:05 +00:00
Pablo Polvorin
283aa52b31
Port #2583 from trunk
...
Use the local (target) domain for firing the s2s_receive_packet hook.
It was using the external server domain (LFrom) instead of the local domain (LTo).
This might have impact on mod_caps in s2s scenarios, needs further attention.
SVN Revision: 2584
2009-09-04 21:33:30 +00:00
Badlop
29b2da42f5
Replace calls from 'regexp' to the OTP R12 new module 're' (EJAB-921)
...
SVN Revision: 2582
2009-09-02 14:26:01 +00:00
Badlop
330a4c9452
Small fix exmpp related code
...
SVN Revision: 2581
2009-09-02 14:25:42 +00:00
Christophe Romain
fa23b83dbb
improve previous patch
...
SVN Revision: 2579
2009-09-01 13:23:19 +00:00
Badlop
81f4644622
Fix missing tag when configuring subscription option (thanks to Clochix)
...
SVN Revision: 2577
2009-09-01 08:19:14 +00:00
Badlop
095cd6ce9b
BOSH module optimization and clean-up (thanks to Aleksey Shchepin and Mickaël Rémond)(EJAB-936)
...
Unfortunately, http-bind doesn't work in this branch,
neither in this commit or before it.
SVN Revision: 2575
2009-08-31 18:40:25 +00:00
Badlop
f5eb9e3c9f
Support zlib compression after STARTTLS (thanks to Aleksey Shchepin)(EJAB-499)
...
Unfortunately, zlib compression doesn't work in this branch,
neither in this commit or before it.
SVN Revision: 2572
2009-08-31 16:30:19 +00:00
Badlop
98f93104a7
Rename erlang log file sasl.log to erlang.log (EJAB-783)
...
SVN Revision: 2568
2009-08-31 11:03:35 +00:00
Christophe Romain
3940a6bab3
secure calls to ets:lookup
...
SVN Revision: 2564
2009-08-28 16:28:22 +00:00
Christophe Romain
de78508f45
fix send last item issue
...
SVN Revision: 2561
2009-08-28 00:09:21 +00:00
Christophe Romain
fab29f4cf0
port all recent fixes from trunk related to odbc subscriptions
...
SVN Revision: 2559
2009-08-27 23:09:20 +00:00
Christophe Romain
adfca08e43
remove INFO_MSG call inside sql_query_internal
...
SVN Revision: 2557
2009-08-27 22:30:57 +00:00
Christophe Romain
35e8b95928
added pubsub odbc tables creation
...
SVN Revision: 2550
2009-08-27 09:49:37 +00:00
Christophe Romain
f5091aa1ae
pubsub now is sync with last trunk
...
SVN Revision: 2546
2009-08-27 08:48:21 +00:00
Christophe Romain
bb08207569
fix node_public portage
...
SVN Revision: 2545
2009-08-27 08:34:16 +00:00
Christophe Romain
71e0d7d8e2
port commit from r2527 to odbc plugin
...
SVN Revision: 2544
2009-08-27 08:26:22 +00:00
Christophe Romain
3b27670d4d
update win32 makefile
...
SVN Revision: 2542
2009-08-27 07:55:45 +00:00
Pablo Polvorin
944dd1cc7f
Port pubsub odbc backend to exmpp.
...
Warning: A work in progress, isn't working yet!
SVN Revision: 2541
2009-08-26 20:27:57 +00:00
Evgeniy Khramtsov
ba3a45452e
check if a room is not persistent before starting a new one with the same name (EJAB-1026)
...
SVN Revision: 2540
2009-08-26 04:18:42 +00:00
Pablo Polvorin
f7c5a4a15b
backport trunk commit r2530
...
SVN Revision: 2538
2009-08-25 20:33:01 +00:00
Pablo Polvorin
4d5bfe2ee8
Fix pubsub_publish_item_ hook call parameter and jid conversion on node_hometree.
...
published messages are delivered to subscribers (flat nodes).
SVN Revision: 2537
2009-08-25 20:03:28 +00:00
Pablo Polvorin
a1a6469ed0
Updated to trunk r2532, fix subscription managment (by owner)
...
SVN Revision: 2536
2009-08-25 19:54:44 +00:00
Pablo Polvorin
fcf66c2e75
Fix affiliation managment
...
Node owner can add/remove affiliations
SVN Revision: 2535
2009-08-25 17:42:25 +00:00
Pablo Polvorin
b4f0bb65c6
Fix disco#items on pubsub nodes
...
SVN Revision: 2534
2009-08-25 17:23:43 +00:00
Pablo Polvorin
938a4007b3
Initial port of pubsub changes(up to r2444) to exmpp branch.
...
pubsub odbc isn't ported yet.
Not tested (only basic node creation and configuration), should still have losts of bugs to discover.
SVN Revision: 2533
2009-08-25 17:14:30 +00:00
Badlop
6470e6cc25
Write PID file, path is configurable in ejabberdctl.cfg (EJAB-1023)
...
SVN Revision: 2527
2009-08-24 21:21:39 +00:00
Badlop
9769a17866
Document that the admin can install ejabberd.init script (EJAB-755)
...
SVN Revision: 2525
2009-08-24 19:59:44 +00:00
Badlop
19355e947e
Prepare ejabberd.init when installing ejabberd.
...
SVN Revision: 2524
2009-08-24 19:59:30 +00:00
Badlop
d9a8c89b5a
Added preliminary template file for ejabberd.init (thanks to Christophe Romain)
...
SVN Revision: 2523
2009-08-24 19:59:17 +00:00
Evgeniy Khramtsov
6688b4ea78
do not include MAPPED-ADDRESS in new style responses since it is not required by the RFC
...
SVN Revision: 2515
2009-08-21 06:07:55 +00:00
Badlop
d05565c6e0
Show example config to disable account create/delete, and allow password change.
...
SVN Revision: 2513
2009-08-20 21:45:15 +00:00
Badlop
ec26a28cd2
Merge 2427 from trunk: return timeout in requests if DB connection can't be established
...
SVN Revision: 2511
2009-08-20 17:37:37 +00:00
Badlop
05755b9b09
Merge some old English fixes from trunk SVN.
...
SVN Revision: 2505
2009-08-19 17:59:49 +00:00
Badlop
007cafa7cd
Fix EDoc errors.
...
SVN Revision: 2495
2009-08-17 17:17:34 +00:00
Badlop
a9ce2fc38a
Display room service messages in distintive blue colour.
...
SVN Revision: 2492
2009-08-15 22:03:14 +00:00
Badlop
0175932d86
Update Ingoing s2s connections inner state to hold domain name (thanks to Juan Pablo Carlino)(EJAB-972)
...
SVN Revision: 2490
2009-08-15 21:39:41 +00:00
Badlop
26cdea53c7
Don't allow room config to enable password protection with empty password (EJAB-1011)
...
SVN Revision: 2488
2009-08-15 20:11:24 +00:00
Badlop
e585b07d76
If room config violates service policy, return not-acceptable instead of bad-request.
...
SVN Revision: 2487
2009-08-15 20:11:10 +00:00
Badlop
6eb5b544b4
Remove workarounds that supported R11 or older (EJAB-446)(EJAB-628)(EJAB-997)
...
SVN Revision: 2486
2009-08-15 20:10:49 +00:00
Evgeniy Khramtsov
9c0495b563
removed unnecessary gen_server call
...
SVN Revision: 2477
2009-08-13 10:02:04 +00:00
Badlop
2c25db28c4
Describe the options syntax, not only the name (EJAB-998)
...
SVN Revision: 2473
2009-08-12 14:18:47 +00:00
Badlop
14464ab6cc
Add support in WebAdmin for the new listener network protocol
...
SVN Revision: 2464
2009-08-11 18:24:12 +00:00
Badlop
a4b2d032f9
Add stun directory to compilation process
...
SVN Revision: 2463
2009-08-11 18:23:54 +00:00
Badlop
3078c28d1a
Document STUN server (thanks to Evgeniy Khramtsov), and minor doc enhancements.
...
* Add stun listener to example config file, disabled.
* Improve enumeration of listeners options
SVN Revision: 2460
2009-08-11 13:22:39 +00:00
Evgeniy Khramtsov
cf90c8176e
updated top supervisor for STUN support
...
SVN Revision: 2459
2009-08-11 13:17:46 +00:00
Evgeniy Khramtsov
0a8bcf6530
restore missing stun directory
...
SVN Revision: 2458
2009-08-11 12:54:40 +00:00
Evgeniy Khramtsov
bf0dbeb8b3
STUN support backport
...
SVN Revision: 2457
2009-08-11 12:53:46 +00:00
Badlop
b453ee5e1f
Update URLs of IETF and XMPP protocol documents
...
SVN Revision: 2456
2009-08-11 11:49:54 +00:00
Badlop
2e8fe6a1ab
Add ejabberd command to get the current loglevel (EJAB-1004)
...
SVN Revision: 2449
2009-08-07 14:56:12 +00:00
Badlop
e0be566491
ejabberdctl commands use _ instead of -. For backwards compatibility - is still supported.
...
SVN Revision: 2448
2009-08-07 14:55:08 +00:00
Badlop
936b2d4188
Merge 2426 from trunk: add get/0 API function that returns current log level (EJAB-1004).
...
SVN Revision: 2436
2009-08-06 22:01:01 +00:00
Badlop
9a204593e1
Merge 2425 from trunk: fix keepalive query, broken by r2092.
...
SVN Revision: 2435
2009-08-06 21:57:53 +00:00
Badlop
6aa4bb9f08
Merge 2422, 2423: cosmetic change, fix shell function syntax (EJAB-1003), use variable for Erlang shell.
...
SVN Revision: 2434
2009-08-06 21:54:10 +00:00
Badlop
562e63a3b0
Fix argument passing
...
SVN Revision: 2433
2009-08-06 21:15:15 +00:00
Badlop
663e29af89
Document options for Roster Versioning (EJAB-964)
...
SVN Revision: 2432
2009-08-06 21:07:23 +00:00
Badlop
4f6b67b190
Move functions from roster_versioning to mod_roster (EJAB-964)
...
SVN Revision: 2431
2009-08-06 21:07:18 +00:00
Pablo Polvorin
1b85310f1a
Support for roster versioning (EJAB-964)
...
Introduces two options for mod_roster and mod_roster_odbc:
- {versioning, true | false} Enable or disable roster versioning on ejabberd.
- {store_current_id, true | false} If true, the current roster version is stored on DB (internal or odbc). Otherwise it is calculated on the fly each time.
Performance:
Setting store_current_id to true should help in reducing the load for both ejabberd and the DB.
Details:
If store_current_id is false, the roster version is a hash of the entire roster. If store_current_id is true, the roster version is a hash, but of the current time
(this has to do with transactional semantics; we need to perform both the roster update and the version update on the same transaction, but we don't
have the entire roster when we are changing a single item on DB. Loading it there requires significant changes to be introduced, so I opted for this simpler approach).
In either case, there is no difference for the clients, the roster version ID is opaque.
IMPORTANT:
mod_shared_roster is not compatible with the option 'store_current_id'. Shared roster and roster versioning can be both enabled, but store_current_id MUST be set to false.
SVN Revision: 2428
2009-08-06 15:45:13 +00:00
Badlop
6aa3706bec
Support XEP-0227 Portable Import/Export (EJAB-993)
...
SVN Revision: 2421
2009-08-05 18:23:54 +00:00
Pablo Polvorin
92ad67a814
Fix problems when deleting a roster item.
...
The deleted item was left on the user roster, and unsubscribe presence stanza wasn't sent to the unsubscribed user.
SVN Revision: 2420
2009-08-05 17:39:47 +00:00
Badlop
14399e3d57
Support XEP-0199 Ping (thanks to Brian Cully and Evgeniy Khramtsov)(EJAB-974)
...
SVN Revision: 2419
2009-08-03 19:33:42 +00:00
Badlop
a321ab3653
Document the new option s2s_dns_options, expressed in seconds (EJAB-994)
...
SVN Revision: 2418
2009-08-03 15:04:52 +00:00
Evgeniy Khramtsov
ce3fa18fb6
fixes incorrect substitution of an LDAP pattern
...
SVN Revision: 2415
2009-07-31 06:43:17 +00:00
Badlop
4064e933fe
ejabberd 3.0.0 will require Erlang/OTP R12B-4 or higher, or R13B or higher (EJAB-997)
...
SVN Revision: 2410
2009-07-30 18:29:46 +00:00
Badlop
f5868a0952
Delete expat_erl, stringprep, xml and xml_stream; replaced by exmpp (EJAB-991)
...
SVN Revision: 2409
2009-07-30 17:57:56 +00:00
Evgeniy Khramtsov
35c1c3774c
do not crash on unmatched request
...
SVN Revision: 2407
2009-07-30 13:10:01 +00:00
Geoff Cant
628b03f3c0
EJAB-994: Implements DNS timeouts and retries.
...
SVN Revision: 2405
2009-07-30 12:35:18 +00:00
Evgeniy Khramtsov
c6f3fbb82c
treap.erl backport
...
SVN Revision: 2400
2009-07-29 03:43:58 +00:00
Geoff Cant
504cc7b7dd
EJAB-940: Implements reliable ODBC transaction nesting.
...
SVN Revision: 2396
2009-07-28 13:43:00 +00:00
Badlop
e6205e8f26
Fix error when nick registration stanza doesn't contain Value.
...
SVN Revision: 2395
2009-07-27 09:37:24 +00:00
Badlop
620a50223c
New command to dump a table to text file.
...
SVN Revision: 2391
2009-07-23 15:23:26 +00:00
Badlop
646adbf186
Add support to delete content and delete table.
...
SVN Revision: 2390
2009-07-23 15:23:21 +00:00
Badlop
73f2fc76d9
Log an error if HTTP request does not include Host header (EJAB-966)
...
SVN Revision: 2387
2009-07-23 14:51:16 +00:00
Evgeniy Khramtsov
553969f0fd
delete/2 now does not crash when there is nothing to delete. fold/1 added
...
SVN Revision: 2385
2009-07-22 06:52:47 +00:00
Mickaël Rémond
ee142c5fe1
Fix typo from EJAB-988
...
SVN Revision: 2381
2009-07-21 19:18:22 +00:00
Badlop
97dfcb9fb0
HTML room logs: fix formatting of spaces; log config when disabling logging; display occupants (EJAB-986)
...
SVN Revision: 2379
2009-07-21 18:35:20 +00:00
Badlop
97ee31e751
Allow content types to be configured in ejabberd.cfg (EJAB-975)(thanks to Brian Cully)
...
SVN Revision: 2377
2009-07-21 17:32:29 +00:00
Badlop
338af10aaf
moved some log reports from error to debug level (thanks to Evgeniy Khramtsov)
...
SVN Revision: 2374
2009-07-20 09:21:42 +00:00
Badlop
020a3e6d6b
Revert workaround of EJAB-611 because it seems no longer required (EJAB-709)
...
SVN Revision: 2371
2009-07-17 21:47:26 +00:00
Badlop
5e05ad03bb
Support XEP-0157: Contact Addresses for XMPP Services (EJAB-235)
...
SVN Revision: 2369
2009-07-17 20:47:40 +00:00
Badlop
8d988d1bd2
Store account number in internal auth of (EJAB-981)(thanks to Juan Pablo Carlino)
...
SVN Revision: 2366
2009-07-17 19:06:42 +00:00
Badlop
f3db058fef
If a command is already defined: log as Debug, not as Warning.
...
SVN Revision: 2363
2009-07-16 20:18:36 +00:00
Badlop
b49a15efeb
If directory /sbin is created, set permissions 755, not 750.
...
SVN Revision: 2359
2009-07-07 08:27:58 +00:00
Badlop
be5b35e999
Temporary Debug and Ctl nodes must get nodename similar to destination.
...
SVN Revision: 2357
2009-07-06 14:11:35 +00:00
Badlop
30697ca0a1
Add -hidden flag when calling Debug or Ctl
...
SVN Revision: 2356
2009-07-06 14:11:31 +00:00
Badlop
0e19ca68b4
Support XEP-0085 Chat State Notifications (EJAB-961)
...
SVN Revision: 2351
2009-06-30 19:33:09 +00:00
Badlop
f82131af15
Include original timestamp on delayed presences (thanks to Mickael Remond)(EJAB-234)
...
SVN Revision: 2349
2009-06-30 17:51:37 +00:00
Badlop
16ca8d178d
Add XEP82 Date Time, update XEP202 Entity Time and XEP203 Delayed Delivery (EJAB-234)
...
SVN Revision: 2347
2009-06-30 16:55:26 +00:00
Badlop
cdac156f2e
Add announcement of offline feature to service discovery (EJAB-234)
...
SVN Revision: 2346
2009-06-30 16:54:46 +00:00
Badlop
ba335346f2
Don't use lists:keyfind/3 bcause it was introduced only in recent R13A.
...
SVN Revision: 2342
2009-06-25 18:05:34 +00:00
Badlop
82b3790f85
Improve explanation about SSL for port 5223 and its option 'tls'.
...
SVN Revision: 2340
2009-06-25 18:03:29 +00:00
Badlop
52c0fd8f09
Add note about PAM configuration for pam_winbind (thanks to Jon Bendtsen)
...
SVN Revision: 2338
2009-06-25 17:09:06 +00:00
Badlop
e37b26e068
Improvements in the WebAdmin browsing menus.
...
SVN Revision: 2336
2009-06-25 17:04:03 +00:00
Badlop
6ac4157fc1
Add Vim folding
...
SVN Revision: 2335
2009-06-23 21:13:04 +00:00
Badlop
b9cbb7a72b
Detect auth errors and report in log file. Support auth when domain not provided.
...
SVN Revision: 2331
2009-06-22 23:14:18 +00:00
Badlop
0aca6920a7
ejabbed 3.0.0 requires exmpp 0.9.1 or higher.
...
SVN Revision: 2328
2009-06-17 09:07:02 +00:00
Badlop
a6e8e10a3d
Erlang/OTP R13B can be used, but its support is still experimental.
...
SVN Revision: 2327
2009-06-17 09:06:57 +00:00
Badlop
bfbc69e8f9
Update version number to 3.0.0-alpha
...
SVN Revision: 2326
2009-06-17 09:06:52 +00:00
Badlop
13c76c12f8
Workaround to compile with exmpp
...
SVN Revision: 2324
2009-06-16 18:28:06 +00:00
Badlop
08ebf50480
Add permanent section about mod_http_fileserver to the Guide. Example config.
...
SVN Revision: 2323
2009-06-16 18:28:01 +00:00
Badlop
a6b5e6360b
Add unit test script for http-bind service (thanks to Stefan Strigler)
...
SVN Revision: 2322
2009-06-16 18:27:55 +00:00
Badlop
b49f8a81a8
Add forgotten copyright and license notices.
...
SVN Revision: 2321
2009-06-16 18:27:51 +00:00
Badlop
ab5b66facc
Easier debugging (EJAB-936)(thanks to Michael Remond)
...
SVN Revision: 2320
2009-06-16 18:27:45 +00:00
Badlop
35c6ea68cc
Code clean-up (EJAB-936)(thanks to Michael Remond)
...
SVN Revision: 2319
2009-06-16 18:27:40 +00:00
Badlop
b74cb8828b
Started code clean-up (EJAB-936)(thanks to Michael Remond)
...
SVN Revision: 2318
2009-06-16 18:27:35 +00:00
Badlop
a1b84c6fa3
Replaced sha1 to hexadecimal transformation with sha:sha/1 call (thanks to Alexey Shchepin)
...
SVN Revision: 2317
2009-06-16 18:27:31 +00:00
Badlop
3e3d01063d
Replace TYPE/1 with is_TYPE/1 (EJAB-922)
...
SVN Revision: 2316
2009-06-16 18:27:27 +00:00
Badlop
c19cc61c48
Simplified code.(thanks to Michael Remond)
...
SVN Revision: 2315
2009-06-16 18:27:24 +00:00
Badlop
5854edafdd
Properly warn user and admin when mod_http_bind is not started.(thanks to Michael Remond)
...
SVN Revision: 2314
2009-06-16 18:27:18 +00:00
Badlop
2c33e72eea
Do not clear input when dispatching a get when we have nothing to output. (thanks to Geoff Cant)
...
SVN Revision: 2313
2009-06-16 18:27:14 +00:00
Badlop
24ab5026c9
Changed the place where database is created(thanks to Michael Remond)
...
SVN Revision: 2312
2009-06-16 18:27:10 +00:00
Badlop
c74ef80f79
Fix remote-stream-error stanzas
...
SVN Revision: 2311
2009-06-16 18:27:05 +00:00
Badlop
eeb11046d5
New option max_inactivity to configure maximum inactivity period (EJAB-512)
...
SVN Revision: 2310
2009-06-16 18:27:01 +00:00
Badlop
66f3f0f3de
Fix warning of unused Host variable
...
SVN Revision: 2309
2009-06-16 18:26:57 +00:00
Badlop
a1bce24461
Include condition in http-bind terminate body when service stops (EJAB-792)
...
SVN Revision: 2308
2009-06-16 18:26:53 +00:00
Badlop
1c2d0afd95
Fix unknown rid error (thanks to Jerome Sautret)
...
SVN Revision: 2307
2009-06-16 18:26:48 +00:00
Badlop
6e52ca3f4e
Implement packets reordering to avoid race conditions (EJAB-724).(thanks to Michael Remond)
...
SVN Revision: 2306
2009-06-16 18:26:44 +00:00
Badlop
1d1f72fdc2
Updated IP retrieving (thanks to Alexey Shchepin)
...
SVN Revision: 2305
2009-06-16 18:26:40 +00:00
Badlop
d25bd8c1c6
Improve ip fetching patch (thanks to Christohpe Romain)
...
SVN Revision: 2304
2009-06-16 18:26:36 +00:00
Badlop
3e0827deea
Retrieve correct IP from http connection (thanks to Christohpe Romain)
...
SVN Revision: 2303
2009-06-16 18:26:31 +00:00
Badlop
481c7ea4e6
Fix syntax error. (thanks to Jerome Sautret)
...
SVN Revision: 2302
2009-06-16 18:26:27 +00:00
Badlop
646477be08
Removed HTTP bind session count. Removed the 'sponsored bind session' text. (thanks to Michael Remond)
...
Details:
Removed the HTTP bind session count because it leaks information on the size of the platform.
Removed the text 'sponsored by Mabber' because it is confusing, as people could think a third-party service using HTTP bind is sponsored by Mabber.
SVN Revision: 2301
2009-06-16 18:26:23 +00:00
Badlop
3e2c626696
Do not display error message when starting several hosts (EJAB-571) (thanks to Christohpe Romain)
...
SVN Revision: 2300
2009-06-16 18:26:19 +00:00
Badlop
38ce8b494e
Provide explanation in error message when module is already started for another vhost
...
SVN Revision: 2299
2009-06-16 18:26:15 +00:00
Badlop
292e2f6b69
Removed small warning
...
SVN Revision: 2298
2009-06-16 18:26:11 +00:00
Badlop
94c3a384b1
Bugfixes (thanks to Alexey Shchepin)
...
SVN Revision: 2297
2009-06-16 18:26:07 +00:00
Badlop
5f07b4bf9b
Removed receive_loop (thanks to Alexey Shchepin)
...
SVN Revision: 2296
2009-06-16 18:26:02 +00:00
Badlop
68754c4b5d
Remove Erlang module attribute 'vsn' because it does not provide any worth feature, and it difficults hot code update (EJAB-440)
...
SVN Revision: 2295
2009-06-16 18:25:59 +00:00
Badlop
ff4ccc1d85
Bugfix when table does not exist (thanks to Justin Kirby)
...
SVN Revision: 2294
2009-06-16 18:25:54 +00:00
Badlop
d84a2f8215
Migration code for people using previous version of the HTTP binding module (EJAB-390)
...
SVN Revision: 2293
2009-06-16 18:25:51 +00:00
Badlop
86738e965f
Do not overwrite the stanza namespace (thanks to Anastasia Gornostaeva)
...
SVN Revision: 2292
2009-06-16 18:25:46 +00:00
Badlop
818f28d85f
Support for c2s ACL access, max_stanza and shaper on http_poll connections (EJAB-243, EJAB-415, EJAB-416)(thanks to Michael Remond)
...
SVN Revision: 2291
2009-06-16 18:25:42 +00:00
Badlop
5f7356c16c
The Erlang/OTP function httpd_util:to_lower/1 is deprecated, and it is recommended to use string:to_lower/1 instead.
...
SVN Revision: 2290
2009-06-16 18:25:38 +00:00
Badlop
b0b708ddea
Use DEBUG instead of INFO_MSG to keep log files small. Fix parse errors for grepping 'stream:error' (thanks to Stefan Strigler)
...
SVN Revision: 2289
2009-06-16 18:25:34 +00:00
Badlop
4adf23b4e9
Forgot keyword 'catch' when doing list_to_float on bosh version attribute for initial request (thanks to Stefan Strigler)
...
SVN Revision: 2288
2009-06-16 18:25:30 +00:00
Badlop
2f29e761c2
Fixes for pausing sessions; did not parse 'pause' attribute to int (thanks to Stefan Strigler)
...
SVN Revision: 2287
2009-06-16 18:25:26 +00:00
Badlop
8aede81188
Support pausing sessions (thanks to Stefan Strigler) (thanks to Stefan Strigler)
...
SVN Revision: 2286
2009-06-16 18:25:22 +00:00
Badlop
c151da684d
Comment-header: talk about xmpp over bosh rather than http binding (thanks to Stefan Strigler)
...
SVN Revision: 2285
2009-06-16 18:25:18 +00:00
Badlop
bf4e927142
Removed debugging stuff. Removed error condition (thanks to Stefan Strigler)
...
SVN Revision: 2284
2009-06-16 18:25:14 +00:00
Badlop
7cb0b1a911
Code cleanup. Code reorganization. Store version of bosh session. Use bosh version for error conditions (thanks to Stefan Strigler)
...
SVN Revision: 2283
2009-06-16 18:25:10 +00:00
Badlop
6cbae7025c
Store version as float (thanks to Stefan Strigler)
...
SVN Revision: 2282
2009-06-16 18:25:06 +00:00
Badlop
202bece16d
Save bosh version with session (thanks to Stefan Strigler)
...
SVN Revision: 2281
2009-06-16 18:25:02 +00:00
Badlop
f07df01185
Code rearranged (thanks to Stefan Strigler)
...
SVN Revision: 2280
2009-06-16 18:24:58 +00:00
Badlop
702978fa4b
Make use of macros for namespaces. Some code cleanup. (thanks to Stefan Strigler)
...
SVN Revision: 2279
2009-06-16 18:24:54 +00:00
Badlop
b79473b2f5
Fix for 'terminate' in request, send empty body instead of error (thanks to Stefan Strigler)
...
SVN Revision: 2278
2009-06-16 18:24:50 +00:00
Badlop
80b59441d5
Disabled debugging (thanks to Stefan Strigler)
...
SVN Revision: 2277
2009-06-16 18:24:46 +00:00
Badlop
f422ec457a
Some code cleanup (thanks to Stefan Strigler)
...
SVN Revision: 2276
2009-06-16 18:24:42 +00:00
Badlop
5048b6bdaf
Bosh compliance: honor xmpp:version (thanks to Stefan Strigler)
...
SVN Revision: 2275
2009-06-16 18:24:38 +00:00
Badlop
01dc4611b9
Restore ejabberd directory structure (src/web) for integration as patch (thanks to Christohpe Romain)
...
SVN Revision: 2274
2009-06-16 18:24:34 +00:00
Badlop
5495516c30
We do not send a 'version' attribute at the stream header for now (thanks to Stefan Strigler)
...
SVN Revision: 2273
2009-06-16 18:24:30 +00:00
Badlop
2f8112b108
Prepare_response: fixed a dbg message. Changed http header (thanks to Stefan Strigler)
...
SVN Revision: 2272
2009-06-16 18:24:26 +00:00
Badlop
229c24e1f2
Implements sockname and peername for compatibility (thanks to Christohpe Romain)
...
SVN Revision: 2271
2009-06-16 18:24:22 +00:00
Badlop
832d59803a
Reverted to r76 as 97 is completely broken and should not have been checked in at all (thanks to Stefan Strigler)
...
SVN Revision: 2270
2009-06-16 18:24:18 +00:00
Badlop
197639a34b
Minor changes (thanks to Stefan Strigler)
...
SVN Revision: 2269
2009-06-16 18:24:14 +00:00
Badlop
bb229a3a0c
Disabled debug (thanks to Stefan Strigler)
...
SVN Revision: 2268
2009-06-16 18:24:09 +00:00
Badlop
eca818be5a
Deal with return values from starting/terminating supervisor (thanks to Stefan Strigler)
...
SVN Revision: 2267
2009-06-16 18:24:05 +00:00
Badlop
33896adf9d
Disabled debug (thanks to Stefan Strigler)
...
SVN Revision: 2266
2009-06-16 18:24:01 +00:00
Badlop
f5223b1643
Removed my own supervisor (thanks to Stefan Strigler)
...
SVN Revision: 2265
2009-06-16 18:23:57 +00:00
Badlop
ecc2bbd752
Renamed some vars for (thanks to Stefan Strigler)
...
SVN Revision: 2264
2009-06-16 18:23:53 +00:00
Badlop
d019405d51
Start supervisor here (thanks to Stefan Strigler)
...
SVN Revision: 2263
2009-06-16 18:23:49 +00:00
Badlop
7d62dff7e5
Make use of new api for plugable http based services (thanks to Stefan Strigler)
...
SVN Revision: 2262
2009-06-16 18:23:45 +00:00
Badlop
dd8e4c620b
Initial commit of HTTP-Bind source code (thanks to Stefan Striegler)
...
SVN Revision: 2261
2009-06-16 18:23:40 +00:00
Badlop
77a62670d3
Add permanent section about mod_http_fileserver to the Guide. Example config.
...
SVN Revision: 2197
2009-06-16 13:53:25 +00:00
Badlop
8e8b78a4c3
Add forgotten copyright and license notices.
...
SVN Revision: 2196
2009-06-16 13:53:18 +00:00
Badlop
249ee4b318
New option directory_indices, and improve logging (thanks to Brian Cully)(EJAB-932)
...
SVN Revision: 2195
2009-06-16 13:53:13 +00:00
Badlop
226bcd1360
Fix capitalization of HTTP headers (thanks to Brian Cully)(EJAB-892)
...
SVN Revision: 2194
2009-06-16 13:53:07 +00:00
Badlop
4956ed11f4
Converted to gen_server behaviour (EJAB-561). Use the general reopen_log_hook instead of ejabberdctl command.
...
SVN Revision: 2193
2009-06-16 13:53:02 +00:00
Badlop
b44a3c7650
Fix ip source to comply with new ip storage into ejabberd_http (thanks to Christophe Romain)
...
SVN Revision: 2192
2009-06-16 13:52:57 +00:00
Badlop
fa83147926
Use httpd_util:to_lower when not compiling with Erlang R12 (EJAB-628)
...
SVN Revision: 2191
2009-06-16 13:52:52 +00:00
Badlop
14afea1a20
Added JavaScript content type
...
SVN Revision: 2190
2009-06-16 13:52:47 +00:00
Badlop
4fdc4a2e06
Include Last-Modified HTTP header in responses to allow caching (EJAB-546) in mod_http_fileserver and mod_muc_log_http.
...
SVN Revision: 2189
2009-06-16 13:52:42 +00:00
Badlop
0864e8a24f
Fix error creating ETS table if enabled in several vhosts (EJAB-551). Unregister the command when stopping the module.
...
SVN Revision: 2188
2009-06-16 13:52:37 +00:00
Badlop
6af85aea18
Remove Erlang module attribute 'vsn' because it doesn't provide any worth feature, and it difficults hot code update (EJAB-440)
...
SVN Revision: 2187
2009-06-16 13:52:32 +00:00
Badlop
0d4155b902
The Erlang/OTP function httpd_util:to_lower/1 is deprecated, and it's recommended to use string:to_lower/1 instead.
...
SVN Revision: 2186
2009-06-16 13:52:28 +00:00
Badlop
91193bf928
Small change in accesslog file format; fix bug when accesslog conf parameter wasn't present in the conf file (thanks to Jerome Sautret)
...
SVN Revision: 2185
2009-06-16 13:52:17 +00:00
Badlop
b57248e822
Added accesslog parameter to record requests log in a file similar to Apache (thanks to Jerome Sautret)
...
SVN Revision: 2184
2009-06-16 13:52:12 +00:00
Badlop
487b80b9b0
Initial commit of mod_http_fileserver (thanks to Massimiliano Mirra)
...
SVN Revision: 2183
2009-06-16 13:52:07 +00:00
Badlop
818a70bdd7
Do not include mod_irc, it can be found in ejabberd-modules SVN. Iconv not required. (EJAB-954)
...
SVN Revision: 2167
2009-06-16 11:27:33 +00:00
Mickaël Rémond
940f5be35e
Fix syntax error in config file
...
SVN Revision: 2166
2009-06-16 00:49:09 +00:00
Badlop
88fd7b226a
Add option to restrict max offline messages by Access and ACL (EJAB-951)
...
New option for mod_offline: access_max_user_messages.
The old option user_max_messages is no longer supported.
SVN Revision: 2163
2009-06-15 17:44:04 +00:00
Badlop
2f6cea2be3
Fix warning about a case already covered.
...
SVN Revision: 2161
2009-06-15 17:27:11 +00:00
Badlop
b4a1b4c8fb
Replace TYPE/1 with is_TYPE/1 (EJAB-922)
...
SVN Revision: 2160
2009-06-15 17:27:06 +00:00
Badlop
2f3963417f
Prevent process crash if the IP and port of a connection is unknown.
...
SVN Revision: 2156
2009-06-11 18:57:03 +00:00
Badlop
8de03275c3
When client is closed, include the Reason in the stream trailer stanza.
...
SVN Revision: 2154
2009-06-09 12:10:24 +00:00
Badlop
60f52b2cd8
Add forgotten copyright and license notices. Fix blackspaces.
...
SVN Revision: 2152
2009-06-09 10:56:49 +00:00
Badlop
dd101c99e5
Malformed CAPTCHA response may crash a room. This is now fixed. (thanks to Evgeniy Khramtsov)
...
SVN Revision: 2150
2009-06-09 09:39:07 +00:00
Badlop
a45e6da3d0
Remove support of deprecated Disco Publish XEP-0030 (EJAB-904)
...
SVN Revision: 2141
2009-06-02 18:09:01 +00:00
Badlop
2b6f45e4c1
Update some calls from jlib:make_jid to exmpp_jid:make
...
SVN Revision: 2139
2009-06-01 23:44:55 +00:00
Badlop
332de67fe2
Fix some calls to exmpp
...
SVN Revision: 2138
2009-06-01 21:04:16 +00:00
Badlop
ff3fd02115
Fix Access check: the rule can be defined in a vhost or global.
...
SVN Revision: 2137
2009-06-01 21:04:11 +00:00
Karim Gemayel
437c9d07f5
API renaming : bare_jid_to_binary -> bare_to_binary
...
SVN Revision: 2135
2009-06-01 17:00:44 +00:00
Karim Gemayel
9abe47f350
API renaming : jid_to_binary -> to_binary
...
SVN Revision: 2134
2009-06-01 16:59:08 +00:00
Karim Gemayel
7a884ced32
API renaming : bare_jid_to_list -> bare_to_list
...
SVN Revision: 2133
2009-06-01 16:54:33 +00:00
Karim Gemayel
0ace8bda8c
API renaming : prepd_jid_to_list -> prep_to_list
...
SVN Revision: 2132
2009-06-01 16:53:48 +00:00
Karim Gemayel
15bc238297
API renaming : jid_to_list -> to_list
...
SVN Revision: 2131
2009-06-01 16:52:14 +00:00
Karim Gemayel
1b94c7a8b3
API renaming : compare_bare_jids -> bare_compare
...
SVN Revision: 2130
2009-06-01 16:50:36 +00:00
Karim Gemayel
c31f99937f
API renaming : compare_jids -> compare
...
SVN Revision: 2129
2009-06-01 16:49:00 +00:00
Karim Gemayel
4258b99b2b
API renaming : lresource_as_list -> prep_resource_as_list
...
SVN Revision: 2128
2009-06-01 16:43:15 +00:00
Karim Gemayel
29c0e17ca2
API renaming : lresource -> prep_resource
...
SVN Revision: 2127
2009-06-01 16:42:07 +00:00
Karim Gemayel
d51d9e9fff
API renaming : lnode_as_list -> prep_node_as_list
...
SVN Revision: 2126
2009-06-01 16:40:51 +00:00
Karim Gemayel
d5f2c41f26
API renaming : lnode -> prep_node
...
SVN Revision: 2125
2009-06-01 16:39:36 +00:00
Karim Gemayel
7eb395b87d
API renaming : ldomain_as_list -> prep_domain_as_list
...
SVN Revision: 2124
2009-06-01 16:38:28 +00:00
Karim Gemayel
19d7d79229
API renaming : ldomain -> prep_domain
...
SVN Revision: 2123
2009-06-01 16:37:15 +00:00
Karim Gemayel
526dc54173
API renaming : parse_jid -> parse
...
SVN Revision: 2122
2009-06-01 16:35:55 +00:00
Karim Gemayel
a136192db2
API renaming : bare_jid_to_jid -> full
...
SVN Revision: 2121
2009-06-01 16:34:38 +00:00
Karim Gemayel
5dbc4f9954
API renaming : jid_to_bare_jid > bare
...
SVN Revision: 2120
2009-06-01 16:30:15 +00:00
Karim Gemayel
447d3818f5
API renaming : make_jid -> make
...
SVN Revision: 2119
2009-06-01 16:26:00 +00:00
Christophe Romain
7c45f8f053
fix nodetree virtual to allow node subscription
...
SVN Revision: 2117
2009-05-29 00:44:07 +00:00
Christophe Romain
497d4d26bb
make flat the default node plugin
...
SVN Revision: 2116
2009-05-29 00:27:26 +00:00
Christophe Romain
db6a8c2e05
fix ets table name change
...
SVN Revision: 2115
2009-05-29 00:13:21 +00:00
Christophe Romain
a16230c9ca
pubsub: added configuration option in guide.tex, added last item cache, use default node type if given type is not configured, make node_flat the default node plugin. caps: improve cache handling
...
SVN Revision: 2114
2009-05-28 23:21:50 +00:00
Badlop
0bbbf468f0
Fix crashes when browsing some WebAdmin pages (EJAB-821)
...
SVN Revision: 2111
2009-05-27 17:29:58 +00:00
Badlop
9bcba6c8b8
Update CSS of WebAdmin menu
...
SVN Revision: 2110
2009-05-27 17:29:50 +00:00
Badlop
a1fe76fb5b
Support to select what modules to update. Split large function in smaller ones.
...
SVN Revision: 2109
2009-05-27 17:29:43 +00:00
Pablo Polvorin
dc613df3b1
Do not indent the resulting html. Indentation in exmpp is buggy, and there isn't a real adventage on indenting the generated html
...
SVN Revision: 2106
2009-05-27 15:02:44 +00:00
Christophe Romain
45a8a0fb53
make get_items able to sort items in publish order (EJAB-824)
...
SVN Revision: 2105
2009-05-26 22:50:11 +00:00
Christophe Romain
aa210166c4
improve get_entity_* to work regardless of nodetree (EJAB-937)
...
SVN Revision: 2104
2009-05-26 21:50:13 +00:00
Badlop
43a3fef7bb
Document how to setup CAPTCHA. Install example captcha.sh (EJAB-895)
...
SVN Revision: 2103
2009-05-26 17:20:50 +00:00
Badlop
55bebb0f62
Implement XEP-158 CAPTCHA Forms, support in mod_muc, sample script (thanks to Evgeniy Khramtsov)(EJAB-895)
...
SVN Revision: 2102
2009-05-26 17:20:09 +00:00
Badlop
18ae44f930
Support LDAPS with TLS (EJAB-109)(thanks to Thomas Baden, Andy Harb, Sergei Golovan, Anton Podavalov)
...
SVN Revision: 2099
2009-05-25 17:16:54 +00:00
Badlop
dc3899dfd9
Decrease proxy65 buffer sizes to 8192 bytes.
...
The original size of 65535 confused clients with tight
shapers (thanks to Evgeniy Khramtsov)
SVN Revision: 2097
2009-05-25 11:19:28 +00:00
Mickaël Rémond
b6b4b0cdf9
* trunk/src/odbc/ejabberd_odbc.erl: Fix typo (EJABS-859) (EJAB-940) (CR-EJAB-10)
...
* branches/road-to-exmpp/src/odbc/ejabberd_odbc.erl: Likewise.
SVN Revision: 2095
2009-05-21 16:43:33 +00:00
Mickaël Rémond
8be73967fd
* src/odbc/ejabberd_odbc.erl: Support for nested transactions (EJABS-859) (EJAB-940) (CR-EJAB-10)
...
SVN Revision: 2094
2009-05-21 16:28:49 +00:00
Christophe Romain
2e26b6bf8b
PubSub: improve get_entity_* API
...
SVN Revision: 2091
2009-05-19 22:29:28 +00:00
Badlop
b473862da6
Added API function to get current S2S connections with information
...
get_info_s2s_connections(Type) returns a list of incoming (or outgoing)
S2S connections with information for each one including IP address,
port number, TLS options... (thanks to Juan Pablo Carlino)
SVN Revision: 2089
2009-05-19 09:39:13 +00:00
Badlop
0a9581a375
LDAP bind attempts: log warnings and increase timeout after reject.
...
Merged from trunk SVN r2086:
Log warnings on unsuccessful LDAP bind attempts.
Increase timeout before the next LDAP bind attempt up to
five seconds if the last bind attempt was rejected by the
LDAP server ("soft" error) (thanks to Konstantin Khomoutov)
SVN Revision: 2087
2009-05-18 11:41:53 +00:00
Badlop
5bd67495ed
Document how to convert Mnesia node name
...
SVN Revision: 2085
2009-05-15 22:57:40 +00:00
Badlop
23509c1688
New command to convert mnesia nodename, copied from OTP and Debian
...
SVN Revision: 2084
2009-05-15 22:56:55 +00:00
Badlop
a63f548528
Allow to define additional Erlang options in ejabberdctl.cfg (thanks to Sergei Golovan)
...
SVN Revision: 2083
2009-05-15 22:56:13 +00:00
Badlop
ee8ed2828a
The --node argument overwrites the value of ejabberdctl.cfg
...
SVN Revision: 2082
2009-05-15 22:55:29 +00:00
Badlop
35daf5df78
No longer edit ChangeLog, will be auto generated for ejabberd releases.
...
Added new call 'make changelog' which generates a ChangeLog file by
prepending to the old file obtained from SVN the new lines obtained
from SVN Log and formatted with svn2cl.
ChangeLog will be generated and included in ejabberd releases.
SVN Revision: 2076
2009-05-14 21:12:12 +00:00
Mickaël Rémond
3ca2d4dab3
* src/ejabberd_debug.erl: Handled fprof based profiling (EJABS-872).
...
* src/ejabberd_app.erl: Likewise.
SVN Revision: 2075
2009-05-13 12:36:37 +00:00
Christophe Romain
c12b1870b7
Fix bad transaction returncode in unsubscribe presence handler
...
SVN Revision: 2074
2009-05-12 21:00:05 +00:00
Christophe Romain
fd36726357
Prevent race condition when calling get_caps while note_caps has not been handled yet (EJAB-934)
...
SVN Revision: 2072
2009-05-11 17:27:55 +00:00
Christophe Romain
8dc1bb0659
handle Example 90 of XEP-0060 (EJAB-909), and make use of nodeAttr
...
SVN Revision: 2069
2009-05-08 01:28:17 +00:00
Christophe Romain
38413dc236
Allow to get subscriptions on a given node (EJAB-712), and presence based fixes
...
SVN Revision: 2067
2009-05-08 00:02:08 +00:00
Badlop
ef94ad36cd
Merge 2063 from trunk.
...
* src/ejabberd_app.erl: Better support for profiling.
* src/ejabberd.erl: Likewise
* src/ejabberd_ctl.erl: Likewise
* src/ejabberd_debug.erl: Likewise
SVN Revision: 2064
2009-05-07 22:56:23 +00:00
Christophe Romain
e40e4298ca
several pubsub fixes and improvements. also fixes EJAB-913 and EJAB-871
...
SVN Revision: 2061
2009-05-07 00:54:44 +00:00
Badlop
1d3947c0da
Replace TYPE/1 with is_TYPE/1 (EJAB-922)
...
SVN Revision: 2057
2009-05-06 16:54:43 +00:00
Badlop
69349925a3
* src/Makefile.in: Prevent Erlang R13B compilation warning:
...
behaviour X undefined (EJAB-920)
SVN Revision: 2056
2009-05-06 15:15:09 +00:00
Badlop
921c7ede0d
* src/ejabberd_loglevel.erl: Use dynamic_compile instead of
...
ram_file_io_server. Support definition of loglevels with integer
or atom. (thanks to Geoff Cant)(EJAB-919)
* src/dynamic_compile.erl: Added erlang module that converts
string to binary loadable code by Mats Cronqvist, Chris Newcombe,
and Jacob Vorreuter.
* src/ram_file_io_server.erl: Remove file not longer useful.
* src/ejabberd.app: Likewise
SVN Revision: 2054
2009-05-06 14:51:51 +00:00
Badlop
e202ec009e
* src/mod_muc/mod_muc_room.erl: Fix badarg return (EJAB-899)
...
SVN Revision: 2053
2009-05-03 11:26:18 +00:00
Christophe Romain
ced30acb20
backport pubsub/pep/caps optimizations from trunk
...
SVN Revision: 2052
2009-04-30 23:17:38 +00:00
Badlop
3debaf99d8
* src/ejabberd_hooks.erl: Support distributed hooks (EJAB-829)
...
SVN Revision: 2047
2009-04-28 14:57:16 +00:00
Badlop
2908e5da19
Merge 1969 and 1970 from trunk.
...
* src/ejabberd_hooks.erl: anonymous functions support.
SVN Revision: 2046
2009-04-28 14:46:12 +00:00
Badlop
5afe7cfafb
* src/translate.erl: Support additional files (EJAB-925)
...
* contrib/extract_translations/extract_translations.erl: Likewise
* contrib/extract_translations/prepare-translation.sh: Likewise
SVN Revision: 2044
2009-04-27 20:55:35 +00:00
Badlop
d7829a76ce
* src/win32_dns.erl: Fix problem parsing some win32 dns (EJAB-927)
...
SVN Revision: 2043
2009-04-27 20:36:19 +00:00
Badlop
ec779c001c
* src/cyrsasl_digest.erl: Fix auth verification (EJAB-863)
...
SVN Revision: 2042
2009-04-27 20:24:21 +00:00
Badlop
028509c3a9
* src/jlib.erl: Fix recursive call to speedup base64
...
decoding (thanks to Jeffrey Rogiers)(EJAB-333)
SVN Revision: 2041
2009-04-27 19:17:17 +00:00
Christophe Romain
fd5e312ed9
minor cosmetic fix
...
SVN Revision: 2040
2009-04-24 21:34:59 +00:00
Christophe Romain
6710d66a58
fix minor pubsub init glitch, and allow ejabberd_odbc to execute bloc of queries without transaction
...
SVN Revision: 2039
2009-04-24 10:32:41 +00:00
Christophe Romain
1d44abfc8a
improve send last published items spawning
...
SVN Revision: 2037
2009-04-22 23:01:51 +00:00
Badlop
0141779b9c
* src/ejabberd.cfg.example: Fix English typos. Fix line length:
...
max 80 characters per line. Remove trailing blankspaces. Added
markers for Vim fold, you may want to add to $HOME/.vimrc this
line: set modeline
* src/ejabberdctl.cfg.example: Likewise
SVN Revision: 2035
2009-04-22 13:45:57 +00:00
Badlop
92b1e9d9ac
* src/mod_muc/mod_muc.erl: Limit number of characters in Room ID,
...
Name and Description (EJAB-899)
* src/mod_muc/mod_muc_room.erl: Likewise
* doc/guide.tex: Likewise
* doc/guide.html: Likewise
SVN Revision: 2034
2009-04-22 12:05:10 +00:00
Badlop
43b59911e2
* src/cyrsasl.erl: Change API of check_password: pass a function
...
to generate the digest (thanks to Graham Whitted)(EJAB-863)
* src/cyrsasl_anonymous.erl: Likewise
* src/cyrsasl_digest.erl: Likewise
* src/cyrsasl_plain.erl: Likewise
* src/ejabberd_auth.erl: Likewise
* src/ejabberd_auth_anonymous.erl: Likewise
* src/ejabberd_auth_external.erl: Likewise
* src/ejabberd_auth_internal.erl: Likewise
* src/ejabberd_auth_ldap.erl: Likewise
* src/ejabberd_auth_odbc.erl: Likewise
* src/ejabberd_auth_pam.erl: Likewise
* src/ejabberd_c2s.erl: Likewise
SVN Revision: 2033
2009-04-22 11:44:03 +00:00
Badlop
240e37c387
* src/ejabberd_c2s.erl: Fix for SASL Anonymous connections not
...
stored or purged (thanks to Andy Skelton)(EJAB-912)
SVN Revision: 2032
2009-04-22 11:02:03 +00:00
Badlop
39f71ab2ab
* src/mod_shared_roster.erl: Support in API to add 'all' as member
...
of a group (thanks to Martin Langhoff)(EJAB-916)
SVN Revision: 2031
2009-04-22 10:40:11 +00:00
Christophe Romain
6e37389145
fix missing greetings
...
SVN Revision: 2026
2009-04-17 20:43:12 +00:00
Badlop
554a9a72f1
* doc/guide.tex: Document new ejabberdctl option. New section that
...
documents AccessCommands. (EJAB-910)
* doc/guide.html: Likewise
SVN Revision: 2025
2009-04-17 13:53:20 +00:00
Badlop
fd967d6976
* src/ejabberd_ctl.erl: New option to require auth in ejabberdctl
...
and restrict what commands and arguments can execute (EJAB-910)
* src/ejabberd_config.erl: Likewise
SVN Revision: 2024
2009-04-17 13:48:59 +00:00
Badlop
b451f07801
* src/ejabberd_commands.erl: API to restrict who can execute what
...
commands and arguments (EJAB-910)
SVN Revision: 2023
2009-04-17 13:43:15 +00:00
Badlop
5ca560d0bd
* src/mod_caps.erl: Fix unbound variable
...
SVN Revision: 2022
2009-04-17 13:40:57 +00:00
Badlop
13fcbd6413
* doc/guide.tex: Explain that the recommended Erlang/OTP version
...
is R12B-5, and R13 is not supported yet.
* doc/guide.html: Likewise
* README: Likewise
SVN Revision: 2021
2009-04-14 18:31:29 +00:00
Badlop
8782597c1a
* src/mod_muc/mod_muc_log.erl: Linkify also xmpp:..., as it was
...
done previously (thanks to Konstantin Khomoutov)(EJAB-850)
SVN Revision: 2020
2009-04-14 18:25:58 +00:00
Christophe Romain
ab4750ec1e
after check, last commit was useless
...
SVN Revision: 2019
2009-04-14 12:46:55 +00:00
Christophe Romain
b519fdd3cb
back to original caps patch which may be safer
...
SVN Revision: 2018
2009-04-14 10:13:05 +00:00
Christophe Romain
08cbaf8ccf
Better handling of presence hook and caps clean
...
SVN Revision: 2015
2009-04-10 13:21:37 +00:00
Badlop
6b2a838e24
* src/msgs/pl.po: Fix some translations (thanks to Andrzej Smyk)
...
SVN Revision: 2011
2009-04-09 11:18:06 +00:00
Badlop
854b448536
* src/mod_pubsub/mod_pubsub.erl: Announce PubSub features in the
...
server JID only if PEP is enabled (EJAB-905)
SVN Revision: 2010
2009-04-08 19:30:24 +00:00
Badlop
2195e433dc
* src/mod_muc/mod_muc.erl: English fixes (thanks to Glenn Sieb)
...
* src/mod_muc/mod_muc_log.erl: Likewise
* src/mod_muc/mod_muc_room.erl: Likewise
* src/mod_register.erl: Likewise
* src/web/ejabberd_web_admin.erl: Likewise
SVN Revision: 2009
2009-04-08 19:04:13 +00:00
Badlop
d13be09524
* src/mod_pubsub/mod_pubsub.erl: Quickfix compilation errors.
...
SVN Revision: 2008
2009-04-08 18:58:11 +00:00
Badlop
e34d6e3678
* src/mod_irc/mod_irc_connection.erl: Fix compilation warnings.
...
SVN Revision: 2006
2009-04-08 18:52:52 +00:00
Badlop
79247dad41
* doc/release_notes_2.0.5.txt: Added file for new release
...
SVN Revision: 2002
2009-04-01 10:37:18 +00:00
Badlop
61691ac47d
Merge 1998 from trunk.
...
* src/ejabberd_sm.erl: Partially retract SVN r1976
EJAB-300 (EJAB-890). Check default privacy list when account, not
a specific session, receives a presence subscription
stanza (EJAB-300).
* src/ejabberd_c2s.erl: Likewise
SVN Revision: 1999
2009-03-24 18:02:13 +00:00
Christophe Romain
3e756f5d1c
implement roster acces model (EJAB-780)
...
SVN Revision: 1997
2009-03-20 00:08:38 +00:00
Christophe Romain
026c4a2711
Allow more environment variable overrides in ejabberdctl (EJAB-891)
...
SVN Revision: 1996
2009-03-19 21:30:10 +00:00
Badlop
cd3556f195
Fix mistake when calling win32_dns.
...
SVN Revision: 1990
2009-03-11 18:36:27 +00:00
Badlop
d0a6ae7855
* doc/release_notes_2.0.4.txt: Added file for new release
...
SVN Revision: 1987
2009-03-10 16:25:20 +00:00
Badlop
b245d68568
* src/tls/tls_drv.c: Fix encryption problem for ejabberd_http
...
after timeout (thanks to Alexey Shchepin)(EJAB-880)
SVN Revision: 1986
2009-03-10 15:21:36 +00:00
Christophe Romain
2c4effe6ce
typo fix on roster access_model
...
SVN Revision: 1985
2009-03-10 12:09:31 +00:00
Christophe Romain
5ed381fc58
Fix PEP with other domains and s2s (EJAB-825)
...
SVN Revision: 1982
2009-03-10 11:13:46 +00:00
Badlop
4c08e65fab
* src/tls/tls_drv.c: Fix to support OpenSSL older than
...
0.9.8f (EJAB-877)(thanks to Jonathan Schleifer)
* doc/guide.tex: It is again supported OpenSSL older than 0.9.8f
* doc/guide.html: Likewise
SVN Revision: 1979
2009-03-09 19:17:53 +00:00
Badlop
4dde341c9d
Merge 1925 from trunk.
...
* src/mod_proxy65/mod_proxy65_service.erl: if an ip option is not
defined, the module takes an IP address of a local
hostname (thanks to Evgeniy Khramtsov)
SVN Revision: 1978
2009-03-09 14:44:46 +00:00
Badlop
ed3cae6f11
* src/Makefile.in: In SunOS, use different C flags (thanks to
...
Thomas)(EJAB-438)
* src/ejabberd_zlib/Makefile.in: Likewise
* src/mod_irc/Makefile.in: Likewise
* src/stringprep/Makefile.in: Likewise
* src/tls/Makefile.in: Likewise
SVN Revision: 1977
2009-03-07 09:52:26 +00:00
Badlop
56c33e994d
* src/ejabberd_c2s.erl: Enforce privacy rules also for
...
subscription requests (EJAB-300)
* src/ejabberd_sm.erl: Likewise
SVN Revision: 1976
2009-03-07 08:59:26 +00:00
Badlop
d6820f2c2d
* src/mod_privacy.erl: Temporary workaround to inconsistency
...
* src/mod_privacy_odbc.erl: Likewise
SVN Revision: 1975
2009-03-07 08:53:34 +00:00
Badlop
cf4b7b36ee
Merge 1856 from trunk.
...
* src/eldap/eldap.erl: moves waiting for response queries to
pending queue on an LDAP connection failure (thanks to Evgeniy
Khramtsov)
SVN Revision: 1974
2009-03-06 11:50:23 +00:00
Badlop
d23ebd354b
Merge 1855 from trunk.
...
* src/eldap/eldap.erl: implemented queue for pending
queries (thanks to Evgeniy Khramtsov)
SVN Revision: 1973
2009-03-06 11:42:56 +00:00
Badlop
66c60c4e6d
Merge 1851 from trunk.
...
* src/eldap/eldap.erl: Close a connection on tcp_error (thanks to
Evgeniy Khramtsov)
SVN Revision: 1972
2009-03-06 11:39:12 +00:00
Badlop
19b803bb03
* src/ejabberd_app.erl: In a Windows machine, explicitly add the
...
nameservers, as it seems Erlang does not do itself (EJAB-860)
* src/win32_dns.erl: Get name servers from Windows registy (thanks
to Geoff Cant)
SVN Revision: 1968
2009-03-05 20:03:18 +00:00
Badlop
982f61774d
* doc/guide.tex: Require OpenSSL 0.9.8f or higher (EJAB-877)
...
* doc/guide.html: Likewise
SVN Revision: 1967
2009-03-05 19:48:24 +00:00
Badlop
7982492f50
* src/ejabberd_auth.erl: If anonymous auth is enabled, when
...
checking if the account already exists in other auth methods, take
into account if the auth method failed (EJAB-882)
* src/ejabberd_auth_anonymous.erl: Likewise
* src/ejabberd_auth_external.erl: Likewise
* src/ejabberd_auth_internal.erl: Likewise
* src/ejabberd_auth_ldap.erl: Likewise
* src/ejabberd_auth_odbc.erl: Likewise
* src/ejabberd_auth_pam.erl: Likewise
SVN Revision: 1966
2009-03-04 18:34:02 +00:00
Badlop
7af7afc30e
* src/mod_caps.erl: Fix two small compilation errors
...
SVN Revision: 1965
2009-03-04 09:55:20 +00:00
Christophe Romain
ab2dc5877f
Allow node creation without configure item
...
SVN Revision: 1964
2009-03-04 01:14:13 +00:00
Christophe Romain
592c98fd7a
update pubsub version
...
SVN Revision: 1961
2009-03-04 01:04:51 +00:00
Christophe Romain
facf17e689
Add roster subscriptions handling and make PEP events sent to all resources
...
SVN Revision: 1958
2009-03-03 23:26:07 +00:00
Badlop
1db9642e4c
Merge 1916 from trunk.
...
* src/ejabberd_listener.erl: Fix report message of 'undef' error
SVN Revision: 1955
2009-03-03 19:48:20 +00:00
Badlop
4df4527e77
Merge 1907 from trunk.
...
* src/ejabberd_listener.erl: Fix a minor compilation warning and
add EDoc comment
SVN Revision: 1954
2009-03-03 19:46:08 +00:00
Badlop
dbf0bb209d
Merge 1891 from trunk.
...
* src/ejabberd_listener.erl: When stopping a listener, don't stop
the listener supervisor (EJAB-874)
SVN Revision: 1953
2009-03-03 19:43:55 +00:00
Badlop
9a7c6b8be1
Merge 1884 from trunk.
...
* src/ejabberd_listener.erl: More error detections
SVN Revision: 1952
2009-03-03 19:40:55 +00:00
Badlop
36fc43c364
Merge 1883 from trunk.
...
* src/ejabberd_listener.erl: More error detections
SVN Revision: 1951
2009-03-03 19:39:36 +00:00
Badlop
f80758f0de
Merge 1882 from trunk.
...
* src/ejabberd_config.erl: Check certfiles are readable on server
start and listener start (EJAB-753)
* src/ejabberd_listener.erl: Likewise
SVN Revision: 1950
2009-03-03 19:38:13 +00:00
Badlop
25ef60a2c1
Merge 1875 from trunk.
...
* src/ejabberd_listener.erl: Report error at startup if a listener
module isn't available or is not an ejabberd listener (EJAB-868)
SVN Revision: 1949
2009-03-03 19:35:32 +00:00
Badlop
5bfdb71b4c
Merge 1881 from trunk.
...
* src/mod_privacy.erl: Privacy List: deny presence-out all + send
presence to: presence is sent (EJAB-255)
* src/ejabberd_c2s.erl: Likewise
SVN Revision: 1948
2009-03-03 19:32:48 +00:00
Badlop
890b1c4f60
Merge 1834 from trunk.
...
* src/mod_privacy.erl: Only run roster_get_jid_info if privacy
list has subscription or group (thanks to George Hazan)(EJAB-851).
Sort items in privacy list by order before storing (EJAB-848)
* src/mod_privacy.hrl: Likewise
* src/mod_privacy_odbc.erl: Likewise
SVN Revision: 1947
2009-03-03 19:26:24 +00:00
Badlop
4046ecc99e
Merge 1880 from trunk.
...
* src/mod_muc/mod_muc_room.erl: Owner of a password protected room
must provide the password, like other participants (EJAB-867)
SVN Revision: 1946
2009-03-03 19:07:24 +00:00
Badlop
fe297e1dea
Merge 1879 from trunk.
...
* src/mod_muc/mod_muc_log.erl: Prevent XSS in MUC logs by
linkifying only a few known protocols (EJAB-850)
SVN Revision: 1945
2009-03-03 19:03:56 +00:00
Badlop
f0c0b2230a
Merge 1878 from trunk.
...
* src/mod_muc/mod_muc.erl: Export function to create MUC
room (thanks to Eric Cestari) (EJAB-729)
SVN Revision: 1944
2009-03-03 19:01:24 +00:00
Badlop
23ec55975e
Merge 1877 from trunk.
...
* src/mod_roster.erl: When account is deleted, cancel presence
subscription for all roster items (EJAB-790)
* src/mod_roster_odbc.erl: Likewise
SVN Revision: 1943
2009-03-03 18:57:47 +00:00
Badlop
54da31e805
Merge 1874 from trunk.
...
* src/mod_shared_roster.erl: Fix bug: a pending subscription
request, and later the requester added to the roster due to a
shared roster group, that request could neither be accepted or
rejected (thanks to Brian Cully)(EJAB-869)
SVN Revision: 1942
2009-03-03 18:53:28 +00:00
Badlop
b0f29b20db
Merge 1876 from trunk.
...
* src/web/ejabberd_http_poll.erl: Allow configuration of session
timeout, using new global option http_poll_timeout (EJAB-135)
* doc/guide.tex: Document new option
* doc/guide.html: Likewise
SVN Revision: 1941
2009-03-03 18:49:02 +00:00
Badlop
c13ed8c625
Merge 1872 from trunk.
...
* src/ejabberd_system_monitor.erl: Allow parametrizable watchdog
threshold: option watchdog_large_heap or chatting with the
watchdog bot (EJAB-545)
* src/ejabberd_config.erl: Likewise
* doc/guide.tex: Likewise
* doc/guide.html: Likewise
SVN Revision: 1940
2009-03-03 18:45:26 +00:00
Badlop
79463d7f7d
Merge 1873 from trunk.
...
* src/web/ejabberd_web_admin.erl: Show big integers with comma
separators for easy reading
SVN Revision: 1939
2009-03-03 18:29:53 +00:00
Badlop
77ff657351
Merge 1859 from trunk.
...
* src/web/ejabberd_web_admin.erl: Calls to the hook
webadmin_menu_node provide the node as first argument, and calls
to webadmin_menu_hostnode provide both the host and the node. Fix
call to make_menu_items, because webadmin_menu_node was called in
cases where webadmin_menu_hostnode should be called. Align to
right some table elements.
SVN Revision: 1938
2009-03-03 18:24:42 +00:00
Badlop
85412f0a41
Merge from trunk: 1835, 1836, 1842, 1843, 1854, 1858, 1860, 1861, and 1862.
...
* doc/Makefile: In Clean do not remove html. In new Distclean,
remove also html.
* doc/Makefile: When cleaning, remove contributed_modules.tex
* src/Makefile.in: Fix arguments to Install program
* doc/guide.tex: Provide only an example of language option
* doc/guide.html: Likewise
* doc/guide.tex: mod_muc can run in several nodes of cluster
* doc/guide.html: Likewise
* doc/api/process-one.css: Add some style to HTML elements
* src/ejabberd_listener.erl: Fix EDoc errors
* src/web/ejabberd_web_admin.erl: Likewise
* src/ejabberd_hooks.erl: Explanation in EDoc of some functions
* doc/guide.tex: Explain that account creation is only supported
by internal and odbc authentication methods
* doc/guide.html: Likewise
* src/Makefile.in: The path to the installed copy of ejabberd
Guide is set in the environment variable
EJABBERD_DOC_PATH (EJAB-837).
* src/web/ejabberd_web_admin.erl: Likewise
* src/ejabberdctl.template: Likewise
* doc/guide.tex: Likewise
* doc/guide.html: Likewise
SVN Revision: 1937
2009-03-03 18:11:23 +00:00
Pablo Polvorin
54a6992ae0
Serialize s2s stanzas to iolist() rather than list()
...
SVN Revision: 1936
2009-03-02 15:48:01 +00:00
Pablo Polvorin
2c35514537
Correct include declaration (thanks to badlop). Bug was introduced in r1863
...
SVN Revision: 1935
2009-03-02 13:27:35 +00:00
Pablo Polvorin
7fea7b30b2
Elements and namespace for (XEP-0039) aren't know by exmpp (" http://jabber.org/protocol/stats " is represented as a list())
...
SVN Revision: 1934
2009-03-01 20:48:43 +00:00
Pablo Polvorin
f0d55c9a3f
Fix bug when clients connect using legacy ssl
...
(ejabberd_receiver:process_data/2 was called before initializing the xmlstream).
SVN Revision: 1933
2009-03-01 20:18:42 +00:00
Pablo Polvorin
3336d66fc4
Host argument for ejabberd_hooks's functions must be in binary() format.
...
SVN Revision: 1932
2009-03-01 19:03:35 +00:00
Badlop
19d27258d9
* src/mod_pubsub/node_default.erl: Fix that non-subscriber could
...
fetch items from Authorize node (thanks to Brian Cully)(EJAB-873)
SVN Revision: 1930
2009-02-27 23:56:46 +00:00
Pablo Polvorin
58e4b98d61
Fix small bug introduced in revision 1924.
...
SVN Revision: 1929
2009-02-27 21:09:44 +00:00
Badlop
c73e87e9c8
Merge fix from trunk r1910
...
* src/web/ejabberd_http.erl: Added a workaround for inet:peername
returning 'ebadf'
SVN Revision: 1928
2009-02-27 16:19:19 +00:00
Badlop
6482c11f92
* src/tls/tls_drv.c: S2S connection with STARTTLS fails to Gtalk
...
and recent Openfire (thanks to Philipp Hancke)(EJAB-877)
SVN Revision: 1926
2009-02-27 15:42:27 +00:00
Christophe Romain
f4a952032a
cosmetic changes
...
SVN Revision: 1924
2009-02-27 03:19:53 +00:00
Badlop
dd5a7bcd54
* doc/guide.tex: No mention to the release date in ejabberd Guide
...
or release notes. The date of an ejabberd release is determined by
the date of the corresponding release announcement.
SVN Revision: 1922
2009-02-26 23:10:28 +00:00
Badlop
34f6de0c84
* src/mod_pubsub/mod_pubsub.erl: Fix incorrect implementation of
...
Pubsub payload requirements (thanks to Andy Skelton)(EJAB-823)
SVN Revision: 1921
2009-02-25 21:17:14 +00:00
Pablo Polvorin
2678342c4a
mod_muc/mod_muc_log.erl: The logging code expect nicknames to be in list() format.
...
SVN Revision: 1920
2009-02-24 20:50:28 +00:00
Pablo Polvorin
0f53fea903
src/mod_echo.erl: Fix call to exmpp_xml:get_cdata_as_list/1.
...
SVN Revision: 1919
2009-02-24 20:25:57 +00:00
Pablo Polvorin
9b1e5928bd
Remove unused var
...
SVN Revision: 1918
2009-02-24 20:07:32 +00:00
Pablo Polvorin
31ef821e46
Exmpp related fixed to the external components service.
...
SVN Revision: 1917
2009-02-24 18:52:37 +00:00
Pablo Polvorin
3119badb2b
Removed a couple of expensive function calls used as arguments for
...
?DEBUG macros. All arguments used in the ?DEBUG macro are strictly
evaluated (even if the loglevel is higher).
The same is true for all log macros defined in ejabberd.hrl.
We might need to use lazy evaluation for the arguments, when they
are expensive to generate (wrap the arguments lists in a fun).
SVN Revision: 1915
2009-02-24 03:04:58 +00:00
Pablo Polvorin
acae6e20de
* Use exmpp_jid:to_binary/1 when possible.
...
* ejabberd_odbc:escape/1 now can escape binaries too. This
avoid the need to convert a binary value to list() just to
sql-escape it. The escaped value returned is allways a list()
(ejabberd's odbc drivers only works on lists())
SVN Revision: 1914
2009-02-23 19:45:55 +00:00
Christophe Romain
7a17baccac
Do not call mod_caps:clear_caps as it breaks PubSub/PEP (EJAB-854)
...
SVN Revision: 1913
2009-02-23 15:58:21 +00:00
Pablo Polvorin
4956259124
src/mod_roster.erl: Bugfix in remove_user/2, values already in binary() format.
...
SVN Revision: 1909
2009-02-21 18:07:37 +00:00
Badlop
a5f70e15a2
* src/ejabberd_auth.erl: Password is undefined when using digest
...
SVN Revision: 1908
2009-02-21 14:41:29 +00:00
Pablo Polvorin
2df100213b
mod_configure: Fix bug in form generation
...
SVN Revision: 1893
2009-02-20 16:34:56 +00:00
Pablo Polvorin
e989d41d50
"remove_user" hook actualized to expect binary arguments.
...
Fix webadmin code that performs addition / removal of users.
SVN Revision: 1892
2009-02-20 15:30:16 +00:00
Christophe Romain
edc0a9ac87
fix nodetree plugin resolver, and backport last changes from trunk
...
SVN Revision: 1890
2009-02-19 11:29:01 +00:00
Pablo Polvorin
5334a2d965
Bugfix: mod_announce.erl:get_title/2 now accepts node argument in binary() or list() format.
...
SVN Revision: 1887
2009-02-18 18:14:06 +00:00
Pablo Polvorin
7c10f3422a
src/web/ejabberd_web_admin.erl, src/web/ejabberd_web_admin.hrl:
...
Many exmpp related fixes. Fix a bug when displaying users lists,
if we can't access the 'offline_msg' mnesia table (using mod_offline_odbc).
This fix should be temporal, we should find a better way to manage this
situation.
src/web/ejabberd_http.erl: Language must be in binary() format.
src/translate.erl: Remove a debug call to io:format/2.
src/ejabberd_sm.erl, src/mod_configure.erl, src/mod_disco.erl:
ejabberd_sm:get_user_resources/2 returns resources as binary().
src/ejabberd_sm.erl: Bugfix in get_user_info/3.
SVN Revision: 1886
2009-02-18 18:03:11 +00:00
Pablo Polvorin
ea62092d6e
src/ejabberd_auth.erl: Fix: for legacy authentication, the Digest parameters could be 'undefined'.
...
src/mod_muc/mod_muc_room.erl: Typo.
src/ejabberd_c2s.erl: Remove comment for an already done TODO.
SVN Revision: 1885
2009-02-18 13:48:06 +00:00
Christophe Romain
e977d099e2
prevent from calling get_vh_registered_users/2 when not available
...
SVN Revision: 1871
2009-02-13 15:01:55 +00:00
Jean-Sébastien Pédron
bf82bac328
o Document the type of the argument(s) and the returned type of every
...
functions.
o Add guardians expression to exported functions to ensure at an early
stage that we were given the right arguments.
o Fix table conversion to exmpp; many fields were left as string(),
preventing matching from working correctly.
o In user_roster_item_parse_query/4, fix a bug where the same variable
was used for two distinct purpose.
o In user_roster_item_parse_query/4, fix a bad usage of
exmpp_jid:jid_to_list/1.
PR: EJABP-1
SVN Revision: 1867
2009-02-06 13:43:40 +00:00
Jean-Sébastien Pédron
25bd2bc7fe
Document the short JID type.
...
PR: EJABP-1
SVN Revision: 1866
2009-02-06 13:35:40 +00:00
Jean-Sébastien Pédron
93b26d947c
Add documentation stub for some types. This will be filled later.
...
PR: EJABP-1
SVN Revision: 1865
2009-02-06 13:34:12 +00:00
Jean-Sébastien Pédron
8290026940
o Document the type of the argument(s) and the returned type of every
...
functions.
o Add guardians expression to many functions of ejabberd_auth and
ejabberd_auth_anonymous to ensure at an early stage that we were given
the right arguments. Other modules are not changed because they are only
used by ejabberd_auth which already does the check.
PR: EJABP-1
SVN Revision: 1863
2009-02-05 11:13:01 +00:00
Jean-Sébastien Pédron
4badd3b6ac
Disable "TODO:" interpretation in eDoc because usually, the following
...
text isn't in eDoc format.
PR: EJABP-1
SVN Revision: 1857
2009-01-30 15:50:13 +00:00
Jean-Sébastien Pédron
69a2194efe
exmpp_server_sasl:next_step/1 returns the mechanism as list() again, so
...
the call to binary_to_list/1 isn't necessary anymore.
PR: EJABP-1
SVN Revision: 1853
2009-01-23 14:06:48 +00:00
Jean-Sébastien Pédron
b5c8b99272
Document every functions to clarify the types to give and returned.
...
PR: EJABP-1
SVN Revision: 1852
2009-01-23 10:10:33 +00:00
Badlop
35926b96b4
* src/odbc/mysql.sql: Fix complain about comment syntax
...
* src/odbc/pg.sql: Likewise
SVN Revision: 1850
2009-01-23 00:10:00 +00:00
Pablo Polvorin
d1cf37bbec
Small fixes
...
SVN Revision: 1849
2009-01-22 22:19:03 +00:00
Jean-Sébastien Pédron
4c61d254cc
Add edoc-info & erlang.png to svn:ignore.
...
PR: EJABP-1
SVN Revision: 1848
2009-01-22 15:56:37 +00:00
Jean-Sébastien Pédron
9c68810c77
Ignore files generated by eDoc.
...
PR: EJABP-1
SVN Revision: 1847
2009-01-22 15:55:48 +00:00
Jean-Sébastien Pédron
4417608b27
Document every functions to clarify the types to give and returned.
...
PR: EJABP-1
SVN Revision: 1846
2009-01-22 15:54:03 +00:00
Jean-Sébastien Pédron
a105dcb060
In get_vh_session_list/1, remove a bad list_to_binary/1; now that
...
exmpp_stringprep return the correct type, it was used on a binary().
PR: EJABP-1
SVN Revision: 1845
2009-01-22 15:52:30 +00:00
Jean-Sébastien Pédron
0cf0992f78
Fix some eDoc @spec directives.
...
PR: EJABP-1
SVN Revision: 1844
2009-01-22 15:50:43 +00:00
Jean-Sébastien Pédron
842ebfcca0
A lot of bug fixes regarding attribute values type:
...
o Fix some bugs by getting attributes as list() instead of binary().
o Instead creating #xmlattr directly, use the new ?XMLATTR macro; it'll
take care of the anything-to-binary() conversion.
o Fix a bug where recipient and sender were used as binary() instead of
list(), which is required by the rest of the S2S code.
o Fix a bug where binary_to_list/1 was called on a list().
Now concerning JIDs :
o Now that #jid{} isn't part of the API of Exmppp anymore, replace
remaining direct usages by calls to exmpp_jid.
o Replace exmpp_jid:make_bare_jid() by exmpp_jid:make_jid().
o Replace exmpp_jid:*_to_jid/1 by exmpp_jid:parse_jid/1.
PR: EJABP-1
SVN Revision: 1841
2009-01-21 13:34:26 +00:00
Jean-Sébastien Pédron
376ee2ed90
o In process_iq_get/3 and process_iq_set/3, use binary() version of
...
LUser and LServer.
o In convert_to_exmpp2/2, user and server are stored as binary().
PR: EJABP-1
SVN Revision: 1840
2009-01-21 13:31:14 +00:00
Jean-Sébastien Pédron
2f1397c50e
Use string() version of UserName and UserHost.
...
PR: EJABP-1
SVN Revision: 1839
2009-01-21 13:30:18 +00:00
Jean-Sébastien Pédron
cdbb000638
Return invalid-mechanism when a mechanism isn't supported instead of
...
no-mechanism, which wasn't standard-compliant.
PR: EJABP-1
SVN Revision: 1838
2009-01-21 13:07:55 +00:00
Jean-Sébastien Pédron
8a413018c2
In match_acl/3, use string() version of User/Server/Resource to match an
...
ACL.
PR: EJABP-1
SVN Revision: 1837
2009-01-21 12:44:36 +00:00
Pablo Polvorin
03f2de75f5
Typo (prolists -> proplists).
...
SVN Revision: 1833
2009-01-19 17:45:11 +00:00
Jean-Sébastien Pédron
38c0f3cdc8
Replace remaining calls to deprecated API:
...
o In src/cyrsasl_digest.erl, replace hijacked usage of
xml:get_attr_s/2 by proper calls to proplists:get_value/3.
o Still in src/cyrsasl_digest.erl, replace a call to
stringprep:tolower/1 by exmpp_stringprep:to_lower/1.
o In src/ejabberd_service.erl, replace a call to xml:crypt/1 by
exmpp_xml:escape_using_entities/1.
PR: EJABP-1
SVN Revision: 1832
2009-01-19 15:58:16 +00:00
Jean-Sébastien Pédron
4d95ac08dd
Remove empty svn:mergeinfo properties so it won't get in the way during
...
future merges.
The server and the repository are Subversion 1.4.x: they are unable to
understand this property.
Subversion 1.5.x clients usually won't commit it on purpose when the
server and/or the repository are 1.4.x. But they will copy it when doing
WC-to-WC copy because they do not communicate with the server at this
time.
SVN Revision: 1831
2009-01-19 15:42:25 +00:00
Jean-Sébastien Pédron
fc77b48344
Merge from trunk (r1804 to r1829).
...
The merge party is over, you may now double-check that everything is in
place.
PR: EJABP-1
SVN Revision: 1830
2009-01-19 15:27:07 +00:00
Jean-Sébastien Pédron
ff500d8297
Merge from trunk (r1787 to r1804).
...
Included are fixes to src/mod_configure.erl and src/mod_caps.erl.
Note: this merge doesn't include the following revisions because it was
made by previous commits:
r1766, r1768, r1781, r1783, r1794, r1797, r1799, r1802.
Warning: Ejabberd may be broken until the merge is completly finished.
PR: EJABP-1
SVN Revision: 1829
2009-01-19 14:47:33 +00:00
Pablo Polvorin
e2ee44617c
translate.erl: Bugfix, ?MYLANG macro returns a list().
...
SVN Revision: 1828
2009-01-19 13:44:43 +00:00
Jean-Sébastien Pédron
25009ff9f4
Merge from trunk (r1764 to r1787).
...
Warning: Ejabberd may be broken until the merge is completly finished.
PR: EJABP-1
SVN Revision: 1827
2009-01-19 11:59:40 +00:00
Jean-Sébastien Pédron
bc51bd0dbd
Merge from trunk (r1752 to r1764).
...
Warning: Ejabberd may be broken until the merge is completly finished.
PR: EJABP-1
SVN Revision: 1826
2009-01-19 11:16:44 +00:00
Jean-Sébastien Pédron
8a27b5446d
Fix accesses to the new #jid opaque type.
...
PR: EJABP-1
SVN Revision: 1825
2009-01-19 10:14:55 +00:00
Jean-Sébastien Pédron
2cc2039ad8
Merge from trunk (r1734 to r1752).
...
Note: this merge doesn't include the following revisions because it was
made by previous commits:
r1737, r1740, r1745, r1747, r1748.
Additionnaly, any deprecated content was removed from jlib.hrl. This
leaves only the new RSM records.
Warning: Ejabberd may be broken until the merge is completly finished.
PR: EJABP-1
SVN Revision: 1824
2009-01-19 10:14:04 +00:00
Pablo Polvorin
04f6a2be37
Store host and room name as binary(). Use jid_to_binary() instead of jid_to_list().
...
SVN Revision: 1821
2009-01-15 19:41:06 +00:00
Pablo Polvorin
2538001b08
Store registered nicknames, rooms and domains as binary().
...
Use document_to_iolist/1 and iolist_size/1 instead of document_to_list/1.
SVN Revision: 1820
2009-01-15 15:21:54 +00:00
Pablo Polvorin
e8f630b93a
mod_pubsub: initial update to new hooks API (using binaries). mod_pubsub is still unusable with exmpp.
...
SVN Revision: 1809
2009-01-12 18:17:05 +00:00
Pablo Polvorin
49210e3099
Apply commit 1212 (caps handling fix), was incorrectly overwritten on 1770.
...
SVN Revision: 1807
2009-01-12 18:15:44 +00:00
Pablo Polvorin
96c0ff44f9
Fix typo
...
SVN Revision: 1806
2009-01-12 15:51:22 +00:00
Christophe Romain
56bccce713
fix previous fix misplacing (EJAB-840)
...
SVN Revision: 1803
2009-01-11 06:24:42 +00:00
Christophe Romain
89be1c2ede
fix owners cache and fix unsubscribe permissions (EJAB-840)
...
SVN Revision: 1800
2009-01-11 02:05:41 +00:00
Pablo Polvorin
c77f7e727b
Update gen_iq_handler API, require the 'Host' argument to be in binary() format.
...
Fix bug in vcard user search, odbc backend.
SVN Revision: 1796
2009-01-10 16:10:12 +00:00
Christophe Romain
36080fb682
fix unsubscription of full jid subscribed node (EJAB-839)
...
SVN Revision: 1795
2009-01-10 13:40:38 +00:00
Pablo Polvorin
98f51dc91f
Adapt to new exmpp API where get_id/1, get_lang/1, get_initiating_entity/1, get_receiving_entity/1 and get_type/1 returns binary().
...
SVN Revision: 1791
2009-01-09 19:18:46 +00:00
Christophe Romain
d2524b20d5
minor pubsub fixes
...
SVN Revision: 1782
2009-01-08 18:44:11 +00:00
Christophe Romain
068c93e562
fix EJAB-701 and EJAB-836
...
SVN Revision: 1781
2009-01-08 17:27:47 +00:00
Pablo Polvorin
e0e58711bb
XML attributes as binary(). Change Node argument to binary in the following hooks:
...
disco_local_items, disco_local_features, disco_local_identity, disco_sm_items and
disco_sm_identity.
SVN Revision: 1780
2009-01-08 14:54:00 +00:00
Pablo Polvorin
2cbd61f268
Fix typo in mod_roster
...
SVN Revision: 1773
2009-01-05 15:41:53 +00:00
Pablo Polvorin
4827db4f56
Big #jid to binary() conversion.
...
Internal tables (ejabberd_router, ejabberd_sm, ejabberd_hooks, mod_last, mod_roster) use binary() as storage.
Basic test using the ODBC backend.
SVN Revision: 1770
2009-01-03 15:15:38 +00:00
Christophe Romain
1a44fe29b4
PubSub: Added access-whitelist and member-affiliation features (EJAB-780)
...
SVN Revision: 1769
2009-01-03 00:58:18 +00:00
Christophe Romain
e032a8c54f
PubSub cleanup, EJAB-827 fix, EJAB-701 partial fix
...
SVN Revision: 1767
2009-01-03 00:29:36 +00:00
Christophe Romain
214ef31053
Improve handling of PEP sent to external contacts (EJAB-825)
...
SVN Revision: 1751
2008-12-23 13:58:38 +00:00
Christophe Romain
978adbbd94
Fix send_last_published_item issue when running on clustered table (EJAB-793)
...
SVN Revision: 1741
2008-12-20 00:01:26 +00:00
Christophe Romain
e6535dcc67
Check option of the nodetree instead of checking configuration
...
SVN Revision: 1738
2008-12-18 13:46:30 +00:00
Pablo Polvorin
d3ddf10839
mod_muc_room.erl: Fix bug in MUC invite.
...
SVN Revision: 1736
2008-12-17 16:24:15 +00:00
Jean-Sébastien Pédron
69805f36fa
Merge from trunk (r1730 to r1734).
...
PR: EJABP-1
SVN Revision: 1735
2008-12-17 13:52:44 +00:00
Jean-Sébastien Pédron
6a3436b1c4
Merge from trunk (r1709 to r1730).
...
Ejabberd should be usable again.
PR: EJABP-1
SVN Revision: 1731
2008-12-16 13:16:56 +00:00
Jean-Sébastien Pédron
62f9f6e6c5
Convert to exmpp the parts in mod_pubsub recently merged from trunk.
...
Warning: Ejabberd is unusable because the rest of trunk hasn't been
merged yet!
PR: EJABP-1
SVN Revision: 1730
2008-12-16 10:31:08 +00:00
Christophe Romain
96aaba738b
fix get_item_name deadlock on transaction
...
SVN Revision: 1729
2008-12-15 19:58:53 +00:00
Jean-Sébastien Pédron
f83fc51960
Replace stringprep by exmpp_stringprep.
...
PR: EJABP-1
SVN Revision: 1726
2008-12-10 14:44:08 +00:00
Christophe Romain
e1575e3177
fix typo bug injected in r1712
...
SVN Revision: 1725
2008-12-09 22:42:34 +00:00
Christophe Romain
3d28a7837d
minor bugfix
...
SVN Revision: 1723
2008-12-09 22:09:30 +00:00
Christophe Romain
44b4c29d08
lattest pubsub merge added in Changelog
...
SVN Revision: 1721
2008-12-09 00:35:27 +00:00
Christophe Romain
9f2fda6060
merge to lattest trunk r1716
...
SVN Revision: 1720
2008-12-09 00:32:36 +00:00
Jean-Sébastien Pédron
3bfb2b5cc1
Merge from trunk (r1692 to r1709).
...
PR: EJABP-1
SVN Revision: 1710
2008-12-08 12:02:27 +00:00
Jean-Sébastien Pédron
82b97b9639
Finish the conversion of mod_pubsub to Exmpp.
...
PR: EJABP-1
SVN Revision: 1709
2008-12-08 11:21:32 +00:00
Jean-Sébastien Pédron
d01c24bd23
Fix acl:match_rule/3 call. It takes a #jid record, not a short JID.
...
PR: EJABP-1
SVN Revision: 1708
2008-12-08 11:20:21 +00:00
Jean-Sébastien Pédron
163d185776
First pass of Exmpp conversion for mod_pubsub.
...
CAUTION:
o Several modules aren't converted yet.
o Existent Mnesia tables written to disc are not updated.
o There must be bugs, mostly because of the mix between #jid record
and short JIDs.
PR: EJABP-1
SVN Revision: 1705
2008-12-05 15:13:09 +00:00
Jean-Sébastien Pédron
6305ddca18
Add the module and function names to the error message, when a module
...
crash.
SVN Revision: 1704
2008-12-05 15:08:03 +00:00
Jean-Sébastien Pédron
b82b66fdf0
Update Exmpp XML parser options.
...
SVN Revision: 1703
2008-12-05 15:06:49 +00:00
Jean-Sébastien Pédron
b425093813
Convert mod_proxy65 to exmpp.
...
SVN Revision: 1701
2008-12-03 14:34:43 +00:00
Jean-Sébastien Pédron
f30d2b9f1c
Fix two warnings about unused variables.
...
PR: EJABP-1
SVN Revision: 1696
2008-12-01 15:54:57 +00:00
Jean-Sébastien Pédron
9e96043255
Merge from trunk (r1649 to r1692).
...
PR: EJABP-1
SVN Revision: 1695
2008-12-01 15:53:30 +00:00
Jean-Sébastien Pédron
bd300e870c
Convert mod_muc to Exmpp.
...
PR: EJABP-1
Submitted by: Pablo Polvorin <pablo.polvorin@process-one.net >
SVN Revision: 1692
2008-12-01 15:01:27 +00:00
Jean-Sébastien Pédron
e06f533f6b
Start the exmpp application.
...
PR: EJABP-1
Submitted by: Pablo Polvorin <pablo.polvorin@process-one.net >
SVN Revision: 1691
2008-12-01 15:00:36 +00:00
Jean-Sébastien Pédron
7088ba88a9
o In store_last_info/4, fix a bug where the status was not converted to
...
list before calling ejabberd_odbc:escape/1.
o In get_last_info/2, fix a bug where the status was returned as a list
instead of a binary.
SVN Revision: 1690
2008-12-01 12:16:41 +00:00
Jean-Sébastien Pédron
0313adaec6
Convert to exmpp.
...
PR: EJABP-1
SVN Revision: 1663
2008-10-20 10:34:00 +00:00
Jean-Sébastien Pédron
50b1e4c36f
Convert to exmpp.
...
The admin web interface is working but HTTP polling seems broken in the
trunk.
PR: EJABP-1
SVN Revision: 1654
2008-10-13 15:36:43 +00:00
Jean-Sébastien Pédron
a94caf218f
Remove all deprecated functions from jlib.
...
This was accidentally committed with the merge.
PR: EJABP-1
SVN Revision: 1651
2008-10-13 11:43:33 +00:00
Jean-Sébastien Pédron
ab2b70f189
Merge from trunk (r1613 to 1649).
...
PR: EJABP-1
SVN Revision: 1650
2008-10-13 10:11:19 +00:00
Jean-Sébastien Pédron
3190c0ed6c
Convert to exmpp.
...
PR: EJABP-1
SVN Revision: 1649
2008-10-13 09:39:58 +00:00
Jean-Sébastien Pédron
461a5eb315
Convert to exmpp.
...
PR: EJABP-1
SVN Revision: 1648
2008-10-13 09:39:18 +00:00
Jean-Sébastien Pédron
01ef834b82
Remove the deprecated list of converted modules.
...
PR: EJABP-1
SVN Revision: 1647
2008-10-13 09:38:34 +00:00
Jean-Sébastien Pédron
0211c8145d
Replace jlib:nameprep/1 by exmpp_stringprep:nameprep/1.
...
PR: EJABP-1
SVN Revision: 1646
2008-10-13 09:37:48 +00:00
Jean-Sébastien Pédron
4a9892fa15
Replace jlib:nameprep/1 by exmpp_stringprep:nameprep/1 and change the
...
error handling.
PR: EJABP-1
SVN Revision: 1628
2008-10-10 15:24:47 +00:00
Jean-Sébastien Pédron
71bfefa788
Convert to exmpp.
...
PR: EJABP-1
SVN Revision: 1627
2008-10-10 15:23:58 +00:00
Jean-Sébastien Pédron
071c858055
Don't start stringprep_sup.
...
PR: EJABP-1
SVN Revision: 1626
2008-10-10 14:58:35 +00:00
Jean-Sébastien Pédron
0244963935
Replace jlib:nameprep/1 by exmpp_stringprep:nameprep/1 and change the
...
error handling.
PR: EJABP-1
SVN Revision: 1625
2008-10-10 14:57:44 +00:00
Jean-Sébastien Pédron
3adb238b31
Fix a bug where the wrong module was called (jlib instead of exmpp_jid).
...
PR: EJABP-1
SVN Revision: 1624
2008-10-10 14:41:26 +00:00
Jean-Sébastien Pédron
e3100110f0
Replace jlib:nameprep/1 by exmpp_stringprep:nameprep/1 and change the
...
error handling.
PR: EJABP-1
SVN Revision: 1623
2008-10-10 14:40:04 +00:00
Jean-Sébastien Pédron
5224a796cc
Replace jlib:iq_to_xml/1 by exmpp_iq:iq_to_xmlel/1.
...
PR: EJABP-1
SVN Revision: 1622
2008-10-10 14:38:52 +00:00
Jean-Sébastien Pédron
285b3858dd
Replace jlib:*prep/1 by exmpp_stringprep:*prep/1 and change the error
...
handling.
PR: EJABP-1
SVN Revision: 1621
2008-10-10 14:37:26 +00:00
Jean-Sébastien Pédron
53bea055aa
Remove a remaining jlib:jid_remove_resource/1 call.
...
PR: EJABP-1
SVN Revision: 1620
2008-10-10 14:36:25 +00:00
Jean-Sébastien Pédron
129b0e99cf
Replace jlib:nodeprep/1 by exmpp_stringprep:nodeprep/1 and change the
...
error handling.
PR: EJABP-1
SVN Revision: 1619
2008-10-10 14:35:17 +00:00
Jean-Sébastien Pédron
c0e4af9ac0
Replace jlib:nameprep/1 by exmpp_stringprep:nameprep/1 and change the
...
error handling.
PR: EJABP-1
SVN Revision: 1618
2008-10-10 14:33:16 +00:00
Jean-Sébastien Pédron
ccd94bb734
Fix a buf where a tuple was passed to exmpp_jid:jid_to_list/1 instead of
...
a #jid. Now we use exmpp_jid:jid_to_list/3.
PR: EJABP-1
Submitted by: Pablo Polvorin <pablo.polvorin@process-one.net >
SVN Revision: 1617
2008-10-10 08:16:29 +00:00
Jean-Sébastien Pédron
e1b3bd611d
Fix a bug where legacy authentication informations were not search among
...
the query children but among the IQ children.
PR: EJABP-1
Submitted by: Pablo Polvorin <pablo.polvorin@process-one.net >
SVN Revision: 1616
2008-10-10 08:14:08 +00:00
Jean-Sébastien Pédron
6ab7e339bd
Fix handling of unauthenticated stanzas which are not request IQ.
...
PR: EJABP-1
Submitted by: Pablo Polvorin <pablo.polvorin@process-one.net >
SVN Revision: 1615
2008-10-09 11:54:42 +00:00
Jean-Sébastien Pédron
67a87af459
Merge from trunk (r1563 to r1613).
...
PR: EJABP-1
SVN Revision: 1614
2008-10-08 12:02:30 +00:00
Jean-Sébastien Pédron
aaecdc4b8a
Convert to exmpp.
...
PR: EJABP-1
Submitted by: Pablo Polvorin <pablo.polvorin@process-one.net >
SVN Revision: 1611
2008-10-07 12:20:09 +00:00
Jean-Sébastien Pédron
78466384c4
Convert to exmpp.
...
PR: EJABP-1
SVN Revision: 1610
2008-10-07 09:55:38 +00:00
Jean-Sébastien Pédron
ca7a0813b4
Fix a bug where an error stanza was not created correctly, leading to
...
ejabberd_c2s crash.
PR: EJABP-1
SVN Revision: 1609
2008-10-07 09:54:53 +00:00
Jean-Sébastien Pédron
bc0d8613ab
Fix status handling by always using binaries: until now, we were mixing
...
lists and binaries in a non-working way.
PR: EJABP-1
Submitted by: Pablo Polvorin <pablo.polvorin@process-one.net >
SVN Revision: 1608
2008-10-06 15:16:09 +00:00
Jean-Sébastien Pédron
0434c1424a
The Mnesia table wasn't updated when converting from an old schema.
...
PR: EJABP-1
SVN Revision: 1607
2008-10-06 15:14:01 +00:00
Jean-Sébastien Pédron
3f8a303286
Convert to exmpp.
...
PR: EJABP-1
Submitted by: Pablo Polvorin <pablo.polvorin@process-one.net >
SVN Revision: 1606
2008-10-06 15:01:36 +00:00
Jean-Sébastien Pédron
5ceffdd5a7
Fix a confusion between #jid and tuples.
...
PR: EJABP-1
Submitted by: Pablo Polvorin <pablo.polvorin@process-one.net >
SVN Revision: 1604
2008-10-06 15:00:34 +00:00
Jean-Sébastien Pédron
01da93bf70
mod_privacy & friends may return an empty list.
...
PR: EJABP-1
Submitted by: Pablo Polvorin <pablo.polvorin@process-one.net >
SVN Revision: 1603
2008-10-06 14:58:45 +00:00
Jean-Sébastien Pédron
028a3c2ded
Fix a bug where we were matching on #iq.type instead of #iq.kind,
...
resulting in bad-request sent to the client.
PR: EJABP-1
SVN Revision: 1602
2008-10-06 14:56:36 +00:00
Jean-Sébastien Pédron
1698b8ec04
o In start/2 and stop/1, the IQ registration must use a namespace as
...
atom, not list.
o The functions process_local_iq/3, process_sm_iq/3 and get_last/3
receive an #iq, not an #xmlel.
o In store_last_info/4 and remove_user/2, add try/catch block around
exmpp_stringprep:*prep/1 uses.
SVN Revision: 1594
2008-10-02 14:59:48 +00:00
Jean-Sébastien Pédron
9e018532c8
o In #jid, when the node isn't specified, it defaults to the atom
...
"undefined", not an empty binary.
o Fix a bug where we expected an #xmlelement to have only one #xmlcdata
child.
SVN Revision: 1593
2008-10-02 13:52:39 +00:00
Jean-Sébastien Pédron
24cb7cb039
exmpp_xml:get_element_by_name/2 is deprecated; use
...
exmpp_xml:get_element/2 instead.
SVN Revision: 1592
2008-10-02 13:34:52 +00:00
Jean-Sébastien Pédron
7c28aba6a1
Fix a bug where a JID represented as a tuple was used in a function
...
expecting a #jid.
PR: EJABP-1
Submitted by: Pablo Polvorin <pablo.polvorin@process-one.net >
SVN Revision: 1591
2008-10-02 13:17:49 +00:00
Jean-Sébastien Pédron
2309f9b8bc
Fix multiple bugs in ODBC mods.
...
PR: EJABP-1
Submitted by: Pablo Polvorin <pablo.polvorin@process-one.net >
SVN Revision: 1589
2008-10-01 09:41:57 +00:00
Jean-Sébastien Pédron
ddcb94649d
Fill exmpp_xml known list with the nss/names/attrs used by this module.
...
SVN Revision: 1585
2008-09-29 13:19:11 +00:00
Jean-Sébastien Pédron
5f7e16eac3
Add the {autoload_known, true} flag to the XML parser options. This
...
allows modules to extend the known nss/names/attrs with their own data.
SVN Revision: 1584
2008-09-29 13:17:21 +00:00
Jean-Sébastien Pédron
da034b3090
Fix a bug in #xmlel construction: children must be a list.
...
SVN Revision: 1583
2008-09-29 11:30:25 +00:00
Jean-Sébastien Pédron
12d515a8fe
Convert to exmpp (not tested yet).
...
SVN Revision: 1582
2008-09-29 11:29:09 +00:00
Jean-Sébastien Pédron
f5f3c85112
Remove compatibility code (not tested yet).
...
SVN Revision: 1581
2008-09-29 10:38:04 +00:00
Jean-Sébastien Pédron
d8153b702a
o Add try/catch block around exmpp_stringprep:*prep/1 uses.
...
o Add table conversion.
o In get_last/3, do not convert status to binary because it's already
one.
SVN Revision: 1580
2008-09-29 10:34:06 +00:00
Jean-Sébastien Pédron
9a4f5bb2d9
When the status is not specified in a presence stanza, default to an
...
empty binary, not an empty string; this is what mod_last expects.
SVN Revision: 1579
2008-09-29 10:31:24 +00:00
Jean-Sébastien Pédron
7624284070
Remove compatilibity code.
...
SVN Revision: 1578
2008-09-29 09:42:46 +00:00
Jean-Sébastien Pédron
c32cbd90e8
Fix a bug in parse_xdata_submit/1 and parse_xdata_fields/2 where
...
exmpp_xml:get_attribute_from_list/3 was called with only 2 arguments;
this code has not been updated when exmpp_xml's API changed...
SVN Revision: 1577
2008-09-29 09:42:05 +00:00
Jean-Sébastien Pédron
c068d20588
In mod_offline:
...
o Remove any compatibility code: the core of Ejabberd expects new
structures.
o Add table conversion.
o Add try/catch block around exmpp_stringprep:*prep/1 uses.
To permit the complete removal of the compatibility code, jlib had to be
changed too: the timestamp_to_xml/1 function now returns an #xmlel.
SVN Revision: 1575
2008-09-25 10:46:00 +00:00
Jean-Sébastien Pédron
c74ab439ef
Convert to exmpp.
...
SVN Revision: 1574
2008-09-23 13:11:05 +00:00
Jean-Sébastien Pédron
44c77364ce
Fix a typo in the exmpp_stringprep module name.
...
SVN Revision: 1573
2008-09-23 13:10:33 +00:00
Jean-Sébastien Pédron
0dbbf53fbe
o Fix a misuse of exmpp_stanza:error/2: the namespace argument (the
...
first one) was missing.
o Fix a bug in process_privacy_iq/4 where the #iq record was not
converted back to an #xmlel before calling ejabberd_router:route/3.
SVN Revision: 1572
2008-09-23 13:09:32 +00:00
Jean-Sébastien Pédron
052d006c88
Fix a typo in the exmpp_stringprep module name.
...
SVN Revision: 1571
2008-09-23 13:06:45 +00:00
Jean-Sébastien Pédron
0e91ea9e5f
o Fix a bug in process_sm_iq/3 where a badmatch exception was raised
...
when the user didn't have a vCard.
o Fix a bug in remove_user/2 where the exmpp_jid module was use instead
of exmpp_stringprep.
SVN Revision: 1570
2008-09-23 13:05:43 +00:00
Jean-Sébastien Pédron
5803c51633
Convert to exmpp.
...
SVN Revision: 1568
2008-09-22 11:18:08 +00:00
Jean-Sébastien Pédron
35a7342416
o Remove unappropriate comments in get_sm_features/5.
...
o Use the '_s' variants of NS_* macros instead of a call to
atom_to_list/1 in do_route/4.
o A call to the stringprep module was left in filter_fields/3.
SVN Revision: 1567
2008-09-22 11:17:23 +00:00
Jean-Sébastien Pédron
e9d7ac68da
o Fix a bug in get_in_pending_subscriptions() where the type of the
...
presence stanza was lost.
o Reorganize a few lines in user_roster() to match mod_roster_odbc.
SVN Revision: 1566
2008-09-18 14:55:43 +00:00
Jean-Sébastien Pédron
56a0c8ed1d
Convert to exmpp.
...
SVN Revision: 1565
2008-09-18 14:55:03 +00:00
Jean-Sébastien Pédron
4eaa8e19c9
Merge from trunk (r1457 to r1563).
...
SVN Revision: 1564
2008-09-16 14:39:57 +00:00
Jean-Sébastien Pédron
414948d822
VCard are now stored as #xmlel. Mnesia tables are converted during
...
startup.
SVN Revision: 1553
2008-08-27 12:39:49 +00:00
Jean-Sébastien Pédron
02e6bf8759
handle_cast({disco_response, ...}, ...) now receives an #iq record:
...
update the code to handle this.
SVN Revision: 1552
2008-08-27 09:46:25 +00:00
Jean-Sébastien Pédron
8baed08641
Remove a debugging io:format/2.
...
SVN Revision: 1551
2008-08-27 09:45:01 +00:00
Jean-Sébastien Pédron
4e39f4cab1
o Remove compatibility code. Use the atom 'undefined' in JIDs (normal
...
and short).
o Add try/catch blocks where Exmpp can raise exceptions.
o Remove some unused code.
o Convert on-disk Mnesia database: JIDs, extra XML elements and
askmessage are concerned.
o By default, 'askmessage' is now an empty binary instead of an empty
string, for consistency's sake.
o Fix some bugs.
SVN Revision: 1547
2008-08-26 13:59:04 +00:00
Jean-Sébastien Pédron
9f0d79da9a
o Use the new functions from jlib.
...
o Remove the compatibility code. It's becoming confusing to handle every
case every where. Also, in JIDs (normal and short), the atom "undefined'
is expected, not the empty string anymore!
SVN Revision: 1546
2008-08-26 13:38:49 +00:00
Jean-Sébastien Pédron
80fcd2eb56
Remove commented-out code and use proper variable names.
...
SVN Revision: 1545
2008-08-26 13:00:35 +00:00
Jean-Sébastien Pédron
5aead42964
Use the new short_prepd_jid/1 function from jlib.
...
SVN Revision: 1544
2008-08-26 12:58:13 +00:00
Jean-Sébastien Pédron
ab75683bc9
short_jid/1 and short_bare_jid/1 now produce a short JID from the
...
user-provided JID parts. To obtain a short JID from the STRINGPREP'd
parts, use the new short_prepd_jid/1 and short_prepd_bare_jid/1
functions.
SVN Revision: 1543
2008-08-26 12:56:45 +00:00
Jean-Sébastien Pédron
d8c3aae412
Convert to the new #iq record from Exmpp.
...
SVN Revision: 1524
2008-08-14 13:36:11 +00:00
Jean-Sébastien Pédron
5e78c53572
Remove the compatibility layer and always call modules with the new #iq
...
record from Exmpp.
SVN Revision: 1523
2008-08-14 13:34:30 +00:00
Jean-Sébastien Pédron
44d3e844a3
Accept 'undefined' as a language and treat it as the empty string.
...
SVN Revision: 1522
2008-08-14 13:32:31 +00:00
Jean-Sébastien Pédron
85c2097ece
Update to use the new names used in exmpp_jid.
...
SVN Revision: 1515
2008-08-06 13:51:42 +00:00
Jean-Sébastien Pédron
cb20c9b0d7
Update to use the new exmpp_xml:get_attribute/{3,4} API.
...
SVN Revision: 1514
2008-08-06 13:46:23 +00:00
Jean-Sébastien Pédron
d9a493561b
Convert to exmpp.
...
SVN Revision: 1513
2008-08-06 13:44:58 +00:00
Jean-Sébastien Pédron
70956ece12
Convert to exmpp.
...
SVN Revision: 1492
2008-07-25 14:26:59 +00:00
Jean-Sébastien Pédron
adaf392156
o Finish conversion to exmpp for mod_caps.
...
o In ejabberd_loca, IQ response handler are now always called with
arguments in the new format.
SVN Revision: 1469
2008-07-22 14:51:19 +00:00
Jean-Sébastien Pédron
37b99639d4
Convert to exmpp.
...
SVN Revision: 1468
2008-07-22 14:03:11 +00:00
Jean-Sébastien Pédron
a8ab6c1568
Add support for #xmlel to parse_xdata_submit/1 and friends. This fixes
...
the user search in mod_vcard.
SVN Revision: 1466
2008-07-21 15:54:47 +00:00
Jean-Sébastien Pédron
4a1e45070e
One call to jlib:jid_to_string/1 was remaining.
...
SVN Revision: 1465
2008-07-21 15:53:58 +00:00
Jean-Sébastien Pédron
b33ac47228
Convert to exmpp.
...
SVN Revision: 1464
2008-07-21 15:30:32 +00:00
Jean-Sébastien Pédron
6e91399922
Convert to exmpp.
...
SVN Revision: 1463
2008-07-21 15:29:52 +00:00
Jean-Sébastien Pédron
75a8be230b
Prepare gen_iq_handler to pass arguments in the new format to a built-in
...
list of modules known to support them. Other modules will still receive
arguments in the old format.
SVN Revision: 1462
2008-07-21 15:28:44 +00:00
Jean-Sébastien Pédron
07b1210b50
Merge revisions from 1444 to revision 1457 from trunk.
...
SVN Revision: 1458
2008-07-17 15:33:50 +00:00
Jean-Sébastien Pédron
532e8ee228
Start conversion to exmpp. For now, only direct calls from ejabberd_c2s
...
are done. Calls through gen_iq_handler aren't.
SVN Revision: 1457
2008-07-17 15:26:48 +00:00
Jean-Sébastien Pédron
574dbbfd08
Merge revisions from 1434 to revision 1444 from trunk.
...
SVN Revision: 1445
2008-07-15 08:45:05 +00:00
Jean-Sébastien Pédron
332fb55e3a
MFC:
...
Merge revisions from 1362 to revision 1434 from trunk.
SVN Revision: 1435
2008-07-11 12:48:27 +00:00
Jean-Sébastien Pédron
5610d00b4d
Convert to exmpp. Note that this module hasn't been tested yet!
...
SVN Revision: 1434
2008-07-11 12:41:48 +00:00
Jean-Sébastien Pédron
8bfccb42a9
Exmpp now takes care of stanza serialization and compatible namespaces.
...
SVN Revision: 1433
2008-07-11 12:40:49 +00:00
Jean-Sébastien Pédron
7ca5bebab3
Convert to exmpp.
...
SVN Revision: 1422
2008-07-09 09:16:03 +00:00
Jean-Sébastien Pédron
d5aa4be7e5
Convert #xmlelement returned by the 'c2s_stream_features' hook to
...
#xmlel.
SVN Revision: 1421
2008-07-09 09:14:19 +00:00
Jean-Sébastien Pédron
1a687a4f1a
SASL errors are now atoms, not strings anymore.
...
SVN Revision: 1420
2008-07-08 15:43:52 +00:00
Jean-Sébastien Pédron
13b78b1ad2
Routing is now done with #xmlel. A warning is printed if those modules
...
have to route an old #xmlelement.
SVN Revision: 1406
2008-07-01 15:51:34 +00:00
Jean-Sébastien Pédron
48cf5cb84a
Do not use the #iq record anymore internally. However it's still created
...
and passed to other modules.
SVN Revision: 1405
2008-07-01 14:25:02 +00:00
Jean-Sébastien Pédron
5317dd64d7
Change warning message.
...
SVN Revision: 1404
2008-07-01 14:20:20 +00:00
Jean-Sébastien Pédron
a25609f66b
Accept new #xmlel in functions that create #iq. A warning is printed
...
when these functions are called with an old #xmlelement.
SVN Revision: 1403
2008-07-01 14:19:36 +00:00
Jean-Sébastien Pédron
d6e6432a46
Convert to exmpp.
...
SVN Revision: 1402
2008-07-01 13:34:51 +00:00
Jean-Sébastien Pédron
094fa47f9f
Convert gen_iq_handler to exmpp.
...
SVN Revision: 1401
2008-07-01 10:21:35 +00:00
Jean-Sébastien Pédron
6f7cf2e58b
Use a function to convert to old structures instead of duplicating code
...
inside the module.
SVN Revision: 1400
2008-07-01 10:20:01 +00:00
Jean-Sébastien Pédron
b08ae07347
acl doesn't require conversion anymore.
...
SVN Revision: 1399
2008-07-01 09:46:57 +00:00
Jean-Sébastien Pédron
ffbf8d5faa
Convert acl to exmpp.
...
SVN Revision: 1398
2008-07-01 09:41:32 +00:00
Jean-Sébastien Pédron
f55274c7fb
o Use jlib:short_bare_jid/1.
...
o Rewrite is_auth_packet/1 to use new formats.
o Don't convert <presence/> before calling ejabberd_sm:set_presence/7.
o Don't convert broadcast children, because it's an internal special
element.
SVN Revision: 1397
2008-07-01 09:17:48 +00:00
Jean-Sébastien Pédron
b9074097da
Forgot to convert a <presence/> from the new to the old record.
...
SVN Revision: 1396
2008-07-01 09:13:49 +00:00
Jean-Sébastien Pédron
83a33726ce
Add function short_bare_jid/1.
...
SVN Revision: 1395
2008-07-01 09:12:59 +00:00
Jean-Sébastien Pédron
8c33e12616
Use the new clause of exmpp_stanza:reply_with_error/2, exmpp_iq:error/2,
...
exmpp_iq:error_without_original/2 and the new exmpp_jid:make_bare_jid/1.
SVN Revision: 1394
2008-07-01 08:01:06 +00:00
Jean-Sébastien Pédron
87218e1447
Convert to exmpp.
...
SVN Revision: 1393
2008-07-01 07:49:57 +00:00
Jean-Sébastien Pédron
06965000a5
Before doing any routing, the router print a warning if old structures
...
are used. Then it converts the structures to the old format and route
them. The router doesn't care about the structures format but the
conversion is necesary for code called from this module.
In C2S and S2S, no conversion is done before calling
ejabberd_router:route/3.
SVN Revision: 1392
2008-06-30 16:55:03 +00:00
Jean-Sébastien Pédron
cc033b3b98
o Use the new functions from jlib.
...
o Use the new exmpp_xml:node_to_list/3.
SVN Revision: 1391
2008-06-30 15:51:23 +00:00
Jean-Sébastien Pédron
290040ad9d
o Add function to convert to and from old ejabberd #jid record.
...
o Move function short_jid/1 from ejabberd_c2s.
SVN Revision: 1390
2008-06-30 15:49:58 +00:00
Jean-Sébastien Pédron
264e72830b
Convert to exmpp.
...
SVN Revision: 1389
2008-06-30 14:04:31 +00:00
Jean-Sébastien Pédron
d05c2ee8a1
Use -include_lib instead of -include to include exmpp.hrl. This is a
...
better solution than specifying the path (with -I) on erlc(1) command
line.
SVN Revision: 1388
2008-06-30 12:13:15 +00:00
Jean-Sébastien Pédron
b32aba27c1
o Use the new exmpp namespace macro names.
...
o Update send_element/2 to use exmpp new to_list functions.
SVN Revision: 1384
2008-06-27 13:46:08 +00:00
Jean-Sébastien Pédron
22e79490ff
Convert to exmpp.
...
SVN Revision: 1383
2008-06-26 15:48:19 +00:00
Jean-Sébastien Pédron
1a311a30b5
o Use a macro in ?DEFAULT_NS instead of the namespace atom directly.
...
o Comment DBGFSM our again.
o Remove macro ERR_SERVICE_UNAVAILABLE.
o In wait_for_auth and is_auth_packet, an empty resource is returned as
'undefined', not the empty string in the {auth, ...} tuple.
o In handle_sync_event, remove a debugging printf.
o In handle_info({route, ...}), use macro IS_PRESENCE & friends instead
of direct matching with NS_JABBER_CLIENT and name. This way, the S2S
doesn't have to change the namespace of all its incoming stanzas to
NS_JABBER_CLIENT.
o In send_element, for stanzas under the NS_JABBER_SERVER namespace, lie
to exmpp_xml by telling it that this namespace is the default one.
SVN Revision: 1382
2008-06-26 15:47:21 +00:00
Jean-Sébastien Pédron
999f3233bb
Fix short JID comparison in get_subscribed_and_online; it was using
...
'undefined' instead of empty strings.
SVN Revision: 1381
2008-06-25 13:27:03 +00:00
Jean-Sébastien Pédron
07651d712f
Finish ejabberd_c2s conversion with the functions related to offline
...
stanzas.
SVN Revision: 1380
2008-06-25 12:37:45 +00:00
Jean-Sébastien Pédron
6f931ce4fd
Convert all presence-related functions.
...
SVN Revision: 1378
2008-06-24 16:12:56 +00:00
Jean-Sébastien Pédron
e93e846e16
o Use the new exmpp_stream:opening_reply/3 function in wait_for_stream/2.
...
o The function terminate/3 is converted to exmpp.
SVN Revision: 1377
2008-06-24 09:44:56 +00:00
Jean-Sébastien Pédron
4e2e68a3fb
The handle_info clause that treats routing order is now converted.
...
In-memory sets and dict still use the short JID form with empty strings
for unspecified fields. Users are able to connect to ejabberd but some
features don't seem to work proprerly.
SVN Revision: 1376
2008-06-24 08:55:24 +00:00
Jean-Sébastien Pédron
e95df7999f
Convert JID to the expected form outside of the C2S (empty fields must
...
be set to the empty string). This fixes the broken routing.
SVN Revision: 1375
2008-06-23 11:47:10 +00:00
Jean-Sébastien Pédron
2a43998444
o Change the usage of #state.lang somewhat.
...
o Fix value of DefaultLang: it doesn't contain the whole serialized
attribute.
o Use exmpp_jid:make_bare_jid/2 more.
I started to work on the second half of the module and discovered
several annoying things:
o JID are represented in two forms: the #jid record and the
{N, D, R} tuple.
o Sometimes, #xmlelement may contain non-#xml* tuples in their
children. This is the case for some <presence/> stanzas. Their
children are used to pass random data.
I'm less and less convicted that ejabberd_c2s can be fully converted
without starting to work on other modules.
SVN Revision: 1370
2008-06-20 14:54:59 +00:00
Jean-Sébastien Pédron
06eea52ad8
Update the svn:ignore property.
...
SVN Revision: 1369
2008-06-20 12:56:39 +00:00
Jean-Sébastien Pédron
389b5e6448
First bunch of modifications to use exmpp. All FSM state function are
...
updated. But other functions are not for now.
Users are able to connect to ejabberd but some features may not work.
SVN Revision: 1368
2008-06-20 12:52:29 +00:00
Jean-Sébastien Pédron
a19f280fcc
Enable the new #xmlel record.
...
SVN Revision: 1367
2008-06-20 12:50:20 +00:00
Jean-Sébastien Pédron
e4646a6788
Add exmpp detection.
...
SVN Revision: 1366
2008-06-20 12:49:39 +00:00
Jean-Sébastien Pédron
58bfea2ad1
Replace the use of xml_stream by exmpp_xmlstream. exmpp_xml is
...
configured to produce old #xmlelement records. exmpp_xmlstream is
configured to send old xmlstreamstart tuple.
Users are able to connect to ejabberd.
Next step: ejabberd_c2s.
SVN Revision: 1365
2008-06-19 10:23:52 +00:00
Jean-Sébastien Pédron
ad4a1c2a59
Create a branch "road-to-exmpp". This is a development branch that
...
will receive all the changes to make ejabberd use the new "exmpp"
application.
SVN Revision: 1362
2008-06-19 08:48:45 +00:00