Juro Oravec
|
ee9b92975a
|
fix: autoimport with nested apps (#672)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
|
2024-09-14 22:47:30 +02:00 |
|
Juro Oravec
|
6b3c112968
|
fix: Using empty default fill with no whitespace (#673)
|
2024-09-14 22:22:22 +02:00 |
|
pre-commit-ci[bot]
|
7a88231ecb
|
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
|
2024-09-12 07:08:10 +00:00 |
|
Serafeim Papastefanos
|
d2b3b79b52
|
Add tests for base_dir str/path
|
2024-09-12 10:07:52 +03:00 |
|
Juro Oravec
|
239923b221
|
refactor: pass instantiated component to as_view (#664)
|
2024-09-11 21:55:11 +02:00 |
|
Juro Oravec
|
e1382d3ccd
|
refactor: Remove safer_staticfiles, replace STATICFILES_DIRS with COMPONENTS.dirs, support [app]/components (#652)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
|
2024-09-11 08:45:55 +02:00 |
|
Juro Oravec
|
841dd77e91
|
refactor: Fix template caching, expose cached_template , Component.template API changes (#647)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
|
2024-09-06 22:40:39 +02:00 |
|
Juro Oravec
|
e712800f5e
|
feat: add self context var and make is_filled into attribute (#632)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
|
2024-09-04 21:41:20 +02:00 |
|
Juro Oravec
|
2d0f270df4
|
fix: populate RequestContext with context processors (#643)
|
2024-09-04 21:31:44 +02:00 |
|
Juro Oravec
|
0cfc40231b
|
feat: add component hooks (#631)
|
2024-08-31 13:38:28 +02:00 |
|
Juro Oravec
|
4a9cf7e26d
|
feat: validate component inputs if types are given (#629)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
|
2024-08-29 23:09:36 +02:00 |
|
Juro Oravec
|
e76227b8df
|
feat: Add dynamic component (#627)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
|
2024-08-29 11:28:00 +02:00 |
|
Juro Oravec
|
ab059f362d
|
Multi-line tag support, watch component files, and cleanup (#624)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
|
2024-08-28 07:46:48 +02:00 |
|
Juro Oravec
|
3b1f6088a0
|
feat: allow different template settings for ComponentRegistries (#615)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
|
2024-08-27 06:18:50 +02:00 |
|
Juro Oravec
|
b90961b4a7
|
feat: dynamic slots, fills, and provides (#609)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
|
2024-08-25 22:35:10 +02:00 |
|
Juro Oravec
|
39cff5a1d0
|
feat: add dynamic expressions (#605)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
|
2024-08-25 12:53:40 +02:00 |
|
Juro Oravec
|
d6ec62c6be
|
feat: add spread operator (#596)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
|
2024-08-24 15:01:18 +02:00 |
|
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 |
|