Daniel Berteaud
8876352913
Protect every table or field name in SQL queries
11 years ago
Daniel Berteaud
11a86f4fe2
Small cleanups in vroom.pl
11 years ago
Daniel Berteaud
2511d72663
Do not allow response if the invitation has already been processed
11 years ago
Daniel Berteaud
c133030704
Add a timestamp field to invitations
...
And purge those older than 2 hours
11 years ago
Daniel Berteaud
77f5239164
Enable UTF-8 on MySQL connection
11 years ago
Daniel Berteaud
5a4affa600
Process invitations on ping
...
and send status to the inviter
Mark responses as processed once sent
11 years ago
Daniel Berteaud
67c7ac4438
Handle invitation responses
...
Not used yet, we also need to pass the response to the inviter
11 years ago
Daniel Berteaud
d597d4a790
Add notifications in the table before sending the email
...
And manage invitations cleanups when rooms expire
11 years ago
Daniel Berteaud
45a418b9c6
Fix resources path when not running on a dedicated vhost
11 years ago
Daniel Berteaud
149bcdde72
Fix a few untranslated message
...
also normalize localization in actions' handler
11 years ago
Daniel Berteaud
f53a16b86d
Forbid setting an owner password for rooms which uses a common name
...
This list can be set in the config
11 years ago
Daniel Berteaud
4ee0d76444
Add MoH when you are alone in the room
...
You can pause/resume music
Stops when someone joins, and resume when the last peer leaves
Also prints a message
Fix #42
11 years ago
Daniel Berteaud
3a4c4680f8
Add link to the icon set
11 years ago
Daniel Berteaud
4f79e4b156
Make invite menu owner reserved
...
Simple participants should have access to this
11 years ago
Daniel Berteaud
b3a613ddc7
Change the way notifications are triggered
...
And send the name of the participant in the notification email (only if name is asked before you can join)
11 years ago
Daniel Berteaud
43169f282e
Add localization for the new display name feature (ask on join)
11 years ago
Daniel Berteaud
b70b8f5336
Implement action handler for ask_for_name
11 years ago
Daniel Berteaud
b1780003a3
Send to JS client if the name is mandatory on this room
11 years ago
Daniel Berteaud
e30edf6c1b
Small typo
11 years ago
Daniel Berteaud
a44ddff81a
Validate email format server-side
...
Also cleanup the invite action handler
11 years ago
Daniel Berteaud
2953f9eb84
Fails on dupplicate email address instead of ignoring the INSERT
...
So you cannot add two times the same address, and you get an error
11 years ago
Daniel Berteaud
ceb3690e97
Send notifications and add localizations
11 years ago
Daniel Berteaud
f6ddfd119c
Add basic interface and frontend support for email notifications
...
Not used yet, but you can add and remove emails
11 years ago
Daniel Berteaud
67d874e66e
Add a new button to create the room if it doesn't exist
...
Fix #39
11 years ago
Daniel Berteaud
693d2b2a01
Only suggest to auth as owner if an owner password is set
11 years ago
Daniel Berteaud
479540c3ac
Fix owner check when room is locked
11 years ago
Daniel Berteaud
51945c1c51
Add mute/pause/kick action for room owners
...
Fix #24
11 years ago
Daniel Berteaud
1ec24bb93b
Exchange peer status and verify it on the frontend
...
Also add a symbol on owner's preview
Should Fix #30 and #31
11 years ago
Daniel Berteaud
d05925722b
Fix lock button status sync
...
When there're several owners
11 years ago
Daniel Berteaud
f55d6cf092
Various fixes in path handling when using language suffix
11 years ago
Daniel Berteaud
596ef48dcb
Add a sticky footer div
11 years ago
Daniel Berteaud
94de8f308b
Various comments and small code cleanup
11 years ago
Daniel Berteaud
8122691209
Cleanup setPassword handler
11 years ago
Daniel Berteaud
7222122f23
Localize msg in ping handler
11 years ago
Daniel Berteaud
e00e0f7605
Cleanup the ping action handler
11 years ago
Daniel Berteaud
6517fb930a
Add a new setting to expire persistent rooms
...
Using a dedicated timeout, so you can set it very high, but still remove very old rooms
Fix #28
11 years ago
Daniel Berteaud
1695c9dfff
Only the owner is allowed to lock/unlock a room
11 years ago
Daniel Berteaud
96d8a0eaa6
Fix error handling for lock/unlock
11 years ago
Daniel Berteaud
a15e6d7199
Don't allow previous participant to join if locked
11 years ago
Daniel Berteaud
76ae8e18ea
Prevent owner to be locked out of its own room
...
If the room was locked when he left
11 years ago
Daniel Berteaud
43f3fba40b
Revert "Remove room lock, not that usefull now that you can use a password"
...
This reverts commit 25f2602694
.
Locking can still be usefull to prevent participant to join, event is they know the pass
Conflicts:
public/js/vroom.js
11 years ago
Daniel Berteaud
e4ce4b9678
Check if room exists in the goodbye route
11 years ago
Daniel Berteaud
2800c35dca
Cleanup error handling in ajax requests
11 years ago
Daniel Berteaud
fdff058521
Add a custom message field in email invitations
...
Can be used to send the join password, or anything else
11 years ago
Daniel Berteaud
cea2189774
Store join paswword hashed
...
Do not trade security and privacy for convenience
11 years ago
Daniel Berteaud
1c7cc79768
Only grant the owner role if creation succedded
11 years ago
Daniel Berteaud
697b143cef
Add an auth form in the join template
...
Lets you authenticate as the room owner even if there's no join pasword
11 years ago
Daniel Berteaud
a5837dac98
Implement owner password auth
...
Owner passwords are salt+sha256 hashed (unlike join password) as they do not need cleartext access
For now, you also have to set a join password if you want to be able to auth as an owner
Need to implement a password popup if there's an owner password but no join password
11 years ago
Daniel Berteaud
eaf20b6a13
Send join password in email invitations
...
Fix #26
11 years ago
Daniel Berteaud
41b5f5754b
Hide conf menu by default
...
And display it only if we are the owner of the room
11 years ago