Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
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
but those two plugins have had the aat schemas merged
can you try updating them again today?
davetaz
@davetaz
I have assessment 4.5.0-beta.1
Oliver Foster
@oliverfoster
their most recent versions were released an hour ago and two days ago respectively (assessment and spoor)
davetaz
@davetaz
I'm doing a manual upgrade to AAT 0.10.5 and Framework 5.15.2
would be nice to have a command in the AAT that checks for upgrades of plugins, not just the framework and AAT
davetaz
@davetaz
now have spoor 3.10.0 and assessment 4.5.0
Bingo! Although it was a bit slow to update the assessment results component. (caching)
Thanks!
tomgreenfield
@tomgreenfield

would be nice to have a command in the AAT that checks for upgrades of plugins

you can update individual plugins in plugin management

davetaz
@davetaz
HI all. When you export a course between two AATs is it possible for it to put the theme customisations back in the custom CSS field of the AAT and not to drop them in the themes zzzzz directory. This is really annoying as it affects any other courses in the same theme on that AAT and you have to delete the zzzzz directory.
Jon Douglas-Beveridge
@JBevvy
Hey, noob question - I'm getting a 403 for the following endpoints: http://localhost:5000/api/role & /api/tenant, reulting in a blank UI when navigating. Went with all default options on install,
  "outputPlugin": "adapt",
  "dbType": "mongoose",
  "auth": "local",
  "root": "C:\\Dev\\adapt_authoring",
  "sessionSecret": "8fbc4050cb93ea9b1c408e4b6b16b1322a5a31b562d998e4a066f8cb9625f3ebff2bb97d86b8d71f132ca3e825d31e040403f144dc7a9f2b038cbbc25678abad",
  "serverPort": 5000,
  "serverName": "localhost",
  "dataRoot": "data",
  "authoringToolRepository": "https://github.com/adaptlearning/adapt_authoring.git",
  "frameworkRepository": "https://github.com/adaptlearning/adapt_framework.git",
  "frameworkRevision": "tags/v5.15.5",
  "dbName": "adapt-tenant-master",
  "useConnectionUri": false,
  "dbHost": "localhost",
  "dbPort": 27017,
  "dbUser": "",
  "dbPass": "",
  "dbAuthSource": "",
  "useSmtp": false,
  "useSmtpConnectionUrl": false,
  "fromAddress": "test@test.im",
  "rootUrl": "http://localhost:5000",
  "smtpService": "none",
  "smtpUsername": "",
  "smtpPassword": "",
  "maxLoginAttempts": 3,
  "ckEditorExtraAllowedContent": "span(*)",
  "maxFileUploadSize": "200MB",
  "ckEditorEnterMode": "ENTER_P",
  "masterTenantName": "master",
  "masterTenantID": "6118c9e9199f8e482c81985c",
  "isProduction": true
}
Jon Douglas-Beveridge
@JBevvy
just to add, i am able to contect via Compass or mongosh
Jon Douglas-Beveridge
@JBevvy
Ok scrap all that. A reinstallation worked, I must have made a mistake when running the installation script first time
davetaz
@davetaz
"Add support for authoring tool 1" <--- ? AAT v1? Don't see a milestone? Any info on what major changes there will be?