Commit graph

952 commits

Author SHA1 Message Date
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
pre-commit-ci[bot]
deb17c6c70 [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
825b0cbbaa feat(management): [WIP] add startcomponent management command. related #249 2023-10-09 22:28:11 +02:00
dependabot[bot]
cba42271f7 Bump django from 4.2.5 to 4.2.6
Bumps [django](https://github.com/django/django) from 4.2.5 to 4.2.6.
- [Commits](https://github.com/django/django/compare/4.2.5...4.2.6)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-09 20:58:59 +02:00
Emil Stenström
9d7d0b40b9 Bump version. 2023-09-29 16:08:32 +02:00
Roman Imankulov
16826f45f9 Change the order of arguments in assertHTMLEqual() 2023-09-29 16:06:52 +02:00
Roman Imankulov
0cc507fd5d Replace self.assertEqual() with self.assertHTMLEqual() 2023-09-29 16:06:52 +02:00
pre-commit-ci[bot]
6a633c67a8 [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2023-09-29 16:06:52 +02:00
Roman Imankulov
a919b648b3 Add support for - and / in component names in middleware
- Fix the COMPONENT_COMMENT_REGEX to find component names with special symbols.
- Fix the test to catch the error.

Follow-up of e0c29e5 and ref: #262
2023-09-29 16:06:52 +02:00
Emil Stenström
c0fc6c0a12 Merge branch 'master' of https://github.com/EmilStenstrom/django-components 2023-09-29 12:48:29 +02:00
Emil Stenström
719637b3aa Minor: Remove type attribute from right side to make usage more intuitive. 2023-09-29 12:48:23 +02:00
dependabot[bot]
3318bde9c3 Bump tox from 4.11.1 to 4.11.3
Bumps [tox](https://github.com/tox-dev/tox) from 4.11.1 to 4.11.3.
- [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.1...4.11.3)

---
updated-dependencies:
- dependency-name: tox
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-14 23:17:20 +02:00
dependabot[bot]
f15db9a152 Bump pytest from 7.4.1 to 7.4.2
Bumps [pytest](https://github.com/pytest-dev/pytest) from 7.4.1 to 7.4.2.
- [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.1...7.4.2)

---
updated-dependencies:
- dependency-name: pytest
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-14 23:17:11 +02:00
pre-commit-ci[bot]
b2e5ad432c [pre-commit.ci] pre-commit autoupdate
updates:
- [github.com/psf/black: 23.7.0 → 23.9.1](https://github.com/psf/black/compare/23.7.0...23.9.1)
2023-09-14 23:16:49 +02:00
dependabot[bot]
d934278226 Bump django from 4.2.4 to 4.2.5
Bumps [django](https://github.com/django/django) from 4.2.4 to 4.2.5.
- [Commits](https://github.com/django/django/compare/4.2.4...4.2.5)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-04 21:14:09 +02:00