1
0
Fork 0
mirror of https://github.com/zigzap/zap.git synced 2025-10-21 15:44:10 +00:00
Commit graph

478 commits

Author SHA1 Message Date
JacobCrabill
7a39a34f58 Fix examples/endpoint 2024-01-30 20:46:46 -08:00
JacobCrabill
13559620f6 Fix var vs const for files under src/ 2024-01-30 20:46:28 -08:00
JacobCrabill
21d8afb21a Update build system to latest Zig master
Builds with Zig 0.12.0-dev.2341 on x86_64-linux

Also ran 'mdformat' on README.md
2024-01-30 20:30:31 -08:00
GitHub Action
9ce4b4438d Update README 2024-01-24 22:05:40 +00:00
Rene Schallner
220e1a0960 bump version in face of imminent release 2024-01-24 23:03:13 +01:00
Rene Schallner
02449e01ff minor simple_router fixes 2024-01-24 22:58:19 +01:00
Rene Schallner
b56b64f637
Merge pull request #71 from John-Colvin/patch-1
ednpoint typo
2024-01-24 13:51:46 +01:00
Rene Schallner
9122d7f9b0
Merge pull request #68 from StringNick/simple-router
simple router with handler clojures support
2024-01-24 13:50:58 +01:00
John Colvin
452ac7f12e
s/ednpoint/endpoint/ 2024-01-22 23:16:20 +00:00
stringnick
4058854a12 update readme.md 2024-01-18 21:39:05 +01:00
stringnick
5e76e17baf some refactoring 2024-01-18 21:33:26 +01:00
Rene Schallner
5b14759b4b
Merge pull request #69 from craighewetson/update-contributing-discord-link
Update Discord link to be exactly the same as the one in the readme file
2024-01-17 17:06:27 +01:00
Craig Hewetson
a2c9c5dfff Update Discord link to be exactly the same as the one in the readme file 2024-01-17 16:32:44 +01:00
stringnick
f13160eda6 simple router with clojure 2024-01-13 13:23:54 +01:00
Rene Schallner
ababe017a9 update README: docs 2024-01-10 15:49:30 +01:00
GitHub Action
e257ca6a43 Update README 2024-01-10 14:37:40 +00:00
Rene Schallner
9b6b53cf71 increased zon version number for imminent release 2024-01-10 15:32:00 +01:00
Rene Schallner
61fbbe8b08 Refactored request, auth, endpoint: - zap.Request : refactored into its own file, along with supporting types and functions (e.g. http params related) - added setContentTypeFromFilename thx @hauleth. - zap.Auth : zap.Auth.Basic, zap.Auth.BearerSingle, ... - zap.Endpoint : zap.Endpoint, zap.Endpoint.Authenticating 2024-01-10 15:13:25 +01:00
Rene Schallner
7141318caf fixed setContentTypeFromFilename consts 2024-01-09 12:03:47 +01:00
Rene Schallner
290d8bd7cc added setContentTypeFromFilename thx @hauleth. 2024-01-09 11:57:48 +01:00
Rene Schallner
295c2f68dd don't pollute global namespace with fio 2024-01-09 11:33:44 +01:00
Rene Schallner
1e1b5f5c51 finalize: allocator always 1st-ish arg 2024-01-09 11:30:16 +01:00
renerocksai
a84204df58 progress. alloc 1st 2024-01-09 11:30:16 +01:00
renerocksai
0fb4d8a9a1 API cleanup #3 --------------
More zap docstrings
2024-01-09 11:30:16 +01:00
renerocksai
207a7619f4 API cleanup #2 --------------
- Middleware: no more MixContexts
    - zig structs are fine
- more documentation (comments -> autodoc).
- websocket docs
2024-01-09 11:28:53 +01:00
renerocksai
8892cae7df API cleanup #1 --------------
- EndpointListener.register() // was: addEndpoint
- no more Simple
- getEndpoint -> endpoint()
2024-01-09 11:28:05 +01:00
GitHub Action
804c037efd Update README 2024-01-07 22:04:59 +00:00
Rene Schallner
587176a7df Preparing build.zig.zon for imminent release 2024-01-07 23:00:00 +01:00
Brook Jeynes
8dfdfdb02c - Updated tests (all passing) - Resolved init() comment stating an error occured if nothing was passed in. - Replaced error at an unreachable location in init() to unreachable - Made many members private 2024-01-07 22:22:37 +01:00
Brook Jeynes
9c19038082 Updated mustache.zig to be more Zig like - mustache.zig now returns a Mustache struct. This allows functions to be called on the mustache instance, e.g. zap.mustacheFree(mustache) -> mustache.free(). - Updated mustache example. - Added doc strings to majority of mustache functions. 2024-01-07 22:22:37 +01:00
Rene Schallner
57370b4e31
Update README.md 2024-01-07 21:12:01 +01:00
Rene Schallner
689da4abea
Merge pull request #63 from Vemahk/master
Re-add -Dopenssl to zap build
2024-01-07 21:08:12 +01:00
Vemahk
f38077c780 goodness, there's more README. 2024-01-05 20:34:20 -06:00
Vemahk
d39d78d6a7 Another README update: for the https FAQ
honestly not sure how to concisely express that.
2024-01-05 20:26:26 -06:00
Vemahk
8191e82eca README.md change 2024-01-05 20:18:30 -06:00
Vemahk
887cdd8b0e updated relevant comment 2024-01-05 20:15:32 -06:00
Vemahk
235e9045fc readd -Dopenssl to zap build.
modify readme for instructions how to use it
2024-01-05 20:04:38 -06:00
Rene Schallner
7ca46c4f10 dang, new version in .zon did not get committed 2024-01-05 14:43:36 +01:00
GitHub Action
7ecbfbb825 Update README 2024-01-05 13:11:34 +00:00
Rene Schallner
5a5606957d update README: build openssl env var 2024-01-05 13:55:51 +01:00
Rene Schallner
6e5d028d51 openssl support depend on ZAP_USE_OPENSSL=true env 2024-01-05 13:44:01 +01:00
GitHub Action
081bd05a5b Update README 2023-12-31 00:42:45 +00:00
Rene Schallner
5da64cc748 updating build.zig.zon for imminent release 2023-12-31 01:40:28 +01:00
Rene Schallner
feb4ad5c77
Merge pull request #57 from StringNick/http-method-options
http method options support
2023-12-31 01:17:02 +01:00
Rene Schallner
87aca69ff8 updated GH zig-11 workflow to run tests step by step 2023-12-31 00:39:43 +01:00
Rene Schallner
012452e1e1 http_auth test: http client code "fix"; also: 1 use 1 worker instead of 0 explicitly 2023-12-31 00:18:24 +01:00
GitHub Action
790ee37181 Update README 2023-12-30 12:17:03 +00:00
Rene Schallner
ed827ca602 oops. tls.zig 2023-12-30 13:15:22 +01:00
GitHub Action
ef9608a719 Update README 2023-12-30 02:54:45 +00:00
Rene Schallner
abc3f01688 updated build.zig.zon for imminent release 2023-12-30 03:50:25 +01:00