Project

General

Profile

Développement #70185

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

Added by Valentin Deniaud about 2 years ago. Updated about 2 years ago.

Status:
Fermé
Priority:
Normal
Category:
-
Target version:
-
Start date:
12 October 2022
Due date:
% Done:

0%

Estimated time:
Patch proposed:
Yes
Planning:
No

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).


Files

0005-manager-remove-useless-timeperiods-sort-70185.patch (1.3 KB) 0005-manager-remove-useless-timeperiods-sort-70185.patch Valentin Deniaud, 25 October 2022 10:53 AM
0006-manager-display-date-time-period-in-calendar-views-7.patch (10 KB) 0006-manager-display-date-time-period-in-calendar-views-7.patch Valentin Deniaud, 25 October 2022 10:53 AM
0002-manager-reword-time-period-related-labels-70185.patch (5.46 KB) 0002-manager-reword-time-period-related-labels-70185.patch Valentin Deniaud, 25 October 2022 10:53 AM
0004-manager-add-date-time-period-support-in-settings-701.patch (21.2 KB) 0004-manager-add-date-time-period-support-in-settings-701.patch Valentin Deniaud, 25 October 2022 10:53 AM
0007-api-add-date-time-period-support-in-datetimes-and-fi.patch (17.2 KB) 0007-api-add-date-time-period-support-in-datetimes-and-fi.patch Valentin Deniaud, 25 October 2022 10:53 AM
0003-agendas-add-date-field-to-time-period-70185.patch (5.21 KB) 0003-agendas-add-date-field-to-time-period-70185.patch Valentin Deniaud, 25 October 2022 10:53 AM
0001-manager-remove-obsolete-user_can_manage-in-exception.patch (2.48 KB) 0001-manager-remove-obsolete-user_can_manage-in-exception.patch Valentin Deniaud, 25 October 2022 10:53 AM
0003-agendas-add-date-field-to-time-period-70185.patch (6.9 KB) 0003-agendas-add-date-field-to-time-period-70185.patch Valentin Deniaud, 26 October 2022 11:42 AM
0006-manager-display-date-time-period-in-calendar-views-7.patch (15.2 KB) 0006-manager-display-date-time-period-in-calendar-views-7.patch Valentin Deniaud, 31 October 2022 02:43 PM

Associated revisions

Revision b9952de5 (diff)
Added by Valentin Deniaud about 2 years ago

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

Permission is already checked by ManagedDeskMixin.

Revision 0e9aac8e (diff)
Added by Valentin Deniaud about 2 years ago

manager: reword time period related labels (#70185)

Revision d0a8534f (diff)
Added by Valentin Deniaud about 2 years ago

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

Revision aa0549f5 (diff)
Added by Valentin Deniaud about 2 years ago

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

Revision e716f57c (diff)
Added by Valentin Deniaud about 2 years ago

manager: remove useless timeperiods sort (#70185)

Revision bb148dc0 (diff)
Added by Valentin Deniaud about 2 years ago

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

Revision f8e18881 (diff)
Added by Valentin Deniaud about 2 years ago

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

History

#3

Updated by Valentin Deniaud about 2 years ago

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)

#5

Updated by Lauréline Guérin about 2 years ago

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

#6

Updated by Valentin Deniaud about 2 years ago

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

Updated by Lauréline Guérin about 2 years ago

  • Status changed from Solution proposée to Solution validée
#8

Updated by Valentin Deniaud about 2 years ago

  • Status changed from Solution validée to 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

Updated by Transition automatique about 2 years ago

  • Status changed from Résolu (à déployer) to Solution déployée
#10

Updated by Emmanuel Cazenave about 2 years ago

#11

Updated by Emmanuel Cazenave about 2 years ago

  • Related to deleted (Développement #71797: Plage horaire unique vs agenda virtuel et période d'exclusion)
#12

Updated by Transition automatique almost 2 years ago

Automatic expiration

Also available in: Atom PDF