Commit graph

411 commits

Author SHA1 Message Date
da558ac40e Add test plug for DateTime.now 2023-01-08 15:34:54 -08:00
303bce771d Fix compile errors 2023-01-04 11:25:08 -08:00
b58266bdd8 Move api code into methods namespace 2023-01-04 11:03:23 -08:00
39565bccf0 fuck 2023-01-02 17:21:14 -08:00
9774f214f3 add stubs to services.zig 2023-01-02 17:17:42 -08:00
494d317ac1 refactor db layer 2023-01-02 12:38:42 -08:00
cc4badae21 refactor
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
2023-01-01 23:34:30 -08:00
41ce5f3001 Remove services/auth.zig 2023-01-01 17:32:17 -08:00
df9354d91f Put registration logic in methods 2023-01-01 17:18:05 -08:00
58bc1af969 Move login behavior into methods 2023-01-01 16:28:36 -08:00
ecd844ddd1 Move login to methods/auth.zig 2023-01-01 16:14:04 -08:00
ec4e99c41e Update templates to use new context 2023-01-01 16:01:58 -08:00
6f30696d30 Create API Context 2023-01-01 15:58:17 -08:00
62d47d9d2f start moving api methods 2022-12-26 08:05:26 -08:00
f52b82b506 Move types into shared file 2022-12-21 07:19:13 -08:00
d8e4d6c82b comptime dependency injection for ApiConn 2022-12-21 00:57:36 -08:00
b0db514adc Make helper functions public 2022-12-19 05:42:26 -08:00
7f689c7030 parseQuotedString 2022-12-19 05:41:35 -08:00
4c661672c2 parseToken 2022-12-19 04:31:18 -08:00
613215efec Fix memory leaks in integration tests 2022-12-18 06:21:04 -08:00
1d65984323 Use non-comptime ints in tests
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
2022-12-18 05:44:13 -08:00
4ec3a61bb6 Fix deserializer tests 2022-12-18 05:43:36 -08:00
67855b57c9 Fix http tests 2022-12-18 05:34:16 -08:00
e02c5d99e4 Allow returning default values on base struct 2022-12-18 05:19:17 -08:00
a0b2e22e32 Fix compile errors in tests 2022-12-18 05:18:20 -08:00
469df7bfcd Zig fmt 2022-12-18 04:51:23 -08:00
951bb90ad8 Fix link href for upload button 2022-12-17 12:10:17 -08:00
f35d52f287 Basic file details page 2022-12-17 12:05:17 -08:00
71a03b30f0 Allow printing optionals 2022-12-17 12:05:08 -08:00
af396a0cb6 Basic upload form 2022-12-17 07:46:54 -08:00
d4703a2127 Add delete button to drive page 2022-12-16 02:37:13 -08:00
6dc8447343 Use body_tag_from_query_param 2022-12-16 02:05:20 -08:00
57f2bd821e Add body_tag_from_query_param option
When you provide a string for this option, and the request body type
is a union, the query param provided will be treated as a value of
std.meta.Tag(Body). Then the associated value will be parsed from the
body during the request.
2022-12-16 02:02:13 -08:00
e2281f7c14 rename parseBodyFromRequest to parseBodyFromReader 2022-12-16 02:01:26 -08:00
471ca527bb Rename mkcol -> mkdir 2022-12-16 02:00:26 -08:00
f47c1ee751 Format query strings properly 2022-12-16 01:05:36 -08:00
b015bb8356 Use new serialization format 2022-12-16 01:04:58 -08:00
91edd17801 Handle partial union matches 2022-12-16 01:04:01 -08:00
cd311cfa3c Deduplicate union fields 2022-12-16 01:03:23 -08:00
8b1ff1149f Mirror std.json behavior for unions 2022-12-16 01:02:44 -08:00
38f91dd890 mkdir dialog in drive pages 2022-12-15 06:32:11 -08:00
7d362f0708 Move path splitting to controller 2022-12-15 06:29:56 -08:00
a6b928b42b Basic styling for breadcrumbs 2022-12-14 03:13:09 -08:00
ee059ac36c Add breadcrumbs 2022-12-14 02:57:53 -08:00
27ee0ecd5d Add support for array.len pseudo-field 2022-12-14 02:57:27 -08:00
73ba42d2d5 Add loop index capture support 2022-12-14 02:35:23 -08:00
f2a23db588 Support integer literals 2022-12-14 02:08:07 -08:00
25d6ee0245 Support optional deref post-refactor 2022-12-14 01:36:58 -08:00
54748b4c07 Expression refactor 2022-12-14 01:29:00 -08:00
1269aeeac1 Add slice builtin 2022-12-14 00:46:24 -08:00