427 Commits

Author SHA1 Message Date
Bob Farrell
13907aad7c Use Alignment arg instead of integer
See f32a5d349d
2025-04-16 19:59:05 +01:00
bobf
b32d24ad80
Merge pull request #187 from uzyn/ci-use-minver
CI now uses minimum_zig_version as defined in build.zig.zon
2025-04-16 06:09:42 +01:00
U-Zyn Chua
3fd42f2ebb
CI now uses minimum_zig_version as defined in build.zig.zon 2025-04-15 17:15:29 +08:00
bobf
ace82985ef
Merge pull request #186 from uzyn/min-zig-ver
Defines minimum supported Zig version.
2025-04-15 08:36:57 +01:00
U-Zyn Chua
e96a3d36b6
Defines specific version at CI. 2025-04-15 15:10:46 +08:00
U-Zyn Chua
dc982cf125
Defines minimum supported zig version. 2025-04-15 14:52:47 +08:00
bobf
6d522c07c5
Merge pull request #185 from jetzig-framework/zig-0.15
Zig 0.15 compatibility
2025-04-09 20:15:03 +01:00
Bob Farrell
c26d563898 Zig 0.15 compatibility
Various dependencies updated after changes to `std.zig.Ast` and
`std.LinkedList` and other things.
2025-04-09 20:08:38 +01:00
bobf
2c52792217
Merge pull request #174 from sc68cal/login_example
Add an example for using auth for logging in
2025-03-23 14:05:38 +00:00
Sean M. Collins
327b0390de
Merge pull request #1 from bobf/login_example
Adjust test, fix memory leak in hashPassword, deinit repo on test app…
2025-03-23 09:36:56 -04:00
Bob Farrell
2cb1b4e959 Adjust test, fix memory leak in hashPassword, deinit repo on test app deinit 2025-03-23 13:28:09 +00:00
bobf
a46e944499
Merge pull request #178 from uzyn/fix/ci-zig-setup
Switches zig-setup workflow allowing building on latest stable Zig
2025-03-23 12:32:48 +00:00
Sean M. Collins
79574ed861 Use defer to free hashed_pass 2025-03-20 13:54:13 -04:00
U-Zyn Chua
00ed3067dd
Switches zig-setup workflow 2025-03-15 10:16:45 +08:00
Sean M. Collins
aae890998f fix spelling mistake 2025-03-10 22:07:12 -04:00
Sean M. Collins
21bf237437 Shrink database.zig and comment 2025-03-10 21:57:02 -04:00
Sean M. Collins
b81c6dfe91 update paths to database template 2025-03-10 21:55:20 -04:00
Sean M. Collins
9e4e8529c5 Create a template file for init
This allows us to use database.zig for CI, while still creating a blank
database.zig for new projects that are created via jetzig init
2025-03-10 21:49:36 -04:00
Sean M. Collins
359b4fc2eb Add migration step 2025-03-10 21:31:50 -04:00
Sean M. Collins
70a8b0f698 Add tests for login view 2025-03-10 21:20:33 -04:00
Sean M. Collins
f94db09551 Do not pre-create database
Let jetzig create it via the commands
2025-03-10 17:57:48 -04:00
Sean M. Collins
46a311174f Use actual YAML syntax for env vars
I always mess this up when moving from shell to YAML configs
2025-03-10 17:54:46 -04:00
Sean M. Collins
48e7139e26 Set JETQUERY_POOL_SIZE in CI runs 2025-03-10 17:53:50 -04:00
Sean M. Collins
c6ce935ce1 Run postgres inside the test runner 2025-03-10 17:25:40 -04:00
Sean M. Collins
22688ccaa3 Set adapter to postgresql 2025-03-10 17:13:08 -04:00
Sean M. Collins
f3788567bb Fix argument to first migration 2025-03-10 17:05:09 -04:00
Sean M. Collins
58f7e0e76a Add User to schema 2025-03-10 16:50:11 -04:00
Sean M. Collins
b070d281e3 Add user table 2025-03-10 16:32:27 -04:00
Sean M. Collins
9012ec3aaf Add an example for using auth for logging in 2025-03-10 16:26:58 -04:00
bobf
182ceee17f
Merge pull request #173 from jetzig-framework/jetquery-group-by-synthetic-columns
JetQuery: groupBy synthetic columns
2025-03-09 11:45:15 +00:00
Bob Farrell
034ecddfa0 JetQuery: groupBy synthetic columns 2025-03-09 11:38:01 +00:00
bobf
19e17bc447
Merge pull request #171 from sc68cal/issue_170
Set same_site to correct type
2025-03-08 20:06:16 +00:00
Sean M. Collins
d8a992ce38 Set same_site to correct type
Fixes #170
2025-03-08 07:52:02 -05:00
bobf
b8af924f8e
Merge pull request #169 from blurrycat/fix/thread_anon_struct
Fix anonymous struct literal in log_thread spawn
2025-03-07 21:00:18 +00:00
bobf
29612e463f
Merge pull request #168 from blurrycat/fix/cli_memleak
Fix memory leak in CLI
2025-03-07 20:53:52 +00:00
blurrycat
23d0102ae8 Fix memory leak in CLI 2025-03-06 19:59:51 +01:00
blurrycat
544b33e279 Fix anonymous struct literal in log_thread spawn 2025-03-06 19:59:01 +01:00
bobf
d3157e4247
Merge pull request #163 from dongsu8142/middleware-fix
Fix compression middleware
2025-03-03 09:00:58 +00:00
dongsu8142
501c6184a5
Merge branch 'jetzig-framework:main' into middleware-fix 2025-03-03 12:20:07 +09:00
bobf
d6226bd4ef
Merge pull request #165 from jetzig-framework/no-llvm
No llvm
2025-03-02 14:23:26 +00:00
Bob Farrell
7eea1e3f0a Minor CLI improvements
Show some progress "..." when running external commands to give the user
a bit of extra feedback while commands run.
2025-03-02 14:14:42 +00:00
Bob Farrell
3418698220 Use LLVM everywhere except Linux
Zig Compiler seems not ready for Windows yet (builds failing),
restricting to Linux for now, we can add other OSes as the compiler
matures.
2025-03-02 14:05:01 +00:00
Bob Farrell
9c4b6198cd Use llvm on MacOS
Experimental feature currently only tested with Linux, builds failing
for Mac.
2025-03-02 14:00:18 +00:00
Bob Farrell
06674db51f Use fork of zig-args (temporary)
Revert when [this PR](https://github.com/ikskuh/zig-args/pull/67) is
merged.
2025-03-02 13:12:29 +00:00
Bob Farrell
099a2a5349 Use Zig compiler
Default to not using LLVM for application compilation. This gives more
than 2x performance improvement for compilation stage.
2025-03-01 14:33:17 +00:00
Bob Farrell
c0d6fb162b Latest Zig build.zig.zon format compatibility 2025-03-01 12:28:08 +00:00
bobf
a16e1c8716
Merge pull request #164 from IbrahimOuhamou/subhana-allah-db-exe
added option 'database_exe' to install the database exe thanks to Allah
2025-02-27 21:30:27 +00:00
IbrahimOuhamou
1dfe58fb64 added option 'database_exe' thanks to Allah 2025-02-27 12:16:24 +00:00
dongsu8142
719bd300a7 Fix compression middleware 2025-02-26 22:24:01 +09:00
bobf
8a4f91f26a
Merge pull request #160 from Cohors1316/main
Switched HX-Target header to HX-Request in HtmxMiddleware
2025-02-19 08:15:57 +00:00