Commit graph

401 commits

Author SHA1 Message Date
johnpgr
c6048d50bf
x.json2: add skippable field attr @[json: '-'] (improve backwards compatibility with the json module) (#20892) 2024-02-26 21:05:38 +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
Hitalo Souza
f472355ef7
json2: reorganize encode string (#20862) 2024-02-18 15:43:15 +02: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
gym603
fb675534b0
tests: fix the length of all_key in poly1305_test.v (#20853) 2024-02-17 10:59:16 +02:00
GGRei
1d3147e139
ci,dtm: fix concurrency and timing issues with tests of cache handler (#20845) 2024-02-16 19:35:27 +02:00
Delyan Angelov
3937eccdc9
ci: improve repo CI robustness, by marking dynamic_template_manager_cache_system_test.v as flaky, and only failing db_store_test.v on !windows 2024-02-16 14:37:32 +02:00
GGRei
a21658b9fb
dtm: separated the template generation from the cache system in the tests to simplify debugging (#20840) 2024-02-16 10:59:56 +02:00
Hitalo Souza
2bf590e90d
x.json2: move json2 tests to subfolders (#20842) 2024-02-16 10:58:51 +02:00
blackshirt
9aeb8229ae
x.crypto.chacha20: remove deprecated math.max_u32 in favour of builtin max_u32, remove unneceseary bits, reorder (#20838) 2024-02-15 06:40:07 +02:00
Hitalo Souza
414566966d
Json2: reorganizing functions in files (#20832) 2024-02-15 00:15:07 +02:00
GGRei
ed5c2f314f
x.templating.dtm: fix dtm clock test for CI (#20824) 2024-02-14 09:53:37 +02:00
blackshirt
9476aede8b
x.crypto: add AEAD ChaCha20Poly1305 algorithm in pure v (#20817) 2024-02-14 08:10:10 +02:00
David Legrand
feb649f79c
doc: x.vweb static website capabilities (#20808) 2024-02-13 12:30:25 +02:00
Turiiya
d485cceee8
doc: update trim_doc_node_description, make module readmes more uniform (#20792) 2024-02-12 12:38:47 +02:00
Casper Küthe
8c1ead5f4a
x.sessions: change session Store interface to use results instead of options (#20796) 2024-02-12 03:22:57 +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
kbkpbot
3f1b3d2c74
x.crypto.sm4: make sm4 use the encoding.binary _fixed fns (#20773) 2024-02-10 10:19:22 +02:00
Hitalo Souza
ee3cd36760
picoev: renaming, doc (#20567) 2024-02-10 05:54:27 +03:00
blackshirt
ce7780af69
x.crypto: add poly1305 message authentication code (mac) in pure v (#20752) 2024-02-09 11:46:30 +02:00
GGRei
9782b3c51f
dtm: optimize parser/gen of the template manager (#20751) 2024-02-08 19:23:11 +02:00
Casper Küthe
3bd99309dd
x.vweb: add new sessions module (#20642) 2024-02-07 19:00:48 +02: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
GGRei
b3e9725a93
dtm: add a README.md (#20716) 2024-02-06 21:17:15 +02:00
GGRei
2f4858c5f7
dtm: redesign certain parts (#20735) 2024-02-06 18:16:18 +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
GGRei
07016fb3d5
vlib: add a new Dynamic Template Manager module in x.templating.dtm and an example vweb server that uses it (#20468) 2024-02-02 16:14:51 +02:00
Casper Küthe
32b4a3c008
x.vweb: support HTTP 1.1 persistent connections (#20658) 2024-01-27 07:07:00 +02:00
kbkpbot
10aaeeb54e
x.crypto: add sm4 module (#20651) 2024-01-26 20:45:26 +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
Pierre Curto
d585e50281
x.json2: fix panic on calling json2.decode of an optional enum (fix #20593) (#20603) 2024-01-21 09:01:25 +02:00
Hitalo Souza
62872c677f
json2: cleanup (#20347) 2024-01-12 22:48:28 +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
blackshirt
0713e398a6
x.crypto.chacha20: speed up the core functionality of the ChaCha20 stream cipher (#20470) 2024-01-10 17:51:08 +02:00
blackshirt
66d222cc72
x.crypto: add x.crypto.chacha20 stream cipher module (#20417) 2024-01-07 15:21:23 +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
Anton
763f94388b
all: update copyright year (#20334) 2024-01-01 23:29:54 +02:00
Hitalo Souza
cb28144eea
json2: strict module (#17927) 2024-01-01 13:56:19 +02:00
Hitalo Souza
abb0cf774f
x.json2: support sumtype encoding in a more robust way (#20093) 2024-01-01 13:24:32 +02:00
Hitalo Souza
e333d548f3
x.json2: improve performance for checking option values for none (#20325) 2024-01-01 13:10:19 +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