]>
granicus.if.org Git - ejabberd/log
Mickael Remond [Wed, 9 Nov 2016 08:04:52 +0000 (09:04 +0100)]
Expose unregister API command
Christophe Romain [Thu, 29 Sep 2016 14:10:11 +0000 (16:10 +0200)]
PubSub: creation jid must be bare jid
Christophe Romain [Thu, 29 Sep 2016 10:00:59 +0000 (12:00 +0200)]
PubSub: fix notification on subscription change
Christophe Romain [Thu, 29 Sep 2016 09:20:56 +0000 (11:20 +0200)]
PubSub: fix error type on item deletion with insufficient priviledge
Badlop [Wed, 28 Sep 2016 09:03:46 +0000 (11:03 +0200)]
Fix 404 response formatting (thanks to Kaggggggga)(#1306)
Holger Weiss [Tue, 27 Sep 2016 21:22:30 +0000 (23:22 +0200)]
ejabberd_http: Handle missing POST data gracefully
Return a "bad request" error instead of crashing if receiving POST/PUT
data fails.
Alexey Shchepin [Tue, 27 Sep 2016 04:12:10 +0000 (07:12 +0300)]
Use inets instead of lhttpc in http_p1
Alexey Shchepin [Tue, 27 Sep 2016 02:57:14 +0000 (05:57 +0300)]
Add http_p1.erl, rest.erl, and oauth2 ReST backend for tokens.
Holger Weiss [Mon, 19 Sep 2016 20:46:36 +0000 (22:46 +0200)]
mod_carboncopy: Don't copy MUC PMs
Carbon copies of private MUC message are generally not desired,
especially not when multiple clients joined the room with the same nick.
In this case, the MUC service usually sends PMs to all joined resources
anyway, so carbon-copying those PMs would create duplicates.
Badlop [Mon, 19 Sep 2016 11:46:01 +0000 (13:46 +0200)]
When getting list of subscribed rooms, check all including temporary ones (#1242)
Badlop [Mon, 19 Sep 2016 10:54:19 +0000 (12:54 +0200)]
Revert "Fix getting of subscribed rooms: consider also temporary ones (#1242)"
This reverts commit
f2cc81dfead352d4e8c4b3f546d1c2d734076c5c .
Badlop [Mon, 19 Sep 2016 10:35:53 +0000 (12:35 +0200)]
Fix getting of subscribed rooms: consider also temporary ones (#1242)
Badlop [Mon, 19 Sep 2016 10:35:32 +0000 (12:35 +0200)]
Store the Allow Subscription room option (#1301)
Badlop [Mon, 19 Sep 2016 09:59:40 +0000 (11:59 +0200)]
Don't worry about storage_type of the Acl mnesia table (#1206)
Badlop [Mon, 19 Sep 2016 09:54:46 +0000 (11:54 +0200)]
Use mnesia calls instead of ets for Acl and Access tables (#1206)
Christophe Romain [Fri, 16 Sep 2016 12:59:06 +0000 (14:59 +0200)]
Update riakc to support r19
Holger Weiss [Thu, 15 Sep 2016 21:02:04 +0000 (23:02 +0200)]
node_mb_sql: Add missing (SQL-specific) functions
Christophe Romain [Tue, 13 Sep 2016 12:29:47 +0000 (14:29 +0200)]
Merge pull request #1249 from weiss:push-requirements
Christophe Romain [Tue, 13 Sep 2016 12:29:14 +0000 (14:29 +0200)]
Merge branch 'push-requirements' of https://github.com/weiss/ejabberd into weiss-push-requirements
Christophe Romain [Tue, 13 Sep 2016 09:52:59 +0000 (11:52 +0200)]
Allow to create room with custom config
Paweł Chmielowski [Thu, 4 Aug 2016 14:04:43 +0000 (16:04 +0200)]
Expand parsing of json input to be able to handle update_roster command
Paweł Chmielowski [Mon, 12 Sep 2016 13:39:00 +0000 (15:39 +0200)]
Add X-Admin and basic auth header to CORS allowed headers in http_api
Paweł Chmielowski [Mon, 12 Sep 2016 13:38:27 +0000 (15:38 +0200)]
Properly process OPTIONS header in http_api for all paths
Evgeniy Khramtsov [Mon, 12 Sep 2016 11:41:33 +0000 (14:41 +0300)]
Fix nick-to-jid mapping for MUC subscribers
Badlop [Fri, 9 Sep 2016 10:17:54 +0000 (12:17 +0200)]
Support multiple room invitations (#1285)
Evgeniy Khramtsov [Fri, 9 Sep 2016 10:04:47 +0000 (13:04 +0300)]
Fix subscribed rooms list retreivement
Holger Weiss [Thu, 8 Sep 2016 22:21:36 +0000 (00:21 +0200)]
XEP-0198: Cancel timer when waiting for resumption
If an ACK timer is active while going into the 'wait_for_resume' state,
cancel that timer.
Holger Weiss [Thu, 8 Sep 2016 16:11:54 +0000 (18:11 +0200)]
Revert "Don't log an [error] message if Elixir is missing"
This reverts commit
41386d718dbc5f6e846baaac568ba1cae5eb7ec4 . The issue
was fixed with commit
4bd45bada70fc233bb87bc7ab099fc2407cea30b .
Holger Weiss [Thu, 8 Sep 2016 15:59:40 +0000 (17:59 +0200)]
Don't log an [error] message if Elixir is missing
The Elixir support is still optional.
Closes #1250.
Christophe Romain [Thu, 8 Sep 2016 14:31:59 +0000 (16:31 +0200)]
Fix typo on previous commit (#1284)
Paweł Chmielowski [Thu, 8 Sep 2016 14:29:19 +0000 (16:29 +0200)]
Start elixir config code only if elixir was enabled in configure script
Christophe Romain [Thu, 8 Sep 2016 14:27:16 +0000 (16:27 +0200)]
Full jid entity subscriptions should include bare jid records (#1284)
Evgeniy Khramtsov [Thu, 8 Sep 2016 13:39:34 +0000 (16:39 +0300)]
Fix message routing from subscribers
Paweł Chmielowski [Thu, 8 Sep 2016 10:45:16 +0000 (12:45 +0200)]
Merge pull request #1287 from weiss/ack-timeout
New stream management option: ack_timeout
gabrielgatu [Thu, 8 Sep 2016 09:34:42 +0000 (11:34 +0200)]
Support for Elixir configuration file #1208
Contribution for Google Summer of code 2016 by Gabriel Gatu
Mickael Remond [Thu, 8 Sep 2016 08:52:43 +0000 (10:52 +0200)]
Support for publishing to hex.pm with latest Elixir mix
Mickael Remond [Thu, 8 Sep 2016 08:29:44 +0000 (10:29 +0200)]
Fix compilation with Elixir 1.3 / R19
Paweł Chmielowski [Thu, 8 Sep 2016 08:27:14 +0000 (10:27 +0200)]
Typo
Paweł Chmielowski [Thu, 8 Sep 2016 06:44:49 +0000 (08:44 +0200)]
Properly normalize resource_regexp acl rule
This fixes issue #1288.
Holger Weiss [Wed, 7 Sep 2016 21:16:54 +0000 (23:16 +0200)]
New stream management option: ack_timeout
Close the connection if a stream management client fails to respond to
an acknowledgement request within 60 seconds. This number of seconds
can be changed with the new "ack_timeout" option, and the mechanism can
be disabled by specifying 'infinity'.
As a side effect of this change, a new acknowledgement is no longer
requested before the response to the previous request is received.
Christophe Romain [Wed, 7 Sep 2016 15:38:04 +0000 (17:38 +0200)]
Enforce pathtype use with config path (#1264)
Christophe Romain [Wed, 7 Sep 2016 12:34:31 +0000 (14:34 +0200)]
Merge pull request #1253 from Amuhar/xep0356
Evgeniy Khramtsov [Wed, 7 Sep 2016 08:15:19 +0000 (11:15 +0300)]
Create room on configuration request as per XEP-0045, 10.1.3
Evgeniy Khramtsov [Wed, 7 Sep 2016 07:33:37 +0000 (10:33 +0300)]
Link MUC subscription to bare JID
Holger Weiss [Wed, 7 Sep 2016 05:15:12 +0000 (07:15 +0200)]
Add SQL support for microblogging node plugin
Evgeniy Khramtsov [Tue, 6 Sep 2016 16:06:02 +0000 (19:06 +0300)]
Handle <subscriptions/> request to list MUC subscribers
Evgeniy Khramtsov [Tue, 6 Sep 2016 15:17:30 +0000 (18:17 +0300)]
Do not update muc_online_users table on MUC/Sub operations
Evgeniy Khramtsov [Tue, 6 Sep 2016 14:55:18 +0000 (17:55 +0300)]
Add get_subscribers command to list MUC subscribers
Holger Weiss [Mon, 5 Sep 2016 22:30:46 +0000 (00:30 +0200)]
node_mb: Call node_pep instead of node_hometree
Holger Weiss [Mon, 5 Sep 2016 22:08:43 +0000 (00:08 +0200)]
node_mb: Fix configuration documentation
A node plugin used in a 'pep_mapping' must explicitly be added to the
list of 'plugins'.
Holger Weiss [Mon, 5 Sep 2016 22:05:54 +0000 (00:05 +0200)]
mod_pubsub: Remove outdated comment
Paweł Chmielowski [Mon, 5 Sep 2016 15:18:27 +0000 (17:18 +0200)]
Clean ejabberd_commands before tests
Paweł Chmielowski [Mon, 5 Sep 2016 14:42:05 +0000 (16:42 +0200)]
ejabberd_oauth requiere working cache_tab, initialize it before tests
Holger Weiss [Mon, 22 Aug 2016 20:35:17 +0000 (22:35 +0200)]
Merge remote-tracking branch 'processone/pr/1262'
* processone/pr/1262:
Fixed typo in Stream Management option name
Igor Manturov Jr [Mon, 22 Aug 2016 20:21:09 +0000 (02:21 +0600)]
Fixed typo in Stream Management option name
Holger Weiss [Mon, 22 Aug 2016 19:22:08 +0000 (21:22 +0200)]
Merge remote-tracking branch 'processone/pr/1261'
* processone/pr/1261:
Fixed #1260 Stream Management feature for the websocket connections
Igor Manturov Jr [Mon, 22 Aug 2016 18:59:39 +0000 (00:59 +0600)]
Fixed #1260 Stream Management feature for the websocket connections
Holger Weiss [Sun, 21 Aug 2016 23:17:32 +0000 (01:17 +0200)]
mod_muc_admin: Accept 'allow_subscription' option
Allow for setting the new 'allow_subscription' option using the
'change_room_option' command.
badlop [Fri, 19 Aug 2016 09:53:20 +0000 (11:53 +0200)]
Merge pull request #1254 from lemenkov/remove_p1_xmlrpc
Remove no longer necessary p1_xmlrpc
Peter Lemenkov [Wed, 17 Aug 2016 15:29:24 +0000 (18:29 +0300)]
Remove no longer necessary p1_xmlrpc
Ths module was superceded by fast_xml in commit
processone/ejabberd@
dfc29ea03ca91e1eb5387d93612e2ac4b4b496da . So let's remove it entirely to
avoid any confusion.
Signed-off-by: Peter Lemenkov <lemenkov@gmail.com>
Badlop [Tue, 16 Aug 2016 16:32:06 +0000 (18:32 +0200)]
Erlang R17 has a Time limit in erlang:send_after (#1246)
Holger Weiss [Mon, 15 Aug 2016 21:28:36 +0000 (23:28 +0200)]
mod_mam: Add 'store_mam_message' hook
The new 'store_mam_message' hook is invoked whenever a MAM message is
stored.
Holger Weiss [Mon, 15 Aug 2016 20:30:08 +0000 (22:30 +0200)]
mod_offline: Add 'store_offline_message' hook
The new 'store_offline_message' hook is invoked whenever an offline
message is stored.
Holger Weiss [Mon, 15 Aug 2016 19:49:58 +0000 (21:49 +0200)]
ejabberd_c2s: Add XEP-0198 resumption hooks
The new 'c2s_session_pending' and 'c2s_session_resumed' hooks are
invoked when a stream management session is pending and resumed,
respectively.
Holger Weiss [Mon, 15 Aug 2016 18:24:43 +0000 (20:24 +0200)]
Add functions to get/set some c2s state elements
Badlop [Mon, 15 Aug 2016 13:53:35 +0000 (15:53 +0200)]
Support sql backend in mod_shared_roster commands (#1244)
Evgeny Khramtsov [Mon, 15 Aug 2016 11:12:20 +0000 (15:12 +0400)]
Merge pull request #1245 from hamano/clean_redis_table
fix clean redis table
HAMANO Tsukasa [Mon, 15 Aug 2016 08:51:06 +0000 (17:51 +0900)]
fix clean redis table
Badlop [Sun, 14 Aug 2016 18:35:25 +0000 (20:35 +0200)]
Don't delete ejabberd_commands table, it's problematic in cluster (#1210)
Holger Weiss [Fri, 12 Aug 2016 22:07:27 +0000 (00:07 +0200)]
Store announcements for offline users
Add a <store/> hint to announcements (unless they are explicitly sent to
online users). Without that hint, announcements weren't delivered to
offline users, since they are sent as messages of type "headline".
Holger Weiss [Fri, 12 Aug 2016 19:13:10 +0000 (21:13 +0200)]
Honor <store/> hint for any non-"error" message
XEP-0334 says: "A message containing the <store/> hint that is not of
type 'error' SHOULD be stored by the entity."
Holger Weiss [Fri, 12 Aug 2016 18:38:17 +0000 (20:38 +0200)]
mod_mam: Don't store messages of type "headline"
XEP-0313 says: "a server SHOULD include in a user archive all of the
messages a user sends or receives of type 'normal' or 'chat' that
contain a <body> element."
Evgeniy Khramtsov [Thu, 11 Aug 2016 14:13:20 +0000 (17:13 +0300)]
Add a requirement for full JID in subscribe_room command
Paweł Chmielowski [Tue, 9 Aug 2016 17:22:51 +0000 (19:22 +0200)]
Provide proper args_desc in oauth_issue_token command
Paweł Chmielowski [Wed, 10 Aug 2016 09:16:20 +0000 (11:16 +0200)]
Fix result type of subscribe_room command
Evgeniy Khramtsov [Tue, 9 Aug 2016 10:36:43 +0000 (13:36 +0300)]
Add commands for MUC subscriptions management
Mickael Remond [Sun, 7 Aug 2016 16:31:55 +0000 (18:31 +0200)]
Update to released version
Mickael Remond [Sun, 7 Aug 2016 16:28:14 +0000 (18:28 +0200)]
Update moka dependency
Mickael Remond [Sun, 7 Aug 2016 16:27:16 +0000 (18:27 +0200)]
We do not force yet access rules check on register command
Mickael Remond [Sun, 7 Aug 2016 16:24:08 +0000 (18:24 +0200)]
Do not force command line to pass a credentials
Holger Weiss [Sat, 6 Aug 2016 11:36:27 +0000 (13:36 +0200)]
mod_client_state: Let other modules filter stanzas
Don't stop execution of the 'csi_filter_stanza' hook if mod_client_state
won't queue the stanza.
Holger Weiss [Fri, 5 Aug 2016 21:47:18 +0000 (23:47 +0200)]
Add user's JID to CSI hook arguments
Add the JID of the CSI user to the arguments of the 'csi_filter_stanza'
and 'csi_flush_queue' hooks.
Holger Weiss [Fri, 5 Aug 2016 18:09:52 +0000 (20:09 +0200)]
Cosmetic change: Set CSI state 'active' on resume
The CSI state is always set to 'active' when a stream management session
is resumed; so there's no need to apply the CSI state of the old c2s
process, first.
Paweł Chmielowski [Fri, 5 Aug 2016 11:03:22 +0000 (13:03 +0200)]
Use newer samerlib/moka
Holger Weiss [Thu, 4 Aug 2016 23:57:01 +0000 (01:57 +0200)]
mod_mam: Simplify "assume_mam_usage" option
The "assume_mam_usage" option now takes a boolean value. Setting it to
"true" has the same effect as "if_enabled" had before. The "on_request"
behavior is no longer offered, as it made the option (and its
documentation) overly complex.
Christophe Romain [Thu, 4 Aug 2016 07:49:23 +0000 (09:49 +0200)]
Fix type convertion bug injected by
4ccc40b (#1229)
Alexey Shchepin [Wed, 3 Aug 2016 22:58:56 +0000 (01:58 +0300)]
Add tokens cache to ejabberd_oauth
Holger Weiss [Wed, 3 Aug 2016 00:28:46 +0000 (02:28 +0200)]
XEP-0198: Handle timeouts during stream resumption
If session resumption failed because requesting the #state from the old
c2s process took too long, the new c2s process will usually receive the
response. Let the new process handle that case gracefully.
Holger Weiss [Wed, 3 Aug 2016 00:15:15 +0000 (02:15 +0200)]
XEP-0198: Increase timeout for stream resumption
During stream resumption, the #state is transferred from the old c2s
process to the new one. This is usually very fast, but under certain
conditions, it can take longer than five seconds.
Alexey Shchepin [Mon, 1 Aug 2016 13:53:25 +0000 (16:53 +0300)]
Add OAUTH SQL backend
Mickael Remond [Mon, 1 Aug 2016 13:46:14 +0000 (15:46 +0200)]
Implement gen_mod callback in ModPresenceDemo module
Mickaël Rémond [Mon, 1 Aug 2016 13:36:47 +0000 (15:36 +0200)]
Merge pull request #1223 from processone/expand_api
More API fixes and improvements
Mickael Remond [Mon, 1 Aug 2016 13:35:54 +0000 (15:35 +0200)]
Remove compile warning
Mickael Remond [Mon, 1 Aug 2016 13:29:47 +0000 (15:29 +0200)]
Improve error message when try to call api on api root
Christophe Romain [Mon, 1 Aug 2016 12:09:16 +0000 (14:09 +0200)]
Switch mix worker to transient
Christophe Romain [Mon, 1 Aug 2016 08:55:02 +0000 (10:55 +0200)]
Add missing comas in sql statement (#1219)
Mickael Remond [Mon, 1 Aug 2016 07:28:54 +0000 (09:28 +0200)]
Fix error return expectation in command test
Mickael Remond [Mon, 1 Aug 2016 06:58:49 +0000 (08:58 +0200)]
Fix HTTP process return formatting
Mickael Remond [Sun, 31 Jul 2016 20:48:24 +0000 (22:48 +0200)]
Improve error handling
Mickael Remond [Sat, 30 Jul 2016 18:12:04 +0000 (20:12 +0200)]
Change name of result key for offline count to value
This is more user friendly and should be more consistent with other commands.