Commit Graph

8076 Commits

Author SHA1 Message Date
Leonardo Crauss Daronco
b568560df4 Webhooks: any 2xx status should be taken as successful 2014-11-24 13:01:13 -02:00
Leonardo Crauss Daronco
9366bd766b Move labs/bbb-callback to labs/bbb-webhooks 2014-11-24 12:56:04 -02:00
Leonardo Crauss Daronco
feaf75901e Webhooks: add a post catcher application for testing 2014-11-14 17:55:44 -02:00
Leonardo Crauss Daronco
7efb3a18ab Webhooks: trigger callbacks for recording events too 2014-11-14 16:53:46 -02:00
Leonardo Crauss Daronco
81f5a109b6 Merge remote-tracking branch 'upstream/master' into webhooks-2.0 2014-11-14 14:28:35 -02:00
Leonardo Crauss Daronco
8fc251c55b Webhooks: follow redirects on callback calls, up to 10 times 2014-11-14 14:26:29 -02:00
Leonardo Crauss Daronco
536decff7c Webhooks: use winston for logging and rotate log files 2014-11-14 14:12:37 -02:00
Chad Pilkey
d79654a3fe Merge pull request #432 from ritzalam/upgrade-to-red5-nov-4-2014
Upgrade to latest Red5 (e1da8d0ccaa06a461f2e0674603de17ae0b03f1a)
2014-11-14 10:53:37 -05:00
Calvin Walton
213dc07c19 Merge pull request #428 from mconf/rap-publish-events
Rap publish events
2014-11-14 12:08:44 -02:00
Leonardo Crauss Daronco
6260f26101 Webhooks: adjustments for the app when running in production 2014-11-14 11:58:12 -02:00
Leonardo Crauss Daronco
31666bc7fb Webhooks: add config files for upstart and monit 2014-11-14 11:23:04 -02:00
Leonardo Crauss Daronco
592a2f92dd Webhooks: add an extra app to print events from a meeting
Utility app to help a user find out the events that happen in a meeting.
2014-11-14 11:07:16 -02:00
Leonardo Crauss Daronco
329a1ff959 Webhooks: local config, docs and improve how the checksum is calculated
The way the checksum is calculated now is more similar to the other API calls,
specially setConfigXML. It uses the content type 'application/x-www-form-urlencoded'
so the information in the post body doesn't have to be converted from/to
js/string, preventing possible checksum errors in different programming
languages.
2014-11-14 11:05:20 -02:00
Richard Alam
ee4e5f1a47 Merge branch 'master' into upgrade-to-red5-nov-4-2014 2014-11-14 03:49:14 -08:00
Felipe Cecagno
1c143c74a1 refactored rap-worker so variable names make more sense than before 2014-11-13 23:10:22 -02:00
Fred Dixon
9c0f91a560 Merge pull request #431 from kepstin/recording-updates
Delete the 'slides' processing scripts
2014-11-13 12:21:52 -02:00
Leonardo Crauss Daronco
6dbcf1bab2 Webhooks: rename MeetingIDMap to IDMapping 2014-11-13 12:15:20 -02:00
Leonardo Crauss Daronco
14641d1a3b Webhooks: expire mappings for inactive meetings
If a meeting has no events for too long (24 hours), remove the meeting
mapping to prevent too much data from being stored forever on redis.
2014-11-13 12:03:42 -02:00
Calvin Walton
3e8019f5a0 Delete the 'slides' processing scripts
The slides processing scripts have never been updated for 0.9.0 events,
and probably never will be. They're still using older video/audio
processing apis that have poor sync, too. Just remove them.

The playback support files will still be installed, to allow recordings
from old BigBlueButton servers to be copied to a 0.9.0 server.
2014-11-13 11:15:43 -02:00
Richard Alam
4e6208b0cd Merge pull request #420 from SenecaCDOT-BigBlueButton/add-layout-translation
Add layout translation
2014-11-13 07:09:31 -05:00
Fred Dixon
49e553d160 Merge pull request #429 from ffdixon/check-updates
Added support for client system check in bbb-conf
2014-11-12 19:02:45 -02:00
Fred Dixon
2f238d0e5e Added support for client system check in bbb-conf
bbb-conf now
  - prints out the host in /var/www/bigbluebutton/check/config.xml
  - updates above config.xml with sudo bbb-conf --setip
2014-11-12 16:00:21 -05:00
Leonardo Crauss Daronco
66bfbeb1bc Webhooks: use external meeting ID as key in the mappings
It changes less than the internal meeting ID. An application can subscribe
to an external ID and use the hook for several different meetings that will
have the same external ID but different internal IDs.
2014-11-12 18:27:21 -02:00
Chad Pilkey
f78b234d0a Updated defaultLayout to match the localized key 2014-11-12 15:17:16 -05:00
Leonardo Crauss Daronco
5e141d324c Webhooks: better intervals for retying failed callbacks
Will try again a number of times for about 5min and then give up. On giving
up, the hook is removed.
And a few fixes for saving and loading data on redis.
2014-11-12 18:07:29 -02:00
Felipe Cecagno
0cefee5534 now the rap scripts publish to redis pubsub (channel bigbluebutton:from-rap) when a rap phase begins and ends - it includes archive, sanity, post_archive, process, post_process, publish and post_publish; if there's more than one workflow, it should work without any modification 2014-11-12 17:28:33 -02:00
Felipe Cecagno
f52a0299a6 fixed the deploy script used to deploy the rap dev environment 2014-11-12 17:21:54 -02:00
Felipe Cecagno
b451b4cf84 removed god code on the record scripts 2014-11-12 17:20:10 -02:00
Richard Alam
a3527a1387 Merge branch 'master' into upgrade-to-red5-nov-4-2014 2014-11-12 10:59:22 -08:00
Richard Alam
c30604bb3f Merge branch 'investigate-ping-pong-timers' into upgrade-to-red5-nov-4-2014 2014-11-12 10:59:12 -08:00
Fred Dixon
cc35627f1c Merge pull request #427 from ffdixon/check-updates
Fixed typo in check.nginx
2014-11-12 16:45:30 -02:00
Fred Dixon
31f7f194ec Fixed typo in check.nginx 2014-11-12 13:39:38 -05:00
Leonardo Crauss Daronco
6d63f2f299 Webhooks: persist data to redis
Save hooks and meetingID mappings to redis and get them back when the
application starts.
Still missing a way to remove old data in case the app loses events (e.g.
a hook for a specific meeting might stay on redis forever if the app
lost the meeting_destroyed event).
2014-11-12 16:35:25 -02:00
Fred Dixon
9cdc47d16d Merge pull request #426 from kepstin/recording-updates-2
Load bigbluebutton.yml from current path
2014-11-12 16:30:34 -02:00
Calvin Walton
30fdd13af8 Load bigbluebutton.yml from current path 2014-11-12 16:25:52 -02:00
Fred Dixon
cbcb6d30dc Merge pull request #425 from ffdixon/check-updates
Updated ActionScript files with LGPL License
2014-11-12 16:16:48 -02:00
Fred Dixon
e77efdd192 Updated ActionScript files with LGPL License 2014-11-12 13:14:25 -05:00
Fred Dixon
48b9c5a01d Merge pull request #403 from kepstin/recording-updates-2
Version the playback files for the presentation recording format
2014-11-12 16:02:13 -02:00
Calvin Walton
98efa28316 Add a script to handle updating links in existing recordings
This adds the version number to the playback links so that
recordings select the correct version-specific playback support
files.

This script may be run automatically during upgrade; in that
case it should be run like

.../bbb-0.9-beta-recording-update --quiet

After copying recordings from an old BigBlueButton server, you
may want to manually re-run the script, and it takes the option
--force to recheck all recordings even if it has previously been
run.
2014-11-12 15:54:45 -02:00
Leonardo Crauss Daronco
bfdae8f204 Webhooks: store meeting ID mappings in a global model 2014-11-12 13:07:54 -02:00
Fred Dixon
f625115091 Merge pull request #424 from ffdixon/check-updates
Moved from labs subdirectory to main level of BigBlueButton repository; reformatted check.nginx
2014-11-12 12:34:54 -02:00
Fred Dixon
e84a65d986 Moved from labs; reformatted check.nginx 2014-11-12 09:22:50 -05:00
Fred Dixon
fd06539c43 Merge pull request #423 from kepstin/recording-updates
Add delay before recording archiving to workaround Red5 race
2014-11-12 12:18:32 -02:00
Leonardo Crauss Daronco
fd90a46563 Webhooks: implement the API method to list available hooks 2014-11-12 11:38:00 -02:00
Leonardo Crauss Daronco
79609fadb2 Webhooks: use more "hook" and less "subscription" for consistency
It now creates and destroys hooks instead of creating and removing
subscriptions.
2014-11-12 11:28:49 -02:00
Calvin Walton
961898c1e9 Add delay before recording archiving to workaround Red5 race
Right now there is a possibility that the rap-worker process might
see the recording.done file (written by bbb-web) prior to Red5 having
completed writing the video files to disk.

This happens most often when a meeting end api request is sent while a
webcam is visible.

Add a delay (currently 2 minutes) before the archive scripts are run
to work around the issue. Real fix is far more complicated...
2014-11-12 11:13:57 -02:00
Fred Dixon
79f4ffb7f8 Merge pull request #422 from mconf/improving-client-checks
Improved client checks -- looks good Felipe.
2014-11-12 11:04:30 -02:00
Felipe Cecagno
739287bce0 added a nginx config file so anybody can run the client check from a dev environment 2014-11-12 10:54:38 -02:00
Felipe Cecagno
9a8e299648 changed the client check output dir from bin-release/ to check/ 2014-11-12 10:54:13 -02:00
Leonardo Crauss Daronco
c25082bafa Wehbooks: hooks can now subscribe to a single meeting
Hooks can be global, to receive events from all meetings, or can receive
events for a single meeting. Depends on whether the meetingID parameter is
informed or not in the hooks/subscribe API call.

Also improved the log messages a bit.
2014-11-12 10:53:49 -02:00