Commit graph

255 commits

Author SHA1 Message Date
Emil Stenström
5b9188cc9c Refactored Component class
# Conflicts:
#	README.md
#	pyproject.toml
2021-09-10 11:27:28 +02:00
contrib-readme-bot
55f46d6069 contrib-readme-action has updated readme 2021-09-06 07:36:21 +00:00
Emil Stenström
04091fa3d3 Reenable contributors action. 2021-09-06 09:35:57 +02:00
Emil Stenström
723448c241 Disable contributors action, it doesn't work. 2021-09-06 09:21:20 +02:00
Emil Stenström
45a18626d7 Bump version. 2021-09-06 09:20:25 +02:00
Emil Stenström
acff86d4f9
Switch project to use black, isort and flake8 (thanks @hanifbirgani) 2021-09-03 16:56:33 +02:00
Hanif Birgani
3d45077ee8 Add pre-commit config
Add pre-commit config file to run isort, black and flake8 before each commit.
related to #36
2021-09-02 16:47:12 +04:30
Hanif Birgani
b0742ba608 Add black configurations. related to #36 2021-09-02 16:45:32 +04:30
Emil Stenström
b4951fd052
Merge pull request #89 from EmilStenstrom/dependabot/pip/django-3.2.7
Bump django from 3.2.6 to 3.2.7
2021-09-01 22:45:51 +02:00
dependabot[bot]
93af26b2df
Bump django from 3.2.6 to 3.2.7
Bumps [django](https://github.com/django/django) from 3.2.6 to 3.2.7.
- [Release notes](https://github.com/django/django/releases)
- [Commits](https://github.com/django/django/compare/3.2.6...3.2.7)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-09-01 17:01:07 +00:00
Emil Stenström
b60f6a229a
Merge pull request #88 from EmilStenstrom/dependabot/pip/pytest-6.2.5
Bump pytest from 6.2.4 to 6.2.5
2021-08-31 20:45:20 +02:00
Emil Stenström
226e84d48f Update to latest version of contributors-readme-action. 2021-08-31 19:09:18 +02:00
Emil Stenström
8dfaa95afa
Add a github action to automate releases to PyPI (thanks @hanifbirgani) 2021-08-31 19:03:25 +02:00
dependabot[bot]
e4be7d3ce1
Bump pytest from 6.2.4 to 6.2.5
Bumps [pytest](https://github.com/pytest-dev/pytest) from 6.2.4 to 6.2.5.
- [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/6.2.4...6.2.5)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-08-31 17:01:13 +00:00
Real-Gecko
c1d090d5c0
Added template loader for component templates automatic discovery (thanks @Real-Gecko) 2021-08-30 22:51:03 +02:00
contrib-readme-bot
f0293ec671 contrib-readme-action has updated readme 2021-08-30 11:28:06 +00:00
Hanif Birgani
6e98ac3f0b Add a github action to publish tagged releases to PyPI. fixes #69 2021-08-30 15:48:01 +04:30
Emil Stenström
74d7ea008b
Merge pull request #84 from EmilStenstrom/dependabot/pip/tox-3.24.3
Bump tox from 3.24.2 to 3.24.3
2021-08-23 23:38:50 +03:00
dependabot[bot]
ce33c743e2
Bump tox from 3.24.2 to 3.24.3
Bumps [tox](https://github.com/tox-dev/tox) from 3.24.2 to 3.24.3.
- [Release notes](https://github.com/tox-dev/tox/releases)
- [Changelog](https://github.com/tox-dev/tox/blob/master/docs/changelog.rst)
- [Commits](https://github.com/tox-dev/tox/compare/3.24.2...3.24.3)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-08-23 17:01:06 +00:00
Emil Stenström
5a973c3ec3
Merge pull request #82 from EmilStenstrom/dependabot/pip/tox-3.24.2
Bump tox from 3.24.1 to 3.24.2
2021-08-18 20:27:54 +03:00
dependabot[bot]
bbd95ca2d8
Bump tox from 3.24.1 to 3.24.2
Bumps [tox](https://github.com/tox-dev/tox) from 3.24.1 to 3.24.2.
- [Release notes](https://github.com/tox-dev/tox/releases)
- [Changelog](https://github.com/tox-dev/tox/blob/master/docs/changelog.rst)
- [Commits](https://github.com/tox-dev/tox/compare/3.24.1...3.24.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-08-18 17:01:08 +00:00
Emil Stenström
70fcc16261
Merge pull request #79 from EmilStenstrom/dependabot/pip/tox-3.24.1
Bump tox from 3.24.0 to 3.24.1
2021-08-02 23:24:37 +03:00
Emil Stenström
82e0752e57
Merge pull request #78 from EmilStenstrom/dependabot/pip/django-3.2.6
Bump django from 3.2.5 to 3.2.6
2021-08-02 23:24:23 +03:00
dependabot[bot]
11f6e00940
Bump tox from 3.24.0 to 3.24.1
Bumps [tox](https://github.com/tox-dev/tox) from 3.24.0 to 3.24.1.
- [Release notes](https://github.com/tox-dev/tox/releases)
- [Changelog](https://github.com/tox-dev/tox/blob/master/docs/changelog.rst)
- [Commits](https://github.com/tox-dev/tox/compare/3.24.0...3.24.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-08-02 17:01:25 +00:00
dependabot[bot]
16899d311d
Bump django from 3.2.5 to 3.2.6
Bumps [django](https://github.com/django/django) from 3.2.5 to 3.2.6.
- [Release notes](https://github.com/django/django/releases)
- [Commits](https://github.com/django/django/commits)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-08-02 17:01:08 +00:00
Emil Stenström
6809e5d0d9
Merge pull request #77 from EmilStenstrom/dependabot/pip/isort-5.9.3
Bump isort from 5.9.2 to 5.9.3
2021-08-02 11:41:30 +03:00
dependabot[bot]
442035136b
Bump isort from 5.9.2 to 5.9.3
Bumps [isort](https://github.com/pycqa/isort) from 5.9.2 to 5.9.3.
- [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.9.2...5.9.3)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-07-29 17:01:04 +00:00
Emil Stenström
e82051fcb2
Merge pull request #76 from EmilStenstrom/dependabot/pip/tox-3.24.0
Bump tox from 3.23.1 to 3.24.0
2021-07-14 19:28:41 +02:00
dependabot[bot]
a95e67a2e0
Bump tox from 3.23.1 to 3.24.0
Bumps [tox](https://github.com/tox-dev/tox) from 3.23.1 to 3.24.0.
- [Release notes](https://github.com/tox-dev/tox/releases)
- [Changelog](https://github.com/tox-dev/tox/blob/master/docs/changelog.rst)
- [Commits](https://github.com/tox-dev/tox/compare/3.23.1...3.24.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-07-14 17:01:07 +00:00
Emil Stenström
2c05f9d8a3
Merge pull request #75 from EmilStenstrom/dependabot/pip/isort-5.9.2
Bump isort from 5.9.1 to 5.9.2
2021-07-13 23:46:22 +02:00
dependabot[bot]
7a3e2bc7cf
Bump isort from 5.9.1 to 5.9.2
Bumps [isort](https://github.com/pycqa/isort) from 5.9.1 to 5.9.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.9.1...5.9.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-07-08 17:01:06 +00:00
rbeard0330
e3c9ac76ce
Fix infinite recursion bug (fixes #68) (#74)
* Add regression test for recursion bug, #68

* Only allow slots to access slot nodelists provided to their immediate parent component to prevent infinite recursions.

* Fix import ordering bug in test

* Add slot.super to docs

Remove unused imports

* Bump version

Co-authored-by: rbeard0330 <@dul2k3BKW6m>
2021-07-06 11:56:49 -04:00
Emil Stenström
7f4661922a
Merge pull request #73 from EmilStenstrom/dependabot/pip/django-3.2.5
Bump django from 3.2.4 to 3.2.5
2021-07-02 21:39:47 +02:00
dependabot[bot]
21d7b94a99
Bump django from 3.2.4 to 3.2.5
Bumps [django](https://github.com/django/django) from 3.2.4 to 3.2.5.
- [Release notes](https://github.com/django/django/releases)
- [Commits](https://github.com/django/django/compare/3.2.4...3.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>
2021-07-01 17:01:09 +00:00
Emil Stenström
95a57ace89
Merge pull request #72 from EmilStenstrom/dependabot/pip/isort-5.9.1
Bump isort from 5.8.0 to 5.9.1
2021-06-21 19:17:12 +02:00
dependabot[bot]
1402dc50f0
Bump isort from 5.8.0 to 5.9.1
Bumps [isort](https://github.com/pycqa/isort) from 5.8.0 to 5.9.1.
- [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.8.0...5.9.1)

---
updated-dependencies:
- dependency-name: isort
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-21 17:01:00 +00:00
Emil Stenström
4308fa1a7e
Merge pull request #67 from EmilStenstrom/dependabot/pip/django-3.2.4
Bump django from 3.2.3 to 3.2.4
2021-06-03 08:02:32 +02:00
dependabot[bot]
b97e16e66e
Bump django from 3.2.3 to 3.2.4
Bumps [django](https://github.com/django/django) from 3.2.3 to 3.2.4.
- [Release notes](https://github.com/django/django/releases)
- [Commits](https://github.com/django/django/compare/3.2.3...3.2.4)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-03 05:07:08 +00:00
Emil Stenström
d60e529457 Bump version. 2021-05-30 18:48:09 +02:00
Emil Stenström
a5bd0cf2e3
Rework slot management to avoid nodelist copying (fixes #64)
Co-authored-by: rbeard0330 <@dul2k3BKW6m>
2021-05-30 18:46:11 +02:00
Emil Stenström
5e8ae9d27b Bump version. 2021-05-26 01:01:41 +02:00
rbeard0330
070b754d24 Improve slot handling to allow nested components, conditional slots, and slot.super (Fixes #33, #34, #37)
Co-authored-by: rbeard0330 <@dul2k3BKW6m>
2021-05-26 00:59:46 +02:00
Emil Stenström
c4db1646db Bump version. 2021-05-14 22:42:40 +02:00
Emil Stenström
6e0fe9999e
Merge pull request #62 from EmilStenstrom/dependabot/pip/django-3.2.3
Bump django from 3.2.2 to 3.2.3
2021-05-14 09:43:38 +02:00
dependabot[bot]
db013deb11
Bump django from 3.2.2 to 3.2.3
Bumps [django](https://github.com/django/django) from 3.2.2 to 3.2.3.
- [Release notes](https://github.com/django/django/releases)
- [Commits](https://github.com/django/django/compare/3.2.2...3.2.3)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-14 05:02:26 +00:00
Emil Stenström
93be87cf80
Merge pull request #61 from EmilStenstrom/dependabot/pip/flake8-3.9.2
Bump flake8 from 3.9.1 to 3.9.2
2021-05-10 09:47:12 +02:00
dependabot[bot]
876c7a37e4
Bump flake8 from 3.9.1 to 3.9.2
Bumps [flake8](https://gitlab.com/pycqa/flake8) from 3.9.1 to 3.9.2.
- [Release notes](https://gitlab.com/pycqa/flake8/tags)
- [Commits](https://gitlab.com/pycqa/flake8/compare/3.9.1...3.9.2)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-10 05:09:47 +00:00
Emil Stenström
9121f8e2c2
Merge pull request #60 from EmilStenstrom/dependabot/pip/django-3.2.2
Bump django from 3.2.1 to 3.2.2
2021-05-07 11:01:42 +02:00
dependabot[bot]
e91ca06535
Bump django from 3.2.1 to 3.2.2
Bumps [django](https://github.com/django/django) from 3.2.1 to 3.2.2.
- [Release notes](https://github.com/django/django/releases)
- [Commits](https://github.com/django/django/compare/3.2.1...3.2.2)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-07 05:04:24 +00:00
Emil Stenström
118d3dff21
Merge pull request #59 from EmilStenstrom/dependabot/pip/tox-3.23.1
Bump tox from 3.23.0 to 3.23.1
2021-05-06 10:47:59 +02:00