Commit Graph

422 Commits

Author SHA1 Message Date
Valentin Deniaud 63853d67e8 templates: delete event from detail view (#38954) 2020-01-18 10:28:22 +01:00
Frédéric Péters 8ecece1694 tox: avoid pytest 5.3.3
cf https://github.com/pytest-dev/pytest/issues/6492
2020-01-18 10:27:28 +01:00
Frédéric Péters 159949a1ec manager: sort events by date (#39040) 2020-01-16 17:38:31 +01:00
Frédéric Péters 2bf1f8672a manager: use independent date/time inputs for datetime input (#27013) 2020-01-14 16:10:34 +01:00
Frédéric Péters eda5a25b56 translation update 2020-01-14 15:27:16 +01:00
Frédéric Péters 1a4d79712a templates: remove empty anchors (#18185) 2020-01-14 15:27:16 +01:00
Frédéric Péters 47829f9d76 agendas: treat remote ICS as UTF-8 if it looks like it (#38510) 2020-01-14 15:27:16 +01:00
Frédéric Péters 464fc474e1 manager: prefill exception end date (#18995) 2020-01-14 15:27:16 +01:00
Frédéric Péters 6988b225c9 manager: reduce number of queries when listing events (#38699) 2020-01-14 15:25:53 +01:00
Frédéric Péters 61496b5cdf general: add pricing & url attributes to events (#37979) 2020-01-14 15:25:53 +01:00
Frédéric Péters 23f940e2ab manager: remove permission checks on settings individual parts (#20279)
As the whole page is now restricted.
2020-01-14 15:25:53 +01:00
Frédéric Péters 6907bb1d3b manager: add direct links from event view to event options/delete (#20279) 2020-01-14 15:25:53 +01:00
Frédéric Péters 07e8f284ed manager: add detail view for events (#20279) 2020-01-14 15:25:53 +01:00
Frédéric Péters 7ada884db3 manager: update event URIs to be under /agendas/<pk>/ (#20279) 2020-01-14 15:25:53 +01:00
Frédéric Péters f1f7d8a7d7 manager: add view of events agenda for restricted users (#20279) 2020-01-14 15:25:53 +01:00
Frédéric Péters 14670bc709 style: remove margin cancellation for time periods (#38719) 2020-01-13 18:52:43 +01:00
Benjamin Dauvergne 41d68d6fd7 tests: pin current time (#38737)
Recurring time period exceptions are computed for the next 600 days, on
a yearly recurrence there can be one or two occurences in the next 600
days. We pin time to 2018-12-01 to be sure there a two new years eve in
the following 600 days making tests on time period exceptions import
deterministic.
2020-01-04 10:49:57 +01:00
Valentin Deniaud d63a039bf2 manager: prevent emtpy first row in monthly view (#38700)
It could occur when weekend was hidden.
2019-12-24 12:16:16 +01:00
Valentin Deniaud ba94214d55 manager: hide weekend in monthly view when appropriate (#38687) 2019-12-24 11:02:27 +01:00
Frédéric Péters 8d329609ea manager: use list and icons for exception sources (#38689) 2019-12-23 15:40:00 +01:00
Frédéric Péters 1940044b7a manager: split agenda settings template (#38680) 2019-12-23 09:44:04 +01:00
Frédéric Péters ded2a305e2 translation update (uniform spelling for événement) 2019-12-22 13:14:07 +01:00
Emmanuel Cazenave 4194e70213 translation update 2019-12-20 13:28:15 +01:00
Frédéric Péters c33860bb0b misc: remove usage of @python_2_unicode_compatible (#38665) 2019-12-20 13:08:04 +01:00
Frédéric Péters e7a4c7e671 misc: don't inclure prebuilt css (#38664) 2019-12-20 13:05:24 +01:00
Emmanuel Cazenave 7c6528f3b8 api: count correctly requested places on multiple booking (#38306) 2019-12-20 12:02:42 +01:00
Emmanuel Cazenave 5f40de6f79 tests: run completely multiple_booking_api_fillslots (#38559) 2019-12-20 12:01:05 +01:00
Emmanuel Cazenave 559452990c api: return 400 when no events found (#38333) 2019-12-20 11:53:56 +01:00
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
Lauréline Guérin 7a33c41586
agendas: refresh an exception source (#29209) 2019-12-20 10:59:21 +01:00
Lauréline Guérin 2aed92d132
agendas: delete an exception source (#29209) 2019-12-20 10:55:41 +01:00
Lauréline Guérin a5a8a3fe3d
agendas: add exception source model (#29209) 2019-12-20 10:54:30 +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 30cb3f672f manager: use dedicated template for exception deletion confirm page (#38511) 2019-12-16 16:18:27 +01:00
Frédéric Péters 5bc475c663 tests: don't run migration tests with sqlite and newer django (#36331) 2019-12-11 10:06:50 +01:00
Frédéric Péters 95c09426c9 tox: avoid django-mellon 1.6 (#36331) 2019-12-11 10:06:50 +01:00
Frédéric Péters 56b133c7a7 misc: correctly reset current directory after translations (#36331) 2019-12-11 10:06:50 +01:00
Frédéric Péters 9a31e83d10 tox: enable tests against django 2.2 (#36331) 2019-12-11 10:06:50 +01:00
Frédéric Péters 63bff03a87 misc: update from fractions.gcd to math.gcd (#36331) 2019-12-11 09:46:10 +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 1db1486d58 misc: add new required renderer argument to render() (#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 fe7f3482c8 misc: update login/logout to be class based views (#36331) 2019-12-11 09:46:08 +01:00
Frédéric Péters 7810f16265 misc: update decorated_includes() for new django patterns (#36331) 2019-12-11 09:45:02 +01:00
Frédéric Péters bd6dbe50fd misc: get reverse{_lazy} from new django.urls module (#36331) 2019-12-11 09:45:02 +01:00
Benjamin Dauvergne 50c737f2b8 tox.ini: use latest pytest 2019-12-10 08:35:04 +01:00
Benjamin Dauvergne 58ff63572d Jenkinsfile: use mergeJunitResults() (#38315) 2019-12-09 15:38:03 +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 15b2b27986 migrations: fix typo 2019-11-27 15:18:15 +01:00