Christophe Romain
67e24366ee
cosmetic changes
...
SVN Revision: 1923
2009-02-27 03:09:00 +00:00
Badlop
dd5a7bcd54
* doc/guide.tex: No mention to the release date in ejabberd Guide
...
or release notes. The date of an ejabberd release is determined by
the date of the corresponding release announcement.
SVN Revision: 1922
2009-02-26 23:10:28 +00:00
Badlop
c5c97a8edf
* doc/guide.tex: No mention to the release date in ejabberd Guide
...
or release notes. The date of an ejabberd release is determined by
the date of the corresponding release announcement.
SVN Revision: 1922
2009-02-26 23:10:28 +00:00
Badlop
34f6de0c84
* src/mod_pubsub/mod_pubsub.erl: Fix incorrect implementation of
...
Pubsub payload requirements (thanks to Andy Skelton)(EJAB-823)
SVN Revision: 1921
2009-02-25 21:17:14 +00:00
Badlop
fd26056d01
* src/mod_pubsub/mod_pubsub.erl: Fix incorrect implementation of
...
Pubsub payload requirements (thanks to Andy Skelton)(EJAB-823)
SVN Revision: 1921
2009-02-25 21:17:14 +00:00
Pablo Polvorin
2678342c4a
mod_muc/mod_muc_log.erl: The logging code expect nicknames to be in list() format.
...
SVN Revision: 1920
2009-02-24 20:50:28 +00:00
Pablo Polvorin
0f53fea903
src/mod_echo.erl: Fix call to exmpp_xml:get_cdata_as_list/1.
...
SVN Revision: 1919
2009-02-24 20:25:57 +00:00
Pablo Polvorin
9b1e5928bd
Remove unused var
...
SVN Revision: 1918
2009-02-24 20:07:32 +00:00
Pablo Polvorin
31ef821e46
Exmpp related fixed to the external components service.
...
SVN Revision: 1917
2009-02-24 18:52:37 +00:00
Badlop
1650a946f2
* src/ejabberd_listener.erl: Fix report message of 'undef' error
...
SVN Revision: 1916
2009-02-24 17:25:40 +00:00
Pablo Polvorin
3119badb2b
Removed a couple of expensive function calls used as arguments for
...
?DEBUG macros. All arguments used in the ?DEBUG macro are strictly
evaluated (even if the loglevel is higher).
The same is true for all log macros defined in ejabberd.hrl.
We might need to use lazy evaluation for the arguments, when they
are expensive to generate (wrap the arguments lists in a fun).
SVN Revision: 1915
2009-02-24 03:04:58 +00:00
Pablo Polvorin
acae6e20de
* Use exmpp_jid:to_binary/1 when possible.
...
* ejabberd_odbc:escape/1 now can escape binaries too. This
avoid the need to convert a binary value to list() just to
sql-escape it. The escaped value returned is allways a list()
(ejabberd's odbc drivers only works on lists())
SVN Revision: 1914
2009-02-23 19:45:55 +00:00
Christophe Romain
7a17baccac
Do not call mod_caps:clear_caps as it breaks PubSub/PEP (EJAB-854)
...
SVN Revision: 1913
2009-02-23 15:58:21 +00:00
Christophe Romain
04fde3620d
Do not call mod_caps:clear_caps as it breaks PubSub/PEP (EJAB-854)
...
SVN Revision: 1912
2009-02-23 15:56:19 +00:00
Alexey Shchepin
b6208955f3
* src/web/ejabberd_http.erl: Added a workaround for inet:peername
...
returning 'ebadf'
SVN Revision: 1910
2009-02-23 05:25:10 +00:00
Pablo Polvorin
4956259124
src/mod_roster.erl: Bugfix in remove_user/2, values already in binary() format.
...
SVN Revision: 1909
2009-02-21 18:07:37 +00:00
Badlop
a5f70e15a2
* src/ejabberd_auth.erl: Password is undefined when using digest
...
SVN Revision: 1908
2009-02-21 14:41:29 +00:00
Badlop
e6324f8a02
Fix a minor compilation warning and add EDoc comment
...
SVN Revision: 1907
2009-02-21 11:24:08 +00:00
Pablo Polvorin
2df100213b
mod_configure: Fix bug in form generation
...
SVN Revision: 1893
2009-02-20 16:34:56 +00:00
Pablo Polvorin
e989d41d50
"remove_user" hook actualized to expect binary arguments.
...
Fix webadmin code that performs addition / removal of users.
SVN Revision: 1892
2009-02-20 15:30:16 +00:00
Badlop
ce03742e1b
* src/ejabberd_listener.erl: When stopping a listener, don't stop
...
the listener supervisor (EJAB-874)
SVN Revision: 1891
2009-02-20 14:51:13 +00:00
Christophe Romain
edc0a9ac87
fix nodetree plugin resolver, and backport last changes from trunk
...
SVN Revision: 1890
2009-02-19 11:29:01 +00:00
Christophe Romain
6e055f60de
fix nodetree plugin resolver
...
SVN Revision: 1889
2009-02-19 11:25:56 +00:00
Pablo Polvorin
5334a2d965
Bugfix: mod_announce.erl:get_title/2 now accepts node argument in binary() or list() format.
...
SVN Revision: 1887
2009-02-18 18:14:06 +00:00
Pablo Polvorin
7c10f3422a
src/web/ejabberd_web_admin.erl, src/web/ejabberd_web_admin.hrl:
...
Many exmpp related fixes. Fix a bug when displaying users lists,
if we can't access the 'offline_msg' mnesia table (using mod_offline_odbc).
This fix should be temporal, we should find a better way to manage this
situation.
src/web/ejabberd_http.erl: Language must be in binary() format.
src/translate.erl: Remove a debug call to io:format/2.
src/ejabberd_sm.erl, src/mod_configure.erl, src/mod_disco.erl:
ejabberd_sm:get_user_resources/2 returns resources as binary().
src/ejabberd_sm.erl: Bugfix in get_user_info/3.
SVN Revision: 1886
2009-02-18 18:03:11 +00:00
Pablo Polvorin
ea62092d6e
src/ejabberd_auth.erl: Fix: for legacy authentication, the Digest parameters could be 'undefined'.
...
src/mod_muc/mod_muc_room.erl: Typo.
src/ejabberd_c2s.erl: Remove comment for an already done TODO.
SVN Revision: 1885
2009-02-18 13:48:06 +00:00
Badlop
74763be4dd
* src/ejabberd_listener.erl: More error detections
...
SVN Revision: 1884
2009-02-17 15:42:22 +00:00
Badlop
e4a3cdb486
* src/ejabberd_listener.erl: More error detections
...
SVN Revision: 1883
2009-02-17 09:53:29 +00:00
Badlop
4659ae7683
* src/ejabberd_config.erl: Check certfiles are readable on server
...
start and listener start (EJAB-753)
* src/ejabberd_listener.erl: Likewise
SVN Revision: 1882
2009-02-16 17:57:30 +00:00
Badlop
b0cc0cdcf9
* src/mod_privacy.erl: Privacy List: deny presence-out all + send
...
presence to: presence is sent (EJAB-255)
* src/ejabberd_c2s.erl: Likewise
SVN Revision: 1881
2009-02-16 16:24:08 +00:00
Badlop
22d87353be
* src/mod_muc/mod_muc_room.erl: Owner of a password protected room
...
must provide the password, like other participants (EJAB-867)
SVN Revision: 1880
2009-02-16 15:57:02 +00:00
Badlop
f6ddd8bc5b
* src/mod_muc/mod_muc_log.erl: Prevent XSS in MUC logs by
...
linkifying only a few known protocols (EJAB-850)
SVN Revision: 1879
2009-02-16 15:32:54 +00:00
Badlop
2bd54854ec
* src/mod_muc/mod_muc.erl: Export function to create MUC
...
room (thanks to Eric Cestari) (EJAB-729)
SVN Revision: 1878
2009-02-16 15:24:40 +00:00
Badlop
b0e749eca5
* src/mod_roster.erl: When account is deleted, cancel presence
...
subscription for all roster items (EJAB-790)
* src/mod_roster_odbc.erl: Likewise
SVN Revision: 1877
2009-02-16 14:49:20 +00:00
Badlop
d0f1300a84
* src/web/ejabberd_http_poll.erl: Allow configuration of session
...
timeout, using new global option http_poll_timeout (EJAB-135)
* doc/guide.tex: Document new option
* doc/guide.html: Likewise
SVN Revision: 1876
2009-02-14 09:03:26 +00:00
Badlop
70e431787e
* src/ejabberd_listener.erl: Report error at startup if a listener
...
module isn't available or is not an ejabberd listener (EJAB-868)
SVN Revision: 1875
2009-02-13 23:52:24 +00:00
Badlop
d0fc8fe056
* src/mod_shared_roster.erl: Fix bug: a pending subscription
...
request, and later the requester added to the roster due to a
shared roster group, that request could neither be accepted or
rejected (thanks to Brian Cully)(EJAB-869)
SVN Revision: 1874
2009-02-13 23:01:41 +00:00
Badlop
a06bffa413
* src/web/ejabberd_web_admin.erl: Show big integers with comma
...
separators for easy reading
SVN Revision: 1873
2009-02-13 22:13:34 +00:00
Badlop
3524172856
* src/ejabberd_system_monitor.erl: Allow parametrizable watchdog
...
threshold: option watchdog_large_heap or chatting with the
watchdog bot (EJAB-545)
* src/ejabberd_config.erl: Likewise
* doc/guide.tex: Likewise
* doc/guide.html: Likewise
SVN Revision: 1872
2009-02-13 19:27:56 +00:00
Christophe Romain
e977d099e2
prevent from calling get_vh_registered_users/2 when not available
...
SVN Revision: 1871
2009-02-13 15:01:55 +00:00
Christophe Romain
d1001a99c2
prevent from calling get_vh_registered_users/2 when not available
...
SVN Revision: 1869
2009-02-13 13:28:10 +00:00
Christophe Romain
bb13c9e8ab
fix delete-items issue and manage-affiliations typo
...
SVN Revision: 1868
2009-02-09 13:37:58 +00:00
Jean-Sébastien Pédron
bf82bac328
o Document the type of the argument(s) and the returned type of every
...
functions.
o Add guardians expression to exported functions to ensure at an early
stage that we were given the right arguments.
o Fix table conversion to exmpp; many fields were left as string(),
preventing matching from working correctly.
o In user_roster_item_parse_query/4, fix a bug where the same variable
was used for two distinct purpose.
o In user_roster_item_parse_query/4, fix a bad usage of
exmpp_jid:jid_to_list/1.
PR: EJABP-1
SVN Revision: 1867
2009-02-06 13:43:40 +00:00
Jean-Sébastien Pédron
25bd2bc7fe
Document the short JID type.
...
PR: EJABP-1
SVN Revision: 1866
2009-02-06 13:35:40 +00:00
Jean-Sébastien Pédron
93b26d947c
Add documentation stub for some types. This will be filled later.
...
PR: EJABP-1
SVN Revision: 1865
2009-02-06 13:34:12 +00:00
Badlop
ec31aef6cb
* src/mod_pubsub/mod_pubsub.erl: The table pubsub_node in ejabberd
...
older than 2.0.2 had indexes for parentid and type. This is not
required since ejabberd 2.0.2, so those indexes can be
deleted. (EJAB-669)
SVN Revision: 1864
2009-02-05 21:23:16 +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
Badlop
96c1307ebf
* doc/Makefile: In Clean do not remove html. In new Distclean, remove also html.
...
SVN Revision: 1862
2009-02-03 10:58:16 +00:00
Badlop
2f45d7ecc1
* doc/Makefile: When cleaning, remove contributed_modules.tex
...
SVN Revision: 1861
2009-02-03 10:47:38 +00:00
Badlop
e321a241b7
* src/Makefile.in: Fix arguments to Install program
...
SVN Revision: 1860
2009-02-03 10:25:06 +00:00