1
0
mirror of https://github.com/dani/vroom.git synced 2024-06-26 17:43:29 +02:00
Commit Graph

69 Commits

Author SHA1 Message Date
Daniel Berteaud
d597d4a790 Add notifications in the table before sending the email
And manage invitations cleanups when rooms expire
2014-05-27 19:09:30 +02:00
Daniel Berteaud
45a418b9c6 Fix resources path when not running on a dedicated vhost 2014-05-26 22:13:53 +02:00
Daniel Berteaud
149bcdde72 Fix a few untranslated message
also normalize localization in actions' handler
2014-05-25 01:21:14 +02:00
Daniel Berteaud
f53a16b86d Forbid setting an owner password for rooms which uses a common name
This list can be set in the config
2014-05-25 01:12:49 +02:00
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
2014-05-23 19:16:45 +02:00
Daniel Berteaud
3a4c4680f8 Add link to the icon set 2014-05-23 13:20:04 +02:00
Daniel Berteaud
4f79e4b156 Make invite menu owner reserved
Simple participants should have access to this
2014-05-22 10:23:26 +02:00
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)
2014-05-21 18:08:43 +02:00
Daniel Berteaud
43169f282e Add localization for the new display name feature (ask on join) 2014-05-21 17:40:25 +02:00
Daniel Berteaud
b70b8f5336 Implement action handler for ask_for_name 2014-05-21 14:16:17 +02:00
Daniel Berteaud
b1780003a3 Send to JS client if the name is mandatory on this room 2014-05-21 13:52:43 +02:00
Daniel Berteaud
e30edf6c1b Small typo 2014-05-20 23:05:17 +02:00
Daniel Berteaud
a44ddff81a Validate email format server-side
Also cleanup the invite action handler
2014-05-20 14:10:32 +02:00
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
2014-05-20 11:22:02 +02:00
Daniel Berteaud
ceb3690e97 Send notifications and add localizations 2014-05-20 11:17:38 +02:00
Daniel Berteaud
f6ddfd119c Add basic interface and frontend support for email notifications
Not used yet, but you can add and remove emails
2014-05-20 09:34:28 +02:00
Daniel Berteaud
67d874e66e Add a new button to create the room if it doesn't exist
Fix #39
2014-05-19 11:37:40 +02:00
Daniel Berteaud
693d2b2a01 Only suggest to auth as owner if an owner password is set 2014-05-19 11:10:12 +02:00
Daniel Berteaud
479540c3ac Fix owner check when room is locked 2014-05-19 11:04:44 +02:00
Daniel Berteaud
51945c1c51 Add mute/pause/kick action for room owners
Fix #24
2014-05-18 19:22:44 +02:00
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
2014-05-16 17:57:33 +02:00
Daniel Berteaud
d05925722b Fix lock button status sync
When there're several owners
2014-05-15 17:18:13 +02:00
Daniel Berteaud
f55d6cf092 Various fixes in path handling when using language suffix 2014-05-15 16:56:14 +02:00
Daniel Berteaud
596ef48dcb Add a sticky footer div 2014-05-15 16:16:05 +02:00
Daniel Berteaud
94de8f308b Various comments and small code cleanup 2014-05-15 13:41:01 +02:00
Daniel Berteaud
8122691209 Cleanup setPassword handler 2014-05-15 10:58:35 +02:00
Daniel Berteaud
7222122f23 Localize msg in ping handler 2014-05-15 10:54:05 +02:00
Daniel Berteaud
e00e0f7605 Cleanup the ping action handler 2014-05-15 10:40:40 +02:00
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
2014-05-15 10:30:57 +02:00
Daniel Berteaud
1695c9dfff Only the owner is allowed to lock/unlock a room 2014-05-14 22:14:25 +02:00
Daniel Berteaud
96d8a0eaa6 Fix error handling for lock/unlock 2014-05-14 21:51:35 +02:00
Daniel Berteaud
a15e6d7199 Don't allow previous participant to join if locked 2014-05-14 21:09:09 +02:00
Daniel Berteaud
76ae8e18ea Prevent owner to be locked out of its own room
If the room was locked when he left
2014-05-14 21:02:36 +02:00
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
2014-05-14 20:44:52 +02:00
Daniel Berteaud
e4ce4b9678 Check if room exists in the goodbye route 2014-05-14 17:46:18 +02:00
Daniel Berteaud
2800c35dca Cleanup error handling in ajax requests 2014-05-14 13:52:36 +02:00
Daniel Berteaud
fdff058521 Add a custom message field in email invitations
Can be used to send the join password, or anything else
2014-05-14 13:42:40 +02:00
Daniel Berteaud
cea2189774 Store join paswword hashed
Do not trade security and privacy for convenience
2014-05-14 09:05:00 +02:00
Daniel Berteaud
1c7cc79768 Only grant the owner role if creation succedded 2014-05-13 23:23:02 +02:00
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
2014-05-13 20:26:09 +02:00
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
2014-05-13 19:22:47 +02:00
Daniel Berteaud
eaf20b6a13 Send join password in email invitations
Fix #26
2014-05-13 17:52:03 +02:00
Daniel Berteaud
41b5f5754b Hide conf menu by default
And display it only if we are the owner of the room
2014-05-13 14:26:15 +02:00
Daniel Berteaud
9364ff66d8 Fix password prompt when you're the owner
Also fix a typo
2014-05-12 23:21:06 +02:00
Daniel Berteaud
e70be95255 Add password to the list of reserved words 2014-05-12 23:16:02 +02:00
Daniel Berteaud
240a0d2aa0 Set default role to participant 2014-05-12 23:03:48 +02:00
Daniel Berteaud
76468a8958 Only allow owner (creator) to set a passord 2014-05-12 22:57:15 +02:00
Daniel Berteaud
065eac4be5 Fix log warning 2014-05-12 22:31:00 +02:00
Daniel Berteaud
25f2602694 Remove room lock, not that usefull now that you can use a password 2014-05-12 22:25:36 +02:00
Daniel Berteaud
a4ae1dbc0b Localize response message on password set/unset 2014-05-12 19:03:44 +02:00