444 Commits

Author SHA1 Message Date
TheJltres
1acb6f5df9
Reset config to default 2025-05-03 11:04:29 +02:00
TheJltres
438278e859
Remove seed one file 2025-05-03 00:00:40 +02:00
TheJltres
de48478c6d
Remove comand, not needed 2025-05-03 00:00:13 +02:00
TheJltres
eed0169437
Fix grammar 2025-05-02 22:33:57 +02:00
TheJltres
6f0e731303
Testing seeders 2025-05-01 22:23:39 +02:00
Bob Farrell
1feb18fb74 Add note to README about Zig compatibility 2025-04-26 18:14:50 +01:00
Bob Farrell
86d82026ab Fix incorrect email address format 2025-04-21 14:46:53 +01:00
bobf
01d0862043
Merge pull request #190 from PotatoesMaster/htmx-middleware-vary-header
HtmxMiddleware: add Vary header to prevent caching issues
2025-04-20 15:41:26 +01:00
Emanuel Guével
95d3f10bc9 HtmxMiddleware: add Vary header to prevent caching issues
See https://htmx.org/docs/#caching
2025-04-20 16:06:55 +02:00
Bob Farrell
dee5701b4a Never sync stdout/stderr
Detecting if stdout/stderr is tty seems to cause issues when running in
Docker (in particular with fly.io)
2025-04-19 21:41:27 +01:00
Bob Farrell
b7c3c0045a Fix missing @tagName after nameCast changes 2025-04-19 20:16:31 +01:00
bobf
6d9fa8bff4
Merge pull request #189 from jetzig-framework/zig-alignment-changes
Use Alignment arg instead of integer
2025-04-19 19:57:34 +01:00
Bob Farrell
4bd9d8b990 Eradicate std.enums.nameCast
Deprecated here: 530228d953
2025-04-19 19:35:55 +01:00
bobf
8171ab5b5d
Merge pull request #188 from uzyn/custom-session-name
Overriding of default session cookie name
2025-04-17 07:01:16 +01:00
Bob Farrell
13907aad7c Use Alignment arg instead of integer
See f32a5d349d
2025-04-16 19:59:05 +01:00
Bob Farrell
aae9fd182b Use Server.env.vars to get session cookie name 2025-04-16 19:29:44 +01:00
U-Zyn Chua
4c568f2606
Minor typo fix 2025-04-16 15:59:45 +08:00
U-Zyn Chua
94cf122847
Allow setting of custom session cookie name. 2025-04-16 15:59:18 +08: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