Badlop
|
9deb294328
|
Accumulated patch to binarize and indent code
|
2013-03-14 10:33:02 +01:00 |
|
Badlop
|
9c41abde10
|
list_to_integer/2 only works in OTP R14 and newer
|
2013-03-14 10:25:41 +01:00 |
|
Badlop
|
3f93931409
|
New mod_muc_log option file_permissions (EJAB-1588)
|
2013-02-05 16:20:14 +01:00 |
|
Badlop
|
15073aafa5
|
Fix angle brackets handle in MUC plaintext log (EJAB-1610)
|
2013-01-31 17:25:03 +01:00 |
|
Alexey Shchepin
|
0ae400533c
|
Update copyright dates
|
2013-01-24 16:25:13 +02:00 |
|
Badlop
|
bc077266d9
|
Fix MUC start when Mnesia tables don't exist yet
|
2012-06-08 16:39:15 +02:00 |
|
Evgeniy Khramtsov
|
437f68a9f3
|
Merge SQL and Mnesia code into one module (EJAB-1560)
|
2012-04-27 19:52:05 +10:00 |
|
Badlop
|
7dd171322d
|
Fix English strings (thanks to Andreas van Cranenburgh)
|
2012-04-24 13:51:54 +02:00 |
|
Evgeniy Khramtsov
|
5619d39bd3
|
Add odbc modules to Makefile.win32
|
2012-04-09 14:53:15 +10:00 |
|
Evgeniy Khramtsov
|
cea23b055b
|
Get rid of duplicated code
|
2012-04-06 12:31:29 +10:00 |
|
Evgeniy Khramtsov
|
6ec5c7c4d8
|
Use proper module name
|
2012-03-31 22:56:51 +10:00 |
|
Evgeniy Khramtsov
|
6b3875814c
|
ODBC support for mod_muc
|
2012-03-31 21:41:54 +10:00 |
|
Alexey Shchepin
|
b1e2538488
|
Update copyright dates
|
2012-02-23 17:52:34 +02:00 |
|
Badlop
|
13a9ca65a4
|
Don't reveal invitee's resource when room informs invitor
|
2011-12-08 16:35:31 +01:00 |
|
Badlop
|
48308042b6
|
Use the regexp frontend module (EJAB-921)
|
2011-12-08 12:40:04 +01:00 |
|
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 |
|
Badlop
|
32ff6b56eb
|
Fix mod_muc_log crash when first log entry is room being destroyed (EJAB-1499)
|
2011-09-23 17:00:50 +02: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 |
|