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
Christophe Romain
70dd325aef
EJAB-739 and EJAB-751 improvements
...
SVN Revision: 1576
2008-09-25 17:26:06 +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
Mickaël Rémond
eabd25a8bf
* src/mod_configure.erl: Fix adhoc commands reply types for "get-online-users-num" and "get-registered-users-num" (EJAB-756).
...
SVN Revision: 1569
2008-09-22 16:08:37 +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
Badlop
7ff346f612
* doc/guide.tex: Fix explanation of mod_muc's anonymous
...
option. Make clear that an ejabberd_service can only serve a
single external component. Provide Mnesia directory when setting
clustering (thanks to Matthew Reilly)
SVN Revision: 1563
2008-09-15 18:38:52 +00:00
Badlop
81c70c347f
Fix: provide the port as an integer, not string (EJAB-560)
...
SVN Revision: 1562
2008-09-12 14:31:04 +00:00
Badlop
e9d62b39ef
* src/web/ejabberd_http.hrl: Provide Host, Port, Headers and
...
Transfer Protocol in request (thanks to Eric Cestari)(EJAB-560)
* src/web/ejabberd_http.erl: Likewise
SVN Revision: 1561
2008-09-12 11:45:16 +00:00
Badlop
df39f93b80
* doc/guide.tex: Fix mod_proxy configuration example
...
* doc/guide.html: Likewise
SVN Revision: 1560
2008-09-02 17:31:10 +00:00
Mickaël Rémond
943b126d0e
* ChangeLog update.
...
SVN Revision: 1559
2008-09-02 14:17:48 +00:00
Mickaël Rémond
b6a706756e
* src/odbc/mssql2000.sql: Script for MSSQL 2000
...
* src/odbc/mssql2005.sql: Script for MSSQL 2005
* src/odbc/mssql.sql: removed
SVN Revision: 1558
2008-09-02 14:14:42 +00:00
Badlop
7ed3ebfaa9
Fix release date of ejabberd 2.0.2 to 28 August 2008
...
SVN Revision: 1557
2008-08-30 11:17:03 +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
Christophe Romain
11788b2953
send last published events now supports PEP events from unavailable users nodes (EJAB-698)
...
SVN Revision: 1550
2008-08-27 09:28:47 +00:00
Badlop
dfc62ca5be
* doc/release_notes_2.0.2.txt: Update for final release
...
* doc/guide.tex: Windows binary installer requires MSVC++ 5
* doc/guide.html: Likewise
SVN Revision: 1548
2008-08-26 14:26:56 +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
Christophe Romain
0832ad392d
get_items bugfix (EJAB-716)
...
SVN Revision: 1542
2008-08-25 22:54:48 +00:00
Christophe Romain
11f74201ab
Prevent case_clause error when ejabber_odbc:sql_query returns {error, Reason}
...
SVN Revision: 1540
2008-08-25 13:36:34 +00:00
Christophe Romain
5c9069d677
Prevent case_clause error when ejabber_odbc:sql_query returns {error, Reason}
...
SVN Revision: 1538
2008-08-25 13:12:23 +00:00
Badlop
2d226b39bf
* src/ejabberd_check.erl: Detect correctly MSSQL and ODBC
...
configuration (EJAB-710)
SVN Revision: 1536
2008-08-25 12:08:22 +00:00
Geoff Cant
35ed848fe8
EJAB-624: fixes mod_muc_room:is_visitor/2 to use get_role not get_affiliation
...
SVN Revision: 1534
2008-08-23 23:17:17 +00:00
Badlop
d08b1c62bb
* src/ejabberd_router.erl: Fix call to mnesia match_object
...
SVN Revision: 1533
2008-08-22 11:35:32 +00:00
Badlop
38205691f4
* doc/guide.tex: Fix names of chatroom to room, user to occupant
...
* doc/guide.html: Likewise
SVN Revision: 1532
2008-08-21 15:13:25 +00:00
Badlop
e37723f4a2
* src/mod_muc/mod_muc_log.erl: MUC log files options: plaintext
...
format; filename with only room name (EJAB-596)
* doc/guide.tex: Document both options
* doc/guide.html: Likewise
SVN Revision: 1531
2008-08-18 19:08:30 +00:00
Badlop
4ae1bda33f
* src/mod_register.erl: Change password using mod_register always
...
returns success regardless of real result (EJAB-723)
* src/ejabberd_auth.erl: Likewise
* src/ejabberd_auth_external.erl: Likewise
* src/ejabberd_auth_internal.erl: Likewise
* src/ejabberd_auth_odbc.erl: Likewise
SVN Revision: 1530
2008-08-18 18:21:10 +00:00
Christophe Romain
7b1547b2bd
Fix call to unexported function nodetree_default:get_subnodes/2
...
SVN Revision: 1529
2008-08-18 10:29:04 +00:00
Badlop
2be5cb9b50
Minor fixes in text about ejabberd localization
...
SVN Revision: 1528
2008-08-18 09:17:58 +00:00
Badlop
61a639d5d9
* contrib/extract_translations/extract_translations.erl: Use
...
Gettext PO for translators, export to ejabberd MSG (EJAB-468)
* contrib/extract_translations/prepare-translation.sh: Likewise
* doc/guide.tex: Likewise
* doc/guide.html: Likewise
* src/Makefile.in: New option 'make translations'
* src/msgs/ejabberd.pot: Template translation file
* src/msgs/*.po: Generated from old MSG files
* src/msgs/*.msg: Automatic exported from PO files
SVN Revision: 1527
2008-08-17 16:35:58 +00:00