Welcome the channel on the development of Cro, a set of libraries for building reactive distributed systems, lovingly crafted to take advantage of all the Raku Programming Language has to offer (cro.services). This channel is being logged for historical purposes.
Set by lizmat on 24 May 2021.
08:07 sena_kun joined 09:29 sena_kun left 09:37 sena_kun joined, sena_kun left
Geth cro-webapp: b26c21341d | (Jonathan Worthington)++ | 4 files
Implement conditional structural tags

So `<?.website a href="<.website>">Visit Website</?>` will render the anchor tag if the condition is true, placing the closing `</a>` as if it were written prior to the `</?>`. Works for negative conditions also.
10:34
cro-webapp: 1630e9ea68 | (Jonathan Worthington)++ | 5 files
Implement iteration structural tags

So that instead of `<@.foo><li><$_></li></@>`, one can instead write
  `<@.foo li><$_></li>` to achieve the same result.
cro-webapp: c3055f07ba | (Jonathan Worthington)++ (committed using GitHub Web editor) | 7 files
Merge pull request #74 from croservices/structural-tags

Add structural tag shortcut syntax
lizmat whee! :-) 10:37
jnthn Figured it was time to merge that. Looking into some template-location and related buglets today :) 11:54
Geth cro-webapp: 389d33bda3 | (Jonathan Worthington)++ | lib/Cro/WebApp/Template/Repository.pm6
Handle prelude fully in repository base role

This means that those creating custom template repositories need not be concerned with having to handle it. Resolves one of the two issues noted in #71.
12:44
cro-http: 8c09e79a3d | (Jonathan Worthington)++ | META6.json
Require latest HTTP::HPACK version
13:40
cro-http: 024a92679e | (Jonathan Worthington)++ | lib/Cro/HTTP/Router.pm6
Add a way to get a route handler resource resolver

Returns a function that can be used to resolve resources as they would be resolved in the current route handler. This is useful in the case that the resolution would take place in a different dynamic scope - for example, template compilation.
14:38
cro-webapp: 4658e66122 | (Jonathan Worthington)++ | 4 files
Refactor template location handling

The resolver is now given a list of location objects which it can use to attempt to resolve the template. This gives the `resolve` method in a repository complete control over the resolution process, rather than it being partially contained in `render-template` as before now. Thus this closes #71. This is also groundwork for fixing #62.
14:50
cro-webapp: cc2e2ebe2a | (Jonathan Worthington)++ | 4 files
Honour route block template locations in `use`

Previously we only paid attention to the `template-location` that is declared as part of the `route` block (or templates from resources) in a direct resolution of a template, but didn't pass these down in order for them to be used when one template `use`d another. With this change, we do so. Fixes #62.
15:23
cro-webapp: cee6b22eb1 | (Jonathan Worthington)++ | 5 files
Make template live reload account for dependencies

Fixes #57.
16:30
cro-http: c4fac86ee5 | (Jonathan Worthington)++ | 2 files
Support route block plugins in before/after blocks

This should unblock being able to use templates in before/after, as requseted in github.com/croservices/cro-webapp/issues/73.
17:06
17:51 sena_kun joined 18:53 Xliff joined 20:09 sena_kun left 20:10 sena_kun joined
sena_kun jnthn, confirm the issue #1 is resolved! 20:16
s/confirm/confirmed/
jnthn Hurrah. If you're feeling super-enthusiastic about it, maybe a test to cover it in Cro::WebApp is nice :) 21:36
(Next week, of course. :)) 21:37
sena_kun can do 21:38
21:39 sena_kun left