Commit Graph

91 Commits

Author SHA1 Message Date
Emmanuel Cazenave c420dde65d api: accept slots as a string (#38333) 2019-12-20 11:46:10 +01:00
Emmanuel Cazenave 5f09ce7fdb api: return events details if multiple booking (#38330) 2019-12-20 11:14:29 +01:00
Frédéric Péters 30bbc8c90f general: reformat using black (#37464)
black--target-version py35 --skip-string-normalization --line-length 110 .
2019-12-16 16:24:38 +01:00
Frédéric Péters 4f1761a1a2 misc: remove usage of six (#36331) 2019-12-11 09:46:10 +01:00
Frédéric Péters 3432648af7 tests: update API tests to work with latest django-webtest (#36331) 2019-12-11 09:46:10 +01:00
Frédéric Péters 5be7a36833 api: only use event slug in URLs when it is set (#38081) 2019-11-29 13:41:39 +01:00
Frédéric Péters b9c5fe3774 general: make event slugs optional (#37987) 2019-11-27 13:55:14 +01:00
Lauréline Guérin 35dcc849df
api: return places info on fillslot api for an event agenda (#35297) 2019-11-19 16:31:56 +01:00
Lauréline Guérin 3bf36a1617
api: return err_desc & reason in case of error (#24025) 2019-11-07 17:01:01 +01:00
Lauréline Guérin 90dfb10afa
api: get event status and fillslot with event pk or slug (#15726) 2019-11-06 18:25:25 +01:00
Frédéric Péters a0da57e0f3 misc: add a description field to events (#36169) 2019-09-17 08:50:05 +02:00
Benjamin Dauvergne 61e0c590b8 api: returns 400 on invalid fillslot's event_pk (#35451) 2019-08-20 19:32:01 +02:00
Thomas NOËL af3b8ffc44 api: allow empty cancel_booking_id (#33783) 2019-06-11 12:10:07 +02:00
Emmanuel Cazenave ab9ff7adf1 api: cancel a booking when making a new one (#33489) 2019-05-29 16:09:56 +02:00
Frédéric Péters c3373ae379 api: format dates in fillslot response (#33151) 2019-05-17 09:34:28 +02:00
Serghei Mihai 0cfa22dbc0 agendas: add new booking's label attribute for user presentation purposes (#25820)
Use the new label in ICS summary
2019-03-21 12:02:04 +01:00
Frédéric Péters cd36887df6 api: return an error when number of requested places is <= 0 (#31047) 2019-03-06 11:11:02 +01:00
Frédéric Péters b9a2848a26 api: make sure event status API only accepts numbers (#30459) 2019-02-18 09:44:06 +01:00
Frédéric Péters b3a284d825 api: include delays in agenda API (#29847) 2019-02-07 11:25:11 +01:00
Frédéric Péters 07e3e5180f api: add duration to meeting fillslot result (#27900) 2018-11-14 08:42:59 +01:00
Serghei Mihai 0f34cd204c api: expose meeting type duration (#25410) 2018-07-23 09:47:05 +02:00
Serghei Mihai 0ce55339a7 api: add booking ics view (#22930) 2018-07-19 10:39:17 +02:00
Thomas NOËL ae54f6960f api: add endpoint to fill a list of slots (#16238) 2018-05-31 14:11:10 +02:00
Frédéric Péters f4203d05f3 general: add support for Python 3 (#23678) 2018-05-13 15:19:14 +02:00
Thomas NOËL 87f8cbff15 api: use rest_framework serializers (#22979) 2018-04-04 16:07:00 +02:00
Josue Kouka a20bfdb254 api: add shortcut for event status url (#22125) 2018-03-06 17:13:20 +01:00
Frédéric Péters 51bd5c752d api: check time periods have enough time for a single meeting (#21463) 2018-01-29 16:28:32 +01:00
Benjamin Dauvergne ca7d336c0b tests: remove warning (#21290)
tests/test_api.py::TestApp
    cannot collect test class 'TestApp' because it has a __init__ constructor
2018-01-22 14:02:26 +01:00
Frédéric Péters b8b130e4f7 misc: always use timezone-aware datetimes (#20926) 2018-01-09 19:49:28 +01:00
Frédéric Péters 236c1fc3e7 tests: add check for a change in opening hours 2017-12-30 08:56:02 +01:00
Frédéric Péters 8069c20c74 api: include meeting end datetime in fillslot API response (#20556) 2017-12-11 11:20:53 +01:00
Frédéric Péters 1111695dd5 api: correctly remove all timeslots overlapped by exceptions (#20386) 2017-12-04 14:23:18 +01:00
Frédéric Péters add27d0933 general: exhaustively list available meeting datetimes (#19150) 2017-12-04 14:23:18 +01:00
Frédéric Péters a51fb45aa4 general: add label/user_name/backoffice_url metadata on bookings (#20280) 2017-12-02 19:01:14 +01:00
Frédéric Péters 20aa74b697 api: don't return agenda internal identifiers (#19266) 2017-10-30 14:38:49 +01:00
Frédéric Péters 6ead030aed api: add dedicated error handling for invalid place count value (#19552) 2017-10-19 14:08:40 +02:00
Josue Kouka fc1bdf3391 api: add desk info in booking response (#18973) 2017-10-12 08:56:45 +02:00
Frédéric Péters 169cc6a0ab api: add new API to get list of desks (#19069) 2017-10-12 08:51:49 +02:00
Frédéric Péters a6f108efd9 misc: fix timeslot computation to work across daylight saving time (#19089) 2017-09-30 00:15:13 +02:00
Josue Kouka 74516b5300 fix: exclude slot one exception at a time (#19009) 2017-09-27 15:50:54 +02:00
Josue Kouka 9d7738929c add time period exception management (#12550) 2017-09-26 10:16:58 +02:00
Frédéric Péters b721160128 fix next day but less than 24h delta booking (#18495) 2017-09-08 17:18:36 +02:00
Josue Kouka f851de07df add multiple desk management (#15729) 2017-09-04 11:00:01 +02:00
Frédéric Péters a774035d87 tests: add check for booking sibling meeting slots 2017-08-28 22:14:55 +02:00
Frédéric Péters b3f6f63853 api: include full meeting timeslot as disabled values (#17953) 2017-08-10 09:47:22 +02:00
Josue Kouka 2ebb54d63c api datetimes: add date range filter (#16193) 2017-07-21 17:00:50 +02:00
Frédéric Péters 471d8db694 api: only look in waiting list if there's not enough place in event (#17514) 2017-07-11 13:40:13 +02:00
Josue Kouka 28028b681d api: add API to retrieve agenda detail (#17188) 2017-06-26 17:50:57 +02:00
Frédéric Péters ffcda3904a general: add possibility to book multiple places at once (#15218) 2017-06-23 12:59:13 +02:00
Frédéric Péters 2907e4bb90 api: include full URL in cancel_url and accept_url attributes (#17145) 2017-06-23 12:58:23 +02:00