Evgeniy Khramtsov
|
39bc499b10
|
Fix instruction and error text
|
2011-09-26 20:00:43 +10:00 |
|
Evgeniy Khramtsov
|
de4d4a4bbb
|
Change "muc#role" field type to "hidden"
|
2011-09-26 19:54:55 +10:00 |
|
Evgeniy Khramtsov
|
8631dd14e9
|
Correct lists:keysearch output processing and fix dialyzer warning
|
2011-09-26 19:06:34 +10:00 |
|
Evgeniy Khramtsov
|
e7d12f4b9e
|
Code cleanup
|
2011-09-26 18:44:41 +10:00 |
|
Maxim Ignatenko
|
f17a531e15
|
Use treap correctly
|
2011-09-26 11:16:30 +03:00 |
|
Maxim Ignatenko
|
ff57c8a58c
|
Apply patch from Evgeniy Khramtsov
|
2011-09-26 11:16:30 +03:00 |
|
Maxim Ignatenko
|
499b884c67
|
Use treap for keeping last voice request timestamps
|
2011-09-26 11:16:29 +03:00 |
|
Maxim Ignatenko
|
0c261fb903
|
Fix voice request/approvement detection and extract_jid_from_voice_approvement/1
|
2011-09-26 11:16:29 +03:00 |
|
Maxim Ignatenko
|
322263fd5c
|
Fix typo
|
2011-09-26 11:16:29 +03:00 |
|
Maxim Ignatenko
|
845f5cabec
|
Fix patterns in check_voice_request_fields/2 and check_voice_approvement_fields/2
|
2011-09-26 11:16:29 +03:00 |
|
Maxim Ignatenko
|
f919349173
|
Use more pattern-matching
|
2011-09-26 11:16:29 +03:00 |
|
Maxim Ignatenko
|
a91ae03dc6
|
Remove try/catch
|
2011-09-26 11:16:29 +03:00 |
|
Maxim Ignatenko
|
faed7698c2
|
Use pattern matching in check_voice_request_fields/2 and check_voice_approvement_fields/2
|
2011-09-26 11:16:29 +03:00 |
|
Maxim Ignatenko
|
eb8347f92b
|
Reverse arguments order for timer:now_diff/2
|
2011-09-26 11:16:29 +03:00 |
|
Maxim Ignatenko
|
c53ffe6dc5
|
Fix return value inconsistency in last_voice_request_time/2
|
2011-09-26 11:16:29 +03:00 |
|
Maxim Ignatenko
|
7c8eab4f43
|
Use jlib:parse_xdata_submit/1 in is_voice_request/1 and is_voice_approvement/1
|
2011-09-26 11:16:29 +03:00 |
|
Maxim Ignatenko
|
b1d8168dd3
|
Use bare JID as key in state.last_voice_request_time
|
2011-09-26 11:16:28 +03:00 |
|
Maxim Ignatenko
|
c196c1f5e5
|
Use lists:foreach instead of lists:map in send_voice_request/2
|
2011-09-26 11:16:28 +03:00 |
|
Maxim Ignatenko
|
604563af76
|
Remove needless time conversions
|
2011-09-26 11:16:28 +03:00 |
|
Maxim Ignatenko
|
6848d3affe
|
Ignore any extra elements in voice approvement form submission
|
2011-09-26 11:16:28 +03:00 |
|
Maxim Ignatenko
|
6708914e99
|
Add 2 room config options
- Allow voice requests?
- Minimum interval between voice requests
|
2011-09-26 11:16:28 +03:00 |
|
Maxim Ignatenko
|
5921f9c506
|
Simple rate control
Visitor allowed to send new voice request only after specified amount of
time (or after rejoining).
|
2011-09-26 11:16:28 +03:00 |
|
Maxim Ignatenko
|
6193ed63b1
|
Voice approvement support
|
2011-09-26 11:16:28 +03:00 |
|
Maxim Ignatenko
|
18dd0d08cb
|
Implement basic voice request processing logic.
No rate control or configuration for now
|
2011-09-26 11:16:28 +03:00 |
|
Maxim Ignatenko
|
8dd6f128bf
|
Implement voice approvement detection and remove some debug code
|
2011-09-26 11:16:28 +03:00 |
|
Maxim Ignatenko
|
04267930de
|
Fix form instructions
|
2011-09-26 11:16:27 +03:00 |
|
Maxim Ignatenko
|
d83716dece
|
Use ejabberd_router:route/3 directly, instead of send_packet_to/3
|
2011-09-26 11:16:27 +03:00 |
|
Maxim Ignatenko
|
c77358bdc1
|
Use exception handling in is_invitation/1
|
2011-09-26 11:16:27 +03:00 |
|
Maxim Ignatenko
|
44987479a5
|
Fix exception handling in is_voice_request/1
|
2011-09-26 11:16:27 +03:00 |
|
Maxim Ignatenko
|
30d89abf66
|
Implemented sending voice request and fixed some bugs
|
2011-09-26 11:16:27 +03:00 |
|
Maxim Ignatenko
|
f175be6b78
|
Add function for detecting voice requests
|
2011-09-26 11:16:27 +03:00 |
|
Maxim Ignatenko
|
2a41ca0628
|
More correct dispatching of normal messages to conference room
is_invitation/1 function returns true if <x> element of message is
an invitation
|
2011-09-26 11:16:27 +03:00 |
|
Evgeniy Khramtsov
|
228a587fc5
|
Fix previous commit
|
2011-09-09 12:40:07 +10:00 |
|
Evgeniy Khramtsov
|
e432ff58f9
|
Avoid crash when performing admin action
|
2011-09-09 12:34:06 +10:00 |
|
Badlop
|
b8969f68e0
|
Fixed support for multi-resource occupants (EJAB-305)
|
2011-09-08 16:10:38 +02:00 |
|
Evgeniy Khramtsov
|
f3c90ee266
|
Get rid of useless check
|
2011-09-05 21:06:18 +10:00 |
|
Evgeniy Khramtsov
|
2482c9c5ed
|
Merge set_affiliation/3 and set_affiliation_and_reason/4 into set_affiliation/4
|
2011-09-05 20:53:01 +10:00 |
|
Evgeniy Khramtsov
|
eccb499346
|
Add some magic in order to shut up the dialyzer (because I do not want to replace the macro with a function)
|
2011-09-05 17:33:51 +10:00 |
|
Evgeniy Khramtsov
|
0c1796ea40
|
Fix potential case-clause crash
|
2011-09-05 17:27:15 +10:00 |
|
Badlop
|
41d028d101
|
First check occupant existence, later check the message
|
2011-09-04 13:28:32 +02:00 |
|
Badlop
|
84486dcb2c
|
Support multiple sessions per nick in muc_online_users, relevant for max_user_conferences (EJAB-305)
|
2011-08-23 21:53:41 +02:00 |
|
Badlop
|
9a190f3bc4
|
Send private messages to all the sessions with same nick (EJAB-305)
|
2011-08-23 21:53:30 +02:00 |
|
Badlop
|
c76bbdf16f
|
Don't send unavailable presence when leaving occupant has other nicks in the room (EJAB-305)
|
2011-08-23 21:53:19 +02:00 |
|
Badlop
|
24c5063b99
|
Allow multiple entry with same nick to MUC rooms (thanks to Magnus Henoch)(EJAB-305)
|
2011-08-23 21:52:20 +02:00 |
|
Badlop
|
83014fb77b
|
Include status 110 in presence to new occupant (EJAB-740)
|
2011-07-16 19:35:59 +02:00 |
|
Badlop
|
1e88c3f180
|
Room option to ignore private messages from visitors (thanks to Maxim Ignatenko)
|
2011-07-11 17:34:07 +02:00 |
|
jabber
|
897b46c31d
|
Do not decrease MUC admin's role/affiliation
|
2011-04-18 21:06:05 +10:00 |
|
Evgeniy Khramtsov
|
07cf6f09b8
|
Implement CAPTCHA limit
|
2011-04-18 16:06:36 +10:00 |
|
Evgeniy Khramtsov
|
cf6264f507
|
CAPTCHA whitelist support
|
2011-04-18 15:47:06 +10:00 |
|
Badlop
|
449e56ed52
|
Send jid attribute when occupant is banned (EJAB-1432)
|
2011-04-07 12:54:39 +02:00 |
|