Commit Graph

357 Commits

Author SHA1 Message Date
Frédéric Péters befaa3b365 manager: fix alignments of opening hours in months with dst change (#37393) 2019-11-01 18:13:00 +01:00
Lauréline Guérin 968232d8b8
dj2: use settings.MIDDLEWARE (#37317)
RemovedInDjango20Warning:
Old-style middleware using settings.MIDDLEWARE_CLASSES is deprecated.
Update your middleware and use settings.MIDDLEWARE instead.
2019-10-29 15:42:30 +01:00
Lauréline Guérin 3c05e2d610
dj2: use django's LoginView (#37317)
RemovedInDjango21Warning:
The login() view is superseded by the class-based LoginView().
2019-10-29 15:42:30 +01:00
Lauréline Guérin 5aa4061c27
dj2: explicit on_delete on ForeignKey (#37317)
RemovedInDjango20Warning:
on_delete will be a required arg for ForeignKey in Django 2.0. Set it to
models.CASCADE on models and in existing migrations if you want to maintain
the current default behavior.See https://docs.djangoproject.com/en/1.11/ref
/models/fields/#django.db.models.ForeignKey.on_delete
2019-10-29 15:42:30 +01:00
Lauréline Guérin fe29b96a4b
dj2: many-to-many assignment (#37317)
RemovedInDjango20Warning:
Direct assignment to the forward side of a many-to-many set is deprecated due
to the implicit save() that happens. Use groups.set() instead.
2019-10-29 15:42:30 +01:00
Lauréline Guérin 52ff4d1bb4
dj2: is_anonymous is now an attribute (#37317)
RemovedInDjango20Warning:
Using user.is_authenticated() and user.is_anonymous() as a method is
deprecated. Remove the parentheses to use it as an attribute.
2019-10-29 15:06:17 +01:00
Frédéric Péters c59b4b9e86 misc: add event descriptions to json export (#36591) 2019-10-02 18:21:46 +02:00
Emmanuel Cazenave cd7521a5ed jenkins: use ci@entrouvert.org for notifications 2019-10-02 13:42:19 +02:00
Frédéric Péters f95b3033e1 misc: ignore timezone offset when exporting events (#36408) 2019-09-24 16:03:43 +02:00
Frédéric Péters 268aca3d0f debian: bump dependency on hobo to have all python3 fixes 2019-09-18 14:30:48 +02:00
Frédéric Péters fef5d7c78d misc: run manage.py with python3 (#36224) 2019-09-18 14:17:20 +02:00
Frédéric Péters 62bc0ac403 debian: adjust parenthesis... (#36214) 2019-09-18 10:18:54 +02:00
Frédéric Péters d8cb61917c debian: don't use execfile() to load settings (python3) (#36214) 2019-09-18 10:03:52 +02:00
Frédéric Péters a2b0a427d6 translation update 2019-09-17 19:16:43 +02:00
Frédéric Péters a0da57e0f3 misc: add a description field to events (#36169) 2019-09-17 08:50:05 +02:00
Frédéric Péters 42a0998033 debian: mark dependency on a python3 really compatible hobo 2019-09-17 07:59:24 +02:00
Frédéric Péters 0c5df54ea4 debian: use sassc to build css files (#35496) 2019-09-13 09:32:08 +02:00
Frédéric Péters 97e9741641 debian: switch to Python 3 (#35492) 2019-09-13 09:32:08 +02:00
Frédéric Péters bdb4d985d6 manager: fix pluralization of imported agendas messages (#35571) 2019-08-26 16:08:53 +02:00
Frédéric Péters f5b09ae137 translation update 2019-08-21 16:49:03 +02:00
Frédéric Péters ad4c89821d debian: adjust version number in breaks/replaces relations 2019-08-20 22:34:41 +02:00
Frédéric Péters 20899511f6 debian: adjust break/replace for manage.py move 2019-08-20 22:24:33 +02:00
Frédéric Péters ae52a2a35e debian: distribute manage.py in chrono package 2019-08-20 21:55:06 +02:00
Benjamin Dauvergne 61e0c590b8 api: returns 400 on invalid fillslot's event_pk (#35451) 2019-08-20 19:32:01 +02:00
Serghei Mihai 2310528fc2 manager: fix import of utf-8 encoded events file (#35479) 2019-08-20 19:30:31 +02:00
Frédéric Péters 14d5615806 tox: limit django-jsonfield version for python2 2019-08-18 11:32:17 +02:00
Benjamin Dauvergne 7142c0eb42 manager: validate imported events (#35011) 2019-07-24 13:56:09 +02:00
Frédéric Péters ec54a71325 jenkins: add support for hotfix releases (#34485) 2019-07-02 14:25:07 +02:00
Thomas NOËL af3b8ffc44 api: allow empty cancel_booking_id (#33783) 2019-06-11 12:10:07 +02:00
Emmanuel Cazenave bb372f0ebe translation update 2019-06-03 19:28:05 +02:00
Emmanuel Cazenave bc2b972169 misc: use named arguments in format string (#33641) 2019-06-03 18:14:07 +02:00
Frédéric Péters 51e32f3799 manager: change agenda export to be downloaded by default (#33622) 2019-06-03 17:48:49 +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 aeea3b78d6 misc: include URL in sync exceptions errors (#32975) 2019-05-18 16:16:30 +02:00
Frédéric Péters 34e8c83106 manager: use same order of shared for every weeks (#31470) 2019-05-17 09:34:28 +02:00
Frédéric Péters c3373ae379 api: format dates in fillslot response (#33151) 2019-05-17 09:34:28 +02:00
Frédéric Péters 055181005f general: stop supporting django 1.8 (#32728) 2019-05-17 09:34:28 +02:00
Frédéric Péters 388028605e debian: switch package format to 3.0 (quilt) (#32261) 2019-04-13 11:41:29 +02:00
Frédéric Péters 02d30ba138 debian: bump debhelper compatibility level (#32260) 2019-04-13 11:28:10 +02:00
Frédéric Péters cdb90482c3 manager: allow CSV file to be iso-8859-15 (#25984) 2019-04-04 10:46:40 +02:00
Frédéric Péters 675064348e build: add jenkinsfile 2019-03-31 15:34:40 +02:00
Frédéric Péters 5525766c9f translation update 2019-03-24 15:45:38 +01: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 28e4b19245 manager: remove row spacing in month view to fix slot alignment (#31469) 2019-03-17 15:17:28 +01:00
Frédéric Péters 3cc8e5d690 misc: remove comments with old attribute value (#31421) 2019-03-17 15:17:28 +01:00
Frédéric Péters 4e1f9f3f4e manager: check time period start/end are in correct order (#31418) 2019-03-17 15:17:28 +01:00
Frédéric Péters 18cca83798 manager: use brighter green for opening hours (#24030) 2019-03-06 13:53:34 +01:00
Frédéric Péters 86e763f8cc manager: limit URL primary key matches to digits (#31122) 2019-03-06 13:31:49 +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