Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Benjamin Graillot
scripts
Commits
41491beb
Commit
41491beb
authored
Mar 07, 2016
by
Remi Oudin
Browse files
[Mail all] Mail all incidents du week end et rappel Install Party
parent
5c86c742
Changes
4
Hide whitespace changes
Inline
Side-by-side
gestion/mail/all_coupure.py
View file @
41491beb
...
...
@@ -12,7 +12,7 @@ import lc_ldap.crans_utils as crans_utils
SEND
=
(
'--do-it'
in
sys
.
argv
)
ldap_filter
=
u
"(&(finConnexion>=%(date)s)(aid=*)(!(chbre=????)))"
%
{
'date'
:
crans_utils
.
to_generalized_time_format
(
time
.
time
())}
#ldap_filter=u"(uid=
detraz
)"
#ldap_filter=u"(uid=
oudin
)"
conn
=
lc_ldap
.
shortcuts
.
lc_ldap_readonly
()
dest
=
conn
.
search
(
ldap_filter
,
sizelimit
=
2000
)
...
...
@@ -24,7 +24,8 @@ with mail.ServerConnection() as smtp:
for
adh
in
dest
:
print
"Envoi du mail à %s"
%
adh
.
dn
if
SEND
:
smtp
.
send_template
(
'all_coupure'
,
{
'adh'
:
adh
,
'From'
:
From
})
smtp
.
send_template
(
'all_coupure'
,
{
'adh'
:
adh
,
'From'
:
From
,
'lang_info'
:
"English version below"
})
cprint
(
" Envoyé !"
)
else
:
cprint
(
" (simulé)"
)
...
...
gestion/mail/template/all_coupure/Subject/fr
View file @
41491beb
[Crans]
Coupure du réseau le 20 Février 2016
[Crans]
Incidents du week-end et Install Party le 12 mars
gestion/mail/template/all_coupure/body/en
0 → 100644
View file @
41491beb
Dear member,
Due to operating errors on Friday, March 4th and Saturday, March 5th, the services
provided by the Crans and the Internet connection were seriously disturbed.
We apologise for every inconvenience, and are keenly aware how much this might have disturbed you.
Whenever the connection seems flawed, don't forget to check out:
- The webpage Crans Incidents: https://wiki.crans.org/CransIncidents
- The news: http://news.crans.org
- Discourse: http://discourse.crans.org
Furthermore, we would like to remind you that the Install Party will take place on
Saturday, March 12th, in partnership with the ENS. If you want to install Linux
on your computer, or attend to conferences on the Free World,
you can meet us in the Pavillon des Jardins, from 9 a.m. to 7 p.m.
The Breakfast will be relocated there, and a buffet will be served for lunch.
For more information, you can check http://www.install-party.ens-cachan.fr/
Sincerely,
--
The active members of Crans
gestion/mail/template/all_coupure/body/fr
View file @
41491beb
Chers adhérents,
Une maintenance importante sur le réseau
e
s
t
programmée samedi 20 février prochain, à partir de
10 heures. Elle durera toute la journée
.
Suite à des erreurs de manipulations le vendredi 4 mars
et
le samedi 5 mars,
les services proposés par le Crans et la connexion internet ont été fortement perturbés
.
Il s'agit d'effectuer une opération de maintenance critique sur la baie de stockage.
Nous nous excusons pour ces perturbations, et nous avons conscience d'à quel
point elles ont pu vous poser problème.
Nous nous efforcerons de maintenir au moins un accès internet filaire durant l'intervention, dans la
mesure du possible. Tous les autres services du Crans seront interrompus.
Lorsque la connexion vous paraît perturbée, n'oubliez pas de consulter :
- La page Crans Incidents : https://wiki.crans.org/CransIncidents
- Les news : http://news.crans.org
- Discourse : http://discourse.crans.org
Par ailleurs, nous vous rappelons que le samedi 12 mars a lieu l'Install
Party du Crans en partenariat avec l'ENS. Si vous voulez installer Linux sur
votre ordinateur, ou assister à des conférences sur le monde du libre,
rendez-vous au Pavillon des Jardins de 9h à 19h !
Le Petit Déj y sera délocalisé, et un buffet est prévu à midi.
Pour plus d'informations, vous pouvez consulter le site http://www.install-party.ens-cachan.fr/
Cordialement,
--
Les membres actifs d
e l'association
Crans
Les membres actifs d
u
Crans
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment