Commit graph

433 commits

Author SHA1 Message Date
a1a93a7466 Add message after server startup
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
2023-01-08 15:36:11 -08:00
3a52aad023 Add tests for registration api call 2023-01-08 15:35:58 -08:00
2571043580 Fix dependencies for unit tests 2023-01-08 15:35:13 -08:00
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
e3f90f22ef hack for different linux distros
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
2022-12-18 06:45:12 -08:00
e4b67ad66b add system include directory
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
2022-12-18 06:25:00 -08:00
d5f8f84480 Enable integration tests in CI
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
2022-12-18 06:21:52 -08:00
613215efec Fix memory leaks in integration tests 2022-12-18 06:21:04 -08:00
64bbb7dae9 Fix compile errors in integration tests 2022-12-18 05:58:48 -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
0930eee561 Download zig binary once
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
2022-12-18 05:08:36 -08:00
6900c77a32 Add zig fmt step
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
2022-12-18 04:54:25 -08:00
469df7bfcd Zig fmt 2022-12-18 04:51:23 -08:00
cac2b014c5 Update README.md
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
2022-12-18 04:46:55 -08:00
7e6110fbfe Setup unit test CI
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
2022-12-18 04:44:56 -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