Projet

Général

Profil

Development #70185

Permettre l'ajout d'une période horaire à une date spécifique

Ajouté par Valentin Deniaud il y a plus d'un an. Mis à jour il y a plus d'un an.

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

0%

Temps estimé:
Patch proposed:
Oui
Planning:
Non

Description

Actuellement on ne peux qu'ajouter une période récurrente (tout les lundi de 14 à 16h).

Ici on voudrait permettre l'ouverture à une date spécifique (le lundi 13 décembre de 14 à 16h).


Fichiers

0005-manager-remove-useless-timeperiods-sort-70185.patch (1,3 ko) 0005-manager-remove-useless-timeperiods-sort-70185.patch Valentin Deniaud, 25 octobre 2022 10:53
0006-manager-display-date-time-period-in-calendar-views-7.patch (10 ko) 0006-manager-display-date-time-period-in-calendar-views-7.patch Valentin Deniaud, 25 octobre 2022 10:53
0002-manager-reword-time-period-related-labels-70185.patch (5,46 ko) 0002-manager-reword-time-period-related-labels-70185.patch Valentin Deniaud, 25 octobre 2022 10:53
0004-manager-add-date-time-period-support-in-settings-701.patch (21,2 ko) 0004-manager-add-date-time-period-support-in-settings-701.patch Valentin Deniaud, 25 octobre 2022 10:53
0007-api-add-date-time-period-support-in-datetimes-and-fi.patch (17,2 ko) 0007-api-add-date-time-period-support-in-datetimes-and-fi.patch Valentin Deniaud, 25 octobre 2022 10:53
0003-agendas-add-date-field-to-time-period-70185.patch (5,21 ko) 0003-agendas-add-date-field-to-time-period-70185.patch Valentin Deniaud, 25 octobre 2022 10:53
0001-manager-remove-obsolete-user_can_manage-in-exception.patch (2,48 ko) 0001-manager-remove-obsolete-user_can_manage-in-exception.patch Valentin Deniaud, 25 octobre 2022 10:53
0003-agendas-add-date-field-to-time-period-70185.patch (6,9 ko) 0003-agendas-add-date-field-to-time-period-70185.patch Valentin Deniaud, 26 octobre 2022 11:42
0006-manager-display-date-time-period-in-calendar-views-7.patch (15,2 ko) 0006-manager-display-date-time-period-in-calendar-views-7.patch Valentin Deniaud, 31 octobre 2022 14:43

Révisions associées

Révision b9952de5 (diff)
Ajouté par Valentin Deniaud il y a plus d'un an

manager: remove obsolete user_can_manage in exception list (#70185)

Permission is already checked by ManagedDeskMixin.

Révision 0e9aac8e (diff)
Ajouté par Valentin Deniaud il y a plus d'un an

manager: reword time period related labels (#70185)

Révision d0a8534f (diff)
Ajouté par Valentin Deniaud il y a plus d'un an

agendas: add date field to time period (#70185)

Révision aa0549f5 (diff)
Ajouté par Valentin Deniaud il y a plus d'un an

manager: add date time period support in settings (#70185)

Révision e716f57c (diff)
Ajouté par Valentin Deniaud il y a plus d'un an

manager: remove useless timeperiods sort (#70185)

Révision bb148dc0 (diff)
Ajouté par Valentin Deniaud il y a plus d'un an

manager: display date time period in calendar views (#70185)

Révision f8e18881 (diff)
Ajouté par Valentin Deniaud il y a plus d'un an

api: add date time period support in datetimes and fillslot (#70185)

Historique

#3

Mis à jour par Valentin Deniaud il y a plus d'un an

Ajout d'un attribut date à TimePeriod (0003), ensuite niveau terminologie les objets TimePeriod datés sont nommés date_time_periods, par contre dans l'interface ça devient « Unique period » vs « Repeating period » (d'après un consensus dans le ticket côté Espace des CPFs (et ça donne 0002 en préliminaire)).

À part ça rien de très particulier à noter, j'ai écrit pas mal de test mais il faudra voir ce que ça donne dans le monde réel.

(vidéo de démo sans la bonne terminologie ici #68950#note-7)

#4

Mis à jour par Valentin Deniaud il y a plus d'un an

(deux lignes en plus pour gérer import/export)

#5

Mis à jour par Lauréline Guérin il y a plus d'un an

0004: détail, tu peux enlever form_class dans TimePeriodEditView non ?
0006: ajouter un test pour l'affichage hebdo

#6

Mis à jour par Valentin Deniaud il y a plus d'un an

Lauréline Guérin a écrit :

0004: détail, tu peux enlever form_class dans TimePeriodEditView non ?

Ouep, fait dans la branche.

0006: ajouter un test pour l'affichage hebdo

Ça a changé un peu le patch et j'ai trouvé un bug sur le masquage du weekend, revoici donc.

#7

Mis à jour par Lauréline Guérin il y a plus d'un an

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

Mis à jour par Valentin Deniaud il y a plus d'un an

  • Statut changé de Solution validée à Résolu (à déployer)
commit 795c9843080455d3ed4f845d5d67b0b9b3fbced1
Author: Valentin Deniaud <vdeniaud@entrouvert.com>
Date:   Thu Oct 13 16:20:17 2022 +0200

    api: add date time period support in datetimes and fillslot (#70185)

commit bffe61ad057d9b190e91607aabe8135805c28b1b
Author: Valentin Deniaud <vdeniaud@entrouvert.com>
Date:   Mon Oct 24 17:53:22 2022 +0200

    manager: display date time period in calendar views (#70185)

commit 39739cd798236c70b39721c224c899f7cded9864
Author: Valentin Deniaud <vdeniaud@entrouvert.com>
Date:   Mon Oct 24 17:52:31 2022 +0200

    manager: remove useless timeperiods sort (#70185)

commit 8a05c628fe55254388124708b80e50d5411e16b0
Author: Valentin Deniaud <vdeniaud@entrouvert.com>
Date:   Thu Oct 13 16:19:13 2022 +0200

    manager: add date time period support in settings (#70185)

commit 69c16572417debd2f58edfad8fc8a559925a7742
Author: Valentin Deniaud <vdeniaud@entrouvert.com>
Date:   Thu Oct 13 15:49:11 2022 +0200

    agendas: add date field to time period (#70185)

commit 2d31b59414d643a99f2ca0ce77e54c5e21fdfb59
Author: Valentin Deniaud <vdeniaud@entrouvert.com>
Date:   Mon Oct 24 12:15:24 2022 +0200

    manager: reword time period related labels (#70185)

commit 8229efc7437a22eeada7d117081094f14f3bbe1f
Author: Valentin Deniaud <vdeniaud@entrouvert.com>
Date:   Tue Oct 18 11:56:43 2022 +0200

    manager: remove obsolete user_can_manage in exception list (#70185)

    Permission is already checked by ManagedDeskMixin.
#9

Mis à jour par Transition automatique il y a plus d'un an

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

Mis à jour par Emmanuel Cazenave il y a plus d'un an

  • Lié à Development #71797: Plage horaire unique vs agenda virtuel et période d'exclusion ajouté
#11

Mis à jour par Emmanuel Cazenave il y a plus d'un an

  • Lié à Development #71797: Plage horaire unique vs agenda virtuel et période d'exclusion supprimé
#12

Mis à jour par Transition automatique il y a plus d'un an

Automatic expiration

Formats disponibles : Atom PDF