Stephen Marquard

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-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)

SAK-41298 Document maxAuthenticationAge property for SAML auth (#6525)

* SAK-41298 Document maxAuthenticationAge property for SAML auth

* Update xlogin-context.saml.adfs-prod.xml

SAK-41298 Update the ADFS max auth age to 86400 (1 day) as ADFS sets this to the time of first login

(cherry picked from commit 03a98d62729666bd46251eed5d693acc0f2cebe7)

SAK-41298 Document maxAuthenticationAge property for SAML auth (#6525)

* SAK-41298 Document maxAuthenticationAge property for SAML auth

* Update xlogin-context.saml.adfs-prod.xml

SAK-41298 Update the ADFS max auth age to 86400 (1 day) as ADFS sets this to the time of first login

SAK-41179 Check create permission in the site wiki before attempting to create subspace default pages (#6458)

SAK-41179 Check create permission in the site wiki before attempting to create subspace default pages (#6458)

(cherry picked from commit d50332fde5eb050093aef862d1360c2ff341fcfe)

SAK-41165 Ignore invalid left and right params in page diff URLs (#6452)

Ignore these rather than throwing an exception, so we don't get a bug report.

The UI will never generate invalid params here, so this is to catch any

search engines or fuzzing scripts that request invalid URLs.

(cherry picked from commit 03a1f817691dfb2bcf6d58ffce426f9b8ca715b3)

SAK-41165 Ignore invalid left and right params in page diff URLs (#6452)

Ignore these rather than throwing an exception, so we don't get a bug report.

The UI will never generate invalid params here, so this is to catch any

search engines or fuzzing scripts that request invalid URLs.

SAK-40891 Use a static DocumentBuilderFactory for StorageUtils (#6224)

To mitigate threads blocking on filesystem access; see JIRA issue for more detailed explanation.

SAK-40891 Use a static DocumentBuilderFactory for StorageUtils (#6224)

To mitigate threads blocking on filesystem access; see JIRA issue for more detailed explanation.

(cherry picked from commit 6daf9659fda77d4f17d25b26a3a4c92eb74249bf)

SAK-40891 Use a static DocumentBuilderFactory for StorageUtils (#6224)

To mitigate threads blocking on filesystem access; see JIRA issue for more detailed explanation.

(cherry picked from commit 6daf9659fda77d4f17d25b26a3a4c92eb74249bf)

SAK-26580 Ignore cache creation attempt if it already exists (#6217)

Harmless to return null here.

(cherry picked from commit 3757bc3d3d93456d4deec92c650890dcc1f15e99)