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
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
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
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
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
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
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
Badlop
5fdcb52306
* src/ejabberd.app: The ejabberd version number is defined in the
...
OTP application resource file, in the key 'vsn' (EJAB-657)
* src/ejabberd.hrl: The macro VERSION now consults the ejabberd
application key vsn
* src/configure.erl: Load the ejabberd application description
* doc/Makefile: Read ejabberd version from ejabberd.app vsn
* doc/api/Makefile: Likewise
SVN Revision: 1361
2008-06-18 21:33:48 +00:00
Christophe Romain
fe82bf3e81
temporary roster_groups_allowed (EJAB-655)
...
SVN Revision: 1359
2008-06-18 16:35:03 +00:00
Christophe Romain
638d789ae6
pubsub get_default bugfix (EJAB-656)
...
SVN Revision: 1358
2008-06-18 16:19:18 +00:00
Badlop
cbf63d06a8
* src/mod_muc/mod_muc_room.erl: Allow admins to send messages to
...
rooms even if not joined (EJAB-645)
* doc/guide.tex: Likewise
* doc/guide.html: Likewise
SVN Revision: 1356
2008-06-13 18:55:26 +00:00
Badlop
e22913d46f
* src/ejabberd.cfg.example: Add registration_timeout (EJAB-653)
...
SVN Revision: 1355
2008-06-13 17:51:01 +00:00
Badlop
ff94e586eb
* src/ejabberd_c2s.erl: Bugfix: deliver messages when first
...
presence is Invisible (thanks to Dariusz Markowicz)(EJAB-262)
SVN Revision: 1348
2008-06-09 23:43:47 +00:00
Badlop
59201f1def
* src/msgs/pl.msg: Bugfix in arguments of translated string that
...
could crash the room (thanks to Anastasia Gornostaeva)
SVN Revision: 1345
2008-06-04 13:21:36 +00:00
Badlop
1e345eb0fc
* src/web/ejabberd_web.erl (make_xhtml/2): Allow to include
...
elements in the HTTP header
SVN Revision: 1344
2008-05-31 18:21:43 +00:00
Badlop
110a4b4518
* src/odbc/odbc_queries.erl (del_user_return_password): Return
...
password (thanks to Oleg Palij)
SVN Revision: 1343
2008-05-31 17:09:13 +00:00
Mickaël Rémond
5e9576ffa3
* src/ejabberd_s2s.erl: Added s2s_send_packet and s2s_receive_packet hooks (EJAB-635).
...
* src/ejabberd_s2s_in.erl: Likewise.
SVN Revision: 1342
2008-05-22 10:53:49 +00:00
Mickaël Rémond
cf42ea0bcb
* src/ejabberd_c2s.erl: user_send_packet hook now called on all packets including presence packets (EJAB-634)
...
SVN Revision: 1341
2008-05-22 10:19:35 +00:00
Badlop
30f54a6bfc
* src/configure.ac: R12 support: remove compilation
...
warning (EJAB-630)
* src/configure: Likewise
* doc/guide.tex: Likewise
SVN Revision: 1334
2008-05-19 09:20:35 +00:00
Mickaël Rémond
8dae53abda
* src/ejabberd_s2s_out.erl: Fix compilation error.
...
SVN Revision: 1332
2008-05-18 12:34:52 +00:00
Mickaël Rémond
8a8a02431f
* src/ejabberd_s2s_out.erl: Avoid an harmless error (function clause in logs)
...
SVN Revision: 1331
2008-05-18 12:28:58 +00:00
Badlop
4e77bae206
* src/extauth.erl: Log strange responses from extauth script. Use
...
timeout (EJAB-627)
SVN Revision: 1330
2008-05-17 11:44:25 +00:00
Badlop
c892a60da5
* src/mod_muc/mod_muc_room.erl: Allow change_state of a room
...
SVN Revision: 1329
2008-05-16 18:05:03 +00:00
Christophe Romain
5bec1eedc1
Change FSMTIMEOUT to 30s
...
SVN Revision: 1328
2008-05-16 15:29:33 +00:00
Badlop
da56452fba
* src/mod_muc/mod_muc_room.erl: Return Forbidden error message
...
when user sends private message in a room that disallows
it (EJAB-595)
SVN Revision: 1323
2008-05-12 20:35:43 +00:00
Badlop
98e47e8c73
* src/web/ejabberd_http.erl (parse_auth): Allow password that
...
include colon character (EJAB-522)
SVN Revision: 1322
2008-05-12 17:56:27 +00:00
Mickaël Rémond
977a20700a
* src/mod_ip_blacklist.erl: Better error handling (EJAB-625).
...
SVN Revision: 1321
2008-05-09 19:53:06 +00:00
Mickaël Rémond
1a2bb06075
* src/mod_ip_blacklist.erl: ignore when we do not have the IP.
...
SVN Revision: 1320
2008-05-08 14:55:06 +00:00
Mickaël Rémond
e4f098a104
* src/mod_ip_blacklist.erl: Update the list every 6 hours.
...
SVN Revision: 1319
2008-05-05 16:31:48 +00:00
Mickaël Rémond
740ce75599
* src/mod_ip_blacklist.erl: Added C2S blacklist support (EJAB-625).
...
SVN Revision: 1318
2008-05-05 16:25:52 +00:00
Mickaël Rémond
a664579b58
* src/ejabberd_c2s.erl: Added C2S blacklist support (EJAB-625).
...
* src/mod_ip_blacklist.erl: Likewise.
* src/jlib.erl: Added IP format tuple to string function.
* src/ejabberd_socket.erl: Properly handled c2s start failure (happen for blacklisted IP).
SVN Revision: 1317
2008-05-05 16:22:06 +00:00
Alexey Shchepin
8267194d5e
* src/ejabberd_receiver.erl: Don't activate a socket untill its
...
receiver process is controlling it
SVN Revision: 1316
2008-05-04 07:38:24 +00:00
Christophe Romain
2304f8cbc8
XEP-0115 patch (EJAB-618)
...
SVN Revision: 1313
2008-04-30 08:49:39 +00:00
Badlop
ef531fb208
* src/ejabberd_s2s_out.erl: Improve confusing log message in s2s
...
connection: wait_for_validation connect timeout (EJAB-617)
SVN Revision: 1311
2008-04-29 16:59:03 +00:00
Badlop
e5879f4349
* src/ejabberd.cfg.example: Small improvements in explanations
...
* doc/guide.tex: Document MUC room options (EJAB-619)
SVN Revision: 1310
2008-04-29 16:44:12 +00:00
Christophe Romain
edf1ed5c87
remove unused served_hosts option
...
SVN Revision: 1306
2008-04-28 13:02:07 +00:00
Alexey Shchepin
85d3b27d71
* src/mod_muc/mod_muc_room.erl: Fixed room shaper processing
...
SVN Revision: 1305
2008-04-27 19:06:34 +00:00
Badlop
4c937ab94e
* src/mod_shared_roster.erl: Fix for new registered accounts not
...
being immediately shown in an 'all' special shared roster
group (thanks to Alexey Shchepin) (EJAB-71)
* src/mod_register.erl: New vhost event user_registered
SVN Revision: 1303
2008-04-26 17:37:43 +00:00
Badlop
c88a4650ba
* src/ejabberd_c2s.erl: Added forbidden_session_hook
...
* src/acl.erl: New access types: resource, resource_regexp and
resource_glob
* doc/guide.tex: Likewise
SVN Revision: 1301
2008-04-25 09:25:31 +00:00
Alexey Shchepin
b1756e8e34
* src/treap.erl: Bugfix
...
* src/mod_register.erl: Fixed table creation, timeout isn't
activated when registration fails
SVN Revision: 1300
2008-04-23 13:14:08 +00:00
Alexey Shchepin
797544333c
* src/mod_register.erl: Restrict registration frequency per IP or
...
user
* src/ejabberd_c2s.erl: Pass IP to the c2s_unauthenticated_iq hook
* src/ejabberd_config.erl: Added registration_timeout option
* src/treap.erl: Treaps implementation
SVN Revision: 1299
2008-04-22 21:51:32 +00:00
Badlop
96f0c001d9
* src/ejabberd_auth.erl: Improve anonymous authentication to not
...
remove rosters accidentally (EJAB-549). New functions in
ejabberd_auth to get/check password and know which module accepted
the authentication. New element 'auth_module' in ejabberd_c2s
record 'statedata'. Cyrsasl provides a new property in the
response: {auth_module, AuthModule}.
* src/ejabberd_auth_anonymous.erl: Likewise
* src/ejabberd_c2s.erl: Likewise
* src/cyrsasl_anonymous.erl: Likewise
* src/cyrsasl_digest.erl: Likewise
* src/cyrsasl_plain.erl: Likewise
SVN Revision: 1297
2008-04-22 17:41:30 +00:00
Badlop
ee6aae8211
* src/ejabberd_s2s_out.erl: Fix long timeout when reconnecting s2s
...
after a remote server crash (EJAB-540)
* src/ejabberd_s2s_in.erl: Likewise
* src/ejabberd_s2s.erl: Likewise
* doc/guide.tex: Likewise
SVN Revision: 1296
2008-04-18 12:19:45 +00:00
Christophe Romain
d46b7d5908
Cache negative response (EJAB-474)
...
SVN Revision: 1294
2008-04-14 12:02:18 +00:00
Badlop
7c64509c46
* src/web/ejabberd_web_admin.erl: Include Last-Modified HTTP
...
header in responses to allow caching (EJAB-546)
SVN Revision: 1292
2008-04-12 08:09:05 +00:00
Badlop
cf8c08c980
* src/Makefile.in: Improved indentation of GCC call
...
* src/ejabberd_zlib/Makefile.in: Likewise
* src/mod_irc/Makefile.in: Likewise
* src/stringprep/Makefile.in: Likewise
* src/tls/Makefile.in: Likewise
SVN Revision: 1291
2008-04-11 17:32:20 +00:00
Badlop
ab9b30c4d4
* src/ejabberd_listener.erl (start_listener): Revert SVN r1260.
...
SVN Revision: 1290
2008-04-11 15:47:44 +00:00
Alexey Shchepin
9733e6874e
* src/ejabberd_config.erl: Removed a dependency on string:to_upper
...
SVN Revision: 1288
2008-04-11 05:52:10 +00:00
Alexey Shchepin
8b690c9f9f
* src/tls/tls_drv.c: Fixed gcc signedness warnings
...
* src/ejabberd_zlib/ejabberd_zlib_drv.c: Likewise
SVN Revision: 1287
2008-04-11 05:20:08 +00:00
Alexey Shchepin
bd884274c0
* src/expat_erl.c: Removed R9B workaround
...
SVN Revision: 1286
2008-04-11 05:19:27 +00:00
Christophe Romain
367610dd38
pubsub identity and database update bugfix
...
SVN Revision: 1285
2008-04-10 14:11:06 +00:00
Mickaël Rémond
b8b2bde8d0
*src/ejabberd_c2s.erl: Uniform default value for empty privacy list. Fixes (EJAB-603).
...
SVN Revision: 1281
2008-04-10 08:14:38 +00:00
Badlop
2af65d4f42
* src/ejabberd_auth_ldap.erl: LDAP function to get the number of
...
registered users is too slow (EJAB-331): set timeout in LDAP
search queries (thanks to Evgeniy Khramtsov) and return the number
of registered users.
SVN Revision: 1280
2008-04-08 09:37:06 +00:00
Badlop
076132a5d4
* src/ejabberd_auth_ldap.erl (get_vh_registered_users_number): New
...
function that returns 0 registered users (EJAB-331).
SVN Revision: 1276
2008-04-04 18:57:01 +00:00
Badlop
2c8cc8ae2d
* src/ejabberd_c2s.erl (process_presence_probe): Don't route a
...
presence probe to oneself (EJAB-498)
SVN Revision: 1275
2008-04-03 22:35:26 +00:00
Badlop
1649dec58e
* src/ejabberd_config.erl: Add support to include additional
...
configuration files. Add support for macro definition and
usage. (EJAB-593)
* doc/guide.tex: Likewise
* doc/guide.html: Likewise
SVN Revision: 1273
2008-04-02 16:31:15 +00:00
Christophe Romain
f0ee4f999d
Do not ignore values passed from configure (EJAB-592)
...
SVN Revision: 1272
2008-04-02 14:24:18 +00:00
Christophe Romain
37fc28ef49
add condition inclusion of pep in disco identity (EJAB-564)
...
SVN Revision: 1268
2008-04-02 09:06:28 +00:00
Christophe Romain
ef6ce3c7c0
typo fix on ejabberdctl.template
...
SVN Revision: 1266
2008-04-01 11:47:51 +00:00
Badlop
5fd627b85b
* doc/api/Makefile: Report the correct ejabberd version. When
...
cleaning, remove also erlang.png
* src/mod_muc/mod_muc_room.erl: Update source code to prevent
warning messages from EDoc
* src/mod_pubsub/mod_pubsub.erl: Likewise
* src/mod_pubsub/node_default.erl: Likewise
* src/mod_pubsub/nodetree_default.erl: Likewise
* src/mod_pubsub/nodetree_virtual.erl: Likewise
* src/mod_pubsub/pubsub.hrl: Likewise
SVN Revision: 1265
2008-04-01 10:11:39 +00:00
Christophe Romain
273c076ef6
Add firewalling port range definition
...
SVN Revision: 1264
2008-04-01 09:07:29 +00:00
Badlop
dcc00bca6d
* src/ejabberd_listener.erl: Remove code of the unused listening
...
socket option 'ssl' (EJAB-159)
* src/ejabberd_app.erl: Likewise
SVN Revision: 1263
2008-03-31 19:48:35 +00:00
Badlop
f634e4dc0d
* src/ejabberd_listener.erl (start_listener): Start also the
...
supervisor of the module
SVN Revision: 1260
2008-03-31 09:30:51 +00:00
Badlop
ab1610021d
* src/Makefile.in: Support for parallel compilation with 'make -j'
...
in multi core CPUs: fix compilation dependencies; compile
behaviors before other source code. (thanks to Jonathan Schleifer)
* src/mod_pubsub/Makefile.in: Likewise
* src/eldap/Makefile.in: Likewise
SVN Revision: 1258
2008-03-26 09:27:46 +00:00
Alexey Shchepin
9b3926baf1
* src/ejabberd_local.erl: The iq_response table wasn't cloned
...
automatically on all nodes which resulted in a single point of
failure
SVN Revision: 1257
2008-03-25 22:23:38 +00:00
Badlop
28c082551d
* src/Makefile.in: Only try to install epam if pam was enabled
...
in configure script (thanks to Etan Reisner)(EJAB-586)
SVN Revision: 1256
2008-03-25 18:59:45 +00:00
Badlop
48e066999b
* src/Makefile.in: Failure to install epam is not
...
critical (EJAB-573)
SVN Revision: 1255
2008-03-25 17:18:47 +00:00
Badlop
9e5721a5d9
* src/msgs/de.msg: Fix irc typo (thanks to Jonathan Schleifer)
...
* src/msgs/cs.msg: Likewise
* src/msgs/pl.msg: Likewise
* src/msgs/sk.msg: Likewise
SVN Revision: 1253
2008-03-24 01:28:55 +00:00
Mickaël Rémond
f7a9e5bac0
* src/eldap/Makefile.in: Generate ELDAPv3.beam during first Makefile pass (EJAB-583).
...
SVN Revision: 1249
2008-03-22 16:42:28 +00:00
Badlop
86df7de48f
* src/mod_caps.erl: Move two log calls ERROR_MSG to DEBUG
...
* src/shaper.erl: Move log call INFO_MSG to DEBUG
SVN Revision: 1247
2008-03-21 18:58:07 +00:00
Christophe Romain
1247a98cf2
Pubsub subscription is now wrapped in pubsub tags (EJAB-580)
...
SVN Revision: 1244
2008-03-21 16:05:32 +00:00
Christophe Romain
618af5e07a
Seek epam binary into priv/bin (EJAB-573)
...
SVN Revision: 1243
2008-03-21 15:42:14 +00:00
Christophe Romain
b2bd9759c8
Rewrite io:format calls to loglevel macros (EJAB-555)
...
SVN Revision: 1239
2008-03-21 14:44:16 +00:00
Mickaël Rémond
4cef493b91
* src/eldap.erl: Improved logging. We now use ejabberd logging framework (EJAB-582).
...
* src/eldap.erl: Faster LDAP reconnection (Thanks to Christophe Romain) (EJAB-581)
SVN Revision: 1236
2008-03-20 16:28:36 +00:00
Mickaël Rémond
320c266276
* src/ejabberd_s2s.erl: Only trigger s2s_connect_hook on successful connection (EJAB-566)
...
* src/ejabberd_s2s_out.erl: Likewise
SVN Revision: 1235
2008-03-17 10:16:21 +00:00
Mickaël Rémond
4cf68c2f9f
* src/ejabberd_ctl.erl: API improvement: Added reopen_log_hook (EJAB-565)
...
SVN Revision: 1234
2008-03-15 10:57:38 +00:00
Mickaël Rémond
295da9cf02
* src/ejabberd_s2s.erl: API improvement: Added s2s_connect_hook (EJAB-566).
...
SVN Revision: 1232
2008-03-15 09:35:33 +00:00
Badlop
04aec272db
* src/odbc/ejabberd_odbc.erl: Start ODBC explicitely because
...
Erlang R12 doesn't start automatically like in R11 and
older (thanks to Sergei Golovan)(EJAB-541)
SVN Revision: 1231
2008-03-13 14:34:47 +00:00
Badlop
7c377783fa
* src/ejabberd.hrl: Removed unused ejabberd_debug and
...
PRIVACY_SUPPORT. Reordered the remaining options
SVN Revision: 1230
2008-03-13 14:13:29 +00:00
Badlop
d2eb00d814
* src/mod_echo.erl: Small change to avoid a compilation warning of
...
unused function
SVN Revision: 1228
2008-03-12 23:05:49 +00:00
Badlop
9ae1282854
* src/web/ejabberd_web_admin.erl (term_to_string): Show Erlang
...
terms in one line in Erlang R12 (EJAB-503)
SVN Revision: 1227
2008-03-12 22:29:53 +00:00
Badlop
07454d8f1a
* src/ejabberd_s2s_in.erl (get_cert_domains): When compiling with
...
Erlang R12, replace the calls to deprecated module PKIX1Explicit88
with OTP-PKIX (EJAB-556)
SVN Revision: 1226
2008-03-11 14:25:35 +00:00
Badlop
78ce676e81
* src/ejabberd_update.erl: Fix crash when browsing the Update
...
page in Erlang R12 (EJAB-552)
SVN Revision: 1225
2008-03-10 11:59:53 +00:00
Alexey Shchepin
5cb8f4826c
* src/web/ejabberd_http_poll.erl: Fixed HTTP headers when a
...
requested session doesn't exist
SVN Revision: 1223
2008-03-09 21:28:42 +00:00
Badlop
ee339aebb8
* src/mod_proxy65/mod_proxy65_service.erl: Implement alternative
...
to the deprecated function inet:ip_to_bytes (thanks to Evgeniy
Khramtsov)(EJAB-542)
SVN Revision: 1222
2008-03-09 10:09:38 +00:00
Christophe Romain
53e804575f
add missing ~p to error message
...
SVN Revision: 1221
2008-03-07 14:56:37 +00:00
Mickaël Rémond
0f4ee703c6
* src/eldap/eldap_pool.erl: Improved logging
...
SVN Revision: 1220
2008-03-07 14:49:06 +00:00
Badlop
735b34e7b7
* doc/guide.tex: Improve documentation of host_config
...
add (EJAB-544)
* doc/guide.html: Likewise
* src/ejabberd.cfg.example: Likewise
* src/ejabberd_config.erl: Likewise
SVN Revision: 1219
2008-03-04 10:36:57 +00:00
Badlop
a65273690d
* doc/guide.tex: mod_announce recommends, but doesn't require
...
mod_adhoc (thanks to Anastasia Gornostaeva)
* doc/guide.html: Likewise
* src/ejabberd.cfg.example: Likewise
SVN Revision: 1218
2008-03-04 09:07:43 +00:00
Alexey Shchepin
76245f0fcf
* src/tls/tls.erl: recv_data/2 doesn't throw exceptions now
...
* src/ejabberd_zlib/ejabberd_zlib.erl: Likewise
SVN Revision: 1217
2008-03-03 11:55:19 +00:00
Mickaël Rémond
993ffe9096
* src/ejabberd_check.erl: Fixed missing clause (EJAB-533).
...
SVN Revision: 1215
2008-02-29 12:21:15 +00:00
Alexey Shchepin
8283a9faf3
* src/mod_roster.erl: Fixed "from" attribute in roster pushes
...
* src/mod_roster_odbc.erl: Likewise
SVN Revision: 1213
2008-02-28 22:10:55 +00:00
Badlop
22a5bce9de
* src/ejabberd_app.erl (prep_stop): Stop modules when stopping
...
ejabberd (EJAB-536)
* src/mod_caps.erl (stop): Probably not needed to stop supervisor
child (EJAB-536)
* src/mod_muc/mod_muc.erl (room_destroyed): Catch message
sending (EJAB-536)
* src/mod_muc/mod_muc_room.erl (init): Ensure rooms are called
when the process dies due to a linked die (EJAB-536)
SVN Revision: 1212
2008-02-28 00:30:23 +00:00
Mickaël Rémond
868182d1c8
* src/ejabberd_check.erl: Separate config loading from configuration sanity checks (EJAB-533)
...
* src/src/ejabberd_app.erl: Likewise
* src/ejabberd_app.erl: Likewise
SVN Revision: 1210
2008-02-27 20:15:25 +00:00
Badlop
f4f3d06120
* src/msgs/it.msg: Updated (thanks to Smart2128)
...
SVN Revision: 1209
2008-02-26 08:59:09 +00:00
Badlop
c3a5b5b0fe
* src/msgs/ru.msg: Updated (thanks to Konstantin Khomoutov)
...
* src/msgs/zh.msg: Updated (thanks to Mike Wang and Zhan Caibao)
SVN Revision: 1202
2008-02-20 15:48:48 +00:00
Badlop
4bac690f90
* src/msgs/ca.msg: Updated (thanks to Vicent Alberola Canet)
...
* src/msgs/cs.msg: Updated (thanks to Lukas Polivka)
* src/msgs/de.msg: Updated (thanks to Cord Beermann and Nikolaus
Polak)
* src/msgs/eo.msg: Updated (thanks to Andreas van Cranenburgh)
* src/msgs/es.msg: Updated
* src/msgs/fr.msg: Updated (thanks to Christophe Romain)
* src/msgs/gl.msg: Updated (thanks to Carlos E. Lopez)
* src/msgs/nl.msg: Updated (thanks to Andreas van Cranenburgh)
* src/msgs/no.msg: Updated (thanks to Stian B. Barmen)
* src/msgs/pt-br.msg: Updated (thanks to Otavio Fernandes)
* src/msgs/uk.msg: Updated (thanks to Stoune and Ruslan Rakhmanin)
SVN Revision: 1201
2008-02-19 19:15:28 +00:00
Christophe Romain
9466b1a21f
add pgsql driver monitoring
...
SVN Revision: 1200
2008-02-19 17:06:49 +00:00
Mickaël Rémond
6e3ac3a5a0
* src/ejabberd_config.erl: dirty_get_registered_users now correctly returns all users for all vhosts no matter which back-end is used (EJAB-527)
...
* src/ejabberd_auth_odbc.erl: Likewise
* src/ejabberd_auth_internal.erl: Likewise
* src/ejabberd_auth.erl: Likewise
* src/ejabberd_auth_external.erl: Likewise
* src/ejabberd_auth_ldap.erl: Likewise
SVN Revision: 1198
2008-02-19 13:49:29 +00:00
Christophe Romain
56e9971435
Bug in get_conn_type since SVN r1194 crashes http-bind and http-poll (thanks to Brian Cully) (EJAB-526)
...
SVN Revision: 1197
2008-02-18 09:55:06 +00:00
Christophe Romain
04d688c1ba
Retreive connection type in sm_register_connection_hook
...
SVN Revision: 1194
2008-02-15 16:35:32 +00:00
Badlop
def7b0ff90
* src/mod_muc/mod_muc_room.erl: Allow unmoderated rooms (EJAB-437)
...
* src/msgs/*: Recover old translations to several languages from
ejabberd 1.1.4
SVN Revision: 1191
2008-02-14 11:25:39 +00:00
Alexey Shchepin
aa22e20e0a
* src/cyrsasl_digest.erl: Unquote backslash in DIGEST-MD5 quoted
...
strings (EJAB-304)
SVN Revision: 1190
2008-02-14 05:23:16 +00:00
Alexey Shchepin
08a4392fa9
* src/mod_roster.erl: Removed the ancient Psi roster workaround
...
* src/mod_roster_odbc.erl: Likewise
SVN Revision: 1189
2008-02-14 04:51:04 +00:00
Jérôme Sautret
0eb8aafc0d
* odbc_queries: fix list_users queries with limit/offset.
...
SVN Revision: 1188
2008-02-12 13:23:35 +00:00
Jérôme Sautret
1309f26f06
* odbc_queries: fix list_users query with prefix.
...
SVN Revision: 1187
2008-02-12 12:49:41 +00:00
Badlop
def8f81f20
* src/web/ejabberd_web_admin.erl: Fixed native support for all the
...
ACL types (EJAB-253)
SVN Revision: 1186
2008-02-12 01:16:11 +00:00
Badlop
866e5c2d82
* src/acl.erl: Normalize ACL before adding to the configuration
...
tables (EJAB-521)
SVN Revision: 1185
2008-02-12 01:04:47 +00:00
Mickaël Rémond
0ae7f15ce7
* src/ejabberd_auth.erl: Do not allow empty password at creation. On authent, check in all cases that password is not empty.
...
* src/ejabberd_auth_odbc.erl: Likewise
* src/ejabberd_auth_internal.erl: Likewise
* src/ejabberd_auth_external.erl: Likewise
SVN Revision: 1183
2008-02-11 18:19:42 +00:00
Mickaël Rémond
4b5632a260
* src/ejabberd_receiver.erl: Avoid crash to appear in log, when trying to close a stream with an undefined state.
...
SVN Revision: 1182
2008-02-11 15:36:56 +00:00
Christophe Romain
7f6cdc6cfe
use if event instead of x when xmlns is pubsub#event (EJAB-518)
...
SVN Revision: 1181
2008-02-11 15:21:24 +00:00
Badlop
8104eac23a
* src/mod_muc/mod_muc_room.erl: Bugfix: local message stanza may
...
not have an attribute From (EJAB-515)
SVN Revision: 1180
2008-02-11 12:15:34 +00:00
Badlop
116966ce44
* src/mod_muc/mod_muc_room.erl: Include the error condition in the
...
presence status when kicking a participant due to an error
stanza (EJAB-496)
SVN Revision: 1179
2008-02-09 10:38:47 +00:00
Badlop
8ff5599d3a
* src/ejabberd.cfg.example: Document options to SQL keep alive
...
interval and pool size (EJAB-206)
* doc/guide.tex: Likewise
* doc/guide.html: Likewise
SVN Revision: 1178
2008-02-08 18:28:36 +00:00
Mickaël Rémond
2fa599c40f
* src/mod_pubsub/node.template: Fixed typo
...
SVN Revision: 1177
2008-02-07 08:07:20 +00:00
Badlop
0beb1c8116
* src/mod_muc/mod_muc_room.erl: Support for decline of invitation
...
to MUC room (EJAB-515)
SVN Revision: 1175
2008-02-06 20:30:58 +00:00
Mickaël Rémond
ac204f0849
* src/mod_pubsub/node_buddy.erl: Fixed typo
...
* src/mod_pubsub/node_club.erl: Likewise
* src/mod_pubsub/node_dispatch.erl: Likewise
* src/mod_pubsub/node_pep.erl: Likewise
* src/mod_pubsub/node_private.erl: Likewise
SVN Revision: 1174
2008-02-06 18:19:25 +00:00
Mickaël Rémond
4e096f1590
* src/mod_pubsub/gen_pubsub_node.erl: API improvement: Added a way to generate custom item name
...
* src/mod_pubsub/node_dispatch.erl: Likewise
* src/mod_pubsub/node_buddy.erl: Likewise
* src/mod_pubsub/node_private.erl: Likewise
* src/mod_pubsub/node_club.erl: Likewise
* src/mod_pubsub/node_public.erl: Likewise
* src/mod_pubsub/node_default.erl: Likewise
* src/mod_pubsub/node_pep.erl: Likewise
* src/mod_pubsub/mod_pubsub.erl: Small API improvements and refactoring
SVN Revision: 1173
2008-02-06 18:04:23 +00:00
Badlop
ba419eae59
* src/ejabberd.hrl: Updated version to 2.1.0-alpha
...
* doc/dev.html: Likewise
* doc/features.html: Likewise
* doc/guide.html: Likewise
* doc/version.tex: Likewise
SVN Revision: 1172
2008-02-04 16:44:42 +00:00
Alexey Shchepin
24a7d86577
* src/mod_muc/mod_muc_room.erl: Append "(n/a)" to disco room
...
descriptions when a number of occupants is not available
SVN Revision: 1171
2008-02-03 23:17:39 +00:00
Mickaël Rémond
65981598ed
* src/mod_pubsub/nodetree_virtual.erl: Fixed error report at startup.
...
SVN Revision: 1169
2008-02-02 14:24:01 +00:00
Mickaël Rémond
fff45aca21
* src/mod_pubsub/mod_pubsub.erl: Added the from field in the
...
get_subnodes pubsub plugin API function. This is usefull to write
plugins to generate the pubsub hierarchy dynamically, based on who
is doing the browsing request.
* src/mod_pubsub/gen_pubsub_nodetree.erl: Likewise
* src/mod_pubsub/nodetree_default.erl: Likewise
* src/mod_pubsub/nodetree_virtual.erl: Likewise
SVN Revision: 1168
2008-02-02 14:15:37 +00:00
Badlop
b6ff597740
* src/mod_echo.erl: Put in comments the call to the educational
...
function do_client_version
SVN Revision: 1165
2008-01-30 15:52:23 +00:00
Badlop
45b01994e2
* src/mod_muc/mod_muc_room.erl: MUC kicks a participant if sends a
...
private message with type=error (EJAB-496). Updated.
SVN Revision: 1164
2008-01-29 18:37:45 +00:00
Badlop
cdc1698c8b
* src/mod_muc/mod_muc_room.erl: MUC kicks a participant if sends a
...
private message with type=error (EJAB-496)
SVN Revision: 1163
2008-01-29 14:49:08 +00:00
Badlop
cca5d7fcbe
* src/msgs/eo.msg: New Esperanto translation (thanks to Andreas
...
van Cranenburgh)
* src/msgs/no.msg: New Norwegian translation (thanks to Stian
B. Barmen)
* doc/Makefile: Fixed small problem with contributed_modules.tex
SVN Revision: 1160
2008-01-25 10:23:12 +00:00
Christophe Romain
c8e580987d
pubsub dirty_sync typo fix on node configuration transaction
...
SVN Revision: 1159
2008-01-25 10:17:59 +00:00
Christophe Romain
58c491ade3
pubsub configuration patch (EJAB-508) and (EJAB-509)
...
SVN Revision: 1158
2008-01-25 09:24:10 +00:00
Badlop
f361633f36
* doc/guide.tex: Updated the names of log files.
...
* doc/guide.html: Likewise
* src/mod_muc/mod_muc_room.erl: Added log messages for room
destroy
* src/mod_caps.erl: Small beautify of log error messages
SVN Revision: 1155
2008-01-16 10:08:17 +00:00
Badlop
864d2056a7
* doc/guide.tex: Improved the documentation of Binary
...
installer. Updated the requirements, specifically: Erlang R10B-9
is required as minimum, and R12 is not yet supported. Added
section Upgrading ejabberd. Improved documentation about Erlang
runtime system environment variables and command-line parameters.
* doc/guide.html: Likewise
* doc/release_notes_2.0.0.txt: Updated to RC1
* doc/version.tex: Likewise
* src/ejabberd.hrl: Likewise
* doc/introduction.tex: Updated to 22 languages
* doc/Makefile: Ensure that Bash is used
SVN Revision: 1154
2008-01-15 17:53:40 +00:00
Badlop
2d2fcc8210
* doc/guide.tex: Updated copyright dates to 2008
...
* src/*: Likewise
SVN Revision: 1153
2008-01-15 17:02:57 +00:00
Jérôme Sautret
38976270b4
* src/Makefile.in: Allow compilation with Erlang R12 (EJAB-446).
...
* src/aclocal.m4: Likewise
* src/configure.ac: Likewise
* src/configure: Likewise
* src/ejabberd_s2s_in.erl: Likewise
SVN Revision: 1150
2008-01-15 11:11:27 +00:00
Badlop
25e6bddf29
* src/ejabberdctl.template: Instead of using the Erlang kernel
...
variable 'inetrc', use the ERL_INETRC environment variable that is
available since Erlang/OTP R10B-5.
SVN Revision: 1149
2008-01-13 22:46:00 +00:00
Christophe Romain
aa685c7794
set_subscription fix (EJAB-494)
...
SVN Revision: 1148
2008-01-12 19:47:19 +00:00
Christophe Romain
b106f894e4
don't ask capabilities to MUC room participants
...
SVN Revision: 1147
2008-01-11 13:57:29 +00:00
Christophe Romain
20c27ea9d9
EJAB-491 fix
...
SVN Revision: 1145
2008-01-11 01:39:10 +00:00
Christophe Romain
04eb1c6641
Force PEP parent node to be []
...
SVN Revision: 1144
2008-01-10 17:38:24 +00:00
Christophe Romain
b3bf437dd1
Send last published PEP event now checks the correct peer caps (EJAB-491)
...
SVN Revision: 1143
2008-01-10 15:02:54 +00:00
Badlop
7672515e76
* src/mod_muc/mod_muc_room.erl: MUC kicks a participant if sends a
...
private message with type=error (EJAB-496)
SVN Revision: 1142
2008-01-09 16:01:16 +00:00
Badlop
635978b137
* src/ejabberdctl.template: Removed the option ERL_FULLSWEEP_AFTER
...
because it is almost useless regarding ejabberd's performance.
* src/ejabberdctl.cfg.example: Likewise
SVN Revision: 1140
2008-01-08 16:11:58 +00:00
Badlop
1a1f9d1488
* src/web/ejabberd_web_admin.erl: Uniformize the name of
...
ejabberd's web admin to: 'Web Admin' (EjAB-472)
* doc/guide.tex: Likewise
* doc/introduction.tex: Likewise
* src/web/ejabberd_web_admin.erl: Uniformize ejabberd name in the
text using the Latex command
SVN Revision: 1137
2008-01-01 18:20:57 +00:00
Badlop
c2e12d716b
* src/mod_muc/mod_muc_room.erl: Resend 'continue' elements in muc
...
room invitations (EJAB-490)
SVN Revision: 1135
2008-01-01 17:06:26 +00:00
Badlop
b23d82bc1e
* src/ejabberdctl.template: Create logs_dir if doesn't exist. New
...
parameters --config, --ctl-config, --logs, --spool. Crash dump
renamed to erl_crash_DATETIME.dump.
* src/ejabberdctl.template: Backport improvements from binary
installer (EJAB-488): options are simple values; enable Kernel
Poll by default, set SMP to auto, set max ports to 32000, max
processes to 250000.
* src/ejabberdctl.cfg.example: Likewise
* src/ejabberd.inetrc: Renamed ejabberd.inetrc to inetrc
* src/inetrc: Likewise
* src/Makefile.in: Likewise
* doc/guide.tex: Likewise
SVN Revision: 1133
2008-01-01 10:53:05 +00:00
Badlop
c7e9fe1059
* src/msgs/ca.msg: Updated (thanks to Vicent Alberola Canet)
...
SVN Revision: 1131
2007-12-31 10:26:01 +00:00
Alexey Shchepin
e0fc360cf8
* src/ejabberd_s2s_out.erl: Fixed behavior when outgoing_s2s_port
...
option is not defined
SVN Revision: 1129
2007-12-29 14:22:38 +00:00
Badlop
f3aa8a03d3
* src/mod_vcard_ldap.erl: Fix some field names (EJAB-483)
...
SVN Revision: 1127
2007-12-27 16:40:03 +00:00
Badlop
4562a79b69
* src/web/ejabberd_web_admin.erl: Translate menu items of webadmin
...
hooks in each module (EJAB-485)
* src/mod_shared_roster.erl: Likewise
SVN Revision: 1125
2007-12-26 14:53:37 +00:00
Badlop
264ea1c25f
* src/web/ejabberd_web_admin.erl: max_user_sessions access rule
...
contains an integer, but webadmin always expects atoms (EJAB-482)
SVN Revision: 1123
2007-12-26 12:21:52 +00:00
Badlop
e14d70529c
* src/mod_configure.erl: Bugfix, update to match changes in
...
mod_announce SVN r1099
SVN Revision: 1121
2007-12-25 00:27:10 +00:00
Mickaël Rémond
22f928122f
* Applied copyright patch 3.
...
SVN Revision: 1113
2007-12-24 13:57:53 +00:00
Mickaël Rémond
cd82cadd10
* applied copyright patch 2.
...
SVN Revision: 1112
2007-12-24 12:58:05 +00:00
Mickaël Rémond
281d2ca3d3
* Fixed typo.
...
SVN Revision: 1111
2007-12-24 12:25:56 +00:00
Mickaël Rémond
56fe3579bb
* Applied copyright update patch 1.
...
SVN Revision: 1110
2007-12-24 11:41:41 +00:00
Christophe Romain
56194f742b
pubsub: remove useless get_roster_info call
...
SVN Revision: 1109
2007-12-24 11:28:56 +00:00
Badlop
977841188c
* src/msgs/vi.msg: New Vietnamese translation (thanks to EQHO
...
Communications)
* src/msgs/th.msg: New Thai translation (thanks to EQHO
Communications)
* src/msgs/gl.msg: Updated (thanks to Carlos E. Lopez)
SVN Revision: 1105
2007-12-23 22:08:12 +00:00
Badlop
afdc9b9527
* src/mod_muc/mod_muc_room.erl: Log room creation and
...
destruction. Ensure JID of owners of MUC room are user, not
server (EJAB-435)
SVN Revision: 1104
2007-12-23 12:28:44 +00:00
Badlop
2d634e1b4f
* src/ejabberd.app: Update ejabberd.app: add new erlang
...
modules (EJAB-466)
SVN Revision: 1103
2007-12-22 19:51:55 +00:00
Badlop
27063837ae
* src/web/ejabberd_http.erl: Add 'http_bind' option for easy
...
configuration of HTTP-Binding
SVN Revision: 1101
2007-12-22 14:23:37 +00:00
Badlop
ccbc4b0c04
* src/mod_announce.erl: When editing MOTD, display current value (EJAB-475)
...
SVN Revision: 1100
2007-12-22 13:58:19 +00:00
Badlop
61295e9c1b
* src/mod_announce.erl: Fixed unnoticeable bug related to Node
...
matching. Renamed some nonstandard node names according to
XEP-0133. Small reordering of clauses.
SVN Revision: 1099
2007-12-22 12:26:17 +00:00
Christophe Romain
1f8c32cbff
debug log fix
...
SVN Revision: 1098
2007-12-22 01:14:56 +00:00
Christophe Romain
d74c527101
EJAB-469 bugfix
...
SVN Revision: 1097
2007-12-22 01:13:06 +00:00
Christophe Romain
02eaf9eaec
several pubsub/pep bugfix
...
SVN Revision: 1096
2007-12-22 00:04:05 +00:00
Badlop
43fc8b3329
* src/mod_caps.erl: Bugfix in timeout checking. Check for timeout
...
when an error response is received, and also before querying
SVN Revision: 1095
2007-12-21 23:36:44 +00:00
Badlop
d1f902768c
* src/ejabberd_ctl.erl: Added new command: mnesia (thanks to
...
Tsukasa Hamano)
SVN Revision: 1094
2007-12-21 21:50:22 +00:00
Badlop
08b3bd16c8
Small bugfix.
...
SVN Revision: 1092
2007-12-21 18:09:18 +00:00
Mickaël Rémond
cf37671ef4
* src/msgs/fr.msg: Updated French translation (EJAB-295)
...
SVN Revision: 1090
2007-12-21 14:22:03 +00:00
Christophe Romain
e7fda4a23f
pubsub disco#items bugfix (EJAB-465)
...
SVN Revision: 1089
2007-12-21 00:08:59 +00:00
Badlop
d58662f706
* src/msgs/uk.msg: Updated (thanks to Ruslan Rakhmanin)
...
* src/msgs/de.msg: Updated (thanks to Nikolaus Polak and Cord
Beermann)
* contrib/extract_translations/prepare-translation.sh: Small fix
SVN Revision: 1088
2007-12-20 23:25:22 +00:00
Badlop
36f9af523c
* src/mod_caps.erl: Don't include the Node attribute from C
...
element in the disco#info query
SVN Revision: 1087
2007-12-20 20:02:04 +00:00
Christophe Romain
1ba15b207c
User count performance improvements
...
SVN Revision: 1086
2007-12-20 17:12:45 +00:00
Christophe Romain
583f2fd19f
PEP notification bugfix
...
SVN Revision: 1085
2007-12-20 16:38:38 +00:00
Badlop
0cef0371c5
* src/msgs/zh.msg: Small update (thanks to Shelley Shyan)
...
* src/msgs/ru.msg: Small update (thanks to Konstantin Khomoutov)
SVN Revision: 1083
2007-12-20 09:06:28 +00:00
Badlop
9e799047c0
Fixed small mistake.
...
SVN Revision: 1082
2007-12-19 23:24:53 +00:00
Badlop
4646c1e015
* src/msgs/pl.msg: Updated (thanks to Andrzej Smyk)(EJAB-463)
...
* src/msgs/de.msg: Updated (thanks to Cord Beermann)
* src/msgs/es.msg: Small update (thanks to Badlop)
* src/msgs/cs.msg: Small update (thanks to Lukas Polivka alias
Spike411)
* src/web/ejabberd_web_admin.erl: No need to translate copyright
SVN Revision: 1081
2007-12-19 18:26:32 +00:00
Badlop
b07b2fe159
* src/mod_muc/mod_muc_log.erl: Add handling of kicks 321, 322, 332
...
SVN Revision: 1080
2007-12-18 19:19:24 +00:00
Christophe Romain
c0b2c5744f
Purge related pep nodes at remove_user
...
SVN Revision: 1077
2007-12-18 14:45:26 +00:00
Badlop
80b7abd8c8
* src/ejabberd_zlib/Makefile.win32: Compile
...
all erl files found in the directory, so it isn't needed to provide
an explicit list of target files
* src/eldap/Makefile.win32: Likewise
* src/mod_irc/Makefile.win32: Likewise
* src/mod_muc/Makefile.win32: Likewise
* src/mod_proxy65/Makefile.win32: Likewise
* src/mod_pubsub/Makefile.win32: Likewise
* src/odbc/Makefile.win32: Likewise
* src/stringprep/Makefile.win32: Likewise
* src/tls/Makefile.win32: Likewise
* src/web/Makefile.win32: Likewise
SVN Revision: 1076
2007-12-17 22:23:56 +00:00
Badlop
60f8b0772e
* src/ejabberd_zlib/Makefile.in: Compile all erl files found in
...
the directory, so it isn't needed to provide an explicit list of
target files
* src/eldap/Makefile.in: Likewise
* src/mod_irc/Makefile.in: Likewise
* src/mod_muc/Makefile.in: Likewise
* src/mod_proxy65/Makefile.in: Likewise
* src/mod_pubsub/Makefile.in: Likewise
* src/odbc/Makefile.in: Likewise
* src/pam/Makefile.in: Likewise
* src/stringprep/Makefile.in: Likewise
* src/tls/Makefile.in: Likewise
* src/web/Makefile.in: Likewise
SVN Revision: 1075
2007-12-17 18:59:51 +00:00
Christophe Romain
f114517bbc
mssql specific issue bugfix
...
SVN Revision: 1074
2007-12-17 14:10:26 +00:00
Badlop
09a30422f5
* doc/guide.tex: Remove 'ssl' option from documentation and
...
configuration load (EJAB-461)
* src/ejabberd_listener.erl: Likewise
* src/msgs/cs.msg: Small typo (thanks to Lukas Polivka alias
Spike411)
* src/ejabberd.cfg.example: Small change in order of options
SVN Revision: 1073
2007-12-17 11:03:22 +00:00
Badlop
2b91ebcc85
* src/mod_irc/iconv.erl: Changed order of handle_info
...
clause (EJAB-290)
* src/stringprep/stringprep.erl: Likesise
* src/eldap/eldap.erl: Removed handle_sync_event clause because it
is never called (EJAB-290)
SVN Revision: 1072
2007-12-15 13:01:32 +00:00
Badlop
090fceebc2
* src/mod_irc/mod_irc.erl: No need to translate copyright notice
...
* src/mod_muc/mod_muc.erl: Likewise
* src/mod_proxy65/mod_proxy65_service.erl: Likewise
* src/mod_pubsub/mod_pubsub.erl: Likewise
* src/mod_vcard.erl: Likewise
* src/mod_vcard_ldap.erl: Likewise
* src/mod_vcard_odbc.erl: Likewise
* src/msgs/*.msg: Likewise
* contrib/extract_translations/prepare-translation.sh: Bugfix
SVN Revision: 1071
2007-12-15 12:02:00 +00:00
Badlop
3174ea98f6
* src/msgs/*: Unified file format: First line is SVN Id
...
tag. Second is Language name. Next lines are authors, adding the
new ones on top. Each string must be in a single line (to
facilitate the automatic removal of unused strings). Last four
lines report file format for Emacs and Vim.
* contrib/extract_translations/prepare-translation.sh: New
features: extract all translations, include explanation for
translators in the file, remove unused strings from file, include
unused strings in a section for reference, provide information
about current translation and number of missing strings, compress
the files to a zip
* contrib/extract_translations/extract_translations.erl: Reverted
to the original version
SVN Revision: 1070
2007-12-14 21:28:29 +00:00
Alexey Shchepin
b14c88aaaf
* src/ejabberd_s2s_out.erl: Bugfix
...
SVN Revision: 1069
2007-12-14 09:12:14 +00:00
Christophe Romain
348427fab0
pubsub presence handler bugfix
...
SVN Revision: 1068
2007-12-12 16:16:00 +00:00
Badlop
ca894f8ad8
* src/msgs/it.msg: Updated (thanks to Luca Brivio)
...
SVN Revision: 1067
2007-12-12 09:41:33 +00:00
Christophe Romain
4b65154dd3
first patch to mssql quety, still one patch to be done
...
SVN Revision: 1066
2007-12-11 17:43:49 +00:00
Christophe Romain
f3322710c0
pubsub notification broadcast bugfix
...
SVN Revision: 1065
2007-12-11 16:19:17 +00:00
Badlop
4ac9c8dfc5
* src/msgs/tr.msg: New translation (thanks to Doruk Fisek)
...
* src/msgs/zh.msg: Updated (thanks to Shelley Shyan)
SVN Revision: 1064
2007-12-11 09:52:09 +00:00
Badlop
ebb33ddf74
* src/msgs/ja.msg: Updated (thanks to Tsukasa Hamano)
...
SVN Revision: 1063
2007-12-10 22:53:50 +00:00
Badlop
a4449fe8d0
* src/mod_irc/mod_irc.erl: Bugfix in ACL check (thanks to Sergei
...
Golovan)
SVN Revision: 1061
2007-12-10 14:44:43 +00:00
Christophe Romain
bf239fac9d
auto-create pe node bugfix
...
SVN Revision: 1060
2007-12-10 14:09:31 +00:00
Christophe Romain
b9286778d4
return back to good location for database upgrade call
...
SVN Revision: 1059
2007-12-10 09:56:15 +00:00
Christophe Romain
d4ff7eeb4a
pubsub database upgrade bugfix
...
SVN Revision: 1058
2007-12-10 09:33:30 +00:00
Mickaël Rémond
4ab25a3c0c
* src/web/ejabberd_http.erl: Fixed URL decoding code (EJAB-450)
...
SVN Revision: 1057
2007-12-09 10:45:53 +00:00
Mickaël Rémond
5d0f284769
* src/msg/fr.msg: Added missing space.
...
SVN Revision: 1056
2007-12-09 10:35:13 +00:00
Badlop
fbddeb60a0
* src/msgs/ru.msg: Updated (thanks to Konstantin Khomoutov)
...
SVN Revision: 1055
2007-12-09 00:36:26 +00:00
Badlop
941a5bf436
* src/msgs/ja.msg: New translation (thanks to Tsukasa Hamano)
...
* src/msgs/nl.msg: Updated (thanks to Andreas from Unstable.nl)
SVN Revision: 1054
2007-12-08 20:00:45 +00:00
Badlop
6b8113c56f
* src/ejabberd_config.erl: Report human-readable message when
...
Mnesia spool files are not readable.
SVN Revision: 1053
2007-12-08 18:39:23 +00:00
Mickaël Rémond
5a3c80e380
* src/ejabberd_s2s_out.erl: Increase dialback timeout as dialback can
...
sometimes take longer than expected.
SVN Revision: 1052
2007-12-08 16:39:02 +00:00
Christophe Romain
23b91e953a
pubsub disco_sm_items bugfix
...
SVN Revision: 1051
2007-12-08 15:24:38 +00:00
Alexey Shchepin
d788bd1a27
* src/ejabberd_sm.erl: Bugfix
...
SVN Revision: 1050
2007-12-07 20:57:44 +00:00
Badlop
791640fc98
* src/Makefile.in: Fix compilation warnings: Part 5: To fix a
...
warning about behaviour undefined, the erlang module that
implements the behaviour must be compiled before the module that
uses such behaviour (EJAB-290)
SVN Revision: 1049
2007-12-07 08:44:22 +00:00
Badlop
dd706eea94
* src/eldap/eldap.erl: Fix compilation warnings: Part 4 (EJAB-290)
...
* src/web/ejabberd_web_admin.erl: Likewise
SVN Revision: 1048
2007-12-07 01:40:24 +00:00
Badlop
95c69b0251
* src/mod_irc/iconv.erl: Fix compilation warnings: 3 (EJAB-290)
...
* src/mod_irc/mod_irc.erl: Likewise
* src/mod_irc/mod_irc_connection.erl: Likewise
* src/mod_pubsub/mod_pubsub.erl: Likewise
* src/stringprep/stringprep.erl: Likewise
* src/web/ejabberd_http.erl: Likewise
* src/web/ejabberd_http_poll.erl: Likewise
SVN Revision: 1047
2007-12-07 00:48:11 +00:00
Badlop
b7c0a89a79
* src/mod_caps.erl: Fix compilation warnings: Part 2 (EJAB-290)
...
* src/mod_configure.erl:
* src/mod_configure2.erl:
* src/mod_offline_odbc.erl:
* src/mod_shared_roster.erl:
* src/mod_stats.erl:
* src/mod_version.erl:
SVN Revision: 1046
2007-12-07 00:09:48 +00:00
Badlop
6342c258a7
* src/cyrsasl.erl: Fix compilation warnings: Part 1 (EJAB-290)
...
* src/ejabberd_auth_odbc.erl: Likewise
* src/ejabberd_config.erl: Likewise
* src/ejabberd_hooks.erl: Likewise
* src/ejabberd_s2s_out.erl: Likewise
* src/ejabberd_sm.erl: Likewise
* src/idna.erl: Likewise
* src/jd2ejd.erl: Likewise
SVN Revision: 1045
2007-12-06 23:15:04 +00:00
Badlop
d625fc80fc
* src/acl.erl and other 64 files: Remove Erlang module attribute
...
'vsn' because it doesn't provide any worth feature, and it
difficults hot code update (EJAB-440)
SVN Revision: 1044
2007-12-06 22:12:27 +00:00
Badlop
e79aa93d88
* src/ejabberdctl.cfg.example: Explain that each connection uses
...
two or three ports (thanks to Max Loparyev)
SVN Revision: 1043
2007-12-06 21:42:47 +00:00
Badlop
dfa74082f8
* src/configure: Regenerated
...
* doc/dev.html: Likewise
* doc/features.html: Likewise
* doc/guide.html: Likewise
* doc/version.tex: Likewise
* doc/introduction.tex: Updated number of translated languages
SVN Revision: 1042
2007-12-06 19:47:49 +00:00
Badlop
2e732b8b23
* src/web/ejabberd_web_admin.erl: Support more native acl_type on
...
web interface (EJAB-253)
SVN Revision: 1041
2007-12-06 18:54:18 +00:00
Badlop
60ea99d1a3
* src/ejabberd_c2s.erl: Increase the timeout of open socket
...
without authentication to 60 seconds because many Jabber clients
are not yet capable of handling this correctly (EJAB-355)
SVN Revision: 1040
2007-12-06 17:42:25 +00:00
Badlop
9527f3c9b1
* src/Makefile.in: Allow compilation with HiPE (EJAB-412)
...
* src/configure.ac: Likewise
SVN Revision: 1038
2007-12-06 17:09:35 +00:00
Badlop
10c6f3d991
* src/msgs/cs.msg: Updated (thanks to Lukáš Polívka alias
...
Spike411)
SVN Revision: 1037
2007-12-06 16:04:46 +00:00
Badlop
fc8c92a233
* src/mod_muc/mod_muc.erl: Catch creation of table
...
muc_online_users: it may be already created by other mod_muc
instance
SVN Revision: 1036
2007-12-06 15:40:21 +00:00
Badlop
4f78230dd8
* src/web/ejabberd_http.erl: Change loglevel for http
...
queries (EJAB-363)
* src/web/ejabberd_web_admin.erl: Likewise
SVN Revision: 1033
2007-12-06 11:24:57 +00:00
Badlop
6c0e4820d8
* doc/guide.tex: Add mod_caps and improve mod_pubsub documentation
...
* src/ejabberd.cfg.example: Added mod_caps enabled by default
SVN Revision: 1032
2007-12-06 11:13:29 +00:00
Christophe Romain
c90579146c
enable pep by default and add pubsub plugin examples
...
SVN Revision: 1031
2007-12-06 09:29:28 +00:00
Badlop
5f9de28973
* src/ejabberdctl.template: The parameter 'kernel inetrc' is used
...
even with -sname to guarantee the same behaviour that when using
-name (EJAB-317)
SVN Revision: 1029
2007-12-05 23:58:38 +00:00
Badlop
1e1f15aa61
* src/msgs/zh.msg: Updated (thanks to Shelley Shyan)
...
SVN Revision: 1026
2007-12-05 11:59:12 +00:00
Badlop
536a120c9d
* src/mod_muc/mod_muc_room.erl: Rephrase the invitation sentence
...
to make more natural
SVN Revision: 1025
2007-12-05 09:09:09 +00:00
Badlop
3a80aa24a8
* src/msgs/es.msg: Updated
...
SVN Revision: 1024
2007-12-05 00:59:33 +00:00
Badlop
2208d78782
* src/ejabberd.hrl: Set more proper version number
...
SVN Revision: 1023
2007-12-05 00:31:30 +00:00
Badlop
2e1bb5f0e6
* .gitignore: Removed (EJAB-441)
...
* src/.cvsignore: Likewise
SVN Revision: 1021
2007-12-04 21:40:25 +00:00
Badlop
d3a86d7660
* src/mod_pubsub/mod_pubsub.erl: Fixed URI.
...
SVN Revision: 1020
2007-12-04 21:35:41 +00:00
Badlop
1724ee2b15
* src/mod_pubsub/mod_pubsub.erl: Bugfix: don't report the Jabber
...
server as a pubsub service.
SVN Revision: 1019
2007-12-04 11:38:00 +00:00
Mickaël Rémond
abdbf55c87
* Temporary commit.
...
SVN Revision: 1015
2007-12-03 10:47:42 +00:00
Badlop
4ed283f009
* src/ejabberdctl.cfg.example: Bugfix in kernel poll. Added SMP
...
option. Reorganization of options
* src/ejabberdctl.template: Added SMP option
SVN Revision: 1014
2007-12-02 21:13:25 +00:00
Badlop
bfb7583bb2
* src/Makefile.in: New options make uninstall and
...
uninstall-all (EJAB-293)
SVN Revision: 1013
2007-12-02 01:03:18 +00:00
Mickaël Rémond
71c7879b48
* doc/guide.tex: Updated Windows compilation instructions.
...
* src/configure.erl: Likewise.
* doc/ejabberd.hrl: Preparing ejabberd 2.0.0 beta release.
* doc/version.tex: Likewise.
SVN Revision: 1009
2007-12-01 16:06:24 +00:00
Mickaël Rémond
43e31b1bf0
* src/tls/Makefile.win32: Updated for latest Win32 OpenSSL library.
...
SVN Revision: 1008
2007-12-01 15:14:41 +00:00
Mickaël Rémond
7d68866c59
* src/odbc_queries.erl: Added a default define value so that we
...
can recompile the file manually with a simple erlc command (with the
default generic value).
SVN Revision: 1007
2007-12-01 14:25:31 +00:00
Alexey Shchepin
c61d10f28a
* src/mod_pubsub/Makefile.in: Removed mod_pubsub_old mentioning
...
* src/mod_pubsub/Makefile.win32: Likewise
SVN Revision: 1006
2007-12-01 14:11:46 +00:00
Alexey Shchepin
9b2e6bcaef
* src/odbc/odbc_queries.erl: Reverted the previous patch because
...
it produces "redefining macro 'generic'" compilation error
SVN Revision: 1005
2007-12-01 05:20:45 +00:00
Alexey Shchepin
c3c782d882
* src/mod_caps.erl: CAPS support (thanks to Magnus Henoch)
...
* src/ejabberd_local.erl: Support for IQ responses
* src/jlib.erl: Added iq_query_or_response_info/1 function
* src/jlib.hrl: Added NS_PUBSUB_ERRORS and NS_CAPS
* src/mod_pubsub/Makefile.in: New pubsub+pep implementation
(thanks to Christophe Romain and Magnus Henoch)
* src/ejabberd_sm.erl: Added get_session_pid/3 function
* src/ejabberd_c2s.erl: Added get_subscribed_and_online/1 function
SVN Revision: 1004
2007-12-01 05:16:30 +00:00
Mickaël Rémond
e4cf286aa2
* src/odbc_queries.erl: Added a default define value so that we can
...
recompile the file manually with a simple erlc command.
SVN Revision: 1003
2007-11-30 18:06:26 +00:00
Badlop
02db5aa005
* src/mod_vcard.erl: Add type of x:data field to search
...
results (thanks to Robin Redeker) (EJAB-327)
* src/mod_vcard_ldap.erl:
* src/mod_vcard_odbc.erl:
SVN Revision: 1002
2007-11-29 18:24:31 +00:00
Badlop
dbdcadb6b3
* src/aclocal.m4: Fix autoconf caching for SSL libraries (thanks
...
to Michael Shields) (EJAB-439)
* src/configure.ac: Don't hardcode gcc and gcc options in
Makefiles (thanks to Etan Reisner) (EJAB-436)
SVN Revision: 1001
2007-11-29 17:22:34 +00:00
Badlop
44d65ff303
* src/configure.ac: Don't hardcode gcc and options (EJAB-436)
...
* src/Makefile.in:
* src/ejabberd_zlib/Makefile.in:
* src/eldap/Makefile.in:
* src/mod_irc/Makefile.in:
* src/mod_muc/Makefile.in:
* src/mod_proxy65/Makefile.in:
* src/mod_pubsub/Makefile.in:
* src/odbc/Makefile.in:
* src/pam/Makefile.in:
* src/stringprep/Makefile.in:
* src/tls/Makefile.in:
* src/web/Makefile.in:
SVN Revision: 1000
2007-11-29 16:59:35 +00:00
Badlop
4257f0c790
* src/mod_muc/mod_muc_room.erl: Hide the option 'Make room
...
moderated' because it isn't implemented, and set the default value
of 'moderated' to true because that is the behaviour
implemented (EJAB-419)
SVN Revision: 999
2007-11-29 16:16:10 +00:00
Badlop
0996e569a6
* doc/guide.tex: Update URI of ejabberd official home page, URI
...
of ejabberd.jabber.ru, and copyright dates (EJAB-366)
* doc/introduction.tex:
* src/ejabberd.hrl:
* src/ejabberd_admin.erl:
* src/mod_irc/mod_irc.erl:
* src/mod_irc/mod_irc_connection.erl:
* src/mod_muc/mod_muc.erl:
* src/mod_muc/mod_muc_log.erl:
* src/mod_proxy65/mod_proxy65_service.erl:
* src/mod_pubsub/mod_pubsub.erl:
* src/mod_vcard.erl:
* src/mod_vcard_ldap.erl:
* src/mod_vcard_odbc.erl:
* src/msgs/*.msg:
* src/web/ejabberd_web_admin.erl:
SVN Revision: 997
2007-11-27 23:35:26 +00:00
Badlop
69b425aeb7
* src/gen_mod.erl: Update in database the configuration changes in
...
modules (EJAB-330)
SVN Revision: 996
2007-11-27 22:30:51 +00:00
Badlop
eb330ac0e0
* src/mod_configure.erl: The command get-user-lastlogin is now
...
compatible with both Mnesia and ODBC (EJAB-383)
* src/mod_last.erl: Likewise
* src/mod_last_odbc.erl: Likewise
SVN Revision: 995
2007-11-27 18:54:06 +00:00
Alexey Shchepin
7ad9874dba
* src/mod_announce.erl: Bugfix (thanks to Christophe Romain)
...
SVN Revision: 992
2007-11-27 15:18:45 +00:00
Badlop
b4997bc20c
* src/mod_vcard.erl: Ensure mod_vcard to respect FORM_TYPE registry (EJAB-328).
...
* src/mod_vcard_ldap.erl: Likewise.
* src/mod_vcard_odbc.erl: Likewise.
* doc/guide.tex: Updated documentation.
SVN Revision: 990
2007-11-27 14:06:44 +00:00
Badlop
e7136065fc
* src/mod_muc/mod_muc_room.erl: Don't show the room name as the room description (EJAB-382).
...
SVN Revision: 989
2007-11-27 08:09:47 +00:00
Badlop
eb488b48fb
* src/ejabberd.cfg.example: Added example configuration of databases.
...
SVN Revision: 988
2007-11-26 21:29:14 +00:00
Badlop
2078c45656
* src/ejabberd_config.erl: Print error when the configuration
...
requires ODBC, MySQL or PostgreSQL libraries but are not
installed (EJAB-210).
SVN Revision: 986
2007-11-26 19:52:09 +00:00
Badlop
f6848603f9
* src/web/ejabberd_web_admin.erl: Added a favicon (EJAB-379).
...
SVN Revision: 985
2007-11-26 15:12:34 +00:00
Badlop
7f66b3dfb3
* src/msgs/wa.msg: New Walon translation (thanks to
...
Pablo Saratxaga) (EJAB-374).
SVN Revision: 984
2007-11-26 15:03:11 +00:00
Badlop
174c16a15f
* src/ejabberd.cfg.example: Huge reorganization and grouping of options (EJAB-392).
...
SVN Revision: 982
2007-11-26 14:35:53 +00:00
Badlop
9a03e5087e
* src/mod_echo.erl: Example function that demonstrates how to receive XMPP packets using Erlang's message passing mechanism (EJAB-247).
...
SVN Revision: 980
2007-11-26 10:15:18 +00:00
Badlop
87f7630fa3
* src/ejabberdctl.template: Write erl_crash.dump in the log/ directory, with unique filename (EJAB-433).
...
SVN Revision: 979
2007-11-26 08:57:21 +00:00
Badlop
399604e55d
* src/ejabberdctl.template: Removed bashisms (EJAB-399). Set environment variables instead of passing parameters when calling erl (EJAB-421).
...
* src/ejabberd_ctl.erl: Improvements in the help messages (EJAB-399).
* doc/guide.tex: Improvements in sections ejabberdctl, and Install from Source (EJAB-399).
SVN Revision: 978
2007-11-26 07:59:35 +00:00
Alexey Shchepin
a487652fe9
* src/ejabberd_router.erl: Bugfix
...
SVN Revision: 977
2007-11-25 16:39:56 +00:00
Alexey Shchepin
950060cd3c
* src/ejabberd_s2s_out.erl: Bugfix
...
SVN Revision: 976
2007-11-25 16:14:32 +00:00
Alexey Shchepin
65a7bb7d2a
* src/ejabberd_sm.erl: Optimized check_max_sessions (thanks to
...
Christophe Romain)
SVN Revision: 975
2007-11-25 15:35:20 +00:00
Mickaël Rémond
1415fa4b1c
* src/ejabberd_config.erl: Improved error message when ejabberd
...
config file is not found.
SVN Revision: 974
2007-11-22 13:46:54 +00:00
Christophe Romain
d7d34f87e7
Better count management and batch users retrieval internal database
...
SVN Revision: 972
2007-11-16 13:58:00 +00:00
Mickaël Rémond
2100ea63ca
* Making sure SVN properties are correctly set.
...
SVN Revision: 970
2007-11-15 10:33:18 +00:00
Mickaël Rémond
76f7e643e3
* src/ejabberd_config.erl: Refactoring: Move internal data structure to an include file.
...
* src/ejabberd_config.hrl: Likewise.
SVN Revision: 969
2007-11-09 10:18:38 +00:00
Mickaël Rémond
d6967f2745
* src/ejabberd_auth.erl: Better count management and batch users retrieval for relational database (Thanks to Massimiliano Mirra).
...
* src/ejabberd_auth_odbc.erl: Likewise.
* src/odbc/odbc_queries.erl: Likewise.
SVN Revision: 968
2007-11-03 17:35:23 +00:00
Mickaël Rémond
08cfab8a06
* src/web/ejabberd_http_poll.erl: Refactoring. Moved c2s limits acquisition to a separate module.
...
* src/ejabberd_c2s_config.erl: Likewise.
SVN Revision: 966
2007-11-02 14:45:06 +00:00
Mickaël Rémond
426f6072dc
* src/web/ejabberd_http_poll.erl: Support for c2s ACL access,
...
max_stanza and shaper on http_bind connections (EJAB-243,
EJAB-415, EJAB-416)
SVN Revision: 965
2007-11-01 13:59:29 +00:00
Jérôme Sautret
96ded4535d
* src/ejabberd_s2s.erl: don't use the resource of the sender to choose
...
a s2s connection to ensure that a muc room always uses the same
connection
Merge branch 'ejabberd_s2s'
Conflicts:
.gitignore
src/configure
src/ejabberd_c2s.erl
src/ejabberd_s2s.erl
SVN Revision: 963
2007-10-30 17:38:40 +00:00
Christophe Romain
c167c80f6d
Bugfix on previous change (EJAB-380)
...
SVN Revision: 960
2007-10-17 08:51:35 +00:00
Alexey Shchepin
0d557566fb
* src/ejabberdctl.template: Several improvements (EJAB-380)
...
(thanks to Sander Devrieze, Sergei Golovan, Torsten Werner and
Badlop)
* src/ejabberdctl.cfg.example: Likewise
* src/ejabberd.inetrc: Likewise
* src/Makefile.in: Likewise
SVN Revision: 959
2007-10-17 02:33:19 +00:00
Alexey Shchepin
7583eef401
* src/mod_privacy.erl: Bugfix
...
SVN Revision: 958
2007-10-17 02:19:44 +00:00
Alexey Shchepin
5f41b6c6f1
* src/mod_vcard_odbc.erl: Reverted previous change
...
SVN Revision: 957
2007-10-07 10:52:45 +00:00
Alexey Shchepin
a3380daa79
* src/mod_vcard_odbc.erl: Bugfix
...
SVN Revision: 956
2007-10-06 17:52:12 +00:00
Alexey Shchepin
5ab52e2712
* src/mod_offline_odbc.erl: Bugfix
...
SVN Revision: 955
2007-10-06 17:35:15 +00:00
Alexey Shchepin
4971de9d2a
SVN Revision: 954
2007-10-01 10:49:42 +00:00