Monotone-Parent: 7757c54327c7b25ce729a04203f7d92573db98fc

Monotone-Revision: 9e848e008df99a6aae6401a0b3345b1320d222a8

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2007-05-30T20:08:37
Monotone-Branch: ca.inverse.sogo
This commit is contained in:
Wolfgang Sourdeau
2007-05-30 20:08:37 +00:00
parent 2a526120f7
commit 2cd8d9629f
14 changed files with 352 additions and 0 deletions

View File

@@ -1,5 +1,21 @@
2007-05-30 Wolfgang Sourdeau <wsourdeau@inverse.ca>
* UI/SOGoUI/SOGoACLFrenchRemovalAdvisory.[hm]: new subclass of
SOGoACLAdvisory implementing the french template for user removal
from acls.
* UI/SOGoUI/SOGoACLFrenchAdditionAdvisory.[hm]: new subclass of
SOGoACLAdvisory implementing the french template for user
additions to acls.
* UI/SOGoUI/SOGoACLEnglishRemovalAdvisory.[hm]: new subclass of
SOGoACLAdvisory implementing the english template for user removal
from acls.
* UI/SOGoUI/SOGoACLEnglishAdditionAdvisory.[hm]: new subclass of
SOGoACLAdvisory implementing the english template for user
additions to acls.
* UI/SOGoUI/SOGoACLAdvisory.[hm]: new class module implemented the
supercall of all the acl advistory templates. The model is based
on SOGoAptMailNotification except that the template encapsulates

View File

@@ -29,6 +29,12 @@ libSOGoUI_OBJC_FILES += \
SOGoAptFormatter.m \
SOGoJSStringFormatter.m \
WOContext+UIx.m \
\
SOGoACLAdvisory.m \
SOGoACLFrenchAdditionAdvisory.m \
SOGoACLFrenchRemovalAdvisory.m \
SOGoACLEnglishAdditionAdvisory.m \
SOGoACLEnglishRemovalAdvisory.m
# make

View File

@@ -0,0 +1,31 @@
/* SOGoACLEnglishAdditionAdvisory.h - this file is part of SOGo
*
* Copyright (C) 2007 Inverse groupe conseil
*
* Author: Wolfgang Sourdeau <wsourdeau@inverse.ca>
*
* This file is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2, or (at your option)
* any later version.
*
* This file is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; see the file COPYING. If not, write to
* the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
* Boston, MA 02111-1307, USA.
*/
#ifndef SOGOACLFRENCHADDITIONADVISORY_H
#define SOGOACLFRENCHADDITIONADVISORY_H
#import "SOGoACLAdvisory.h"
@interface SOGoACLEnglishAdditionAdvisory : SOGoACLAdvisory
@end
#endif /* SOGOACLFRENCHADDITIONADVISORY_H */

View File

@@ -0,0 +1,32 @@
/* SOGoACLEnglishAdditionAdvisory.m - this file is part of SOGo
*
* Copyright (C) 2007 Inverse groupe conseil
*
* Author: Wolfgang Sourdeau <wsourdeau@inverse.ca>
*
* This file is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2, or (at your option)
* any later version.
*
* This file is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; see the file COPYING. If not, write to
* the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
* Boston, MA 02111-1307, USA.
*/
#import "SOGoACLEnglishAdditionAdvisory.h"
@implementation SOGoACLEnglishAdditionAdvisory
- (NSString *) aclMethod
{
return @"add";
}
@end

View File

@@ -0,0 +1,31 @@
/* SOGoACLEnglishRemovalAdvisory.h - this file is part of SOGo
*
* Copyright (C) 2007 Inverse groupe conseil
*
* Author: Wolfgang Sourdeau <wsourdeau@inverse.ca>
*
* This file is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2, or (at your option)
* any later version.
*
* This file is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; see the file COPYING. If not, write to
* the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
* Boston, MA 02111-1307, USA.
*/
#ifndef SOGOACLENGLISHREMOVALADVISORY_H
#define SOGOACLENGLISHREMOVALADVISORY_H
#import "SOGoACLAdvisory.h"
@interface SOGoACLEnglishRemovalAdvisory : SOGoACLAdvisory
@end
#endif /* SOGOACLENGLISHREMOVALADVISORY_H */

View File

@@ -0,0 +1,32 @@
/* SOGoACLEnglishRemovalAdvisory.m - this file is part of SOGo
*
* Copyright (C) 2007 Inverse groupe conseil
*
* Author: Wolfgang Sourdeau <wsourdeau@inverse.ca>
*
* This file is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2, or (at your option)
* any later version.
*
* This file is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; see the file COPYING. If not, write to
* the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
* Boston, MA 02111-1307, USA.
*/
#import "SOGoACLEnglishRemovalAdvisory.h"
@implementation SOGoACLEnglishRemovalAdvisory
- (NSString *) aclMethod
{
return @"add";
}
@end

View File

@@ -0,0 +1,31 @@
/* SOGoACLFrenchAdditionAdvisory.h - this file is part of SOGo
*
* Copyright (C) 2007 Inverse groupe conseil
*
* Author: Wolfgang Sourdeau <wsourdeau@inverse.ca>
*
* This file is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2, or (at your option)
* any later version.
*
* This file is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; see the file COPYING. If not, write to
* the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
* Boston, MA 02111-1307, USA.
*/
#ifndef SOGOACLFRENCHADDITIONADVISORY_H
#define SOGOACLFRENCHADDITIONADVISORY_H
#import "SOGoACLAdvisory.h"
@interface SOGoACLFrenchAdditionAdvisory : SOGoACLAdvisory
@end
#endif /* SOGOACLFRENCHADDITIONADVISORY_H */

View File

@@ -0,0 +1,27 @@
/* SOGoACLFrenchAdditionAdvisory.m - this file is part of SOGo
*
* Copyright (C) 2007 Inverse groupe conseil
*
* Author: Wolfgang Sourdeau <wsourdeau@inverse.ca>
*
* This file is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2, or (at your option)
* any later version.
*
* This file is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; see the file COPYING. If not, write to
* the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
* Boston, MA 02111-1307, USA.
*/
#import "SOGoACLFrenchAdditionAdvisory.h"
@implementation SOGoACLFrenchAdditionAdvisory
@end

View File

@@ -0,0 +1,31 @@
/* SOGoACLFrenchRemovalAdvisory.h - this file is part of SOGo
*
* Copyright (C) 2007 Inverse groupe conseil
*
* Author: Wolfgang Sourdeau <wsourdeau@inverse.ca>
*
* This file is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2, or (at your option)
* any later version.
*
* This file is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; see the file COPYING. If not, write to
* the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
* Boston, MA 02111-1307, USA.
*/
#ifndef SOGOACLFRENCHREMOVALADVISORY_H
#define SOGOACLFRENCHREMOVALADVISORY_H
#import "SOGoACLAdvisory.h"
@interface SOGoACLFrenchRemovalAdvisory : SOGoACLAdvisory
@end
#endif /* SOGOACLFRENCHREMOVALADVISORY_H */

View File

@@ -0,0 +1,27 @@
/* SOGoACLFrenchRemovalAdvisory.m - this file is part of SOGo
*
* Copyright (C) 2007 Inverse groupe conseil
*
* Author: Wolfgang Sourdeau <wsourdeau@inverse.ca>
*
* This file is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2, or (at your option)
* any later version.
*
* This file is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; see the file COPYING. If not, write to
* the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
* Boston, MA 02111-1307, USA.
*/
#import "SOGoACLFrenchRemovalAdvisory.h"
@implementation SOGoACLFrenchRemovalAdvisory
@end

View File

@@ -0,0 +1,22 @@
<?xml version="1.0" standalone="yes"?>
<!DOCTYPE container>
<container
xmlns="http://www.w3.org/1999/xhtml"
xmlns:var="http://www.skyrix.com/od/binding"
xmlns:const="http://www.skyrix.com/od/constant"
xmlns:rsrc="OGo:url"
xmlns:label="OGo:label">
<var:if condition="isSubject">
<var:string value="currentUserName"/> has added you
</var:if>
<var:if condition="isBody">
<var:string value="currentUserName"/> has added you to the access list for his '<var:string value="resourceName"/>' folder.
You can subscribe directly to that folder by following this link:
<var:string value="httpAdvisoryURL"/>subscribe?mail-invitation=YES
Otherwise, you will be able to subscribe later from the SOGo web interface.
</var:if>
</container>

View File

@@ -0,0 +1,22 @@
<?xml version="1.0" standalone="yes"?>
<!DOCTYPE container>
<container
xmlns="http://www.w3.org/1999/xhtml"
xmlns:var="http://www.skyrix.com/od/binding"
xmlns:const="http://www.skyrix.com/od/constant"
xmlns:rsrc="OGo:url"
xmlns:label="OGo:label">
<var:if condition="isSubject">
<var:string value="currentUserName"/> has removed you
</var:if>
<var:if condition="isBody">
<var:string value="currentUserName"/> has removed you from the access list for his '<var:string value="resourceName"/>' folder.
You can unsubscribe directly to that folder by following this link:
<var:string value="httpAdvisoryURL"/>unsubscribe?mail-invitation=YES
Otherwise, you will be able to unsubscribe later from the SOGo web interface.
</var:if>
</container>

View File

@@ -0,0 +1,22 @@
<?xml version="1.0" standalone="yes"?>
<!DOCTYPE container>
<container
xmlns="http://www.w3.org/1999/xhtml"
xmlns:var="http://www.skyrix.com/od/binding"
xmlns:const="http://www.skyrix.com/od/constant"
xmlns:rsrc="OGo:url"
xmlns:label="OGo:label">
<var:if condition="isSubject">
<var:string value="currentUserName"/> vous a ajouté
</var:if>
<var:if condition="isBody">
<var:string value="currentUserName"/> vous a ajouté a sa liste de permission pour son dossier '<var:string value="resourceName"/>'.
Vous pouvez vous inscrire directement a ce dossier en cliquant sur le lien suivant:
<var:string value="httpAdvisoryURL"/>unsubscribe?mail-invitation=YES
Autrement, il vous sera toujours possible de vous inscrire plus tard via l'interface web de SOGo.
</var:if>
</container>

View File

@@ -0,0 +1,22 @@
<?xml version="1.0" standalone="yes"?>
<!DOCTYPE container>
<container
xmlns="http://www.w3.org/1999/xhtml"
xmlns:var="http://www.skyrix.com/od/binding"
xmlns:const="http://www.skyrix.com/od/constant"
xmlns:rsrc="OGo:url"
xmlns:label="OGo:label">
<var:if condition="isSubject">
<var:string value="currentUserName"/> vous a enlevé
</var:if>
<var:if condition="isBody">
<var:string value="currentUserName"/> vous a enlevé de sa liste de permission pour son dossier '<var:string value="resourceName"/>'.
Vous pouvez vous désinscrire directement en cliquant sur le lien suivant:
<var:string value="httpAdvisoryURL"/>unsubscribe?mail-invitation=YES
Autrement, il vous sera toujours possible de vous désinscrire plus tard via l'interface web de SOGo.
</var:if>
</container>