Commit graph

440 commits

Author SHA1 Message Date
Juan de Bruin
d3e62b4f24
vweb: update docstrings for response functions (#20422) 2024-01-07 05:13:18 +02:00
Anton
763f94388b
all: update copyright year (#20334) 2024-01-01 23:29:54 +02:00
Delyan Angelov
423b34f03e
vweb: support a startup_message field too in app.run_at 2023-12-11 16:55:22 +02:00
balloondude2
d9e9c71b29
vweb: add an optional parameter to the .redirect/2 method, to be able to set the http code for the redirects (#20082) 2023-12-04 13:33:31 +02:00
Alexander Medvednikov
51bb2768ca vweb: .html('custom_template.html') 2023-11-26 03:01:48 +03:00
Alexander Medvednikov
f09826e928 all: unwrap const() blocks 2023-11-25 10:02:51 +03:00
Turiiya
b347f546f2
all: update remaining deprecated attr syntax (#19908) 2023-11-17 12:03:51 +02:00
Joe C
1e3d38255f
parser: deprecate old attribute syntax & update remaining (missed) attributes (#19879) 2023-11-15 13:07:59 +02:00
Joe C
757929392e
all: update attributes to use new syntax 2023-11-15 16:16:01 +11:00
koplenov
b5673c6172
vweb: add the mime type for .toml files (#19875) 2023-11-14 23:02:38 +02:00
Alexander Medvednikov
e7cad4f55d net,vweb: reduce allocations by ~80% 2023-11-11 01:10:34 +03:00
Turiiya
e465f7490c
tests: cleanup legacy temp path (#19716) 2023-10-31 15:16:19 +02:00
Turiiya
690ec7d3a5
all: fix typos (#19693) 2023-10-30 03:28:34 +02:00
Turiiya
9051ac8921
all: fix typos (#19634) 2023-10-23 21:21:15 +03:00
Delyan Angelov
90f6010ef7
ci,vweb: fix v check-md vlib/vweb/ 2023-10-20 04:39:36 +03:00
Delyan Angelov
2766c8b4be
vweb: cleanup run_at 2023-10-20 04:07:15 +03:00
Delyan Angelov
e0e0987117
vweb: add mime type support for static .md files 2023-10-12 13:41:56 +03:00
emacser
13c9006667
vweb: fix typo in vweb.v (#19513) 2023-10-05 14:22:17 +03:00
Alexander Medvednikov
a1f5552529 checker: warn -> error for uninitialized ref fields 2023-09-24 15:10:39 +03:00
Brama Udi
8a1077a689
vweb: add a user_agent utility method to the vweb context (#19204) 2023-08-22 21:40:07 +03:00
Ikko Eltociear Ashimine
ffea6eb52d
vweb: fix typo in README.md (#19206)
usefull -> useful
2023-08-22 21:34:24 +03:00
Jaume
c9e6c672fa
vweb: avoid the controllers having to be defined in specific order (#19182) 2023-08-19 13:18:00 +03:00
Irving M
8e8bd857b0
vweb: add application/wasm to mime_types, for .wasm files (#19142) 2023-08-15 12:50:07 +03:00
Alexander Medvednikov
428fd7f57f all: do not allow uninitialized function pointers 2023-08-03 21:06:36 +03:00
squidink7
94de6f62b2
vweb: make vweb route paths case sensitive (#18973) 2023-07-26 22:10:45 +03:00
Casper Küthe
0073283f53
vweb: add parameter arrays documentation (#18903) 2023-07-20 02:28:11 +03:00
Delyan Angelov
9047f7c9a8
vweb: fix parsing of form fields, send with multipart/form-data (by JS fetch) 2023-07-14 16:20:02 +03:00
Alexander Medvednikov
5355c67ebe vweb: document live reload 2023-07-08 19:29:27 +03:00
Turiiya
a27f2ddcc3
term.ui, vweb, v: update deprecated functions (#18726) 2023-07-02 09:38:33 +03:00
Casper Kuethe
21d9730cde
context, vweb: add ability to set and get values on vweb.Context (#18564) 2023-06-27 01:25:45 +03:00
Turiiya
af4e113f6c
vweb: use <head> instead of <header> in the html templates (#18516) 2023-06-22 11:11:02 +03:00
Lenni0451
9764342dbe
vweb: add support for host specific static files (#18322) 2023-06-02 10:55:59 +03:00
Casper Kuethe
4174048f96
vweb: add host option to controller (#18303) 2023-05-30 14:22:23 +02:00
Lenni0451
2904c399b5
vweb: host attribute (#18288) 2023-05-29 02:11:10 +02:00
Casper Kuethe
79657a1a2f
vweb: update middleware docs (#18270) 2023-05-26 02:26:00 +02:00
sandbankdisperser
f833188234
vweb: return 404 on file not found (#18219) 2023-05-21 15:23:43 +02:00
Casper Kuethe
d0214a254e
vweb: vweb.csrf re-implementation (#18220) 2023-05-21 01:56:17 +03:00
yuyi
492a93ecd9
vweb: make controllers of struct Controller public (#18153) 2023-05-10 18:31:43 +03:00
Casper Kuethe
d3dbd7b743
vweb: add docs for [vweb_global] and shared attributes. (#18098) 2023-05-02 22:49:55 +03:00
Casper Kuethe
5f870f41b5
vweb: implement database pool (#18010) 2023-04-23 03:37:15 +03:00
Casper Kuethe
76fd55a693
vweb: fix multipart_form parsing (#17953) 2023-04-14 07:07:48 +02:00
Swastik Baranwal
3d99f1f2c2
checker: disallow struct int to ptr outside unsafe (#17923) 2023-04-13 07:38:21 +02:00
Casper Kuethe
838083e610
vweb: add an overridable .not_found() method, for making a custom 404 page + tests fixes (#17936) 2023-04-12 00:50:03 +03:00
Casper Kuethe
930bdd935b
vweb: fix static files copying (#17891) 2023-04-06 03:10:23 +02:00
walking devel
8452644ec3
orm: enforce that queries always return a Result, a query-resulting array can be used as a V array in place. (#17871) 2023-04-04 08:23:06 +03:00
Casper Kuethe
b2735bf937
vweb: add controllers (#17840) 2023-04-02 15:46:43 +02:00
Josh Montoya
51ad565ed6
vweb: implement worker pool (#17298) 2023-04-02 01:24:33 +02:00
Alexander Medvednikov
6756d28595 all: 2023 copyright 2023-03-28 22:55:57 +02:00
Casper Kuethe
1f613a082a
vweb: use net.http.Cookie (#17807) 2023-03-28 22:27:01 +02:00
Casper Kuethe
1fe5aca782
vweb: middleware implementation (#17730) 2023-03-26 00:57:42 +01:00