Dylan Castillo
d38f6a8426
Revert formatting changes
2024-01-15 21:58:42 +01:00
Dylan Castillo
4da76c178b
Add setting to isolate components' context by default
2024-01-15 21:58:42 +01:00
Emil Stenström
93facba53e
Bump version.
2024-01-14 22:47:12 +01:00
Dylan Castillo
864c85b067
Update README.md
2024-01-14 22:40:17 +01:00
Dylan Castillo
ec656f25cb
Document ComponentDependencyMiddleware
2024-01-14 22:40:17 +01:00
Dylan Castillo
d7cfb9ae9e
Fix example in readme
2024-01-14 22:36:55 +01:00
Dylan Castillo
70a2a01400
Implement single file components
2024-01-14 22:36:55 +01:00
dependabot[bot]
27521a5402
Bump flake8 from 6.1.0 to 7.0.0
...
Bumps [flake8](https://github.com/pycqa/flake8 ) from 6.1.0 to 7.0.0.
- [Commits](https://github.com/pycqa/flake8/compare/6.1.0...7.0.0 )
---
updated-dependencies:
- dependency-name: flake8
dependency-type: direct:development
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-01-09 09:51:33 +01:00
dependabot[bot]
5e360cd51f
Bump django from 5.0 to 5.0.1
...
Bumps [django](https://github.com/django/django ) from 5.0 to 5.0.1.
- [Commits](https://github.com/django/django/compare/5.0...5.0.1 )
---
updated-dependencies:
- dependency-name: django
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-01-09 09:18:39 +01:00
pre-commit-ci[bot]
89879ab053
[pre-commit.ci] pre-commit autoupdate
...
updates:
- [github.com/pycqa/flake8: 6.1.0 → 7.0.0](https://github.com/pycqa/flake8/compare/6.1.0...7.0.0 )
2024-01-09 08:59:40 +01:00
dependabot[bot]
9038353bca
Bump pytest from 7.4.3 to 7.4.4
...
Bumps [pytest](https://github.com/pytest-dev/pytest ) from 7.4.3 to 7.4.4.
- [Release notes](https://github.com/pytest-dev/pytest/releases )
- [Changelog](https://github.com/pytest-dev/pytest/blob/main/CHANGELOG.rst )
- [Commits](https://github.com/pytest-dev/pytest/compare/7.4.3...7.4.4 )
---
updated-dependencies:
- dependency-name: pytest
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-01-03 12:32:14 +01:00
pre-commit-ci[bot]
9e66d7710b
[pre-commit.ci] pre-commit autoupdate
...
updates:
- [github.com/psf/black: 23.12.0 → 23.12.1](https://github.com/psf/black/compare/23.12.0...23.12.1 )
2023-12-25 23:17:05 +01:00
pre-commit-ci[bot]
c7e0f7fa5b
[pre-commit.ci] pre-commit autoupdate
...
updates:
- [github.com/pycqa/isort: 5.13.0 → 5.13.2](https://github.com/pycqa/isort/compare/5.13.0...5.13.2 )
- [github.com/psf/black: 23.11.0 → 23.12.0](https://github.com/psf/black/compare/23.11.0...23.12.0 )
2023-12-20 10:32:32 +01:00
dependabot[bot]
f6ad4cf8d6
Bump isort from 5.13.0 to 5.13.2
...
Bumps [isort](https://github.com/pycqa/isort ) from 5.13.0 to 5.13.2.
- [Release notes](https://github.com/pycqa/isort/releases )
- [Changelog](https://github.com/PyCQA/isort/blob/main/CHANGELOG.md )
- [Commits](https://github.com/pycqa/isort/compare/5.13.0...5.13.2 )
---
updated-dependencies:
- dependency-name: isort
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-12-18 21:24:17 +01:00
Emil Stenström
8ce649498f
Bump version.
2023-12-17 23:41:27 +01:00
Dylan Castillo
27b35f32b9
Add startcomponent test cases and setup ( #346 )
2023-12-17 23:40:12 +01:00
pre-commit-ci[bot]
3b89480bfc
[pre-commit.ci] pre-commit autoupdate
...
updates:
- [github.com/pycqa/isort: 5.12.0 → 5.13.0](https://github.com/pycqa/isort/compare/5.12.0...5.13.0 )
2023-12-11 22:40:34 +01:00
dependabot[bot]
77a1fe1870
Bump isort from 5.12.0 to 5.13.0
...
Bumps [isort](https://github.com/pycqa/isort ) from 5.12.0 to 5.13.0.
- [Release notes](https://github.com/pycqa/isort/releases )
- [Changelog](https://github.com/PyCQA/isort/blob/main/CHANGELOG.md )
- [Commits](https://github.com/pycqa/isort/compare/5.12.0...5.13.0 )
---
updated-dependencies:
- dependency-name: isort
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-12-11 22:37:51 +01:00
dependabot[bot]
89b7ade415
Bump pre-commit from 3.5.0 to 3.6.0
...
Bumps [pre-commit](https://github.com/pre-commit/pre-commit ) from 3.5.0 to 3.6.0.
- [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.5.0...v3.6.0 )
---
updated-dependencies:
- dependency-name: pre-commit
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-12-11 22:22:52 +01:00
Emil Stenström
4f1a818446
Bump version (correct this time).
2023-12-09 14:06:53 +01:00
Emil Stenström
99bf7ad9f8
Fix incorrect PyPI classifier preventing release.
2023-12-09 13:53:28 +01:00
Emil Stenström
a322dcf3f4
Bump version.
2023-12-09 13:48:46 +01:00
Emil Stenström
a13253d9e5
Add 3.12 to CI.
2023-12-09 13:43:29 +01:00
Emil Stenström
99b0cbc67a
Update django-components to support Python 3.12 and Django 5.0.
2023-12-09 13:41:34 +01:00
Emil Stenström
5a6dc23e67
Add versions for CI.
2023-12-09 13:13:56 +01:00
Emil Stenström
2cbf34eddf
Merge branch 'master' of https://github.com/EmilStenstrom/django-components
2023-12-09 12:56:44 +01:00
Emil Stenström
266b1a13c5
Include testing version upgrades.
2023-12-09 12:56:09 +01:00
Emil Stenström
de9b2c03a0
Merge branch 'master' of https://github.com/EmilStenstrom/django-components
2023-12-09 12:07:24 +01:00
Emil Stenström
f4899795e8
Update supported versions script slightly.
2023-12-09 12:06:33 +01:00
Emil Stenström
5ca0c43071
Merge branch 'master' of https://github.com/EmilStenstrom/django-components
2023-12-09 12:05:02 +01:00
Emil Stenström
8a7dd1a53c
Merge branch 'master' of https://github.com/EmilStenstrom/django-components
2023-12-09 11:32:10 +01:00
Emil Stenström
ef583d8edb
Build README automatically too.
2023-12-09 11:32:07 +01:00
dependabot[bot]
054c9d2f84
Bump django from 4.2.7 to 5.0
...
Bumps [django](https://github.com/django/django ) from 4.2.7 to 5.0.
- [Commits](https://github.com/django/django/compare/4.2.7...5.0 )
---
updated-dependencies:
- dependency-name: django
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-12-09 08:41:49 +01:00
dependabot[bot]
1b79f3a282
Bump tox from 4.11.3 to 4.11.4
...
Bumps [tox](https://github.com/tox-dev/tox ) from 4.11.3 to 4.11.4.
- [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.11.3...4.11.4 )
---
updated-dependencies:
- dependency-name: tox
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-12-07 14:25:07 +01:00
Wessel Blokzijl
63ce90f25a
Rename calendar.js/css to script.js/style.css
2023-12-03 12:50:05 +01:00
Wessel Blokzijl
89498af722
Clean up README.md
...
- Remove trailing whitespace
- Use the same quotes as django defaults
- Use consisten name for css and js in tutorial
2023-12-03 12:50:05 +01:00
pre-commit-ci[bot]
726060d3e3
[pre-commit.ci] pre-commit autoupdate
...
updates:
- [github.com/psf/black: 23.10.1 → 23.11.0](https://github.com/psf/black/compare/23.10.1...23.11.0 )
2023-11-13 22:21:41 +01:00
dependabot[bot]
b66f4db431
Bump django from 4.2.6 to 4.2.7
...
Bumps [django](https://github.com/django/django ) from 4.2.6 to 4.2.7.
- [Commits](https://github.com/django/django/compare/4.2.6...4.2.7 )
---
updated-dependencies:
- dependency-name: django
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-11-04 10:38:56 +01:00
dependabot[bot]
5a4a6b0cd6
Bump pytest from 7.4.2 to 7.4.3
...
Bumps [pytest](https://github.com/pytest-dev/pytest ) from 7.4.2 to 7.4.3.
- [Release notes](https://github.com/pytest-dev/pytest/releases )
- [Changelog](https://github.com/pytest-dev/pytest/blob/main/CHANGELOG.rst )
- [Commits](https://github.com/pytest-dev/pytest/compare/7.4.2...7.4.3 )
---
updated-dependencies:
- dependency-name: pytest
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-10-30 23:24:03 +01:00
Hanif Birgani
92341b4f8d
Merge pull request #329 from EmilStenstrom/pre-commit-ci-update-config
...
[pre-commit.ci] pre-commit autoupdate
2023-10-27 20:24:46 +03:30
pre-commit-ci[bot]
5a26670843
[pre-commit.ci] pre-commit autoupdate
...
updates:
- [github.com/psf/black: 23.9.1 → 23.10.1](https://github.com/psf/black/compare/23.9.1...23.10.1 )
2023-10-23 20:57:44 +00:00
Hanif Birgani
c31af0c549
feat(docs): add startcomponent
docs to the README.md
file. related #323
2023-10-21 23:37:36 +02:00
dependabot[bot]
52645ddb37
Bump pre-commit from 3.4.0 to 3.5.0
...
Bumps [pre-commit](https://github.com/pre-commit/pre-commit ) from 3.4.0 to 3.5.0.
- [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.4.0...v3.5.0 )
---
updated-dependencies:
- dependency-name: pre-commit
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-10-19 22:51:57 +02:00
Emil Stenström
24032ac2ea
Bump version.
2023-10-09 22:31:44 +02:00
Hanif Birgani
4753698765
fix(context): change context template in the template file and rename context dict keys with default values.
2023-10-09 22:28:11 +02:00
Hanif Birgani
ba436c0080
fix: raise command error if path
or BASE_DIR
not available
2023-10-09 22:28:11 +02:00
pre-commit-ci[bot]
4f4b81b7a0
[pre-commit.ci] auto fixes from pre-commit.com hooks
...
for more information, see https://pre-commit.ci
2023-10-09 22:28:11 +02:00
Hanif Birgani
58c7d55256
fix(management):
...
- Add `path` argument for custom component path
- Add `js`, `css`, `template` arguments for custom component script, style and template files
- Add `force` argument to force rewrite the existing component
- Add `verbose` option to make the command more informative
- Add `dry-run` option to simulate the command without writing to disk
- related #249
2023-10-09 22:28:11 +02:00
Hanif Birgani
af107910a6
fix(management):
...
- use `textwrap.dedent` for better readability
- remove unused comments from generated python file
- related #249
2023-10-09 22:28:11 +02:00
Hanif Birgani
a45bfdc837
fix(management): change a line to pass flake8. related #249
2023-10-09 22:28:11 +02:00