Commit Graph

977 Commits

Author SHA1 Message Date
Anton Georgiev
cdf1ee0729 add a request/reply for stun/turn info 2016-02-17 18:36:17 +00:00
Ghaz Triki
b08ebb308a Fixe the case where the breakout room document conversion is triggered before the actor is brought to life. 2016-02-16 17:45:42 +01:00
jfederico
932f66e47b bigbluebutton-web: Prevented apiController to crash if in a getRecordings request the metadata.xml fiel doesn't exist 2016-02-12 12:48:26 -05:00
jfederico
3bb127ed88 bigbluebutton-web: Validated nulls and empty strings in new template for getRecordings 2016-02-12 12:07:20 -05:00
jfederico
f92200c692 bigbluebutton-web: On changeState, create the directory named by the pathname, including any necessary but nonexistent parent directories. 2016-02-08 16:59:38 -05:00
jfederico
c40f499b94 bigbluebutton-web: Closed DirectoryStream after the directory is processed 2016-02-08 16:48:40 -05:00
Richard Alam
40ba49113e - fix issue 2812 by setting end time when last user leaves 2016-02-04 22:40:06 +00:00
Richard Alam
c31857b9da Merge pull request #3001 from bigbluebutton/getRecordings-merged-enhancements
Get recordings merged enhancements
2016-02-04 17:01:03 -05:00
Richard Alam
1e0be140a2 Change API version to 1.0 2016-02-04 14:43:59 -05:00
jfederico
84e4221c47 bigbluebutton-web: Extended filterRecordingsByMetadata in order to support wildcards 2016-02-01 15:08:51 -05:00
jfederico
f6453e3bc4 bigbluebutton-web: Removed methods not used after refactoring 2016-02-01 10:22:17 -05:00
jfederico
ab6db94d9a bigbluebutton-web: Refactoring some methods in RecordingService for reducing duplication 2016-01-29 18:32:39 -05:00
jfederico
f23158ccd7 bigbluebutton-web: Fixed issue with recordings not publishing/unpublishing 2016-01-29 13:36:24 -05:00
jfederico
87eee3746f bigbluebutton-web: Added state to the new xml template 2016-01-29 11:03:07 -05:00
jfederico
e12d3fa639 Cleaned up ApiController after merge 2016-01-29 10:24:30 -05:00
jfederico
440bc6ece7 Cleaned up merge conflicts in RecordingService.java 2016-01-28 16:59:16 -05:00
jfederico
e1e3aa6055 Merge branch 'pedrobmarin-getRecordings' into jfederico-getRecordings
# Conflicts:
#	bigbluebutton-web/grails-app/controllers/org/bigbluebutton/web/controllers/ApiController.groovy
#	bigbluebutton-web/src/java/org/bigbluebutton/api/RecordingService.java
2016-01-28 15:36:19 -05:00
jfederico
de1ee8575d Reformatted files in conflict 2016-01-28 14:03:57 -05:00
jfederico
2f3bd5b3ce Reformatted files with conflicts 2016-01-28 13:58:05 -05:00
Jesus Federico
a0702903eb Merge branch 'master' of github.com:bigbluebutton/bigbluebutton 2016-01-28 09:06:53 -08:00
jfederico
9941668094 Updated .gitignore and removed config files specific for eclipse from bigbluebutton-web 2016-01-28 12:05:13 -05:00
jfederico
a0c2e337cd bigbluebutton-web: Changed approach for filtering states/recordIDs. the query is now based on recordID and state parameters instead of filter 2016-01-28 11:45:12 -05:00
Pedro Beschorner Marin
23f9d226cc Removed identation whitespaces of get-recordings XML when building it. 2016-01-27 18:00:49 +00:00
Ghazi Triki
8b503b3676 Fixed variable name in getMeetingInfo API method. 2016-01-27 18:38:40 +01:00
Ghazi Triki
62a721b310 Update gson library version to 2.5 for all server projects. 2016-01-27 16:44:22 +01:00
Pedro Beschorner Marin
5e79f26709 Added CDATA fields to FreeMarker template 2016-01-27 14:52:22 +00:00
Pedro Beschorner Marin
3cb59b8951 FreeMarker template in a separated file 2016-01-27 14:27:06 +00:00
Ghazi Triki
0385d05001 Merge branch 'master' into breakout-rooms-porto-algre-2015
# Conflicts:
#	akka-bbb-apps/build.sbt
#	akka-bbb-apps/src/main/scala/org/bigbluebutton/SystemConfiguration.scala
#	akka-bbb-fsesl/build.sbt
#	bbb-common-message/build.sbt
#	bigbluebutton-apps/build.gradle
#	bigbluebutton-apps/src/main/java/org/bigbluebutton/red5/client/UserClientMessageSender.java
#	bigbluebutton-client/src/org/bigbluebutton/main/model/users/Conference.as
#	bigbluebutton-client/src/org/bigbluebutton/modules/users/services/MessageReceiver.as
2016-01-27 14:16:05 +01:00
jfederico
7ef3e62940 bigbluebutton-web: The statuses processing and processed can be returned by getRecordings 2016-01-26 17:17:28 -05:00
Pedro Beschorner Marin
6307b47ba8 Creating getRecordings XML response with FreeMarker 2016-01-26 18:59:36 +00:00
Ghazi Triki
afcc925380 Added missing message EndBreakoutRoom 2016-01-25 16:59:06 +01:00
Felipe Cecagno
e5b5669663 try to speedup getrecordings, could reduce from 35s to 25s, but it's still not enough; need to better understand where's the bottleneck 2016-01-25 14:49:33 +00:00
Ghazi Triki
4f30127003 Ending a breakout room message goes to to bbb-web to be handled then send the response back to the client trgouh akka-apps and bbb-apps. 2016-01-23 18:44:50 +01:00
jfederico
2c214cafac bigbluebuttonbn-web: Implemented filter for recordIDs [id:eq:xxxx,yyyy,zzzz] 2016-01-22 18:16:47 -05:00
jfederico
6b911820e0 bigbluebutton-web: Added filter parameter to getRecordings for filtering queries based on the state of the recording [published|unpublished|deleted] 2016-01-22 11:38:33 -05:00
jfederico
3265709455 bigbluebutton-web: Extended getRecordings for making direct searches based on recordID(s) 2016-01-21 15:24:22 -05:00
Richard Alam
e7a46aa3cf - cleanup formatting 2016-01-21 17:31:25 +00:00
Richard Alam
0b898d0d29 - change how we process upload presentation. Before, an uploaded presentation consumes all of the
presentation conversion threads. If the presentation takes a lot of time and cpu to convert,
   other uploaded presentations gets queued up and cannot be processed in parallel.
2016-01-21 17:24:13 +00:00
jfederico
65a2b6d16c bigbluebutton-web: Implemented the new state [deleted] for recordings 2016-01-21 11:12:33 -05:00
jfederico
ca88c05dde bigbluebutton-web: corrected identation to RecordingService.java 2016-01-19 15:50:12 -05:00
jfederico
2abb0acbc1 bigbluebutton-web: Updated state when recording is published/unpublished 2016-01-19 15:39:10 -05:00
jfederico
91b0e54600 bigbluebutton-web: RecordingService process a new directory 'deleted' that represents a new state for processed recordings 2016-01-19 15:19:36 -05:00
jfederico
334d4e4beb bigbluebutton-web: Added state to xml responded by getRecordings 2016-01-19 15:16:45 -05:00
jfederico
67a70ccbc3 bigbluebutton-web: Reformatted code in apiController 2016-01-19 15:15:18 -05:00
jfederico
374982254e bigbluebutton-web: Modified Config.groovy to allow log messages from controllers and services to be shown 2016-01-19 15:02:39 -05:00
Ghazi Triki
73614b4013 Fixed issue by assigning a value to a non existing iSbreakout property to UserSession class. 2016-01-16 18:30:17 +01:00
jfederico
52b171584f bbb-web: Added WebXmlConfig.groovy in order to remove warning on plugins:webxml:1.4.1
https://grails.org/plugin/webxml
2016-01-14 16:33:16 -05:00
jfederico
e47c1895a8 bbb-web: Removed non used plugin (jquery) and updated the other plugins for eliminating WARNING messages 2016-01-14 16:05:25 -05:00
Ghazi Triki
b24ae090b0 Returning isBreakout conference state in join and enter API calls. 2016-01-14 17:15:36 +01:00
Ghazi Triki
827b74fe78 Fixed isBreakout parameter name when joining a breakout room. 2016-01-12 21:52:41 +01:00
Ghazi Triki
c0055c848f The API returns "isBreakout" value for "getMeetings" and "getMeetingInfo" methods. 2016-01-12 16:53:37 +01:00
Richard Alam
16499b3da1 Merge branch 'master' of github.com:bigbluebutton/bigbluebutton into merge-master-into-ghazi
Conflicts:
	akka-bbb-apps/src/main/scala/org/bigbluebutton/Boot.scala
	akka-bbb-apps/src/main/scala/org/bigbluebutton/core/BigBlueButtonActor.scala
	akka-bbb-apps/src/main/scala/org/bigbluebutton/core/BigBlueButtonInGW.scala
	akka-bbb-fsesl/build.sbt
	bigbluebutton-web/build.gradle
2016-01-07 22:58:04 +00:00
Ghazi Triki
e0dd7a174f Added missing Pdf2PngPageConverterHandler class. 2015-12-18 19:33:38 +01:00
Ghazi Triki
b51dbd94b5 Updated faulty PDF file conversion mechanism. Now, we go through the following process:
- Extract the PDF page to a single PDF file.
- Convert the PDF file to a PNG image.
- Conert the PNG image to a SWF file.
2015-12-17 20:47:05 +01:00
Ghazi Triki
3c236b2b6a Revert back pdf2swf conversion option to 'poly2bitmap' 2015-12-11 09:12:47 +01:00
Ghazi Triki
febc7ca9ea - Implemented a new logic for detecting heavy converted swf files from PDF, using obejct placements, text and bitmap count.
- pdf2swf conversion fallback to 'bitmap' instead of 'poly2bitmap' to garantee that file can be opened fast with flash player.
2015-12-10 19:58:21 +01:00
Ghazi Triki
b50badc886 Renamed "swfdump" to "swfdumpfx" to avoid any collision with any existing install of SWFTools or Flex SDK. 2015-11-26 21:58:14 +01:00
Ghazi Triki
1da0bfe503 Inject maxSwfShapes to SwfAnalyser class. 2015-11-26 21:35:51 +01:00
Ghazi Triki
57eda6e54b Improved issue detection in presentation generated SWF files. 2015-11-26 19:34:50 +01:00
Ghazi Triki
9d6f04ed16 Added SwfAnalyser to check the converted swf result. 2015-11-25 21:29:05 +01:00
Ghazi Triki
47f8a7c493 Fixed destination file command parameter for Pdf2Swf page conversion. 2015-11-24 17:01:47 +01:00
Ghazi Triki
98e966bef1 Fixed NuProcessBuilder use for the second command in Pdf2SwfPageConverter. 2015-11-24 16:52:21 +01:00
Ghazi Triki
ce31bdd369 Pdf2SwfPageConverter is now using NuProcess library instead of the native Java Process. 2015-11-24 16:47:24 +01:00
Ghazi Triki
6e9b95e347 BreakoutRoomStarted event finally arrives to the client. 2015-11-20 19:06:11 -02:00
Ghazi Triki
bc18e92601 fixed do not create a new internal meeting id for breakout rooms 2015-11-20 12:32:39 -02:00
Richard Alam
9e3f0fb2b6 - do not create a new internal meeting id for breakout rooms 2015-11-18 04:57:32 -05:00
Ghazi Triki
7989b897f3 Create breakout room and send the message to akka-bbb-apps 2015-11-19 16:54:06 -02:00
Ghazi Triki
5a6266e395 bbb-web sends back the breakout room created event to bbb-akka-apps 2015-11-19 12:33:00 -02:00
Ghazi Triki
b299e3fd50 Accept processing RequestBreakoutJoinURL message in akka-bbb-apps 2015-11-18 18:20:56 -02:00
Ghazi Triki
ef23cacefa Breakout room feature server updates. 2015-11-18 16:45:46 -02:00
Ghazi Triki
3c6586749f Updated gson library dependency to version 2.4 2015-11-18 14:35:32 -02:00
Ghazi Triki
b3951dc4af Added bin folder to bigbluebutton-web/.gitignore 2015-11-03 21:49:21 +01:00
Richard Alam
5c6ab0422e - fix compile issue 2015-11-03 20:14:40 +00:00
Richard Alam
b899eeebcf - distinguish breakout rooms in create meeting request 2015-10-22 19:36:20 +00:00
Richard Alam
cecbc46d1d - create breakout room in bbb-web 2015-10-22 17:13:53 +00:00
Richard Alam
c47272fd2c - refactor how default presentation is downloaded 2015-10-21 20:51:58 +00:00
Richard Alam
9c527be4f0 - fix json response 2015-10-21 18:30:25 +00:00
Richard Alam
a80a0562c5 - return json on create api call 2015-10-21 18:25:00 +00:00
Richard Alam
c9b4f7e9a0 Merge branch 'support-multiple-logins' into add-http-to-akka-apps
Conflicts:
	bigbluebutton-web/grails-app/controllers/org/bigbluebutton/web/controllers/PresentationController.groovy
2015-10-21 17:44:44 +00:00
Richard Alam
9d04103225 - start implementing create breakout room 2015-10-21 15:47:49 +00:00
Richard Alam
10f7f3f852 - play around with akka http 2015-10-20 15:43:41 +00:00
Richard Alam
14aabf9da6 - allow joining breakout room 2015-10-19 19:00:21 +00:00
Richard Alam
3db1299059 - start implementing breakout room messages
- use class to serialize/deserialize JSON
 - add test to message classes
2015-10-15 23:05:19 +00:00
Richard Alam
fa72b06500 Merge pull request #2826 from riadvice/presentation-upload-status
Presentation upload returns a 200 HTTP status.
2015-10-09 12:48:57 -04:00
Richard Alam
c995a7a587 Merge branch 'master' of https://github.com/bigbluebutton/bigbluebutton into support-multiple-logins 2015-10-08 14:34:02 +00:00
Richard Alam
d89a34209d - make presentation api use session 2015-10-07 21:44:01 +00:00
Ghazi Triki
3078f8ea40 Setting the correct number of builder analysed pages in sendFailedToCountPageMessage of paPdfToSwfSlidesGenerationService, the value should be is set from the CountingPageException not from UploadedPresentation. 2015-10-07 22:12:33 +01:00
Richard Alam
c5b5b11725 - check if user has sessionToken 2015-10-07 20:34:37 +00:00
Richard Alam
c182f85403 - use sessionToekn on signOut API call 2015-10-07 16:09:31 +00:00
Ghazi Triki
96aa42e5c2 Presentation upload returns a 200 HTTP status. 2015-10-07 14:17:04 +01:00
Richard Alam
bcfe18d0d9 - use sessionToken to get configxml 2015-10-06 22:18:56 +00:00
Richard Alam
7968273501 - pass sessionToken to get configXML from bbb-web 2015-10-06 21:08:01 +00:00
Richard Alam
e2533f1f0c - load config.xml first before doing anything else 2015-10-05 20:06:35 +00:00
Richard Alam
3918dd3238 - try to figure out when configXml gets loaded 2015-10-05 15:22:39 +00:00
Richard Alam
2f4eae512f - cleanup more logs 2015-09-23 21:01:53 +00:00
Richard Alam
a1a82f96d0 - remove printlns to cleanup logs 2015-09-23 20:11:06 +00:00
Richard Alam
a63a211143 - change poll config for jedis
- attempt to reconnect redis pubsub subscriber if disconnected
2015-08-23 07:09:00 -04:00
Richard Alam
0e2e79fce8 - change redis pool config
- reconnect to redis if connection to subscribe disconnected
2015-08-23 04:56:30 -04:00
Richard Alam
46ba98f737 - add ping/pong message between different components to verfiy that we have working path 2015-08-20 20:44:40 +00:00
Richard Alam
9570a9e765 - fix formatting 2015-08-11 19:24:27 +00:00
Richard Alam
f47344b134 - fix issue https://code.google.com/p/bigbluebutton/issues/detail?id=1966 2015-08-11 18:57:40 +00:00
Richard Alam
15a368f444 - remove some printlns to lessen noise 2015-08-07 21:37:16 +00:00
Richard Alam
3357529104 - update properties file 2015-08-07 19:48:27 +00:00
Richard Alam
839e7ebf58 Merge branch 'svg-conversion' of https://github.com/gthacoder/bigbluebutton into gthacoder-svg-conversion 2015-08-07 18:28:16 +00:00
Richard Alam
839473395a Merge branch 'master' of https://github.com/bigbluebutton/bigbluebutton into merge-leonardo-api-changes
Conflicts:
	akka-bbb-apps/src/main/scala/org/bigbluebutton/core/CollectorActor.scala
	bigbluebutton-web/src/java/org/bigbluebutton/api/messaging/MeetingMessageHandler.java
2015-08-07 15:06:40 +00:00
Richard Alam
00c5cac9c9 Merge pull request #632 from daronco/api-merges
API merges
2015-08-06 17:58:34 -04:00
Maxim Khlobystov
5c0cb9c3d8 Merge branch 'meteor-client-pdf-conversion' of https://github.com/gthacoder/bigbluebutton into development
Conflicts:
	akka-bbb-apps/src/main/scala/org/bigbluebutton/core/pubsub/senders/PesentationMessageToJsonConverter.scala
	bigbluebutton-apps/src/main/scala/org/bigbluebutton/core/BigBlueButtonInGW.scala
	bigbluebutton-apps/src/main/scala/org/bigbluebutton/core/apps/presentation/PresentationModel.scala
	bigbluebutton-apps/src/main/scala/org/bigbluebutton/core/apps/presentation/red5/PresentationClientMessageSender.scala
	bigbluebutton-apps/src/main/scala/org/bigbluebutton/core/apps/presentation/redis/PresentationEventRedisRecorder.scala
2015-08-06 16:21:31 -04:00
Richard Alam
5444c4fd62 - remove user sessions when a user calls the JOIN API but actually fails to join the meeting.
Not removing the user sessions results in OOM after a while.
2015-08-04 22:35:34 +00:00
Richard Alam
d140ca0b40 - add an api to let us query the user sessions in bbb-web. We use this to see what sessions are hanging around
that may be causing OOM exception on tomcat7
2015-08-04 17:58:27 +00:00
Richard Alam
514055cf14 - removing extensions element from getRecordings call. See if this is causing memory to hang around. 2015-07-23 21:27:06 +00:00
Maxim Khlobystov
5f491bf43b Cleaning up. 2015-07-15 16:58:15 -04:00
Maxim Khlobystov
b08f82542d Made HTML5 client handle presentations uploaded as a single image. 2015-07-13 19:00:46 -04:00
Maxim Khlobystov
ce17feef7d Set decent resolution for the SVG files. 2015-07-08 14:01:51 -04:00
Maxim Khlobystov
ceb3a3911c Made sure the image served for HTML5 client is in SVG format. 2015-07-07 12:19:05 -04:00
Maxim Khlobystov
cf1c6390be Made SVG images accessible by HTML5 client. 2015-07-06 14:26:13 -04:00
Maxim Khlobystov
16314d5edd Started generating SVG images for HTML5 client instead of PNG. 2015-07-03 12:20:37 -04:00
Richard Alam
60d01a450b Merge branch 'master' of https://github.com/bigbluebutton/bigbluebutton into cleanup-webcam-stream-in-bbb-video 2015-06-30 17:36:45 +00:00
Jesus Federico
9e51241b08 Added support for POST requests to getRecordings and getMeetings 2015-06-29 18:18:39 -04:00
Richard Alam
3e53b5ab08 Merge branch 'master' of https://github.com/bigbluebutton/bigbluebutton into merge-with-akka-fs-and-akk-apps 2015-06-09 19:38:46 +00:00
Jesus Federico
bb95ec52e8 Added null validation to the querystring in the checksum calculation 2015-06-08 10:23:56 -04:00
Richard Alam
e72a828628 - get users in voice conference when meeting is started 2015-06-05 21:57:26 +00:00
Richard Alam
70f725ef93 - add keep alive monitoring of bbb-apps 2015-06-05 19:49:36 +00:00
Calvin Walton
9deb87d0b0 web: check that meeting is running before allowing presentation upload 2015-05-27 15:08:04 -04:00
Leonardo Crauss Daronco
0e77a9c71b Replace "videoStreams" by "videoCount" on getMeetingInfo
Return only the total number of videos and whether a user has video or not
instead of returning the ID of each video stream available. Is now more
consistent with the response of getMeetings.
2015-05-07 10:00:07 -04:00
Leonardo Crauss Daronco
3f7f19fe6f Fix "cannot find symbol Date" on bbb-web 2015-05-05 12:55:21 -04:00
Leonardo Crauss Daronco
c93d936a44 Merge remote-tracking branch 'mconf/090-get-recordings-metadata-filter' into api-merges 2015-05-05 12:39:06 -04:00
Leonardo Crauss Daronco
6cf4dc4b1d Merge remote-tracking branch 'mconf/090-audio-video-on-api' into api-merges 2015-05-05 12:38:47 -04:00
Richard Alam
337f5f0934 - fix issue https://code.google.com/p/bigbluebutton/issues/detail?id=1917 2015-04-06 15:20:01 +00:00
Chad Pilkey
ec6dffea13 Merge pull request #589 from OZhurbenko/fix-issue-1889
Cleaninig
2015-03-25 17:36:24 -04:00
Oleksandr Zhurbenko
98bd277324 Cleaninig 2015-03-25 14:34:01 -07:00
Richard Alam
8bfdd5a5f7 Merge pull request #586 from OZhurbenko/fix-issue-1889
Fix issue 1889
2015-03-25 17:22:14 -04:00
Oleksandr Zhurbenko
f8a41a78d8 Cleaning and formatting 2015-03-25 14:12:38 -07:00
Oleksandr Zhurbenko
67ef6129c0 Trimming leading and trailing whitespace for the meetingId and fullname for both cases 2015-03-25 13:02:03 -07:00
Felipe Cecagno
71313059e0 Merge branch 'meeting-created-params' into meeting-created-params-master 2015-03-20 12:39:17 -03:00
Mateus Dalepiane
514f2b928d Adding information to create_meeting_request event [Bug #1429]
This information is necessary so bbb-apps can send with the
meeting_created_message event
2015-03-20 12:32:43 -03:00
Oleksandr Zhurbenko
5a167f362c Fixed issue 1889, added checking for an empty username and removing trailing and leading whitespaces 2015-03-19 16:51:56 -07:00
Richard Alam
e1d66c9e15 - fix https://code.google.com/p/bigbluebutton/issues/detail?id=1898 2015-03-18 17:51:40 +00:00
Fred Dixon
c4bfaa7c5b Merge pull request #546 from kepstin/stun-turn-js
Fix timestamp calculation generating turn server credentials
2015-03-05 16:45:40 -05:00
Calvin Walton
0a6d03ca79 TURN: The timestamp is actually the expiry time
Make sure to add the TTL to the current time, so the generated expiry
time is in the future.
2015-03-05 16:27:30 -05:00
Calvin Walton
dfa9fd00e2 TURN server password: Use second-based timestamps
The expiration timestamp should be a standard unix timestamp measured in
seconds, not the millisecond-based Java time.
2015-03-05 16:21:46 -05:00
Anton Georgiev
a035e9bc5a fix some log strings
Conflicts:
	bigbluebutton-web/src/java/org/bigbluebutton/api/MeetingService.java
2015-02-19 19:53:19 +00:00
Calvin Walton
1af70d8e4e Use configured stun/turn servers when making webrtc call 2015-02-17 12:00:04 -05:00
Richard Alam
96e8fde865 - change format of logs to add timezone 2015-02-09 18:40:31 +00:00
Richard Alam
24b9c5c525 - store stun and turn servers in client 2015-02-06 21:05:12 +00:00
Richard Alam
cdc6daced8 - add support for configuring stun and turn servers
- add new /stuns api to be called by the Flash client
2015-02-06 19:46:56 +00:00
Richard Alam
05ea33b261 - append connection number to userid. This allows us to track the connection for a user and clean
up properly the users list when the user gets disconnected. Also, it allows us to track how many
   times a user gets disconnected in the meeting.
2015-01-26 15:31:12 +00:00
Richard Alam
71a2ca9443 - add connection number to userid so we are able to match the user with connection attempts 2015-01-23 20:02:40 +00:00
Richard Alam
ee7731626b - try to format logging 2015-01-23 19:59:26 +00:00
Felipe Cecagno
1ea57596d0 Merge branch '090-audio-video-on-api' into HEAD 2015-01-23 15:05:18 -02:00
Anton Georgiev
b0ccef5af0 Added config pngImagesRequired. If true, the slides will be converted to png for HTML5 client. False by default. 2015-01-09 16:14:05 +00:00