Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
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
Paul Steven
@paul-mediakitchen
lol @tomgreenfield
Oliver Foster
@oliverfoster
lol
Sam Howell
@5am_gitlab
What would be my options if I wanted to add/edit the help tooltips for various plugin properties throughout the AT without having direct access to the AT backend myself? Would a simple extension work? If so, some tips how I might achieve this would be appreciated.
Simon Date
@simondate
@5am_gitlab The simpliest way to do this would be to fork each plugin you use and then edit the fields in the properties.schema file
Sam Howell
@5am_gitlab
@simondate I thought that, unfortunately our provider uses templating across Adapt framework/AT upgrades, so our forked versions may interfere with this, and we also can't disable any plugins they've enabled by default, meaning the course author would probably see two of every component in the list and this could be confusing.
ninode97
@ninode97
image.png
Was this intentional to do so?
As for example when we export course all custom styles will be wiped out when re-importing the exported-course.
Sam Howell
@5am_gitlab
myself and others have noticed this too: adaptlearning/adapt_authoring#2490
ninode97
@ninode97

Thanks!

Was wondering what could be the implications if I would remove "customStyle" from omitProps array?

I have tested it and it seems that it would import course with custom styles...

Sam Howell
@5am_gitlab
What would be the most practical/sensible way to host multiple older and newer versions of the AAT from the same server? Maybe containerisation? For example, I'd like to spin up a testing VPS and have a few subdomains pointing to different versions to make it quick and easy to test and compare versions of plugins etc.
I could easily do this with VMs locally, but then presumably there'd be no way to do quick mobile previewing
Oliver Foster
@oliverfoster
probably a process / service manager, with an apache proxy and nvm at minimum, or containerisation (like docker) to remove the nvm requirement
Sam Howell
@5am_gitlab
:thumbsup:
Oliver Foster
@oliverfoster
an apache reverse proxy is a nice way of bringing lots of websites run on different ports on the same kit under a series of sub paths at port 443/80
Sam Howell
@5am_gitlab
yeah, have some experience with Apache proxies. My personal site uses proxies for services like Plausible analytics, Netdata, Nextcloud etc. I'd quite like to try out Docker for some stuff eventually. My Plausible instance runs in Docker but was installed via a script, so I don't have much experience with setting containers up yet.
Oliver Foster
@oliverfoster
the containers, defined in a text file, usually inherit from a standard nodejs container by directive, then you put in a config for the application installation bits, it's very straight forward. automating the startup and redirecting apache to it might provide a challenge
ninode97
@ninode97
image.png
Is there any reason why endpoints are not protected within authoring tool?
For example with postman without auth we can execute endpoints?
Oliver Foster
@oliverfoster
No reason @ninode97 they just weren't designed to be. The newer AAT currently in progress has better standing in that regard.
PRS to the current one are welcome
It looks as though you can execute them but they return an error.
Which is almost fair. Really it should just be a 404.
ninode97
@ninode97
What's new for the newer AAT? is there any public branch available ?
Oliver Foster
@oliverfoster
It's in alpha still. There is a public repo... I may have to dig it out tomorrow...
ninode97
@ninode97
tried to look at adapt_authoring repo but couldnt find
Oliver Foster
@oliverfoster
That whole organisation is for the backend rewrite.
ninode97
@ninode97
Thank you very much! Will have a look at it.
Oliver Foster
@oliverfoster
:+1:
davetaz
@davetaz
When updating the authoring tool it seems to be pulling down beta versions of the plugins. Is there any way to stop this as assessments and scorm have broken for me?
image.png
Oliver Foster
@oliverfoster
how have assessment and scorm broken?
davetaz
@davetaz
no completion status is set
I have a module in one AAT which I publish and test on scorm cloud and it works perfect, status is reported. Export that into another AAT with different versions of plugins, publish and test in scorm cloud and it reports nothing.
Oliver Foster
@oliverfoster

adaptlearning/adapt-contrib-assessment#135

Course.json needs a correctToPass value

the most recent version needs publishing with that fix
hmm
you should have spoor 3.10.0
davetaz
@davetaz
somehow my AAT has been pulling beta versions
Oliver Foster
@oliverfoster
and assessment 4.5.0
it has been for a while
because of the AAT rewrite