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
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
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
44b4c29d08
lattest pubsub merge added in Changelog
...
SVN Revision: 1721
2008-12-09 00:35:27 +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