Commit Graph

616 Commits (81ebbaa2c9a2879567c4a62df43d75962aefaa17)

Author SHA1 Message Date
Fabio Caccamo 81ebbaa2c9 [css] Fix nav filter clipped outline on focus. 2022-11-30 14:50:27 +01:00
Fabio Caccamo 5376089110 [css] Improve language chooser style. 2022-11-30 14:34:56 +01:00
Fabio Caccamo 79dfb2fea9 [css] Improve nav filter style. #214 2022-11-30 14:34:38 +01:00
Fabio Caccamo 5009e97086 [css] Adjust list filter dropdown vertical margins. 2022-11-29 17:04:20 +01:00
Fabio Caccamo b5fdd6ec19 [css] Reduce scrollbar width on scrollable sticky elements. 2022-11-29 16:45:32 +01:00
Fabio Caccamo 2d839d2ff7 Update pre-commit-autoupdate.yml 2022-11-28 12:43:41 +01:00
Fabio Caccamo 82f2fd7a84 Update translations. 2022-11-26 09:56:50 +01:00
Vasanth cc1f72b23d
Add tabbed changeform support (#211).
* WIP : basic templates

* Add params

* Working override

* Use headerless version only during tabs

* Move CSS to separate file

* Extract js to static folder

* script is not self-closing

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* use classList for updating classes

* Add EOF (newline) to new text files

* a simple test to keep up code coverage

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* Fieldsets are not tabbed by default

* rename templatetag

* use default page if show_*_tabs are false

* Narrow down css to admin-interface

* Fix typo

* keep codacy happy

* prefix tab classes with tabbed-changeform-

* horizontal scrolling

* Update colors

* color updates

* add back missing font bold

Co-authored-by: vaz <vmohan@lenbox.io>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2022-11-26 09:54:33 +01:00
Vasanth 23511d04b2
Fix #208 - do not assume active DB when not specified (#210).
* Do not assume active DB when not specified

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* Add db routing test case

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* one more test

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* use assertRaises instead of expectedFailure

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* Catch a general exception for  django < 2.0

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* use `with` instead of callable

* skip test for django < 2.0

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* remove repeated test

Co-authored-by: vaz <vmohan@lenbox.io>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2022-11-26 09:53:33 +01:00
github-actions[bot] 585bf7a52b
Update pre-commit hooks. (#213) 2022-11-25 07:22:41 +01:00
Fabio Caccamo 85fb723747 Update pre-commit-autoupdate.yml 2022-11-24 13:16:32 +01:00
Fabio Caccamo 873cce2144 Update dependabot.yml 2022-11-24 13:16:28 +01:00
Fabio Caccamo f3a69713a1 Add `Python 3.11` support. 2022-11-24 10:11:41 +01:00
Fabio Caccamo 2b7b7b13eb Update dependabot.yml 2022-11-24 10:11:26 +01:00
Fabio Caccamo e208ba24ad Create pre-commit-autoupdate.yml 2022-11-24 10:03:56 +01:00
Fabio Caccamo 8e9aa16a5b Update `tox`.
- Replace `whitelist_externals` (deprecated) with `allowlist_externals`.
- Update translations test env for running `git diff` only with the `locale/` folder.
2022-11-23 17:40:06 +01:00
dependabot[bot] 18f865beaa
Bump github/codeql-action from 1 to 2 (#207)
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 1 to 2.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/github/codeql-action/compare/v1...v2)

---
updated-dependencies:
- dependency-name: github/codeql-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-21 16:46:38 +01:00
dependabot[bot] 03c95395b2
Bump fabiocaccamo/create-matrix-action from 2 to 3 (#206)
Bumps [fabiocaccamo/create-matrix-action](https://github.com/fabiocaccamo/create-matrix-action) from 2 to 3.
- [Release notes](https://github.com/fabiocaccamo/create-matrix-action/releases)
- [Commits](https://github.com/fabiocaccamo/create-matrix-action/compare/v2...v3)

---
updated-dependencies:
- dependency-name: fabiocaccamo/create-matrix-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-21 16:46:25 +01:00
dependabot[bot] c26827a75a
Bump codecov/codecov-action from 2 to 3 (#205)
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 2 to 3.
- [Release notes](https://github.com/codecov/codecov-action/releases)
- [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/codecov/codecov-action/compare/v2...v3)

---
updated-dependencies:
- dependency-name: codecov/codecov-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-21 16:46:10 +01:00
dependabot[bot] aab4435841
Bump actions/checkout from 2 to 3 (#204)
Bumps [actions/checkout](https://github.com/actions/checkout) from 2 to 3.
- [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/v2...v3)

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

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-21 16:45:53 +01:00
Fabio Caccamo 75a52c6449 Update `CHANGELOG` and version. 2022-11-18 21:29:30 +01:00
Fabio Caccamo 0ad9ca74ae Remove translations line numbers. 2022-11-18 21:12:51 +01:00
Fabio Caccamo 76a8b9d114
Update dependabot.yml 2022-11-18 16:00:21 +01:00
Fabio Caccamo 158128d864 Add missing `using` parameter in `pre_save` signal handler. 2022-11-18 13:32:30 +01:00
Fabio Caccamo 78041ea28b Separate `test_repr` and `test_str`. 2022-11-18 13:31:57 +01:00
Fabio Caccamo e1020a29dc Remove unnecesary `using("default")`. 2022-11-18 13:31:44 +01:00
Vasanth 946b9c98e0
Respect 'using' in signals (#200) 2022-11-18 13:07:59 +01:00
Fabio Caccamo 7c9340ba3a Run tests even if `lint` step fails. 2022-11-17 15:13:13 +01:00
Fabio Caccamo d4ea141571
Update dependabot.yml 2022-10-18 15:23:37 +02:00
Fabio Caccamo 049854f2c3 Merge branch 'master' of https://github.com/fabiocaccamo/django-admin-interface 2022-10-18 14:20:35 +02:00
Fabio Caccamo 0dd591716d Update pyproject.toml 2022-10-18 14:20:33 +02:00
pre-commit-ci[bot] 9d1c28d480
[pre-commit.ci] pre-commit autoupdate (#187)
updates:
- https://github.com/ambv/blackhttps://github.com/psf/black
- https://gitlab.com/pycqa/flake8https://github.com/PyCQA/flake8
- [github.com/PyCQA/flake8: 3.9.2 → 5.0.4](https://github.com/PyCQA/flake8/compare/3.9.2...5.0.4)

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2022-10-18 09:40:00 +02:00
Fabio Caccamo 1002f48986 Fix `tox -e translations` command. 2022-10-17 18:41:50 +02:00
Fabio Caccamo 0939202824 Update setup.py 2022-10-17 18:36:58 +02:00
Fabio Caccamo 990975a0eb Add `django 4.1` to CI. 2022-10-17 18:27:45 +02:00
Fabio Caccamo 78ae411d58 Update requirements-test.txt 2022-10-17 14:56:34 +02:00
Fabio Caccamo 98b7228f95 Fix tests. 2022-10-17 14:50:14 +02:00
Fabio Caccamo 03e5cbdf9e Fix `pt-BR` language code. 2022-10-17 14:42:07 +02:00
Fabio Caccamo 092175202c Update translations. 2022-10-17 14:38:16 +02:00
Fabio Caccamo 200d0cc681 Run `compilemessages` faster. 2022-10-17 14:37:41 +02:00
Fabio Caccamo d48c8cc182 Fix `pt_br` language code. 2022-10-17 14:37:08 +02:00
Fabio Caccamo ead930d3b4 Replace `update-translations.sh` script with `makemessages --all`. 2022-10-17 14:24:35 +02:00
Fabio Caccamo f4617ac126 Update `tests.settings.LANGUAGES` list. 2022-10-17 14:21:44 +02:00
Fabio Caccamo de27c013fa Add `pre-commit` status badge. 2022-10-14 17:58:04 +02:00
Fabio Caccamo 5e58c35b08 Run `pre-commit`. 2022-10-14 17:31:57 +02:00
Fabio Caccamo aecfbf0291 Add `pre-commit` with `black`, `isort` and `flake8`. 2022-10-14 17:29:11 +02:00
Fabio Caccamo bf72f6c982 Update `CHANGELOG` and version. 2022-10-13 12:06:35 +02:00
Fabio Caccamo 3b055dd7cc Update README. 2022-10-13 12:05:08 +02:00
Fabio Caccamo 53e5b66785 [css] Fix list-filter dropdown vertical margins. 2022-10-13 12:04:08 +02:00
Fabio Caccamo 5e5e811102 [css] Add `django-rangefilter` style optimizations. 2022-10-13 12:01:00 +02:00