mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-24 17:32:48 +00:00
. Fix to message properties file duplicates (as per forum post: http://www.alfresco.org/forums/viewtopic.php?p=3452#3452)
. And fix to spelling errors etc. as also noted in the post . Fix to AWC-468, so the Person for an User can be deleted even if the User doesn't exist due to previous Auth mechanism such as NTLM git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2291 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -91,15 +91,13 @@ recent_spaces=Recent Spaces
|
|||||||
shortcuts=Shortcuts
|
shortcuts=Shortcuts
|
||||||
company_home=Company Home
|
company_home=Company Home
|
||||||
my_home=My Home
|
my_home=My Home
|
||||||
advanced_search=Advanced Search
|
|
||||||
new_search=New Search
|
new_search=New Search
|
||||||
search_results=Search Results
|
search_results=Search Results
|
||||||
search_detail=Search for \"{0}\" results shown below
|
search_detail=Search for \"{0}\" results shown below
|
||||||
close_search=Close Search
|
close_search=Close Search
|
||||||
browse_spaces=Browse Spaces
|
browse_spaces=Browse Spaces
|
||||||
browse_content=Content items
|
browse_content=Content items
|
||||||
items=item(s)
|
location=Location
|
||||||
location=Item Location
|
|
||||||
toggle_shelf=Hide or Show the Shelf
|
toggle_shelf=Hide or Show the Shelf
|
||||||
shelf=Shelf
|
shelf=Shelf
|
||||||
actions=Actions
|
actions=Actions
|
||||||
@@ -107,7 +105,6 @@ view=View
|
|||||||
view_details=View Details
|
view_details=View Details
|
||||||
view_details_file=View Details for file
|
view_details_file=View Details for file
|
||||||
change_details=Change Details
|
change_details=Change Details
|
||||||
view_details=View Details
|
|
||||||
update=Update
|
update=Update
|
||||||
cut=Cut
|
cut=Cut
|
||||||
copy=Copy
|
copy=Copy
|
||||||
@@ -145,7 +142,6 @@ network_folder=Open Network Folder
|
|||||||
other_action=Run Action
|
other_action=Run Action
|
||||||
information=Information
|
information=Information
|
||||||
move=Move
|
move=Move
|
||||||
copy=Copy
|
|
||||||
type=Type
|
type=Type
|
||||||
aspect=Aspect
|
aspect=Aspect
|
||||||
workflow=Workflow
|
workflow=Workflow
|
||||||
@@ -154,7 +150,6 @@ system_error=System Error
|
|||||||
login=Login
|
login=Login
|
||||||
templates=Templates
|
templates=Templates
|
||||||
template=Template
|
template=Template
|
||||||
local=Local
|
|
||||||
select_button=Select...
|
select_button=Select...
|
||||||
select_items=Select items
|
select_items=Select items
|
||||||
select_an_item=Select an item
|
select_an_item=Select an item
|
||||||
@@ -225,10 +220,8 @@ manage_invited_users=Manage Space Users
|
|||||||
manage_content_users=Manage Content Users
|
manage_content_users=Manage Content Users
|
||||||
modify_user_roles=Modify User Roles for
|
modify_user_roles=Modify User Roles for
|
||||||
modify=Modify
|
modify=Modify
|
||||||
view=View
|
|
||||||
logout=Logout
|
logout=Logout
|
||||||
add=Add
|
add=Add
|
||||||
system_info=System Information
|
|
||||||
node_browser=Node Browser
|
node_browser=Node Browser
|
||||||
reset_config=Reset Config Service
|
reset_config=Reset Config Service
|
||||||
save=Save
|
save=Save
|
||||||
@@ -348,8 +341,6 @@ back_button=Back
|
|||||||
finish_button=Finish
|
finish_button=Finish
|
||||||
cancel_button=Cancel
|
cancel_button=Cancel
|
||||||
clear_button=Clear
|
clear_button=Clear
|
||||||
title=Title
|
|
||||||
description=Description
|
|
||||||
you_may_want=You may want to
|
you_may_want=You may want to
|
||||||
|
|
||||||
# Category Management messages
|
# Category Management messages
|
||||||
@@ -365,7 +356,6 @@ new_category=New Category
|
|||||||
category_props=Category Properties
|
category_props=Category Properties
|
||||||
items=Items
|
items=Items
|
||||||
title_delete_category=Delete Category
|
title_delete_category=Delete Category
|
||||||
delete_category=Delete Category
|
|
||||||
delete_category_warning=This category has {0} existing document(s) linked to it.
|
delete_category_warning=This category has {0} existing document(s) linked to it.
|
||||||
delete_category_info=To remove this category and all it's sub-categories, click Delete.
|
delete_category_info=To remove this category and all it's sub-categories, click Delete.
|
||||||
delete_category_confirm=Are you sure you want to delete category \"{0}\" and all sub-categories?
|
delete_category_confirm=Are you sure you want to delete category \"{0}\" and all sub-categories?
|
||||||
@@ -456,7 +446,6 @@ which_copy_current=Use copy in current space
|
|||||||
which_copy_other=Use copy uploaded from my computer
|
which_copy_other=Use copy uploaded from my computer
|
||||||
locate_doc_upload=Locate document to upload
|
locate_doc_upload=Locate document to upload
|
||||||
file_location=Location
|
file_location=Location
|
||||||
click_upload=Click upload
|
|
||||||
minor_change=Minor Change
|
minor_change=Minor Change
|
||||||
major_change=Major Change
|
major_change=Major Change
|
||||||
notes=Notes
|
notes=Notes
|
||||||
@@ -518,7 +507,7 @@ apply_dashboard_info=Select a template to be applied to the Space as a Dashboard
|
|||||||
export_info=Exports metadata and content from this or all Spaces.
|
export_info=Exports metadata and content from this or all Spaces.
|
||||||
export_from=Export From
|
export_from=Export From
|
||||||
package_name=Package Name
|
package_name=Package Name
|
||||||
all_spaces=Repository Root
|
all_spaces_root=Repository Root
|
||||||
current_space=Current Space
|
current_space=Current Space
|
||||||
include_children=Include Children
|
include_children=Include Children
|
||||||
include_self=Include this Space
|
include_self=Include this Space
|
||||||
@@ -546,8 +535,6 @@ locate_content_upload=Locate and upload your document to the repository.
|
|||||||
|
|
||||||
# Edit Workflow messages
|
# Edit Workflow messages
|
||||||
modify_workflow_props=Modify Properties of Simple Workflow
|
modify_workflow_props=Modify Properties of Simple Workflow
|
||||||
approve_flow=Approve Flow
|
|
||||||
reject_flow=Reject Flow
|
|
||||||
name_approve_step=Name for approve step
|
name_approve_step=Name for approve step
|
||||||
name_reject_step=Name for reject step
|
name_reject_step=Name for reject step
|
||||||
select_reject_step=Do you want to provide a reject step?
|
select_reject_step=Do you want to provide a reject step?
|
||||||
@@ -581,7 +568,7 @@ content_type=Content Type
|
|||||||
content_format=Content Format
|
content_format=Content Format
|
||||||
inline_editable=Inline Editable
|
inline_editable=Inline Editable
|
||||||
locate_document=Locate document to upload
|
locate_document=Locate document to upload
|
||||||
location=Location
|
content_location=Location
|
||||||
click_upload=Click upload
|
click_upload=Click upload
|
||||||
file_upload_success=The file ''{0}'' was uploaded successfully. If the file you uploaded does not exist, then an empty file will be created with the name you specified.
|
file_upload_success=The file ''{0}'' was uploaded successfully. If the file you uploaded does not exist, then an empty file will be created with the name you specified.
|
||||||
content_finish_instruction=To add the content to this space click Finish. To review or change your selections click Back.
|
content_finish_instruction=To add the content to this space click Finish. To review or change your selections click Back.
|
||||||
@@ -617,14 +604,12 @@ new_rule_finish_instruction_edit=To update the rule click Finish. To review or c
|
|||||||
select_action=Select Action
|
select_action=Select Action
|
||||||
select_an_action=Select an action...
|
select_an_action=Select an action...
|
||||||
action=Action
|
action=Action
|
||||||
actions=Actions
|
|
||||||
action_settings=Action Settings
|
action_settings=Action Settings
|
||||||
set_action_values=Set action values
|
set_action_values=Set action values
|
||||||
select_feature=Select required feature
|
select_feature=Select required feature
|
||||||
version_notes=Version Notes
|
version_notes=Version Notes
|
||||||
checkout_location=Check out location
|
checkout_location=Check out location
|
||||||
destination=Destination
|
destination=Destination
|
||||||
subject=Subject
|
|
||||||
message=Message
|
message=Message
|
||||||
category=Category
|
category=Category
|
||||||
categories=Categories
|
categories=Categories
|
||||||
@@ -652,7 +637,7 @@ apply_to_sub_spaces=Apply rule to sub spaces
|
|||||||
run_in_background=Run rule in background
|
run_in_background=Run rule in background
|
||||||
not=Not
|
not=Not
|
||||||
click_set_and_add=Click to set values and add to list
|
click_set_and_add=Click to set values and add to list
|
||||||
click_add=Click to add to list
|
click_add_to_list=Click to add to list
|
||||||
set_and_add_button=Set Values and Add
|
set_and_add_button=Set Values and Add
|
||||||
selected_conditions=Selected Rule Conditions
|
selected_conditions=Selected Rule Conditions
|
||||||
selected_actions=Selected Rule Actions
|
selected_actions=Selected Rule Actions
|
||||||
@@ -713,7 +698,6 @@ how_to_create_space=How do you want to create your space?
|
|||||||
from_scratch=From scratch
|
from_scratch=From scratch
|
||||||
based_on_existing_space=Based on an existing space
|
based_on_existing_space=Based on an existing space
|
||||||
using_a_template=Using a template
|
using_a_template=Using a template
|
||||||
choose_space_icon=Choose space icon
|
|
||||||
existing_space=Existing Space
|
existing_space=Existing Space
|
||||||
copy_existing_space=Copy existing space
|
copy_existing_space=Copy existing space
|
||||||
structure=Structure
|
structure=Structure
|
||||||
@@ -889,6 +873,7 @@ error_rule=Failed to create Rule due to error: {0}
|
|||||||
error_space=Failed to create new space due to error: {0}
|
error_space=Failed to create new space due to error: {0}
|
||||||
error_person=Failed to create Person due to error: {0}
|
error_person=Failed to create Person due to error: {0}
|
||||||
error_delete_user=Failed to delete User due to error: {0}
|
error_delete_user=Failed to delete User due to error: {0}
|
||||||
|
error_delete_user_object=Unable to delete the User object associated with the Person. This is not an error if an external authentication mechanism such as NTLM was previously active.
|
||||||
error_remove_user=Failed to remove User due to error: {0}
|
error_remove_user=Failed to remove User due to error: {0}
|
||||||
error_password_match=Please ensure that both password fields contain the same value.
|
error_password_match=Please ensure that both password fields contain the same value.
|
||||||
error_property=Property ''{0}'' is not available for this node
|
error_property=Property ''{0}'' is not available for this node
|
||||||
|
@@ -27,6 +27,7 @@ import javax.faces.event.ActionEvent;
|
|||||||
import javax.transaction.UserTransaction;
|
import javax.transaction.UserTransaction;
|
||||||
|
|
||||||
import org.alfresco.model.ContentModel;
|
import org.alfresco.model.ContentModel;
|
||||||
|
import org.alfresco.repo.security.authentication.AuthenticationException;
|
||||||
import org.alfresco.service.cmr.repository.InvalidNodeRefException;
|
import org.alfresco.service.cmr.repository.InvalidNodeRefException;
|
||||||
import org.alfresco.service.cmr.repository.NodeRef;
|
import org.alfresco.service.cmr.repository.NodeRef;
|
||||||
import org.alfresco.service.cmr.repository.NodeService;
|
import org.alfresco.service.cmr.repository.NodeService;
|
||||||
@@ -54,6 +55,7 @@ public class UsersBean implements IContextListener
|
|||||||
|
|
||||||
public static final String ERROR_PASSWORD_MATCH = "error_password_match";
|
public static final String ERROR_PASSWORD_MATCH = "error_password_match";
|
||||||
private static final String ERROR_DELETE = "error_delete_user";
|
private static final String ERROR_DELETE = "error_delete_user";
|
||||||
|
private static final String ERROR_USER_DELETE = "error_delete_user_object";
|
||||||
|
|
||||||
private static final String DEFAULT_OUTCOME = "manageUsers";
|
private static final String DEFAULT_OUTCOME = "manageUsers";
|
||||||
|
|
||||||
@@ -78,6 +80,7 @@ public class UsersBean implements IContextListener
|
|||||||
private String confirm = null;
|
private String confirm = null;
|
||||||
private String searchCriteria = null;
|
private String searchCriteria = null;
|
||||||
|
|
||||||
|
|
||||||
// ------------------------------------------------------------------------------
|
// ------------------------------------------------------------------------------
|
||||||
// Construction
|
// Construction
|
||||||
|
|
||||||
@@ -264,7 +267,14 @@ public class UsersBean implements IContextListener
|
|||||||
if (session.get(LoginBean.LOGIN_EXTERNAL_AUTH) == null)
|
if (session.get(LoginBean.LOGIN_EXTERNAL_AUTH) == null)
|
||||||
{
|
{
|
||||||
// delete the User authentication
|
// delete the User authentication
|
||||||
authenticationService.deleteAuthentication((String) getPerson().getProperties().get("userName"));
|
try
|
||||||
|
{
|
||||||
|
authenticationService.deleteAuthentication((String) getPerson().getProperties().get("userName"));
|
||||||
|
}
|
||||||
|
catch (AuthenticationException authErr)
|
||||||
|
{
|
||||||
|
Utils.addErrorMessage(Application.getMessage(FacesContext.getCurrentInstance(), ERROR_USER_DELETE));
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// delete the associated Person
|
// delete the associated Person
|
||||||
|
@@ -145,7 +145,7 @@
|
|||||||
<td>
|
<td>
|
||||||
<h:selectOneRadio value="#{ExportDialog.mode}" layout="pageDirection">
|
<h:selectOneRadio value="#{ExportDialog.mode}" layout="pageDirection">
|
||||||
<f:selectItem itemValue="current" itemLabel="#{msg.current_space}" />
|
<f:selectItem itemValue="current" itemLabel="#{msg.current_space}" />
|
||||||
<f:selectItem itemValue="all" itemLabel="#{msg.all_spaces}" />
|
<f:selectItem itemValue="all" itemLabel="#{msg.all_spaces_root}" />
|
||||||
</h:selectOneRadio>
|
</h:selectOneRadio>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
@@ -132,7 +132,7 @@
|
|||||||
<r:uploadForm>
|
<r:uploadForm>
|
||||||
<tr>
|
<tr>
|
||||||
<td>
|
<td>
|
||||||
<h:outputText value="#{msg.location}"/>:<input style="margin-left:12px;" type="file" size="50" name="alfFileInput"/>
|
<h:outputText value="#{msg.content_location}"/>:<input style="margin-left:12px;" type="file" size="50" name="alfFileInput"/>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr><td class="paddingRow"></td></tr>
|
<tr><td class="paddingRow"></td></tr>
|
||||||
|
@@ -259,7 +259,7 @@
|
|||||||
|
|
||||||
// also check to see if the 'no-condition' option has been selected, if it has, change
|
// also check to see if the 'no-condition' option has been selected, if it has, change
|
||||||
// the explanation text and the button label
|
// the explanation text and the button label
|
||||||
var short_text = "<a:outputText value='#{msg.click_add}'/>";
|
var short_text = "<a:outputText value='#{msg.click_add_to_list}'/>";
|
||||||
var long_text = "<a:outputText value='#{msg.click_set_and_add}'/>";
|
var long_text = "<a:outputText value='#{msg.click_set_and_add}'/>";
|
||||||
var short_label = "<a:outputText value='#{msg.add_to_list_button}'/>";
|
var short_label = "<a:outputText value='#{msg.add_to_list_button}'/>";
|
||||||
var long_label = "<a:outputText value='#{msg.set_and_add_button}'/>";
|
var long_label = "<a:outputText value='#{msg.set_and_add_button}'/>";
|
||||||
|
Reference in New Issue
Block a user