Timeline
Not logged in

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

30 check-ins

2023-05-24
19:20
+ provide a simple default body for errors, so that they appear in a browser Leaf check-in: 9f91ebf3e2 user: fcoutant tags: trunk
18:47
+ support for special responses in webapp (redirect, sendfile, etc) check-in: e5c71b4b0c user: fcoutant tags: trunk
09:35
resolve bugs:
- inserting new route after previous ones of the same length
- double buffer read in sending a static file
check-in: 3216e9a985 user: fcoutant tags: trunk
2023-05-22
08:06
x refactor: rename irender to render, simplify absolute seek and bool conv
x raw escaping also converts non-str (eg. numerics) to strings
x empty block trimming matches None as well as empty string
check-in: 263bd93938 user: fcoutant tags: trunk
08:04
template view :
x use extension to set the escaping
+ try to convert non-str values (e.g. numerics) to strings in HTML escaping
check-in: dc604a9a8c user: fcoutant tags: trunk
08:02
+ also add the common XML mime type to guessed file types check-in: 29d7da1b3f user: fcoutant tags: trunk
08:01
x add guess_type_ext to also return file name extension check-in: 368659bd19 user: fcoutant tags: trunk
06:15
x utemplate: avoid yielding empty chunks check-in: cc47f5b374 user: fcoutant tags: trunk
2023-05-21
21:16
+ template view using utemplate check-in: a710846b86 user: fcoutant tags: trunk
21:15
+ add a template loader with message, and associated cache check-in: ff6e80ea39 user: fcoutant tags: trunk
21:14
x optimize mem: free reference to unused strings before yields check-in: 02557c9712 user: fcoutant tags: trunk
21:09
x bugs: isiter misspelled, decorator didn't return decorated, import missing
x changed to only use async callables as route targets
- autodetection not possible since micropython has no distinct coroutine type (vs generator)
check-in: 70fb0e4b9b user: fcoutant tags: trunk
15:08
+ externalize escaping interpolated value
+ fill default module with parse and render
check-in: 27b1640d24 user: fcoutant tags: trunk
14:38
+ working renderer check-in: 9a4d379368 user: fcoutant tags: trunk
08:46
+ wip: mustache-like template engine with minimal memory usage check-in: ed9c2ab759 user: fcoutant tags: trunk
08:44
+ add automatic output body buffering at the webapp level check-in: 830b195ae2 user: fcoutant tags: trunk
2023-05-19
20:02
x forgot to encode Json output to bytes check-in: ac35b9fd1b user: fcoutant tags: trunk
18:44
x avoid using os.sep (not present on esp32) check-in: 3f9ff9b6a5 user: fcoutant tags: trunk
2023-05-17
07:07
x will make a module per view type check-in: 2182d1d42f user: fcoutant tags: trunk
2023-05-16
20:42
+ json view annotation for mapped routes, and general preliminary work for templates check-in: bc1871a8d3 user: fcoutant tags: trunk
2023-05-14
16:19
x moved async exception handler installation to server start check-in: 563f8bd1bb user: fcoutant tags: trunk
13:59
+ MVP for web application writing check-in: b88b45753a user: fcoutant tags: trunk
09:02
+ parse POST form body when url-encoded (won't support form-data, at first) check-in: 67d4014e5f user: fcoutant tags: trunk
09:01
x bug in show_task_exceptions (reverted condition)
x object-type based coroutine detection, rather than attribute-based
check-in: 3ad135f4dc user: fcoutant tags: trunk
08:59
+ prepare for next feature level check-in: 99c403382f user: fcoutant tags: trunk
2023-05-12
20:33
x Factor HEAD processing out of application (which now sees it as GET) check-in: 69764ababe user: fcoutant tags: trunk
20:28
x Extract query parsing into general url-form decoding check-in: 66f0ee86bb user: fcoutant tags: trunk
2023-05-10
16:43
x avoid computing len twice check-in: 134db37669 user: fcoutant tags: trunk, v1.2
16:24
+ Server v1.2 : basic functions and architecture, serving static files and apps check-in: bdc83792b8 user: fcoutant tags: trunk
15:41
initial empty check-in check-in: 25a3619ee2 user: fabien tags: trunk