Commit Graph

434 Commits (7d3b967847af68d855cd141385fd2d8a29f35f12)

Author SHA1 Message Date
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
Fabio Caccamo 8fd00c6c27 Update translations. 2023-04-18 18:22:17 +02:00
Fabio Caccamo 31ee37a151 Update `CHANGELOG` and version. 2023-04-18 18:04:02 +02:00
Fabio Caccamo 544b2e68c0 Force date hierarchy label to be lower case. 2023-04-18 16:21:19 +02:00
Fabio Caccamo b56b0b9c58 Reformat migrations. 2023-04-18 16:20:42 +02:00
Fabio Caccamo 11905e80b7 Fix `ImportError`. 2023-04-18 16:18:56 +02:00
Fabio Caccamo 6f7a51bee8 Add `css_generic_link_active_color` field to use on active tab (tabbed changeform). #232 2023-04-18 16:10:02 +02:00
Fabio Caccamo 55f2c86a47 Fix tabs not working with non-ASCII alphanumeric characters. #237 2023-04-18 15:52:25 +02:00
Fabio Caccamo 42bf0f8039 Fix `date_hierarchy` with multiple fields (`ForeignKey`). #244 2023-04-18 14:45:36 +02:00
Fabio Caccamo 4deefc20b7 Add `flake8-bugbear` to `pre-commit`. 2023-03-01 17:54:58 +01:00
Fabio Caccamo 191d82a5c2 Set max line length to `88`. 2023-02-13 15:52:13 +01:00
Fabio Caccamo fa81b2ea5e Reformat code. 2023-02-09 19:14:51 +01:00
Fabio Caccamo 71cc60bea3 Add `metadata` module and read package attrs dynamically. 2023-02-09 19:14:33 +01:00
Fabio Caccamo d0f37806c7 Update `pre-commit`. 2023-02-06 10:35:32 +01:00
Fabio Caccamo ecc1cd77de Increase `flake8` checks. 2023-01-24 18:19:04 +01:00
Fabio Caccamo 76de3d5481 Run `django-upgrade` `pre-commit` hook. 2023-01-18 09:42:45 +01:00
Fabio Caccamo b8a8c1595f Add `pyupgrade` to `pre-commit` config. 2022-12-31 18:53:01 +01:00
Fabio Caccamo b10cb336ce Update `CHANGELOG` and version. 2022-12-19 15:34:03 +01:00
Fabio Caccamo cc79cf1549 Fix modal and popup opening at the same time. 2022-12-19 15:31:02 +01:00
Mounir b3540bc019
Make `Theme.get_active_theme` class method a manager method. (#230)
- Make `get_active_theme` a manager method instead of class method
- Replace `get_active_theme` by `get_active`
- Refactor signals handlers
2022-12-15 11:32:33 +01:00
Fabio Caccamo 186e78b846 Update `CHANGELOG` and version. 2022-12-14 13:00:59 +01:00
Fabio Caccamo 2da294e28f [css] Improve changelist filter margins. 2022-12-14 12:58:57 +01:00
Fabio Caccamo fca8e6d47b Fix modal opener buttons not working when added to the DOM asynchronously. #228 2022-12-14 12:38:47 +01:00
Fabio Caccamo 9522f1a156 Update `CHANGELOG` and version. 2022-12-11 23:37:11 +01:00
Fabio Caccamo 9c1af23785 Run `pre-commit`. 2022-12-11 23:07:11 +01:00
Éric 15da0bfd9a
minor cleanups (#225)
* use normal html self-closing tags

* stop using obsolete test integration

* make test more straightforward

* removed unused setting
2022-12-11 22:53:05 +01:00
Éric 19cbeead58
Include date hierarchy in quick removal links (#218)
* Include date hierarchy in quick removal links

* use date field name in removal link

* reduce diff

* tweak some details

* start adding tests

* use mock without spec :(

it's not easy to instantiate ChangeList, and speccing from
the class means that many attributes are not recognized

* more tests

* more tests

* more checks for generated URLs

* better tags and tests

* compat for tox 4
2022-12-11 20:44:31 +01:00
Vasanth 79f3fefaad
Text color on focus (#223) 2022-12-09 11:08:02 +01:00
Fabio Caccamo 98b8025ed7 Replace `str.format` with `f-strings`. 2022-12-06 13:44:32 +01:00
Fabio Caccamo ae78cb7b86 Update german translations. 2022-12-05 10:21:39 +01:00
Vasanth a75c16162f
[css] Fix inlines vertical alignement (#201)
Co-authored-by: vaz <vmohan@lenbox.io>
2022-12-05 10:19:44 +01:00
derzinn 14634aa505
Add german translation (#222)
* Added german translation

* Updated languages for test cases

* Updated identical message strings

* Updated django.po with corrected file paths

* Re-generated django.mo file

* Language lists sorted by code for test cases
2022-12-05 10:13:11 +01:00
Fabio Caccamo b88d7d8b95 Reformat models module. 2022-12-03 14:04:01 +01:00
Fabio Caccamo 60649ac4e6 Remove `post_migrate` signal handler and multi db test. 2022-12-03 14:01:57 +01:00
Éric d62593e01b
Drop old Python and Django versions (#220)
* drop old python and django versions

* fix tests

* remove compat module entirely

Co-authored-by: Fabio Caccamo <fabio.caccamo@gmail.com>
2022-12-03 13:49:09 +01:00
Vasanth 333025f877
Fix broken tabbed inline name. #221
Co-authored-by: vaz <vmohan@lenbox.io>
2022-12-02 11:18:52 +01:00
Fabio Caccamo 762d1184dd Update `CHANGELOG` and version. 2022-11-30 19:18:25 +01:00
Fabio Caccamo 967f5827f2 [tabbed-changeform] Improve tabbed changeform feature. 2022-11-30 19:06:52 +01:00
Fabio Caccamo f2b800d9ca [css] Adjust list filter dropdown `margin-top`. 2022-11-30 15:38:39 +01:00
Vasanth 07dcb77b88
Add border to rest of the tab space (#215)
* add border to rest of the tab space

* All tabs should be False

* slugify div ids

* bottom padding for horizontal

* do not show solo tabs

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

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

* use properties over attribute

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

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

* rename id to class

* scrollbar shenanigans

* rename tag

* wip : button weirdness in safari

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

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

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-30 15:33:59 +01:00
Fabio Caccamo a76de04a8b [css] Reduce secondary scrollbars size. 2022-11-30 15:13:27 +01:00
Fabio Caccamo 1d963230e4 [css] Fix nav filter style on Safari. 2022-11-30 14:54:41 +01:00
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 82f2fd7a84 Update translations. 2022-11-26 09:56:50 +01:00