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

2308 Commits

Author SHA1 Message Date
Badlop
1b7cc33a7f Add comment about ping requests sent even to non-supporting clients 2011-08-04 18:32:45 +02:00
Badlop
aa8c9bf0a5 Name and groups must be binaries, not strings 2011-07-28 16:58:58 +02:00
Badlop
92887e96bd Return #roster elements in the expected format 2011-07-28 16:58:40 +02:00
Badlop
4f101c318f Fix JID format, relevant when contact is in roster and shared roster 2011-07-28 16:05:18 +02:00
Badlop
4fcbd5894e Send presence from shared roster contacts to new logged user (EJAB-1412) 2011-07-28 16:05:15 +02:00
Badlop
cd7beb9492 External auth should call storage auth only when cache is enabled 2011-07-27 13:19:53 +02:00
Badlop
91fc4a6fbb Verify username provided in registration web form 2011-07-27 12:44:43 +02:00
Badlop
158aa06760 Handle case when ejabberd_auth_* says the account exists 2011-07-27 12:44:41 +02:00
Badlop
9c2f0681f0 More fix Host usage when running webadmin_page_* 2011-07-21 13:36:16 +02:00
Badlop
cd2d207877 Remove unused variable 2011-07-19 22:14:59 +02:00
Badlop
5ab3561700 Support for: Room option to ignore private messages from visitors 2011-07-19 22:14:58 +02:00
Badlop
19ab0174e4 Support for static_modules in mod_muc and mod_muc_log 2011-07-19 22:14:56 +02:00
Badlop
82551036c2 Fix Host usage when running webadmin_page_* (thanks to Shaun Kruger) 2011-07-19 12:23:05 +02:00
Badlop
d09acc8231 Fix flash client patch 2011-07-18 21:56:23 +02:00
Badlop
98a78624cc Include status 110 in presence to new occupant (EJAB-740) 2011-07-16 19:31:44 +02:00
Badlop
06d4889586 Support static_modules in mod_vcard, vcard_xupdate, version, http_bind and http_fileserver 2011-07-15 02:50:45 +02:00
Badlop
ff8bd0c2ec Support static_modules in mod_caps, ping, privacy, private, roster, stats and time 2011-07-15 02:50:04 +02:00
Badlop
12d6f3364b Support static_modules in mod_blocking, configure, pres_counter, register, shared_roster and sic 2011-07-15 02:49:48 +02:00
Badlop
86859e5234 Try first to get table of the specific Host, otherwise try 'global' 2011-07-15 02:49:35 +02:00
Badlop
b0755c7cfb Use #roster record instead of direct tuple 2011-07-13 17:12:51 +02:00
Evgeniy Khramtsov
8760eef677 Add ldap_tls_cacertfile and ldap_tls_depth options (EJAB-1299) 2011-07-13 15:44:31 +10:00
Badlop
0b1f3ca148 Fix support for static_modules in mod_adhoc, announce, disco, last, offline 2011-07-11 19:47:11 +02:00
Badlop
0d7e69a65e Implement dirty_get_registered_users in ejabberd_auth_storage 2011-07-11 19:47:05 +02:00
Badlop
466481d126 Improve static_modules support in hooks (EJAB-1478)
Also removed code that calls a hook for both Host and for global.
2011-07-11 19:47:03 +02:00
Badlop
b8d74ab2a9 Fix translatable strings 2011-07-11 17:25:05 +02:00
Badlop
1d8a69d94f Room option to ignore private messages from visitors (thanks to Maxim Ignatenko) 2011-07-11 17:25:02 +02:00
Alexey Shchepin
72e3e0e6ad Ported flash clients patch from 2.1.x 2011-07-08 18:17:05 +03:00
Badlop
3ccbf1115c Fix read of global ldap_servers option (EJAB-1309) 2011-07-06 20:49:32 +02:00
Evgeniy Khramtsov
8d4945aa7f Match ldap_uidattr_format case-insensitively (EJAB-1449) 2011-07-04 21:45:42 +10:00
Juan Pablo Carlino
06e3503976 is_user_in_group/3 must check if user belongs to given Group from Host specified on third argument.
* is_user_in_group/3 was checking if given user (passed on first parameter as
a bare jid) belonged to group of the server derived from this jid.
2011-07-01 12:52:07 -03:00
Badlop
1d244c7d9b Comment in the cfg file the correct node name used in ejabberdctl.template 2011-06-28 00:31:31 +02:00
Pablo Polvorin
d3d17e8041 Fix namespace of returned conference participants <item> 2011-06-23 12:31:54 -03:00
Badlop
bf5938ee1d Provide list of registered pids/ports 2011-06-23 16:26:39 +02:00
Badlop
8ad81a3db8 No need to have the default "localhost" in the table "hosts" 2011-06-23 16:26:36 +02:00
Badlop
ef67ec4286 start/stop_modules/methods accept atom or list of atoms 2011-06-22 12:32:52 +02:00
Evgeniy Khramtsov
b2f06226b5 Log an error when an LDAP filter is incorrect (EJAB-1395) 2011-06-15 18:11:08 +02:00
Badlop
9c9f278a96 Fix crash when user publishes an item (EJAB-1457) 2011-06-01 23:29:45 +02:00
Christophe Romain
75b6162b44 Pubsub node maxitem forced to 0 if non persistent node (thanks to Karim Gemayel)(EJAB-1434) 2011-05-31 16:09:27 +02:00
Christophe Romain
75510a4b1b apply filtered notification to PEP last items (thanks to karim Gemayel)(EJAB-1456) 2011-05-31 16:08:25 +02:00
Badlop
8168526f01 New ERL_EPMD_ADDRESS that works since Erlang/OTP R14B03 2011-05-31 12:51:05 +02:00
Badlop
09b4e36457 Cut the string when calling halt/1 2011-05-30 17:11:51 +02:00
Christophe Romain
dfd7936ea6 PubSub: NodeIdx variable name cleanup 2011-05-30 14:04:42 +02:00
Badlop
970f74288b Fix a recent commit about "Set script as executable" 2011-05-30 11:46:31 +02:00
Badlop
b8e9c6a7a2 Add link in the Backup page to the Guide 2011-05-30 11:01:49 +02:00
Badlop
6c08c53d74 Fix get_queue_length argument type 2011-05-27 11:54:52 +02:00
Badlop
82296c277a Support XEP-0191 Simple Communications Blocking (thanks to Stephan Maka)(EJAB-695) 2011-05-27 11:54:50 +02:00
Badlop
806d5497c4 A user can query his own Last activity, even if not subscribed to oneself 2011-05-27 11:54:30 +02:00
Badlop
b0bf89e319 Several fixes and improvements in ejabberd.init.template
Changes:
* Set script as executable
* Add LSB tags and overrides, copied from Debian's ejabberd package
* Add chkconfig support (thanks to Ivan Martinez)(EJAB-1450)
* Don't use nounset, as that breaks when no argument is provided
* Add status command
2011-05-24 23:46:25 +02:00
Badlop
9d9a4d1bc7 Fix errors reported by dialyzer 2011-05-18 19:46:56 +02:00
Badlop
c55aa9be7b Store privacy list user_host and name as binary, not string 2011-05-18 19:46:54 +02:00
Badlop
4d2408c9c9 When module start fails during server start, stop erlang (EJAB-1446) 2011-05-16 22:33:51 +02:00
Christophe Romain
6898553afd Owner can delete any items from its own node (EJAB-1445) 2011-05-06 14:02:37 +02:00
Badlop
a8dd91512c Simplify and particularize the code of previous commit (EJAB-1333) 2011-05-04 23:14:41 +02:00
Badlop
05d95f2dd7 Support in BOSH for stanzas without jabber:client (EJAB-1333) 2011-05-04 23:05:06 +02:00
Badlop
f839b1c6ff Log this cached exception as DEBUG in ejabberd log file 2011-05-04 23:04:07 +02:00
Badlop
b8026d8df7 Reorganize the push_item function, and handle version not_found (EJAB-1420) 2011-04-29 20:34:38 +02:00
Badlop
c611361bbe No need to inform that XEP-0237 is optional; clarified in XEP version 1.2 2011-04-29 20:34:36 +02:00
Badlop
0c7ce8b7fe mod_register Access now also controls account unregistrations 2011-04-26 22:54:28 +02:00
Badlop
34fc5d82b3 Try to improve support for roster_version in MSSQL (EJAB-1437) 2011-04-14 23:10:47 +02:00
Badlop
7436ef1fb1 The responses to HEAD must have empty Body 2011-04-13 10:32:26 +02:00
Badlop
099f7d6521 Support as read-only HTTP method not only GET, also HEAD 2011-04-13 10:32:24 +02:00
Badlop
545162a283 If extauth script crashes, ejabberd should restart it (EJAB-1428) 2011-04-11 21:27:36 +02:00
Badlop
a2d60a1977 Support more captcha_host value formats (EJAB-1418) 2011-04-11 19:58:37 +02:00
Badlop
33745954a9 Store packet table field as binary, not as string 2011-04-11 15:49:06 +02:00
Badlop
028d158e13 Show result of message deletion with colour box 2011-04-11 13:39:48 +02:00
Badlop
b684e90292 First delete messages, and then get the remaining messages 2011-04-11 13:39:46 +02:00
Badlop
191187a279 Store user_host table field as binaries instead of strings 2011-04-11 13:39:43 +02:00
Badlop
80483d8fd1 Migrate MUC tables from 2.1 mnesia to 3.0 gen_storage (EJAB-1372) 2011-04-07 23:55:24 +02:00
Badlop
4689b0d861 Document the mod_muc 2.1.x mnesia tables (EJAB-1372) 2011-04-07 23:55:15 +02:00
Badlop
c73aeca393 Send jid attribute when occupant is banned (EJAB-1432) 2011-04-07 13:12:52 +02:00
Badlop
f893669d91 mod_ping uses iqdisc no_queue by default (thanks to Chris Moos)(EJAB-1435) 2011-04-07 12:09:53 +02:00
Badlop
198298df2c Fix minor comment typo 2011-04-04 17:36:31 +02:00
Badlop
5a876dfd33 Store user_host as binaries in vcard table. Fix migration from old ejabberd 2 tables schema 2011-03-30 19:16:05 +02:00
Christophe Romain
9cf43ffc9e apply pubsub efficiency patch to ODBC code (TECH-1293) 2011-03-23 09:59:10 +01:00
Christophe Romain
8d2def619d add indexes to improve pubsub efficiency (TECH-1293) 2011-03-23 09:36:03 +01:00
Badlop
25a6493e1b Fix typo (thanks to Krzee) 2011-03-17 12:16:54 +01:00
Badlop
71bfa17354 Fix crash when SASL PLAIN denies auth (EJAB-1425) 2011-03-16 18:38:44 +01:00
Badlop
dedd2a7f59 Update the changed string in the PO translation files 2011-03-13 18:41:43 +01:00
Badlop
415a50921f Change string in WebAdmin to reuse an existing one 2011-03-13 18:36:27 +01:00
Badlop
33feca74ec Document that ODBC tables are created by ejabberd itself (EJAB-1421) 2011-03-10 20:29:07 +01:00
Badlop
102dabdefc Only attempt to migrate an old ODBC table if it still exists 2011-03-10 20:29:04 +01:00
Christophe Romain
38bf3bfc1c fix PEP broadcasting (thanks to Karim Gemayel)(EJAB-1411) 2011-03-10 12:24:56 +01:00
Pablo Polvorin
afec527f5f Include client namespace in CAPs queries (EJAB-1411)
When constructing an IQ record, if no namespace is specified
for the IQ,  exmpp treat that literally as "no namespace" and
so put xmlns="" (it do not interpret it as "no change" and let
the parent namespace apply).
So it is neccesarly to especify the jabber:client namespace.

See EXMPP-53.
2011-03-09 16:30:16 -03:00
Badlop
8a135262db Fix bashism and remove duplicate unused option (EJAB-1404) 2011-03-09 16:26:09 +01:00
Pablo Polvorin
3b2af5dfc5 Fix internal-server-error error response (EJAB-1414).
Ejabberd was trying to send a tuple instead of the full error stanza.
2011-03-09 10:30:54 -03:00
Badlop
4caf2c8674 If the port number isn't listener, then specify the protocol (EJAB-1418) 2011-03-03 11:36:35 +01:00
Badlop
6cc950d76f captcha_host must have the port number to get protocol (EJAB-1418) 2011-03-03 00:05:06 +01:00
Badlop
bf8e09038e ejabberdctl needs space between INET_DIST_INTERFACE (thanks to Dale Chase)(EJAB-1416) 2011-02-28 18:42:04 +01:00
Badlop
9a55ced505 Fix to show correctly the command that is unknown 2011-02-23 16:51:40 +01:00
Badlop
62a4e20ae7 Tweak pg2_backport.erl to work with Erlang older than R13A (EJAB-1349) 2011-02-22 23:44:22 +01:00
Badlop
e0bda563e6 Add support for '@online@' Shared Roster Group (thanks to Martin Langhoff)(EJAB-1391)
New version of the @online@ patch originally by Collabora.
Notes:
- the presence push is mediated via the group rather than
  per user - this may reduce memory footprint... _if_ ejabberd
  has some smart optimisation in that codepath
- it assumes that any group with membership @online@ _displays_
  online as well -- this is a simplification and breaks the
  decoupling that ejabberd has in this regard.
2011-02-21 22:32:57 +01:00
Badlop
61e4fde247 Forward old messages to newly spawned extauth process (thanks to Mika Seppänen)(EJAB-1385) 2011-02-21 16:19:45 +01:00
Christophe Romain
7f899ee179 fix broadcast issue (EJAB-1411) 2011-02-21 15:12:31 +01:00
Christophe Romain
75a85beb80 Merge branch 'master' of git+ssh://gitorious.process-one.net/ejabberd/mainline 2011-02-21 14:45:44 +01:00
Christophe Romain
0b7bb342cf fix API issue for subscribe/unsubscribe (EJAB-1410) 2011-02-21 14:45:05 +01:00
Badlop
8f9bf47d78 New route_iq/5 accepting Timeout (thanks to Edwin Fine)(EJAB-1398)
Also new register_iq_response_handler/5
2011-02-21 13:46:59 +01:00
Christophe Romain
15749a2193 server must generate itemid if not given at publish time (EJAB-1409) 2011-02-21 12:08:58 +01:00
Badlop
60d83f937d New DIST_USE_INTERFACE to restrict IP where erlang connections are listened (EJAB-1404) 2011-02-16 23:53:40 +01:00
Badlop
7060791e4e New Indonesian translation (thanks to Irfan Mahfudz Guntur)(EJAB-1407) 2011-02-16 13:46:48 +01:00
Christophe Romain
72395ba497 fix empty pubsub payload check 2011-02-14 16:48:54 +01:00