Projet

Général

Profil

Evolution #1328

Pouvoir rendre des variables "non modifiables"

Ajouté par Klaas TJEBBES il y a plus de 13 ans. Mis à jour il y a plus de 11 ans.

Statut:
Fermé
Priorité:
Bas
Assigné à:
Gwenael Remond
Catégorie:
-
Début:
04/01/2011
Echéance:
% réalisé:

100%

Temps passé:
Distribution:
EOLE 2.4

Description

Une fois qu'elles ont été renseignées et le serveur instancié avec, certaines variables creole ne devraient plus pouvoir être modifiées. Par exemple : Nom de domaine Samba sur Scribe.

Révisions associées

Révision bacf19b7 (diff)
Ajouté par Walid Nouh il y a plus de 14 ans

see #1328 Work on notification GUI & DB

Révision 885ce520 (diff)
Ajouté par Walid Nouh il y a plus de 14 ans

see #1328 Add missing files in previous commit

Révision 581ae9cd (diff)
Ajouté par Walid Nouh il y a plus de 14 ans

see #1328 More work on GUI and notification creation (to be discussed)

Révision aff8c00e (diff)
Ajouté par Walid Nouh il y a plus de 14 ans

see #1328 Work on notification engine

Révision 6f3ce09f (diff)
Ajouté par Walid Nouh il y a plus de 14 ans

see #1328 add more events & allow plugin notifications

Révision dd90bb0f (diff)
Ajouté par Walid Nouh il y a environ 14 ans

see #1328 Use Dropdown::show to display list of templates

Révision 1dea755f (diff)
Ajouté par Walid Nouh il y a environ 14 ans

see #1328 Work on notifications

Révision 00e57681 (diff)
Ajouté par Walid Nouh il y a environ 14 ans

see #1328 Implement algorithm to get notification & targets + send mails

Révision 85f7c8f6 (diff)
Ajouté par Walid Nouh il y a environ 14 ans

see #1328 Fix class name for plugin's notificationtargets

Révision cade4245 (diff)
Ajouté par Walid Nouh il y a environ 14 ans

see #1328 Log only changes for subject & content (need a generic solution into Log class)

Révision 8c01ff60 (diff)
Ajouté par Walid Nouh il y a environ 14 ans

see #1328 More work on notification templates for tickets

Révision 5c8bee00 (diff)
Ajouté par Walid Nouh il y a environ 14 ans

see #1328 More work on notification & templates

Révision 2ba702c8 (diff)
Ajouté par Walid Nouh il y a environ 14 ans

see #1328 Work on reservation

Révision eb8a3ce9 (diff)
Ajouté par Walid Nouh il y a environ 14 ans

see #1328 Work on DB replication notification

Révision 9e5e817f (diff)
Ajouté par Walid Nouh il y a environ 14 ans

see #1328 Add translation table + adapt interface
see #1964 Add request group target

Révision 9479c966 (diff)
Ajouté par Walid Nouh il y a environ 14 ans

see #1328 Fix template edition + add template translation history

Révision 5e253d5b (diff)
Ajouté par Walid Nouh il y a environ 14 ans

see #1328 Fix update issue & set language field as var(5)

Révision c3ab138e (diff)
Ajouté par Walid Nouh il y a environ 14 ans

see #1328 Fix previous commit

Révision 70cd5cc9 (diff)
Ajouté par Walid Nouh il y a environ 14 ans

see #1328 Several improvments

Révision fe7c4f5e (diff)
Ajouté par Walid Nouh il y a environ 14 ans

see #1328 Improvments

Révision 86265e9c (diff)
Ajouté par Walid Nouh il y a environ 14 ans

see #1328 Various corrections + manage FIRST|LAST in FOREACH statement

Révision 1e83616b (diff)
Ajouté par Walid Nouh il y a environ 14 ans

see #1328 Do not show notification link if mailing is disable

Révision d6ffcccc (diff)
Ajouté par Walid Nouh il y a environ 14 ans

see #1328 Split history functions + add log events to notification templates

Révision 98bb590f (diff)
Ajouté par Walid Nouh il y a environ 14 ans

see #1328 add message when email notification is disable

Révision 1b9ec62a (diff)
Ajouté par Walid Nouh il y a environ 14 ans

see #1328 Template processing optimizations

Révision f2248f1f (diff)
Ajouté par Walid Nouh il y a environ 14 ans

see #1328 Several corrections + clean

Révision f276c3ef (diff)
Ajouté par Walid Nouh il y a environ 14 ans

see #1328 Load plugin lang (to be tested...)

Révision e38c9f8c (diff)
Ajouté par Walid Nouh il y a environ 14 ans

see #1328 Corrections

Révision 2027f3b4 (diff)
Ajouté par Walid Nouh il y a environ 14 ans

see #1328 Apply commit 10469 10470 10471 from 0.80-alpha to trunk

Révision fdfa3249 (diff)
Ajouté par Walid Nouh il y a environ 14 ans

see #1328 Return url in tag ticket.url

Révision a0b7fc85 (diff)
Ajouté par Walid Nouh il y a environ 14 ans

see #1328 Apply commit 10480 from alpha to trunk

Révision 9e7b3cc1 (diff)
Ajouté par Walid Nouh il y a environ 14 ans

see #1328 Update DB for notification (to be continued)

Révision e24b8699 (diff)
Ajouté par Walid Nouh il y a environ 14 ans

see #1328 Fix filter computation

Révision 13ef8279 (diff)
Ajouté par Walid Nouh il y a environ 14 ans

see #1328 More work on DB migration

Révision f6956685 (diff)
Ajouté par Walid Nouh il y a environ 14 ans

see #1328 More work on DB migration

Révision 595e7744 (diff)
Ajouté par Walid Nouh il y a environ 14 ans

see #1328 More work on DB migration

Révision 6ca09d09 (diff)
Ajouté par Walid Nouh il y a environ 14 ans

see #1328 Fix issues with plugin's notifications + add history in notificationtarget

Révision bec81c98 (diff)
Ajouté par Walid Nouh il y a environ 14 ans

see #1328 Work on contracts notifications + add notification on ticket deletion

Révision 62d541f9 (diff)
Ajouté par Walid Nouh il y a environ 14 ans

see #1328 Add simple template for tickets

Révision 79d807f5 (diff)
Ajouté par Walid Nouh il y a environ 14 ans

see #1328 Notifications on consumables & cartridges

Révision 4d90b444 (diff)
Ajouté par Walid Nouh il y a environ 14 ans

see #1328 Notifications on Infocoms

Révision f41cb8e1 (diff)
Ajouté par Walid Nouh il y a environ 14 ans

see #1328 Add is_active for notifications + new notifications : (update|delete)_task/followup

Révision 223757be (diff)
Ajouté par Walid Nouh il y a environ 14 ans

see #1328 Notifications on Software Licenses

Révision 70d0de08 (diff)
Ajouté par Walid Nouh il y a environ 14 ans

see #1328 Alert reservations done

Révision ce5716be (diff)
Ajouté par Walid Nouh il y a environ 14 ans

see #1328 Add alert for tickets not closed after x days

Historique

#1 Mis à jour par Emmanuel GARETTE il y a presque 13 ans

  • Statut changé de Nouveau à En attente d'informations

#2 Mis à jour par Gwenael Remond il y a presque 12 ans

  • Statut changé de En attente d'informations à Accepté
  • Assigné à mis à Gwenael Remond
  • Priorité changé de Normal à Bas
  • Version cible changé de 76 à Eole 2.4-dev-1
  • Distribution mis à EOLE 2.4

#3 Mis à jour par Emmanuel GARETTE il y a plus de 11 ans

La fonctionnalité est là. Il faut mettre la variable en "auto_freeze".

#4 Mis à jour par Joël Cuissinat il y a plus de 11 ans

  • Statut changé de Accepté à Fermé
  • % réalisé changé de 0 à 100
Exemples de mise en œuvre :
  • 00_common.xml
    <variable name='numero_etab' type='string' description="Identifiant de l'établissement (exemple UAI)" auto_freeze='True'/>
    
  • 01_network.xml
            <condition name='freeze_if_not_in' source='eth0_method'>
                <param>statique</param>
                <target type='variable'>adresse_ip_eth0</target>
                <target type='variable'>adresse_netmask_eth0</target>
                <target type='variable'>adresse_network_eth0</target>
                <target type='variable'>adresse_broadcast_eth0</target>
                <target type='variable'>adresse_ip_gw</target>
            </condition>
    

#5 Mis à jour par Emmanuel GARETTE il y a plus de 11 ans

Ce sont deux exemples totalement différents.

Le premier (00_common.xml) permet de freezer une variable s'il y a déjà un valeur dans le config.eol.

Le deuxième (01_network.xml) permet de freezer une variable si les conditions sont réunis. Une variable tiramisu avec un callback, si elle est non freezé, correspond à un fill (au sens tiramisu ... tant qu'elle n'est pas modifié elle est calculée, si elle est modifiée elle n'est plus calculé). Une variable tiramisu avec un callback + freeze correspond à une auto (toujours recalculée, ne prend pas en compte la valeur enregistrée dans config.eol).

La variable n'est pas freezé si eth0_method est statique, cela permet à l'utilisateur de pouvoir changer la valeur. Sinon elle passe en auto.

Les variables freezées avec callback ne sont pas affichée dans gen_config.

Formats disponibles : Atom PDF