]>
granicus.if.org Git - ejabberd/log
Badlop [Tue, 25 Apr 2017 23:30:12 +0000 (01:30 +0200)]
Allow a room admin also to subscribe another JID
Holger Weiss [Tue, 25 Apr 2017 20:37:27 +0000 (22:37 +0200)]
mod_stream_mgmt: Fix typo in variable name
Holger Weiss [Tue, 25 Apr 2017 20:32:03 +0000 (22:32 +0200)]
mod_stream_mgmt: Fix 'if_offline' detection
Evgeniy Khramtsov [Tue, 25 Apr 2017 14:59:26 +0000 (17:59 +0300)]
Include original 'id' and 'type' attributes in offline event
Paweł Chmielowski [Tue, 25 Apr 2017 14:54:01 +0000 (16:54 +0200)]
Don't check result of jid.start
Paweł Chmielowski [Tue, 25 Apr 2017 14:31:14 +0000 (16:31 +0200)]
Don't check result of jid.start
Evgeniy Khramtsov [Tue, 25 Apr 2017 14:21:24 +0000 (17:21 +0300)]
Make sure only jabber:x:event tag is present in offline event
Holger Weiss [Mon, 24 Apr 2017 21:51:01 +0000 (23:51 +0200)]
randoms: Keep compatibility with Erlang/OTP 17
Evgeniy Khramtsov [Sun, 23 Apr 2017 13:42:54 +0000 (16:42 +0300)]
Avoid changing configuration on listener deletion
Evgeniy Khramtsov [Sun, 23 Apr 2017 13:37:58 +0000 (16:37 +0300)]
Improve Mnesia tables creation and transformation
Evgeniy Khramtsov [Sun, 23 Apr 2017 08:54:56 +0000 (11:54 +0300)]
Use round-robin algorithm when selecting worker from DB pool
Evgeniy Khramtsov [Sat, 22 Apr 2017 08:33:39 +0000 (11:33 +0300)]
Add clear_cache admin command
PaweÅ\82 Chmielowski [Fri, 21 Apr 2017 10:03:05 +0000 (12:03 +0200)]
Fix elixir tests
Evgeniy Khramtsov [Fri, 21 Apr 2017 09:27:15 +0000 (12:27 +0300)]
Speedup Mnesia tables initialization
Evgeniy Khramtsov [Fri, 21 Apr 2017 07:43:14 +0000 (10:43 +0300)]
Use new cache API in mod_shared_roster_ldap
Evgeniy Khramtsov [Fri, 21 Apr 2017 06:02:10 +0000 (09:02 +0300)]
Use new cache API in ejabberd_oauth
Evgeniy Khramtsov [Thu, 20 Apr 2017 15:55:16 +0000 (18:55 +0300)]
Correct option validation
Evgeniy Khramtsov [Thu, 20 Apr 2017 15:52:16 +0000 (18:52 +0300)]
Use new cache API in mod_mam
Evgeniy Khramtsov [Thu, 20 Apr 2017 15:18:26 +0000 (18:18 +0300)]
Use new cache API in mod_caps
Badlop [Thu, 20 Apr 2017 14:50:08 +0000 (16:50 +0200)]
Fix private_get command sending a proper xmlel (#1683)
Badlop [Thu, 20 Apr 2017 14:49:32 +0000 (16:49 +0200)]
When getting user rooms, filter by the serverhost as expected (#1683)
Holger Weiss [Wed, 19 Apr 2017 21:04:20 +0000 (23:04 +0200)]
mod_stream_mgmt: Preserve stanza count on timeout
If a pending stream management session times out, call
ejabberd_c2s:process_terminated/2 *before* storing the incoming stanza
count. Without this change, the session table entry that holds the
stanza count was purged while closing the session.
Holger Weiss [Wed, 19 Apr 2017 20:18:23 +0000 (22:18 +0200)]
Use #jid{} type for #muc_unsubscribe.jid
Badlop [Wed, 19 Apr 2017 19:47:10 +0000 (21:47 +0200)]
Don't use jid:from_string as it's deprecated, see jid.erl line 43
Evgeniy Khramtsov [Wed, 19 Apr 2017 08:40:58 +0000 (11:40 +0300)]
Don't try to load already loaded applications
Holger Weiss [Tue, 18 Apr 2017 23:20:28 +0000 (01:20 +0200)]
ejabberd_c2s: Don't close session on stream resume
Don't let ejabberd_c2s close the session and unset presence if a
'c2s_terminated' callback stops hook execution, as is done in
mod_stream_mgmt:c2s_terminated/2 on resumption.
Fixes #1680.
Evgeniy Khramtsov [Mon, 17 Apr 2017 22:38:35 +0000 (01:38 +0300)]
Function fix_from_to/2 should not crash when 'from' is undefined
Fixes #1678
Evgeny Khramtsov [Mon, 17 Apr 2017 05:44:00 +0000 (09:44 +0400)]
Merge pull request #1677 from getong/catch_lager_crash_log_not_run
lager_crash_log in some cases not run, catch it
getong [Mon, 17 Apr 2017 04:07:23 +0000 (12:07 +0800)]
lager_crash_log in some cases not run, catch it
Evgeniy Khramtsov [Sun, 16 Apr 2017 20:56:12 +0000 (23:56 +0300)]
Improve logging message
Evgeniy Khramtsov [Sun, 16 Apr 2017 17:05:46 +0000 (20:05 +0300)]
Move compile_exprs() to misc module
Evgeniy Khramtsov [Sun, 16 Apr 2017 12:29:10 +0000 (15:29 +0300)]
Speedup configuration options lookup
We now avoid excessive ETS lookups; instead, we use dynamically
compiled module 'ejabberd_options' keeping the configuration options
Evgeniy Khramtsov [Sat, 15 Apr 2017 22:26:33 +0000 (01:26 +0300)]
Default config file should be ejabberd.yml
Evgeniy Khramtsov [Sat, 15 Apr 2017 22:22:55 +0000 (01:22 +0300)]
Log human readable description when configuration file is not found
Evgeniy Khramtsov [Sat, 15 Apr 2017 22:02:46 +0000 (01:02 +0300)]
Report configuration file location on startup
Evgeniy Khramtsov [Sat, 15 Apr 2017 21:29:55 +0000 (00:29 +0300)]
Speedup loading of translation files
A dump of 'translations' ETS table is now stored on disc.
The table is only re-created when new/deleted/modified translation
files are detected; otherwise, the ETS table is restored from
the dump file on startup.
Evgeniy Khramtsov [Sat, 15 Apr 2017 12:47:00 +0000 (15:47 +0300)]
Lower log level for some messages
Evgeniy Khramtsov [Sat, 15 Apr 2017 12:38:48 +0000 (15:38 +0300)]
Add Riak as mod_proxy65 RAM backend
Evgeniy Khramtsov [Sat, 15 Apr 2017 11:41:14 +0000 (14:41 +0300)]
Add Riak as mod_carboncopy RAM backend
Evgeniy Khramtsov [Sat, 15 Apr 2017 10:52:36 +0000 (13:52 +0300)]
Add Riak as BOSH RAM backend
Evgeniy Khramtsov [Sat, 15 Apr 2017 10:36:29 +0000 (13:36 +0300)]
Fix cleaning of Riak route table
Evgeniy Khramtsov [Sat, 15 Apr 2017 10:07:56 +0000 (13:07 +0300)]
Add Riak as router RAM backend
Evgeniy Khramtsov [Sat, 15 Apr 2017 08:15:50 +0000 (11:15 +0300)]
Fix closing of outbound S2S connections
Evgeniy Khramtsov [Sat, 15 Apr 2017 07:02:32 +0000 (10:02 +0300)]
Add Riak as session manager RAM backend
Evgeniy Khramtsov [Sat, 15 Apr 2017 05:30:41 +0000 (08:30 +0300)]
Improve ejabberd_c2s:close()
Evgeniy Khramtsov [Fri, 14 Apr 2017 17:56:01 +0000 (20:56 +0300)]
Make sure stream trailer is sent in the very end
Evgeniy Khramtsov [Fri, 14 Apr 2017 17:41:25 +0000 (20:41 +0300)]
Better process session close
Evgeniy Khramtsov [Fri, 14 Apr 2017 17:40:39 +0000 (20:40 +0300)]
Fix a typo
Evgeniy Khramtsov [Fri, 14 Apr 2017 17:34:00 +0000 (20:34 +0300)]
Fix ejabberd_router:is_my_route/1
Evgeniy Khramtsov [Fri, 14 Apr 2017 17:32:26 +0000 (20:32 +0300)]
Don't forget to disconnect
Evgeniy Khramtsov [Fri, 14 Apr 2017 10:57:52 +0000 (13:57 +0300)]
Use cache in front of Redis/SQL RAM backends
Paweł Chmielowski [Fri, 14 Apr 2017 07:47:25 +0000 (09:47 +0200)]
Bump xmpp dependency, it's required by previous commit
Badlop [Thu, 13 Apr 2017 20:37:39 +0000 (22:37 +0200)]
Allow a room admin to unsubscribe another JID
Holger Weiss [Tue, 11 Apr 2017 11:52:10 +0000 (13:52 +0200)]
Travis CI: Update MySQL package
The "mysql-server-5.6" package is no longer available.
Holger Weiss [Tue, 11 Apr 2017 11:38:33 +0000 (13:38 +0200)]
mod_muc_room: Replace deprecated function call
Use jid:decode/1 instead of jlib:string_to_jid/1.
Christophe Romain [Tue, 11 Apr 2017 10:13:58 +0000 (12:13 +0200)]
Rename aux.erl as misc.erl
Thanks Microsoft Windows to not support some filenames
Christophe Romain [Tue, 11 Apr 2017 06:11:29 +0000 (08:11 +0200)]
Use p1_utils 1.0.8
Badlop [Mon, 10 Apr 2017 10:23:14 +0000 (12:23 +0200)]
New muc_register_nick command (thanks to Peter Marheine)(#1407)
Christophe Romain [Fri, 7 Apr 2017 13:10:39 +0000 (15:10 +0200)]
Merge pull request #1666 from weiss/fix-csi
Let CSI keep latest stanzas of each given full JID
Christophe Romain [Fri, 7 Apr 2017 13:10:26 +0000 (15:10 +0200)]
Merge pull request #1664 from weiss/fix-routing
Fix routing of groupchat and headline messages
Christophe Romain [Fri, 7 Apr 2017 10:51:43 +0000 (12:51 +0200)]
Let ext_mod be aware of p1_utils includes
Christophe Romain [Fri, 7 Apr 2017 10:09:43 +0000 (12:09 +0200)]
Generate ejabberd lib dir when not available in code server (#1665)
This is the case if running ejabberd from development directory
when code:lib_dir(ejabberd) returns {error, nad_name}.
Christophe Romain [Fri, 7 Apr 2017 09:12:27 +0000 (11:12 +0200)]
Improve S2S examples (#1583)
Christophe Romain [Fri, 7 Apr 2017 09:02:11 +0000 (11:02 +0200)]
Add more examples on config template (#1583)
Christophe Romain [Fri, 7 Apr 2017 08:04:38 +0000 (10:04 +0200)]
Merge pull request #1660 from michal800106/master
Fix order of starting supervisors.
Evgeniy Khramtsov [Fri, 7 Apr 2017 06:10:33 +0000 (09:10 +0300)]
Improve logging of Redis errors
Holger Weiss [Thu, 6 Apr 2017 21:00:53 +0000 (23:00 +0200)]
mod_client_state: Remove some empty lines
Holger Weiss [Thu, 6 Apr 2017 20:19:00 +0000 (22:19 +0200)]
mod_client_state: Queue stanzas of each full JID
Keep the latest stanzas of each given full JID, rather than dropping
them when stanzas from a different resource are received. This change
makes sure the recipient receives the latest status of all clients of
each contact. It also ensures the recipient will see the current list
of occupants of joined MUC rooms.
Holger Weiss [Thu, 6 Apr 2017 19:01:26 +0000 (21:01 +0200)]
mod_client_state: Don't keep track of queue size
Use maps:size/1 rather than keeping track of the size ourselves.
Evgeniy Khramtsov [Thu, 6 Apr 2017 17:56:46 +0000 (20:56 +0300)]
Improve type specs and return values
Evgeniy Khramtsov [Thu, 6 Apr 2017 14:56:37 +0000 (17:56 +0300)]
Add Redis pool support
Fixes #1624
Christophe Romain [Thu, 6 Apr 2017 13:35:02 +0000 (15:35 +0200)]
Set default prefix to /usr/local
michal [Thu, 6 Apr 2017 06:50:23 +0000 (08:50 +0200)]
Fix order of starting supervisors.
ExtMod should be loaded before GenModSupervisor because ext_mod adds proper paths to ebin from modules (ejabberd-contrib).
Without this change you have to add -pa parameter with path to module's ebin.
Holger Weiss [Wed, 5 Apr 2017 19:03:13 +0000 (21:03 +0200)]
ejabberd_sm: Fix routing of headline messages
As per RFC 6121, silently drop headline messages sent to the bare JID of
an offline user or to the full JID of an unavailable resource.
Holger Weiss [Wed, 5 Apr 2017 18:41:10 +0000 (20:41 +0200)]
ejabberd_sm: Fix routing of groupchat messages
As per RFC 6121, don't (re)route groupchat messages sent to a bare JID
or to an unavailable resource.
Holger Weiss [Wed, 5 Apr 2017 18:23:28 +0000 (20:23 +0200)]
ejabberd_sm: Fix typo in debug message
Evgeniy Khramtsov [Wed, 5 Apr 2017 12:19:00 +0000 (15:19 +0300)]
Add description to feature-not-implemented error
Evgeniy Khramtsov [Wed, 5 Apr 2017 12:10:18 +0000 (15:10 +0300)]
Set 'read_concurrency' for some ETS tables
Evgeniy Khramtsov [Wed, 5 Apr 2017 07:42:42 +0000 (10:42 +0300)]
Don't misuse monotonic_time/0
Christophe Romain [Tue, 4 Apr 2017 15:02:15 +0000 (17:02 +0200)]
Disable mix tests
Evgeniy Khramtsov [Tue, 4 Apr 2017 14:14:24 +0000 (17:14 +0300)]
Don't log warning on successful ping reply
Evgeniy Khramtsov [Tue, 4 Apr 2017 06:53:45 +0000 (09:53 +0300)]
Merge branch 'master' of github.com:processone/ejabberd
Evgeniy Khramtsov [Tue, 4 Apr 2017 06:52:42 +0000 (09:52 +0300)]
Fix c2s connection close on demand
Fixes #1652
Alexey Shchepin [Mon, 3 Apr 2017 13:30:02 +0000 (16:30 +0300)]
Forget prepared SQL queries on database connect (#1325)
Christophe Romain [Mon, 3 Apr 2017 10:13:03 +0000 (12:13 +0200)]
Always init pubsub_index when using mnesia
Alexey Shchepin [Mon, 3 Apr 2017 09:57:23 +0000 (12:57 +0300)]
Change mnesia dir detection
Christophe Romain [Mon, 3 Apr 2017 09:32:13 +0000 (11:32 +0200)]
Remove obsolete mnesia migration calls
Now that plugins directly use ejabberd_mnesia and can include their own
transform handler, we don't need pubsub_migrate anymore.
People upgrading from 2.1.1x version must upgrade to 17.01 first.
pubsub_migrate module remains to support any manual process requiring it
Evgeniy Khramtsov [Sun, 2 Apr 2017 08:56:09 +0000 (11:56 +0300)]
Improve redis related code
Evgeniy Khramtsov [Fri, 31 Mar 2017 16:10:07 +0000 (19:10 +0300)]
Use ejabberd_sql:abort/1 instead of exit/1
Evgeniy Khramtsov [Fri, 31 Mar 2017 16:08:16 +0000 (19:08 +0300)]
Merge branch 'master' of github.com:processone/ejabberd
Evgeniy Khramtsov [Fri, 31 Mar 2017 16:07:56 +0000 (19:07 +0300)]
Add Redis as mod_proxy65 RAM backend
Alexey Shchepin [Fri, 31 Mar 2017 14:37:18 +0000 (17:37 +0300)]
Add ejabberd_sql:abort/1 and ejabberd_sql:restart/1
Evgeniy Khramtsov [Fri, 31 Mar 2017 05:16:28 +0000 (08:16 +0300)]
Add SQL as mod_proxy65 RAM backend
Evgeniy Khramtsov [Thu, 30 Mar 2017 14:51:37 +0000 (17:51 +0300)]
Raise bad_node instead of node_down for consistency reason
Evgeniy Khramtsov [Thu, 30 Mar 2017 14:44:43 +0000 (17:44 +0300)]
Do not duplicate enc_pid/dec_pid functions
Christophe Romain [Thu, 30 Mar 2017 12:28:55 +0000 (14:28 +0200)]
Add missing jlib->aux convertion
Christophe Romain [Thu, 30 Mar 2017 12:26:30 +0000 (14:26 +0200)]
Refactor pubsub's get_last_items
Evgeniy Khramtsov [Thu, 30 Mar 2017 11:17:13 +0000 (14:17 +0300)]
Deprecate jlib.erl in favor of aux.erl
Since the main goal of jlib.erl is lost, all auxiliary functions
are now moved to aux.erl, and the whole jlib.erl is now deprecated.
Christophe Romain [Thu, 30 Mar 2017 10:47:42 +0000 (12:47 +0200)]
Merge pull request #1646 from weiss/custom-headers
Add custom_headers option for ejabberd_http listeners
Evgeniy Khramtsov [Thu, 30 Mar 2017 08:45:09 +0000 (11:45 +0300)]
Add Redis as mod_carboncopy RAM backend