Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
fix bug where course admin was not allowed to view users of a class where they where course admin of that class' course.

fix a bug about loading locales and status

create a 'canEdit' boolean allowing only sysadmin to edit user's details such as name and address. otherwise only edit user's roles.

    • -0
    • +3
    ./lamsfoundation/lams/admin/web/UserAction.java
  1. … 1 more file in changeset.
use proper spring context as Dapeng found out to fix OpenSessionInViewFilter-not-work issue

    • -19
    • +22
    ./lamsfoundation/lams/admin/web/UserAction.java
    • -14
    • +17
    ./lamsfoundation/lams/admin/web/UserOrgAction.java
    • -23
    • +26
    ./lamsfoundation/lams/admin/web/UserSaveAction.java
retrieve WebApplicationContext from proper servletContext to get IUserMangementService bean , as Dapeng found out to fix OpenSessionInViewFilter-not-work issue

    • -16
    • +13
    ./lamsfoundation/lams/admin/web/CacheAction.java
    • -17
    • +17
    ./lamsfoundation/lams/admin/web/OrgSaveAction.java
  1. … 2 more files in changeset.
sysadmin shouldn't appear in list of roles to add (except for sysadmins)

    • -1
    • +8
    ./lamsfoundation/lams/admin/web/UserAction.java
password hashing and related checking, some cleanup

    • -7
    • +5
    ./lamsfoundation/lams/admin/web/UserAction.java
    • -19
    • +31
    ./lamsfoundation/lams/admin/web/UserSaveAction.java
use service method getSupportedLocale

    • -21
    • +2
    ./lamsfoundation/lams/admin/web/UserAction.java
add restrictions based on new org permissions

  1. … 1 more file in changeset.
*** empty log message ***

    • -0
    • +93
    ./lamsfoundation/lams/admin/web/StrutsExceptionHandler.java
make locale set by ServerLanguage in lams.xml the default locale for new users

    • -0
    • +13
    ./lamsfoundation/lams/admin/web/UserAction.java
giving learner role to users added to a course/class, so that their role list is not empty for that org (otherwise they will get an exception when logging in)

remove unnecessary role checking (done in web.xml)

    • -5
    • +0
    ./lamsfoundation/lams/admin/web/UserAction.java
change language/country in form to single locale field

    • -9
    • +33
    ./lamsfoundation/lams/admin/web/UserAction.java
  1. … 1 more file in changeset.
change list of users from which you can add/remove people to a course/class

    • -22
    • +27
    ./lamsfoundation/lams/admin/web/UserOrgAction.java
add user to class gives user membership in corresponding course with same roles

    • -17
    • +24
    ./lamsfoundation/lams/admin/web/UserSaveAction.java
specify roles when create user

    • -14
    • +9
    ./lamsfoundation/lams/admin/web/UserAction.java
  1. … 1 more file in changeset.
modified to use locale

  1. … 2 more files in changeset.
give learner role to new user created in root org

unnecessary since Role is now comparable

    • -63
    • +0
    ./lamsfoundation/lams/admin/web/RoleDTO.java
sort role list, switch from RoleDTO to Role

    • -2
    • +4
    ./lamsfoundation/lams/admin/web/UserAction.java
added some error checking and fixed create user

    • -26
    • +18
    ./lamsfoundation/lams/admin/web/UserSaveAction.java
added primitive menu links, some fixes

    • -0
    • +11
    ./lamsfoundation/lams/admin/web/UserAction.java
    • -18
    • +57
    ./lamsfoundation/lams/admin/web/UserSaveAction.java
  1. … 3 more files in changeset.
added roles to user display

  1. … 1 more file in changeset.
fix for adding more than 1 row into database at a time (previously hibernate would only add the first row and act like it had added subsequent rows)

add/remove users from organisations functionality

    • -0
    • +136
    ./lamsfoundation/lams/admin/web/UserOrgAction.java
    • -0
    • +152
    ./lamsfoundation/lams/admin/web/UserOrgSaveAction.java
  1. … 4 more files in changeset.
fixed bug - couldn't remove more than 1 role at a time

Genericising the relationship between folders and workspaces - now one folder can be in many workspaces. Problem with the code though - when run from junit the relationship is set up okay, but when run in JBOSS the lams_workspace_workspace_folder records are not created.

  1. … 33 more files in changeset.
edit roles working, removed hard coded roles

    • -31
    • +34
    ./lamsfoundation/lams/admin/web/UserAction.java
    • -42
    • +63
    ./lamsfoundation/lams/admin/web/UserSaveAction.java
  1. … 2 more files in changeset.
renamed UserOrgRolesDTO to RoleDTO

    • -0
    • +63
    ./lamsfoundation/lams/admin/web/RoleDTO.java