Juro Oravec
|
899b9a2738
|
refactor: move kwargs resolution to render-time + cleanup (#594)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
|
2024-08-23 18:15:28 +02:00 |
|
Juro Oravec
|
efd05d6150
|
feat: Typing for component inputs and access inputs during render (#585)
|
2024-08-22 23:42:34 +02:00 |
|
Juro Oravec
|
3a599ff369
|
fix: Allow None for attrs in html_attrs tag (#591)
|
2024-08-21 14:32:36 +02:00 |
|
Juro Oravec
|
71d8679e8d
|
feat: TagFormatter - Allow users to customize component template tags (#572)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
|
2024-08-18 16:58:56 +02:00 |
|
Juro Oravec
|
b8e92dac37
|
fix: Set Context.template for components to work with include (#582)
|
2024-08-16 23:31:00 +02:00 |
|
Juro Oravec
|
d6dec450ed
|
refactor: prepare registry for custom template tags and docs (#566)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
|
2024-08-05 22:31:49 +02:00 |
|
Juro Oravec
|
e771a0aaaf
|
refactor: Use top-level exports as public API (#562)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
|
2024-08-03 08:30:39 +02:00 |
|
Juro Oravec
|
fbbbf6c694
|
fix: do not aggregate kwargs that start with colon (#561)
|
2024-07-29 20:58:55 +02:00 |
|
Juro Oravec
|
8cb88558f0
|
refactor: Prepare autodiscover and template loader for v1 (#533)
|
2024-07-29 20:27:35 +02:00 |
|
Juro Oravec
|
2684b41c07
|
fix: various fixes for inject/provide and html_attrs (#541)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
|
2024-07-08 10:25:38 +02:00 |
|
Juro Oravec
|
23d91218bd
|
refactor: usage notes + tests for safer_staticfiles (#538)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
|
2024-07-08 07:25:03 +02:00 |
|
Juro Oravec
|
3c5a7ad823
|
feat: paths as objects + user-provided Media cls + handle static (#526)
Co-authored-by: Emil Stenström <emil@emilstenstrom.se>
|
2024-06-21 19:36:53 +02:00 |
|
pre-commit-ci[bot]
|
49c4e84f07
|
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
|
2024-06-11 19:43:02 +00:00 |
|
Juro Oravec
|
36cd6e3f06
|
refactor: compat with comp as view by reusing comp instance
|
2024-06-11 21:41:56 +02:00 |
|
Juro Oravec
|
5c89d4dbeb
|
refactor: pass slot data and slot default to slot render fn and rename LazySlot to SlotRef
|
2024-06-11 14:34:04 +02:00 |
|
Juro Oravec
|
40f4476993
|
refactor: add test for response_class
|
2024-06-02 16:37:22 +02:00 |
|
pre-commit-ci[bot]
|
a5a0c74d31
|
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
|
2024-06-02 14:23:56 +00:00 |
|
Juro Oravec
|
5f07f3d4da
|
refactor: update tests
|
2024-06-02 16:22:49 +02:00 |
|
Juro Oravec
|
8ca2814ee3
|
feat: dependency injection with inject/provide (#506)
|
2024-06-01 10:51:21 +02:00 |
|
Juro Oravec
|
b8ff610a48
|
fix: compat with block tag in django mode (#511)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
|
2024-05-30 08:34:58 +02:00 |
|
Zach Bellay
|
0101f6dae6
|
fix: typo in html_attrs defaults dict fetching (#513)
Co-authored-by: Juro Oravec <juraj.oravec.josefson@gmail.com>
|
2024-05-30 08:29:57 +02:00 |
|
Juro Oravec
|
95f6554f4c
|
tests: Split test files and run template tests under both context behavior modes (#509)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
|
2024-05-28 08:23:32 +02:00 |
|
Juro Oravec
|
edb2f347f2
|
refactor: change fill alias from "as var" to default=var (#504)
|
2024-05-23 20:25:16 +02:00 |
|
Juro Oravec
|
b1b66fd751
|
feat: Scoped slots + Updated docs (#495)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
|
2024-05-23 07:08:10 +02:00 |
|
Juro Oravec
|
610475353f
|
feat: Support for HTML attributes and html_attrs tag (#491)
|
2024-05-12 11:21:34 +02:00 |
|
Alex Martin (Contexte)
|
d18aefc629
|
fix: make template_loader consider tuples for STATICFILES_DIRS (#489)
Co-authored-by: Juro Oravec <juraj.oravec.josefson@gmail.com>
|
2024-05-07 21:41:46 +02:00 |
|
Juro Oravec
|
dd6540cfcc
|
fix: incorrect name for default slot in is_filled dict (#482)
|
2024-05-07 15:11:40 +02:00 |
|
Juro Oravec
|
bf61df81b7
|
feat: support special chars # @ - . : in component kwargs (#477)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
|
2024-05-05 14:23:27 +02:00 |
|
Juro Oravec
|
49f64ec61c
|
refactor: fix linter issues
|
2024-05-03 15:03:01 +02:00 |
|
Juro Oravec
|
13ecb2dace
|
Merge branch 'master' into 470-refactor-tests
|
2024-05-03 12:10:06 +02:00 |
|
pre-commit-ci[bot]
|
3bef2cae11
|
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
|
2024-05-02 21:17:20 +00:00 |
|
Emil Stenström
|
7de554b440
|
Cleanup unneeded stuff.
|
2024-05-02 23:14:28 +02:00 |
|
Emil Stenström
|
9b56f1d165
|
Inline test_replace_context_in_view_with_insecure_content.
|
2024-05-02 23:11:05 +02:00 |
|
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 |
|