Richard Fuchs
bffc901a12
TT#34705 merge https://github.com/sipwise/prosody/pull/3
...
squashed commit of
commit 4a38d9ad2b (HEAD -> master)
Author: Victor Seva <linuxmaniac@torreviejawireless.org>
Date: Mon Mar 26 14:15:41 2018 +0200
[sipwise_redis_sessions] clean previous local sessions on start
commit a514e6b60d
Author: Victor Seva <linuxmaniac@torreviejawireless.org>
Date: Mon Mar 26 14:08:31 2018 +0200
[mod_shard] clean redis info on shard/send error
if We can't connect to a shard node, clean that info from
redis depending on the stanza
MUC, persistent rooms are always defined in muc module on start, so don't
check for them locally, set as local in redis if no other node has it
closes #3
Change-Id: I33b32dacb6aa4010d520c1d04ef81736d6555370
8 years ago
Victor Seva
dd76b252b9
TT#33379 Merge https://github.com/sipwise/prosody/pull/2
...
commit d207cf102b
Author: Victor Seva <linuxmaniac@torreviejawireless.org>
Date: Wed Feb 21 21:23:58 2018 +0100
[mod_shard_client] detect loop on shard messages
Add 'via' attribute to shard stanza in order to detect loops
closes #2
Change-Id: I1e5f947a7b6fdcbd0e0d773b790929dc0681fbcd
8 years ago
Victor Seva
1057e3a270
TT#17657 mod_sipwise_pushd: send full_message field to pushd
...
Change-Id: Iccfc58200d0eda0a31807acb117f7403a1a97373
9 years ago
Victor Seva
a70b099391
TT#16400 support exclude config muc rooms from sending push notifications
...
Change-Id: I94c8b131abfa881a4b9fa8809f9f3d70df03d45b
9 years ago
Victor Seva
ef87c7b22b
TT#14103 update upstream modules to 9b43b7fc3558
...
* refresh patches
Change-Id: Ia4892f7e913e208baf19b383a5728f8c9fbff078
9 years ago
Victor Seva
23e737f82d
TT#15822 mod_sipwise_pushd: detect attachment message
...
* do not use the full URL for pushd message
Change-Id: Ifcc8c361cd947b56670bf2b9f02702ae5e393868
9 years ago
Victor Seva
d6f87e7077
TT#14258 mod_sipwise_pushd: add nick attribute for MUC presence
...
* sipwise app logic needs the presence of the nick attribute
always to map jid and nick on MUC room
* FTR, nick is at presence from attribute
Change-Id: I710e98f1a4c5b3ea524d980dea99e3bd70deb072
9 years ago
Victor Seva
5b993fc443
TT#14103 update upstream modules to 2e1a4740adee
...
* refresh sipwise patches
Change-Id: Ic486faa84e78b3fdbcca403d4a87108a67a083e8
9 years ago
Andreas Granig
0521a0386c
TT#14099 Send muc room name in push
...
* If a muc room has no description set, send its room name
instead of "prosody chatroom" to provide proper context
in push messages.
Change-Id: Id8259d69a3ebefa63da97ae0c71e39df0d558a08
9 years ago
Victor Seva
fb99302438
TT#13055 mod_sipwise_pushd: support muc_config
...
* force_persistent: all rooms are persistent
* onwer_on_join: all participants are 'owner'
Change-Id: I73ae5fb85cfdb734a9d5268835ba58b68ddb9bce
9 years ago
Victor Seva
ff4c2e0ff1
TT#9551 set charset on reconnection
...
* it was missed when reconnecting
Change-Id: I4d97187715ed68f449ef2521a688e4e45afb6517
9 years ago
Victor Seva
937ff0fcc2
TT#9314: support emojis for DB
...
* we do need utf8mb4 charset at sipwise_[mam|offline] tables
Change-Id: Ia29b1819295e8c7800cc79498a97bc8805ad74d4
9 years ago
Victor Seva
d5491e273b
TT#9503 sipwise_pushd: wrong offline badge
...
* when sipwise_offline is enabled
* off by one due the current offline event
Change-Id: Ia30877282ce067d1367c76ea0bc1d36ef3dad38f
9 years ago
Victor Seva
11f3f0b7f9
TT#9504 sipwise_offline: do not store bodyless chat messages
...
* as describe at http://xmpp.org/extensions/xep-0160.html#types
Change-Id: I7f1dcac91378a6edaeebb10b98cc9d8459b24ee4
9 years ago
Victor Seva
e191475653
TT#9402 refresh modules from upstream
...
* migrate from files to dirs as upstream
* refresh debian/control list of modules
* refresh mod_auth_sql.patch
* update_plugins.sh for automate the process
* keep the list of prosody modules at
prosody-modules.list file
* keep the upstream mercurial revision at
prosody-modules.revision file
Change-Id: Id4a0a2c4e88dae64641270ee79c6ee206f5bb695
9 years ago
Victor Seva
0fbc57ef6e
TT#9400 use quilt to maintain patches to upstream
...
- wrap-and-sort -sat
- add quilt as build dependence
- keep mod_auth_sql changes in quilt
- Revert "TT#9317 mod_mam: don't store bodyless chat messages"
This reverts commit 7fc4d61ef3 .
- Revert "TT#9311 mod_mam/sipwise_archive.lib: full username"
This reverts commit b17aec94a0 .
- Revert "TT#9303 mod_mam: sipwise_archive.lib fix crash at find()"
This reverts commit 9e93fb6510 .
- Revert "TT#8297 mam: implement archive to DB"
This reverts commit 754fb5b63c .
- Revert "TT#7482 mod_man: support mam version 0.5 (urn:xmpp:mam:1)"
This reverts commit 9e65f1029f .
Change-Id: I3e008843f16fdd03e8c3d2dbc4ccb2ac16e6dfe5
9 years ago
Victor Seva
7fc4d61ef3
TT#9317 mod_mam: don't store bodyless chat messages
...
* implement store hints https://prosody.im/issues/issue/750
Change-Id: I590b1fb9bd95afdce6a117778052d11d8102f718
9 years ago
Victor Seva
b17aec94a0
TT#9311 mod_mam/sipwise_archive.lib: full username
...
* domain was not included
Change-Id: Id2bbc496545ba7c167cd4dacb24153708e826ca2
9 years ago
Victor Seva
9e93fb6510
TT#9303 mod_mam: sipwise_archive.lib fix crash at find()
...
> mod_c2s: Traceback[c2s]: /usr/lib/prosody/util/sql.lua:189:
> Error executing statement parameters: Data too long for column '_uuid' at row 1
Change-Id: I9e7d6a310ee5e5e8f83cbc97cb2f7ebcf4f534b5
9 years ago
Victor Seva
c2dec69233
TT#8766 mod_sipwise_pushd: fix error when caller is not from local domain
...
* we can't get_caller_info() nor get_muc_info() from external domains
Change-Id: Ieb0c4af4d8c78445cd1352e5e912fb2db3c9165c
9 years ago
Victor Seva
754fb5b63c
TT#8297 mam: implement archive to DB
...
Change-Id: If9644ac66fdd257a430cfb7fa185230c77cd783e
9 years ago
Victor Seva
9e65f1029f
TT#7482 mod_man: support mam version 0.5 (urn:xmpp:mam:1)
...
* keep compability with mam version 0.3 (urn:xmpp:mam:0)
Change-Id: I03dcc49c39b5eb6c38e30d27bcc3b93b8137c770
9 years ago
Victor Seva
bb1360fd16
TT#7560 mod_sipwise_offline
...
store offline messages to DB
Change-Id: Ia94e784a4643376047cc64b685457d292a515fd5
9 years ago
Victor Seva
c52d6cdcd5
MT#16059 mod_sipwise_vhosts_sql: fix debug output
...
> mod_sipwise_vhosts_sql: conference_modules[conference.voip.sipwise.local]: table: 0xa2aae0
should be
> mod_sipwise_vhosts_sql: conference_modules[conference.voip.sipwise.local]: {"roster","saslauth","tls","dialback","disco","private","time","ping","pep","websocket","posix","carbons","carbons_copies","carbons_adhoc","csi","throttle_presence","filter_chatstates","sipwise_admin_telnet","sipwise_vcard_cusax","sipwise_vhosts_sql","sipwise_groups","sipwise_lastactivity"}
Change-Id: Ic22909a77526f89ca879ac4f9e3a97554ddf8d3a
9 years ago
Victor Seva
0d7e7ac114
TT#6646 support XEP-0352: Client State Indication
...
Change-Id: I81788efd51f976e56e0244fe0cc2b881b9b7ce8b
9 years ago
Victor Seva
5003261017
TT#6605 mod_sipwise_pushd: fix MUC offline when sender has more than one session
...
* reduce debug output
* fire_offline_message():
- assert that we have a from nick
- check the original from jid too for is_pushd_blocked()
Change-Id: I0718fe71b9ea06e16de14aeb6017ce3986f16a71
9 years ago
Victor Seva
e4a378a9c0
MT#10921 add mod_man plugin
...
Change-Id: I66c51222c1ca2466be83219829ea4210b1a474e7
9 years ago
Victor Seva
b09f209d32
MT#19579 pushd: define get_muc_room() to filter possible errors
...
avoid errors like:
> mod_c2s: Traceback[c2s]: /usr/lib/prosody/modules/mod_sipwise_pushd.lua:145:
> attempt to index field '?' (a nil value)
> stack traceback:
> /usr/lib/prosody/modules/mod_sipwise_pushd.lua:145: in function 'get_muc_caller'
Change-Id: Ie32195f49cef6b2145deba6ea78b8b1c43ea7d41
9 years ago
Victor Seva
c51c1f68b1
TT#1597 sipwise_vjud: fix dataform reply format
...
* missing <query xmlns='jabber:iq:search'>
Change-Id: I72ac10778dea2c3ebcd83fce38eb71ebba96c8b5
10 years ago
Victor Seva
12c628f36f
TT#1597 sipwise_vjud: fix dataform reply format
...
* use stanza templates for replies too
Change-Id: Ic8bd25e396fa844f8a61d599b3efb64e96c28f8d
10 years ago
Victor Seva
778b400f6c
TT#1597 sipwise_vjud: add domain field
...
* dataform with domain field, if field value is '*'
result is the list of domains served by the server
Change-Id: I5ea272178a183c633cf38a2f439252d8af168681
10 years ago
Victor Seva
9b811d431f
MT#18055 mod_sipwise_vjud: use dataforms for searching e164 values
...
* support using <nick> field as e164 for backwards compatibility
Change-Id: Ieb5661cd989a47e2fff1f6e105400c1aa045f56f
10 years ago
Victor Seva
bc610ad4aa
Revert "MT#18055 mod_sipwise_vjud: use dataforms for searching e164 values"
...
This reverts commit 32cbf31623 .
10 years ago
Victor Seva
608b9d60cf
MT#20021 mod_sipwise_vjud: add some debug messages related to normalize_number and search_by_number
...
Change-Id: Ia1c8178369ad627f82c93170f26aba5a5f3653da
10 years ago
Victor Seva
b83138ce44
MT#18905 support pushd_blocking
...
* use XEP-191 as base for our pushd_blocking
Change-Id: I5289277fa3561362b13b532741ed1d687ac81bd7
10 years ago
Victor Seva
518146460b
MT#18725 mod_sipwise_groups: reconnect_check for lookup functions
...
Change-Id: Ied7adc5a1075f960a75305c3b84114f7bd45d6db
10 years ago
Victor Seva
32cbf31623
MT#18055 mod_sipwise_vjud: use dataforms for searching e164 values
...
* support using <nick> field as e164 for backwards compatibility
Change-Id: If12445facee1e77f57283ddf7401b06b87a9782b
10 years ago
Victor Seva
f6031ab582
MT#18041 mod_sipwise_vjud: fix discovery, clean code
...
Change-Id: Idd76d16f9a27fd9b10641085c8182654e63e9be3
10 years ago
Victor Seva
c122e4e1ed
MT#18041 mod_sipwise_vjud: fix discovery
...
Change-Id: If776797a98bebcf95b141870087d397518b5614c
10 years ago
Victor Seva
9474448390
MT#17541 support XEP-191 mod_blocking
...
Change-Id: I8f4f724e8d44e3d5393bdeda5d0f5e6c33de9c41
10 years ago
Victor Seva
dad9a2cca5
MT#17545 upgrade community modules
...
Change-Id: Ia18c52cc56669add373c476a2e55a9e880200727
10 years ago
Victor Seva
7e27dbaca2
MT#16059 mod_sipwise_vjud: fix load module
...
add_feature() and hook() needs to be called inside add_host()
because it's a global module
Change-Id: Ief657fb637354c1b9dde01eb7efa651eba30bb75
10 years ago
Victor Seva
c579c89179
MT#16059 mod_sipwise_vhosts_sql: fix load sipwise_vjud component at search domain
...
Change-Id: Ibb6690909dbc04c10a0bcde3600615df4d3f5d98
10 years ago
Victor Seva
a943438146
MT#15893 mod_sipwise_vcard_cusax: fix error if domain has no users
...
Change-Id: I9bcdd01a965e0ba02b7e2d92b6c746a364473ffe
10 years ago
Victor Seva
d346079131
MT#16059 mod_sipwise_pushd: support groupchat messages
...
- No need to save MUC participants on redis
the message will be processed by sipwise_pushd
module at the server that has the MUC room in memory
- Load sipwise_pushd module at 'conference.' host if
is enabled at the config in order to process
'message/bare' events to catch MUC messages
- fix shard when subscriber offline
Change-Id: I9d56b3867075d496135ff5b530cc6b23aa16b987
10 years ago
Victor Seva
82433716ec
MT#16059 mod_sipwise_redis_mucs: fix unbind hook. fixes commit 320bdefb33
...
Change-Id: I5982d269de68d4a82569ffd54224d72a393e6644
10 years ago
Victor Seva
320bdefb33
MT#16059 save MUC participants on redis too
...
Change-Id: I4c5e22d93f966637abe304a6e7fbc88609017a31
10 years ago
Victor Seva
babc44fb9b
MT#6407 support MUC on cluster
...
Change-Id: I6d8cc8976ca32bb2af379e2bce9aae38551c7928
10 years ago
Victor Seva
c5f0784ceb
MT#6407 cluster using mod_shard* as base
...
5d5ee8db0d
https://groups.google.com/d/topic/prosody-dev/X99ktLm0JwU/discussion
TODO: deal with MUC
Change-Id: I1dbbe0075e3ca2ba28998a2d2f3396ab4293dbfb
10 years ago
Victor Seva
bbb6f0fe4c
MT#15819 mod_sipwise_pushd: set apns_alert message on muc
...
Change-Id: I76f9fb1766509d5fc7b47ad9cb4bf986fc7f2b41
10 years ago