Commit graph

754 commits

Author SHA1 Message Date
Rotzbua
ee681b592a
feat(pre-commit): add pyupgrade 2024-06-09 21:34:50 +02:00
Rotzbua
eb5aef2554
chore: migrate to f-string
fix: use str() instead of f-string

credit: tool pyupgrade
Co-Authored-By: Alexandr Artemyev <mogost@gmail.com>
2024-06-09 21:07:07 +02:00
Alexandr Artemyev
053944200e
Merge pull request #547 from Rotzbua/chore_migrate_es2015
chore: migrate JS to ES2015
2024-06-09 22:37:39 +05:00
Alexandr Artemyev
bf69baec61
Merge pull request #549 from Rotzbua/fix_remove_legacy
fix: remove legacy django <1.9 code
2024-06-09 22:37:15 +05:00
Alexandr Artemyev
ef24fcb95f
Merge pull request #548 from Rotzbua/fix_html_trailing_slash
fix: html5 does not allow self-closing tags
2024-06-09 22:37:03 +05:00
Alexandr Artemyev
38f365d719
Merge pull request #543 from Rotzbua/fix_typo
fix: typos
2024-06-09 22:36:37 +05:00
Rotzbua
7589b11cf4
fix: remove legacy django <1.9 code 2024-06-08 23:28:12 +02:00
Rotzbua
3eede068f4
fix: html5 does not allow self-closing tags
Seems like leftovers from xhtml.
2024-06-08 21:31:38 +02:00
Rotzbua
60d85d7b54
chore: migrate JS to ES2015
Use let/const instead of var.
2024-06-08 21:25:52 +02:00
Rotzbua
1b27d73586
fix: typos 2024-06-08 19:55:28 +02:00
Chris Clark
cb8ae39854
Merge pull request #538 from jazzband/dont-set-in-get
Fix issue #510
2024-02-05 00:01:09 -05:00
Chris Clark
6f0bb23102 one query 2024-02-01 14:24:48 -05:00
Chris Clark
d1c409b1ac better DB handling 2024-02-01 14:15:22 -05:00
Alexandr Artemyev
46fe20dcd7
Merge pull request #537 from arunsathiya/master
ci: Use GITHUB_OUTPUT envvar instead of set-output command
2024-01-12 15:15:02 +06:00
Arun
69fc0f9a8e
ci: Use GITHUB_OUTPUT envvar instead of set-output command 2024-01-11 17:12:17 -08:00
pre-commit-ci[bot]
e001a228f8
[pre-commit.ci] pre-commit autoupdate (#536)
updates:
- [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>
2024-01-02 20:06:48 -06:00
Sergei Iurchenko
d03bea804f
fix migration on mysql (#531)
Co-authored-by: Iurchenko Sergei <empty>
2023-10-16 09:14:40 -05:00
Camilo Nova
bc9707d618 Bump version 3.1.0 2023-08-21 16:20:18 -05:00
James Tiplady
6a5052e9f4
Adding support for using a subdirectory of MEDIA_ROOT for file fields (#475)
* Adding support for using a subdirectory of MEDIA_ROOT for file fields with CONSTANCE_FILE_ROOT setting

* Improving documentation for CONSTANCE_FILE_ROOT

* Updating PR branch to work with latest master
2023-07-29 11:35:38 -05:00
Sergei Iurchenko
554dac0473
remove pypy from tox tests (#524)
Co-authored-by: Iurchenko Sergei
2023-07-20 12:19:33 -05:00
Camilo Nova
8317070890 Bump version 3.0.0 2023-06-27 15:53:30 -05:00
Rémy HUBSCHER
796f0fac5c
Merge pull request #518 from browniebroke/feat/django-4.2
Add official support for Django 4.2
2023-04-18 14:02:12 +02:00
Bruno Alla
d65b916189
Add official support for Django 4.2 2023-04-18 11:04:48 +01:00
Bruno Alla
9cbd512d75
Fix formatting in changes.rst 2023-04-18 11:02:33 +01:00
Søren Howe Gersager
0047a781af
Fix constance management command without admin installed (#506)
* refactor out ConstanceForm and get_values into forms.py and utils.py respectively

* fix tests and documentation

* correct mock import

* fix merge
2023-04-07 08:16:39 -05:00
pre-commit-ci[bot]
92e595e68b
[pre-commit.ci] pre-commit autoupdate (#516)
updates:
- [github.com/pre-commit/pygrep-hooks: v1.9.0 → v1.10.0](https://github.com/pre-commit/pygrep-hooks/compare/v1.9.0...v1.10.0)

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2023-04-07 08:12:07 -05:00
Sergei Iurchenko
5ab48e1943
505-race-condition-caused-by-when-constance-registers-django-checks (#514)
Co-authored-by: Iurchenko Sergei
2023-03-13 17:45:31 -05:00
Sergei Iurchenko
b486056802
fix_ci (#512)
* fix_ci

Co-authored-by: Iurchenko Sergei
2023-03-11 08:58:13 -06:00
pre-commit-ci[bot]
79fd8af0f4
[pre-commit.ci] pre-commit autoupdate (#507)
updates:
- [github.com/pre-commit/pre-commit-hooks: v4.3.0 → v4.4.0](https://github.com/pre-commit/pre-commit-hooks/compare/v4.3.0...v4.4.0)

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2023-03-10 20:41:05 +03:00
Sergei Iurchenko
2cb2ccd063
Refactor app and model 2023-03-10 20:38:31 +03:00
Ani Mehta
8b03012918
Fix "and and" in backends.rst (#509) 2023-01-11 11:46:55 -06:00
Dmitry
b6f8e2c5b8
"failed to update live settings" message (#491)
* "failed to update live settings" message

* Update constance/locale/ru/LC_MESSAGES/django.po

* test fix

* fix .po/.mo

Co-authored-by: Alexandr Artemyev <mogost@gmail.com>
2022-10-13 12:16:31 -05:00
Felippe Medeiros
b7da81451e
Forward the request when saving the form (#499) 2022-10-12 19:07:49 -05:00
Ihor Sychevskyi
432ffc8f1c
update links (#502) 2022-10-11 00:08:54 +03:00
Rémy HUBSCHER
02c5fd5011
Preparing release 2.9.1 (#497) 2022-08-11 13:54:59 +02:00
pre-commit-ci[bot]
c4d0b6f693
[pre-commit.ci] pre-commit autoupdate (#486)
updates:
- [github.com/pre-commit/pre-commit-hooks: v4.1.0 → v4.3.0](https://github.com/pre-commit/pre-commit-hooks/compare/v4.1.0...v4.3.0)

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2022-08-08 08:16:58 -05:00
Yuekui
4d7b904cd2
Fix text format for MultiValueField usage (#494) 2022-08-05 09:36:29 -05:00
Mariusz Felisiak
7b59c64635
Added support for Django 4.1. (#487)
* Added Django 4.0 classifier.

* Added support for Django 4.1.
2022-07-13 10:04:47 -05:00
alexkiro
55aed5d4d4
Add support for using gettext in fieldset headers (#489)
* Support tuples for CONFIG_FIELDSETS

* Add test for tuple CONFIG_FIELDSETS

* Preserve tuple fieldset sorting

* Add i18n example in the docs
2022-07-13 10:01:25 -05:00
Alessandro Piroddi
807f98cc3b
Fix build issues (#477)
Issue #468

Co-authored-by: Alessandro Piroddi <alessandro.piroddi@inpeco.com>
2022-05-11 07:28:16 -05:00
Alexandr Artemyev
908b72bc47
Merge pull request #479 from yuekui/patch-1
Fix typo in docs
2022-05-04 13:05:41 +06:00
Yuekui
b4bc9120d0
Fix typo in docs 2022-04-28 13:23:45 -07:00
Alexandr Artemyev
c47fefaf46
Merge pull request #478 from dxillar/patch-1
Update index.rst
2022-04-25 19:00:55 +06:00
Amit Garu
4899d1ce5c
Update index.rst
Typo fix for field access in template.
2022-04-24 12:08:50 +05:45
Camilo Nova
5de44eafb1 Bump version 2.9.0 2022-03-11 14:36:39 -06:00
Asger Hautop Drewsen
ebb5c8608b
Add default_auto_field to database backend (#449)
This ensures that changing DEFAULT_AUTO_FIELD in settings.py doesn't
create migrations for constance.
2022-03-11 13:25:57 -06:00
Yurchenko Sergey
fc6d41fdb3
serialize_according_to_widget (#472)
Co-authored-by: Сергей Юрченко <s.yurchenko@softpro.com>
2022-02-11 19:49:08 -06:00
horpto
8b34b63fd0
Add caching redis backend (#466)
* Add caching redis backend

* fix mget implementation

* fix lock
2022-01-06 15:45:11 -05:00
pre-commit-ci[bot]
01a8dc54d3
[pre-commit.ci] pre-commit autoupdate (#467)
updates:
- [github.com/pre-commit/pre-commit-hooks: v4.0.1 → v4.1.0](https://github.com/pre-commit/pre-commit-hooks/compare/v4.0.1...v4.1.0)

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2022-01-05 10:11:16 -05:00
MansurAliKoroglu
dc83f99df0
Add documentation for constance_dbs config (#462)
Co-authored-by: Mansur Ali Koroglu <mansur@thorgate.eu>
2021-12-15 11:18:06 -05:00