1
0
mirror of https://github.com/dani/vroom.git synced 2024-07-02 12:13:12 +02:00
Commit Graph

255 Commits

Author SHA1 Message Date
Daniel Berteaud
09917e3286 Switch get_peer_role to the new api handler 2015-01-18 21:06:01 +01:00
Daniel Berteaud
c8a17e7be8 Switch get_room_info to the new api handler 2015-01-18 20:02:23 +01:00
Daniel Berteaud
0a6e2d4f9b Switch set_persistent to the new API handler 2015-01-18 19:38:18 +01:00
Daniel Berteaud
d1099ec517 Fix auth call 2015-01-18 19:05:40 +01:00
Daniel Berteaud
1eb8b4f9db Switch authenticate to the new API handler 2015-01-18 18:35:51 +01:00
root
91aa46c9c7 Convert setPassword (join and owner) to the new API handler 2015-01-10 13:59:01 +01:00
Daniel Berteaud
9d67d1afc0 Move ping action to the new API handler 2014-10-24 17:54:35 +02:00
Daniel Berteaud
90c49fc6a1 Move lock_room and unlock_room to the new API handler 2014-10-24 17:42:13 +02:00
Daniel Berteaud
3a3603df1a Move email invitation to the new API handler 2014-10-24 17:28:06 +02:00
Daniel Berteaud
59aadfbbfb Rename the lang switch 2014-10-23 18:01:01 +02:00
Daniel Berteaud
cb3c7cb5f9 Switch language switch to the new API handler 2014-10-22 18:39:19 +02:00
Daniel Berteaud
dca0ab194e It's not jsonrpc, rename action handler to jsapi 2014-10-21 10:14:13 +02:00
Daniel Berteaud
55241c4798 Rename action URI handler to jsonrpc 2014-10-19 17:00:11 +02:00
Daniel Berteaud
a78787c173 Cleanups in email_notification handling 2014-10-16 23:08:41 +02:00
Daniel Berteaud
232125b88c Add lang switch in the toolbar 2014-10-09 21:33:21 +02:00
Daniel Berteaud
8d8dfad3d4 Maintain client localizations on server-side
So locales can be retrieved with a get request, and be cached by the browser
2014-10-09 21:13:06 +02:00
Daniel Berteaud
a289803632 Separate owner password and persistence
Now, persistent rooms will be really persistent (never deleted), but can only be set by an admin
Rooms with an owner password set are now called "reserved" room, and works as before
2014-07-25 12:58:25 +02:00
Daniel Berteaud
a2b19cbeb8 Remove unused jquery.linkify.min.js file 2014-07-25 12:09:18 +02:00
Daniel Berteaud
f75fb45941 Add email invitation suport on the management page 2014-07-20 15:20:36 +02:00
Daniel Berteaud
4f6040226e Add date and time in filename when saving chat history 2014-07-20 11:35:28 +02:00
Daniel Berteaud
dde7079b1c Add buttons to join and delete room on the management page 2014-07-19 12:55:36 +02:00
Daniel Berteaud
e1753fab12 Implement missing settings handling in manage room page 2014-07-19 11:37:13 +02:00
Daniel Berteaud
5124024c03 React on switch changes on the manage room page
Only lock and askForName implemented for now
2014-07-19 01:30:05 +02:00
Daniel Berteaud
3a6106aac4 Convert unix timestamp to localized date string on manage room page 2014-07-19 00:41:23 +02:00
Daniel Berteaud
34d8649e3e Add bootstrap-switch CSS and JS
It will be used on the management page
2014-07-18 19:28:55 +02:00
Daniel Berteaud
6f7c51d9c8 Update notifyjs 2014-07-02 16:20:38 +02:00
Daniel Berteaud
28f01743d8 Update FileSaver 2014-07-02 16:18:06 +02:00
Daniel Berteaud
87c6cdc62c Don't reload etherpad iFrame on wipe if it wasn't loaded before 2014-07-02 15:58:52 +02:00
Daniel Berteaud
d2e54b0dfb Update to SimpleWebRTC 1.9.1 2014-07-02 15:56:20 +02:00
Daniel Berteaud
22ab05ee98 Revamp the invite by email menu 2014-06-28 18:54:06 +02:00
Daniel Berteaud
45d6130fc4 Revert "Update bootstrap to 3.2.0"
As it doesn't provide significant improvement, and actually breaks forms alignment

This reverts commit 25016b2b58.
2014-06-28 14:31:07 +02:00
Daniel Berteaud
2347f2b1fa Don't reload etherpad iframe when setting name if etherpad hasn't been loaded yet 2014-06-27 19:01:58 +02:00
Daniel Berteaud
25016b2b58 Update bootstrap to 3.2.0 2014-06-27 15:33:40 +02:00
Daniel Berteaud
a9eda212e2 Pause mic and webcam when opening the quitModal dialog
Resume in we cancel
Dont change previous state (if it was already paused, don't resume)
Fix #77
2014-06-24 17:11:15 +02:00
Daniel Berteaud
a4cacdddb6 Use the leaveRoom method to leave 2014-06-18 16:20:16 +02:00
Daniel Berteaud
69fec4e842 Use our displayName in etherpad
And reload the etherpad iFram when you change your name
Usefull in the timeline, where you can see who wrote what
2014-06-18 15:31:41 +02:00
Daniel Berteaud
9c2808c046 Handle terminate call in JS client 2014-06-18 12:50:18 +02:00
Daniel Berteaud
3e8b0bb819 Empty password fields on modal dismiss 2014-06-18 11:15:27 +02:00
Daniel Berteaud
64fdb9bf33 Do not hide the main div on XS screen
Instead, reduce the previews size (up to 4 previews in a row), and place the main div just under, using all the available width
Not perfect yet, but much better than before, so fix #73
2014-06-17 14:05:05 +02:00
Daniel Berteaud
953b9486c0 Add a confirm dialog when quiting
Fix #69
2014-06-16 22:45:53 +02:00
Daniel Berteaud
d58bb6738e Cleanup notifications class
Fix #71
2014-06-16 22:13:35 +02:00
Daniel Berteaud
8b6be5c14a Add the wipe modal and implement logic to wipe data
Both chatHistory (client side only) and etherpad (needs server side) are handled
Fix #68
2014-06-16 19:22:14 +02:00
Daniel Berteaud
479639e1f7 Reload etherpad iFrame immediatly on color change
Instead of waiting for the next opening of the etherpad menu
2014-06-13 15:29:40 +02:00
Daniel Berteaud
c4a87c698c Forbid color change if etherpad is opened
So colors doesn't get out of sync
2014-06-13 15:20:48 +02:00
Daniel Berteaud
a0c2084d07 Load the etherpad iframe only when clicking on the button
Work arround a problem in FF where the pad wasn't loaded properly
Also reload the iFrame if we changed our color so it's being synced
2014-06-13 15:18:25 +02:00
Daniel Berteaud
261ac0bdc3 Better etherpad iframe sizing 2014-06-13 13:29:29 +02:00
Daniel Berteaud
1c3a7c2687 Enable etherpad access in the interface 2014-06-13 12:49:25 +02:00
Daniel Berteaud
1bf4330ec9 Add jquery etherpad-lite plugin 2014-06-13 11:30:24 +02:00
Daniel Berteaud
8894735650 Add name and email in headers 2014-06-12 18:56:54 +02:00
Daniel Berteaud
68228482d6 Mark screen unshared just before doing so
Fix #67
2014-06-12 18:22:19 +02:00
Daniel Berteaud
003d094625 Work arround for FF when removing the main video 2014-06-12 18:07:18 +02:00
Daniel Berteaud
dfe38a654d Slightly delay the disconnected modal
So it's not displayed when quiting or refreshing the page
2014-06-11 23:08:47 +02:00
Daniel Berteaud
0fd8f42776 Add a simple modal dialog when connection is lost
Fix #65
2014-06-11 22:32:22 +02:00
Daniel Berteaud
729bed5dba Update SimpleWebRTC to 1.9.0 2014-06-11 21:54:24 +02:00
Daniel Berteaud
82ee4f6681 Fix quality threshold 2014-06-11 13:11:46 +02:00
Daniel Berteaud
06f7ec3e1e Measure latency between peers and add feedback
Previews will be grey when latency is unknown (not measured yet), green when it's good (60ms or less), blue when medium (between 60 and 120), orange when it's becoming high (between 120 and 250) and red when latency is too high to have a good call (250ms or more)
To reduce confusion, slected preview will now have a reduced opacity instead of the red border
Fix #66
2014-06-10 23:02:10 +02:00
Daniel Berteaud
061e7ba4d4 Remove some dead code 2014-06-06 22:44:56 +02:00
Daniel Berteaud
a02ac71159 Use warn class to notify that the room isn't persistent 2014-06-06 13:53:10 +02:00
Daniel Berteaud
1bc08f124a Only notify you are owner if it's the case
Check that we're really owner now before notifying
2014-06-06 09:29:01 +02:00
Daniel Berteaud
e7d4e34a49 Another typo which prevented group actions menu to be displayed
When another owner promote you
2014-06-06 09:26:28 +02:00
Daniel Berteaud
29cc7cddd1 Fix typo which made an undefined variable 2014-06-06 09:22:26 +02:00
Daniel Berteaud
1f2b112b3c Notify others if we don't have a webcam
In which case, add a grey glyphicon in the preview
Also disable suspend buttons
2014-06-06 09:16:32 +02:00
Daniel Berteaud
4c53aa5117 Fix chat buttons height on Firefox
Also adapt those buttons height to the size of the textarea
2014-06-05 22:42:53 +02:00
Daniel Berteaud
5c7480a8f0 Align notif to bottom center for room creation error 2014-06-05 13:47:53 +02:00
Daniel Berteaud
e56dbad9e6 Add the error class only on the input zone
WHen you type an invalid room name
2014-06-05 13:46:02 +02:00
Daniel Berteaud
146b126bc7 Put time and name in bold in the chat
It's easier to distinguish the text like this
2014-06-05 10:03:42 +02:00
Daniel Berteaud
1fe47a461f Disable screen sharing buton on android
Fix #59
2014-06-04 22:37:09 +02:00
Daniel Berteaud
94e57a3bee Localize invalid room name error message 2014-06-04 16:33:53 +02:00
Daniel Berteaud
12b7f32e14 Add a "promote to owner" button
Fix #58
2014-06-04 16:00:29 +02:00
Daniel Berteaud
0686bed1e8 Do not try to submit if we already know the name is invalid 2014-06-03 22:34:23 +02:00
Daniel Berteaud
5f01424bb5 Update room creation
Uses JS now to submit so it can fail gracefuly on error, and warn if room already eists, instead of redirecting to the ugly error page
Fix #52
2014-06-03 22:30:19 +02:00
Daniel Berteaud
acf855cbfc Remove the active class on the help button
When the modal dialog is closed
2014-06-03 19:32:06 +02:00
Daniel Berteaud
2406cbeecd Hide threePeersEl when a peer leaves a room
If there's less than 3 peers
2014-06-03 12:07:19 +02:00
Daniel Berteaud
b228147906 Hide group actions until there's at least 2 other peers
They do not make sens when you're two or less in the room
2014-06-03 12:03:45 +02:00
Daniel Berteaud
767e59a9f3 Don't check if MoH is needed when the video being removed is our local screen 2014-06-03 11:18:47 +02:00
Daniel Berteaud
20d1bf695f Add grouped actions
To mute/unmute/suspend/resume everyone in one click
Fix #54
2014-06-02 22:15:50 +02:00
Daniel Berteaud
547d5365a1 Only enable sound detection if supported
Also use a lower threshold. -80 should be enough
And should Fix #55
2014-06-02 20:55:39 +02:00
Daniel Berteaud
d23e40e89d Don't add moh notif if it just resumed 2014-06-02 12:08:27 +02:00
Daniel Berteaud
581889f559 Typo occured -> occurred 2014-06-02 10:40:51 +02:00
Daniel Berteaud
7c90b688f4 Default MoH to pause
Fix #51
2014-06-02 10:24:14 +02:00
Daniel Berteaud
4bcd816d77 Animation on dropdown menus
Fix #48
2014-05-31 14:34:31 +02:00
Daniel Berteaud
d780a63c41 Reduce volume of MoH
Fix #49
2014-05-31 14:27:01 +02:00
Daniel Berteaud
094bcbae2e Mute preview instead of pausing the video
FF doesn't support pausing one video with another connected to the same stream still playing
So, be consistent between FF and webkit, and just mute the preview
Also lower the volume of the previews (70%) and bump the one of the main video
Fix #47 and also fix #50
2014-05-31 14:20:27 +02:00
Daniel Berteaud
c840438feb Only play previews which are paused 2014-05-30 19:00:23 +02:00
Daniel Berteaud
05c0851d31 Don't pause preview on small screens, as there's no main video div 2014-05-30 17:08:16 +02:00
Daniel Berteaud
bf6f1de4f3 Add a timer in the navbar 2014-05-30 16:41:23 +02:00
Daniel Berteaud
2d36ad921b Pause a preview when going on the main div
This reduce the CPU pressure, as only one stream needs to be decoded
Also prevent the main vid to double its audio level (which was not a bad thing, but was just beacause this same track was decoded and played twice, it'd be better to play with the volume of only one track)
Doesn't work well on FF for now (because FF doesn't like switching main div, it often do not resume the video, or after several seconds, will need to investigate)
2014-05-30 13:59:51 +02:00
Daniel Berteaud
5c5c17ebe2 Don't dup video el ID 2014-05-30 13:19:49 +02:00
Daniel Berteaud
20d3c40dd9 Allow the new screensharing on Chrome35/Linux
I see no crash or other problem
2014-05-30 13:10:33 +02:00
Daniel Berteaud
f7c22254b3 Use success class for askForName setting 2014-05-30 13:08:15 +02:00
Daniel Berteaud
3c19a340a2 Don't display peer ID if the peer has no displayName 2014-05-30 12:36:38 +02:00
Daniel Berteaud
ccd1f68a87 Update to SimpleWebRTC 1.8.3 2014-05-30 12:31:35 +02:00
Daniel Berteaud
60f0cb53b9 Update fr and en locales 2014-05-29 23:30:42 +02:00
Daniel Berteaud
94f0be24f8 Adapt the client side JS to the new modal dialog for join password 2014-05-29 22:55:20 +02:00
Daniel Berteaud
4e5f6b7ffa Adapt JS part to the new modal dialog for persistent rooms 2014-05-29 12:36:11 +02:00
Daniel Berteaud
f95e2730bd Change ping responce notif class to info
And disable autoHide
2014-05-28 12:42:06 +02:00
Daniel Berteaud
806ec1d443 Use a much lower thrshold to detect no sound
the previous -40 triggered far too much false positives
2014-05-26 16:01:48 +02:00
Daniel Berteaud
513fd90d47 Don't display cryptic peer ID
When the participant hasn't set a display name
2014-05-25 15:49:07 +02:00
Daniel Berteaud
07276cbd86 Slightly delay MoH check
So it doesn't start/stop when you join a room with participants
2014-05-25 15:23:19 +02:00
Daniel Berteaud
d4dcea1b58 Shorter animations for main video transitions 2014-05-25 15:20:33 +02:00