lams-github

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Revert "LDEV-5204 Make Whiteboard always behave like it is in production mode"

This reverts commit 7db7949e3398394d514f5d4f044d381955676eb5.

    • -8
    • +11
    /lams_build/conf/whiteboard/src/js/main.js
LDEV-5204 Add Whiteboard icon

    • binary
    /lams_tool_whiteboard/web/images/icon_whiteboard.png
    • -0
    • +109
    /lams_tool_whiteboard/web/images/icon_whiteboard.svg
LDEV-5204 Code clean up

LDEV-5204 Allow multiple tabs open in Whiteboard gallery walk

Whiteboard does not see as heave as Etherpad so we allow multiple tabs

open for comparison.

LDEV-5204 Hide Whiteboard contents until all resources load

Otherwise the UI looks messed up while it loads.

    • -1
    • +3
    /lams_build/conf/whiteboard/readme.txt
    • -0
    • +30
    /lams_build/conf/whiteboard/src/js/index.js
LDEV-5174 Align Setup Teams button better in TBL monitoring teams tab

    • -9
    • +17
    /lams_monitoring/web/tblmonitor/teams.jsp
LDEV-5203 Align top menu items better in TBL monitoring

LDEV-2991 Fix NaN error in lesson instance calculation

When there are no learners allocated to a lesson, splitting lerners into

separate lesson produced a description with an error.

LDEV-5208 Distribute discussion-enabled Page tag to all projects

    • -1
    • +20
    /lams_admin/web/WEB-INF/tags/Page.tag
    • -1
    • +20
    /lams_central/web/WEB-INF/tags/Page.tag
    • -1
    • +20
    /lams_gradebook/web/WEB-INF/tags/Page.tag
    • -1
    • +20
    /lams_learning/web/WEB-INF/tags/Page.tag
    • -1
    • +20
    /lams_tool_chat/web/WEB-INF/tags/Page.tag
    • -1
    • +20
    /lams_tool_daco/web/WEB-INF/tags/Page.tag
    • -1
    • +20
    /lams_tool_doku/web/WEB-INF/tags/Page.tag
    • -1
    • +20
    /lams_tool_gmap/web/WEB-INF/tags/Page.tag
    • -1
    • +20
    /lams_tool_lamc/web/WEB-INF/tags/Page.tag
    • -1
    • +20
    /lams_tool_laqa/web/WEB-INF/tags/Page.tag
  1. … 15 more files in changeset.
LDEV-5208 Add discussion sentiment to burning questions in Scratchie

    • -33
    • +40
    /lams_learning/web/discussion/monitor.jsp
LDEV-5208 Set discussion sentiment for tRAT TBL sequence

LDEV-5208 Add Scratchie option to turn discussion widget on/off

LDEV-5208 Set discussion sentiment for AEs, but not iRAT in TBL sequence

LDEV-5208 Add Assessment option to turn discussion widget on/off

LDEV-5208 Auto collapse discussion widget on learner choice

    • -12
    • +39
    /lams_learning/web/discussion/learner.jsp
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.

    • -11
    • +8
    /lams_build/conf/whiteboard/src/js/main.js
LDEV-5204 Introduce imageURL config property

In vanilla Whiteboard all images are prefixed with current server URL.

If we move Whiteboard or export & import data, it will not work.

Now images have relative URL prefixed with whatever is in imageURL.

    • -0
    • +62
    /lams_build/conf/whiteboard/config.default.yml
    • -1
    • +5
    /lams_build/conf/whiteboard/readme.txt
    • -0
    • +151
    /lams_build/conf/whiteboard/src/js/services/ConfigService.js
    • -0
    • +1513
    /lams_build/conf/whiteboard/src/js/whiteboard.js
LDEV-5204 Embed images when exporting Whiteboard canvas

In vanilla Whiteboard images are referenced by absolute URLs. If we

upload content to another LAMS instance with a different URL, images

will not be found.

Now when exporting a LAMS LD we embed Whiteboard image base64 data

directly in tool exported XML. When we import the LD, we check if image

already exists on the server. If it does not, we recreate it from the

exported data.

LDEV-5204 Make uploaded images use relative URL

Using absolute URL can cause problems when migrating data to another

server.

    • -2
    • +3
    /lams_build/conf/whiteboard/src/js/main.js
LDEV-5204 Use separate file for each saved Whiteboard canvas

In original version all canvases were stored in a single JSON file. The

file would grow indefinitely. It would have to be stored in memory

whole. If it got corrupted, all canvases' data would be lost.

For all these reason now we store each canvas in its own file in

savedBoards/<whiteboard ID>.json

Each file is loaded only when corresponding canvas is used.

We can easily later do clean up - delete files which have not be used

for a year or so.

When doing a LAMS back up, the whole /savedBoards directory needs to be

backe up.

LDEV-5204 Hide unnecessary button in Whiteboard for better UX

    • -1
    • +3
    /lams_build/conf/whiteboard/readme.txt
    • -0
    • +322
    /lams_build/conf/whiteboard/src/index.html
LDEV-5204 Use comments in Whiteboard Gallery walk rating

LDEV-5204 Fix Whiteboard admin page reedit

LDEV-5204 Correctly construct API URLs for proxied Whiteboard server

LDEV-5208 Make collapse feature of discuss learner widget more visible

    • -0
    • +2
    /lams_learning/web/discussion/learner.jsp
LDEV-5208 Fix Start Discussion button alignment

LDEV-5208 Display discussion chart only to monitors

LDEV-5208 Change discussion chart colours for consistency

    • -4
    • +5
    /lams_learning/web/discussion/monitor.jsp
LDEV-5208 Add Discussion Sentiment monitor widget

    • -8
    • +21
    /lams_learning/web/discussion/learner.jsp
    • -0
    • +295
    /lams_learning/web/discussion/monitor.jsp
LDEV-5208 Add Discussion Sentiment learner widget

    • -0
    • +149
    /lams_learning/web/discussion/learner.jsp
    • -0
    • +12
    /lams_learning/web/discussion/startLearner.jsp
  1. … 3 more files in changeset.