From 2cd8d9629fea32fed09fa322cb5a838b13a4cce3 Mon Sep 17 00:00:00 2001 From: Wolfgang Sourdeau Date: Wed, 30 May 2007 20:08:37 +0000 Subject: [PATCH] Monotone-Parent: 7757c54327c7b25ce729a04203f7d92573db98fc Monotone-Revision: 9e848e008df99a6aae6401a0b3345b1320d222a8 Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2007-05-30T20:08:37 Monotone-Branch: ca.inverse.sogo --- ChangeLog | 16 ++++++++++ UI/SOGoUI/GNUmakefile | 6 ++++ UI/SOGoUI/SOGoACLEnglishAdditionAdvisory.h | 31 ++++++++++++++++++ UI/SOGoUI/SOGoACLEnglishAdditionAdvisory.m | 32 +++++++++++++++++++ UI/SOGoUI/SOGoACLEnglishRemovalAdvisory.h | 31 ++++++++++++++++++ UI/SOGoUI/SOGoACLEnglishRemovalAdvisory.m | 32 +++++++++++++++++++ UI/SOGoUI/SOGoACLFrenchAdditionAdvisory.h | 31 ++++++++++++++++++ UI/SOGoUI/SOGoACLFrenchAdditionAdvisory.m | 27 ++++++++++++++++ UI/SOGoUI/SOGoACLFrenchRemovalAdvisory.h | 31 ++++++++++++++++++ UI/SOGoUI/SOGoACLFrenchRemovalAdvisory.m | 27 ++++++++++++++++ .../SOGoACLEnglishAdditionAdvisory.wox | 22 +++++++++++++ .../SOGoACLEnglishRemovalAdvisory.wox | 22 +++++++++++++ .../SOGoACLFrenchAdditionAdvisory.wox | 22 +++++++++++++ UI/Templates/SOGoACLFrenchRemovalAdvisory.wox | 22 +++++++++++++ 14 files changed, 352 insertions(+) create mode 100644 UI/SOGoUI/SOGoACLEnglishAdditionAdvisory.h create mode 100644 UI/SOGoUI/SOGoACLEnglishAdditionAdvisory.m create mode 100644 UI/SOGoUI/SOGoACLEnglishRemovalAdvisory.h create mode 100644 UI/SOGoUI/SOGoACLEnglishRemovalAdvisory.m create mode 100644 UI/SOGoUI/SOGoACLFrenchAdditionAdvisory.h create mode 100644 UI/SOGoUI/SOGoACLFrenchAdditionAdvisory.m create mode 100644 UI/SOGoUI/SOGoACLFrenchRemovalAdvisory.h create mode 100644 UI/SOGoUI/SOGoACLFrenchRemovalAdvisory.m create mode 100644 UI/Templates/SOGoACLEnglishAdditionAdvisory.wox create mode 100644 UI/Templates/SOGoACLEnglishRemovalAdvisory.wox create mode 100644 UI/Templates/SOGoACLFrenchAdditionAdvisory.wox create mode 100644 UI/Templates/SOGoACLFrenchRemovalAdvisory.wox diff --git a/ChangeLog b/ChangeLog index 7ff8d004e..7f46fd92c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,21 @@ 2007-05-30 Wolfgang Sourdeau + * 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 diff --git a/UI/SOGoUI/GNUmakefile b/UI/SOGoUI/GNUmakefile index 13ea2c5ff..172d94a32 100644 --- a/UI/SOGoUI/GNUmakefile +++ b/UI/SOGoUI/GNUmakefile @@ -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 diff --git a/UI/SOGoUI/SOGoACLEnglishAdditionAdvisory.h b/UI/SOGoUI/SOGoACLEnglishAdditionAdvisory.h new file mode 100644 index 000000000..cfc2bc5c7 --- /dev/null +++ b/UI/SOGoUI/SOGoACLEnglishAdditionAdvisory.h @@ -0,0 +1,31 @@ +/* SOGoACLEnglishAdditionAdvisory.h - this file is part of SOGo + * + * Copyright (C) 2007 Inverse groupe conseil + * + * Author: Wolfgang Sourdeau + * + * 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 */ diff --git a/UI/SOGoUI/SOGoACLEnglishAdditionAdvisory.m b/UI/SOGoUI/SOGoACLEnglishAdditionAdvisory.m new file mode 100644 index 000000000..323684dc7 --- /dev/null +++ b/UI/SOGoUI/SOGoACLEnglishAdditionAdvisory.m @@ -0,0 +1,32 @@ +/* SOGoACLEnglishAdditionAdvisory.m - this file is part of SOGo + * + * Copyright (C) 2007 Inverse groupe conseil + * + * Author: Wolfgang Sourdeau + * + * 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 diff --git a/UI/SOGoUI/SOGoACLEnglishRemovalAdvisory.h b/UI/SOGoUI/SOGoACLEnglishRemovalAdvisory.h new file mode 100644 index 000000000..7590f1060 --- /dev/null +++ b/UI/SOGoUI/SOGoACLEnglishRemovalAdvisory.h @@ -0,0 +1,31 @@ +/* SOGoACLEnglishRemovalAdvisory.h - this file is part of SOGo + * + * Copyright (C) 2007 Inverse groupe conseil + * + * Author: Wolfgang Sourdeau + * + * 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 */ diff --git a/UI/SOGoUI/SOGoACLEnglishRemovalAdvisory.m b/UI/SOGoUI/SOGoACLEnglishRemovalAdvisory.m new file mode 100644 index 000000000..f5eacbcf0 --- /dev/null +++ b/UI/SOGoUI/SOGoACLEnglishRemovalAdvisory.m @@ -0,0 +1,32 @@ +/* SOGoACLEnglishRemovalAdvisory.m - this file is part of SOGo + * + * Copyright (C) 2007 Inverse groupe conseil + * + * Author: Wolfgang Sourdeau + * + * 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 diff --git a/UI/SOGoUI/SOGoACLFrenchAdditionAdvisory.h b/UI/SOGoUI/SOGoACLFrenchAdditionAdvisory.h new file mode 100644 index 000000000..2b482ac18 --- /dev/null +++ b/UI/SOGoUI/SOGoACLFrenchAdditionAdvisory.h @@ -0,0 +1,31 @@ +/* SOGoACLFrenchAdditionAdvisory.h - this file is part of SOGo + * + * Copyright (C) 2007 Inverse groupe conseil + * + * Author: Wolfgang Sourdeau + * + * 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 */ diff --git a/UI/SOGoUI/SOGoACLFrenchAdditionAdvisory.m b/UI/SOGoUI/SOGoACLFrenchAdditionAdvisory.m new file mode 100644 index 000000000..229dcbc95 --- /dev/null +++ b/UI/SOGoUI/SOGoACLFrenchAdditionAdvisory.m @@ -0,0 +1,27 @@ +/* SOGoACLFrenchAdditionAdvisory.m - this file is part of SOGo + * + * Copyright (C) 2007 Inverse groupe conseil + * + * Author: Wolfgang Sourdeau + * + * 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 diff --git a/UI/SOGoUI/SOGoACLFrenchRemovalAdvisory.h b/UI/SOGoUI/SOGoACLFrenchRemovalAdvisory.h new file mode 100644 index 000000000..9a6c9634d --- /dev/null +++ b/UI/SOGoUI/SOGoACLFrenchRemovalAdvisory.h @@ -0,0 +1,31 @@ +/* SOGoACLFrenchRemovalAdvisory.h - this file is part of SOGo + * + * Copyright (C) 2007 Inverse groupe conseil + * + * Author: Wolfgang Sourdeau + * + * 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 */ diff --git a/UI/SOGoUI/SOGoACLFrenchRemovalAdvisory.m b/UI/SOGoUI/SOGoACLFrenchRemovalAdvisory.m new file mode 100644 index 000000000..050d2cfca --- /dev/null +++ b/UI/SOGoUI/SOGoACLFrenchRemovalAdvisory.m @@ -0,0 +1,27 @@ +/* SOGoACLFrenchRemovalAdvisory.m - this file is part of SOGo + * + * Copyright (C) 2007 Inverse groupe conseil + * + * Author: Wolfgang Sourdeau + * + * 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 diff --git a/UI/Templates/SOGoACLEnglishAdditionAdvisory.wox b/UI/Templates/SOGoACLEnglishAdditionAdvisory.wox new file mode 100644 index 000000000..b15cd0da6 --- /dev/null +++ b/UI/Templates/SOGoACLEnglishAdditionAdvisory.wox @@ -0,0 +1,22 @@ + + + + + + has added you + + + + has added you to the access list for his '' folder. +You can subscribe directly to that folder by following this link: + subscribe?mail-invitation=YES + +Otherwise, you will be able to subscribe later from the SOGo web interface. + + + diff --git a/UI/Templates/SOGoACLEnglishRemovalAdvisory.wox b/UI/Templates/SOGoACLEnglishRemovalAdvisory.wox new file mode 100644 index 000000000..eff944b00 --- /dev/null +++ b/UI/Templates/SOGoACLEnglishRemovalAdvisory.wox @@ -0,0 +1,22 @@ + + + + + + has removed you + + + + has removed you from the access list for his '' folder. +You can unsubscribe directly to that folder by following this link: + unsubscribe?mail-invitation=YES + +Otherwise, you will be able to unsubscribe later from the SOGo web interface. + + + diff --git a/UI/Templates/SOGoACLFrenchAdditionAdvisory.wox b/UI/Templates/SOGoACLFrenchAdditionAdvisory.wox new file mode 100644 index 000000000..4686ccf75 --- /dev/null +++ b/UI/Templates/SOGoACLFrenchAdditionAdvisory.wox @@ -0,0 +1,22 @@ + + + + + + vous a ajouté + + + + vous a ajouté a sa liste de permission pour son dossier ''. +Vous pouvez vous inscrire directement a ce dossier en cliquant sur le lien suivant: + unsubscribe?mail-invitation=YES + +Autrement, il vous sera toujours possible de vous inscrire plus tard via l'interface web de SOGo. + + + diff --git a/UI/Templates/SOGoACLFrenchRemovalAdvisory.wox b/UI/Templates/SOGoACLFrenchRemovalAdvisory.wox new file mode 100644 index 000000000..7679866ab --- /dev/null +++ b/UI/Templates/SOGoACLFrenchRemovalAdvisory.wox @@ -0,0 +1,22 @@ + + + + + + vous a enlevé + + + + vous a enlevé de sa liste de permission pour son dossier ''. +Vous pouvez vous désinscrire directement en cliquant sur le lien suivant: + unsubscribe?mail-invitation=YES + +Autrement, il vous sera toujours possible de vous désinscrire plus tard via l'interface web de SOGo. + + +