Reviewed:  https://reviews.mahara.org/9531
Committed: 
https://git.mahara.org/mahara/mahara/commit/57d18251f1731df1696d6d437e16708598178974
Submitter: Cecilia Vela Gurovic ([email protected])
Branch:    17.10_STABLE

commit 57d18251f1731df1696d6d437e16708598178974
Author: Robert Lyon <[email protected]>
Date:   Wed Jan 30 12:56:21 2019 +1300

Bug 1811284: Allow mathslate to work in https sites

Currently the template file for this has hardcoded http urls
We need to use a different template if the mahara site is https://

behatnotneeded

Change-Id: I6fbdf769efcbbafdf68af8b075573ba14ea16f43
Signed-off-by: Robert Lyon <[email protected]>
(cherry picked from commit b8b97d1e19ddf7e912bdda9b6013854cead07f00)

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contributors -- please ask 
on #mahara-dev or mahara.org forum before editing or unsubscribing it!
https://bugs.launchpad.net/bugs/1811284

Title:
  Equation editor will not load in HTTPS

Status in Mahara:
  Fix Committed
Status in Mahara 17.10 series:
  Fix Committed
Status in Mahara 18.04 series:
  Fix Committed
Status in Mahara 18.10 series:
  Fix Committed
Status in Mahara 19.04 series:
  Fix Committed

Bug description:
  Opening the TinyMCE equation editor in 18.10.0 does not display.
  Console (Google Chrome) displays:

  Mixed Content: The page at 
'https://mahara.fsd38.ab.ca/artefact/artefact.php?view=14436&artefact=66008' 
was loaded over HTTPS, but requested an insecure script 
'http://yui.yahooapis.com/3.14.1/build/yui/yui-min.js'. This request has been 
blocked; the content must be served over HTTPS.
  mathslate.html:14 Mixed Content: The page at 
'https://mahara.fsd38.ab.ca/artefact/artefact.php?view=14436&artefact=66008' 
was loaded over HTTPS, but requested an insecure stylesheet 
'http://./styles.css'. This request has been blocked; the content must be 
served over HTTPS.
  mathslate.html:17 Uncaught ReferenceError: YUI is not defined
      at mathslate.html:17
  moodle-tinymce_mathslate-snippeteditor-debug.js:1 Uncaught ReferenceError: 
YUI is not defined
      at moodle-tinymce_mathslate-snippeteditor-debug.js:1
  moodle-tinymce_mathslate-mathjaxeditor-debug.js:1 Uncaught ReferenceError: 
YUI is not defined
      at moodle-tinymce_mathslate-mathjaxeditor-debug.js:1
  moodle-tinymce_mathslate-editor-debug.js:1 Uncaught ReferenceError: YUI is 
not defined
      at moodle-tinymce_mathslate-editor-debug.js:1
  moodle-tinymce_mathslate-textool-debug.js:1 Uncaught ReferenceError: YUI is 
not defined
      at moodle-tinymce_mathslate-textool-debug.js:1
  mathslate.html:42 Uncaught ReferenceError: YUI is not defined
      at mathslate.html:42
  mathslate.html:1 Mixed Content: The page at 
'https://mahara.fsd38.ab.ca/artefact/artefact.php?view=14436&artefact=66008' 
was loaded over HTTPS, but requested an insecure stylesheet 
'http://./styles.css'. This request has been blocked; the content must be 
served over HTTPS.

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1811284/+subscriptions

_______________________________________________
Mailing list: https://launchpad.net/~mahara-contributors
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~mahara-contributors
More help   : https://help.launchpad.net/ListHelp

Reply via email to