PortraitSaveAction.java

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
LDEV-4407 Other projects stop depending on lams_contentrepository

  1. … 75 more files in changeset.
LDEV-4440 Central *.java migration

  1. … 67 more files in changeset.
LDEV-4605 Introduce CommonConstants.java

For starters it will contain user portrait dimensions and the list of

country codes.

  1. … 3 more files in changeset.
LDEV-4501 Tool context files no longer reference audit service.

  1. … 62 more files in changeset.
LDEV-4479 Switch portrait images format to JPG

As long as JPG files are much more compact and we expect a lot of

them to be stored in LAMS (users' portraits primarily), there is

a need to switch to JPG.

  1. … 4 more files in changeset.
LDEV-4469 Implement portrait batch upload servlet

  1. … 6 more files in changeset.
LDEV-4427 System Admin can delete profile pictures

  1. … 5 more files in changeset.
LDEV-4419 Add widget for cropping portrait photos

Added widget that allows cropping the image to a standardised size for

webcam and image uploads (in order to make it squarish).

  1. … 2 more files in changeset.
LDEV-4398 Enlarge the smallest portrait size to 35px

Also accommodate for this change on main and profile pages.

  1. … 3 more files in changeset.
LDEV-4398 Use imgscalr library for image resizing

Besides, switch to using only PNG files in order to prevent image

quality loosing.

  1. … 1 more file in changeset.
LDEV-4380 Replace portrait capturing Flash widget with WebRTC

In order to completely eradicate Flash, we can use WebRTC which seems to

be working OK in newer browsers.

  1. … 7 more files in changeset.
LDEV-4030: Rename user save method to an explicit name so we can use it or avoid it when we need to.

  1. … 17 more files in changeset.
LDEV-3962 Bootstrap index page

  1. … 34 more files in changeset.
LDEV-3776: Remove $Id CVS keyword.

  1. … 1074 more files in changeset.
LDEV-3776: Remove $Id CVS keyword.

  1. … 782 more files in changeset.
LDEV-3776: Clean up and format all LAMS Java code.

  1. … 2120 more files in changeset.
LDEV-3776: Clean up and format all LAMS Java code.

  1. … 1860 more files in changeset.
LDEV-3401: Convert XDoclet annotations to empty comments.

  1. … 473 more files in changeset.
LDEV-3147 Simplify tools: get rid of instructions tab, define in monitor and offline activity options

  1. … 72 more files in changeset.
LDEV-2665 Ability to upload user's portrait directly from the webcam

*merge from lams2_3_release

  1. … 22 more files in changeset.
LDEV-1615 Portrait creating technique has been updated.

Note: always writes a JPEG because GIF is protected or something, and PNG's with transparency are given white backgrounds

  1. … 3 more files in changeset.
The lookup for the service bean was looking for the "BlahServiceTarget", rather than "BlahService". As a result, it was accessing the functionality of the service bean, but was bypassing the transaction definitions, hence the database updates were not wrapped up in database transaction properly. We didn't notice it previously as the filter that forces the Hibernate Session to stay open during the entire web call was effectively causing us to use the same database connection for the entire web call anyway.

  1. … 12 more files in changeset.
LDEV-774 integrate profile page into index page tab

  1. … 9 more files in changeset.
Updated address of FSF in copyright statement

  1. … 1392 more files in changeset.
Implemented putting the user id in the version record for files in the content repository. (LDEV-180) Replaces changes previously checked in.

The content repository gets the user from the shared session object (the userDTO). This allowed the content repository changes to be made without any changes to other parts of LAMS (hence the parts changed previously had to be changed back).

  1. … 5 more files in changeset.
Started to record user id against entries in content repository - not yet completed.

  1. … 4 more files in changeset.
forgot to saveErrors

fix bug (was comparing null with a number)

User can change their portrait/avatar - currently set to fit in thumbnail of 120x120 pixels.

    • -0
    • +136
    ./PortraitSaveAction.java
  1. … 5 more files in changeset.