Clone Tools
  • last updated a few minutes ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
SAK-44883 New postem with Thymeleaf

  1. … 125 more files in changeset.
SAK-44447 Save dark theme to server with user pref plus detect OS theme (#8826)

(cherry picked from commit 0f0398dc1a596a892a5582b98ebe245dbea073a3)

  1. … 18 more files in changeset.
SAK-44447 Save dark theme to server with user pref plus detect OS theme (#8826)

  1. … 18 more files in changeset.
SAK-44466 Ensure we get a non null locale from preferences (#8694)

https://jira.sakaiproject.org/browse/SAK-44466

(cherry picked from commit 33cd5d201ea60a07a725e7e2d797a30f3ba49ce2)

  1. … 7 more files in changeset.
SAK-44466 Ensure we get a non null locale from preferences (#8694)

https://jira.sakaiproject.org/browse/SAK-44466

(cherry picked from commit 33cd5d201ea60a07a725e7e2d797a30f3ba49ce2)

  1. … 7 more files in changeset.
SAK-44466 Ensure we get a non null locale from preferences (#8694)

https://jira.sakaiproject.org/browse/SAK-44466

  1. … 7 more files in changeset.
SAK-41905 - site info: Import from Site always shows complete list of sites, including hidden ones. (#8088)

(cherry picked from commit 3203e72a1f4e85c1944c3b4d7fed48c0bcf3eff9)

  1. … 3 more files in changeset.
SAK-41905 - site info: Import from Site always shows complete list of sites, including hidden ones. (#8088)

  1. … 3 more files in changeset.
SAK-42465 Add user.view.any permission to allow global user lookups for webservices (#7334)

This adds a new user.view.any permission to support the use-case for a webservice account

to be able to look up user information through the /direct/user endpoint, without the account

needing to be admin-equivalent.

This can be achieved at a global level by setting the server configuration property

entity.users.viewall=true, but that applies to all users. The user.view.any permission

can be set for a specific account or group of accounts by creating a special account

type (e.g. "webservice"), creating a user template role (e.g. !user.template.webservice),

and then setting the permission for the .auth role in the template realm.

  1. … 3 more files in changeset.
SAK-40535 Add User API methods for ContextualUserDisplayService (#5932)

SAK-10868 and SAK-39642 added support for context-specific user aliases, that is a display name for a user that can be different in a specific site context.

This supports the "role play" or "user alias" use case, for example for simulation games (. There is a contrib implementation for this (https://confluence.sakaiproject.org/display/RPLAY/Home) in use by UCT and possibly others.

When implemented, it was sufficient to resolve the site context from the tool context, but as more tools have moved to using /direct/ or other REST endpoints for tool data, this no longer works as the tool placement is not available, specifically for chatData in the Chat Tool.

This task adds methods to the User API so that tool- and service endpoints can get a display name for a user for a specific site context explicitly.

This also allows us to remove explicit use of ContextualUserDisplayService in various tool code.

This PR adds the User API methods, updates implementations and mocks of User and adds support in the Chat tool code.

  1. … 7 more files in changeset.
KNL-1581 Remove deprecated methods User.java - > getCreatedTime, getModifiedTime (#5222)

* KNL-1581 User delete: Time getModifiedTime(), Time getCreatedTime()

* KNL-1581

(cherry picked from commit 4ef7b55b11a485b73f565cecaf09754ab5d3a3d1)

  1. … 4 more files in changeset.
KNL-1581 Remove deprecated methods User.java - > getCreatedTime, getModifiedTime (#5222)

* KNL-1581 User delete: Time getModifiedTime(), Time getCreatedTime()

* KNL-1581

  1. … 4 more files in changeset.
KNL-1577 new method to remap username and clear relevant caches (#5123)

  1. … 4 more files in changeset.
KNL-1577 new method to remap username and clear relevant caches (#5123)

(cherry picked from commit 6ad08f98a51a19235d1c84d5a4d623c0093f851f)

  1. … 4 more files in changeset.
SAK-33647 Allow searching for sample users. (#5038)

This allows the SampleUserDirectoryProvider to return users when a search is performed for users. Previously there was no way to search for these users apart from knowing one of the IDs on them.

This makes testing Sakai easier as you can see how it behaves when deployed with a user provider that supports searching.

(cherry picked from commit b8b13c604e49fafe691057e46220b75b97584a0f)

  1. … 1 more file in changeset.
SAK-33647 Allow searching for sample users. (#5038)

This allows the SampleUserDirectoryProvider to return users when a search is performed for users. Previously there was no way to search for these users apart from knowing one of the IDs on them.

This makes testing Sakai easier as you can see how it behaves when deployed with a user provider that supports searching.

  1. … 1 more file in changeset.
SAK-33326 Remove duplicate licenses. (#4780)

New standard license headers were introduced on these files but the old licenses were also left in place, this removes the old licenses.

    • -21
    • +0
    ./api/AuthenticatedUserProvider.java
    • -21
    • +0
    ./api/ContextualUserDisplayService.java
  1. … 151 more files in changeset.
SAK-33326 Remove duplicate licenses. (#4780)

New standard license headers were introduced on these files but the old licenses were also left in place, this removes the old licenses.

(cherry picked from commit 82488bb2ef4b30bc04b9372048f3920769bdc57a)

    • -21
    • +0
    ./api/AuthenticatedUserProvider.java
    • -21
    • +0
    ./api/ContextualUserDisplayService.java
  1. … 151 more files in changeset.
SAK-32675 - Update license plugin and license headers (#4720)

* SAK-32675 - Update license plugin and license headers

* SAK-32675 - Adding more license files

    • -0
    • +15
    ./api/AuthenticatedUserProvider.java
    • -0
    • +15
    ./api/AuthenticationMissingException.java
    • -0
    • +15
    ./api/ContextualUserDisplayService.java
  1. … 1281 more files in changeset.
SAK-33240 - Create a user preference panel for CKEditor toolbar type (#4698)

* SAK-33240 - Add user preference panel for CKEditor

* SAK-33240 - Support for portal to expose the editor type for ckeditor

* SAK-33240 - Name of property changed during dev, updating docs

* SAK-33240 - Updating strings to better matching names, removing CKEditor

per John A, some other minor comment tweaks

* SAK-33240 - Protect portal variable better (errors in iframe'd tools)

  1. … 9 more files in changeset.
SAK-32608: Extend CandidateDetailProvider to provide institutional numeric ids (student numbers) for use in Gradebook (#4496)

* SAK-32608: Extend CandidateDetailProvider to provide institutional numeric ids (student numbers) for use in Gradebook

* SAK-32608: fixed issue with category column positioning when student number column is visible

* SAK-32608: added api method to bypass candidate student number visibility permission to facilitate business cases that require the number

  1. … 30 more files in changeset.
SAK-32699 IP whitelist for internal user authentication (#4633)

* SAK-32699 IP whitelisting for internal user authentication

* SAK-32699 Change authentication for SakaiLogin so that whitelist is effective

* SAK-32699 Update entitybroker session provider to use authenticationManager

  1. … 18 more files in changeset.
KNL-1522 javadoc, raw Iterator; org.sakaiproject.util.IteratorEnumer… (#4320)

* KNL-1522 javadoc, raw Iterator; org.sakaiproject.util.IteratorEnumeration => org.apache.commons.collections4.iterators.IteratorEnumeration;

* KNL-1522

  1. … 9 more files in changeset.
NOJIRA Updated comment on searchUsers (#4242)

SAK-32196 Defined sakai:portal:sitenav in one place (#3923)

  1. … 12 more files in changeset.
SAK-32196 Defined sakai:portal:sitenav in one place (#3923)

  1. … 13 more files in changeset.
SAK-31405 Allow institution provided anonymous IDs (+ additional candidate notes) (#3331)

* SAK-31404, SAK-31405 and SAK-31406

anonymous coursework project

- Manage Candidate ID and additional notes.

- Sample, html, zip and more

* Add support to LDAP multi-valued properties

* SAK-31404, SAK-31405 and SAK-31406 : Move providers out of the kernel.

The kernel shouldn't depend on anything else in Sakai.

* SAK-31404, SAK-31405 and SAK-31406 : Don’t require a candidate details provider.

Now we make the provider optional. I did look at making the field Optional<CandidateDetailsProvider> but it needs more work. This is desirable so that it’s clearer to all callers of methods on this field that they need to handle the case when it’s not set (null).

It would be better to hide all this behind the API so that the tool doesn’t deal with it at all.

* SAK-31404, SAK-31405 and SAK-31406 : We expect some users to not be found.

Don’t log at warn but at debug when users aren’t found as this is an expected case.

* SAK-31404, SAK-31405 and SAK-31406 : Add the logger back in so it compiles.

* SAK-31404, SAK-31405 and SAK-31406

- Switched ValueEncryptionUtilities to be a service so that it’s easier

to switch to a static key if we need to in the future for performance

reasons.

- Add padding to values so that all encrypted values will be the same

length.

- Added MappingDetailProvider

* SAK-31405

* additional notes added to :

- submission grading screen (only for no group assignments)

- grade report screen : html table

- grade report screen : xls export

- submission list -> download all -> grades file inside zip (csv, xls)

* candidateDetailProvider is no longer injected in vm files (also site).

Now we use notesMap

* SAK-31405 Allow forcing of anonymous assignments.

Now we make the provider optional. I did look at making the field Optional<CandidateDetailsProvider> but it needs more work. This is desirable so that it’s clearer to all callers of methods on this field that they need to handle the case when it’s not set (null).

It would be better to hide all this behind the API so that the tool doesn’t deal with it at all.

Don’t log at warn but at debug when users aren’t found as this is an expected case.

Also switched ValueEncryptionUtilities to be a service so that it’s easier to switch to a static key if we need to in the future for performance reasons.

Add padding to values so that all encrypted values will be the same length.

* SAK-31405 Make the sample data display nicer.

This allows wrapping in the interface and doesn’t make it unusable.

Also stop the NPE by trying to encrypt null.

* SAK-31405 Fix indentation on API

* SAK-31405 Added more documentation and a readme.md

This is to make it easier to understand how this provider is designed to work.

* SAK-31405 Switch the SLF4J from commons-logging.

    • -0
    • +44
    ./api/CandidateDetailProvider.java
  1. … 35 more files in changeset.
SAK-31920 Don't export anonymous users in spreadsheet (#3565)

* SAK-31920 Code cleanup.

Extract out constant and use existing constants.

* Extract out the assignment service comparators.

* Better building of the list of users who submitted.

* Refactored out into new class.

* Update to API instead of Covers.

* Javadoc.

* Make sure to sort the spreadsheet correctly.

  1. … 9 more files in changeset.
SAK-30144 When user changes their email address in Accounts tool they should be prompted to change their username.

Adding newUserID for template when status is userId updation.When the

account status is userIdUpdation then get the user from the newly added

method in base user directory.

Overloaded the method CreateValidationAccount to have extra field for

newEmailAddress.

In Accounts tool checks if the email address already exists . If the userId

is different from email address it sends out validation link.

Check for the locks and commit user object with new emailId.

New method is added into EmailTemplateService for Accounts to use when user

changes email address.

In EmailTemplateServiceImpl have separated the common logic from

'sendRenderedMessage' into a separate method called 'sendEmailToUsers'

which can be used by the new 'sendMessage' method.

  1. … 21 more files in changeset.
SAK-30144 When user changes their email address in Accounts tool they should be prompted to change their username.

Adding newUserID for template when status is userId updation.When the

account status is userIdUpdation then get the user from the newly added

method in base user directory.

Overloaded the method CreateValidationAccount to have extra field for

newEmailAddress.

In Accounts tool checks if the email address already exists . If the userId

is different from email address it sends out validation link.

Check for the locks and commit user object with new emailId.

New method is added into EmailTemplateService for Accounts to use when user

changes email address.

In EmailTemplateServiceImpl have separated the common logic from

'sendRenderedMessage' into a separate method called 'sendEmailToUsers'

which can be used by the new 'sendMessage' method.

  1. … 21 more files in changeset.