40ants / reblocks

A fork of Weblocks Common Lisp web framework
https://40ants.com/reblocks/
Other
57 stars 10 forks source link

Added API to work with current page #34

Closed svetlyak40wt closed 1 year ago

svetlyak40wt commented 1 year ago

Some resources now can be bound to the current page. For example, this works for actions out of the box.

Pages have TTL which is extended automatically when some action get called.

When page is expired, it is removed from the memory and all data, associated with this page too.

coveralls commented 1 year ago

Pull Request Test Coverage Report for Build 4218069155

Warning: This coverage report may be inaccurate.

This pull request's base commit is no longer the HEAD commit of its target branch. This means it includes changes from outside the original pull request, including, potentially, unrelated coverage changes.

Details


Changes Missing Coverage Covered Lines Changed/Added Lines %
src/preview.lisp 0 1 0.0%
src/welcome/widget.lisp 0 1 0.0%
src/request.lisp 8 10 80.0%
src/widgets/render-methods.lisp 0 2 0.0%
t/commands.lisp 0 2 0.0%
t/utils.lisp 0 2 0.0%
t/widgets/macroexpansion.lisp 0 2 0.0%
t/widgets/mop.lisp 0 2 0.0%
src/doc/quickstart.lisp 0 3 0.0%
src/doc/session.lisp 0 3 0.0%
<!-- Total: 346 1050 32.95% -->
Files with Coverage Reduction New Missed Lines %
src/dependencies.lisp 1 52.59%
src/variables.lisp 1 0.0%
src/widgets/mop.lisp 2 24.29%
src/widgets/string-widget.lisp 2 23.68%
src/error-handler.lisp 3 18.18%
t/request-handler.lisp 3 43.48%
src/doc/index.lisp 5 0.0%
src/response.lisp 5 46.46%
src/session.lisp 5 13.33%
src/doc/dependencies.lisp 7 0.0%
<!-- Total: 422 -->
Totals Coverage Status
Change from base Build 3563852304: -5.1%
Covered Lines: 1763
Relevant Lines: 7743

💛 - Coveralls