Commit graph

44 commits

Author SHA1 Message Date
Delyan Angelov
fbdc992b30
net.http, veb, vweb, x.vweb: add mime type text/x-vlang, for .v and .vsh file extensions (#21851) 2024-07-12 14:23:50 +03:00
poggingfish
1a685c30aa
vweb, veb, x.vweb: add m3u8 MIME type application/vnd.apple.mpegurl for multimedia playlists (#21688) 2024-06-16 22:21:43 +03:00
Alexander Medvednikov
2d5c457901 checker: -warn-about-allocs; nil interface allocation fix; parser: tmpl @else [cond] 2024-05-29 11:48:30 +03:00
Delyan Angelov
dbc6b50cda
vlib: make ./v -Wimpure-v -W test vlib/ pass on Linux (#21554) 2024-05-23 16:21:01 +03:00
Bakul Shah
9997ac4367
veb: support sendfile() syscall on FreeBSD (#21541) 2024-05-21 08:47:24 +03:00
Turiiya
8aa9314a99
vlib: refactor empty string checks to use s == '' or s != '', instead of s.len == 0 (#21300) 2024-04-18 02:44:31 +03:00
Turiiya
1363cc85fd
time: update unix time acces, fix issues related to deviating unix times (#21293) 2024-04-17 00:33:37 +03:00
Turiiya
1a35a783f1
breaking,checker: disallow initializing private struct fields outside structs module (#21183) 2024-04-12 13:53:02 +03:00
Casper Küthe
d0cbfc1461
x.vweb: accept query params as method arguments (#21201) 2024-04-07 09:20:55 +03:00
Delyan Angelov
cd0e0b18ea
ci: mark both vweb and x.vweb versions of vweb_should_listen_on_both_ipv4_and_ipv6_by_default_test.v as flaky
Both started failing randomly near a1d4712b from 2024-04-02 (mainly on the macos runner).
2024-04-04 16:15:47 +03:00
Delyan Angelov
4d24f8c3fc
ci: change listen ports in vweb_should_listen_on_both_ipv4_and_ipv6_by_default_test.v for both vweb and x.vweb, to reduce probability of network errors 2024-04-03 17:51:02 +03:00
Kim Shrier
ecbd214ee1
vweb, x.vweb: improve descriptions (#21155) 2024-04-01 19:48:46 +03:00
Turiiya
f77bb32044
all: fix typos (#21089) 2024-03-25 12:18:27 +02:00
Turiiya
418462208a
vlib.x: fix typos, uniformize readme formatting (#21085) 2024-03-24 19:54:39 +02:00
Alexander Medvednikov
b2df3264a7 gg: fix empty circle in native; http: post_form_with_cookies; veb: print veb action in html errors 2024-03-11 18:21:06 +03:00
cui fliter
78602846e5
all: fix typos in comments (#20963) 2024-03-04 18:41:55 +02:00
Alexander Medvednikov
fa7af809fc veb: a new module veb.auth for authentication logic (tokens, hashed passwords) 2024-02-18 23:23:57 +03:00
David Legrand
2568d336f8
x.vweb: fix handling of static URL paths like /sub.folder/a_folder (#20863) 2024-02-18 15:36:22 +02:00
David Legrand
2190b604a1
x.vweb: fix typos in README.md (#20856) 2024-02-17 17:59:58 +02:00
David Legrand
feb649f79c
doc: x.vweb static website capabilities (#20808) 2024-02-13 12:30:25 +02:00
David Legrand
5da88800ae
x.vweb: add full static host support, for urls ending with /folder/ , where the folder backing it, has index.html inside (#20784) 2024-02-11 11:19:37 +02:00
Hitalo Souza
ee3cd36760
picoev: renaming, doc (#20567) 2024-02-10 05:54:27 +03:00
Casper Küthe
ee55e9b461
x.vweb: add serve_static example in README (#20740) 2024-02-07 06:35:21 +02:00
MedLabs
9f32af78eb
x.vweb: fix cors example (#20738) 2024-02-06 21:18:05 +02:00
Casper Küthe
4b4646169b
x.vweb: add cors middleware (#20713) 2024-02-05 00:16:29 +02:00
Delyan Angelov
a80af0ff62
x.vweb: add the missing include for C.sendfile to sendfile_linux.c.v 2024-02-04 23:09:20 +02:00
Delyan Angelov
8609ea1954
x.vweb: use $if debug_ev_callback ? { for the [vweb] error: write event on connection should be closed message 2024-02-04 16:39:07 +02:00
Alexander Medvednikov
68275ec7bd x.vweb: error() and simpler redirect(); comptime: a clearer error 2024-02-03 04:23:38 +03:00
Casper Küthe
32b4a3c008
x.vweb: support HTTP 1.1 persistent connections (#20658) 2024-01-27 07:07:00 +02:00
Casper Küthe
8714233f79
vweb, x.vweb: update error checking for new error io.Eof (#20656) 2024-01-26 02:47:25 +02:00
Casper Küthe
d88ca11a4c
picoev, x.vweb: small fixes and backport changes from vweb (#20584) 2024-01-23 18:34:22 +02:00
Muhammad Saleh Solahudin
7b6349f0a4
vweb,x.vweb: fix typos in README files (#20604) 2024-01-21 11:48:04 +02:00
Casper Küthe
464062774f
x.vweb: add error, when static directory does not exist (#20455) 2024-01-10 18:07:55 +02:00
Casper Küthe
7c310a1bd7
x.vweb, picoev: fix timeout event (#20377) 2024-01-04 12:05:39 +02:00
Delyan Angelov
1ca808cdc7
ci: retry vlib/x/vweb/sse/sse_test.v 3 times, to avoid false positives for unrelated PRs 2024-01-02 17:36:03 +02:00
Delyan Angelov
923b410d4d
x.vweb: fix $vweb.html() integration in cgen for the newer x.vweb module (fix #20204) 2023-12-30 23:05:07 +02:00
Casper Küthe
fa81188887
x.vweb.assets: reimplement assets module for x.vweb (#20280) 2023-12-30 22:10:10 +02:00
Casper Küthe
ada9efd825
x.vweb: fix fsanitize-address test for SSE, improve documentation on the usage of takeover_conn (#20249) 2023-12-22 09:53:27 +02:00
Casper Küthe
cfd19bfe77
x.vweb.sse: reimplement SSE module for x.vweb (#20203) 2023-12-17 21:00:10 +02:00
Casper Küthe
70c575a9f2
examples: add TODO app example with x.vweb (#20175) 2023-12-14 20:20:16 +02:00
Casper Küthe
d898636bda
x.vweb: reimplement csrf module (#20160) 2023-12-13 18:04:42 +02:00
Casper Küthe
ebab6d5270
x.vweb: fix large payload (#20155) 2023-12-12 11:06:14 +02:00
Delyan Angelov
d1c5c7978b
ci: mark large_payload_test.v as flaky, and repeat it up to 3 times when it fails (it does sporadically mainly on windows) 2023-12-11 08:19:57 +02:00
Casper Küthe
08189d649c
vweb2 (#19997) 2023-12-09 08:07:51 +03:00