Josh Montoya
|
51ad565ed6
|
vweb: implement worker pool (#17298)
|
2023-04-02 01:24:33 +02:00 |
|
Casper Kuethe
|
1fe5aca782
|
vweb: middleware implementation (#17730)
|
2023-03-26 00:57:42 +01:00 |
|
Delyan Angelov
|
6e1e406288
|
vweb: implement live page reload in development, based on polling (useful with watch) (#17683)
|
2023-03-16 21:00:47 +01:00 |
|
Alexander Medvednikov
|
88e33a83de
|
gg: fix draw_image on macos native; vcreate: vweb template
|
2022-12-21 19:33:37 +03:00 |
|
yuyi
|
017ace6ea7
|
vfmt: change all '$expr' to '${expr}' (#16428)
|
2022-11-15 16:53:13 +03:00 |
|
shove
|
a199a9afab
|
all: rollback to old interpolation (step 2) (#16373)
|
2022-11-09 17:37:27 +03:00 |
|
yuyi
|
d701cf561c
|
scanner: fix new string interpolation: print('{n:10}') (fix #16321) (#16325)
|
2022-11-06 08:20:21 +03:00 |
|
Hitalo Souza
|
d2902e700f
|
examples: show how to use a before_request method for the multi-route examples, be more informative about DB creation problems (#16279)
|
2022-11-01 19:02:07 +02:00 |
|
yuyi
|
f6844e9766
|
all: change optional to result of io (#16075)
|
2022-10-16 09:28:57 +03:00 |
|
CC
|
d336b7b877
|
examples: add another vweb example, showing file upload, transform, and file download (#14842)
|
2022-06-24 09:23:47 +03:00 |
|
Daniel Däschle
|
d679146a80
|
fmt: remove space in front of ? and ! (#14366)
|
2022-05-13 06:56:21 +03:00 |
|
Delyan Angelov
|
178afd006b
|
examples: avoid flash of unstyled content in the vweb_assets example
|
2022-03-21 19:13:53 +02:00 |
|
Delyan Angelov
|
3bae489e35
|
examples: make the vweb_assets.v example more robust (always change work folder to the folder of the executable). Document the vweb.Context.handle_static behaviour.
|
2022-03-21 19:05:18 +02:00 |
|
Alexander Medvednikov
|
36ec47cd20
|
all: replace "NB:" with "Note:" (docs/comments)
|
2022-03-06 20:01:22 +03:00 |
|
Subhomoy Haldar
|
114a341f5f
|
rand: simplify rand.PRNG, move to optional types for error handling (#13570)
|
2022-02-23 12:36:14 +02:00 |
|
Delyan Angelov
|
637ebe5d42
|
examples: improve examples/vweb/file_upload
|
2021-11-10 18:26:16 +02:00 |
|
Delyan Angelov
|
3c6356ba36
|
ci: fix request_test.v (add missing \r to hardcoded post data)
|
2021-11-10 18:16:15 +02:00 |
|
Delyan Angelov
|
466ced2876
|
net.http: fix multipart/form-data file upload handling
|
2021-11-10 17:31:41 +02:00 |
|
Miccah
|
ce9f26c589
|
examples/vweb: use map instead of string in call to app.json (#12338)
|
2021-10-31 12:31:49 +02:00 |
|
Alexander Medvednikov
|
49886b8c40
|
examples: add a missing vweb header
|
2021-09-21 08:13:42 +03:00 |
|
Alexander Medvednikov
|
f6bdc6b87e
|
tmpl: fix <div> inside <div>
|
2021-09-21 07:54:10 +03:00 |
|
Alexander Medvednikov
|
80976e640c
|
vweb: remove init_server() from all examples, tutorials, and tests
|
2021-08-03 16:03:16 +03:00 |
|
shadow
|
eca7af107a
|
examples: fix static vweb assets example (#11008)
|
2021-08-01 21:46:30 +03:00 |
|
Miccah
|
1a6a7a678a
|
vweb: change Context.headers from string to struct Header (#10749)
|
2021-07-18 12:21:07 +03:00 |
|
Miccah
|
c3c420a41c
|
vweb: remove chunked encoding support in server responses (#10750)
|
2021-07-13 15:47:16 +03:00 |
|
Miccah
|
6a19a13812
|
vweb: re-enable concurrency and fix the counter example (#10484)
|
2021-06-17 02:08:02 +03:00 |
|
Alexander Medvednikov
|
dcfea5c69b
|
vweb: detect mime type automatically in serve_static()
|
2021-05-22 07:02:25 +03:00 |
|
Delyan Angelov
|
c55549a16a
|
ci: fix v build-examples
|
2021-05-11 11:10:35 +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 |
|
Lukas Neubert
|
16e79bc3ca
|
tools: format most examples and tutorials, add them to v test-cleancode (#9826)
|
2021-04-20 17:16:35 +03:00 |
|
Alexander Medvednikov
|
a18f85c8cd
|
vweb: init_once() => init_server(); init() => before_request()
|
2021-04-15 06:27:24 +03:00 |
|
Delyan Angelov
|
cd423251da
|
vweb: add .mount_static_folder_at/2 , use it instead of app.handle_static in the server_sent_events example
|
2021-03-02 21:30:18 +02:00 |
|
Miccah
|
d0fab60981
|
vweb: refactor routing logic (#9025)
|
2021-03-01 11:50:52 +01:00 |
|
Miccah
|
7e08e84bc1
|
vweb: refactor HTTP request parsing (#8874)
|
2021-02-27 23:18:25 +01:00 |
|
Alexander Medvednikov
|
3a2d696fac
|
time: time.wait() => time.sleep()
|
2021-02-27 20:41:06 +03:00 |
|
Louis Schmieder
|
7a35131721
|
vweb: add handle static root & documentation (#8865)
|
2021-02-21 20:01:29 +02:00 |
|
zakuro
|
ac4791045f
|
time: consolidate the different sleep functions into time.wait(Duration) (#8853)
|
2021-02-21 17:05:03 +02:00 |
|
Delyan Angelov
|
f4b757e47d
|
examples: add examples/vweb/server_sent_events; implement vweb.sse
|
2021-02-03 16:03:06 +02:00 |
|
Delyan Angelov
|
89bf48e3ba
|
ci: fix v -W build-examples
|
2021-01-31 10:43:49 +02:00 |
|
Hitalo de Jesus do Rosário Souza
|
8dff63b824
|
vweb: example: make css in vweb_assets.v work (#8090)
|
2021-01-30 14:20:13 +01:00 |
|
Louis Schmieder
|
f7c251f8f3
|
vweb: add multipart/form-data parser and file upload (#8160)
|
2021-01-21 11:08:51 +01:00 |
|
Louis Schmieder
|
38881e4b20
|
vweb: Implement chunked encoding transfer (#8179)
|
2021-01-18 13:04:21 +01:00 |
|
Daniel Däschle
|
5dbc19410c
|
examples: fix vweb assets example (#7949)
|
2021-01-07 20:46:23 +01:00 |
|
Alexander Medvednikov
|
7bcc5afbb6
|
ci: run tutorial
|
2021-01-01 20:25:49 +01:00 |
|
Daniel Däschle
|
5ae3637d27
|
checker: revert embedded methods fix (#7780)
|
2021-01-01 14:36:07 +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
|
3795aaab5c
|
v test-fmt: reformat some skipped files, comment on the remaining ones
|
2020-10-15 00:39:09 +03:00 |
|