Re: user avatar

2021-07-17 Thread Ali Alhaidary
Yes, thanks... Ali On 7/17/21 7:52 PM, Maxim Solodovnik wrote: On Sat, 17 Jul 2021 at 23:29, Ali Alhaidary mailto:ali.alhaid...@the5stars.org>> wrote: 'self',data:https://school.the5stars.org `,`  is the delimiter 'self',data:,https://school.the5stars.org Ali On 7/17/21

Re: user avatar

2021-07-17 Thread Maxim Solodovnik
On Sat, 17 Jul 2021 at 23:29, Ali Alhaidary wrote: > 'self',data:https://school.the5stars.org > `,` is the delimiter '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 > wrote: > >> So I should

Re: user avatar

2021-07-17 Thread Ali Alhaidary
'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 mailto:ali.alhaid...@the5stars.org>> wrote: So I should remove ''self',data:' and put 'https://school.the5stars.org '

Re: user avatar

2021-07-17 Thread Maxim Solodovnik
On Sat, 17 Jul 2021 at 23:22, Ali Alhaidary wrote: > So I should remove ''self',data:' and put '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 Yes, this was the

Re: user avatar

2021-07-17 Thread Ali Alhaidary
So I should remove ''self',data:' and put 'https://school.the5stars.org ' instead 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

Re: user avatar

2021-07-17 Thread Maxim Solodovnik
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' because it violates the following Content Security Policy directive: "img-src 'self' 'self' data:

Re: user avatar

2021-07-17 Thread Ali Alhaidary
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 > wrote:

Re: user avatar

2021-07-17 Thread Maxim Solodovnik
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 wrote: > WebExtensions: reset-default-search: starting. api.js:183 > WebExtensions: reset-default-search: has already

Re: user avatar

2021-07-17 Thread Ali Alhaidary
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

Re: user avatar

2021-07-17 Thread Maxim Solodovnik
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 wrote: > Yes, but not shown in the room :-( > > Ali > On 7/17/21 2:42 PM, Maxim Solodovnik wrote: > > > > from mobile (sorry for typos ;) > >

Re: user avatar

2021-07-17 Thread Ali Alhaidary
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 > wrote: pictureurl column contains either profile.png or null,  for users that were

Re: user avatar

2021-07-17 Thread Maxim Solodovnik
from mobile (sorry for typos ;) On Sat, Jul 17, 2021, 18:39 Ali Alhaidary 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. > Yep This is correct :) Is this correct

Re: user avatar

2021-07-17 Thread Ali Alhaidary
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. 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

Re: user avatar

2021-07-17 Thread Maxim Solodovnik
Om_user :) from mobile (sorry for typos ;) On Sat, Jul 17, 2021, 18:25 Ali Alhaidary 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,

Re: user avatar

2021-07-17 Thread Ali Alhaidary
I recall that we used to change the value of header.csp.image Ali On 7/17/21 2:24 PM, Ali Alhaidary 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,

Re: user avatar

2021-07-17 Thread Ali Alhaidary
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 > wrote: No, it is not :-( There was a

Re: user avatar

2021-07-17 Thread Maxim Solodovnik
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 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

Re: user avatar

2021-07-17 Thread Ali Alhaidary
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

Re: user avatar

2021-07-17 Thread Maxim Solodovnik
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 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