GithubHelp home page GithubHelp logo

learninglocker / learninglocker Goto Github PK

View Code? Open in Web Editor NEW
544.0 72.0 267.0 22.51 MB

Learning Locker - The Open Source Learning Record Store. Started in 2014.

Home Page: https://learningpool.com/solutions/learning-record-store-learning-locker/learning-locker-community-overview/

License: GNU General Public License v3.0

CSS 11.32% JavaScript 87.93% HTML 0.48% Shell 0.28%
javascript nodejs xapi lrs tincan

learninglocker's People

Contributors

andrewhickey avatar andyhubert avatar asahd avatar caperneoignis avatar cbishopvelti avatar crazy-grizzly avatar das7pad avatar davetosh avatar davidavdav avatar davidpesce avatar dennis-learningpool avatar dependabot[bot] avatar eashman avatar garemoko avatar gitter-badger avatar grillonbleu avatar h-kanazawa avatar hallshouse avatar happy-machine avatar ht2 avatar kzkamiya avatar loongchan avatar lydiamross avatar pondermatic avatar princewaune avatar ryanrolds avatar ryasmi avatar telmed-ci avatar theland avatar vladislav-999 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

learninglocker's Issues

errors in xapivalidation

Hi Couple of cut and paste errors I have noticed lines 756 and 766 both have $$context I think should be $context,

also validateactor fails if objecttype is not set

Error with Tin Can Prototypes

I have installed Learning Locker on my Xampp machine, I have tried to run the Golf and Tetris samples from the Tin Can Prototypes and am getting the following on both samples 'There was a problem communicating with the Learning Record Store, 400 when using statementid or voidedstatementid, the only other parameters allowed are attachments and or formats'

Verifying a registration when logged in

Problem Steps

  • Registered user1 on Learning Locker and have created a LRS
  • Registered user2 using learninglockeraddress/register and received a verification email
  • User2 clicks the verification link when user1 is still logged in

Outcome
User2 is added to user1's Learning Locker as an observer role. If user2 then logs in they cannot see any LRS's so doesn't seem like they are really an observer on user1's LRS. User1 can see user2 as a member of their Learning Locker.

Build out analytic goals

Similar to GA goals - provide a mechanism for people to set up goals they wish to track statements / outcomes against.

Password reset view not rendering

If a user selects password reset, it sends the reset email but the view is not rendering. Instead you just see reminder.sent in the browser.

Installation issues

Hi,
I managed to get Learning Locker installed on my laptop this lunchtime, but I've run into two issues:

  1. I seem to have two copies of the code, so my server path is
    http://localhost/learninglocker/learninglocker/server.php
    The first learning locker folder has some, but not all of the code.
  2. I'm not getting any css, javascript or the logo. Is this intentional? It doesn't appear to be in the folder at all.

Any ideas what I could have done wrong?

Andrew

p.s. these instructions were very helpful: http://williamjxj.wordpress.com/2012/06/04/install-mongodb-with-windows-xampp/

Installation issue- Error Exception Undefined index: result

Hello there,
I am just starting out with LearningLocker. Based off the documentation, I believe it is installed correctly. I installed via Composer and also did the MongoDB installation and PHP client on Ubuntu 12.10 (PHP 5.4).

After the install, I tried to register at the dev URL here...
http://lrs.dev.epimedia.com.au/learninglocker/public/register

...and got the detailed error attached. I am not sure where to go from here. What might be wrong?

screen shot 2014-03-10 at 2 11 04 pm

contextActivities need to store and return as arrays

Looking at the contextActivities requirements... https://github.com/adlnet/xAPI-Spec/blob/master/xAPI.md#requirements-11

'contextActivities' should be sent in and stored as an array of activity objects. They should then be returned as such. Unsure if we should reject if the relevant contextActivity is not an object (with a required key of ID).

This also has implications on how we query the contextActivities, especially in reference to related_activities.

Changing user role not working

Super admins can change users' role via the manage user interface. This is not working, instead it just changes the role of the logged in user which is dangerous as it will mean a super admin can lose their privileges.

Use stored instead of updated_at?

I was wondering if the setSince function should run of stored instead of updated_at? In locker/repository/document/EloquentDocumentRepository

validation of result score

Learninglocker does not accept statements with an empty score raw, score max or score min, but these should be accepted. See #106

Interestingly, it does accept statements where the score values are in quotes. These are rejected by Wax but accepted by Watershed (http://tincanapi.com/public-lrs/). Watershed then returns the statement without quotes. I assume that Wax is technically correct, (I wouldn't expect anything less from @fugu13) but I'd prefer to follow Watershed on this one and accept the statements, correcting the syntax as they come in. Learning Locker currently returns them with quotes, making it incompatible with Wax.

I guess TinCanJS should be validating this, but I also need to update my statement crafter. cc @brianjmiller

No statements appearing

Hi,

I don't seem to be able to get statements into my LL. I have set up on Ubuntu on Azure and can log in at http://learninglocker.cloudapp.net

I have set up an LRS with credentials but when I try to send statements it isn't working. I tried using the Tin Can statement generator but it says "There was a problem communication with the Learning Record Store. (0 | )

Sorry to ask for help but I have got to the end of my ideas and I can't see where else to go.

Stuart

Creating Post for adding statments

I have been trying to send in json, GIFT.json, and I cannot get it to accept the post.

the curl statment I have been using is
"$ curl -X POST --data @GIFT.json -H "Content-Type: application/json" --user c4f548a04f45fbb556267d42e180578f71e49ac6:e98bda84974fe8013e8c83832a34decbad096304 -H "x-experience-api-version: 1.0.0" http://localhost/learninglocker/public/dat
a/xAPI/statements"

and the json is a simple one i found from the standard xAPI standard on the validation.

"{
"id": "12345678-1234-5678-1234-567812345678",
"actor":{
"mbox":"mailto:[email protected]"
},
"verb":{
"id":"http://adlnet.gov/expapi/verbs/created",
"display":{
"en-US":"created"
}
},
"object":{
"id":"http://example.adlnet.gov/xapi/example/activity"
}
}"

The result I get when i try to do the post is a lot of html and some javascript. I am not sure if i am doing something wrong or if the post just isnt working. Ib was able to generate a statement from the site though.

Problem when graphing statements using timestamp / stored

At the moment we are using stored to graph statements. Clearly this is not ideal as graphing should really represent the actual time the learner undertook the particular action and the statement was generated. However, with timestamp only being optional - this is not reliable.

I would love to see timestamp become required in the spec. What do others think?

Result must be an array and can't be empty

I get the following error when sending statements from http://garemoko.github.io/tinStatement/tinstatement.htm at http://localhost/learninglocker/public/data/xAPI/ without completing any of the result fields. These statements work with other LRS e.g. Wax

[warning] There was a problem communicating with the Learning Record Store. (400 | {"success":false,"message":"Result must be an array and can't be empty."})

The Result property of the statement is optional, so the statement should be allowed. Adding something to the result allows the statement to be sent successfully (my first statement to LL on my local machine!)

/data/xAPI route

I am attempting to test sending events from Sakai CLE to LL. I have setup my admin user and added a new LRS.

Sakai code currently adds a trailing slash to /data/xAPI so the statement is sent to /data/xAPI/. This results in a 301 because of the .htaccess file.

When I modify Sakai code to not add a trailing slash, I receive a JSON-encoded error that starts like this:

{"error":true,"message":"","code":404,"trace":[{"file":"/opt/learninglocker/vendor/laravel/framework/src/Illuminate/Routing/Router.php","line":1021,"function":"match","class":"Illuminate\Routing\RouteCollection","type":"->","args":[{"attributes":{},"request":{},"query":{},"server":{},"files":{},"cookies":{},"headers":{}}]}

Inviting new user error

'Cannot send message without a sender address' with a fully qualified email address in the to: input box.
This was on HT2 test environment

Post wont go through because "This is not an accepted version of xAPI"

I am just trying to send a post but it wont accept it because it is not an accepted version of xAPI. I am not sure if it is something I am missing or what.

This is the message I am getting about the post:
{"success":true,"message":"This is not an accepted version of xAPI."}

This is the json i am trying to send:
jsondata

This is the curl statement I am using:
curl -X POST --data @GIFT.json -H "Content-Type: application/json" --user 3e2a066b083942d73b358fb104f1661db27a32c3:db9a261b801d000cd289f409e48d6070f543d787 -H "x-experience-api-version: 1.0.0" http://localhost/learninglocker/public/data/xAPI/statements

Obey StatementRef chaining rules

The spec requires queries that would include a Statement A (if it had Statement B's stored attribute) to include Statement B with object StatementRef to A (and the rule applies to statements included by the rule), and as far as I can tell this isn't implemented.

Handling no Statement ID

Have used the latest updates to successfully run the Tin Can prototypes but cannot run my Lectora content.

Returns [warning] There was a problem communicating with the Learning Record Store (400 | {"success":false,"message":"A statement ID is required to PUT."})

Not sure if I have the right end of the stick but my understanding was that if there was no Statement ID provided then the LRS should generate one.

Build out a one page app for reporting

Replace the hardcoded analytics (and maybe statement explorer) with a one page app. We just hardcoded in a couple of option as a demo - these will all be removed.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.