Commit Graph

25 Commits

Author SHA1 Message Date
Valentin Deniaud 66b12b846a misc: change django-upgrade target version to 3.2 (#75442) 2023-03-29 16:14:41 +02:00
Agate 54eafdbb62 replaced force_text with equivalent force_str (#68183) 2022-08-29 09:35:13 +02:00
Agate f77ad1bc2d replaced ugettext* calls with corresponding gettext* calls (#68183) 2022-08-29 09:35:13 +02:00
Frédéric Péters 2d8a6cfb5c pwa: add support for maskable icons (#64297) 2022-04-19 19:20:42 +02:00
Nicolas Roche eb11afca1b pwa: allow absolute redirection url from internal page (#56974) 2021-10-05 09:18:46 +02:00
Lauréline Guérin 02d5299c9a
misc: fix unused-variable pylint error (#56288) 2021-08-31 10:00:38 +02:00
Lauréline Guérin ee21324c66
misc: fix unused-import pylint error (#56288) 2021-08-31 10:00:38 +02:00
Lauréline Guérin f4615c5061
misc: apply pyupgrade (#55868) 2021-07-27 16:45:52 +02:00
Lauréline Guérin 657815e82a
misc: remove django-jsonfield dependency (#52912) 2021-06-03 10:24:21 +02:00
Benjamin Dauvergne 428033da0f pwa: use icon file basename during import (#53720)
Django 2.2.21 introduced the validation of FieldFile.save() name
argument, which cannot contain a path separator anymore. To use the
received FileField value as a base filename, we must apply
os.path.basename() on it first.

ref. https://docs.djangoproject.com/en/3.2/releases/2.2.21/
2021-05-04 16:01:46 +02:00
Lauréline Guérin 29bc8e66a9
misc: apply isort (#52797) 2021-04-08 15:54:31 +02:00
Frédéric Péters 47d67c395e trivial: apply black 2021-02-15 18:02:39 +01:00
Nicolas Roche 95cb806044 pwa: import/export pwa application-icon (#44833) 2020-08-14 10:28:27 +02:00
Frédéric Péters 47e1b31b42 trivial: remove conditional Python 2 code (#42003) 2020-04-22 20:12:42 +02:00
Frédéric Péters b561b38199 pwa: only accept JPEG and PNG for application icon files (#41211) 2020-04-01 11:24:31 +02:00
Valentin Deniaud eda9d548a0 misc: allow importing objects with non existent fields (#39768) 2020-02-17 15:35:33 +01:00
Lauréline Guérin 49830fc9c5
dj2: add explicit on_delete on all ForeignKey (#36895)
remove 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 08:35:21 +01:00
Frédéric Péters 50c44019a5 python3: fix encoding/decoding of PWA private key (#35425) 2019-08-18 14:46:41 +02:00
Frédéric Péters 73648052ce pwa: add option to enable support for push notifications (#31388) 2019-07-02 11:11:31 +02:00
Serghei Mihai afe102d95d pwa: add application title parameter (#32371) 2019-05-27 10:00:40 +02:00
Frédéric Péters 2e58ce9b02 pwa: add possibility to set application icon (#29457) 2019-01-14 09:33:45 +01:00
Frédéric Péters 8faa42d002 pwa: adapt file support for django 1.8 2019-01-03 12:35:41 +01:00
Frédéric Péters d9367275de pwa: add management of navigation entries (#29362) 2019-01-03 11:55:44 +01:00
Frédéric Péters c26b473c78 pwa: add settings page with offline parameters (#25496) 2019-01-02 08:58:11 +01:00
Frédéric Péters e039b655e1 pwa: add basic support for push notifications (#25462) 2018-12-20 14:14:35 +01:00