Kim Alvefur
4ca636bb7e
mod_disco: Advertise disco#info and #items on bare JIDs to fix #1664
...
Having to add these in *there* places seems less than ideal.
I would also think that advertising disco#info is a bit redundant, since
it is a requirement for everything in XMPP and if it was missing you
would get an error back.
2023-12-17 18:55:14 +01:00
Kim Alvefur
c9e223e4f7
spelling: non-existing mistakes (thanks timeless)
2022-03-07 00:35:29 +01:00
Kim Alvefur
022a48a578
mod_disco: Optionally return info on admin accounts to non-contacts
...
If you already know the account, from say the server contact info, then
this confirms their admin status.
2021-04-15 15:39:35 +02:00
Kim Alvefur
657290679d
mod_disco: Advertise anonymous users
...
Can these even be seen?
2020-07-04 20:10:18 +02:00
Kim Alvefur
182816c1ae
mod_disco: Advertise admin accounts as such via disco identity
2020-07-04 20:09:18 +02:00
Kim Alvefur
a049793c95
mod_disco: Send XEP-0115 caps in s2s stream features
...
Not currently used for anything, but allowed and could be used in the
future and might be used by other servers.
2021-08-12 19:34:17 +02:00
Kim Alvefur
d741e95ccd
mod_disco: Add some spacing to improve readability and code navigation
2020-11-10 14:46:49 +01:00
Emmanuel Gil Peyrot
00d9da2914
mod_disco: Simplify iq handling by hooking on iq-get/ instead of iq/.
2018-08-24 20:34:18 +02:00
Kim Alvefur
26cd73ad68
mod_disco: Skip code specific to disco on user accounts (avoids invoking usermanager, fixes #1150 )
2018-05-28 21:30:32 +02:00
Kim Alvefur
46863c65b3
mod_disco: Advertise in stream-features after auth (probably what was meant in 200f1f6306a7) ( fixes #957 )
2017-07-27 14:10:18 +02:00
Kim Alvefur
4afac948b9
Merge 0.9->0.10
2017-05-27 17:19:15 +02:00
Emmanuel Gil Peyrot
f3887c158b
mod_disco: Add an account/registered identity on subscribed accounts, fixes #826 .
2017-05-27 15:53:30 +01:00
Kim Alvefur
c95b62d5e2
mod_disco: Rename variables to avoid name clash [luacheck]
2017-04-01 22:30:37 +02:00
Kim Alvefur
8a2a50c07a
mod_disco: Correctly set the 'node' attr ( fixes #449 )
2017-03-24 00:25:49 +01:00
Kim Alvefur
f2b2195de4
Merge 0.9->0.10
2017-03-24 00:28:18 +01:00
Kim Alvefur
c3d7d52f0d
plugins/various: Use type-specific config API
2017-03-16 20:46:06 +01:00
Kim Alvefur
aedd689b72
mod_disco: Update to account for new intermediate session type (from 9f70d35a1602)
2016-12-15 07:03:52 +01:00
Florian Zeitz
1d833bb807
Remove all trailing whitespace
2013-08-09 17:48:21 +02:00
Matthew Wild
96466999c1
mod_disco: Check for host type == 'local' ('normal' never existed)
2013-08-06 17:18:39 +01:00
Florian Zeitz
8d3f90ac45
mod_disco: Allow ansering disco requests including nodes, and adding custom items to disco#items requests
2013-06-04 23:59:59 +02:00
Florian Zeitz
421bdc4399
mod_disco: Emit events for disco requests, which contain a node, on user accounts
2013-05-17 18:35:50 +02:00
Matthew Wild
18fc86713e
hostmanager, mod_disco: Show optional 'name' option from the config in disco#items queries (fixes use-case in #292 ) (thanks diSabler, mva)
2012-08-05 17:18:35 +01:00
Matthew Wild
8b103580ec
mod_disco: Allow configurable name in disco identity (defaults to 'Prosody')
2012-07-23 12:25:33 +01:00
Kim Alvefur
f0ec18a8b7
core.modulemanager, mod_disco: Add support for XEP-0128: Service Discovery Extensions
2011-08-08 18:23:53 +02:00
Waqas Hussain
9ed0c32abd
mod_disco: Don't add caps hash to stream features on unauthenticated connections.
2010-12-03 00:37:54 +05:00
Waqas Hussain
b553d5d289
mod_disco: Fixed: Service discovery features were not being removed on module unload (issue #205 ).
2010-11-28 07:56:08 +05:00
Waqas Hussain
7016b4e0cd
mod_disco: Updated to use hostmanager.get_children instead of componentmanager.get_children.
2010-11-10 20:31:28 +05:00
Waqas Hussain
e01f4792e9
mod_disco: Renamed the 'session' property of the account-disco-info and account-disco-items events to 'origin' for consistency.
2010-11-07 20:53:08 +05:00
Waqas Hussain
8293d237d5
mod_disco: Reflect requested 'node' attribute in the disco#info reply.
2010-07-12 00:14:48 +05:00
Waqas Hussain
8c6fe5a36d
mod_disco: Respond to disco#info to the correct caps hash node ("node#ver").
2010-07-11 23:51:40 +05:00
Waqas Hussain
47fc58cc4b
mod_disco: Cache disco#info reply and caps hash for host, return correct caps hash, and respond to disco#info to the caps hash node.
2010-07-11 21:21:38 +05:00
Matthew Wild
4eefb92a0a
mod_disco: Support for putting the server's caps hash in stream:features to allow the client to cache disco#info for the server instead of requesting it at each login.
2010-07-09 13:20:00 +01:00
Matthew Wild
46c0b8c7f9
Merge 0.6->0.7
2010-03-22 17:24:55 +00:00
Matthew Wild
2bc0606453
Update copyright headers for 2010
2010-03-22 17:06:15 +00:00
Waqas Hussain
54ca722e47
mod_disco: Added option 'disco_items' to allow appending items to a host's disco#items result.
2010-01-23 18:16:10 +05:00
Waqas Hussain
0453ec49b8
mod_disco: Handle and fire events for service discovery queries for bare account JIDs (thanks darkrain).
2009-12-21 06:25:12 +05:00
Waqas Hussain
64787ed9eb
mod_disco: Rearranged some lines, and added a FIXME comment
2009-08-18 12:44:42 +05:00
Waqas Hussain
6bb3a75b16
mod_disco: Removed reference to core.discomanager
2009-08-18 12:43:21 +05:00
Waqas Hussain
562ba73c2a
mod_disco: Removed legacy IQ hooks
2009-08-18 12:42:56 +05:00
Waqas Hussain
18d8c7ecfd
mod_disco: Handle disco#items queries using new APIs
2009-08-18 12:39:00 +05:00
Waqas Hussain
444cc01f25
mod_disco: Added identity server/im with name 'Prosody'
2009-08-18 12:38:28 +05:00
Waqas Hussain
4e038edbe7
mod_disco: Handle disco#info queries using new APIs
2009-08-18 12:37:40 +05:00
Matthew Wild
118883d655
Remove version number from copyright headers
2009-07-10 03:11:45 +01:00
Matthew Wild
6ce464add2
mod_disco: Convert from Windows line endings
2009-07-09 23:00:32 +01:00
Matthew Wild
c80f91dc02
0.3->0.4
2009-03-20 20:16:25 +00:00
Matthew Wild
c5ee166aa9
Update copyright notices for 2009
2009-01-30 17:59:26 +00:00
Matthew Wild
f2d020191f
0.2->0.3
2009-01-30 17:40:25 +00:00
Matthew Wild
bf3b96204d
GPL->MIT!
2009-01-30 17:22:56 +00:00
Matthew Wild
d3ad4a5123
0.1 -> 0.2
2008-12-10 15:44:03 +00:00
Waqas Hussain
2d2414f199
Change modules to use the new add_feature module API method.
...
This also fixes the bug causing disco features being added to every disco reply for every host.
2008-12-04 20:16:30 +05:00