Commit Graph

1185 Commits

Author SHA1 Message Date
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 2b461fbc59 Move lock button at the top of the conf menu 2014-05-14 20:52:31 +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 072215a071 Add custom message intro in email invitation
Also don't XML escape translated strings in the plain text version
2014-05-14 17:30:28 +02:00
Daniel Berteaud d80ab2440a Change email input placeholder 2014-05-14 13:55:58 +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 e394b8d911 Hide the app URL on XS screens 2014-05-14 08:43:03 +02:00
Daniel Berteaud 8ab49c3b9e Dont call maxHeight() before it's defined 2014-05-13 23:27:10 +02:00
Daniel Berteaud 1c7cc79768 Only grant the owner role if creation succedded 2014-05-13 23:23:02 +02:00
Daniel Berteaud 6e48945f4e More help items 2014-05-13 22:58:21 +02:00
Daniel Berteaud 769e288796 Revamp help page 2014-05-13 22:11:56 +02:00
Daniel Berteaud 4fb717b6be Use form instead of simple divs for paswords
So hitting enter also submit it
2014-05-13 21:04:45 +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 7a7ee8603b Add MySQL field for owner_password 2014-05-13 18:07:59 +02:00
Daniel Berteaud eaf20b6a13 Send join password in email invitations
Fix #26
2014-05-13 17:52:03 +02:00
Daniel Berteaud 0226271045 Move getRole to a function
Will probably be used elsewhere soon
2014-05-13 17:34:11 +02:00
Daniel Berteaud 89b7e7ff0f Small animation when owner element are enabled
Makes a nicer experience
2014-05-13 14:33:36 +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 163121d57f Add localization for NOT_ALLOWED msg 2014-05-12 23:05:47 +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 75709997d9 Notify other peers when a password is set 2014-05-12 22:10:06 +02:00
Daniel Berteaud 074a5e6785 Make the conf menu larger 2014-05-12 21:57:54 +02:00
Daniel Berteaud c092c45431 Move lock button in config menu 2014-05-12 21:52:50 +02:00
Daniel Berteaud 7498b2b498 Add fr and en locales for password protection 2014-05-12 19:07:19 +02:00
Daniel Berteaud a4ae1dbc0b Localize response message on password set/unset 2014-05-12 19:03:44 +02:00
Daniel Berteaud 6300a0b6d4 Add a retry button on error page
If the error is WRONG_PASSWORD
2014-05-12 18:54:19 +02:00
Daniel Berteaud c7dae14d32 Add password page template 2014-05-12 18:54:03 +02:00
Daniel Berteaud 56f606a504 Implement password check logic 2014-05-12 18:53:16 +02:00
Daniel Berteaud 6b4ced06bb Implement join password setting
But it's not used yet :-)
2014-05-11 22:29:40 +02:00
Daniel Berteaud 950f31c39a Set password button should be disabled
Until we start typing a password
2014-05-11 21:59:06 +02:00
Daniel Berteaud 0feec74dbd Add remove pass button
Also simplify password setting for now, remove the confirm password dialog (will probably be added agin once everything is ready and working)
2014-05-11 17:07:22 +02:00
Daniel Berteaud 51f4b27c24 Prevent closing other dropdown menus 2014-05-11 13:04:02 +02:00
Daniel Berteaud ab827ac770 Add a new menu for configuration in the toolbar
Only contains join password for now
2014-05-11 13:02:03 +02:00
Daniel Berteaud c2df8a16c6 Update SimpleWebRTC to 1.7.6 2014-05-11 03:00:56 +02:00
Daniel Berteaud 6a916d7ba7 Add timestamp as get param to resources
Should force clients to get new files each time thy change
without any maintenance, as it just reads the file mtime
Should fix #22
2014-05-10 18:37:15 +02:00
Daniel Berteaud c86ac4e0d7 Fix default MySQL db name 2014-05-10 15:02:51 +02:00
Daniel Berteaud f65932fee1 Some more email invitation refactoring 2014-05-10 11:37:35 +02:00
Daniel Berteaud 1d8ad29190 Send alternative/multipart emails
Plus some other adjustements
Fix #20
Unfortunatly, it's not sufficient, as gmail still often tags invitations as spam :-(
but still a bit better
2014-05-10 00:10:44 +02:00
Daniel Berteaud 9aa15e8597 Add missing class to panels on the index page
Text wasn't justified
2014-05-09 19:40:30 +02:00
Daniel Berteaud d481ff47e2 Validate room name field
Not perfect as the message is not easily customizable, but better than nothing ;-)
Fix #15
2014-05-09 19:31:41 +02:00