simias-svn Mailing List for simias (Page 5)
Brought to you by:
srinidhi_bs
You can subscribe to this list here.
| 2009 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
(6) |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2010 |
Jan
|
Feb
(16) |
Mar
(9) |
Apr
(20) |
May
(24) |
Jun
(30) |
Jul
(29) |
Aug
(47) |
Sep
(11) |
Oct
(5) |
Nov
(3) |
Dec
(1) |
| 2011 |
Jan
(5) |
Feb
(2) |
Mar
(6) |
Apr
(15) |
May
(3) |
Jun
(2) |
Jul
(2) |
Aug
(5) |
Sep
(1) |
Oct
|
Nov
|
Dec
|
| 2012 |
Jan
|
Feb
|
Mar
(1) |
Apr
(5) |
May
(1) |
Jun
|
Jul
|
Aug
|
Sep
(1) |
Oct
|
Nov
|
Dec
|
| 2013 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
(1) |
Aug
(6) |
Sep
(20) |
Oct
(5) |
Nov
|
Dec
|
| 2014 |
Jan
|
Feb
(3) |
Mar
(2) |
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| 2016 |
Jan
|
Feb
|
Mar
|
Apr
(1) |
May
(4) |
Jun
|
Jul
(1) |
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| 2017 |
Jan
|
Feb
|
Mar
(1) |
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
|
From: <he...@us...> - 2010-10-13 10:43:27
|
Revision: 7529
http://simias.svn.sourceforge.net/simias/?rev=7529&view=rev
Author: hegdegg
Date: 2010-10-13 10:43:20 +0000 (Wed, 13 Oct 2010)
Log Message:
-----------
ID:#624816
Reviewer: Ramesh
Localization Required: No
Documentation Required: No
Description: Confirmation done before removing the slave server. After
slave server is removed, config file removed to ensure it cant get
restarted.
Modified Paths:
--------------
trunk/src/core/Common/Configuration.cs
trunk/src/server/setup/SimiasServerSetup.cs
Modified: trunk/src/core/Common/Configuration.cs
===================================================================
--- trunk/src/core/Common/Configuration.cs 2010-10-06 12:56:50 UTC (rev 7528)
+++ trunk/src/core/Common/Configuration.cs 2010-10-13 10:43:20 UTC (rev 7529)
@@ -48,6 +48,8 @@
{
#region Class Members
public const string DefaultConfigFileName = "Simias.config";
+ public const string RenamedConfigFileName = "Simiasconfig.removed";
+
private const string SectionTag = "section";
private const string SettingTag = "setting";
Modified: trunk/src/server/setup/SimiasServerSetup.cs
===================================================================
--- trunk/src/server/setup/SimiasServerSetup.cs 2010-10-06 12:56:50 UTC (rev 7528)
+++ trunk/src/server/setup/SimiasServerSetup.cs 2010-10-13 10:43:20 UTC (rev 7529)
@@ -168,8 +168,11 @@
#endregion
#region Options
-
/// <summary>
+ /// Confirm slave server remove
+ /// </summary>
+ public BoolOption confirmDelete = new BoolOption("confirm-delete", "Removing this server will make iFolders on this server unaccessible. Do you want to proceed", "Confirm slave server remove", false, true);
+ /// <summary>
/// The store path.
/// </summary>
public Option path = new Option("path,p", "Server's Data Path", "Path to the server's data files", true, "/var/simias/data");
@@ -381,7 +384,8 @@
// On windows we do not want to prompt for these values.
apache.Value = false;
#endif
-
+ confirmDelete.Prompt = false;
+ confirmDelete.OnOptionEntered = new Option.OptionEnteredHandler( OnConfirmDelete );
path.OnOptionEntered = new Option.OptionEnteredHandler( OnPath );
// defaultConfigPath.OnOptionEntered = new Option.OptionEnteredHandler( OnDefaultConfig );
@@ -663,7 +667,16 @@
}
return true;
}
-
+ /// <summary>
+ /// Confirm slave server removal.
+ /// </summary>
+ /// <returns>true if confirmed </returns>
+ private bool OnConfirmDelete()
+ {
+ if ( !confirmDelete.Value )
+ System.Environment.Exit( -1 );
+ return true;
+ }
/// <summary>
/// called during public URL selection
/// </summary>
@@ -1464,7 +1477,7 @@
/// <returns>true if fields of simias-server-setup set successfully</returns>
private bool OnRemove()
{
- path.Prompt = systemAdminPassword.Prompt = true;
+ path.Prompt = systemAdminPassword.Prompt = confirmDelete.Prompt = true;
systemName.Prompt = systemDescription.Prompt = systemAdminDN.Prompt = publicUrl.Prompt = slaveServer.Prompt =
useLdap.Prompt = ldapServer.Prompt = ldapPlugin.Prompt = secure.Prompt = ldapProxyDN.Prompt = ldapSearchContext.Prompt =
namingAttribute.Prompt = privateUrl.Prompt = serverName.Prompt = useSsl.Prompt =
@@ -2235,6 +2248,17 @@
Console.WriteLine("Failed to read \"Master server URL\" from \"{0}\"",configFile);
return false;
}
+
+ try {
+ // rename config file so that if server is restarted it should not be coming up.
+ // FIXME: need a better way, may be we could have another option remove-with-data and clean up all
+ System.IO.File.Move(configFile, Path.Combine( storePath, Configuration.RenamedConfigFileName ) );
+ }
+ catch
+ {
+ Console.WriteLine("Unable to rename config file : {)}", configFile);
+ }
+
if(!UnRegisterSlaveFromMaster(systemAdminDN.Value,serverName.Value))
{
return false;
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <sp...@us...> - 2010-10-06 12:56:56
|
Revision: 7528
http://simias.svn.sourceforge.net/simias/?rev=7528&view=rev
Author: spkumar
Date: 2010-10-06 12:56:50 +0000 (Wed, 06 Oct 2010)
Log Message:
-----------
ID:#587912
Reviewer: Ramesh
Localization Required: No
Documentation Required: No
Description: fixed an issue while handling renamed users during LDAP
sync
Modified Paths:
--------------
trunk/src/server/Simias.Server/IdentitySyncService.cs
Modified: trunk/src/server/Simias.Server/IdentitySyncService.cs
===================================================================
--- trunk/src/server/Simias.Server/IdentitySyncService.cs 2010-09-24 14:28:25 UTC (rev 7527)
+++ trunk/src/server/Simias.Server/IdentitySyncService.cs 2010-10-06 12:56:50 UTC (rev 7528)
@@ -385,6 +385,15 @@
try
{
member = domain.GetMemberByName( Username );
+ if (member == null && !String.IsNullOrEmpty(UserGuid)){
+ //Note: In case of renamed users teh user name will be different and the GUID will be same.
+ //Search if the user already exist with the GUID.
+ member = domain.GetMemberByID(UserGuid);
+ if (member != null){
+ //TBD:iFolder needs to handle the renamed users properly.
+ log.Info("This user is renamed on the LDAP server. Old Username = {0}, new Username= {1}", member.Name, Username);
+ }
+ }
}
catch{}
if ( member != null )
@@ -530,66 +539,12 @@
{
member.Properties.ModifyProperty( prop );
}
- // while creating member, if sum of allocated disk quota per user is equal to aggregate disk quota set on group
- // then set 0 MB as disk quota limit for this user
- {
- string [] GroupIDs = domain.GetMemberFamilyList(member.UserID);
- foreach(string GroupID in GroupIDs)
- {
- bool IsChildGroup = false;
- Member GroupAsMember = domain.GetMemberByID(GroupID);
- string ParentGroups = null;
- Property p = GroupAsMember.Properties.GetSingleProperty( "UserGroups" );
- if(p != null)
- ParentGroups = p.Value as string;
-
- if(ParentGroups != null && ParentGroups != String.Empty)
- {
- // no point in
- IsChildGroup = true;
- }
- long GroupDiskQuota = GroupAsMember.AggregateDiskQuota;
- if(GroupDiskQuota < 0)
- {
-
- if( IsChildGroup )
- continue;
- else
- {
- Simias.Policy.DiskSpaceQuota.Set(member, -1);
- log.Debug("MEMBERADD: No aggregate Disk Quota set for group, so it will set unlimited space for newly added member");
- break;
- }
-
- }
- if( domain.GroupQuotaRestrictionMethod == (int)QuotaRestriction.UI_Based )
- {
- // add the allocated disk quota per user for whole group
- long SizeAllocatedToMembers = 0;
- string [] MembersList = domain.GetGroupsMemberList( GroupID );
- foreach( string GroupMemberID in MembersList)
- {
- long MemberAllocation = Simias.Policy.DiskSpaceQuota.Get( domain.GetMemberByID(GroupMemberID)).Limit;
- if( MemberAllocation >= 0 )
- SizeAllocatedToMembers += MemberAllocation;
- }
- if( SizeAllocatedToMembers >= GroupDiskQuota )
- {
- log.Debug("MEMBERADD: Sum of Disk Quota per user for all users is equal to aggregate disk quota set for group, so committing 0 MB for newly added user");
- Simias.Policy.DiskSpaceQuota.Set(member, 0);
- break;
- }
-
- }
- }
- }
-
-
status = MemberStatus.Created;
}
catch( Exception ex )
{
+ log.Debug("Failed Creating member: "+Username + ex.Message);
this.ReportError( "Failed creating member: " + Username + ex.Message );
return;
}
@@ -628,6 +583,12 @@
public void ReportError( string ErrorMsg )
{
reportedErrors++;
+ log.Debug( "Error occured in Sync");
+ log.Debug(
+ String.Format(
+ "ERROR:{0} - {1}",
+ DateTime.Now.ToString(),
+ ErrorMsg ) );
syncMessages.Add(
String.Format(
"ERROR:{0} - {1}",
@@ -1441,6 +1402,10 @@
{
ProcessDeletedMembers( state );
}
+ else
+ {
+ log.Error("Errors occured during Identity Sync, skipping processing of user deletion");
+ }
}
catch( Exception ex )
{
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <he...@us...> - 2010-09-24 13:33:53
|
Revision: 7526
http://simias.svn.sourceforge.net/simias/?rev=7526&view=rev
Author: hegdegg
Date: 2010-09-24 13:33:47 +0000 (Fri, 24 Sep 2010)
Log Message:
-----------
ID:#444475
Reviewer: Arul, Ramesh
Localization Required: No
Documentation Required: No
Description: Check to make sure when datastore path is not accessible
its logged and SimiasException is thrown.
Modified Paths:
--------------
trunk/src/core/WebService/Global.asax.cs
Modified: trunk/src/core/WebService/Global.asax.cs
===================================================================
--- trunk/src/core/WebService/Global.asax.cs 2010-09-24 13:12:00 UTC (rev 7525)
+++ trunk/src/core/WebService/Global.asax.cs 2010-09-24 13:33:47 UTC (rev 7526)
@@ -383,6 +383,13 @@
return;
}
+ if (!Directory.Exists(simiasDataPath))
+ {
+ if(verbose)
+ Console.Error.WriteLine("Simias data path {0} does not exist", simiasDataPath);
+ return;
+ }
+
string[] fileEntries =
Directory.GetFileSystemEntries(simiasDataPath);
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <jj...@us...> - 2010-09-23 09:37:04
|
Revision: 7522
http://simias.svn.sourceforge.net/simias/?rev=7522&view=rev
Author: jjohnny
Date: 2010-09-23 09:36:54 +0000 (Thu, 23 Sep 2010)
Log Message:
-----------
ID: Bug #582633
Reviewers: Srinidhi
Localization Required: No
Documentation Required: No
Description: In Webaccess, show file size when selected for upload.
Modified Paths:
--------------
trunk/src/webaccess/js/multifile.js
Modified: trunk/src/webaccess/js/multifile.js
===================================================================
--- trunk/src/webaccess/js/multifile.js 2010-09-23 08:18:42 UTC (rev 7521)
+++ trunk/src/webaccess/js/multifile.js 2010-09-23 09:36:54 UTC (rev 7522)
@@ -3,6 +3,14 @@
*
* Based on work by Stickman -- http://www.the-stickman.com
*/
+
+function bytesToSize(bytes) {
+ var sizes = ['bytes', 'kb', 'MB', 'GB', 'TB', 'PB'];
+ var e = Math.floor(Math.log(bytes)/Math.log(1024));
+ return (bytes/Math.pow(1024, Math.floor(e))).toFixed(2)+" "+sizes[e];
+};
+
+
function MultiFile(list, max)
{
this.list = list;
@@ -93,7 +101,7 @@
};
// row value
- new_row.innerHTML = element.value;
+ new_row.innerHTML = element.value + " (" + bytesToSize(element.files[0].fileSize) + ") ";
// add button
new_row.appendChild(new_row_button);
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <js...@us...> - 2010-09-23 08:18:49
|
Revision: 7521
http://simias.svn.sourceforge.net/simias/?rev=7521&view=rev
Author: jshaju
Date: 2010-09-23 08:18:42 +0000 (Thu, 23 Sep 2010)
Log Message:
-----------
ID: bug#579136
Reviewer: anil
Localization Required: yes
Documentation Required: yes
Description: Added description for delete button in usermove page
Modified Paths:
--------------
trunk/src/admin/help/en/usermove.html
Modified: trunk/src/admin/help/en/usermove.html
===================================================================
--- trunk/src/admin/help/en/usermove.html 2010-09-22 12:33:08 UTC (rev 7520)
+++ trunk/src/admin/help/en/usermove.html 2010-09-23 08:18:42 UTC (rev 7521)
@@ -65,31 +65,24 @@
<P> Type</P>
</TD>
<TD>
- <P>Shows whether the users are <img src="../../images/provi_user.png" alt="Folder icon"> provisioned or <img src="../../images/unprovi_user.png" alt="Shared icon">unprovisioned users.
- </TD></TR><TR><TD VALIGN="TOP">
+ <P>Shows whether the users are <img src="../../images/provi_user.png" alt="Folder icon"> provisioned or <img src="../../images/unprovi_user.png" alt="Shared icon">unprovisioned users. </TD></TR><TR><TD VALIGN="TOP">
<P>User Name</P>
</TD>
<TD>
<P>Shows the username assigned to each user account, such as jsmith or
- joh...@ex....</P>
-
- </TD><TR><TD VALIGN="TOP">
+ joh...@ex....</P> </TD><TR><TD VALIGN="TOP">
<P>Current Home</P>
</TD>
<TD>
- <P>Shows the Home server assigned to a provisioned user. </P>
-
- </TD><TR><TD VALIGN="TOP">
+ <P>Shows the Home server assigned to a provisioned user. </P> </TD><TR><TD VALIGN="TOP">
<P>New Home</P>
</TD>
<TD>
- <P>Shows the new server to provision for the user.
- </TD></TR><TR><TD VALIGN="TOP">
+ <P>Shows the new server to provision for the user. </TD></TR><TR><TD VALIGN="TOP">
<P>Completed</P>
</TD>
<TD>
- <P>Shows the reprovisioning status as a percentage.
- </TD></TR><TR><TD VALIGN="TOP">
+ <P>Shows the reprovisioning status as a percentage. </TD></TR><TR><TD VALIGN="TOP">
<P>Reprovision State</P>
</TD>
<TD>
@@ -98,13 +91,18 @@
<BLOCKQUOTE>
<ul>
<li>Initializing</li>
+ <li>Initialization Failed</li>
<li>Initialized</li>
<li>Moving iFolder</li>
<li>Resetting Home</li>
<li>Finalizing</li>
</ul>
- </blockquote>
- </TD></TR></TABLE>
+ </blockquote> </TD></TR>
+ <TR>
+ <TD VALIGN="TOP">Delete</TD>
+ <TD>Click this button to delete incomplete user move requests. This button is enabled if the user move process encounters a problem during the Initializing stage. </TD>
+ </TR>
+ </TABLE>
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <mv...@us...> - 2010-09-22 12:33:14
|
Revision: 7520
http://simias.svn.sourceforge.net/simias/?rev=7520&view=rev
Author: mvikash
Date: 2010-09-22 12:33:08 +0000 (Wed, 22 Sep 2010)
Log Message:
-----------
localized string for many langauge for string Username and password in
Admin Login page were coming in 2 line.
Modified Paths:
--------------
trunk/src/admin/Login.aspx
Modified: trunk/src/admin/Login.aspx
===================================================================
--- trunk/src/admin/Login.aspx 2010-09-22 12:28:56 UTC (rev 7519)
+++ trunk/src/admin/Login.aspx 2010-09-22 12:33:08 UTC (rev 7520)
@@ -95,7 +95,7 @@
</tr>
<tr>
- <td class="logincontentlabel">
+ <td nowrap class="logincontentlabel">
<%= GetString("LOGINUSERNAME") %>
</td>
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <mv...@us...> - 2010-09-22 12:29:02
|
Revision: 7519
http://simias.svn.sourceforge.net/simias/?rev=7519&view=rev
Author: mvikash
Date: 2010-09-22 12:28:56 +0000 (Wed, 22 Sep 2010)
Log Message:
-----------
fixed truncation for provision/un-provision button in admin page
Modified Paths:
--------------
trunk/src/admin/ProvisionUsers.aspx.cs
Modified: trunk/src/admin/ProvisionUsers.aspx.cs
===================================================================
--- trunk/src/admin/ProvisionUsers.aspx.cs 2010-09-22 11:48:24 UTC (rev 7518)
+++ trunk/src/admin/ProvisionUsers.aspx.cs 2010-09-22 12:28:56 UTC (rev 7519)
@@ -292,11 +292,9 @@
CurrentUserOffset = 0;
TotalUsers = 0;
}
- string code = Thread.CurrentThread.CurrentUICulture.Name;
- if ( code.StartsWith("ru") || code.StartsWith("hu") )
- OkButton.Width = 330;
- else if ( code.StartsWith("de") )
- OkButton.Width = 400;
+ //TODO: Calculate size of string for localize string and set width of button with respect to it.
+ OkButton.Width = 250;
+
}
/// <summary>
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <mv...@us...> - 2010-09-22 11:48:30
|
Revision: 7518
http://simias.svn.sourceforge.net/simias/?rev=7518&view=rev
Author: mvikash
Date: 2010-09-22 11:48:24 +0000 (Wed, 22 Sep 2010)
Log Message:
-----------
changes done to fix random failure at time of iFolder creation through
webaccess.
Modified Paths:
--------------
trunk/src/webservices/iFolder.cs
Modified: trunk/src/webservices/iFolder.cs
===================================================================
--- trunk/src/webservices/iFolder.cs 2010-09-22 11:20:39 UTC (rev 7517)
+++ trunk/src/webservices/iFolder.cs 2010-09-22 11:48:24 UTC (rev 7518)
@@ -477,11 +477,27 @@
{
Store store = Store.GetStore ();
Domain domain = store.GetDomain(store.DefaultDomain);
-
+ Collection col = null;
+ string hostID =null;
CatalogEntry ce = Catalog.GetEntryByCollectionID (ifolderID);
+ if(ce == null)
+ {
+ log.Info("Entry for ifolderId:{0} is not found in catelog entry",ifolderID);
+ col = store.GetCollectionByID(ifolderID);
+ if(col ==null)
+ {
+ log.Info("Entry for ifolderID:{0} is not found in both Catelog as well as in local store",ifolderID);
+ throw new iFolderDoesNotExistException(ifolderID);
+ }
+ else
+ {
+ hostID = col.HostID;
+ }
+ }
+ else
+ hostID = ce.HostID;
+ HostNode remoteHost = new HostNode (domain.GetMemberByID(hostID));
- HostNode remoteHost = new HostNode (domain.GetMemberByID(ce.HostID));
-
return remoteHost.PublicUrl;
}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <jj...@us...> - 2010-09-22 11:20:45
|
Revision: 7517
http://simias.svn.sourceforge.net/simias/?rev=7517&view=rev
Author: jjohnny
Date: 2010-09-22 11:20:39 +0000 (Wed, 22 Sep 2010)
Log Message:
-----------
ID: Bug #605314
Reviewers: Srinidhi
Localization Required: No
Documentation Required: No
Description: Removed hardcoded 'wsdl' from makefile.am
Patch by C Sights <cs...@fa...>
Modified Paths:
--------------
trunk/src/core/SimiasClient/Makefile.am
Modified: trunk/src/core/SimiasClient/Makefile.am
===================================================================
--- trunk/src/core/SimiasClient/Makefile.am 2010-09-21 11:39:00 UTC (rev 7516)
+++ trunk/src/core/SimiasClient/Makefile.am 2010-09-22 11:20:39 UTC (rev 7517)
@@ -48,8 +48,8 @@
$(srcdir)/SimiasService2.cs: $(srcdir)/../WebService/Simias.wsdl
if LINUX
- wsdl -nologo -out:SimiasService2.cs $(srcdir)/../WebService/Simias.wsdl
- wsdl1 -nologo -out:SimiasService.cs $(srcdir)/../WebService/Simias.wsdl
+ $(WSDL) -nologo -out:SimiasService2.cs $(srcdir)/../WebService/Simias.wsdl
+ $(WSDL) -nologo -out:SimiasService.cs $(srcdir)/../WebService/Simias.wsdl
endif
SimiasClient.dll: $(srcdir)/AssemblyInfo.cs $(SimiasClient_CSFILES) $(SimiasClient_RESOURCES)
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <sp...@us...> - 2010-09-21 11:39:07
|
Revision: 7516
http://simias.svn.sourceforge.net/simias/?rev=7516&view=rev
Author: spkumar
Date: 2010-09-21 11:39:00 +0000 (Tue, 21 Sep 2010)
Log Message:
-----------
ID: #607394
Reviewer: Vikash
Localization Required: No
Documentation Required: Yes
Description: Error message changes
Modified Paths:
--------------
trunk/src/utils/restore/iFolderServer.cs
Modified: trunk/src/utils/restore/iFolderServer.cs
===================================================================
--- trunk/src/utils/restore/iFolderServer.cs 2010-09-21 10:36:43 UTC (rev 7515)
+++ trunk/src/utils/restore/iFolderServer.cs 2010-09-21 11:39:00 UTC (rev 7516)
@@ -1793,9 +1793,11 @@
if( String.IsNullOrEmpty(RedirectedNewServerUrl) )
{
- MainClass.DebugLog.Write(string.Format("Failed, fetching Home information for ifolder owner user:{0} on current server with exit status as: {1}",ifolder.OwnerUserName, "EmptyNewServerUrl"));
+ MainClass.DebugLog.Write(string.Format("Failed, fetching Home Server information for ifolder owner user:{0} on current server with exit status as: {1}",ifolder.OwnerUserName, "EmptyNewServerUrl"));
+ //Restore tool does not allow to restore the data if the owner does not exist on the server.
+ Console.WriteLine("| Error: Unable to get the home server information for the user: \'{0}\'. |",ifolder.OwnerUserName);
RestoreStatus = (int)status.EmptyNewServerUrl;
- return (int)status.EmptyNewServerUrl;
+ return (int)status.EmptyNewServerUrl;
}
MainClass.DebugLog.Write(string.Format("The redirected url is: {0}", RedirectedNewServerUrl));
@@ -3208,7 +3210,7 @@
Console.WriteLine("\n| Invalid User Name, User name does not exist in old data path. |");
break;
case (int)status.EmptyNewServerUrl:
- Console.WriteLine("\n| Input Current Server IP is Empty. |");
+ Console.WriteLine("| Restore Operation failed, iFolder owner does not exist on the iFolder Server |");
break;
case (int)status.PolicyRestoreFailed:
Console.WriteLine("\n| iFolder Policy Restore Failed. |");
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <he...@us...> - 2010-09-15 12:41:09
|
Revision: 7512
http://simias.svn.sourceforge.net/simias/?rev=7512&view=rev
Author: hegdegg
Date: 2010-09-15 12:41:03 +0000 (Wed, 15 Sep 2010)
Log Message:
-----------
ID: #626951
Reviewer: Anil
Localization Required: No
Documentation Required: Yes
Description: Letting admin user re provisioning.
Modified Paths:
--------------
trunk/src/admin/Users.aspx.cs
Modified: trunk/src/admin/Users.aspx.cs
===================================================================
--- trunk/src/admin/Users.aspx.cs 2010-09-15 11:14:08 UTC (rev 7511)
+++ trunk/src/admin/Users.aspx.cs 2010-09-15 12:41:03 UTC (rev 7512)
@@ -511,7 +511,9 @@
/// <returns>True if the user is allowed to be checked.</returns>
protected bool IsUserEnabled( object id )
{
- return !IsSuperAdmin( id as string );
+ // return !IsSuperAdmin( id as string );
+ // Letting all users for re-provision
+ return true;
}
/// <summary>
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <sp...@us...> - 2010-09-01 08:32:53
|
Revision: 7506
http://simias.svn.sourceforge.net/simias/?rev=7506&view=rev
Author: spkumar
Date: 2010-09-01 08:32:47 +0000 (Wed, 01 Sep 2010)
Log Message:
-----------
ID: Bug#636117
Reviewer: Ramesh
Localization Required: No
Documentation Required: No
Description: To fix an issue while validating the input paths
Modified Paths:
--------------
trunk/src/utils/restore/iFolderServer.cs
Modified: trunk/src/utils/restore/iFolderServer.cs
===================================================================
--- trunk/src/utils/restore/iFolderServer.cs 2010-09-01 08:29:05 UTC (rev 7505)
+++ trunk/src/utils/restore/iFolderServer.cs 2010-09-01 08:32:47 UTC (rev 7506)
@@ -2215,12 +2215,12 @@
}
else {
//Check for mandatory files in the given simias path
- string simiasPath = Path.Combine(DataPath, "/simias");;
+ string simiasPath = Path.Combine(DataPath, "simias");;
if( !Directory.Exists(simiasPath)) {
Console.WriteLine("| Error: simias directory does not exist at the specified path: {0} .|",DataPath);
return (int)status.InvalidBackupPath;
}
- string flaimdb= Path.Combine(DataPath, "/simias/FlaimSimias.db");
+ string flaimdb= Path.Combine(DataPath, "simias/FlaimSimias.db");
if(!File.Exists (flaimdb) ){
Console.WriteLine("| Error: iFolder simias database ({0}) does not exist at the specified path.|",flaimdb);
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <sp...@us...> - 2010-09-01 08:29:11
|
Revision: 7505
http://simias.svn.sourceforge.net/simias/?rev=7505&view=rev
Author: spkumar
Date: 2010-09-01 08:29:05 +0000 (Wed, 01 Sep 2010)
Log Message:
-----------
ID: Bug#636117
Reviewer: Ramesh
Localization Required: No
Documentation Required: No
Description: To fix an issue while validating the input paths
Modified Paths:
--------------
branches/iFolder_3.8.2_beta/src/utils/restore/iFolderServer.cs
Modified: branches/iFolder_3.8.2_beta/src/utils/restore/iFolderServer.cs
===================================================================
--- branches/iFolder_3.8.2_beta/src/utils/restore/iFolderServer.cs 2010-08-30 09:42:43 UTC (rev 7504)
+++ branches/iFolder_3.8.2_beta/src/utils/restore/iFolderServer.cs 2010-09-01 08:29:05 UTC (rev 7505)
@@ -2215,12 +2215,12 @@
}
else {
//Check for mandatory files in the given simias path
- string simiasPath = Path.Combine(DataPath, "/simias");;
+ string simiasPath = Path.Combine(DataPath, "simias");;
if( !Directory.Exists(simiasPath)) {
Console.WriteLine("| Error: simias directory does not exist at the specified path: {0} .|",DataPath);
return (int)status.InvalidBackupPath;
}
- string flaimdb= Path.Combine(DataPath, "/simias/FlaimSimias.db");
+ string flaimdb= Path.Combine(DataPath, "simias/FlaimSimias.db");
if(!File.Exists (flaimdb) ){
Console.WriteLine("| Error: iFolder simias database ({0}) does not exist at the specified path.|",flaimdb);
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <mv...@us...> - 2010-08-30 08:33:01
|
Revision: 7503
http://simias.svn.sourceforge.net/simias/?rev=7503&view=rev
Author: mvikash
Date: 2010-08-30 08:32:55 +0000 (Mon, 30 Aug 2010)
Log Message:
-----------
bump version from 3.8.0.4 to 3.8.0.5
Modified Paths:
--------------
branches/iFolder_3.8.0_updates/src/core/FlaimProvider/FlaimWrapper/FlaimWrapper.vcproj
branches/iFolder_3.8.0_updates/src/core/POBoxWS/Properties/AssemblyInfo.cs
branches/iFolder_3.8.0_updates/src/core/Properties/AssemblyInfo.cs
branches/iFolder_3.8.0_updates/src/core/SimiasApp/Properties/AssemblyInfo.cs
branches/iFolder_3.8.0_updates/src/core/SimiasClient/Properties/AssemblyInfo.cs
branches/iFolder_3.8.0_updates/src/core/SyncService/Properties/AssemblyInfo.cs
branches/iFolder_3.8.0_updates/src/core/WebService/Properties/AssemblyInfo.cs
Modified: branches/iFolder_3.8.0_updates/src/core/FlaimProvider/FlaimWrapper/FlaimWrapper.vcproj
===================================================================
--- branches/iFolder_3.8.0_updates/src/core/FlaimProvider/FlaimWrapper/FlaimWrapper.vcproj 2010-08-30 08:30:16 UTC (rev 7502)
+++ branches/iFolder_3.8.0_updates/src/core/FlaimProvider/FlaimWrapper/FlaimWrapper.vcproj 2010-08-30 08:32:55 UTC (rev 7503)
@@ -84,7 +84,7 @@
Name="VCLinkerTool"
AdditionalDependencies="rpcrt4.lib ws2_32.lib odbc32.lib odbccp32.lib flaim.lib msvcrt.lib"
OutputFile=".\Release/FlaimWrapper.dll"
- Version="3.8.0.4"
+ Version="3.8.0.5"
LinkIncremental="1"
SuppressStartupBanner="true"
AdditionalLibraryDirectories=""$(SolutionDir)..\..\dependencies\external\libflaim\win32""
@@ -186,7 +186,7 @@
Name="VCLinkerTool"
AdditionalDependencies="rpcrt4.lib ws2_32.lib odbc32.lib odbccp32.lib dbghelp.lib flaim.lib flaimtk.lib msvcrt.lib"
OutputFile=".\Release/FlaimWrapper.dll"
- Version="3.8.0.4"
+ Version="3.8.0.5"
LinkIncremental="1"
SuppressStartupBanner="true"
AdditionalLibraryDirectories=""$(SolutionDir)..\..\dependencies\external\libflaim\win64""
Modified: branches/iFolder_3.8.0_updates/src/core/POBoxWS/Properties/AssemblyInfo.cs
===================================================================
--- branches/iFolder_3.8.0_updates/src/core/POBoxWS/Properties/AssemblyInfo.cs 2010-08-30 08:30:16 UTC (rev 7502)
+++ branches/iFolder_3.8.0_updates/src/core/POBoxWS/Properties/AssemblyInfo.cs 2010-08-30 08:32:55 UTC (rev 7503)
@@ -28,6 +28,6 @@
// Minor Version
// Build Number
// Revision
-//
-[assembly: AssemblyVersion("3.8.0.4")]
-[assembly: AssemblyFileVersion("3.8.0.4")]
+//
+[assembly: AssemblyVersion("3.8.0.5")]
+[assembly: AssemblyFileVersion("3.8.0.5")]
Modified: branches/iFolder_3.8.0_updates/src/core/Properties/AssemblyInfo.cs
===================================================================
--- branches/iFolder_3.8.0_updates/src/core/Properties/AssemblyInfo.cs 2010-08-30 08:30:16 UTC (rev 7502)
+++ branches/iFolder_3.8.0_updates/src/core/Properties/AssemblyInfo.cs 2010-08-30 08:32:55 UTC (rev 7503)
@@ -28,6 +28,6 @@
// Minor Version
// Build Number
// Revision
-//
-[assembly: AssemblyVersion("3.8.0.4")]
-[assembly: AssemblyFileVersion("3.8.0.4")]
+//
+[assembly: AssemblyVersion("3.8.0.5")]
+[assembly: AssemblyFileVersion("3.8.0.5")]
Modified: branches/iFolder_3.8.0_updates/src/core/SimiasApp/Properties/AssemblyInfo.cs
===================================================================
--- branches/iFolder_3.8.0_updates/src/core/SimiasApp/Properties/AssemblyInfo.cs 2010-08-30 08:30:16 UTC (rev 7502)
+++ branches/iFolder_3.8.0_updates/src/core/SimiasApp/Properties/AssemblyInfo.cs 2010-08-30 08:32:55 UTC (rev 7503)
@@ -28,6 +28,6 @@
// Minor Version
// Build Number
// Revision
-//
-[assembly: AssemblyVersion("3.8.0.4")]
-[assembly: AssemblyFileVersion("3.8.0.4")]
+//
+[assembly: AssemblyVersion("3.8.0.5")]
+[assembly: AssemblyFileVersion("3.8.0.5")]
Modified: branches/iFolder_3.8.0_updates/src/core/SimiasClient/Properties/AssemblyInfo.cs
===================================================================
--- branches/iFolder_3.8.0_updates/src/core/SimiasClient/Properties/AssemblyInfo.cs 2010-08-30 08:30:16 UTC (rev 7502)
+++ branches/iFolder_3.8.0_updates/src/core/SimiasClient/Properties/AssemblyInfo.cs 2010-08-30 08:32:55 UTC (rev 7503)
@@ -28,6 +28,6 @@
// Minor Version
// Build Number
// Revision
-//
-[assembly: AssemblyVersion("3.8.0.4")]
-[assembly: AssemblyFileVersion("3.8.0.4")]
+//
+[assembly: AssemblyVersion("3.8.0.5")]
+[assembly: AssemblyFileVersion("3.8.0.5")]
Modified: branches/iFolder_3.8.0_updates/src/core/SyncService/Properties/AssemblyInfo.cs
===================================================================
--- branches/iFolder_3.8.0_updates/src/core/SyncService/Properties/AssemblyInfo.cs 2010-08-30 08:30:16 UTC (rev 7502)
+++ branches/iFolder_3.8.0_updates/src/core/SyncService/Properties/AssemblyInfo.cs 2010-08-30 08:32:55 UTC (rev 7503)
@@ -28,6 +28,6 @@
// Minor Version
// Build Number
// Revision
-//
-[assembly: AssemblyVersion("3.8.0.4")]
-[assembly: AssemblyFileVersion("3.8.0.4")]
+//
+[assembly: AssemblyVersion("3.8.0.5")]
+[assembly: AssemblyFileVersion("3.8.0.5")]
Modified: branches/iFolder_3.8.0_updates/src/core/WebService/Properties/AssemblyInfo.cs
===================================================================
--- branches/iFolder_3.8.0_updates/src/core/WebService/Properties/AssemblyInfo.cs 2010-08-30 08:30:16 UTC (rev 7502)
+++ branches/iFolder_3.8.0_updates/src/core/WebService/Properties/AssemblyInfo.cs 2010-08-30 08:32:55 UTC (rev 7503)
@@ -28,6 +28,6 @@
// Minor Version
// Build Number
// Revision
-//
-[assembly: AssemblyVersion("3.8.0.4")]
-[assembly: AssemblyFileVersion("3.8.0.4")]
+//
+[assembly: AssemblyVersion("3.8.0.5")]
+[assembly: AssemblyFileVersion("3.8.0.5")]
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <mv...@us...> - 2010-08-30 08:30:22
|
Revision: 7502
http://simias.svn.sourceforge.net/simias/?rev=7502&view=rev
Author: mvikash
Date: 2010-08-30 08:30:16 +0000 (Mon, 30 Aug 2010)
Log Message:
-----------
bump version from 3.8.0.4 to 3.8.0.5
Modified Paths:
--------------
branches/iFolder_3.8.0_updates/src/server/Simias.ClientUpdate/mac-version.config
branches/iFolder_3.8.0_updates/src/server/Simias.ClientUpdate/unix-version.config
branches/iFolder_3.8.0_updates/src/server/Simias.ClientUpdate/version.config
Modified: branches/iFolder_3.8.0_updates/src/server/Simias.ClientUpdate/mac-version.config
===================================================================
--- branches/iFolder_3.8.0_updates/src/server/Simias.ClientUpdate/mac-version.config 2010-08-30 06:37:46 UTC (rev 7501)
+++ branches/iFolder_3.8.0_updates/src/server/Simias.ClientUpdate/mac-version.config 2010-08-30 08:30:16 UTC (rev 7502)
@@ -7,7 +7,7 @@
<!-- Put Version string here. Should be in the format of
Major Version.Minor Version.Build Version.Revision
Example: <version>1.0.1817.29628</version> -->
- <version>3.8.0.4</version>
+ <version>3.8.0.5</version>
<!-- Put name of Mac ifolder client application file
to be upgraded here. The specified file must be in
Modified: branches/iFolder_3.8.0_updates/src/server/Simias.ClientUpdate/unix-version.config
===================================================================
--- branches/iFolder_3.8.0_updates/src/server/Simias.ClientUpdate/unix-version.config 2010-08-30 06:37:46 UTC (rev 7501)
+++ branches/iFolder_3.8.0_updates/src/server/Simias.ClientUpdate/unix-version.config 2010-08-30 08:30:16 UTC (rev 7502)
@@ -24,7 +24,7 @@
you are doing.
-->
<distribution match="DEFAULT">
- <version>3.8.0.4</version>
+ <version>3.8.0.5</version>
<download-directory>default</download-directory>
</distribution>
@@ -51,17 +51,17 @@
-->
<distribution match="SUSE Linux Enterprise Desktop 10">
- <version>3.8.0.4</version>
+ <version>3.8.0.5</version>
<download-directory>suse-linux-10.0</download-directory>
</distribution>
<distribution match="SUSE Linux Enterprise Desktop 11">
- <version>3.8.0.4</version>
+ <version>3.8.0.5</version>
<download-directory>suse-linux-11.0</download-directory>
</distribution>
<distribution match="openSUSE">
- <version>3.8.0.4</version>
+ <version>3.8.0.5</version>
<download-directory>opensuse-linux</download-directory>
</distribution>
Modified: branches/iFolder_3.8.0_updates/src/server/Simias.ClientUpdate/version.config
===================================================================
--- branches/iFolder_3.8.0_updates/src/server/Simias.ClientUpdate/version.config 2010-08-30 06:37:46 UTC (rev 7501)
+++ branches/iFolder_3.8.0_updates/src/server/Simias.ClientUpdate/version.config 2010-08-30 08:30:16 UTC (rev 7502)
@@ -4,15 +4,15 @@
with the one specified here by 'filename'. -->
<versioninfo>
<distribution match="windows32">
- <version>3.8.0.4</version>
+ <version>3.8.0.5</version>
<filename>ifolder3-windows.exe</filename>
</distribution>
<distribution match="windows64">
- <version>3.8.0.4</version>
+ <version>3.8.0.5</version>
<filename>ifolder3-windows-x64.exe</filename>
</distribution>
<distribution match="DEFAULT">
- <version>3.8.0.4</version>
+ <version>3.8.0.5</version>
<filename>ifolder3-windows.exe</filename>
</distribution>
</versioninfo>
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <mv...@us...> - 2010-08-30 06:37:52
|
Revision: 7501
http://simias.svn.sourceforge.net/simias/?rev=7501&view=rev
Author: mvikash
Date: 2010-08-30 06:37:46 +0000 (Mon, 30 Aug 2010)
Log Message:
-----------
Fix for #390110. Some .exe, .msi files gives conflict when merging. Making sure
that the hash map comparision is proper, before sync.
Modified Paths:
--------------
branches/iFolder_3.8.0_updates/src/core/Sync/ClientFile.cs
branches/iFolder_3.8.0_updates/src/core/Sync/StrongWeakHashtable.cs
Modified: branches/iFolder_3.8.0_updates/src/core/Sync/ClientFile.cs
===================================================================
--- branches/iFolder_3.8.0_updates/src/core/Sync/ClientFile.cs 2010-08-30 06:34:27 UTC (rev 7500)
+++ branches/iFolder_3.8.0_updates/src/core/Sync/ClientFile.cs 2010-08-30 06:37:46 UTC (rev 7501)
@@ -810,6 +810,7 @@
}
ReadPosition = 0;
+ int PrevMatchedBlock = -1;
while (bytesRead != 0)
{
bytesRead = Read(buffer, readOffset, bytesRead - readOffset);
@@ -836,17 +837,29 @@
if (table.Contains(entry.WeakHash))
{
entry.StrongHash = sh.ComputeHash(buffer, startByte, blockSize);
- HashEntry match = table.GetEntry(entry);
+ HashEntry match = null;
+ if (this.collection.Merge)
+ {
+ Log.log.Info("Calling get entry after block because merge...");
+ match = table.GetEntryAfterBlock(entry, PrevMatchedBlock + 1);
+ }
+ else
+ {
+ Log.log.Info("Calling get entry because not merge...");
+ match = table.GetEntry(entry);
+ }
+
if (match != null)
{
- Log.log.Fatal("found a match between :{0} ... {1}", startByte, endByte);
+ PrevMatchedBlock = match.BlockNumber;
+ Log.log.Info("found a match between :{0} ... {1}. PrevMatchedBlock: {2}", startByte, endByte, PrevMatchedBlock);
// We found a match save the match;
if (fileMap[match.BlockNumber] == -1)
{
fileMap[match.BlockNumber] = ReadPosition - bytesRead + startByte;
sizeToSync -= blockSize;
}
- Log.log.Fatal("sizeToSync :{0}", sizeToSync);
+ Log.log.Info("sizeToSync :{0}", sizeToSync);
startByte += blockSize;
endByte += blockSize;
recomputeWeakHash = true;
@@ -861,7 +874,7 @@
readOffset = bytesRead - startByte;
Array.Copy(buffer, startByte, buffer, 0, readOffset);
startByte = 0;
- Log.log.Fatal("readOffset for the next file read :{0}", readOffset);
+ Log.log.Info("readOffset for the next file read :{0}", readOffset);
}
else
{
@@ -877,8 +890,7 @@
///Compare the lastblock(which is less than the block size) provided all the blocks are matched
///Process the incomplete last block (always less than the block size)
///Process only once, donot increment the startbyte and compare since we are doing this only to verify the files are identical or not
-
- Log.log.Debug(" blockSize :{0} bytesRead :{1} sizeToSync :{2} ", blockSize, bytesRead, sizeToSync);
+ Log.log.Debug(" blockSize :{0} bytesRead :{1} sizeToSync :{2} ", blockSize, bytesRead, sizeToSync);
if(sizeToSync == bytesRead)
{
startByte = 0;
@@ -892,7 +904,18 @@
{
Log.log.Debug("Weak hash found for the last block");
entry.StrongHash = sh.ComputeHash(buffer, startByte, (ushort)endByte);
- HashEntry match = table.GetEntry(entry);
+ HashEntry match = null;
+ if (this.collection.Merge)
+ {
+ Log.log.Debug("Calling get entry after block because merge...");
+ match = table.GetEntryAfterBlock(entry, PrevMatchedBlock + 1);
+ }
+ else
+ {
+ Log.log.Info("Calling get entry because not a merge...");
+ match = table.GetEntry(entry);
+ }
+
if (match != null && fileMap[match.BlockNumber] == -1)
{
Log.log.Debug("Strong hash found for the last block");
Modified: branches/iFolder_3.8.0_updates/src/core/Sync/StrongWeakHashtable.cs
===================================================================
--- branches/iFolder_3.8.0_updates/src/core/Sync/StrongWeakHashtable.cs 2010-08-30 06:34:27 UTC (rev 7500)
+++ branches/iFolder_3.8.0_updates/src/core/Sync/StrongWeakHashtable.cs 2010-08-30 06:37:46 UTC (rev 7501)
@@ -45,7 +45,8 @@
public class StrongWeakHashtable
{
Hashtable table = new Hashtable();
-
+ static readonly ISimiasLog log = SimiasLogManager.GetLogger(typeof(SyncClient));
+
/// <summary>
/// Add a new HashEntry to the table.
/// </summary>
@@ -61,12 +62,60 @@
entryArray = new ArrayList();
table.Add(entry.WeakHash, entryArray);
}
- if (!entryArray.Contains(entry))
+ bool contains = false;
+ for (int i = 0; i < entryArray.Count; i++)
+ {
+ HashEntry entry1 = (HashEntry) entryArray[i];
+ if (entry1.BlockNumber == entry.BlockNumber && entry1.StrongHash == entry.StrongHash && entry1.WeakHash == entry.WeakHash)
+ {
+ contains = true;
+ break;
+ }
+ }
+ if (!contains)
+ {
+ //log.Info("StrongWeakHashtable: weakhash: {0}, block number: {1}. entry array does not contain.", entry.WeakHash, entry.BlockNumber);
entryArray.Add(entry);
+ }
+ else
+ {
+ //log.Info("StrongWeakHashtable: weakhash: {0}, block number: {1}. entry array already contains this.", entry.WeakHash, entry.BlockNumber);
+ }
+
}
}
/// <summary>
+ /// Returns the Entry that matches the weak and strong hash codes
+ /// of the passed in HashEntry.
+ /// </summary>
+ /// <param name="entry">The entry to match.</param>
+ /// <returns>The HashEntry that matched, or null.</returns>
+ public HashEntry GetEntryAfterBlock(HashEntry entry, int blocknum)
+ {
+ ArrayList entryList = (ArrayList)table[entry.WeakHash];
+ if (entryList != null)
+ {
+ for (int i = 0; i < entryList.Count; i++)
+ {
+ HashEntry entry1 = (HashEntry)entryList[i];
+ if (entry1.BlockNumber >= blocknum)
+ return entry1;
+ }
+ /*
+ int eIndex = entryList.IndexOf(entry, blocknum);
+ if (eIndex != -1)
+ {
+ HashEntry match = (HashEntry)entryList[eIndex];
+ return match;
+ }
+ * */
+ }
+ return null;
+ }
+
+
+ /// <summary>
/// Add the List of entries to the table.
/// </summary>
/// <param name="entryList">The list of entries to add.</param>
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <he...@us...> - 2010-08-30 06:34:33
|
Revision: 7500
http://simias.svn.sourceforge.net/simias/?rev=7500&view=rev
Author: hegdegg
Date: 2010-08-30 06:34:27 +0000 (Mon, 30 Aug 2010)
Log Message:
-----------
Fix for b#574756 committed to updates branch. This is taken from rev
7436.
Revision Links:
--------------
http://simias.svn.sourceforge.net/simias/?rev=7436&view=rev
Modified Paths:
--------------
branches/iFolder_3.8.0_updates/src/core/Sync/Http.cs
branches/iFolder_3.8.0_updates/src/core/Sync/StreamStream.cs
branches/iFolder_3.8.0_updates/src/core/Sync/SyncFile.cs
branches/iFolder_3.8.0_updates/src/core/Sync/SyncService.cs
Modified: branches/iFolder_3.8.0_updates/src/core/Sync/Http.cs
===================================================================
--- branches/iFolder_3.8.0_updates/src/core/Sync/Http.cs 2010-08-27 18:12:49 UTC (rev 7499)
+++ branches/iFolder_3.8.0_updates/src/core/Sync/Http.cs 2010-08-30 06:34:27 UTC (rev 7500)
@@ -1309,13 +1309,15 @@
return;
}
- int count = int.Parse(sCount);
+ int loop = int.Parse(sCount);
int blockSize = int.Parse(sBlockSize);
+ long count = 0;
BinaryReader reader = new BinaryReader(request.InputStream);
- for (int i = 0; i < count; ++i)
+ for (int i = 0; i < loop; ++i)
{
BlockSegment bSeg = new BlockSegment(reader);
- service.Copy(bSeg.StartBlock * blockSize, bSeg.Offset, blockSize * (bSeg.EndBlock - bSeg.StartBlock + 1));
+ count = (long)(blockSize *( bSeg.EndBlock - bSeg.StartBlock + 1));
+ service.Copy(bSeg.StartBlock * blockSize, bSeg.Offset, count );
}
}
Modified: branches/iFolder_3.8.0_updates/src/core/Sync/StreamStream.cs
===================================================================
--- branches/iFolder_3.8.0_updates/src/core/Sync/StreamStream.cs 2010-08-27 18:12:49 UTC (rev 7499)
+++ branches/iFolder_3.8.0_updates/src/core/Sync/StreamStream.cs 2010-08-30 06:34:27 UTC (rev 7500)
@@ -336,13 +336,13 @@
/// </summary>
/// <param name="inStream">The data to write.</param>
/// <param name="count">The number of bytes to write.</param>
- public void Write(Stream inStream, int count)
+ public void Write(Stream inStream, long count)
{
- int bytesLeft = count;
+ long bytesLeft = count;
while(bytesLeft > 0)
{
byte[] buffer = GetBuffer();
- int bytesRead = inStream.Read(buffer, 0, Math.Min(buffer.Length, bytesLeft));
+ int bytesRead = inStream.Read(buffer, 0, (int)Math.Min(buffer.Length, bytesLeft));
if (bytesRead != 0)
{
writeComplete.WaitOne();
Modified: branches/iFolder_3.8.0_updates/src/core/Sync/SyncFile.cs
===================================================================
--- branches/iFolder_3.8.0_updates/src/core/Sync/SyncFile.cs 2010-08-27 18:12:49 UTC (rev 7499)
+++ branches/iFolder_3.8.0_updates/src/core/Sync/SyncFile.cs 2010-08-30 06:34:27 UTC (rev 7500)
@@ -357,12 +357,12 @@
/// <param name="originalOffset">The offset in the original file to copy from.</param>
/// <param name="offset">The offset in the file where the data is to be written.</param>
/// <param name="count">The number of bytes to write.</param>
- public void Copy(long originalOffset, long offset, int count)
+ public void Copy(long originalOffset, long offset, long count)
{
lock (this)
{
- ReadPosition = originalOffset;
- WritePosition = offset;
+ ReadPosition = Math.Abs(originalOffset);
+ WritePosition = Math.Abs(offset);
workStream.Write(stream, count);
}
}
Modified: branches/iFolder_3.8.0_updates/src/core/Sync/SyncService.cs
===================================================================
--- branches/iFolder_3.8.0_updates/src/core/Sync/SyncService.cs 2010-08-27 18:12:49 UTC (rev 7499)
+++ branches/iFolder_3.8.0_updates/src/core/Sync/SyncService.cs 2010-08-30 06:34:27 UTC (rev 7500)
@@ -1227,7 +1227,7 @@
/// <param name="oldOffset">The offset in the old (original file).</param>
/// <param name="offset">The offset in the new file.</param>
/// <param name="count">The number of bytes to copy.</param>
- public void Copy(long oldOffset, long offset, int count)
+ public void Copy(long oldOffset, long offset, long count)
{
inFile.Copy(oldOffset, offset, count);
logger.LogAccessDebug("CopyFile", inFile.Name, collection.ID, "Success");
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <mv...@us...> - 2010-08-27 18:12:55
|
Revision: 7499
http://simias.svn.sourceforge.net/simias/?rev=7499&view=rev
Author: mvikash
Date: 2010-08-27 18:12:49 +0000 (Fri, 27 Aug 2010)
Log Message:
-----------
changes are done to handle exception for deleted ifolder.
Modified Paths:
--------------
trunk/src/admin/UserDetails.aspx.cs
trunk/src/admin/iFolderDetailsPage.aspx.cs
Modified: trunk/src/admin/UserDetails.aspx.cs
===================================================================
--- trunk/src/admin/UserDetails.aspx.cs 2010-08-27 15:59:16 UTC (rev 7498)
+++ trunk/src/admin/UserDetails.aspx.cs 2010-08-27 18:12:49 UTC (rev 7499)
@@ -251,6 +251,7 @@
/// </summary>
protected bool reachable = true;
+
#endregion
#region Properties
@@ -300,6 +301,13 @@
get { return Request.Params[ "ID" ]; }
}
+ public string ErrorMsg
+ {
+ get { return Request.Params[ "errormsg" ]; }
+ }
+
+
+
#endregion
#region Private Methods
@@ -322,6 +330,12 @@
/// <returns>A DataView object containing the iFolder list.</returns>
private DataView CreateiFolderList()
{
+
+ if(ErrorMsg !=null )
+ {
+ TopNav.ShowError(ErrorMsg);
+ }
+
DataTable dt = new DataTable();
DataRow dr;
@@ -941,7 +955,7 @@
/// <returns>The URL to navigate to the ifolder.</returns>
protected string GetiFolderUrl( Object reach, Object iFolderID )
{
- return (bool) reach? String.Format( "iFolderDetailsPage.aspx?id={0}", iFolderID ) : String.Empty;
+ return (bool) reach? String.Format( "iFolderDetailsPage.aspx?id={0}&userid={1}", iFolderID,UserID ) : String.Empty;
}
private string GetiFolderName(string iFolderID)
Modified: trunk/src/admin/iFolderDetailsPage.aspx.cs
===================================================================
--- trunk/src/admin/iFolderDetailsPage.aspx.cs 2010-08-27 15:59:16 UTC (rev 7498)
+++ trunk/src/admin/iFolderDetailsPage.aspx.cs 2010-08-27 18:12:49 UTC (rev 7499)
@@ -208,6 +208,8 @@
/// </summary>
protected Literal ServerName;
+ public string UserId;
+
#endregion
#region Properties
@@ -260,6 +262,14 @@
}
/// <summary>
+ /// Gets the User ID.
+ /// </summary>
+ private string UserID
+ {
+ get { return Request.Params[ "userid" ]; }
+ }
+
+ /// <summary>
/// Gets or sets whether the MemberCheckBox is checked.
/// </summary>
private bool MembersChecked
@@ -353,10 +363,17 @@
{
ifolder = web.GetiFolderDetails( iFolderID );
}
- catch
+ catch(Exception ex)
{
- web.Url = currentServerURL;
- TopNav.ShowError(GetString("LOGINCONNECTFAILED"));
+ if(ex.Message.IndexOf("iFolderDoesNotExistException") != -1)
+ {
+ Page.Response.Redirect(String.Format("UserDetails.aspx?id={0}&errormsg={1}",UserID,GetString("ERRORIFOLDERDOESNOTEXIST")));
+ }
+ else
+ {
+ web.Url = currentServerURL;
+ TopNav.ShowError(GetString("LOGINCONNECTFAILED"));
+ }
return null;
}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <spr...@us...> - 2010-08-27 15:59:22
|
Revision: 7498
http://simias.svn.sourceforge.net/simias/?rev=7498&view=rev
Author: spratima
Date: 2010-08-27 15:59:16 +0000 (Fri, 27 Aug 2010)
Log Message:
-----------
fix for bug 574310 - Umlaut syc from PC to mac to PC duplicates files
Modified Paths:
--------------
trunk/src/core/Sync/FileMonitor.cs
Modified: trunk/src/core/Sync/FileMonitor.cs
===================================================================
--- trunk/src/core/Sync/FileMonitor.cs 2010-08-27 03:50:24 UTC (rev 7497)
+++ trunk/src/core/Sync/FileMonitor.cs 2010-08-27 15:59:16 UTC (rev 7498)
@@ -179,6 +179,7 @@
if (rootDir != null)
{
string rootPath = collection.GetRootDirectory().GetFullPath(collection);
+
watcher = new FileSystemWatcher(rootPath);
log.Debug("New File Watcher at {0}", rootPath);
watcher.Changed += new FileSystemEventHandler(OnChanged);
@@ -216,6 +217,7 @@
{
// This is a name collision make sure that we delete the right node.
// Only delete if the file no longer exists.
+ // Log.log.Debug("File Monitor deleting :path {0}", Path);
if (Path.GetFileName(cNode.FileNameConflictPath) != node.Name)
{
node = Conflict.GetConflictingNode(collection, node as FileNode);
@@ -281,7 +283,6 @@
/// <param name="oldRelativePath">Old relative path of the directory</param>
public static void SetRenamePropertyForDirChildren(Collection collection, DirNode dn, string oldRelativePath)
{
- string relativePath = dn.GetRelativePath();
// We need to rename all of the children nodes.
ArrayList nodeList = new ArrayList();
@@ -347,7 +348,6 @@
// The execute bit is set for the user save the value.
fnode.Properties.ModifyProperty(SyncFile.ModeProperty, SyncFile.FAMode.Execute);
}
-
log.Debug("Adding file node for {0} {1}", path, fnode.ID);
// Make sure that we support the Simias Name Space.
if (!SyncFile.IsNameValid(fnode.Name))
@@ -525,6 +525,7 @@
/// <returns>Relative path after normalized</returns>
public static string GetNormalizedRelativePath(string rootPath, string path)
{
+
string relPath = path.Replace(rootPath, "");
relPath = relPath.TrimStart(Path.DirectorySeparatorChar);
if (Path.DirectorySeparatorChar != '/')
@@ -543,7 +544,6 @@
ShallowNode sNode = null;
haveConflict = false;
string relPath = GetNormalizedRelativePath(rootPath, path);
-
ICSList nodeList;
nodeList = collection.Search(PropertyTags.FileSystemPath, relPath, SearchOp.Equal);
foreach (ShallowNode sn in nodeList)
@@ -818,9 +818,11 @@
existingNodes[sn.Name] = sn;
}
+
// Look for new and modified files.
- foreach (string file in Directory.GetFiles(path))
+ foreach (String filepath in Directory.GetFiles(path))
{
+ String file=filepath;
if (Simias.Service.Manager.ShuttingDown)
return;
if(CheckSuspend)
@@ -834,6 +836,20 @@
string fName = Path.GetFileName(file);
ShallowNode sn = (ShallowNode)existingNodes[fName];
+#if DARWIN //fix for bug 574310
+ if(sn == null){
+ try {
+ file=file.Normalize();
+ fName=Path.GetFileName(file);
+ log.Debug("normalized file name:{0}", file);
+ sn = (ShallowNode)existingNodes[fName];
+ }catch(ArgumentException e){
+ //log and ignore ; this would happen only if there is some invalid Unicode characters in filename
+ log.Debug("Exception :{0} while file name :{1} normalization ", e.Message , fName);
+ }
+
+ }
+#endif
if (sn != null)
{
DoShallowNode(dnode, sn, file, false);
@@ -847,8 +863,10 @@
}
// look for new directories
- foreach (string dir in Directory.GetDirectories(path))
+
+ foreach (string dirpath in Directory.GetDirectories(path))
{
+ String dir =dirpath;
if (Simias.Service.Manager.ShuttingDown)
return;
if(CheckSuspend)
@@ -861,6 +879,19 @@
}
string dName = Path.GetFileName(dir);
ShallowNode sn = (ShallowNode)existingNodes[dName];
+#if DARWIN //fix for bug 574310
+ if(sn==null){
+ try{
+ dir = dir.Normalize();
+ dName = Path.GetFileName(dir);
+ log.Debug("normalized dir name:{0}", dName);
+ sn = (ShallowNode)existingNodes[dName];
+ }catch(ArgumentException e){
+ //log and ignore ; this would happen only if there is some invalid Unicode characters in filename
+ log.Debug("Exception :{0} while file name :{1} normalization ", e.Message , dir);
+ }
+ }
+#endif
if (sn != null)
{
DoShallowNode(dnode, sn, dir, true);
@@ -869,7 +900,7 @@
else
{
// The directory is new create a new directory node.
- DirNode newDir = CreateDirNode(dir, dnode, false);
+ CreateDirNode(dir, dnode, false);
}
}
// look for deleted files.
@@ -958,12 +989,13 @@
/// <param name="path"></param>
void DoManagedPath(string path)
{
+
// DirectoryInfo tmpDi = new DirectoryInfo(path);
try
{
foreach (string file in Directory.GetFiles(path))
{
- if (File.GetLastWriteTime(file) > lastDredgeTime && !isSyncFile(file))
+ if (File.GetLastWriteTime(file) > lastDredgeTime && !isSyncFile(file))
{
// here we are just checking for modified files
// Because we create temporary journal files in the store managed area,
@@ -1038,10 +1070,11 @@
//make this atomic
scanThreadRunning = true;
collection.Refresh();
-
/**************************************************
Satyam: The following code has to be modified
depending on Mono bug. The bug id for Mono is 425468.
+ Also once the filewatcher is enabled fixes for handling umlaut characters has to be taken care for filewatcher events ,
+ which requires normalizing the filepath strings (Bug 574310)
**************************************************/
bool mac = true;
#if DARWIN
@@ -1052,7 +1085,7 @@
{
Dredge();
- //during startup Sync might exit due to server failure (or login delay), but the scan thread will
+ //during startup Sync might exit due to server failure (or login delay), but the scan thread will
//start its job
if (CollectionSyncClient.running == false)
SyncClient.ScheduleSync(collection.ID);
@@ -1292,14 +1325,14 @@
{
// The node does not exist create it.
haveConflict = sn == null ? false : true;
- Node tempNode;
+ //Node tempNode; fixed : a warnig valriable never used
if (isDir)
{
- tempNode = CreateDirNode(fullName, GetParentNode(fullName), haveConflict);
+ CreateDirNode(fullName, GetParentNode(fullName), haveConflict);
}
else
{
- tempNode = CreateFileNode(fullName, GetParentNode(fullName), haveConflict);
+ CreateFileNode(fullName, GetParentNode(fullName), haveConflict);
}
}
break;
@@ -1389,9 +1422,9 @@
foundChange = false;
}
}
-
+
DoManagedPath(collection.ManagedPath);
-
+
if (foundChange)
{
Property tsp = new Property(lastDredgeProp, dredgeTimeStamp);
@@ -1467,7 +1500,6 @@
private void OnChanged(object source, FileSystemEventArgs e)
{
string fullPath = e.FullPath;
-
log.Debug("Changed ---- {0}", e.FullPath);
if (isSyncFile(e.Name))
return;
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <sp...@us...> - 2010-08-27 03:50:31
|
Revision: 7497
http://simias.svn.sourceforge.net/simias/?rev=7497&view=rev
Author: spkumar
Date: 2010-08-27 03:50:24 +0000 (Fri, 27 Aug 2010)
Log Message:
-----------
D: #424645
Reviewer: Vikash
Localization Required: No
Documentation Required: No
Description: Fixed an issue while uploading large number of files from
Linux client
Modified Paths:
--------------
trunk/src/core/Sync/SyncClient.cs
Modified: trunk/src/core/Sync/SyncClient.cs
===================================================================
--- trunk/src/core/Sync/SyncClient.cs 2010-08-26 08:00:36 UTC (rev 7496)
+++ trunk/src/core/Sync/SyncClient.cs 2010-08-27 03:50:24 UTC (rev 7497)
@@ -273,9 +273,10 @@
if (col.EncryptionAlgorithm != null && col.EncryptionAlgorithm != string.Empty)
SyncClient.ScheduleSync(col.ID);
}
- catch (Exception e)
+ catch (Exception ex)
{
log.Debug("RescheduleAllEncryptedColSync: Error scheduling {0} for sync.", sn.ID);
+ log.Debug("Exception.Message: {0}, StackTrace: {1}", ex.Message, ex.StackTrace);
}
}
}
@@ -704,7 +705,6 @@
SyncWorkArray workArray;
Store store;
public Collection collection;
- bool queuedChanges;
bool serverAlive = true;
bool CollSyncStatus = true;
StartSyncStatus serverStatus;
@@ -719,7 +719,7 @@
private const string ServerCLContextProp = "ServerCLContext";
private const string ClientCLContextProp = "ClientCLContext";
private Object syncObject = new Object();
- int nodesToSync = 0;
+
static int initialSyncDelay = 10 * 1000; // 10 seconds.
DateTime syncStartTime; // Time stamp when sync was called.
const int timeSlice = 3; //Timeslice in minutes.
@@ -1077,7 +1077,6 @@
eventPublisher.RaiseEvent(new CollectionSyncEventArgs(collection.Name, collection.ID, Simias.Client.Event.Action.StartLocalSync, true, false));
syncStartTime = DateTime.Now;
- queuedChanges = false;
running = true;
bool isNewifolder = false;
serverStatus = StartSyncStatus.Success;
@@ -1279,7 +1278,6 @@
bool moreEntries = false;
while (true)
{
- int filesFromServer;
if (!si.ChangesOnly)
{
// We don't have any state. So do a full sync.
@@ -1302,10 +1300,8 @@
cstamps = null;
}
- filesFromServer = workArray.DownCount + workArray.MergeCount;
-
+
// we are not queuing anymore as we expect all to be done once started
- //queuedChanges = true;
if (!ServerIs36())
AddMemberNodeFromServer();
@@ -1539,7 +1535,6 @@
public bool CheckForUserMovement(string NewHostID, string UserID, string DomainID)
{
- string collectionID = collection.ID;
string OldHostID = collection.HostID;
bool CollectionMoved = false;
bool UserMovementUpdationDone = false;
@@ -2015,7 +2010,6 @@
{
Domain domain = null;
Member currentMember = null;
- bool isDomainSync = false;
string ColType = collection.GetType().ToString();
@@ -2036,7 +2030,7 @@
if (IsDomainType && !Store.IsEnterpriseServer)
{
- isDomainSync = true;
+
currentMember = domain.GetCurrentMember();
Node memberNode = collection.GetNodeByID(currentMember.UserID);
@@ -2062,7 +2056,6 @@
/// </summary>
private void ExecuteSync()
{
- nodesToSync = workArray.Count;
if (workArray.MergeCount != 0)
{
// Get the updates from the server.
@@ -2875,6 +2868,7 @@
string[] nodeIDs = workArray.FilesToServer();
if (nodeIDs.Length == 0)
return;
+ BaseFileNode node = null;
log.Info("Uploading {0} Files To server", nodeIDs.Length);
@@ -2886,8 +2880,7 @@
{
return;
}
-
- BaseFileNode node = collection.GetNodeByID(nodeID) as BaseFileNode;
+ node = collection.GetNodeByID(nodeID) as BaseFileNode;
if (node != null)
{
if (collection.HasCollisions(node))
@@ -2983,7 +2976,7 @@
}
catch (FileNotFoundException excep)
{
- Log.log.Debug(excep, "Failed Uploading File, FileNotFoundException");
+ Log.log.Debug(excep, "Failed Uploading File, FileNotFoundException");
// The file no longer exists. this line added for 344792
workArray.RemoveNodeToServer(nodeID);
@@ -2992,18 +2985,40 @@
}
catch (WebException we)
{
- //This is to handle any webException while performing upload/download and
+ //This is to handle any webException while performing upload and
//not to remove node from workarray in this case
//if required,To remove, check the error message explicitly
- Log.log.Debug(we, "Failed Uploading File, WebException");
+ Log.log.Debug(we, "Failed Uploading File, WebException");
+ if( node != null) {
+ eventPublisher.RaiseEvent(new FileSyncEventArgs(collection.ID, ObjectType.File, false, node.GetFullPath(collection), 0, 0, 0, Direction.Uploading, SyncStatus.Error));
+ } else {
+ eventPublisher.RaiseEvent(new FileSyncEventArgs(collection.ID, ObjectType.File, false, nodeID, 0, 0, 0, Direction.Uploading, SyncStatus.Error));
+ }
}
- catch (ArgumentOutOfRangeException Aex)
+ catch (IOException ioe)
{
- Log.log.Debug(string.Format("ArgumentOutOfRangeException with message :{0} and stacktrace: {1}",Aex.Message, Aex.StackTrace));
+ //This is to handle any IOException while performing upload and
+ //not to remove node from workarray in this case
+ //if required, To remove, check the error message explicitly
+ Log.log.Debug(ioe, "Failed Uploading File, IOException");
+ if( node != null) {
+ eventPublisher.RaiseEvent(new FileSyncEventArgs(collection.ID, ObjectType.File, false, node.GetFullPath(collection), 0, 0, 0, Direction.Uploading, SyncStatus.Error));
+ } else {
+ eventPublisher.RaiseEvent(new FileSyncEventArgs(collection.ID, ObjectType.File, false, nodeID, 0, 0, 0, Direction.Uploading, SyncStatus.Error));
+ }
}
+ catch (ArgumentOutOfRangeException Aex)
+ {
+ Log.log.Debug(string.Format("ArgumentOutOfRangeException with message :{0} and stacktrace: {1}",Aex.Message, Aex.StackTrace));
+ if( node != null) {
+ eventPublisher.RaiseEvent(new FileSyncEventArgs(collection.ID, ObjectType.File, false, node.GetFullPath(collection), 0, 0, 0, Direction.Uploading, SyncStatus.Error));
+ } else {
+ eventPublisher.RaiseEvent(new FileSyncEventArgs(collection.ID, ObjectType.File, false, nodeID, 0, 0, 0, Direction.Uploading, SyncStatus.Error));
+ }
+ }
catch (Exception ex)
{
- workArray.RemoveNodeToServer(nodeID);
+ workArray.RemoveNodeToServer(nodeID);
Log.log.Debug(ex, "Failed Uploading File");
}
}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <spr...@us...> - 2010-08-26 03:47:54
|
Revision: 7493
http://simias.svn.sourceforge.net/simias/?rev=7493&view=rev
Author: spratima
Date: 2010-08-26 03:47:48 +0000 (Thu, 26 Aug 2010)
Log Message:
-----------
fix for bug 624561
Modified Paths:
--------------
branches/iFolder_3.8.2_beta/src/server/Simias.ClientUpdate/install-ifolder-script.sh
Modified: branches/iFolder_3.8.2_beta/src/server/Simias.ClientUpdate/install-ifolder-script.sh
===================================================================
--- branches/iFolder_3.8.2_beta/src/server/Simias.ClientUpdate/install-ifolder-script.sh 2010-08-25 19:14:00 UTC (rev 7492)
+++ branches/iFolder_3.8.2_beta/src/server/Simias.ClientUpdate/install-ifolder-script.sh 2010-08-26 03:47:48 UTC (rev 7493)
@@ -59,7 +59,7 @@
mkdir -p $HOME/.local/share/simias
if test -d $HOME/.local/share/simias
then
-echo "Starting the installation. The error logs are redirected to $HOME/.local/share/simias/upgrade.log"
+echo "Starting the installation."
sudo rpm -Uvh simias-1.*.rpm ifolder3-3.*.rpm nautilus-ifolder3-3.*.rpm novell-ifolder-client-plugins-3.*.rpm 2> $HOME/.local/share/simias/upgrade.log
abc=$?
else
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <jj...@us...> - 2010-08-25 19:14:07
|
Revision: 7492
http://simias.svn.sourceforge.net/simias/?rev=7492&view=rev
Author: jjohnny
Date: 2010-08-25 19:14:00 +0000 (Wed, 25 Aug 2010)
Log Message:
-----------
ID: Bug #631463
Reviewers: Ramesh, Anil
Localization Required: No
Documentation Required: No
Description: Added a new button to delete ifolders in UserDetails page
Modified Paths:
--------------
trunk/src/admin/UserDetails.aspx
trunk/src/admin/UserDetails.aspx.cs
Modified: trunk/src/admin/UserDetails.aspx
===================================================================
--- trunk/src/admin/UserDetails.aspx 2010-08-25 19:13:13 UTC (rev 7491)
+++ trunk/src/admin/UserDetails.aspx 2010-08-25 19:14:00 UTC (rev 7492)
@@ -278,12 +278,12 @@
<ifolder:ListFooter ID="iFolderListFooter" Runat="server" />
-<%-- <asp:Button
+ <asp:Button
ID="DeleteiFolderButton"
Runat="server"
Enabled="False"
CssClass="actionbuttons"
- OnClick="OnDeleteiFolder" /> --%>
+ OnClick="OnDeleteiFolderButton_Click" />
<asp:Button
ID="DisableiFolderButton"
Modified: trunk/src/admin/UserDetails.aspx.cs
===================================================================
--- trunk/src/admin/UserDetails.aspx.cs 2010-08-25 19:13:13 UTC (rev 7491)
+++ trunk/src/admin/UserDetails.aspx.cs 2010-08-25 19:14:00 UTC (rev 7492)
@@ -210,13 +210,7 @@
/// </summary>
protected HtmlGenericControl CurrentTab;
-
/// <summary>
- /// iFolder delete button control.
- /// </summary>
- //protected Button DeleteiFolderButton;
-
- /// <summary>
/// iFolder disable button control.
/// </summary>
protected Button DisableiFolderButton;
@@ -227,6 +221,11 @@
protected Button EnableiFolderButton;
/// <summary>
+ /// Delete ifolder button control.
+ /// </summary>
+ protected Button DeleteiFolderButton;
+
+ /// <summary>
/// iFolder create button control.
/// </summary>
//protected Button CreateiFolderButton;
@@ -593,6 +592,7 @@
//DeleteiFolderButton.Text = GetString( "DELETE" );
DisableiFolderButton.Text = GetString( "DISABLE" );
EnableiFolderButton.Text = GetString( "ENABLE" );
+ DeleteiFolderButton.Text = GetString ("DELETE");
//CreateiFolderButton.Text = GetString( "CREATE" );
AlliFoldersLink.Text = GetString( "ALL" );
@@ -613,6 +613,7 @@
// Set the active ifolder display tab.
SetActiveiFolderListTab( ActiveiFolderTab );
+ DeleteiFolderButton.Enabled = uRights.DeleteiFolderAllowed;
if(uRights.EnableDisableiFolderAllowed == false)
{
@@ -648,7 +649,7 @@
private void SetActionButtons()
{
Hashtable ht = CheckediFolders;
- //DeleteiFolderButton.Enabled = ( ht.Count > 0 ) ? true : false;
+ DeleteiFolderButton.Enabled = ( ht.Count > 0 ) ? true : false;
DisableiFolderButton.Enabled = ht.ContainsValue( Boolean.FalseString );
EnableiFolderButton.Enabled = ht.ContainsValue( Boolean.TrueString );
}
@@ -711,6 +712,20 @@
return preference;
}
+ /// <summary>
+ /// Gets iFolder's owner ID
+ /// </summary>
+ private string GetiFolderOwnerID(string iFolderID)
+ {
+ foreach( DataGridItem item in iFolderList.Items )
+ {
+ string ifolderid = item.Cells[iFolderIDColumn].Text;
+ if( ifolderid == iFolderID )
+ //FIXME : Magic numbers
+ return item.Cells [2].Text; //iFolder ID column.
+ }
+ return null;
+ }
/// <summary>
/// Sets the ifolder synchronization status on all selected ifolders.
@@ -753,9 +768,8 @@
// Clear the checked members.
CheckediFolders.Clear();
- // Set the action buttons.
+ web.Url = currentServerURL;
SetActionButtons();
- web.Url = currentServerURL;
// Rebind the data source with the new data.
GetiFolders( false );
@@ -930,6 +944,17 @@
return (bool) reach? String.Format( "iFolderDetailsPage.aspx?id={0}", iFolderID ) : String.Empty;
}
+ private string GetiFolderName(string iFolderID)
+ {
+ foreach( DataGridItem item in iFolderList.Items )
+ {
+ string ifolderid = item.Cells[ iFolderIDColumn].Text;
+ if( ifolderid == iFolderID )
+ //FIXME : Magic numbers
+ return item.Cells [9].Text; //iFolder name column.
+ }
+ return null;
+ }
/// <summary>
/// Get a Localized String
@@ -942,6 +967,67 @@
}
/// <summary>
+ /// Event handler that gets called when the delete ifolder button is clicked.
+ /// </summary>
+ /// <param name="source"></param>
+ /// <param name="e"></param>
+ protected void OnDeleteiFolderButton_Click( object source, EventArgs e )
+ {
+ string skippediFolderNames = "";
+ string loggedinuserID = Session[ "UserID" ] as String;
+
+ foreach( string ifolderID in CheckediFolders.Keys )
+ {
+ try
+ {
+ int rights = GetRightsForiFolder(ifolderID);
+ if (rights == -1 ) rights = 0xffff;
+
+ UserGroupAdminRights adminRights = new UserGroupAdminRights(rights);
+ string ownerID = GetiFolderOwnerID (ifolderID);
+ /*Condition for skipping iFolders for deletion. We allow the owner to
+ delete his own iFolder. */
+ if (loggedinuserID != ownerID) {
+ if(!adminRights.DeleteiFolderAllowed) {
+ string ifolderName = GetiFolderName (ifolderID);
+ if (skippediFolderNames.Length > 0 ) //Just for adding a comma.
+ skippediFolderNames += ", " + ifolderName;
+ else
+ skippediFolderNames += ifolderName;
+
+ continue;
+ }
+ }
+
+ string ifolderLocation = web.GetiFolderLocation (ifolderID);
+ UriBuilder remoteurl = new UriBuilder(ifolderLocation);
+ remoteurl.Path = (new Uri(web.Url)).PathAndQuery;
+ web.Url = remoteurl.Uri.ToString();
+ web.DeleteiFolder( ifolderID );
+ }
+ catch ( Exception ex )
+ {
+ TopNav.ShowError( GetString( "ERRORCANNOTDELETEIFOLDER" ), ex );
+ web.Url = currentServerURL;
+ return;
+ }
+
+ }
+ web.Url = currentServerURL;
+
+ // Clear the checked members.
+ CheckediFolders.Clear();
+ AlliFoldersCheckBox.Checked = false;
+
+ // Rebind the data source with the new data.
+ GetiFolders( false );
+
+ //If we have skipped some iFolders, tell the admin.
+ if (skippediFolderNames.Length > 0)
+ TopNav.ShowError(string.Format (GetString ("ERRORCANNOTDELETEIFOLDER"), skippediFolderNames));
+ }
+
+ /// <summary>
/// Event handler that gets called when the check all iFolders checkbox is selected.
/// </summary>
/// <param name="sender"></param>
@@ -984,39 +1070,6 @@
}
/// <summary>
- /// Event handler that gets called when the delete ifolder button is clicked.
- /// </summary>
- /// <param name="source"></param>
- /// <param name="e"></param>
- protected void OnDeleteiFolder( object source, EventArgs e )
- {
- foreach( string iFolderID in CheckediFolders.Keys )
- {
- try
- {
- string ifolderLocation = web.GetiFolderLocation (iFolderID);
- UriBuilder remoteurl = new UriBuilder(ifolderLocation);
- remoteurl.Path = (new Uri(web.Url)).PathAndQuery;
- web.Url = remoteurl.Uri.ToString();
-
- web.DeleteiFolder( iFolderID );
- }
- catch ( Exception ex )
- {
- TopNav.ShowError( GetString( "ERRORCANNOTDELETEIFOLDER" ), ex );
- return;
- }
- }
- web.Url = currentServerURL;
-
- // Clear the checked members.
- CheckediFolders.Clear();
-
- // Rebind the data source with the new data.
- GetiFolders( false );
- }
-
- /// <summary>
/// Event handler that gets called when the disable ifolder button is clicked.
/// </summary>
/// <param name="source"></param>
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <jj...@us...> - 2010-08-25 19:13:20
|
Revision: 7491
http://simias.svn.sourceforge.net/simias/?rev=7491&view=rev
Author: jjohnny
Date: 2010-08-25 19:13:13 +0000 (Wed, 25 Aug 2010)
Log Message:
-----------
ID: Bug #631463
Reviewers: Ramesh, Anil
Localization Required: No
Documentation Required: No
Description: Added a new button to delete ifolders in UserDetails page
Modified Paths:
--------------
branches/iFolder_3.8.2_beta/src/admin/UserDetails.aspx
branches/iFolder_3.8.2_beta/src/admin/UserDetails.aspx.cs
Modified: branches/iFolder_3.8.2_beta/src/admin/UserDetails.aspx
===================================================================
--- branches/iFolder_3.8.2_beta/src/admin/UserDetails.aspx 2010-08-25 12:40:27 UTC (rev 7490)
+++ branches/iFolder_3.8.2_beta/src/admin/UserDetails.aspx 2010-08-25 19:13:13 UTC (rev 7491)
@@ -278,12 +278,12 @@
<ifolder:ListFooter ID="iFolderListFooter" Runat="server" />
-<%-- <asp:Button
+ <asp:Button
ID="DeleteiFolderButton"
Runat="server"
Enabled="False"
CssClass="actionbuttons"
- OnClick="OnDeleteiFolder" /> --%>
+ OnClick="OnDeleteiFolderButton_Click" />
<asp:Button
ID="DisableiFolderButton"
Modified: branches/iFolder_3.8.2_beta/src/admin/UserDetails.aspx.cs
===================================================================
--- branches/iFolder_3.8.2_beta/src/admin/UserDetails.aspx.cs 2010-08-25 12:40:27 UTC (rev 7490)
+++ branches/iFolder_3.8.2_beta/src/admin/UserDetails.aspx.cs 2010-08-25 19:13:13 UTC (rev 7491)
@@ -210,13 +210,7 @@
/// </summary>
protected HtmlGenericControl CurrentTab;
-
/// <summary>
- /// iFolder delete button control.
- /// </summary>
- //protected Button DeleteiFolderButton;
-
- /// <summary>
/// iFolder disable button control.
/// </summary>
protected Button DisableiFolderButton;
@@ -227,6 +221,11 @@
protected Button EnableiFolderButton;
/// <summary>
+ /// Delete ifolder button control.
+ /// </summary>
+ protected Button DeleteiFolderButton;
+
+ /// <summary>
/// iFolder create button control.
/// </summary>
//protected Button CreateiFolderButton;
@@ -593,6 +592,7 @@
//DeleteiFolderButton.Text = GetString( "DELETE" );
DisableiFolderButton.Text = GetString( "DISABLE" );
EnableiFolderButton.Text = GetString( "ENABLE" );
+ DeleteiFolderButton.Text = GetString ("DELETE");
//CreateiFolderButton.Text = GetString( "CREATE" );
AlliFoldersLink.Text = GetString( "ALL" );
@@ -613,6 +613,7 @@
// Set the active ifolder display tab.
SetActiveiFolderListTab( ActiveiFolderTab );
+ DeleteiFolderButton.Enabled = uRights.DeleteiFolderAllowed;
if(uRights.EnableDisableiFolderAllowed == false)
{
@@ -648,7 +649,7 @@
private void SetActionButtons()
{
Hashtable ht = CheckediFolders;
- //DeleteiFolderButton.Enabled = ( ht.Count > 0 ) ? true : false;
+ DeleteiFolderButton.Enabled = ( ht.Count > 0 ) ? true : false;
DisableiFolderButton.Enabled = ht.ContainsValue( Boolean.FalseString );
EnableiFolderButton.Enabled = ht.ContainsValue( Boolean.TrueString );
}
@@ -711,6 +712,20 @@
return preference;
}
+ /// <summary>
+ /// Gets iFolder's owner ID
+ /// </summary>
+ private string GetiFolderOwnerID(string iFolderID)
+ {
+ foreach( DataGridItem item in iFolderList.Items )
+ {
+ string ifolderid = item.Cells[iFolderIDColumn].Text;
+ if( ifolderid == iFolderID )
+ //FIXME : Magic numbers
+ return item.Cells [2].Text; //iFolder ID column.
+ }
+ return null;
+ }
/// <summary>
/// Sets the ifolder synchronization status on all selected ifolders.
@@ -753,9 +768,8 @@
// Clear the checked members.
CheckediFolders.Clear();
- // Set the action buttons.
+ web.Url = currentServerURL;
SetActionButtons();
- web.Url = currentServerURL;
// Rebind the data source with the new data.
GetiFolders( false );
@@ -930,6 +944,17 @@
return (bool) reach? String.Format( "iFolderDetailsPage.aspx?id={0}", iFolderID ) : String.Empty;
}
+ private string GetiFolderName(string iFolderID)
+ {
+ foreach( DataGridItem item in iFolderList.Items )
+ {
+ string ifolderid = item.Cells[ iFolderIDColumn].Text;
+ if( ifolderid == iFolderID )
+ //FIXME : Magic numbers
+ return item.Cells [9].Text; //iFolder name column.
+ }
+ return null;
+ }
/// <summary>
/// Get a Localized String
@@ -942,6 +967,67 @@
}
/// <summary>
+ /// Event handler that gets called when the delete ifolder button is clicked.
+ /// </summary>
+ /// <param name="source"></param>
+ /// <param name="e"></param>
+ protected void OnDeleteiFolderButton_Click( object source, EventArgs e )
+ {
+ string skippediFolderNames = "";
+ string loggedinuserID = Session[ "UserID" ] as String;
+
+ foreach( string ifolderID in CheckediFolders.Keys )
+ {
+ try
+ {
+ int rights = GetRightsForiFolder(ifolderID);
+ if (rights == -1 ) rights = 0xffff;
+
+ UserGroupAdminRights adminRights = new UserGroupAdminRights(rights);
+ string ownerID = GetiFolderOwnerID (ifolderID);
+ /*Condition for skipping iFolders for deletion. We allow the owner to
+ delete his own iFolder. */
+ if (loggedinuserID != ownerID) {
+ if(!adminRights.DeleteiFolderAllowed) {
+ string ifolderName = GetiFolderName (ifolderID);
+ if (skippediFolderNames.Length > 0 ) //Just for adding a comma.
+ skippediFolderNames += ", " + ifolderName;
+ else
+ skippediFolderNames += ifolderName;
+
+ continue;
+ }
+ }
+
+ string ifolderLocation = web.GetiFolderLocation (ifolderID);
+ UriBuilder remoteurl = new UriBuilder(ifolderLocation);
+ remoteurl.Path = (new Uri(web.Url)).PathAndQuery;
+ web.Url = remoteurl.Uri.ToString();
+ web.DeleteiFolder( ifolderID );
+ }
+ catch ( Exception ex )
+ {
+ TopNav.ShowError( GetString( "ERRORCANNOTDELETEIFOLDER" ), ex );
+ web.Url = currentServerURL;
+ return;
+ }
+
+ }
+ web.Url = currentServerURL;
+
+ // Clear the checked members.
+ CheckediFolders.Clear();
+ AlliFoldersCheckBox.Checked = false;
+
+ // Rebind the data source with the new data.
+ GetiFolders( false );
+
+ //If we have skipped some iFolders, tell the admin.
+ if (skippediFolderNames.Length > 0)
+ TopNav.ShowError(string.Format (GetString ("ERRORCANNOTDELETEIFOLDER"), skippediFolderNames));
+ }
+
+ /// <summary>
/// Event handler that gets called when the check all iFolders checkbox is selected.
/// </summary>
/// <param name="sender"></param>
@@ -984,39 +1070,6 @@
}
/// <summary>
- /// Event handler that gets called when the delete ifolder button is clicked.
- /// </summary>
- /// <param name="source"></param>
- /// <param name="e"></param>
- protected void OnDeleteiFolder( object source, EventArgs e )
- {
- foreach( string iFolderID in CheckediFolders.Keys )
- {
- try
- {
- string ifolderLocation = web.GetiFolderLocation (iFolderID);
- UriBuilder remoteurl = new UriBuilder(ifolderLocation);
- remoteurl.Path = (new Uri(web.Url)).PathAndQuery;
- web.Url = remoteurl.Uri.ToString();
-
- web.DeleteiFolder( iFolderID );
- }
- catch ( Exception ex )
- {
- TopNav.ShowError( GetString( "ERRORCANNOTDELETEIFOLDER" ), ex );
- return;
- }
- }
- web.Url = currentServerURL;
-
- // Clear the checked members.
- CheckediFolders.Clear();
-
- // Rebind the data source with the new data.
- GetiFolders( false );
- }
-
- /// <summary>
/// Event handler that gets called when the disable ifolder button is clicked.
/// </summary>
/// <param name="source"></param>
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <ra...@us...> - 2010-08-25 12:40:34
|
Revision: 7490
http://simias.svn.sourceforge.net/simias/?rev=7490&view=rev
Author: ravim85
Date: 2010-08-25 12:40:27 +0000 (Wed, 25 Aug 2010)
Log Message:
-----------
bumping versions to 3.8.2.1 - patch - Simias
Modified Paths:
--------------
branches/iFolder_3.8.2_beta/src/core/FlaimProvider/FlaimWrapper/FlaimWrapper.vcproj
branches/iFolder_3.8.2_beta/src/core/POBoxWS/Properties/AssemblyInfo.cs
branches/iFolder_3.8.2_beta/src/core/Properties/AssemblyInfo.cs
branches/iFolder_3.8.2_beta/src/core/SimiasApp/Properties/AssemblyInfo.cs
branches/iFolder_3.8.2_beta/src/core/SimiasClient/Properties/AssemblyInfo.cs
branches/iFolder_3.8.2_beta/src/core/SyncService/Properties/AssemblyInfo.cs
branches/iFolder_3.8.2_beta/src/core/WebService/Properties/AssemblyInfo.cs
Modified: branches/iFolder_3.8.2_beta/src/core/FlaimProvider/FlaimWrapper/FlaimWrapper.vcproj
===================================================================
--- branches/iFolder_3.8.2_beta/src/core/FlaimProvider/FlaimWrapper/FlaimWrapper.vcproj 2010-08-25 12:35:24 UTC (rev 7489)
+++ branches/iFolder_3.8.2_beta/src/core/FlaimProvider/FlaimWrapper/FlaimWrapper.vcproj 2010-08-25 12:40:27 UTC (rev 7490)
@@ -84,7 +84,7 @@
Name="VCLinkerTool"
AdditionalDependencies="rpcrt4.lib ws2_32.lib odbc32.lib odbccp32.lib flaim.lib msvcrt.lib"
OutputFile=".\Release/FlaimWrapper.dll"
- Version="3.8.1.1"
+ Version="3.8.2.1"
LinkIncremental="1"
SuppressStartupBanner="true"
AdditionalLibraryDirectories=""$(SolutionDir)..\..\dependencies\external\libflaim\win32""
@@ -186,7 +186,7 @@
Name="VCLinkerTool"
AdditionalDependencies="rpcrt4.lib ws2_32.lib odbc32.lib odbccp32.lib dbghelp.lib flaim.lib flaimtk.lib msvcrt.lib"
OutputFile=".\Release/FlaimWrapper.dll"
- Version="3.8.1.1"
+ Version="3.8.2.1"
LinkIncremental="1"
SuppressStartupBanner="true"
AdditionalLibraryDirectories=""$(SolutionDir)..\..\dependencies\external\libflaim\win64""
Modified: branches/iFolder_3.8.2_beta/src/core/POBoxWS/Properties/AssemblyInfo.cs
===================================================================
--- branches/iFolder_3.8.2_beta/src/core/POBoxWS/Properties/AssemblyInfo.cs 2010-08-25 12:35:24 UTC (rev 7489)
+++ branches/iFolder_3.8.2_beta/src/core/POBoxWS/Properties/AssemblyInfo.cs 2010-08-25 12:40:27 UTC (rev 7490)
@@ -29,5 +29,5 @@
// Build Number
// Revision
//
-[assembly: AssemblyVersion("3.8.1.1")]
-[assembly: AssemblyFileVersion("3.8.1.1")]
+[assembly: AssemblyVersion("3.8.2.1")]
+[assembly: AssemblyFileVersion("3.8.2.1")]
Modified: branches/iFolder_3.8.2_beta/src/core/Properties/AssemblyInfo.cs
===================================================================
--- branches/iFolder_3.8.2_beta/src/core/Properties/AssemblyInfo.cs 2010-08-25 12:35:24 UTC (rev 7489)
+++ branches/iFolder_3.8.2_beta/src/core/Properties/AssemblyInfo.cs 2010-08-25 12:40:27 UTC (rev 7490)
@@ -29,5 +29,5 @@
// Build Number
// Revision
//
-[assembly: AssemblyVersion("3.8.1.1")]
-[assembly: AssemblyFileVersion("3.8.1.1")]
+[assembly: AssemblyVersion("3.8.2.1")]
+[assembly: AssemblyFileVersion("3.8.2.1")]
Modified: branches/iFolder_3.8.2_beta/src/core/SimiasApp/Properties/AssemblyInfo.cs
===================================================================
--- branches/iFolder_3.8.2_beta/src/core/SimiasApp/Properties/AssemblyInfo.cs 2010-08-25 12:35:24 UTC (rev 7489)
+++ branches/iFolder_3.8.2_beta/src/core/SimiasApp/Properties/AssemblyInfo.cs 2010-08-25 12:40:27 UTC (rev 7490)
@@ -29,5 +29,5 @@
// Build Number
// Revision
//
-[assembly: AssemblyVersion("3.8.1.1")]
-[assembly: AssemblyFileVersion("3.8.1.1")]
+[assembly: AssemblyVersion("3.8.2.1")]
+[assembly: AssemblyFileVersion("3.8.2.1")]
Modified: branches/iFolder_3.8.2_beta/src/core/SimiasClient/Properties/AssemblyInfo.cs
===================================================================
--- branches/iFolder_3.8.2_beta/src/core/SimiasClient/Properties/AssemblyInfo.cs 2010-08-25 12:35:24 UTC (rev 7489)
+++ branches/iFolder_3.8.2_beta/src/core/SimiasClient/Properties/AssemblyInfo.cs 2010-08-25 12:40:27 UTC (rev 7490)
@@ -29,5 +29,5 @@
// Build Number
// Revision
//
-[assembly: AssemblyVersion("3.8.1.1")]
-[assembly: AssemblyFileVersion("3.8.1.1")]
+[assembly: AssemblyVersion("3.8.2.1")]
+[assembly: AssemblyFileVersion("3.8.2.1")]
Modified: branches/iFolder_3.8.2_beta/src/core/SyncService/Properties/AssemblyInfo.cs
===================================================================
--- branches/iFolder_3.8.2_beta/src/core/SyncService/Properties/AssemblyInfo.cs 2010-08-25 12:35:24 UTC (rev 7489)
+++ branches/iFolder_3.8.2_beta/src/core/SyncService/Properties/AssemblyInfo.cs 2010-08-25 12:40:27 UTC (rev 7490)
@@ -29,5 +29,5 @@
// Build Number
// Revision
//
-[assembly: AssemblyVersion("3.8.1.1")]
-[assembly: AssemblyFileVersion("3.8.1.1")]
+[assembly: AssemblyVersion("3.8.2.1")]
+[assembly: AssemblyFileVersion("3.8.2.1")]
Modified: branches/iFolder_3.8.2_beta/src/core/WebService/Properties/AssemblyInfo.cs
===================================================================
--- branches/iFolder_3.8.2_beta/src/core/WebService/Properties/AssemblyInfo.cs 2010-08-25 12:35:24 UTC (rev 7489)
+++ branches/iFolder_3.8.2_beta/src/core/WebService/Properties/AssemblyInfo.cs 2010-08-25 12:40:27 UTC (rev 7490)
@@ -29,5 +29,5 @@
// Build Number
// Revision
//
-[assembly: AssemblyVersion("3.8.1.1")]
-[assembly: AssemblyFileVersion("3.8.1.1")]
+[assembly: AssemblyVersion("3.8.2.1")]
+[assembly: AssemblyFileVersion("3.8.2.1")]
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <ra...@us...> - 2010-08-25 12:35:30
|
Revision: 7489
http://simias.svn.sourceforge.net/simias/?rev=7489&view=rev
Author: ravim85
Date: 2010-08-25 12:35:24 +0000 (Wed, 25 Aug 2010)
Log Message:
-----------
bumping versions to 3.8.2.1 - trunk - Simias
Modified Paths:
--------------
trunk/src/core/FlaimProvider/FlaimWrapper/FlaimWrapper.vcproj
trunk/src/core/POBoxWS/Properties/AssemblyInfo.cs
trunk/src/core/Properties/AssemblyInfo.cs
trunk/src/core/SimiasApp/Properties/AssemblyInfo.cs
trunk/src/core/SimiasClient/Properties/AssemblyInfo.cs
trunk/src/core/SyncService/Properties/AssemblyInfo.cs
trunk/src/core/WebService/Properties/AssemblyInfo.cs
Modified: trunk/src/core/FlaimProvider/FlaimWrapper/FlaimWrapper.vcproj
===================================================================
--- trunk/src/core/FlaimProvider/FlaimWrapper/FlaimWrapper.vcproj 2010-08-25 12:32:56 UTC (rev 7488)
+++ trunk/src/core/FlaimProvider/FlaimWrapper/FlaimWrapper.vcproj 2010-08-25 12:35:24 UTC (rev 7489)
@@ -84,7 +84,7 @@
Name="VCLinkerTool"
AdditionalDependencies="rpcrt4.lib ws2_32.lib odbc32.lib odbccp32.lib flaim.lib msvcrt.lib"
OutputFile=".\Release/FlaimWrapper.dll"
- Version="3.8.1.1"
+ Version="3.8.2.1"
LinkIncremental="1"
SuppressStartupBanner="true"
AdditionalLibraryDirectories=""$(SolutionDir)..\..\dependencies\external\libflaim\win32""
@@ -186,7 +186,7 @@
Name="VCLinkerTool"
AdditionalDependencies="rpcrt4.lib ws2_32.lib odbc32.lib odbccp32.lib dbghelp.lib flaim.lib flaimtk.lib msvcrt.lib"
OutputFile=".\Release/FlaimWrapper.dll"
- Version="3.8.1.1"
+ Version="3.8.2.1"
LinkIncremental="1"
SuppressStartupBanner="true"
AdditionalLibraryDirectories=""$(SolutionDir)..\..\dependencies\external\libflaim\win64""
Modified: trunk/src/core/POBoxWS/Properties/AssemblyInfo.cs
===================================================================
--- trunk/src/core/POBoxWS/Properties/AssemblyInfo.cs 2010-08-25 12:32:56 UTC (rev 7488)
+++ trunk/src/core/POBoxWS/Properties/AssemblyInfo.cs 2010-08-25 12:35:24 UTC (rev 7489)
@@ -29,5 +29,5 @@
// Build Number
// Revision
//
-[assembly: AssemblyVersion("3.8.1.1")]
-[assembly: AssemblyFileVersion("3.8.1.1")]
+[assembly: AssemblyVersion("3.8.2.1")]
+[assembly: AssemblyFileVersion("3.8.2.1")]
Modified: trunk/src/core/Properties/AssemblyInfo.cs
===================================================================
--- trunk/src/core/Properties/AssemblyInfo.cs 2010-08-25 12:32:56 UTC (rev 7488)
+++ trunk/src/core/Properties/AssemblyInfo.cs 2010-08-25 12:35:24 UTC (rev 7489)
@@ -29,5 +29,5 @@
// Build Number
// Revision
//
-[assembly: AssemblyVersion("3.8.1.1")]
-[assembly: AssemblyFileVersion("3.8.1.1")]
+[assembly: AssemblyVersion("3.8.2.1")]
+[assembly: AssemblyFileVersion("3.8.2.1")]
Modified: trunk/src/core/SimiasApp/Properties/AssemblyInfo.cs
===================================================================
--- trunk/src/core/SimiasApp/Properties/AssemblyInfo.cs 2010-08-25 12:32:56 UTC (rev 7488)
+++ trunk/src/core/SimiasApp/Properties/AssemblyInfo.cs 2010-08-25 12:35:24 UTC (rev 7489)
@@ -29,5 +29,5 @@
// Build Number
// Revision
//
-[assembly: AssemblyVersion("3.8.1.1")]
-[assembly: AssemblyFileVersion("3.8.1.1")]
+[assembly: AssemblyVersion("3.8.2.1")]
+[assembly: AssemblyFileVersion("3.8.2.1")]
Modified: trunk/src/core/SimiasClient/Properties/AssemblyInfo.cs
===================================================================
--- trunk/src/core/SimiasClient/Properties/AssemblyInfo.cs 2010-08-25 12:32:56 UTC (rev 7488)
+++ trunk/src/core/SimiasClient/Properties/AssemblyInfo.cs 2010-08-25 12:35:24 UTC (rev 7489)
@@ -29,5 +29,5 @@
// Build Number
// Revision
//
-[assembly: AssemblyVersion("3.8.1.1")]
-[assembly: AssemblyFileVersion("3.8.1.1")]
+[assembly: AssemblyVersion("3.8.2.1")]
+[assembly: AssemblyFileVersion("3.8.2.1")]
Modified: trunk/src/core/SyncService/Properties/AssemblyInfo.cs
===================================================================
--- trunk/src/core/SyncService/Properties/AssemblyInfo.cs 2010-08-25 12:32:56 UTC (rev 7488)
+++ trunk/src/core/SyncService/Properties/AssemblyInfo.cs 2010-08-25 12:35:24 UTC (rev 7489)
@@ -29,5 +29,5 @@
// Build Number
// Revision
//
-[assembly: AssemblyVersion("3.8.1.1")]
-[assembly: AssemblyFileVersion("3.8.1.1")]
+[assembly: AssemblyVersion("3.8.2.1")]
+[assembly: AssemblyFileVersion("3.8.2.1")]
Modified: trunk/src/core/WebService/Properties/AssemblyInfo.cs
===================================================================
--- trunk/src/core/WebService/Properties/AssemblyInfo.cs 2010-08-25 12:32:56 UTC (rev 7488)
+++ trunk/src/core/WebService/Properties/AssemblyInfo.cs 2010-08-25 12:35:24 UTC (rev 7489)
@@ -29,5 +29,5 @@
// Build Number
// Revision
//
-[assembly: AssemblyVersion("3.8.1.1")]
-[assembly: AssemblyFileVersion("3.8.1.1")]
+[assembly: AssemblyVersion("3.8.2.1")]
+[assembly: AssemblyFileVersion("3.8.2.1")]
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|