changeset 595:51287eec8dcf

bbb: current url added to meeting setup
author Reimar Bauer <rb.proj AT googlemail DOT com>
date Wed, 13 Jun 2012 08:37:58 +0200
parents ddd078c4ee7a
children 84ef153f8363
files data/plugin/action/submit_bbb_create_meeting.py data/plugin/parser/bbb_create.py
diffstat 2 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/data/plugin/action/submit_bbb_create_meeting.py	Mon Jun 11 16:21:57 2012 +0200
+++ b/data/plugin/action/submit_bbb_create_meeting.py	Wed Jun 13 08:37:58 2012 +0200
@@ -54,12 +54,14 @@
             Page(request, pagename).send_page()
             return
 
+        url = "%s/%s" % (request.getQualifiedURL(), pagename)
         session = Meeting_Setup(bbb_api_url=bbb_settings.BBB_API_URL,
                                 salt=bbb_settings.SALT,
                                 meeting_name=request.form["meeting_name"],
                                 meeting_id=request.form["meeting_id"],
                                 attendee_password=attendee_password,
                                 moderator_password=moderator_password,
+                                logout_url=url,
                                )
         session.create_meeting()
 
--- a/data/plugin/parser/bbb_create.py	Mon Jun 11 16:21:57 2012 +0200
+++ b/data/plugin/parser/bbb_create.py	Wed Jun 13 08:37:58 2012 +0200
@@ -70,12 +70,14 @@
 
         if request.user.valid and username in bbb_admin_group:
             recreate = True
+            url = "%s/%s" % (request.getQualifiedURL(), pagename)
             msg = "(!) Meeting started :) "
             try:
                 session = Meeting_Setup(bbb_api_url=bbb_settings.BBB_API_URL, salt=bbb_settings.SALT,
                                     meeting_name=content["meeting_name"], meeting_id=meeting_id,
                                     attendee_password=attendee_password,
                                     moderator_password=moderator_password,
+                                    logout_url=url,
                                     )
                 try:
                     session.create_meeting()