Daniel Berteaud
d9eeca2c90
Correctly update switches when updating config
2015-01-22 17:09:30 +01:00
Daniel Berteaud
58219f62d9
Check passwords match when submiting config
2015-01-22 16:58:14 +01:00
Daniel Berteaud
2f1d51eda4
There's no more drop downs menu
2015-01-22 16:49:14 +01:00
Daniel Berteaud
d101b98648
Hide password fields after config update
2015-01-22 16:46:42 +01:00
Daniel Berteaud
c5a19d6a3d
Notification on room configuration changes
2015-01-22 16:33:05 +01:00
Daniel Berteaud
5f122fed91
Hide auth modal on successful auth
2015-01-22 16:05:19 +01:00
Daniel Berteaud
137bd01c9d
Hide the configuration modal after save
...
If it succeed
2015-01-22 16:03:24 +01:00
Daniel Berteaud
4e455d1caa
Replace the dropdown auth menu with a modal dialog
2015-01-22 15:54:08 +01:00
Daniel Berteaud
2a3468d7ec
Push the logout button and time counter to the navbar on XS screens
2015-01-22 15:45:04 +01:00
Daniel Berteaud
bac285b055
Remove group actions
...
They aren't that useful and just make trhe interface less clear
2015-01-22 15:18:04 +01:00
Daniel Berteaud
ead9300d8e
Correctly remove first email input
...
When joining a room which has email notifications configured
2015-01-22 15:09:12 +01:00
Daniel Berteaud
2b0b0bf609
Huge cleanup, remove all old config stuff
2015-01-22 13:43:58 +01:00
Daniel Berteaud
b65ad2c63e
Handle email notifications in the new config menu
2015-01-22 13:28:26 +01:00
Daniel Berteaud
cdc4d71e68
Hook the new config menu with a new update_room_conf api method
2015-01-22 12:56:48 +01:00
Daniel Berteaud
b0f77440d9
Update email list in the new config menu
2015-01-21 22:41:39 +01:00
Daniel Berteaud
3436c1320e
Add dynamic input fields for email notifications in the new config menu
2015-01-21 22:24:02 +01:00
Daniel Berteaud
a4a1f78a7d
Update buttons in the new config menu when joining the room
2015-01-21 19:08:31 +01:00
Daniel Berteaud
f80c8e7d97
Send peer_id, not peer
2015-01-21 18:46:47 +01:00
Daniel Berteaud
8c5d67c5a6
First round of the config menu revamp
2015-01-21 18:39:20 +01:00
Daniel Berteaud
b93e93326f
Remove focus on some buttons
2015-01-20 17:29:08 +01:00
Daniel Berteaud
432f6521e4
Simplify invite menu
2015-01-20 17:07:57 +01:00
Daniel Berteaud
7957e32a9a
Remove wipe and quit button
...
It just cluttered the interface and wasn't OK on XS screens
2015-01-20 16:41:47 +01:00
Daniel Berteaud
527ab348b4
On XS screens, display the timecounter in the navbar
2015-01-20 16:36:25 +01:00
Daniel Berteaud
72f021c266
Update to Bootstrap 3.3.2
2015-01-20 14:37:59 +01:00
Daniel Berteaud
27337d4875
Remove the old api handler
...
Note that this breaks the admin interface, which will be rewritten
2015-01-18 22:54:03 +01:00
Daniel Berteaud
bbf4eee3df
Switch delete_room to the new api
2015-01-18 22:51:19 +01:00
Daniel Berteaud
1c8217e208
Switch get_pad_session to the new api handler
2015-01-18 22:46:36 +01:00
Daniel Berteaud
f5ab168d77
Switch wipe_data to the new api handler
2015-01-18 22:38:28 +01:00
Daniel Berteaud
b1e37a673f
Switch promote_peer to the new api handler
2015-01-18 22:17:08 +01:00
Daniel Berteaud
f181eb6406
Switch join action to the new api handler
2015-01-18 22:09:04 +01:00
Daniel Berteaud
2dc0ed116a
Switch email_notification to the new api handler
2015-01-18 21:55:46 +01:00
Daniel Berteaud
2e4d09ad0e
Switch set_ask_for_name to the new api handler
2015-01-18 21:19:16 +01:00
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
146d1b7881
Adapt to run vroom under hypnotoad instead of a CGI script
...
Fix #83
2014-10-12 18:22:02 +02:00
Daniel Berteaud
4d90bb4e41
Small typo
2014-10-12 16:52:44 +02:00
root
98b81d2520
Use a prepared statement to create etherpad group
2014-10-12 16:51:14 +02:00
Daniel Berteaud
111344fb58
Don't load unused modules
2014-10-11 12:52:52 +02:00
root
b4497a1e80
Switch to Mojolicious::Plugin::Mail
...
Close #81
2014-10-11 12:49:46 +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
bc86d9b243
Rename share.png to multi.png
...
share.png is blocked by addblock
2014-10-09 21:02:01 +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
f4a90fa9b4
Another fix in room expiration logic
...
Before that, only one room could be expired each time we called delete_rooms helper
2014-07-21 15:44:06 +02:00
Daniel Berteaud
f75fb45941
Add email invitation suport on the management page
2014-07-20 15:20:36 +02:00
Daniel Berteaud
7d02133483
Fix participant cleanup logic
2014-07-20 12:53:57 +02:00
Daniel Berteaud
b8576f687b
Code cleanup
2014-07-20 12:48:57 +02:00
Daniel Berteaud
f2db6be49e
Display the number of participants in the management page
2014-07-20 12:22:44 +02:00
Daniel Berteaud
819ac83f63
Cleanup participant table after 10 min instead of 2 hours
2014-07-20 12:15:14 +02:00
Daniel Berteaud
9f8908657c
Some code cleanup
2014-07-20 12:10:31 +02:00
Daniel Berteaud
22afd16b15
Fix case in components name
2014-07-20 11:51:17 +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
d51e6b8d2d
Fix room deletion
2014-07-19 12:58:46 +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
387048cfc0
Make the /action handler accessible under /admin
...
And bypass auth check when accessed through /admin/action
2014-07-19 00:23:50 +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
9f9b4cc8b5
Add a route to manage rooms
2014-07-18 19:27:21 +02:00
Daniel Berteaud
f2594248c7
Add a get_all_rooms helper
...
And expire rooms before entering the admin page
2014-07-18 18:35:58 +02:00
Daniel Berteaud
85cd946587
Add a route for the admin page
2014-07-18 17:55:53 +02:00
Daniel Berteaud
e5f25a93c9
Do not try to remove the participant if the session name isn't defined
2014-07-09 08:00:21 +02:00
Daniel Berteaud
2affe56392
Lowercase room name on create
2014-07-05 14:43:15 +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
f32a6af965
Get ride of Data::UUID dependency
2014-07-02 15:48:36 +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
21a5640065
Reduce images size with optipng
2014-06-27 17:03:12 +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
c3543a77b5
Some more logs in debug mode
2014-06-18 14:22:12 +02:00
Daniel Berteaud
8b0a0ae6ee
Purge inactive participants from the database
...
Fix #74
2014-06-18 13:56:19 +02:00
Daniel Berteaud
35475e3638
Add the timestamp when adding a participant in the room
2014-06-18 13:39:35 +02:00
Daniel Berteaud
fdb2840451
Update activity timestamp for each peer when they ping a room
2014-06-18 13:38:36 +02:00
Daniel Berteaud
9c2808c046
Handle terminate call in JS client
2014-06-18 12:50:18 +02:00
Daniel Berteaud
da8633c1a3
Fix a typo goodby -> goodbye
2014-06-18 12:49:20 +02:00
Daniel Berteaud
35cc1dd3a2
Add a deleteRoom action handler
...
And adapt the goodbye page to allow empty room name
2014-06-18 12:42:16 +02:00
Daniel Berteaud
192521e8c7
Add a delete_room helper to remove a specific room
2014-06-18 12:31:39 +02:00
Daniel Berteaud
3e8b0bb819
Empty password fields on modal dismiss
2014-06-18 11:15:27 +02:00
Daniel Berteaud
351a9421c3
Fix undefined variable when loging out
2014-06-17 23:08:46 +02:00
Daniel Berteaud
4266377454
Better button layout on error page
2014-06-17 23:02:02 +02:00
Daniel Berteaud
8257c4401a
No opacity exception for XS screens
...
As they use a more standard layout now, where a preview can be selected as the main video
2014-06-17 22:15:07 +02:00
Daniel Berteaud
5848938f08
Fix log message when setting peer role in the database
2014-06-17 17:01:02 +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
cc106a6691
sm breakpoint is 768px
2014-06-17 13:35:47 +02:00
Daniel Berteaud
62e769a2b3
Only reduce preview opacity when width > 750
...
Fix #72
2014-06-16 22:59:40 +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
f2760ef0c2
Remove useless msg
2014-06-16 19:33:22 +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
4a1a6e813c
Use a helper to create etherpad sessions
2014-06-16 17:37:59 +02:00
Daniel Berteaud
31fca2b4ef
Use a helper to create etherpad group and pad
2014-06-16 16:05:05 +02:00
Daniel Berteaud
3c0fd60be5
Also create etherpad group on room creation
2014-06-13 19:03:26 +02:00
Daniel Berteaud
081a8c18bf
Delete the pad, not just the group
2014-06-13 17:30:04 +02:00
Daniel Berteaud
bbe77d48cf
Create etherpad group when joining, not creating the room
...
So it's created for pre-existing rooms
2014-06-13 16:39:23 +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
109f4380da
Add a new etherpadBaseDomain param so you can set the domain for etherpad Cookie
2014-06-13 14:19:02 +02:00
Daniel Berteaud
c1418e3aee
Add a new slide on the index to talk about etherpad integration
...
Only if etherpad is enabled
2014-06-13 13:44:10 +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
ce7ed9e8b5
Fix delete_room logic
2014-06-13 11:24:38 +02:00
Daniel Berteaud
6416c8ac6a
Update room deletion helper
...
And remove etherpad groups when the corresponding room is deleted
2014-06-13 10:37:21 +02:00
Daniel Berteaud
8378ddb78a
Add basic etherpad handling (create group, pad user session)
2014-06-12 22:52:53 +02:00
Daniel Berteaud
03252b99b2
Add new settings for etherpad
2014-06-12 21:34:18 +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
60e102371d
Fix copy/paste error in CSS
2014-06-11 22:16:25 +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
ec34e179d1
Reduce overlays icon size
2014-06-10 22:08:59 +02:00
Daniel Berteaud
11691f244f
Add a few more reserved words
2014-06-09 12:59:10 +02:00
Daniel Berteaud
ac2bffca01
Reduce padding under the nav
...
SO we can use more space for the main video
2014-06-08 22:20:26 +02:00
Daniel Berteaud
5658c6db4e
Update browser not supported dialog
...
Adapt links for android (point to Google Play)
Don't display browsers download link on iOS, as they will not work anyway
Fix #62
2014-06-08 15:38:11 +02:00
Daniel Berteaud
4280c46182
Remove useless CSS rules
2014-06-08 15:02:33 +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
5185018da9
Expire invitations before checking if the token is valid
2014-06-05 18:57:07 +02:00
Daniel Berteaud
2fdda24bd3
Add feedback_thanks to the list of reserved names
2014-06-05 18:29:47 +02:00