Victor Seva
5b2b35b589
TT#15822 mod_sipwise_pushd: fix error introduced back in 2017
...
at 23e737f82d we removed invite variable
Change-Id: I28122f9c1dc846bc3a8b0c08ef26e69747b48aa5
(cherry picked from commit e7ecca6910 )
6 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
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
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
d5491e273b
TT#9503 sipwise_pushd: wrong offline badge
...
* when sipwise_offline is enabled
* off by one due the current offline event
Change-Id: Ia30877282ce067d1367c76ea0bc1d36ef3dad38f
10 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
10 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
10 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
10 years ago
Victor Seva
b83138ce44
MT#18905 support pushd_blocking
...
* use XEP-191 as base for our pushd_blocking
Change-Id: I5289277fa3561362b13b532741ed1d687ac81bd7
11 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
11 years ago
Victor Seva
bbb6f0fe4c
MT#15819 mod_sipwise_pushd: set apns_alert message on muc
...
Change-Id: I76f9fb1766509d5fc7b47ad9cb4bf986fc7f2b41
11 years ago
Victor Seva
be8663b9ec
MT#14921 add uuid push_id parameter
...
Change-Id: I8bc5ae718156777620eb18a10f8f830cf7dd9d24
11 years ago
Victor Seva
d20b62f467
MT#14281 pushd: use formencode() in order to urlencode the http request
...
Change-Id: If922ed905f2758b0c80ad6e16a823349c75add6e
11 years ago
Victor Seva
1e3496febf
MT#12953 pushd: fix error when the user is not provided properly
...
Change-Id: I527577093f23417c362b6f0f9fa38984969a433d
11 years ago
Victor Seva
f1631d6762
MT#9763 pushd: fix get_caller_info()
...
vcard.get_subscriber_info doesn't fill all fields so put something there
Change-Id: I2e48673b6baa417e1ad18fe70fa90642cda4dd52
12 years ago
Victor Seva
73fde6ca4c
MT#9763 pushd: set the push msg for muc invitations
...
Change-Id: Ibd96e0c701d53e6f2a7cc1f10afeb05dd036f2ab
12 years ago
Victor Seva
50215161e4
MT#9763 pushd: add prefix with sender_name at apns_alert field
...
Change-Id: I853d014a5f8a8b6d9e7e9db9367de000f88b5762
12 years ago
Victor Seva
d4995ce0e3
MT#9763 push: add data_sender_number and data_sender_sip
...
- vcard: set primary number as first in the list of aliases
Change-Id: I12ec493e75951913c815cee188d7802015f47ea2
12 years ago
Victor Seva
a6e0655371
MT#9763 Pushd: use new format for pushd query. Skip empty messages
...
- typing, stop typing produce empty messages
Change-Id: I154d5734377f35e1153486d4e6a59835b750c3b1
12 years ago
Alexander Lutay
5914b4f1f5
MT#9763 Pushd: updated Apple sound files + typo fix s/aspn/apns/
...
Change-Id: I0905ba7cf1ec99e704cf8a4275d5f4c492e04a24
12 years ago
Victor Seva
6dfa707930
MT#9763 pushd: extended gcm and aspn parameters.
...
- Changes on vcard to be able to get the info of
subscribers related to display_name pref
- gcm and asp can be enabled/disabled by configuration
- number of unread messages from offline module
Change-Id: If4e23ca57ccb2386e0f11fee2f170f2f59a80f82
12 years ago
Victor Seva
39e4b7dfb2
MT#8851 pushd: use from info when available if origin is null
...
This fix error if the message is coming from a c2c connection
Change-Id: I337b13da286ecda8a0ab9c48baf6a5137fa510d0
12 years ago
Victor Seva
4201b42698
MT#8851 mod_sipwise_pushd: fix 0d8220219a domain query call
...
Change-Id: I5d172d61ca591b0c91f122e39798cad468e7868e
12 years ago
Victor Seva
963cfd499e
MT#8851 mod_sipwise_pushd: fix 0d8220219a domain query
...
Change-Id: I4afbdfa19e7b0956cd276e29c5848b9a84b61e78
12 years ago
Victor Seva
0d8220219a
MT#8851 add mod_sipwise_pushd module
...
This module will send the proper HTTP request to our pushd service
in order to send a PUSH to mobile clients
12 years ago