Badlop
7fffae5b1a
Rename some JEP references to XEP
2010-04-14 01:00:14 +02:00
Badlop
1bcd481fdc
Update year of ProcessOne copyright from 2009 to 2010 (EJAB-1159)
...
SVN Revision: 2892
2010-01-12 16:15:16 +00:00
Karim Gemayel
d51d9e9fff
API renaming : lnode_as_list -> prep_node_as_list
...
SVN Revision: 2126
2009-06-01 16:40:51 +00:00
Karim Gemayel
d5f2c41f26
API renaming : lnode -> prep_node
...
SVN Revision: 2125
2009-06-01 16:39:36 +00:00
Karim Gemayel
7eb395b87d
API renaming : ldomain_as_list -> prep_domain_as_list
...
SVN Revision: 2124
2009-06-01 16:38:28 +00:00
Karim Gemayel
19d7d79229
API renaming : ldomain -> prep_domain
...
SVN Revision: 2123
2009-06-01 16:37:15 +00:00
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
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
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
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
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
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
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
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
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
4eaa8e19c9
Merge from trunk (r1457 to r1563).
...
SVN Revision: 1564
2008-09-16 14:39:57 +00:00
Jean-Sébastien Pédron
d9a493561b
Convert to exmpp.
...
SVN Revision: 1513
2008-08-06 13:44:58 +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
Mickaël Rémond
cd82cadd10
* applied copyright patch 2.
...
SVN Revision: 1112
2007-12-24 12:58:05 +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
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
Mickaël Rémond
9081f1f2b6
* src/mod_last_odbc.erl: Adapted to mod_privacy changes.
...
* src/mod_privacy_odbc.erl: Refactoring to extract records in include file.
SVN Revision: 827
2007-07-26 09:37:16 +00:00
Mickaël Rémond
d0e2ac9ed2
* src/odbc/odbc_queries.erl: Support for Microsoft SQL Server as
...
a database backend (via ODBC).
* src/odbc/ejabberd_odbc.erl: Likewise.
* src/odbc/mssql.sql: Likewise.
* src/odbc/Makefile.in: Likewise.
* src/ejabberd_auth_odbc.erl: Likewise.
* src/mod_offline_odbc.erl: Likewise.
* src/mod_roster_odbc.erl: Likewise.
* src/mod_last_odbc.erl: Likewise.
* src/configure.ac: Likewise
* doc/guide.tex: Likewise.
* doc/introduction.tex: Likewise.
* src/odbc/pg.sql: Minor fix.
SVN Revision: 598
2006-09-03 15:15:46 +00:00
Mickaël Rémond
559b5cae14
* src/odbc/mysql.sql: Database description for MySQL Database
...
4.1 (Max version, with Innodb)
* src/ejabberd_auth_odbc.erl: MySQL ODBC support.
* src/mod_offline_odbc.erl: likewise
* src/mod_vcard_odbc.erl: likewsie
* src/mod_roster_odbc.erl: likewise
* src/odbc/ejabberd_odbc.erl: likewise
* src/mod_last_odbc.erl: likewise
SVN Revision: 474
2005-12-21 16:10:56 +00:00
Alexey Shchepin
02d3151ee7
* src/jd2ejd.erl: Updated to work with ODBC
...
* src/mod_roster_odbc.erl: Updated
* src/mod_offline_odbc.erl: Bugfix
* src/mod_last_odbc.erl: Bugfix
SVN Revision: 379
2005-07-26 03:04:26 +00:00
Alexey Shchepin
3202705ad6
* src/mod_register.erl: Bugfix
...
* src/mod_vcard.erl: Bugfix
* src/ejabberd_app.erl: Updated to allow different authentication
methods for different virtual hosts
* src/ejabberd_auth.erl: Likewise
* src/ejabberd_auth_external.erl: Likewise
* src/ejabberd_auth_internal.erl: Likewise
* src/ejabberd_auth_ldap.erl: Likewise
* src/ejabberd_auth_odbc.erl: Likewise
* src/cyrsasl.erl: Likewise
* src/cyrsasl_digest.erl: Likewise
* src/cyrsasl_plain.erl: Likewise
* src/ejabberd_c2s.erl: Likewise
* src/ejabberd_config.erl: Likewise
* src/extauth.erl: Likewise
* src/mod_last_odbc.erl: Likewise
* src/mod_offline_odbc.erl: Likewise
* src/mod_roster_odbc.erl: Likewise
* src/odbc/ejabberd_odbc.erl: Likewise
* src/odbc/ejabberd_odbc_sup.erl: Likewise
SVN Revision: 374
2005-07-13 03:24:13 +00:00
Alexey Shchepin
4098c3ecba
* (all): Enhanced virtual hosting support
...
SVN Revision: 370
2005-06-20 03:18:13 +00:00
Alexey Shchepin
dbb248247b
* src/mod_last_odbc.erl: Added store_last_info/4 function (thanks
...
to Sergei Golovan)
* src/mod_last.erl: Likewise
* src/jd2ejd.erl: Support for exporting iq:last information,
better error handling (thanks to Sergei Golovan)
* src/ejabberd_ctl.erl: Added "import-file" and "import-dir"
commands (thanks to Sergei Golovan)
SVN Revision: 358
2005-05-23 19:47:57 +00:00
Alexey Shchepin
d7a6fcb712
* src/win32/ejabberd.cfg: Updated (thanks to Sergei Golovan)
...
* src/odbc/Makefile.win32: Added (thanks to Sergei Golovan)
* src/Makefile.win32: Updated (thanks to Sergei Golovan)
* src/jd2ejd.erl: Fixed private xml setting
* src/mod_last.erl: Bugfix
* src/mod_last_odbc.erl: Likewise
* src/mod_pubsub/mod_pubsub.erl: Fixed service stopping
SVN Revision: 347
2005-05-15 23:03:25 +00:00
tmallard
374446f847
Merged the Process One contributions ( Virtual Hosting )
...
SVN Revision: 307
2005-04-17 18:08:34 +00:00
Alexey Shchepin
50bef3787a
* src/mod_roster_odbc.erl: Roster support via ODBC (not completed)
...
* src/ejabberd_auth_internal.erl: Added remove_user hook
* src/ejabberd_auth_odbc.erl: Likewise
* src/mod_roster.erl: Use remove_user hook
* src/mod_offline.erl: Likewise
* src/mod_offline_odbc.erl: Likewise
* src/mod_last.erl: Likewise
* src/mod_last_odbc.erl: Likewise
* src/mod_vcard.erl: Likewise
* src/mod_private.erl: Likewise
* src/mod_roster.erl: Added hooks for functions exported by
mod_roster
* src/ejabberd_c2s.erl: Likewise
* src/ejabberd_sm.erl: Likewise
* src/mod_privacy.erl: Likewise
* src/mod_last.erl: Likewise
* src/mod_last_odbc.erl: Likewise
SVN Revision: 294
2004-12-19 20:47:35 +00:00
Alexey Shchepin
8c8e3469bc
* src/odbc/pg.sql: DB creation script for postgres
...
* src/odbc/ejabberd_odbc.erl: Experimental support for ODBC
* src/mod_last_odbc.erl: Likewise
* src/mod_offline_odbc.erl: Likewise
* src/ejabberd_auth_odbc.erl: Likewise
* src/ejabberd_auth.erl: Likewise
SVN Revision: 292
2004-12-13 23:00:12 +00:00