1
0
mirror of https://github.com/dani/vroom.git synced 2024-07-01 15:52:54 +02:00
Commit Graph

86 Commits

Author SHA1 Message Date
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
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
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
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
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
a4ae1dbc0b Localize response message on password set/unset 2014-05-12 19:03:44 +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
51f4b27c24 Prevent closing other dropdown menus 2014-05-11 13:04:02 +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
6ef394b914 Add a thank page after feedback submission
Fix #16
2014-05-09 19:15:30 +02:00
Daniel Berteaud
4a6e292ea6 Generate shorter random room names
Fix #18
2014-05-09 18:56:43 +02:00
Daniel Berteaud
f1012ad480 Various cleanups on the index page 2014-05-09 18:45:10 +02:00
Daniel Berteaud
10db137f6c Rework the invitation menu
Fix #17
2014-05-09 16:49:00 +02:00
Daniel Berteaud
0ee132334f Prevent room name using reserved word 2014-05-09 13:37:36 +02:00
Daniel Berteaud
3e23445ea2 Remove baseUrl
It's not used anywhere
2014-05-07 19:16:08 +02:00
Daniel Berteaud
3aa3415a0e Add a feedback form
Add a link to the feedback page in the public toolbar, and the goodby page
Should fix #14
2014-05-07 19:10:59 +02:00
Daniel Berteaud
46d9ddb85d Redirect to lowercase
Should fix #13
2014-05-07 17:17:22 +02:00
Daniel Berteaud
3b99238cbf Add a join button on conflict error
Cleanup stash handling for the error template, and add a button to join the room
Should fix #12
2014-05-07 16:56:47 +02:00
Daniel Berteaud
4815e4cb83 Define rootUrl in js_include
So /localize is working not matter which alias we use, even on the front page
2014-05-07 12:48:50 +02:00
Daniel Berteaud
1e2e524900 Store raw displayName, only escape when used
Prevents double escaping when importing chat history from another peer.
Also validate color and time when we receive history
2014-05-07 10:10:47 +02:00
Daniel Berteaud
409edd50db Update jQuery to 1.11.1 2014-05-06 22:52:19 +02:00
Daniel Berteaud
98fd6cd32c Coding style updates and comments cleanup 2014-05-06 22:34:08 +02:00
Daniel Berteaud
e06811c8d3 Remove unused rooms before trying to create
Prevent the strange situation where trying to create tells you the room already exists, and when you try to join, the error is that the room doesn't exist
2014-05-06 22:05:59 +02:00
Daniel Berteaud
610ff99f2c Don't update our local volume bar when muted
SimpleWebRTC still emit local volume change event when muted
2014-05-06 20:28:48 +02:00