Projet

Général

Profil

Development #45159

Pouvoir définir des plages de rendez-vous par récurrence

Ajouté par Mikaël Ates il y a plus de 3 ans. Mis à jour il y a plus d'un an.

Statut:
Fermé
Priorité:
Normal
Assigné à:
Catégorie:
-
Version cible:
-
Début:
Echéance:
01 avril 2022
% réalisé:

0%

Temps estimé:
Patch proposed:
Oui
Planning:
Non

Description

Ce serait par exemple :
  • Le premier lundi du mois
  • 1er et 3eme mercredi du mois*
  • 1 mardi sur 2
  • Etc.

Fichiers

1637160445.png (38,8 ko) 1637160445.png Valentin Deniaud, 17 novembre 2021 15:50
0003-manager-choose-time-period-weekday-indexes-45159.patch (11 ko) 0003-manager-choose-time-period-weekday-indexes-45159.patch Valentin Deniaud, 10 mars 2022 16:02
0005-manager-account-for-time-period-weekday-indexes-in-c.patch (4,6 ko) 0005-manager-account-for-time-period-weekday-indexes-in-c.patch Valentin Deniaud, 10 mars 2022 16:02
0002-agendas-add-weekday-indexes-to-time-period-45159.patch (2,62 ko) 0002-agendas-add-weekday-indexes-to-time-period-45159.patch Valentin Deniaud, 10 mars 2022 16:02
0001-utils-add-function-to-get-weekday-index-from-date-45.patch (1,84 ko) 0001-utils-add-function-to-get-weekday-index-from-date-45.patch Valentin Deniaud, 10 mars 2022 16:02
0004-api-account-for-time-period-weekday-indexes-45159.patch (9,23 ko) 0004-api-account-for-time-period-weekday-indexes-45159.patch Valentin Deniaud, 10 mars 2022 16:02
1646924496.png (31,1 ko) 1646924496.png Valentin Deniaud, 10 mars 2022 16:03
1646924478.png (39,7 ko) 1646924478.png Valentin Deniaud, 10 mars 2022 16:03
1646924466.png (28,9 ko) 1646924466.png Valentin Deniaud, 10 mars 2022 16:03
0003-manager-choose-time-period-weekday-indexes-45159.patch (10,9 ko) 0003-manager-choose-time-period-weekday-indexes-45159.patch Valentin Deniaud, 15 mars 2022 13:39
0005-manager-account-for-time-period-weekday-indexes-in-c.patch (7,3 ko) 0005-manager-account-for-time-period-weekday-indexes-in-c.patch Valentin Deniaud, 15 mars 2022 13:39
0002-agendas-add-weekday-indexes-to-time-period-45159.patch (2,67 ko) 0002-agendas-add-weekday-indexes-to-time-period-45159.patch Valentin Deniaud, 15 mars 2022 13:39
0001-utils-add-function-to-get-weekday-index-from-date-45.patch (1,84 ko) 0001-utils-add-function-to-get-weekday-index-from-date-45.patch Valentin Deniaud, 15 mars 2022 13:39
0004-api-account-for-time-period-weekday-indexes-45159.patch (12,6 ko) 0004-api-account-for-time-period-weekday-indexes-45159.patch Valentin Deniaud, 15 mars 2022 13:39

Demandes liées

Copié vers Publik - Development #59080: Pouvoir définir des plages de rendez-vous par récurrenceFermé

Actions

Révisions associées

Révision 839a578b (diff)
Ajouté par Valentin Deniaud il y a environ 2 ans

utils: add function to get weekday index from date (#45159)

Révision 6c067790 (diff)
Ajouté par Valentin Deniaud il y a environ 2 ans

agendas: add weekday indexes to time period (#45159)

Révision 956c1fd1 (diff)
Ajouté par Valentin Deniaud il y a environ 2 ans

manager: choose time period weekday indexes (#45159)

Révision 7672c6ed (diff)
Ajouté par Valentin Deniaud il y a environ 2 ans

api: account for time period weekday indexes (#45159)

Révision 5f413af3 (diff)
Ajouté par Valentin Deniaud il y a environ 2 ans

manager: account for time period weekday indexes in calendar views (#45159)

Historique

#2

Mis à jour par Frédéric Péters il y a plus de 3 ans

Événement plutôt que rendez-vous ?

#4

Mis à jour par Frédéric Péters il y a plus de 3 ans

Ah mais ça concerne la prise du rendez-vous, genre je veux un rendez-vous tous les lundis à 9h; et pas quelque au moment de définir un rendez-vous. (?)

#6

Mis à jour par Marie Kuntz il y a plus de 2 ans

  • Priorité changé de Bas à Normal
#20

Mis à jour par Valentin Deniaud il y a plus de 2 ans

#22

Mis à jour par Marie Kuntz il y a plus de 2 ans

  • Tracker changé de Support à Development
#23

Mis à jour par Marie Kuntz il y a plus de 2 ans

  • Copié vers Development #59080: Pouvoir définir des plages de rendez-vous par récurrence ajouté
#24

Mis à jour par Valentin Deniaud il y a environ 2 ans

  • Echéance mis à 01 avril 2022
  • Assigné à mis à Valentin Deniaud
  • Début 16 juillet 2020 supprimé
#26

Mis à jour par Valentin Deniaud il y a environ 2 ans

Voilà pour l'interface, je ne crois pas qu'on utilise beaucoup ce widget de sélection multiple, je remplace par des checkboxes ?

#27

Mis à jour par Lauréline Guérin il y a environ 2 ans

  • Assigné à changé de Benjamin Dauvergne à Valentin Deniaud
#28

Mis à jour par Lauréline Guérin il y a environ 2 ans

0003:

    def clean_weekday_indexes(self):
        if self.cleaned_data['repeat'] == 'every-week':
            return None
        return self.cleaned_data['weekday_indexes']

Les validations dépendant de plusieurs champs sont à écrire dans la méthode clean globale

0004: Peut-être ajouter quelques tests plus "unitaires" dans tests/test_time_periods.py ?

#30

Mis à jour par Valentin Deniaud il y a environ 2 ans

J'ai complété les tests sur les timeperiods dans 0004 et 0005, et séparé la méthode clean.

#31

Mis à jour par Lauréline Guérin il y a environ 2 ans

  • Statut changé de Solution proposée à Solution validée
#32

Mis à jour par Valentin Deniaud il y a environ 2 ans

  • Statut changé de Solution validée à Résolu (à déployer)
commit 5f413af3d122c2a05305f91c83f1f4a162d7713d
Author: Valentin Deniaud <vdeniaud@entrouvert.com>
Date:   Thu Jan 20 16:35:06 2022 +0100

    manager: account for time period weekday indexes in calendar views (#45159)

commit 7672c6edeae437555f0dcc43b488abdbb3ee5682
Author: Valentin Deniaud <vdeniaud@entrouvert.com>
Date:   Thu Jan 20 16:34:43 2022 +0100

    api: account for time period weekday indexes (#45159)

commit 956c1fd18347524f036eaffd1fff9813afdb3b97
Author: Valentin Deniaud <vdeniaud@entrouvert.com>
Date:   Thu Mar 10 15:03:54 2022 +0100

    manager: choose time period weekday indexes (#45159)

commit 6c067790e1f3c5179a7a49e80c2e8925b5884eed
Author: Valentin Deniaud <vdeniaud@entrouvert.com>
Date:   Thu Jan 20 16:34:08 2022 +0100

    agendas: add weekday indexes to time period (#45159)

commit 839a578bd0086842637e7c1f8510a6a6527d4db4
Author: Valentin Deniaud <vdeniaud@entrouvert.com>
Date:   Thu Jan 20 11:29:48 2022 +0100

    utils: add function to get weekday index from date (#45159)
#33

Mis à jour par Transition automatique il y a environ 2 ans

  • Statut changé de Résolu (à déployer) à Solution déployée
#34

Mis à jour par Transition automatique il y a presque 2 ans

Automatic expiration

#35

Mis à jour par Robot Gitea il y a plus d'un an

Valentin Deniaud (vdeniaud) a ouvert une pull request sur Gitea concernant cette demande :

#36

Mis à jour par Robot Gitea il y a plus d'un an

Valentin Deniaud (vdeniaud) a mergé une pull request sur Gitea concernant cette demande :

Formats disponibles : Atom PDF