Commit Graph
17 Commits
Author SHA1 Message Date
Leonardo Crauss Daronco b6cb7add17 Reuse variable in landing.js 2017-01-11 15:02:09 -02:00
Leonardo Crauss Daronco b8c4ffe80b Don't ask for a name in the landing page, redir to the room/meeting
Instead of asking the user for a name in the landing page, it just
redirects to the room/meeting page, where the user is asked to enter a
name. If the user is signed in, no redirect is necessary and the user's
name is used automatically.
2017-01-11 14:55:39 -02:00
Leonardo Crauss Daronco 78abef12af Fix missing 'smtp_from' variable when notifications are turned off
Application would break in production because Rails.config.smtp_from
was not set if GREENLIGHT_MAIL_NOTIFICATIONS was false.
2017-01-06 17:45:29 -02:00
Leonardo Crauss Daronco 219ea625e0 Use a different banner image for personal rooms 2016-12-09 15:43:38 -02:00
Leonardo Crauss Daronco 87bccb1204 Require browser notification permissions only when the user signs in
The only notification right now is for signed in users that are viewing
their room's page, so request permission only in this case.
2016-12-09 15:18:41 -02:00
Leonardo Crauss Daronco bf7d087f45 Show a browser notification when a user is waiting to join a room
The owner of a room receives a browser notification if he has the page open
and another person tries to join his room.
2016-12-09 13:52:53 -02:00
Leonardo Crauss Daronco 6726504ec3 Add timeago js library to show in the start_time of recordings 2016-12-09 11:50:09 -02:00
Leonardo Crauss Daronco 04ae45e4f4 Use 'unpublished' instead of 'inaccessible' 2016-12-09 10:26:28 -02:00
Leonardo Crauss Daronco f763d8394e Add flag to enable/disable mail notifications 2016-12-08 18:55:41 -02:00
Leonardo Crauss Daronco e94f3d7a10 Send an email to the user when a recording is done processing
Had to add an email attribute to users to store their email to send the
notification. Will only send it for user rooms since they are the only
ones we know who to notify.
2016-12-08 18:33:19 -02:00
Leonardo Crauss Daronco 09c30bb5bd Add flag to use webhooks and API call to register a hook
It almost works with webhooks now. Still TODO is:
* Remove the hook after the recording is published
* To process the publish_ended event from the webhooks either the webhook
  needs to include the metadata (currently it doesn't) or GreenLight has
  find out the meeting token without reading it from the metadata.
2016-12-08 14:01:57 -02:00
Leonardo Crauss Daronco 906b21ab0e Fix clicking buttons inside popovers
They would work only occasionally because of the way bootstrap handles
popovers with trigger:focus.
Had to change to trigger:click and manually close the popovers when
clicking outside of them or in buttons marked to close popovers.
2016-12-07 18:38:53 -02:00
Leonardo Crauss Daronco 03e9646502 Add an example of a post publish script to send data to greenlight 2016-12-07 16:32:59 -02:00
Leonardo Crauss Daronco e5efb05a01 Add endpoint to detect new recordings and update the interface
The endpoint receives events from BigBlueButton via webhooks or scripts
in the record and playback workflow.
For now it only treats the event for when a recording is ready.
When it happens, it uses action cable to update the interface dynamically
with the new recording.
2016-12-07 16:20:10 -02:00
Leonardo Crauss Daronco b518458622 Allow recordings to be 'unlisted'
Unlisted is a state between published and unpublished. They are still
published in the server, but will not appear to anyone other than the
user that created the recording.
It is done using a metadata attribute and required several changes in how
the application handles publishing and unpublishing.
2016-12-06 12:03:53 -02:00
Leonardo Crauss Daronco 40cbc8a575 Move the refresh button to be inside the meeting URL input
Less buttons, better interface.
2016-12-05 16:51:13 -02:00
Leonardo Crauss Daronco 45e173d132 Add a button with a "mailto:" link to send invitations 2016-12-05 16:32:03 -02:00