joe-conigliaro
|
97ebecc5f4
|
usecache: get all tests running with -usecache enabled by default (p.1) (#7699)
|
2021-01-20 06:04:59 +01:00 |
|
Lukas Neubert
|
ac2c3847af
|
all: update copyright to 2019-2021 (#8029)
|
2021-01-18 13:20:06 +01:00 |
|
Louis Schmieder
|
38881e4b20
|
vweb: Implement chunked encoding transfer (#8179)
|
2021-01-18 13:04:21 +01:00 |
|
Lukas Neubert
|
16c9cbce7c
|
fmt: correctly increase f.line_len for write_indent (#8174)
|
2021-01-18 06:02:29 +01:00 |
|
Daniel Däschle
|
53941c4a0a
|
fmt: fix if cond break readability (#8132)
|
2021-01-16 02:12:17 +01:00 |
|
zakuro
|
254df0ca62
|
fmt: improve string quotes (#8075)
|
2021-01-13 06:05:27 +01:00 |
|
zakuro
|
33694665f0
|
fmt: align each contiguous field of struct. not the whole. (#7981)
|
2021-01-12 04:38:43 +01:00 |
|
Lukas Neubert
|
d96a1b8a5f
|
fmt: intelligent newlines for trailing arg syntax (#7748)
|
2021-01-10 17:39:37 +01:00 |
|
Alexander Medvednikov
|
1b07710ab3
|
vweb: make html() return Result
|
2021-01-08 05:05:29 +01:00 |
|
Alexander Medvednikov
|
352cf91ba2
|
vweb: remove return vweb.Result{} everywhere
|
2021-01-08 04:57:02 +01:00 |
|
Alexander Medvednikov
|
e3f8d448c1
|
all: [noinit] struct attribute
|
2021-01-08 04:49:16 +01:00 |
|
Hitalo de Jesus do Rosário Souza
|
ea4981df90
|
vweb.tmpl: update README.md with @js directive (#7791)
|
2021-01-06 20:05:32 +02:00 |
|
Daniel Däschle
|
42e60b8e27
|
vweb: fix array.last usage (#7905)
|
2021-01-06 01:24:36 +01:00 |
|
Daniel Däschle
|
9f74be4cf6
|
vweb: route to index dynamically (#7782)
|
2021-01-05 01:30:27 +01:00 |
|
zakuro
|
dd516858d4
|
fmt: align struct field comments (#7632)
|
2021-01-03 21:10:25 +01:00 |
|
Alexander Medvednikov
|
89bbbe0ec0
|
vweb: vfmt vweb.v
|
2021-01-03 17:03:18 +01:00 |
|
Delyan Angelov
|
c1e0e01f8f
|
vweb: simplify the [post] pub fn no routing fix check
|
2021-01-02 13:47:54 +02: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 |
|
Louis Schmieder
|
f7135979f5
|
vweb: fixed req type without path (#7792)
|
2021-01-01 21:57:45 +01:00 |
|
Alexander Medvednikov
|
7496c74f7e
|
vweb: add [post] test
|
2021-01-01 21:29:17 +01:00 |
|
Daniel Däschle
|
ac22fe998a
|
vweb: default init methods (#7779)
|
2021-01-01 17:24:54 +01:00 |
|
Alexander Medvednikov
|
2bc9ee4d88
|
vweb: more updates
|
2020-12-31 17:47:20 +01:00 |
|
Alexander Medvednikov
|
2533c706ae
|
vweb: migrate all tests and examples to the new syntax
|
2020-12-31 17:22:47 +01:00 |
|
Alexander Medvednikov
|
3ffdcd8910
|
vweb: embed context
|
2020-12-31 17:07:27 +01:00 |
|
Delyan Angelov
|
d563261e58
|
vweb: run vfmt, add it to v test-cleancode
|
2020-12-27 11:38:12 +02:00 |
|
Delyan Angelov
|
b1f6ff8871
|
ci: fix failing vweb_routing_checks.vv
|
2020-12-20 11:59:38 +02:00 |
|
Louis Schmieder
|
d96dcefb06
|
vweb: http methods check (#7371)
|
2020-12-18 07:34:06 +01:00 |
|
Emily Hudson
|
553ecf63e7
|
vlib/io: fix reader bugs, make read_all take a config struct (#7361)
|
2020-12-16 18:22:26 +01:00 |
|
Dialga
|
4500aade95
|
vweb: fix scan_static_directory (#7275)
|
2020-12-12 19:13:43 +02:00 |
|
Lukas Neubert
|
df4165c7ee
|
docs_ci: check all md files except thirdparty (#6855)
|
2020-11-18 18:28:28 +01:00 |
|
Emily Hudson
|
cd2a2cef25
|
vlib/net: add buffered IO, x.net -> net (#6754)
|
2020-11-15 22:54:47 +02:00 |
|
Delyan Angelov
|
2dc9a45e06
|
vfmt: fix eating of app.$method(vars) ; format vlib/vweb/vweb.v
|
2020-11-14 13:55:10 +02:00 |
|
pancake
|
2994e7150f
|
vweb: check function and route parameter count (#6761)
|
2020-11-08 09:14:24 +01:00 |
|
Delyan Angelov
|
b14f779853
|
vweb: add a placeholder for checking route validity at startup
|
2020-11-05 22:59:11 +02:00 |
|
Alexander Medvednikov
|
a0bf796926
|
autofree: handle SelectorExpr and fix json
|
2020-11-02 00:57:45 +01:00 |
|
Alexander Medvednikov
|
dca3d13606
|
autofree: another lambda fix
|
2020-10-30 00:43:04 +01:00 |
|
Delyan Angelov
|
dab66593fc
|
vlib: run vfmt over vlib files, so that v doc -m vlib/ can run without warnings
|
2020-10-21 12:54:10 +03: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
|
d261844da0
|
vweb: fix warnings about fn f(x, y Type)
|
2020-10-15 22:04:42 +03:00 |
|
Alexander Medvednikov
|
7da1afa140
|
all: switch to the new fn arg syntax everywhere; add lots of vfmt -verify tests
|
2020-10-15 12:32:28 +02:00 |
|
Delyan Angelov
|
3795aaab5c
|
v test-fmt: reformat some skipped files, comment on the remaining ones
|
2020-10-15 00:39:09 +03:00 |
|
Xavier B
|
d56072eb53
|
vweb: fix/remove todos from assets tests (#6593)
|
2020-10-10 00:54:46 +02:00 |
|
Daniel Däschle
|
06cade6c31
|
all: change .ReturnType and .Type to .return_type and .typ (#6494)
|
2020-09-28 06:13:38 +02:00 |
|
Alexander Medvednikov
|
624f22e27e
|
all: mutability check (part 1); enable mutable sumtype args
|
2020-09-22 05:28:29 +02:00 |
|
Seven Du
|
98e6d25b42
|
vweb: make ip() to return peer_ip work (#6399)
|
2020-09-17 10:38:39 +03:00 |
|
Sandro Martini
|
07b5d6b1b6
|
vweb: add mime type for json static content (#6347)
|
2020-09-11 23:14:44 +03:00 |
|
Alexander Medvednikov
|
ea31f75098
|
checker: more default field fixes
|
2020-09-09 14:14:44 +02:00 |
|
Sandro Martini
|
39da5eca89
|
vweb: hide debug prints
|
2020-08-31 19:39:46 +02:00 |
|
florin
|
b1a8e1e5b2
|
vweb: escape form key, not only value. (#6269)
|
2020-08-30 19:09:12 +02:00 |
|
Maciej Obarski
|
7bd2804ce9
|
all: automatic error propagation in place of "or { return(err) }"
|
2020-08-29 01:58:03 +02:00 |
|
spaceface777
|
eff319f869
|
comp_for: allow checking full mehod and arg types (#5997)
|
2020-08-27 15:00:44 +02:00 |
|
Delyan Angelov
|
f259d275fc
|
tests: bump simple_tcp_client retries to 20
|
2020-08-25 17:52:44 +03:00 |
|
Delyan Angelov
|
7b7ab580ab
|
tests: add retry logic in simple_tcp_client in vweb_test.v
|
2020-08-25 17:05:40 +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 |
|
Delyan Angelov
|
a62307f711
|
vweb: fix body appending (missing closing json bracket)
|
2020-08-13 21:07:31 +03:00 |
|
spaceface777
|
2353814821
|
vweb: fix body size calculation (#6122)
|
2020-08-13 20:55:33 +03:00 |
|
Delyan Angelov
|
36eae1c175
|
builtin: x.vstring() instead of string(x) (#6102)
|
2020-08-10 18:05:26 +02:00 |
|
Sandro Martini
|
c7fae4dd6f
|
vweb: add set_status() (#6087)
|
2020-08-09 18:05:06 +02:00 |
|
Louis Schmieder
|
1fd499ed4a
|
vweb: fix request checking (#6027)
|
2020-07-31 01:26:56 +02:00 |
|
joe-conigliaro
|
395e886b2e
|
http/vweb: use Method enum & add helpers
|
2020-07-28 14:13:19 +10:00 |
|
Louis Schmieder
|
b58b15993c
|
gen: compile time for (methods and fields) (#5957)
|
2020-07-25 00:02:44 +02:00 |
|
Louis Schmieder
|
b537d8e23e
|
parser: comp for attrs array (#5903)
|
2020-07-23 17:19:37 +02:00 |
|
Louis Schmieder
|
bb60fe2ccf
|
vweb: implement cookie expiration date (#5873)
|
2020-07-19 21:42:50 +02:00 |
|
Alexander Medvednikov
|
69ef43ba00
|
vweb: fix ip()
|
2020-07-16 21:23:35 +02:00 |
|
Alexander Medvednikov
|
6245876806
|
vweb: ip()
|
2020-07-16 00:48:14 +02:00 |
|
Delyan Angelov
|
ca9790a71f
|
vweb: ensure the tcp connection is always closed at the end of the response
|
2020-07-10 10:49:39 +03:00 |
|
Louis Schmieder
|
3792e17885
|
vweb: fix routing for 0 params (#5773)
|
2020-07-09 17:16:02 +02:00 |
|
Louis Schmieder
|
373aa3dbc8
|
vweb: router: fix trailing / (#5760)
|
2020-07-08 22:15:37 +02:00 |
|
Alexander Medvednikov
|
03b76d19f1
|
repl: make the info message a bit smaller
|
2020-07-08 17:22:38 +02:00 |
|
Louis Schmieder
|
7ad03e9d6a
|
vweb: simplify router (#5751)
|
2020-07-08 15:22:03 +02:00 |
|
Alexander Medvednikov
|
246e7e8464
|
vweb: form error
|
2020-07-07 21:35:59 +02:00 |
|
Louis Schmieder
|
d2d4ea42ce
|
vweb: add url query (#5719)
|
2020-07-07 13:46:57 +02:00 |
|
Alexander Medvednikov
|
a6450e8e98
|
vweb: fix and simplify routing
|
2020-07-07 12:35:45 +02:00 |
|
Louis Schmieder
|
3cd9e2cab7
|
vweb: fix index (#5682)
|
2020-07-05 22:05:58 +02:00 |
|
Alexander Medvednikov
|
36183660e6
|
remove oldgg, gl, glfw, freetype from vlib now that we have the new sokol based gg
|
2020-07-05 16:44:28 +02:00 |
|
Alexander Medvednikov
|
244d61f8d0
|
vweb: fix a route matching bug
|
2020-07-03 22:00:17 +02:00 |
|
Alexander Medvednikov
|
2281163efd
|
vweb: fix a routing bug
|
2020-07-03 17:50:48 +02:00 |
|
Tom Leen
|
51410fdb6d
|
vweb: add .txt and .md mime types (#5641)
|
2020-07-03 17:17:25 +02:00 |
|
Alexander Medvednikov
|
b7175b54eb
|
vweb: ['/:arg1/:arg2/action'] attribute
|
2020-07-03 15:10:39 +02:00 |
|
Delyan Angelov
|
4e34edfa81
|
vweb: allow quoting @css/@js resources with both ' and "
|
2020-07-01 22:03:30 +03:00 |
|
Delyan Angelov
|
d43722fa85
|
vweb: fix compiling templates containing '
|
2020-07-01 17:44:26 +03:00 |
|
Alexander Medvednikov
|
34ddc9240e
|
tutorials: web blog fixes
|
2020-06-30 21:04:00 +02:00 |
|
Louis Schmieder
|
616b07204d
|
vweb: add cookies with expire date
|
2020-06-29 21:14:36 +02:00 |
|
Alexander Medvednikov
|
3f59f23427
|
vweb: fix a leak
|
2020-06-28 19:55:53 +02:00 |
|
Alexander Medvednikov
|
0138f46797
|
vweb: fix a leak
|
2020-06-28 13:56:38 +02:00 |
|
Alexander Medvednikov
|
e666209fe2
|
vweb: set_content_type()
|
2020-06-27 23:22:41 +02:00 |
|
Alexander Medvednikov
|
02b846aa72
|
vweb: fix json() and text() results
|
2020-06-27 13:56:15 +02:00 |
|
Daniel Däschle
|
8903f6e0c0
|
tmpl: add docs for variables
|
2020-06-26 15:02:49 +02:00 |
|
Alexander Medvednikov
|
bb5793d485
|
vweb: more xss fixes
|
2020-06-24 22:38:25 +02:00 |
|
Alexander Medvednikov
|
83b300435a
|
vweb: escape html; table: rename parent_typ to parent_type
|
2020-06-24 22:12:33 +02:00 |
|
Alexander Medvednikov
|
11ad18cd28
|
vweb: page gen time
|
2020-06-23 21:02:20 +02:00 |
|
Alexander Medvednikov
|
74af88bc92
|
Revert "fmt: re-format parser.v and cgen.v"
This reverts commit 6b2808a3f9 .
|
2020-06-23 18:16:24 +02:00 |
|
Alexander Medvednikov
|
6b2808a3f9
|
fmt: re-format parser.v and cgen.v
|
2020-06-23 18:05:53 +02:00 |
|
Alexander Medvednikov
|
a4b159a80f
|
orm: order by id by default
|
2020-06-22 17:13:57 +02:00 |
|
Alexander Medvednikov
|
deb09d95b0
|
orm: fix column == var ; limit 1; vweb: @footer
|
2020-06-22 16:52:16 +02:00 |
|
Daniel Däschle
|
76dc7eea50
|
vweb: tmpl: add docs
|
2020-06-20 13:29:55 +02:00 |
|
Alexander Medvednikov
|
1d8d19c977
|
vweb: return $vweb.html()
|
2020-06-20 03:12:38 +02:00 |
|
JalonSolov
|
bbd6d0b4e5
|
vweb: ignore url params on static files
|
2020-06-20 01:39:55 +02:00 |
|
Alexander Medvednikov
|
6ce7bb4581
|
vweb: remove an unnecessary empty newline at the start
|
2020-06-13 16:59:06 +02:00 |
|