Skip to content

Releases: yetanalytics/lrsql

v0.8.4

03 Apr 19:46
6be47fe
Compare
Choose a tag to compare

What's Changed

  • url-in-params workaround for /statements path when lrsql behind proxy by @invaliduser in #463

Full Changelog: v0.8.3...v0.8.4

v0.8.3

25 Mar 16:16
db1f69b
Compare
Choose a tag to compare

Release Notes

What's Changed

Full Changelog: v0.8.2...v0.8.3

v0.8.2

20 Mar 17:10
74130f7
Compare
Choose a tag to compare

Release Notes

What's Changed

Full Changelog: v0.8.1...v0.8.2

v0.8.1

18 Mar 15:19
3a39bf2
Compare
Choose a tag to compare

What's Changed

Implement CSV export/download functionality, in which statements can be downloaded in CSV format. The CSV column headers are paths to statement properties, which can be selected in the UI; for example, if the user wants to download statements' ID and verb ID, the file will look like this:

id,verb_id
fdfb9f6d-123f-4851-9763-520a1ea0f182,http://example.org/verb/1
72f3c1b3-6129-4ed8-9e97-ccc8753d906a,http://example.org/verb/2
  • Add two GET endpoints: /admin/csv and /admin/csv/auth
    • /admin/csv/auth returns a one-time JWT for use with /admin/csv. This is important because the latter endpoint is used as a download attribute for HTML anchor tags in the UI, which cannot accept headers.
    • /admin/csv downloads statements in the LRS as a CSV filestream. This endpoint accepts the statement query parameters defined in the xAPI spec, but allows two additional parameters: the one-time JWT token string and the URL-encoded property-path vector strings, which define the CSV column headers.
  • Add new config variable: LRSQL_STMT_GET_MAX_CSV, which defines the maximum number of statements that can be included in a CSV download. If this is negative (e.g. the default value of -1), then it is ignored and all statements in the LRS are downloaded (subject to query filters).

Pull Requests

Full Changelog: v0.8.0...v0.8.1

v0.8.0

05 Mar 18:02
1f4268c
Compare
Choose a tag to compare

Release Notes

Overhaul to login mechanics and the frontend UI.

Changes:

JSON Web Token/Login Mechanics

  • Implement JSON Web Token renewal, so that users can stay logged in while actively using the UI.
  • Add logout revocation: logging out invalidates the current JWT by adding it to a blocklist
  • New config vars:
    • LRSQL_JWT_REFRESH_EXP_TIME: JWT refresh expiration time, after which refreshes can no longer be performed
    • LRSQL_JWT_REFRESH_INTERVAL: time interval for frontend to send a JWT refresh request
    • LRSQL_JWT_INTERACTION_WINDOW: time interval to check for user interaction before a potential JWT refresh
  • New admin API endpoints:
    • /admin/account/logout: log out and invalidate current JWT
    • /admin/account/renew: renew the current JWT to extend the current login session
    • /admin/verify: returns 204 No Content if currently logged in

Routing Changes

  • The default UI endpoint is now /admin/ui and not /admin/index.html. Navigation links, instead of going to /admin/index.html#, now direct to the following pages:
    • /credentials (same as /)
    • /accounts
    • /accounts/password
    • /browser (statement browser)
    • /data-management (actor delete)
    • /status
    • /reactions
    • /reactions/new
    • /reactions/[reaction-id]/view
    • /reactions/[reaction-id]/edit
    • /not-found
  • SPA routing was implemented using re-route.
  • Ban users from setting /admin as the route prefix to avoid clashes

Miscellaneous

Pull Requests

Full Changelog: v0.7.27...v0.8.0

For frontend changes, see the release notes for v0.2.0.

v0.7.27

24 Feb 15:55
d196ba0
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.7.26...v0.7.27

v0.7.26

10 Jan 15:23
84a5dec
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.7.25...v0.7.26

v0.7.25

02 Jan 13:51
b5942df
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.7.24...v0.7.25

v0.7.24

26 Nov 16:47
28d6e09
Compare
Choose a tag to compare

What's Changed

This release updates the Reactions UI. For a full description of the UI changes, see here.

Full Changelog: v0.7.23...v0.7.24

v0.7.23

20 Nov 15:27
11f496e
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.7.22...v0.7.23