Commit Graph

1214 Commits

Author SHA1 Message Date
Frédéric Péters 5612c16b8f manager: remove tab focus code, now available from gadjo (#68180) 2022-08-16 13:58:24 +02:00
Valentin Deniaud ded732b15a api: target shared custody agendas by date when filtering (#66933) 2022-08-16 11:38:42 +02:00
Valentin Deniaud cb409ebb5b api: do not count cancelled bookings in statistics (#68044) 2022-08-09 09:40:22 +02:00
Valentin Deniaud d3436d8e0b api: allow updating shared custody agenda date start (#66932) 2022-07-26 11:02:00 +02:00
Valentin Deniaud c38817fdf4 api: remove time part from shared custody agenda date start field (#66932) 2022-07-26 10:23:36 +02:00
Lauréline Guérin 7ccc5cd1c0
api: fillslot & tstzrange_constraint, retry (#67053) 2022-07-21 14:56:11 +02:00
Lauréline Guérin b17a2ee543
api: fillslots, create events in the transaction (#67053) 2022-07-21 14:56:11 +02:00
Valentin Deniaud a6ca69a481 api: return event checked status (#67599) 2022-07-21 11:44:22 +02:00
Lauréline Guérin ecc9c3df28
translation update 2022-07-19 23:06:12 +02:00
Lauréline Guérin 19dbca495f
manager: display a title for event timesheet (#67078) 2022-07-19 22:46:33 +02:00
Lauréline Guérin ff2706b4f1
manager: timesheet & activity display configuration (#66681) 2022-07-19 22:32:39 +02:00
Lauréline Guérin c9d2a4681c
api: endpoint to get a list of serialized events (#66874) 2022-07-15 09:38:55 +02:00
Valentin Deniaud 7ba7ace9de api: ignore guardian_external_id when child has no custody agenda (#66828) 2022-07-06 15:01:14 +02:00
Agate dcb8aed83a agendas: fix import event crashing with nested quotes (#66187) 2022-07-05 11:26:20 +02:00
Lauréline Guérin 9b2c59b025
manager: use sidetabs in shared custody agenda settings (#66409) 2022-07-04 15:39:59 +02:00
Lauréline Guérin 4f03dfb2c3
manager: timesheet for one event (#66358) 2022-07-04 15:09:21 +02:00
Valentin Deniaud 73dc04e487 agendas: rename conflicting migration (#66937) 2022-07-04 14:46:00 +02:00
Valentin Deniaud ebe1884e17 api: use custody agendas date start (#66330) 2022-07-04 14:25:26 +02:00
Valentin Deniaud bf9463e678 agendas: add date start field to shared custody agenda (#66330) 2022-07-04 14:25:26 +02:00
Frédéric Péters 1769bd6c09 translation update (uniform event translatin) 2022-07-04 09:01:00 +02:00
Lauréline Guérin 6968ad6b49
translation update 2022-07-01 12:35:03 +02:00
Lauréline Guérin abf70dba29
agendas: remove CheckType & CheckTypeGroup models (#66015) 2022-07-01 10:34:52 +02:00
Lauréline Guérin 42e84a48a9
manager: use check_types from lingo (#66015) 2022-07-01 10:34:52 +02:00
Lauréline Guérin 2d0cb4f1b2
api: use check_types from lingo (#66015) 2022-07-01 10:34:52 +02:00
Lauréline Guérin b5d836d46d
agendas: Booking.user_check_type becomes 2 fields (slug, label) (#66015) 2022-07-01 10:34:52 +02:00
Lauréline Guérin 244dd89cf9
misc: retrieve check types from lingo (#66015) 2022-07-01 10:22:49 +02:00
Valentin Deniaud dece1657f7 manager: allow deletion of custody agenda by superuser (#66324) 2022-06-30 10:33:01 +02:00
Valentin Deniaud efed292e54 agendas: prevent cascade deletion of custody holiday rules (#66326) 2022-06-30 10:32:24 +02:00
Valentin Deniaud 0c7ca56e59 manager: select unavailability calendar containing holidays (#66326) 2022-06-30 10:32:24 +02:00
Valentin Deniaud 7448d6e886 manager: import/export shared custody settings (#66671) 2022-06-30 10:31:10 +02:00
Valentin Deniaud f044f276af agendas: add management role for shared custody (#66671) 2022-06-30 10:31:10 +02:00
Valentin Deniaud 8234dcf6a2 api: return backoffice URL on shared custody agenda creation (#66333) 2022-06-27 17:10:29 +02:00
Valentin Deniaud 9dbf6b1d5c manager: allow templated ICS URL (#66323) 2022-06-27 17:10:14 +02:00
Valentin Deniaud 2e9fe5b794 api: allow empty guardian_external_id parameter (#66332) 2022-06-27 17:10:01 +02:00
Lauréline Guérin 9842b071c8
api: patch booking & use_color_for (#66382) 2022-06-27 12:21:01 +02:00
Frédéric Péters 6f674c67e9 translation update 2022-06-20 16:02:05 +02:00
Lauréline Guérin 0e000fa430
agendas: fix pg function set_ignore_reason on desk deletion (#66394) 2022-06-20 08:34:07 +02:00
Frédéric Péters 6efe2dbaa2 manager: display timeperiods tab by default, once meeting types are defined (#66386) 2022-06-19 19:33:56 +02:00
Frédéric Péters 6473428e9b misc: make makemessages remove obsolete strings by default (#66289) 2022-06-17 19:00:29 +02:00
Lauréline Guérin 8d7abfc5ca
agendas: fix pg function set_ignore_reason on desk deletion (#66374) 2022-06-17 17:14:46 +02:00
Lauréline Guérin b64dc05083
agendas: move sql migration code in dedicated file (#66374) 2022-06-17 17:11:37 +02:00
Frédéric Péters ad152f40ee translation update 2022-06-15 23:36:44 +02:00
Lauréline Guérin f3e6e96136
manager: open the correct tab after redirect (#65653) 2022-06-14 17:57:47 +02:00
Lauréline Guérin e271ea375e
manager: use sidetabs to navigate between agenda settings (#65653) 2022-06-14 17:47:55 +02:00
Frédéric Péters 5d04adaa64 translation update 2022-06-14 11:24:15 +02:00
Lauréline Guérin e58e5e3a60
manager: agenda settings url with slug (#65986) 2022-06-14 07:01:37 +02:00
Lauréline Guérin 055b23156d
manager: add a link to go on agenda's lingo config (#65986) 2022-06-14 07:01:37 +02:00
Lauréline Guérin 1a84594109
misc: remove completely pricing app (#65982) 2022-06-13 23:02:12 +02:00
Lauréline Guérin 11303093e1
settings: WORKING_DAY_CALENDAR propagation in EXCEPTIONS_SOURCES (#64996) 2022-06-13 22:43:03 +02:00
Lauréline Guérin efad2bdc29
manager: use user_block also in meetings agenda views (#63915) 2022-06-13 15:04:10 +02:00
Lauréline Guérin 50963bb083
manager: user_block used also in event detail page (#63915) 2022-06-13 15:04:09 +02:00
Valentin Deniaud 0b7ff2444d agendas: export time period weekday indexes (#65941) 2022-06-13 14:05:04 +02:00
Lauréline Guérin 4617dbdebb
api: new endpoint to get events and check status (#65770) 2022-06-10 14:21:24 +02:00
Lauréline Guérin 7ee7625f86
pricing: empty app (#65976) 2022-06-03 14:23:55 +02:00
Valentin Deniaud a4daeeeb67 api: ignore weekday_indexes when comparing WeekTime objects (#65849) 2022-06-02 11:03:28 +02:00
Lauréline Guérin 75c8a2abc0
misc: remove |get template filter from chrono (#65540)
it is defined publik-django-templatetags
2022-05-31 16:07:10 +02:00
Paul Marillonnet 81afbc271f api: patch booking color through dedicated endpoint (#65756) 2022-05-31 09:53:49 +02:00
Lauréline Guérin de59c38321
api: add category_label to agenda details (#65524) 2022-05-20 13:54:42 +02:00
Valentin Deniaud 0bceea5cad manager: display excluded periods for virtual agendas in date views (#65074) 2022-05-19 10:06:04 +02:00
Lauréline Guérin 53b4072ab9
pricing: fix dataclass use with List & py37 (#65370) 2022-05-17 18:43:23 +02:00
Lauréline Guérin 3db7658f6e
api: patch booking & user fields (#63913) 2022-05-17 15:44:18 +02:00
Lauréline Guérin 6a976dc889
translation update 2022-05-17 14:54:08 +02:00
Lauréline Guérin 889ea77c77
trivial: update translation strings 2022-05-17 14:53:26 +02:00
Lauréline Guérin 272c541b94
pricing: duplicate pricing model (#65231) 2022-05-17 13:40:23 +02:00
Lauréline Guérin fe16e1af83
pricing: import/export pricing_data (#65053) 2022-05-17 12:06:16 +02:00
Lauréline Guérin b308ddb240
pricing: edit pricing_data (#65053) 2022-05-17 12:06:16 +02:00
Lauréline Guérin f4920fd7f3
pricing: display agenda pricing matrix on detail page (#65053) 2022-05-17 12:06:16 +02:00
Lauréline Guérin 35600c2952
pricing: iter_pricing_matrix method (#65053) 2022-05-17 12:06:16 +02:00
Lauréline Guérin 7f85145858
pricing: pricing configuration on events agenda (#65053) 2022-05-17 12:06:16 +02:00
Lauréline Guérin 11f5fa3506
pricing: import/export pricing models (#64903) 2022-05-17 11:45:45 +02:00
Lauréline Guérin 1cd72eeebc
pricing: variable configuration (#64903) 2022-05-17 11:45:42 +02:00
Lauréline Guérin 4976df546a
pricing: categories can be reordered in a pricing model (#64903) 2022-05-17 11:45:42 +02:00
Lauréline Guérin 306ec0e5ce
pricing: configuration of pricing models (#64903) 2022-05-17 11:45:42 +02:00
Lauréline Guérin 81722913a4
pricing: add pricing variables (#64561) 2022-05-17 11:20:07 +02:00
Lauréline Guérin eb67f72b35
pricing: publik-django-templatetags integration (#64561) 2022-05-17 11:14:57 +02:00
Lauréline Guérin 687fe2e9c3
pricing: criterias can be ordered (#64746) 2022-05-17 10:54:37 +02:00
Lauréline Guérin 1b82b01fea
pricing - import/export categories (#64746) 2022-05-17 10:54:35 +02:00
Lauréline Guérin a5c5f63c83
pricing: configuration of criterias and categories (#64746) 2022-05-17 10:51:06 +02:00
Lauréline Guérin e504199eab
pricing: apply modifier according to booking status (#64565) 2022-05-17 10:25:34 +02:00
Lauréline Guérin 301d280c9e
pricing: get pricing data for event & users (#64562) 2022-05-17 09:51:13 +02:00
Lauréline Guérin f0e8197cd6
pricing: add models (#63808) 2022-05-17 09:25:30 +02:00
Emmanuel Cazenave 1ca5e77bd5 misc: use legacy urls to call up to date urls (#64344) 2022-05-16 15:46:50 +02:00
Valentin Deniaud e629fccaec api: forbid overlapping recurring events booking (#64383) 2022-05-16 10:58:35 +02:00
Valentin Deniaud b359c3f1ff api: forbid overlapping events booking (#64383) 2022-05-16 10:58:35 +02:00
Frédéric Péters 5bc6828342 settings: rename noop "gettext" call to N_ (#64997) 2022-05-09 13:47:53 +02:00
Frédéric Péters 70fe8b479f translation update 2022-05-03 22:38:08 +02:00
Lauréline Guérin ff2f877557
manager: fix check type form & pricing fields mutex (#64778) 2022-05-03 11:16:57 +02:00
Lauréline Guérin aee7d8c9f8
translation update 2022-05-03 10:40:58 +02:00
Valentin Deniaud 3fab3b136c api: configure shared custody agenda on creation (#64423) 2022-05-02 11:34:51 +02:00
Valentin Deniaud 513980d5b1 agendas: split name into first name and last name for shared custody (#64423) 2022-05-02 11:34:51 +02:00
Lauréline Guérin f70aa2063a
agendas: a check_type can be disabled (#63847) 2022-04-29 10:01:36 +02:00
Lauréline Guérin 0b38a91b2e
manager: warning on check_type edition if already used (#63847) 2022-04-29 10:01:36 +02:00
Lauréline Guérin 75044ae4f2
manager: do not delete used check types (#63847) 2022-04-29 10:01:36 +02:00
Lauréline Guérin 4b842886b0
manager: can not change check_type_group if bookings are using it (#63847) 2022-04-29 10:01:36 +02:00
Lauréline Guérin e2cd0d6ad6
agendas: Booking.user_check_type becomes a FK (#63847) 2022-04-29 10:01:36 +02:00
Lauréline Guérin a2350a6e36
agendas: add pricing fields to CheckType model (#63810) 2022-04-29 09:21:32 +02:00
Lauréline Guérin 3a1655adff
api: set presence reason on bookings (#63810) 2022-04-29 09:21:31 +02:00
Lauréline Guérin 30afa66e3f
manager: set presence reason on bookings (#63810) 2022-04-29 09:21:31 +02:00
Lauréline Guérin ae28ec5858
agendas: add kind field to CheckType model (#63810) 2022-04-29 09:21:31 +02:00
Lauréline Guérin 4547d00787
api: keep user_absence_reason field (#63810) 2022-04-29 09:21:31 +02:00