Commit Graph

554 Commits

Author SHA1 Message Date
Daniel Berteaud 452c36a63f Add tocjs plugin 2015-03-12 17:54:22 +01:00
Daniel Berteaud 7c42333af4 Ping only after joining the room
Fix #98
2015-03-11 11:53:26 +01:00
Daniel Berteaud 0d0b6afbf1 Make the member limit configurable per room
And fix #96
2015-03-11 11:45:55 +01:00
Daniel Berteaud 69c3cd3b5a Display number of members in room in the admin area
The number should be quite accurate, as it's now counting socket.io peers
2015-03-06 18:30:03 +01:00
Daniel Berteaud deb53b2e93 Remove wipe data and terminate call support
They were already disabled since last GUI revamp. Might come back one day, but they were just not very useful as is, and just made the UI messy
2015-03-06 16:54:06 +01:00
Daniel Berteaud e1a9d97dd9 Fix displyname and webcam modal not appearing
They are now merged into the connecting modal
same for no webrtc support
2015-03-06 16:50:31 +01:00
Daniel Berteaud eff9565144 Re-arrange the admin page so we can have several sub-pages
The first and only one for now being the room management
2015-02-27 14:52:01 +01:00
Daniel Berteaud 71867c0f0d Remove the MOH popover
I just find it anoying
2015-02-27 14:24:39 +01:00
Daniel Berteaud fd77acbae8 Add explanation for screen sharing on Firefox
Fix #94
2015-02-27 13:05:53 +01:00
Daniel Berteaud 83356a2248 Don't show MOH popover if the button isn't displayed 2015-02-24 22:23:05 +01:00
Daniel Berteaud dcbc616b01 Fix viewport width on small screens 2015-02-24 20:35:45 +01:00
Daniel Berteaud e0f32571c2 Pretify MOH popup 2015-02-20 18:10:52 +01:00
Daniel Berteaud 2dace775e6 Tooltip on configuration menu 2015-02-20 17:57:26 +01:00
Daniel Berteaud 6f130d014d Change font to Happy Monkey 2015-02-20 17:42:33 +01:00
Daniel Berteaud c1a9092505 Get SimpleWebRTC conf from the API
Instead of printing it in a JS scriplet inline. Also add a modal popup while the initial connection is being established
Also make the max frame rate to be configured
2015-02-20 14:47:10 +01:00
Daniel Berteaud 5fbdbcd985 Forgot to remove old jquery 2015-02-20 12:01:30 +01:00
Daniel Berteaud 19af94e58a Update t jquery to 1.11.2 2015-02-20 10:44:01 +01:00
Daniel Berteaud b81bd7873a Update bootstrap-switch to 3.3.2 2015-02-20 10:38:58 +01:00
Daniel Berteaud 77c0a43ae3 Update to SimpleWebRTC 1.13.3 2015-02-19 19:21:47 +01:00
Daniel Berteaud c1c9810381 Cleanup MOH button 2015-02-19 19:10:28 +01:00
Daniel Berteaud e71bea9df6 Cleanup etherpad button 2015-02-19 18:49:22 +01:00
Daniel Berteaud e70c58f27d Fix buttons state handling 2015-02-18 18:45:17 +01:00
Daniel Berteaud 79edf07f1d Change overlay action icon for cam suspend 2015-02-18 18:17:27 +01:00
Daniel Berteaud 116de87a46 Push mute and suspend buttons in the header toolbar on XS screens
Fix #88
2015-02-18 18:13:08 +01:00
Daniel Berteaud 986651a079 Print correct message if you select no window in Firefox 2015-02-15 22:02:38 +01:00
Daniel Berteaud cfac2dc3e6 Make sure button content can fit 2015-02-15 21:59:18 +01:00
Daniel Berteaud f8b85793f3 Update jquery browser plugin
ALso include the non minified version
2015-02-15 21:55:23 +01:00
Daniel Berteaud 89baa452ab Disable screen sharing on mobile platform
As on Android devices (some at least) it seems to report it's available but do not work
2015-02-15 21:53:22 +01:00
Daniel Berteaud 17031d071c Update suspend cam button in overlay 2015-02-12 22:45:30 +01:00
Daniel Berteaud 79ff17c2a8 Fix toolbar rendering on XS screens
Fix #89
2015-02-12 22:32:35 +01:00
Daniel Berteaud ef08fa7b59 Use capabilities to detect feature
And allow Firefox to use screen sharing
2015-02-12 19:08:20 +01:00
Daniel Berteaud 6415c2e9a6 Update to current SimpleWebRTC 2015-02-12 18:47:08 +01:00
Daniel Berteaud 3c54b6744f Update etherpad.js to current version 2015-02-12 18:34:47 +01:00
Daniel Berteaud cabf32d255 Split etherpad URI into host and baseUrl
So it works in recent FF instead of trying to speak to SignalMaster SocketIO server
2015-02-12 18:23:26 +01:00
Daniel Berteaud 0c86948739 Hide password inputs in the admin area 2015-02-11 19:09:09 +01:00
Daniel Berteaud ee5d96debe Remove useless animation 2015-02-11 19:06:05 +01:00
Daniel Berteaud 21891bf634 Use Short Stack font 2015-02-05 22:43:00 +01:00
Daniel Berteaud 6deb8841af Consolidate api error handling in a function 2015-02-05 21:46:02 +01:00
Daniel Berteaud a8b75f01bd Switch room creation to an API call 2015-02-05 21:28:20 +01:00
Daniel Berteaud 8f3243a075 Last HTTP codes handling on client side 2015-02-05 19:05:18 +01:00
Daniel Berteaud ff1cda4d4b HTTP codes in delete_room API call 2015-02-05 19:00:13 +01:00
Daniel Berteaud 1a6722f7b8 HTTP codes in get_pad_session API call 2015-02-05 18:54:54 +01:00
Daniel Berteaud f78f368f23 HTTP codes in wipe_data API call 2015-02-05 18:51:30 +01:00
Daniel Berteaud 5645ff14c7 HTTP codes in promote_peer API call 2015-02-05 18:48:24 +01:00
Daniel Berteaud 642ebd1afc HTTP codes for get_peer_role API call 2015-02-04 23:27:30 +01:00
Daniel Berteaud f57cc57bb1 HTTP codes for get_room_info API call 2015-02-04 23:23:11 +01:00
Daniel Berteaud 6e93589a75 Hide password fields after authentication 2015-02-04 23:20:14 +01:00
Daniel Berteaud 34cf709893 More HTTP codes fixes 2015-02-04 23:17:28 +01:00
Daniel Berteaud fd9dcd006b HTTP codes in update_room_conf API call 2015-02-04 23:04:04 +01:00
Daniel Berteaud d50c3b385a HTTP codes for switch_lang 2015-02-04 22:46:07 +01:00
Daniel Berteaud 2ebe33060b HTTP codes for room creation 2015-02-04 22:44:16 +01:00
Daniel Berteaud d4db36765a Start using sane HTTP codes in the API 2015-02-04 22:36:28 +01:00
Daniel Berteaud 4e492de55a Fix email input field handling 2015-02-04 21:58:55 +01:00
Daniel Berteaud 5d4ef19df2 Reset the invitation form after submit
Only if it succeed
2015-02-04 21:36:10 +01:00
Daniel Berteaud e089583745 Fix circular ref on Chrome when submitting room conf form 2015-02-04 17:16:55 +01:00
Daniel Berteaud dfda2f03f4 Allow several email addresses for invitations 2015-02-04 16:36:11 +01:00
Daniel Berteaud 428f7599dd Small animations when adding/removing email fields 2015-02-03 22:01:38 +01:00
Daniel Berteaud a30d341404 Remove unused JS function 2015-02-01 23:11:17 +01:00
Daniel Berteaud 5e82b9c529 Manage room persistence in admin area 2015-02-01 22:34:01 +01:00
Daniel Berteaud 244bafe336 Display create date and last activity in admin area 2015-02-01 22:02:12 +01:00
Daniel Berteaud 8c6d66bd19 Respect filter input when loading the initial room list 2015-01-29 22:32:21 +01:00
Daniel Berteaud 610c486484 Allow empty email address field 2015-01-29 22:22:21 +01:00
Daniel Berteaud 1fc3091aab Enable client side pagination in the admin area 2015-01-29 22:19:43 +01:00
Daniel Berteaud 7cd78ebbc9 Import and load bootpag 2015-01-29 22:08:48 +01:00
Daniel Berteaud 895f7a42b8 Enable search filter in the admin area 2015-01-29 22:05:44 +01:00
Daniel Berteaud 7c80ca3358 Implement room removal in the admin area 2015-01-29 21:59:30 +01:00
Daniel Berteaud 22cd6c3e3d Add validation for email notifications before submit 2015-01-23 18:27:55 +01:00
Daniel Berteaud 333fcd8a0f Make sure email + and - buttons are always correct 2015-01-23 18:02:38 +01:00
Daniel Berteaud 22b1d69802 Handle configuration changes in the new admin page 2015-01-23 17:47:17 +01:00
Daniel Berteaud 8fa6fad617 Move passwords hide/unhide code to the global scope
So it's also available from the admin interface
2015-01-23 16:34:37 +01:00
Daniel Berteaud dc0443d32c Handle email notifications on the admin interface 2015-01-23 13:29:11 +01:00
Daniel Berteaud 7d98c994c9 More fixes for the admin interface
Make a new get_room_conf API call which does more or less the same as get_room_info but without trying to get our role
2015-01-23 13:24:50 +01:00
Daniel Berteaud e94b6cd955 Only trigger tooltip on hover
Not on focus
2015-01-22 22:20:08 +01:00
Daniel Berteaud 222f77d5ff Some fundamental fixes for the admin interface
Now rooms get listed and displayed on the page, but a lot is still missing
- Pagination
- Filter as you type
- Action on utton press (only join which is a simple a href works)
- Bypass password when joining a room through the admin page (push in the room_partitipant table)
- Probably more
2015-01-22 22:10:07 +01:00
Daniel Berteaud 944f121ae4 Start rewriting the admin area (WIP, not working yet) 2015-01-22 19:04:51 +01:00
Daniel Berteaud a0b4362608 Hide overlays on XS screens
Also force hide tooltip when opening a modal dialog to prevent the tooltip being displayed over the modal
2015-01-22 18:33:46 +01:00
Daniel Berteaud 2013c85c28 Completly remove screen share button if not supported
and move the MOH button in its own btn-group
2015-01-22 18:07:01 +01:00
Daniel Berteaud 9b468b55a0 Add the non minified version of notifyjs 2015-01-22 17:13:25 +01:00
Daniel Berteaud 9c2f2e3d89 Update bootstrap-switch to 3.3.1 2015-01-22 17:10:01 +01:00
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