LSNBLDR-727 Made LB-CSS folder hidden by default. (#3421)

In SimplePageBean class when LB-CSS folder is added in resources, the

PROP_HIDDEN_WITH_ACCESSIBLE_CONTENT property is set to true for the folder.

For the existing LB-CSS folders in database a new job(class) -

LBCSSFolderHideJob is added. When this job is run , it will hide all the

visible LB-CSS folders from access users.

SAK-31821 Rearranged CK editor templates ,placed strange template at last. (#3423)

Reordered templates in 'default.js' to have WISE templates at top,multiple

boxes and pre-existing templates next and strange template at the bottom.

SAK-30230 Duplicate site now displays alert message when created. (#3291)

Adjusted the position of flash bar in tool_base.css.

    • -1
    • +1
    /reference/library/src/webapp/skin/tool_base.css
SAK-31705 Added 'Search Users' facility to ste-info. (#3240)

Added Search input and clear search in the chef_site-siteInfo-list.vm.

If search word is in session state then Participant List is filtered for

the search term in each Participant's displayName and displayId.

Corrected the position of search box in the participant's table.

Have added new variable to STATE_SITE_PARTICIPANT_LIST in SiteAction class

to save the original site members list. Search is case insensitive.

SAK-31556 Become User redirects to welcome page not to Admin workspace. (#3098)

Have removed the redirect to template 'redirect' and used

'context.redirect' to directly go to portal Url.

SAK-31556 Become User redirects to welcome page not to Admin workspace. (#3098)

Have removed the redirect to template 'redirect' and used

'context.redirect' to directly go to portal Url.

LSNBLDR-701 created Lessons component to show latest announcements. (#3106)

Added new dialog for Announcements in ShowPage.html ,related variables

and function are added in 'SimplePageBean.java' to create/edit

SimplePageItem of type ANNOUNCEMENTS for Announcements summary widget.

'messages.properties' is edited to add new texts.

For merged announcements, if user has no access to the site get public

messages from the site.Added method 'getMessagesPublic' to fetch all

public messages from the channel.

    • -0
    • +57
    /lessonbuilder/tool/src/webapp/js/announcements.js
    • -0
    • +56
    /lessonbuilder/tool/src/webapp/js/show-page.js
SAK-31389 Added a site property, when set ,will reset tools for the site. (#2888)

new property 'portal.experimental.auto.reset' can be added for a site to

reset all tools on the site at each navigation operation.

In 'getPageUrl' method site properties are checked for new parameter

CONFIG_AUTO_RESET, if it's set then each tool on the site will have reset

url.

(cherry picked from commit 9642c491157bc92c7e88cd514117c5126e96c0f4)

Conflicts:

portal/portal-util/util/src/java/org/sakaiproject/portal/util/ToolUtils.java

SAK-31389 Added a site property, when set ,will reset tools for the site. (#2888)

new property 'portal.experimental.auto.reset' can be added for a site to

reset all tools on the site at each navigation operation.

In 'getPageUrl' method site properties are checked for new parameter

CONFIG_AUTO_RESET, if it's set then each tool on the site will have reset

url.

SAK-31050 Added default email address if in case 'mail.support' is not set.

SAK-31050 Added default email address if in case 'mail.support' is not set.

SAK-30228 Citation with a link to file in FilePicker will be of type (#2303)

electronic.

Previous fix got overridden because of the reimplementation of citations

Picker to use Resources's Picker Helper.

SAK-30228 Citation with a link to file in FilePicker will be of type (#2303)

electronic.

Previous fix got overridden because of the reimplementation of citations

Picker to use Resources's Picker Helper.

SAK-30853 Added correct url for Forums/topic in elFinder. (#2257)

Implemented 'getUrl' method for MsgCntrSiteVolumeFactory class so that

correct url is generated for a particular forum or topic in elfinder.

SAK-30853 Added correct url for Forums/topic in elFinder. (#2257)

Implemented 'getUrl' method for MsgCntrSiteVolumeFactory class so that

correct url is generated for a particular forum or topic in elfinder.

SAK-30854 Corrected url for assignments in elFinder.

Implemented getUrl method in AssignmentSiteVolumeFactory classwhich returns

correct url for each assignment item.

SAK-30854 Corrected url for assignments in elFinder.

Implemented getUrl method in AssignmentSiteVolumeFactory classwhich returns

correct url for each assignment item.

SAK-30159 Adding elFinder support to Assignments.

Added Assignments in the elfinder.Displaying assignments for the current

user in a particular site thus logged in user can see assignments which they

have permissions for. Closed and indraft assignments are not shown.

SAK-30159 Adding elFinder support to Assignments.

Added Assignments in the elfinder.Displaying assignments for the current

user in a particular site thus logged in user can see assignments which they

have permissions for. Closed and indraft assignments are not shown.

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. … 8 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. … 8 more files in changeset.
SAK-30279 Reimplement Citations Picker to use Resources's "Picker helper".

1.Redirect from citations helper to filepickerhelper using startHelper

method and set mode to edit_attachment.

2.extractCitationFromRunData extracts citation from attribute

FILE_PICKER_ATTACHMENTS in session.

3.On return from FilePickerHelper, buildEditAttachmentPanel makes use of

the above method to extract citation,set in it state and pass it onto

buildEditPanel.

4.Saving the Citation's ResourceToolAction pipe in the session before it

gets overwritten by the FilePickerAction's ResourceToolAction pipe during

new file upload and then reading it back from session after

FilePickerAction's pipe gets removed.

5.Have set the resourceId and resourceUuid into the state whenever a new

citation list is created. Removed STATE_RESOURCES_ADD attribute from state

in the doReviseCitation method as citation is already created .

SAK-30097 Removed hostname(server-url) from site-info url while storing in the DB.

Prepend the server url back to the site-info on the edit screen of home

page.

SAK-30121 Reordered the bullet points in contact us tool.

Added oxford comma as per review comment.

SAK-30230 Duplicate site now displays alert message when created.

Moved css from site manage for flash notifications.Added macro

for standard flash notification message and also added duplicate

site variables to context, displaying in flash notification UI.

    • -1
    • +23
    /reference/library/src/webapp/skin/tool_base.css
SAK-30228 Citation with a link to a file in Resources will be of type 'Electronic'.

when a citation is added using 'Sakai Resource Picker' it will always have a url

therefore setting it's media type as 'electronic' instead of 'unknown'.

SAK-30158 Added elFinder support to Forums.

Checked permissions for topics in forums before displaying in elfinder.

Using method 'isRead' of UIPermissionsManager class to check for reading

permissions

SAK-30181 Fixed the checkbox for 'use this link as title' in citations.

previously we were checking if checked attribute for the checkbox

is null or not which could be either true of false, so as per

the logic checkbox was not getting unchecked.now using 'ischecked'

SAK-30140 Electronic citation cannot be created without entering any value in the url.

Made url mandatory for an electronic citation.

SAK-29834 Student view has complete instructions for assignment submission.

Edited the 'assignment.properties' file to include the complete message.