Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
MartinJuhler
@MartinJuhler
Is it possible to download an Adept course and run it as HTML in Chrome. I don't care that the tracking is not working.... Tried to open the Index.html but just get the loading circles... If it's possible could you describe the steps that I need to take to make it work?
Oliver Foster
@oliverfoster
No. Chrome won't let JavaScript load files from file:/// because otherwise it could read your entire hard drive.
You need to access the course via a webserver so that it is served via the http protocol.
Oliver Foster
@oliverfoster
Oliver Foster
@oliverfoster
Apparently Firefox used to allow you to. I don't know if it still does.
MartinJuhler
@MartinJuhler
@oliverfoster Thanks for the answer Oliver :)
Oliver Foster
@oliverfoster
:+1:
John Niezen
@johnniezen
@MartinJuhler @oliverfoster Like Chrome it does not anymore, neither does Opera, we use Webserver for Chrome if we are on route and want to show the courses. Works like a charm and is on your "local pc"
Sam Howell
@5am_gitlab
I used to achieve this in Firefox by accessing about:config and setting security.fileuri.strict_origin_policy to false.
just verified this still works in Firefox 89 on Windows
Oliver Foster
@oliverfoster
Lovely. :+1:
John Niezen
@johnniezen
Super, thx for the tip
Sam Howell
@5am_gitlab

I'm getting the warning:

You are using Node.js 16.4.1 which is not supported by Adapt

...yet this is the current LTS. Either this warning is wrong as the docs say to use the LTS, or 16.4.1 can't be used for whatever reason, in which case it seems the docs need to be updated to state the current LTS shouldn't be used.

my mistake, I thought 16 was the LTS but can now see it's still 14
tomgreenfield
@tomgreenfield
have removed the word 'current' as was slightly confusing
Sam Howell
@5am_gitlab
luckily I've had no issues using v16 so far :thumbsup:
tomgreenfield
@tomgreenfield
:tada:
Vuyolwethu Siyo
@vuoy.siyo_gitlab
Q. I installed Adapt_authoring tool a month ago on my MAC, I am not sure how to log in. Can anyone please help with some instructions?
Sam Howell
@5am_gitlab

assuming you installed everything correctly, navigate to the 'adapt_authoring' directory and run:

node server

you should see some green highlighted messages in the output and it will tell you what port the local server is listening on, by default 5000.
so then go to localhost:5000 in your browser and you should see the dashboard login page.

2 replies
you'll also need to ensure mongod is running in the background (on GNU/Linux systems this would be sudo systemctl start mongod.service or sudo service mongod start. Probably different for Mac though it's Unix based
Vuyolwethu Siyo
@vuoy.siyo_gitlab
Thank you, will give it a try
Oliver Foster
@oliverfoster
image.png
@5am_gitlab 16.4.2 isn't LTS yet is it?

my mistake, I thought 16 was the LTS but can now see it's still 14

my mistake for not reading

tomgreenfield
@tomgreenfield
:sweat_smile:
Sam Howell
@5am_gitlab
yeah realised my mistake almost as soon as submitted the message (can't see where it is now)
my mistake, I thought 16 was the LTS but can now see it's still 14
Oliver Foster
@oliverfoster
had me worried for a moment there
Sam Howell
@5am_gitlab
lol 'saallll good. I clearly don't read things carefully enough before jumping to conclusions.
Oliver Foster
@oliverfoster
ditto
Simon Date
@simondate
I've always wondered why the Authoring Tool uses non-release versions of plugins (e.g. 3.6.0-custom-1)? Have these versions been tested to the same degree as full release versions?
marissa-champions
@marissa-champions
Hello, I recently upgraded to V5 of the framework and 0.10.5 of the Authoring Tool. I typically work in the framework to develop the theme and then import to the Authoring Tool. I'm guessing that the Authoring Tool is grabbing the values from the schema files but I only edit the LESS files. I won't ever need to edit the colors in the Authoring Tool. Is there a way I can disable editing colors in the Authoring Tool or will I have to update the LESS files and the schema files for every change?
tomgreenfield
@tomgreenfield
@simondate, the tagged pre-releases are exactly the same as the latest release, just with an additional schema folder for the new authoring tool. it doesn't have any effect in the current authoring tool. for example, bookmarking comparison
tomgreenfield
@tomgreenfield
@marissa-champions, if you mean disabling the colour picker functionality then it should just be a case of removing the variables object from the theme's schema
Chetan Sachdev
@cksachdev
@tomgreenfield Is there a new authoring tool in development? Could you please point me to the github repo for the same.
Will the existing version 0.10.5 development continue or it will be stopped?
tomgreenfield
@tomgreenfield
it's the same product just with a fairly substantial rewrite of the backend. gitter discussion is here. alpha code is here
marissa-champions
@marissa-champions
Is there a way to restore a deleted course? I see the course folder in the adapt_framework folder but I don't see the database entry using robo3t to restore it.
tomgreenfield
@tomgreenfield
the course folder will just be a leftover cache of whenever it was last previewed – there's no way to restore the deleted mongodb record i'm afraid
Paul Steven
@paul-mediakitchen

Hello. Is there a way to turn on strict mode in the authoring tool? I am using the following and want to test if my plugin fails in strict mode

Authoring tool 0.10.5
Adapt Framework 5.15.2

Oliver Foster
@oliverfoster
@paul-mediakitchen i don't think there is a schema entry for course.build.strictMode
so once you've exported, if you add "strictMode": true into the course.json in the build object and rebuild using grunt dev or grunt build you should get strict mode enabled
Paul Steven
@paul-mediakitchen
Thank you @oliverfoster - much appreciated. I should of course have just fired up a framework only course and tested it but the heat prevented my brain engaging
Oliver Foster
@oliverfoster
:+1:
Paul Steven
@paul-mediakitchen
Found it:
"build": {
    "strictMode": true
}
tomgreenfield
@tomgreenfield