'self',data:https://school.the5stars.org
Ali
On 7/17/21 7:25 PM, Maxim Solodovnik wrote:
On Sat, 17 Jul 2021 at 23:22, Ali Alhaidary
<ali.alhaid...@the5stars.org <mailto:ali.alhaid...@the5stars.org>> wrote:
So I should remove ''self',data:' and put
'https://school.the5stars.org <https://school.the5stars.org>' instead
no just add url at the end
more info here
https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Security-Policy/img-src
<https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Security-Policy/img-src>
Yes, this was the setting I was looking for
So many thanks
Ali
On 7/17/21 7:16 PM, Maxim Solodovnik wrote:
Answering to the list :))
Ok
I was able to see this error in JS console (Chrome Ubuntu)
Refused to load the image
'https://school.the5stars.org/class/pluginfile.php/2648/user/icon/f1
<https://school.the5stars.org/class/pluginfile.php/2648/user/icon/f1>'
because it violates the following Content Security Policy
directive: "img-src 'self' 'self' data:
https://www.google-analytics.com <https://www.google-analytics.com>".
As I wrote before: this is CORS
you need to go to Admin->Config
and add https://school.the5stars.org
<https://school.the5stars.org> to *header.csp.image*
On Sat, 17 Jul 2021 at 19:00, Ali Alhaidary
<ali.alhaid...@the5stars.org
<mailto:ali.alhaid...@the5stars.org>> wrote:
FF on Linux 20.04
Ali
On 7/17/21 2:54 PM, Maxim Solodovnik wrote:
What browser is this?
Afaik chome displays "content blocked" messages on some sort
of security tab
from mobile (sorry for typos ;)
On Sat, Jul 17, 2021, 18:47 Ali Alhaidary
<ali.alhaid...@the5stars.org
<mailto:ali.alhaid...@the5stars.org>> wrote:
WebExtensions: reset-default-search: starting. api.js:183
WebExtensions: reset-default-search: has already ran
once and saw panel, exit. api.js:210
No user input on targetField LoginManagerChild.jsm:1957
Error: No user input on targetField
LoginManagerChild.jsm:1957:17
[Exception... "Favicon at
"https://school.the5stars.org/favicon.ico"
<https://school.the5stars.org/favicon.ico> failed to
load: Not Found." nsresult: "0x80004005
(NS_ERROR_FAILURE)" location: "JS frame ::
resource:///modules/FaviconLoader.jsm :: onStopRequest
:: line 253" data: no] FaviconLoader.jsm:253:22
[Exception... "Favicon at
"https://school.the5stars.org/favicon.ico"
<https://school.the5stars.org/favicon.ico> failed to
load: Not Found." nsresult: "0x80004005
(NS_ERROR_FAILURE)" location: "JS frame ::
resource:///modules/FaviconLoader.jsm :: onStopRequest
:: line 253" data: no] FaviconLoader.jsm:253:22
On 7/17/21 2:44 PM, Maxim Solodovnik wrote:
If so can you check dev console?
You might need to add moodle URL to cors :)
from mobile (sorry for typos ;)
On Sat, Jul 17, 2021, 18:43 Ali Alhaidary
<ali.alhaid...@the5stars.org
<mailto:ali.alhaid...@the5stars.org>> wrote:
Yes, but not shown in the room :-(
Ali
On 7/17/21 2:42 PM, Maxim Solodovnik wrote:
from mobile (sorry for typos ;)
On Sat, Jul 17, 2021, 18:39 Ali Alhaidary
<ali.alhaid...@the5stars.org
<mailto:ali.alhaid...@the5stars.org>> wrote:
pictureurl column contains either profile.png
or null, for users that were added by moodle
it is
https://school.the5stars.org/class/pluginfile.php/5/user/icon/f1
<https://school.the5stars.org/class/pluginfile.php/5/user/icon/f1>.
Yep
This is correct :)
Is this correct picture?
If so can you check dev console?
You might need to add moodle URL to cors :)
Ali
On 7/17/21 2:32 PM, Maxim Solodovnik wrote:
Om_user :)
from mobile (sorry for typos ;)
On Sat, Jul 17, 2021, 18:25 Ali Alhaidary
<ali.alhaid...@the5stars.org
<mailto:ali.alhaid...@the5stars.org>> wrote:
which table ?
Ali
On 7/17/21 12:35 PM, Maxim Solodovnik wrote:
Please check om db
Picture* column should contain moodle URL
Does it?
from mobile (sorry for typos ;)
On Sat, Jul 17, 2021, 16:15 Ali
Alhaidary <ali.alhaid...@the5stars.org
<mailto:ali.alhaid...@the5stars.org>> wrote:
No, it is not :-(
There was a setting that should be
done that I can not recall :-(
Ali
On 7/17/21 11:29 AM, Maxim
Solodovnik wrote:
In case user has avatar in Moodle
This avatar should be displayed in
om room
from mobile (sorry for typos ;)
On Sat, Jul 17, 2021, 15:23 Ali
Alhaidary
<ali.alhaid...@the5stars.org
<mailto:ali.alhaid...@the5stars.org>>
wrote:
Hi,
I recall that there was setting
to show the user avatar in moodle
plugin, but could not find it
in moodle plugin page, is it
still there?
Ali
--
Best regards,
Maxim
--
Best regards,
Maxim