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

79 Commits

Author SHA1 Message Date
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
Daniel Berteaud
b381f031da Fix handling of volume change dataChannel messages
Which are not sent in the vroom dataChannel
2014-05-06 20:20:35 +02:00
Daniel Berteaud
d62c0dc6ec Sync chat history between peers
Not completly full proof, but seems to work reasonably well. If we do not have received chatHistory yet, ask for it each time a peer's video is added until we get it. Messages are escaped and formatting is preserved, including peer's color. One problem though: if you refresh the page, you will receive the history, but your own old message will appear on the left, as if it was another who send them. This is because there's no way to recognize it was you (previous session...)
Should fix #4
2014-05-06 19:24:43 +02:00
Daniel Berteaud
9dd070b02a Escape text chat in newChatMessage() 2014-05-06 18:39:57 +02:00
Daniel Berteaud
2411e75209 Replace ugly mute/pause img with glyphicons 2014-05-06 13:55:12 +02:00
Daniel Berteaud
ae306ba643 Use lighter background colors
text message was hard to read for a lot of colors because they were too dark
2014-05-05 22:13:16 +02:00
Daniel Berteaud
e117d73b85 Fix save history filename 2014-05-04 15:25:01 +02:00
Daniel Berteaud
2b7e0e65cc Implement tchat history save as local HTML file
Fix #5
2014-05-04 14:32:48 +02:00