1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00
Commit Graph

34 Commits

Author SHA1 Message Date
Casper Kuethe
4174048f96
vweb: add host option to controller (#18303) 2023-05-30 14:22:23 +02:00
Casper Kuethe
76fd55a693
vweb: fix multipart_form parsing (#17953) 2023-04-14 07:07:48 +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
yuyi
017ace6ea7
vfmt: change all '$expr' to '${expr}' (#16428) 2022-11-15 16:53:13 +03:00
yuyi
e8e75251b4
vweb: change optional to result in vweb_test (#16412) 2022-11-13 11:57:35 +03:00
Alexander Medvednikov
e81e0ac708 fmt: replace go with spawn 2022-11-05 10:46:40 +03:00
Emily Hudson
fd1b6efea6
net: add failed addresses + details on connect errors, make connect more robust in the default non blocking mode (#15364) 2022-08-07 10:40:05 +03:00
Daniel Däschle
d679146a80
fmt: remove space in front of ? and ! (#14366) 2022-05-13 06:56:21 +03:00
crthpl
b232a3b0d1
cgen: fix .filter() and .map() on shared arrays (#13954) 2022-04-07 18:05:11 +03:00
Delyan Angelov
ef5ea0ef21
ci: fix vweb failures (restore the ability to *force* vweb to listen to *only* local interfaces) 2022-02-18 10:18:04 +02:00
Delyan Angelov
b2c299da48
vweb: support vweb.run_at(app, localhost, 8099) (#13337) 2022-02-01 18:41:12 +02:00
Miccah
c3c420a41c
vweb: remove chunked encoding support in server responses (#10750) 2021-07-13 15:47:16 +03:00
Alexander Medvednikov
eacdd0d7e1 comptime: fix $(field.name) in $for; vweb: shared fields 2021-06-16 20:33:39 +03:00
Alexander Medvednikov
72a135c7c5 vweb: update vweb_test_server.v 2021-05-11 09:52:08 +03:00
Alexander Medvednikov
dc034d9b16 vweb: make thread safe; checker: $if T is Interface { 2021-05-11 09:30:18 +03:00
Delyan Angelov
cafe382424
vweb: update references to old .init_once() and .init() methods to .init_server() and .before_request() 2021-04-26 19:38:13 +03:00
Miccah
e2be3ec396
vweb: split and parse Content-Type header correctly (#9756) 2021-04-16 08:46:06 +03:00
Miccah
5eb67ccd94
http: use Header struct for headers (#9462) 2021-04-09 18:17:33 +02:00
Lukas Neubert
80356edd8c
fmt: combine simple attributes into a single line (#9120) 2021-03-05 07:17:57 +02:00
Delyan Angelov
094936d764
ci: reduce chances of false positives from vweb_test.v on macos 2021-03-03 10:04:12 +02:00
Alexander Medvednikov
3a2d696fac time: time.wait() => time.sleep() 2021-02-27 20:41:06 +03:00
zakuro
ac4791045f
time: consolidate the different sleep functions into time.wait(Duration) (#8853) 2021-02-21 17:05:03 +02:00
Delyan Angelov
dbaccd4272
vfmt: shorten main.const_name to just const_name 2021-01-25 20:57:33 +02:00
Delyan Angelov
728344ff65
ci: fix v test-cleancode 2021-01-25 12:55:01 +02:00
Louis Schmieder
38881e4b20
vweb: Implement chunked encoding transfer (#8179) 2021-01-18 13:04:21 +01:00
Alexander Medvednikov
352cf91ba2 vweb: remove return vweb.Result{} everywhere 2021-01-08 04:57:02 +01:00
Daniel Däschle
9f74be4cf6
vweb: route to index dynamically (#7782) 2021-01-05 01:30:27 +01:00
Delyan Angelov
d912ff165b
ci: fix failing vweb test, increase timeout for vweb_test_server.v, add VWEB_LOGFILE 2021-01-02 13:33:26 +02:00
Alexander Medvednikov
7496c74f7e vweb: add [post] test 2021-01-01 21:29:17 +01:00
Alexander Medvednikov
2533c706ae vweb: migrate all tests and examples to the new syntax 2020-12-31 17:22:47 +01:00
Delyan Angelov
d563261e58
vweb: run vfmt, add it to v test-cleancode 2020-12-27 11:38:12 +02:00
Delyan Angelov
3c2202572b
cgen: produce cleaner error on missing C headers (with optional explanation) (#6637)
Implements support for `#include <openssl/rand.h> # Please install OpenSSL`.
2020-10-17 18:27:06 +03:00
Delyan Angelov
2ad2b4c5ba vweb: add more tests. Fix missing Content-Length: header bug on 404. 2020-08-14 02:49:15 +03:00
Delyan Angelov
712f4bd7f8 vweb: add tests 2020-08-14 00:52:02 +03:00