Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
LDEV-5362 Upgrade Whiteboard to version 1.7 (2023-02-10)

  1. … 8 more files in changeset.
LDEV-5204 Adjust LAMS customisations for latest Whiteboard code

  1. … 8 more files in changeset.
Revert "LDEV-5204 Make Whiteboard always behave like it is in production mode"

This reverts commit 7db7949e3398394d514f5d4f044d381955676eb5.

LDEV-5204 Make Whiteboard always behave like it is in production mode

There is a problem with image loading in Whiteboard. Uploaded images get

stuck while being loaded in a copied canvas. For example after a learner

enters a grouped Whiteboard activity and a canvas gets cloned for his

session.

It does not occur when Whiteboard is in development mode. Maybe it has

to do with request proxying.

We now always run Whiteboard in development mode, but make it behave

like it is in production mode.

LDEV-5204 Make uploaded images use relative URL

Using absolute URL can cause problems when migrating data to another

server.

LDEV-5204 Introduce improved security using hashing

In vanilla Whiteboard a global access token is configured on server and

must be present in all requests made to Whiteboard. It means that anyone

can modify any whiteboard ID (wid).

In LAMS we introduce a hash of wid + accesstoken. Users do not know

access token, so they can not generate the hash for another wid.

The hash is simple Java hashCode() function, sufficient for this

situation.

The hash does not include author name as it is not present in many use

cases.

The hash optionally has a different form: source wid + wid +

accesstoken. It is when copyfromwid parameter is present. In this case

the target canvas is using standard wid and hash, but for the extra call

to source canvas we use source wid and the modified hash. This modified

hash is only usable to copy content from this particular source wid to

this particular target wid, so users can not use the hash to draw on the

source canvas.

  1. … 9 more files in changeset.
LDEV-5204 Save source canvas data so target canvas is independent clone

LDEV-5204 Put images from source canvas to background to draw over them

LDEV-5204 Allow cloning another canvas to non-empty canvas