Clone
 

stephen marquard <stephen.marquard@uct.ac.za> in Sakai.Git

SAK-45569 Set sakai.content.resourceLimit default to 5000 (#9355)

Avoid out of memory issues.

SAK-33610 Check for top-level content collections (#9330)

Collections like /content/user/ don't have associated contexts, so

the siteId check was returning null rather than !admin.

Check for the number of path elements instead.

SAK-45527 Check accept-until date first (#9276)

Move the check for allowing a new submission (finalising a draft

submission) before the check for allowing a resubmission of a

submitted submission.

(cherry picked from commit 6628e038b00e89fbd4f4fe8127970717965214ca)

SAK-45527 Check accept-until date first (#9276)

Move the check for allowing a new submission (finalising a draft

submission) before the check for allowing a resubmission of a

submitted submission.

(cherry picked from commit 6628e038b00e89fbd4f4fe8127970717965214ca)

SAK-45527 Check accept-until date first (#9276)

Move the check for allowing a new submission (finalising a draft

submission) before the check for allowing a resubmission of a

submitted submission.

SAK-41964 Fix regression from incorrect syntax in EMI question type

SAK-41964 Fix regression from incorrect syntax in EMI question type

(cherry picked from commit de06d0ae0e6ba0050015bd75a66589750a192942)

SAK-41964 Fix regression from incorrect syntax in EMI question type

(cherry picked from commit de06d0ae0e6ba0050015bd75a66589750a192942)

SAK-44702 Long img alt text with linebreaks can cause StackOverflowError (#8832)

The paragraph regexp is too complex for long img alt text which includes linebreaks. This uses a simpler regexp for alt text.

(cherry picked from commit c798cf8f64f59f02cd1c1bee7ecf11d59ef21c86)

SAK-44702 Long img alt text with linebreaks can cause StackOverflowError (#8832)

The paragraph regexp is too complex for long img alt text which includes linebreaks. This uses a simpler regexp for alt text.

SAK-44702 Long img alt text with linebreaks can cause StackOverflowError (#8832)

The paragraph regexp is too complex for long img alt text which includes linebreaks. This uses a simpler regexp for alt text.

(cherry picked from commit c798cf8f64f59f02cd1c1bee7ecf11d59ef21c86)

SAK-44261 Use the stateful quartz wrapper for the SiteStats aggregation job (#8545)

* SAK-44261 Use the stateful quartz wrapper for the SiteStats aggregation job

This commit also removes the CR line-endings from components.xml, so view without

whitespace changes to see the actual update.

* SAK-44261 Update comment on use of stateful job

(cherry picked from commit 668ed80a094495251d353db8033000143b0e1af2)

SAK-44261 Use the stateful quartz wrapper for the SiteStats aggregation job (#8545)

* SAK-44261 Use the stateful quartz wrapper for the SiteStats aggregation job

This commit also removes the CR line-endings from components.xml, so view without

whitespace changes to see the actual update.

* SAK-44261 Update comment on use of stateful job

SAK-39977 Restore correct operation of the Online tool (#8491)

Set the initial view correctly again

SAK-39977 remove courier (#8451)

* SAK-44066 Remove courier from portal presence

This removes the functional use of /courier/ URLs from the portal presence tool,

eliminating end-user requests to /courier/... which serve no purpose, because

requesting the presence list itself also serves to establish the user's presence in a site,

and the morpheus js refreshes the presence anyway.

Complete cleanup left for SAK-39977, including removal of scheduleUpdate() from headscripts.js

which is referenced from some other places too (JSF widgets).

Should be mergeable back to 20.x

* SAK-39977 Remove courier code

This touches a lot of code mostly because of the velocity templates. The only

place this seems to be used is in the Admin / Online tool. This changes removes

the auto-refresh functionality.

* SAK-39977 Remove courier code

Further cleanup of unused code

Co-authored-by: Earle Nietzel <earle@longsight.com>

    • -4
    • +0
    /announcement/announcement-tool/tool/pom.xml
  1. … 82 more files in changeset.
SAK-43712 Fix regression in members who have not visited site (#8467)

(cherry picked from commit 2c96eff3ba29f21f327d9118b99ea4ef79457f2d)

SAK-43712 Fix regression in members who have not visited site (#8467)

SAK-44066 Remove courier from portal presence (#8431)

This removes the functional use of /courier/ URLs from the portal presence tool,

eliminating end-user requests to /courier/... which serve no purpose, because

requesting the presence list itself also serves to establish the user's presence in a site,

and the morpheus js refreshes the presence anyway.

Complete cleanup left for SAK-39977, including removal of scheduleUpdate() from headscripts.js

which is referenced from some other places too (JSF widgets).

Should be mergeable back to 20.x

SAK-44057 Improve entitybroker DHS getCurrentLocationReference (#8430)

There is no need to get the site here, as the transformation from

a site id (context) to a site reference is a simple string manipulation

for which SiteService already has a method.

SAK-43666 Files over 2G have incorrect file size (#8232)

Switch from Spring FileCopyUtils which returns an int to

commons-io IOUtils.copyLarge which returns long for file length,

to avoid getting an incorrect content length when uploading files

larger than 2G.

SAK-43666 Files over 2G have incorrect file size (#8232)

Switch from Spring FileCopyUtils which returns an int to

commons-io IOUtils.copyLarge which returns long for file length,

to avoid getting an incorrect content length when uploading files

larger than 2G.

(cherry picked from commit a76d21fa67ed34420955b4938f8f5ebadff8e26a)

SAK-43666 Files over 2G have incorrect file size (#8232)

Switch from Spring FileCopyUtils which returns an int to

commons-io IOUtils.copyLarge which returns long for file length,

to avoid getting an incorrect content length when uploading files

larger than 2G.

(cherry picked from commit a76d21fa67ed34420955b4938f8f5ebadff8e26a)

SAK-42688 Tool configuration option for duplication (#7487)

Add a tool configuration option that prevents a tool from being duplicated to a new site

When a site is duplicated, tools with this configuration:

<configuration name="allowToolDuplicate" value="false" />

will not be copied to the duplicated site.

SAK-42630 Avoid a possible NPE when catching errors during assessment preview (#7435)

DeliveryActionListener has a large try/catch block that catches RuntimeException

and then adds an error the error log.

If an exception is caught for an assessment preview, the real error is masked

because the T&Q event logging code attempts to get an assessmentGradingId

which is null (and really there's nothing meaningful to log here since it's a

preview and the event log doesn't log previews).

So we should check for that and throw the real exception earlier before

attempting to update the event log.

SAK-42451 Allow CM services to be used with a SecurityAdvisor (#7329)

Introduces a pseudo permission and reference that can be allowed

in a SecurityAdvisor to enable code to perform CM updates, without

requiring the user session to be set to admin.

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.

SAK-41785 Retry setup of the LDAP connection pool after startup if it's null (#6905)

SAK-41271 Fixes some broken wiki macros (#6515)

(cherry picked from commit d0e030b1733cbedf8dce07014b32b00c8cf88a56)

SAK-41271 Fixes some broken wiki macros (#6515)

(cherry picked from commit d0e030b1733cbedf8dce07014b32b00c8cf88a56)

SAK-41271 Fixes some broken wiki macros (#6515)