Commit Graph

788 Commits (b393c11ecb2b54830a85088ea2e5c0179d402dee)

Author SHA1 Message Date
Julian Wachholz b393c11ecb
Simplify language chooser (#328)
* Simplify language chooser

- Allows usage of i18n_patterns with prefix_default_language=False
- Change templatetag from simple tag to an inclusion tag
- Reduces complexity by relying on Django's behavior in the
  set_language view: it will translate any url passed as 'next'.
  This behavior has been present since Django 1.9.
- Remove individual forms for each language

Fixes #327

Reference: aa5ab114e3

* Add check to ensure LocaleMiddleware

* Remove check in favor of silent warning

* Fix template tag tests
2023-12-05 12:18:44 +01:00
Fabio Caccamo 43dca1ae93 Add missing license. 2023-12-04 12:10:00 +01:00
Fabio Caccamo 55be190dc0 Add `Python 3.12` to tests. 2023-11-24 18:08:10 +01:00
Fabio Caccamo 1c1945c1d9
Update README.md 2023-11-11 20:17:43 +01:00
Fabio Caccamo 2350854e45 Revert "Unpin requirements patch version."
This reverts commit 0ddb85298d.
2023-11-08 22:46:40 +01:00
Fabio Caccamo 0ddb85298d Unpin requirements patch version. 2023-11-08 22:23:26 +01:00
Fabio Caccamo 7b7de54e60 Set python-version input in test workflow lint step. 2023-11-06 23:53:10 +01:00
Fabio Caccamo b1fcedbaed Speed-up test workflow. 2023-11-06 23:39:21 +01:00
Fabio Caccamo 17f9f430fd Bump `actions/setup-python`. 2023-11-06 23:33:32 +01:00
pre-commit-ci[bot] 8e045c71c1
[pre-commit.ci] pre-commit autoupdate (#329)
updates:
- [github.com/astral-sh/ruff-pre-commit: v0.0.292 → v0.1.3](https://github.com/astral-sh/ruff-pre-commit/compare/v0.0.292...v0.1.3)
- [github.com/psf/black: 23.9.1 → 23.10.1](https://github.com/psf/black/compare/23.9.1...23.10.1)

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2023-10-30 18:30:13 +01:00
dependabot[bot] 0f69ccbb0a
Update pre-commit requirement from ==3.3.* to ==3.4.* (#319)
Updates the requirements on [pre-commit](https://github.com/pre-commit/pre-commit) to permit the latest version.
- [Release notes](https://github.com/pre-commit/pre-commit/releases)
- [Changelog](https://github.com/pre-commit/pre-commit/blob/main/CHANGELOG.md)
- [Commits](https://github.com/pre-commit/pre-commit/compare/v3.3.0...v3.4.0)

---
updated-dependencies:
- dependency-name: pre-commit
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-17 14:06:04 +02:00
github-actions[bot] 69815ed103
Update pre-commit hooks. (#320)
Co-authored-by: fabiocaccamo <fabiocaccamo@users.noreply.github.com>
Co-authored-by: Fabio Caccamo <fabio.caccamo@gmail.com>
2023-10-17 13:59:59 +02:00
pre-commit-ci[bot] 7aed89c244
[pre-commit.ci] pre-commit autoupdate (#321)
updates:
- [github.com/asottile/pyupgrade: v3.10.1 → v3.15.0](https://github.com/asottile/pyupgrade/compare/v3.10.1...v3.15.0)
- [github.com/adamchainz/django-upgrade: 1.14.1 → 1.15.0](https://github.com/adamchainz/django-upgrade/compare/1.14.1...1.15.0)
- [github.com/astral-sh/ruff-pre-commit: v0.0.287 → v0.0.292](https://github.com/astral-sh/ruff-pre-commit/compare/v0.0.287...v0.0.292)
- [github.com/psf/black: 23.7.0 → 23.9.1](https://github.com/psf/black/compare/23.7.0...23.9.1)
- [github.com/pre-commit/pre-commit-hooks: v4.4.0 → v4.5.0](https://github.com/pre-commit/pre-commit-hooks/compare/v4.4.0...v4.5.0)

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2023-10-17 13:55:46 +02:00
dependabot[bot] 67c67fe27d
Bump actions/checkout from 3 to 4 (#318)
Bumps [actions/checkout](https://github.com/actions/checkout) from 3 to 4.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v3...v4)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-03 00:39:41 +02:00
Fabio Caccamo 2d156814cc Revert "Update dependabot.yml"
This reverts commit 2606accbea.
2023-10-02 22:15:59 +02:00
Fabio Caccamo 2606accbea Update dependabot.yml 2023-09-28 22:38:04 +02:00
Fabio Caccamo 40b6f187a6 Run `precommit-auto-update` once a month. 2023-09-18 21:45:34 +02:00
Francesco Cataldo 36a8edd0f6
Reintroduce support for `show_change_link` with related modal. #323 2023-09-18 21:17:00 +02:00
Fabio Caccamo ea95d13c44 Run `dependabot` once a month. 2023-09-18 21:14:31 +02:00
Fabio Caccamo b6cd62093c Update `CHANGELOG`. 2023-09-05 18:45:28 +02:00
dependabot[bot] d025e76e7a
Update coverage requirement from ==7.2.* to ==7.3.* (#312)
Updates the requirements on [coverage](https://github.com/nedbat/coveragepy) to permit the latest version.
- [Release notes](https://github.com/nedbat/coveragepy/releases)
- [Changelog](https://github.com/nedbat/coveragepy/blob/master/CHANGES.rst)
- [Commits](https://github.com/nedbat/coveragepy/compare/7.2.0...7.3.0)

---
updated-dependencies:
- dependency-name: coverage
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-05 18:44:49 +02:00
pre-commit-ci[bot] e79e9c5705
[pre-commit.ci] pre-commit autoupdate (#304)
updates:
- [github.com/asottile/pyupgrade: v3.9.0 → v3.10.1](https://github.com/asottile/pyupgrade/compare/v3.9.0...v3.10.1)
- [github.com/adamchainz/django-upgrade: 1.14.0 → 1.14.1](https://github.com/adamchainz/django-upgrade/compare/1.14.0...1.14.1)
- [github.com/astral-sh/ruff-pre-commit: v0.0.278 → v0.0.287](https://github.com/astral-sh/ruff-pre-commit/compare/v0.0.278...v0.0.287)

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2023-09-05 18:44:44 +02:00
dependabot[bot] 8eef625219
Update tox requirement from ==4.6.* to ==4.11.* (#315)
Updates the requirements on [tox](https://github.com/tox-dev/tox) to permit the latest version.
- [Release notes](https://github.com/tox-dev/tox/releases)
- [Changelog](https://github.com/tox-dev/tox/blob/main/docs/changelog.rst)
- [Commits](https://github.com/tox-dev/tox/compare/4.6.0...4.11.0)

---
updated-dependencies:
- dependency-name: tox
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-05 18:44:28 +02:00
github-actions[bot] e0c0460e59
Update pre-commit hooks. (#302)
Co-authored-by: fabiocaccamo <fabiocaccamo@users.noreply.github.com>
2023-09-05 18:44:13 +02:00
Fabio Caccamo a7aeb8223a Update `CHANGELOG` and version. 2023-09-05 18:27:59 +02:00
Fabio Caccamo f8d1660218 Update requirements.txt 2023-09-05 18:22:20 +02:00
Fabio Caccamo 17deb9b0f7 Update README.md 2023-09-05 18:20:27 +02:00
Fabio Caccamo 540f33fdde Update Italian translations. 2023-08-31 16:11:57 +02:00
Fabio Caccamo 24a5e1f995 Fix logout and theme buttons style. #246 2023-08-31 16:00:23 +02:00
Santiago Muñoz 13c43f36df
Updated Spanish translations (#307) 2023-08-05 09:23:19 +02:00
github-actions[bot] 0e128f97ee
Update pre-commit hooks. (#299)
Co-authored-by: fabiocaccamo <fabiocaccamo@users.noreply.github.com>
Co-authored-by: Fabio Caccamo <fabio.caccamo@gmail.com>
2023-07-18 10:04:44 +02:00
pre-commit-ci[bot] 2b12910435
[pre-commit.ci] pre-commit autoupdate (#300)
updates:
- [github.com/asottile/pyupgrade: v3.7.0 → v3.9.0](https://github.com/asottile/pyupgrade/compare/v3.7.0...v3.9.0)
- https://github.com/charliermarsh/ruff-pre-commithttps://github.com/astral-sh/ruff-pre-commit
- [github.com/astral-sh/ruff-pre-commit: v0.0.275 → v0.0.278](https://github.com/astral-sh/ruff-pre-commit/compare/v0.0.275...v0.0.278)
- [github.com/psf/black: 23.3.0 → 23.7.0](https://github.com/psf/black/compare/23.3.0...23.7.0)

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2023-07-18 09:38:13 +02:00
Fabio Caccamo 5541d4ca70 Update .pre-commit-config.yaml 2023-07-04 00:07:52 +02:00
Fabio Caccamo 60501026a6 Update Django version specifier in "test-package" workflow. 2023-06-28 08:22:09 +02:00
Fabio Caccamo d269de0b63 Add Russian language to tests. 2023-06-26 21:45:36 +02:00
pre-commit-ci[bot] 5707ebfe09
[pre-commit.ci] pre-commit autoupdate (#296)
updates:
- [github.com/charliermarsh/ruff-pre-commit: v0.0.273 → v0.0.275](https://github.com/charliermarsh/ruff-pre-commit/compare/v0.0.273...v0.0.275)

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2023-06-26 21:42:45 +02:00
github-actions[bot] 27b57dd2b2
Update pre-commit hooks. (#294)
Co-authored-by: fabiocaccamo <fabiocaccamo@users.noreply.github.com>
2023-06-26 21:42:25 +02:00
Руся effc5fbd35
Add russian translation. (#295) 2023-06-26 09:40:21 +02:00
pre-commit-ci[bot] 39f47b29bc
[pre-commit.ci] pre-commit autoupdate (#293)
updates:
- [github.com/asottile/pyupgrade: v3.6.0 → v3.7.0](https://github.com/asottile/pyupgrade/compare/v3.6.0...v3.7.0)

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2023-06-21 10:15:20 +02:00
github-actions[bot] d9107d819f
Update pre-commit hooks. (#292)
Co-authored-by: fabiocaccamo <fabiocaccamo@users.noreply.github.com>
2023-06-21 10:14:37 +02:00
dependabot[bot] 7d3b967847
Bump django-colorfield from 0.8.0 to 0.9.0 (#290)
Bumps [django-colorfield](https://github.com/fabiocaccamo/django-colorfield) from 0.8.0 to 0.9.0.
- [Release notes](https://github.com/fabiocaccamo/django-colorfield/releases)
- [Changelog](https://github.com/fabiocaccamo/django-colorfield/blob/main/CHANGELOG.md)
- [Commits](https://github.com/fabiocaccamo/django-colorfield/compare/0.8.0...0.9.0)

---
updated-dependencies:
- dependency-name: django-colorfield
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-17 21:37:27 +02:00
pre-commit-ci[bot] 8fbed58cd6
[pre-commit.ci] pre-commit autoupdate (#286)
updates:
- [github.com/asottile/pyupgrade: v3.4.0 → v3.6.0](https://github.com/asottile/pyupgrade/compare/v3.4.0...v3.6.0)
- [github.com/charliermarsh/ruff-pre-commit: v0.0.265 → v0.0.272](https://github.com/charliermarsh/ruff-pre-commit/compare/v0.0.265...v0.0.272)

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2023-06-15 09:47:23 +02:00
github-actions[bot] 68d7094b3e
Update pre-commit hooks. (#289)
Co-authored-by: fabiocaccamo <fabiocaccamo@users.noreply.github.com>
2023-06-15 09:41:47 +02:00
github-actions[bot] fd908cbbed
Update pre-commit hooks. (#285) 2023-06-14 23:17:40 +02:00
dependabot[bot] f7be7cafb3
Update tox requirement from ==4.5.* to ==4.6.* (#288) 2023-06-14 23:17:26 +02:00
Fabio Caccamo 7c4793c9b6 Prevent multiple `.collapse-toggle` button. 2023-05-29 13:13:28 +02:00
Fabio Caccamo 7a0e63e986 Update `CHANGELOG` and version. 2023-05-11 01:38:14 +02:00
Fabio Caccamo a48575e047
Add collapsible inlines support. (#282)
* Improve code formatting.

* Add collapsible inlines frontend support.

* Add collapsible inlines options fields to model and admin.

* Add option classes to body.

* Update translations.

* Update README.md
2023-05-11 01:33:35 +02:00
github-actions[bot] a8897a942d
Update pre-commit hooks. (#280) 2023-05-07 09:22:13 +02:00
dependabot[bot] a92d94f9e8
Update pre-commit requirement from ==3.2.* to ==3.3.* (#278) 2023-05-06 13:47:09 +02:00