25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-11-26 16:26:24 +01:00
Commit Graph

579 Commits

Author SHA1 Message Date
Alexey Shchepin
2e41080960 * doc/guide.tex: Fixed typo
SVN Revision: 155
2003-10-19 16:44:48 +00:00
Alexey Shchepin
f594dd0746 * src/ejabberd_local.erl: Added support for announce/online
messages

* src/ejabberd.cfg.example: Updated

* src/mod_register.erl: Added support for sending registration
notifications

SVN Revision: 154
2003-10-19 16:19:55 +00:00
Alexey Shchepin
a704f9760d * src/ejabberd_service.erl: Added supports for multiple hosts per
service

* src/Makefile.in: Minor fix

SVN Revision: 153
2003-10-18 19:15:12 +00:00
Alexey Shchepin
392d64ee8b * src/configure.ac: Build system now done using autoconf (thanks
to Balabanov Dmitry)
* src/aclocal.m4: Likewise
* src/**/Makefile.in: Likewise

* src/mod_roster.erl (process_item_set_t): Slightly improved
performance

* src/jd2ejd.erl: Added missed closing of XML stream process,
removed timeout value from import_file/1

* src/ejabberd_auth.erl: Added checks for invalid user name

SVN Revision: 152
2003-10-17 19:15:38 +00:00
Alexey Shchepin
8c027ab41d * src/mod_configure.erl: Fixed some error codes
* src/cyrsasl_digest.erl: Bugfix (thanks to Justin Karneges)

SVN Revision: 151
2003-10-16 18:17:44 +00:00
Alexey Shchepin
8106d5f9c1 * src/ejabberd_local.erl: Bugfix
* src/mod_register.erl: Added support for sending of "welcome"
message
* src/ejabberd.cfg.example: Updated

* src/ejabberd_s2s_out.erl: Replaced "_jabber-server" with
"_xmpp-server"

SVN Revision: 150
2003-10-14 19:34:17 +00:00
Alexey Shchepin
5c0ba6e337 * doc/guide.tex: Updated
* src/ejabberd_s2s_out.erl: Added support for IPv6 and
"_jabber-server.tcp" lookups

* src/jlib.erl (string_to_jid1): Bugfix

* src/ejabberd_config.erl: Now possible to specify path to config
file in command line

SVN Revision: 149
2003-10-12 18:21:16 +00:00
Alexey Shchepin
146d464f96 * doc/guide.tex: Updated
* src/ejabberd.cfg: Added "register" rule, added some comments,
this file renamed to ejabberd.cfg.example

* src/mod_register.erl (try_register): Fixed error reply, added
check for "register" access rule

* src/stringprep/Makefile.win32: Added Makefile for Win32 (thanks
to Sergei Golovan)

SVN Revision: 148
2003-10-11 17:39:36 +00:00
Alexey Shchepin
4b48617a2d * src/stringprep/stringprep_drv.c: Removed needless iconv.h
include

* src/ejabberd_c2s.erl: Added filtering of presence packets with
privacy rules

* src/mod_roster.erl (get_jid_info): Bugfix

* src/ejabberd_app.erl: Removed periodical dumping of opened ports

SVN Revision: 147
2003-10-10 19:01:11 +00:00
Alexey Shchepin
7df146166a * src/ejabberd_c2s.erl: Added authentification logging
* src/ejabberd_listener.erl: Added logging of accepted connections

* src/stringprep/stringprep_drv.c: Cleanup

* src/jd2ejd.erl: Added support for iq:private importing

* src/mod_configure.erl: Fixed user removal

* src/mod_private.erl: Added remove_user/1

* doc/guide.tex: Updated

* src/mod_disco.erl: Added "extra_domains" option

SVN Revision: 146
2003-10-09 18:09:05 +00:00
Alexey Shchepin
8e7106dd74 * src/ejabberd_c2s.erl: Added support for "jid-malformed" error
* src/stringprep/stringprep_drv.c: Bugfix

SVN Revision: 145
2003-10-08 18:27:48 +00:00
Alexey Shchepin
61875f80b3 * (all): Changed JID storage format, added support for stringprep
* src/stringprep/: Added support for Unicode normalization form KC

* src/stringprep/: Added support for case convertion to multiple
characters

* src/cyrsasl_digest.erl: Temporary removed "auth-int" QOP

SVN Revision: 144
2003-10-07 20:31:44 +00:00
Alexey Shchepin
94690e5eb6 * src/stringprep/stringprep_drv.c: Added support for nameprep,
nodeprep and resourceprep
* src/stringprep/stringprep.erl: Likewise

* src/ejabberd_sup.erl: Added loading of stringprep

* src/ejabberd_sm.erl: Cleanup

SVN Revision: 142
2003-09-28 18:27:55 +00:00
Alexey Shchepin
8888e2528c * src/stringprep/: Support for stringprep (not completed yet)
* src/mod_muc/mod_muc.erl: Replaced io:format calls to ?DEBUG ones

SVN Revision: 141
2003-09-26 18:55:01 +00:00
Alexey Shchepin
aa9f1549f4 * src/mod_muc/mod_muc_room.erl: Debug output switched off
* src/mod_disco.erl: Server identity changed to "service/im"

* src/mod_register.erl: Fixed jabber:iq:register handler
registration, fixed registration removal processing

SVN Revision: 140
2003-09-19 18:22:44 +00:00
Alexey Shchepin
3df8ed2cc1 * src/mod_disco.erl: Now only admin can discovery some nodes,
fixed "node" attribute in replies

SVN Revision: 139
2003-09-16 18:12:44 +00:00
Alexey Shchepin
ea59447230 * examples/mtr/ejabberd.cfg: Updated (thanks to Marshall T. Rose)
* examples/mtr/ejabberd: Likewise

SVN Revision: 138
2003-09-10 19:49:48 +00:00
Alexey Shchepin
5e4951a4b5 * examples/mtr/ejabberd.cfg: Updated (thanks to Marshall T. Rose)
SVN Revision: 137
2003-09-06 18:20:23 +00:00
Alexey Shchepin
8d260c02fb * examples/mtr/*: Example config and scripts for NetBSD (thanks to
Marshall T. Rose)

SVN Revision: 136
2003-09-04 18:17:39 +00:00
Alexey Shchepin
de6b2a2996 * src/ejabberd_s2s_in.erl: Fixed "id" attribute processing
* src/ejabberd_s2s_out.erl: Likewise

* src/ejabberd_c2s.erl: Added sending of empty <stream:features/>
element after opening of authentificated stream

SVN Revision: 135
2003-09-03 17:49:42 +00:00
Alexey Shchepin
dc80fa1562 * src/ejabberd_s2s_in.erl: Temporary hack for "id" attribute
processing
* src/ejabberd_s2s_out.erl: Likewise

SVN Revision: 134
2003-09-02 20:13:32 +00:00
Alexey Shchepin
ee72872087 * src/ejabberd_listener.erl: Fixed SSL options
SVN Revision: 133
2003-08-30 19:19:23 +00:00
Alexey Shchepin
141e99aaa9 * src/ejabberd_c2s.erl: Support for filtering of incoming messages
and IQs, presence filtering will be after some xmpp-im
clarifications

SVN Revision: 132
2003-08-18 19:17:28 +00:00
Alexey Shchepin
05183f5628 * src/mod_muc/mod_muc.erl: Fixed handling of room names with
uppercase letters

* src/mod_muc/mod_muc_room.erl: Added support for
password-protected rooms

SVN Revision: 131
2003-08-15 19:17:12 +00:00
Alexey Shchepin
03682829e7 * src/mod_irc/mod_irc_connection.erl: Added handling for
jabber:iq:version and jabber:iq:time requests, participant address
now added to presence status

SVN Revision: 130
2003-08-12 19:23:55 +00:00
Alexey Shchepin
d0f38de9e1 * src/mod_privacy.erl: Privacy rules support
* src/ejabberd_c2s.erl: Likewise
* src/mod_roster.erl: Likewise

SVN Revision: 128
2003-08-03 19:09:40 +00:00
Alexey Shchepin
f91e46ad8d * src/mod_pubsub/mod_pubsub.erl (create_new_node): Bugfix
SVN Revision: 127
2003-07-27 19:56:16 +00:00
Alexey Shchepin
28c0fee27b * src/mod_vcard.erl: Bugfix
* src/mod_roster.erl: Bugfix

* src/jlib.hrl: Added iq:privacy namespace

* src/mod_irc/mod_irc_connection.erl: Added support for NOTICE and
CODEPAGE commands, better support for QUIT and PART commands
(thanks to Oleg V. Motienko)

SVN Revision: 126
2003-07-21 20:01:22 +00:00
Alexey Shchepin
ca5d88c368 * (all): Reorganized supervision tree
SVN Revision: 125
2003-07-20 20:35:35 +00:00
Alexey Shchepin
1834fb3a72 * src/ejabberd_s2s_out.erl: Close connection after key
verification

* src/ejabberd_c2s.erl: start replaced with start_link
* src/ejabberd_s2s_in.erl: Likewise
* src/ejabberd_s2s_out.erl: Likewise
* src/ejabberd_service.erl: Likewise

* src/ejabberd_listener.erl: Now uses proc_lib to spawn listeners,
removed 3rd parameter in listener configuration (assumed to equal
start_link)

* src/ejabberd.rel: Updated

* doc/guide.tex: Small changes

* doc/Makefile: Added implicit charset specification to hevea

SVN Revision: 124
2003-07-14 18:06:03 +00:00
Alexey Shchepin
3131c08155 * doc/guide.tex: Updated (thanks to Sergei Golovan)
* src/expat_erl.c: Added #ifdef for WIN32 (thanks to Sergei
Golovan)
* src/mod_irc/iconv_erl.c: Likewise

* src/configure.erl: Defines ERLANG_DIR variable (thanks to Sergei
Golovan)
* **/Makefile: Use ERLANG_DIR (thanks to Sergei Golovan)

* **/Makefile.win32: Makefiles for windows build (thanks to Sergei
Golovan)
* src/configure.bat: Configuration script for windows (thanks to
Sergei Golovan)

SVN Revision: 123
2003-07-13 09:00:01 +00:00
Alexey Shchepin
e8bbcfeecd * src/mod_pubsub/mod_pubsub.erl: Added suport for meta-node
"pubsub/nodes"

SVN Revision: 122
2003-07-09 18:58:43 +00:00
Alexey Shchepin
e9fb1795d8 * src/mod_pubsub/mod_pubsub.erl: Most of functions now works
SVN Revision: 121
2003-07-08 20:11:27 +00:00
Alexey Shchepin
91fa7350c6 * src/mod_pubsub/mod_pubsub.erl: Pub/sub implementation (not
completed yet)

* src/jlib.hrl: Added pub/sub nemaspaces

SVN Revision: 120
2003-07-07 19:45:22 +00:00
Alexey Shchepin
c5bfac85a6 * src/mod_irc/iconv_erl.c (iconv_erl_control): Bugfix
SVN Revision: 119
2003-07-03 07:49:59 +00:00
Alexey Shchepin
8bee1ad5a6 * src/mod_muc/mod_muc_room.erl: Fixed room destroying
* src/mod_muc/mod_muc.erl: Likewise

SVN Revision: 118
2003-06-30 12:24:35 +00:00
Alexey Shchepin
081c698731 * src/jlib.hrl: Error stanzas updated to confirm latest xmpp-core
SVN Revision: 117
2003-06-29 18:03:07 +00:00
Alexey Shchepin
26fbd7f521 * src/ejabberd_c2s.erl: Returned stream restarting
SVN Revision: 116
2003-06-20 07:16:31 +00:00
Alexey Shchepin
1a8ed857dc * src/ejabberd_c2s.erl: Removed stream restarting
SVN Revision: 115
2003-06-10 07:07:00 +00:00
Alexey Shchepin
bc73337214 * src/ejabberd_c2s.erl: SASL support updated to xmpp-core-13
* src/cyrsasl*.erl: Support for authzid

SVN Revision: 114
2003-06-07 17:30:25 +00:00
Alexey Shchepin
2efb3e7e88 * src/msgs/fr.msg: New french translation (thanks to Vincent Ricard)
SVN Revision: 113
2003-06-03 19:26:16 +00:00
Alexey Shchepin
5bd95c260c * src/jlib.hrl: Updated SASL namespace
SVN Revision: 112
2003-05-31 19:51:11 +00:00
Alexey Shchepin
f05efc0814 * src/ejabberd_service.erl: Proper handling of bad XML
* src/mod_muc/mod_muc_room.erl: Append number of participants in
disco replies if requester allowed to see participant list

* src/mod_muc/mod_muc.erl (iq_disco_items): Pass requester JID to
room process

* src/mod_irc/mod_irc_connection.erl: Exit on receiving of
presence or message error

* src/mod_irc/mod_irc_connection.erl (handle_info): Return
"feature not implemented" on iq request with unknown namespace

SVN Revision: 111
2003-05-29 19:07:41 +00:00
Alexey Shchepin
d719a93fa1 * src/mod_muc/mod_muc.erl: Now body of message from admin to MUC
service is broadcasted to all conferences
* src/mod_muc/mod_muc_room.erl: Likewise

SVN Revision: 110
2003-05-18 16:41:15 +00:00
Alexey Shchepin
ee15945cd7 * src/ejabberd_s2s.erl: Added error catching for do_route/3
* src/ejabberd_local.erl: Likewise for do_route/4

* src/msgs/ru.msg: Updated

* src/mod_muc/mod_muc_room.erl: New option to allow to view list
of participants for non-ones via disco#items

* src/mod_muc/mod_muc_room.erl: Store room subject with
configuration options

SVN Revision: 109
2003-05-15 18:16:13 +00:00
Alexey Shchepin
2d3aa901a9 * src/mod_muc/mod_muc_room.erl: Remove user from room on receiving
of message or presence error from him

SVN Revision: 108
2003-05-14 19:58:05 +00:00
Alexey Shchepin
481cc2d1f4 * src/ejabberd_s2s_out.erl: Fixed error replies, added timeouts
* src/ejabberd_s2s_in.erl: Likewise

SVN Revision: 107
2003-05-12 18:36:13 +00:00
Alexey Shchepin
86cd1729cb * src/ejabberd_local.erl: Updated missed errors to new style
* src/mod_register.erl: Likewise
* src/mod_version.erl: Likewise
* src/mod_time.erl: Likewise
* src/mod_stats.erl: Likewise
* src/mod_register.erl: Likewise
* src/mod_private.erl: Likewise
* src/mod_configure.erl: Likewise
* src/ejabberd_sm.erl: Likewise
* src/ejabberd_service.erl: Likewise
* src/ejabberd_c2s.erl: Likewise
* src/ejabberd_s2s_out.erl: Likewise
* src/mod_vcard.erl: Likewise
* src/mod_roster.erl: Likewise

* src/mod_muc/mod_muc.erl: Added vcard to mod_muc module

* src/ejabberd_app.erl: Dump list of opened ports every hour

* src/ejabberd.hrl: Added INFO_MSG macros, ERROR_LOG_PATH renamed
to LOG_PATH

SVN Revision: 106
2003-05-09 19:32:59 +00:00
Alexey Shchepin
848b06db12 * src/mod_muc/mod_muc.erl: Denied using of empty nick
SVN Revision: 105
2003-05-08 11:46:38 +00:00
Alexey Shchepin
d2c39490f1 * src/mod_muc/mod_muc.erl: Return bad-request if no x:data form
submited with nick registration

SVN Revision: 104
2003-05-07 14:17:53 +00:00
Alexey Shchepin
c2ca4e00dc * src/mod_muc/mod_muc_room.erl: Don't check permissions on disco
info query processing

SVN Revision: 103
2003-05-07 13:18:09 +00:00
Alexey Shchepin
5b1379fe59 * src/ejabberd_c2s.erl: Workaround to make SSL work properly
SVN Revision: 102
2003-04-29 19:05:31 +00:00
Alexey Shchepin
7f9929e1f0 * src/mod_irc/mod_irc_connection.erl: Fixed URL to ejabberd
SVN Revision: 101
2003-04-28 13:56:58 +00:00
Alexey Shchepin
0a166ec7a6 * src/ejabberd_c2s.erl: Some fixes in work with socket
SVN Revision: 99
2003-04-15 13:48:43 +00:00
Alexey Shchepin
ae6669c9af * src/mod_muc/mod_muc_room.erl: Support for members-only
conferences, invitations.  Bugfix in affiliation change processing

* src/jlib.hrl: Added jabberconference namespace definition

SVN Revision: 98
2003-04-13 19:22:46 +00:00
Alexey Shchepin
71d4115a08 * src/jlib.hrl: Added jaber:iq:auth:error namespace and
appropriate errors
* src/ejabberd_c2s.erl: Use auth:error in appropriate places

* src/jlib.hrl: Changed stream error and stanza error namespace
names due to last XMPP Core changes

SVN Revision: 97
2003-04-08 19:32:01 +00:00
Alexey Shchepin
76fdfe18b4 * src/mod_muc/mod_muc_room.erl: Added support for grant/revoke
administrative/owner priveledges, fixed work with affiliations

SVN Revision: 96
2003-03-28 20:20:49 +00:00
Alexey Shchepin
1c189c0f1b * src/ejabberd.cfg: Updated
* src/mod_muc/mod_muc_room.erl: Support for service admin,
kick/ban reasons, more options

* src/msgs/ru.msg: Added translations for MUC messages

SVN Revision: 95
2003-03-27 20:55:09 +00:00
Alexey Shchepin
27b0a72c6f * src/ejabberd_s2s_in.erl: Bugfix
SVN Revision: 94
2003-03-27 15:28:47 +00:00
Alexey Shchepin
0b865c3dc4 * src/mod_muc/: Small fixes in discovering
SVN Revision: 93
2003-03-27 14:06:17 +00:00
Alexey Shchepin
8efae60c04 * src/mod_muc/: Support for discovering service and more
configuration options

SVN Revision: 92
2003-03-26 20:51:18 +00:00
Alexey Shchepin
6d89957e06 * src/mod_muc/: Support for more configuration options and
persistent rooms

SVN Revision: 91
2003-03-25 21:03:35 +00:00
Alexey Shchepin
bc756c3737 * src/mod_muc/: MUC support (not completed yet)
SVN Revision: 90
2003-03-23 20:08:44 +00:00
Alexey Shchepin
9921b1c1d8 * src/xml_stream.erl: Removed "link" which cause not improper
closing of xml connections

SVN Revision: 89
2003-03-15 21:11:20 +00:00
Alexey Shchepin
8b26ac9e97 * src/ejabberd_s2s_out.erl: Fixed ports leak
* src/ejabberd_listener.erl: Likewise

* src/ejabberd_c2s.erl: Fixes for SASL support

* src/cyrsasl.erl: Fixes

* src/cyrsasl_digest.erl: DIGEST-MD5 SASL mechanism support

SVN Revision: 87
2003-03-12 19:48:05 +00:00
Alexey Shchepin
f3916bddd2 * src/cyrsasl*.erl: SASL support (currently support only PLAIN
mechanism)
* src/ejabberd_c2s.erl: Likewise

(all): Support for new-style error elements (except old errors
"Not Acceptable", "Not Found", "Invalid Namespace" and "Server
Connect Failed", so ejabberd may work unstable)

SVN Revision: 86
2003-03-09 20:46:47 +00:00
Alexey Shchepin
658552d605 * src/ejabberd_c2s.erl: More correct stream closing
SVN Revision: 85
2003-03-02 20:55:16 +00:00
Alexey Shchepin
d062175ffb * src/mod_irc/mod_irc_connection.erl: Support for topic changes
SVN Revision: 84
2003-02-27 20:09:03 +00:00
Alexey Shchepin
65fb70c11f * src/mod_irc/mod_irc_connection.erl: /kick support
SVN Revision: 83
2003-02-24 20:39:14 +00:00
Alexey Shchepin
499a1117dc * src/mod_irc/: Added configuration interface
* src/mod_configure.erl: Use jabber:iq:data instead of
jabberdata
* src/mod_disco.erl: Likewise

SVN Revision: 82
2003-02-23 20:13:39 +00:00
Alexey Shchepin
764a4288ce * src/mod_configure.erl: Backup management support
* src/mod_disco.erl: Likewise

SVN Revision: 81
2003-02-22 19:11:00 +00:00
Alexey Shchepin
c18826ad53 * src/mod_offline.erl: Now possible to unload this module
* src/ejabberd_sm.erl: Added checks to work correctly when
mod_offline not loaded
* src/ejabberd_c2s.erl: Likewise

* src/mod_register.erl: Added support for users removal

* src/ejabberd_auth.erl: Added function to remove user only if
specified password correct

* src/mod_irc/mod_irc_connection.erl: Fixed bug with changing
availability status, added processing of "QUIT" message

SVN Revision: 80
2003-02-21 19:52:15 +00:00
Alexey Shchepin
8664881c8f * src/mod_roster.erl: Fixed bug with handling of roster set
stanzas that contains CDATA

* src/mod_irc/mod_irc_connection.erl (handle_info/3): Fixed
parsing of string that have "\n" line separators (not "\r\n")

SVN Revision: 79
2003-02-20 17:12:03 +00:00
Alexey Shchepin
b704efd553 * src/mod_irc/: Added support for private chats, nicks changes and
error handling

SVN Revision: 78
2003-02-18 20:33:10 +00:00
Alexey Shchepin
1e1f02db98 * src/mod_irc/: Still not completed...
SVN Revision: 75
2003-02-17 15:11:27 +00:00
Alexey Shchepin
a28f723243 * src/mod_irc/: New IRC transport (not completed yet)
SVN Revision: 74
2003-02-16 20:07:21 +00:00
Alexey Shchepin
d19c1b3a3f * src/ejabberd_service.erl: Answer "Bad Request" on unknown tags
SVN Revision: 73
2003-02-14 20:26:57 +00:00
Alexey Shchepin
741ff3cc75 * src/ejabberd_c2s.erl: Bugfix: close socket when stream is closed
* src/mod_offline.erl: Now all offline packets processed in
separate queue to avoid delaying of other packets transmission.
Also all packets in queue processed in one transaction.

SVN Revision: 72
2003-02-13 19:39:13 +00:00
Alexey Shchepin
d57c147626 * (all): Version 0.1-alpha released
SVN Revision: 71
2003-02-11 20:45:35 +00:00