Emil Stenström
|
61b0832525
|
Inline test_replace_slot_in_view_with_insecure_content.
|
2024-05-02 23:09:17 +02:00 |
|
Emil Stenström
|
2949969ea5
|
Inline test_replace_slot_in_view.
|
2024-05-02 23:00:40 +02:00 |
|
Emil Stenström
|
8d8ae35c0e
|
Inline test_get_request & test_post_request.
|
2024-05-02 22:57:39 +02:00 |
|
Emil Stenström
|
678346313c
|
Inline data for test_render_component_from_template.
|
2024-05-02 22:53:02 +02:00 |
|
pre-commit-ci[bot]
|
04d968ace9
|
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
|
2024-05-02 20:34:46 +00:00 |
|
Juro Oravec
|
8c4a55901c
|
tests: add inline syntax highlight, inline template files
|
2024-05-02 22:33:02 +02:00 |
|
Juro Oravec
|
e566d8ecbb
|
fix: loader tags compatibility (#468)
|
2024-05-02 22:24:49 +02:00 |
|
Juro Oravec
|
3fc90e4956
|
feat: merge context settings, replace if_filled tag with var
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
|
2024-05-01 20:55:09 +02:00 |
|
Juro Oravec
|
981eb59cf1
|
feat: Allow multiple slots with the same name in the same template
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
|
2024-04-29 15:09:25 +02:00 |
|
Juro Oravec
|
29c931f150
|
refactor: fix slot fills for components nested in themselves (#456)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
|
2024-04-25 20:36:05 +02:00 |
|
Juro Oravec
|
091da26da5
|
refactor: Tests cleanup and better test isolation (#452)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
|
2024-04-25 14:20:33 +02:00 |
|
Juro Oravec
|
ae22eff8af
|
refactor: fix context vars missing in isolated slot (#455)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
|
2024-04-25 12:08:20 +02:00 |
|
Juro Oravec
|
3ad0dd8677
|
refactor: fix slot context behavior (#445)
|
2024-04-23 21:35:45 +02:00 |
|
pre-commit-ci[bot]
|
9e6c645346
|
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
|
2024-04-18 11:35:01 +00:00 |
|
Juro Oravec
|
eb40afba7b
|
refactor: remove Django30CompatibleTestCase
|
2024-04-18 13:33:58 +02:00 |
|
Juro Oravec
|
bacd683c44
|
refactor: fix type imports in tests
|
2024-04-16 23:25:13 +02:00 |
|
pre-commit-ci[bot]
|
ab7f3e0cdb
|
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
|
2024-04-16 23:25:13 +02:00 |
|
Juro Oravec
|
089cda54c5
|
refactor: fix tests
|
2024-04-16 23:25:13 +02:00 |
|
Juro Oravec
|
f3a2bcbc4f
|
refactor: rename for easier debugging
|
2024-04-16 23:25:13 +02:00 |
|
Juro Oravec
|
1dd492314a
|
refactor: use component_id instead of Template as slot fill cache key
|
2024-04-16 23:25:13 +02:00 |
|
pre-commit-ci[bot]
|
752567bf7c
|
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
|
2024-04-14 14:49:07 +00:00 |
|
Juro Oravec
|
fd9c441024
|
refactor: fix linter errors
|
2024-04-14 16:48:55 +02:00 |
|
Juro Oravec
|
e6725c8445
|
refactor: update tests
|
2024-04-14 16:46:43 +02:00 |
|
Juro Oravec
|
5ca4313238
|
refactor: fix mypy error
|
2024-04-14 13:54:39 +02:00 |
|
Juro Oravec
|
1f72535cf1
|
refactor: skip test
|
2024-04-14 13:51:08 +02:00 |
|
pre-commit-ci[bot]
|
8ff35ae5e5
|
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
|
2024-04-14 11:10:56 +00:00 |
|
Juro Oravec
|
dae49c42a8
|
refactor: add tests
|
2024-04-14 13:10:45 +02:00 |
|
Juro Oravec
|
3050dc71b9
|
refactor: add test
|
2024-04-11 23:44:36 +02:00 |
|
Dylan Castillo
|
0f278f3c25
|
Fix issue #421 (#422)
|
2024-04-04 08:29:26 +02:00 |
|
Juro Oravec
|
37fd901908
|
Resolve media and template files relative to component class dir (#395), thanks @JuroOravec
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Emil Stenström <emil@emilstenstrom.se>
|
2024-03-23 19:01:39 +01:00 |
|
Juro Oravec
|
b14dec9777
|
Add mypy support (#396), thanks @JuroOravec
|
2024-03-15 23:31:15 +01:00 |
|
Emil Stenström
|
edf3885632
|
Replace all instances of component_block with component. Remove duplicate tests.
|
2024-02-21 22:38:06 +01:00 |
|
Emil Stenström
|
48fe8171b4
|
Reformat lines that became too long. And enforce 119 line length.
|
2024-02-21 22:38:06 +01:00 |
|
Emil Stenström
|
ef6a082238
|
Remove component tag in favour of component_block.
|
2024-02-21 22:38:06 +01:00 |
|
Dylan Castillo
|
5b296b02a3
|
Remove more prints, sorry :/
|
2024-02-08 08:45:00 +01:00 |
|
Dylan Castillo
|
5c2b7eb640
|
Remove unnecessary function
|
2024-02-08 08:45:00 +01:00 |
|
Dylan Castillo
|
567c8ccc3d
|
Fix for #290
|
2024-02-08 08:45:00 +01:00 |
|
Dylan Castillo
|
dc9f1b46b2
|
Fix issue #368 and add tests (#369)
|
2024-01-27 23:10:03 +01:00 |
|
Dylan Castillo
|
91b4accfeb
|
Render components as views (#366) (thanks @dylanjcastillo)
|
2024-01-24 22:36:57 +01:00 |
|
pre-commit-ci[bot]
|
665d5af827
|
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
|
2024-01-15 21:58:42 +01:00 |
|
Dylan Castillo
|
560b721523
|
Change context behavior setting to enum
|
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 |
|
Dylan Castillo
|
70a2a01400
|
Implement single file components
|
2024-01-14 22:36:55 +01:00 |
|
Dylan Castillo
|
27b35f32b9
|
Add startcomponent test cases and setup (#346)
|
2023-12-17 23:40:12 +01: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
|
719637b3aa
|
Minor: Remove type attribute from right side to make usage more intuitive.
|
2023-09-29 12:48:23 +02:00 |
|
Emil Stenström
|
e0c29e55b7
|
Add support for - and / in component names in middleware.
|
2023-09-03 11:44:40 +02:00 |
|