Commit Graph

433 Commits

Author SHA1 Message Date
jaina heartles a1a93a7466 Add message after server startup
ci/woodpecker/push/woodpecker Pipeline failed Details
2023-01-08 15:36:11 -08:00
jaina heartles 3a52aad023 Add tests for registration api call 2023-01-08 15:35:58 -08:00
jaina heartles 2571043580 Fix dependencies for unit tests 2023-01-08 15:35:13 -08:00
jaina heartles da558ac40e Add test plug for DateTime.now 2023-01-08 15:34:54 -08:00
jaina heartles 303bce771d Fix compile errors 2023-01-04 11:25:08 -08:00
jaina heartles b58266bdd8 Move api code into methods namespace 2023-01-04 11:03:23 -08:00
jaina heartles 39565bccf0 fuck 2023-01-02 17:21:14 -08:00
jaina heartles 9774f214f3 add stubs to services.zig 2023-01-02 17:17:42 -08:00
jaina heartles 494d317ac1 refactor db layer 2023-01-02 12:38:42 -08:00
jaina heartles cc4badae21 refactor
ci/woodpecker/push/woodpecker Pipeline failed Details
2023-01-01 23:34:30 -08:00
jaina heartles 41ce5f3001 Remove services/auth.zig 2023-01-01 17:32:17 -08:00
jaina heartles df9354d91f Put registration logic in methods 2023-01-01 17:18:05 -08:00
jaina heartles 58bc1af969 Move login behavior into methods 2023-01-01 16:28:36 -08:00
jaina heartles ecd844ddd1 Move login to methods/auth.zig 2023-01-01 16:14:04 -08:00
jaina heartles ec4e99c41e Update templates to use new context 2023-01-01 16:01:58 -08:00
jaina heartles 6f30696d30 Create API Context 2023-01-01 15:58:17 -08:00
jaina heartles 62d47d9d2f start moving api methods 2022-12-26 08:05:26 -08:00
jaina heartles f52b82b506 Move types into shared file 2022-12-21 07:19:13 -08:00
jaina heartles d8e4d6c82b comptime dependency injection for ApiConn 2022-12-21 00:57:36 -08:00
jaina heartles b0db514adc Make helper functions public 2022-12-19 05:42:26 -08:00
jaina heartles 7f689c7030 parseQuotedString 2022-12-19 05:41:35 -08:00
jaina heartles 4c661672c2 parseToken 2022-12-19 04:31:18 -08:00
jaina heartles e3f90f22ef hack for different linux distros
ci/woodpecker/push/woodpecker Pipeline was successful Details
2022-12-18 06:45:12 -08:00
jaina heartles e4b67ad66b add system include directory
ci/woodpecker/push/woodpecker Pipeline failed Details
2022-12-18 06:25:00 -08:00
jaina heartles d5f8f84480 Enable integration tests in CI
ci/woodpecker/push/woodpecker Pipeline failed Details
2022-12-18 06:21:52 -08:00
jaina heartles 613215efec Fix memory leaks in integration tests 2022-12-18 06:21:04 -08:00
jaina heartles 64bbb7dae9 Fix compile errors in integration tests 2022-12-18 05:58:48 -08:00
jaina heartles 1d65984323 Use non-comptime ints in tests
ci/woodpecker/push/woodpecker Pipeline was successful Details
2022-12-18 05:44:13 -08:00
jaina heartles 4ec3a61bb6 Fix deserializer tests 2022-12-18 05:43:36 -08:00
jaina heartles 67855b57c9 Fix http tests 2022-12-18 05:34:16 -08:00
jaina heartles e02c5d99e4 Allow returning default values on base struct 2022-12-18 05:19:17 -08:00
jaina heartles a0b2e22e32 Fix compile errors in tests 2022-12-18 05:18:20 -08:00
jaina heartles 0930eee561 Download zig binary once
ci/woodpecker/push/woodpecker Pipeline failed Details
2022-12-18 05:08:36 -08:00
jaina heartles 6900c77a32 Add zig fmt step
ci/woodpecker/push/woodpecker Pipeline failed Details
2022-12-18 04:54:25 -08:00
jaina heartles 469df7bfcd Zig fmt 2022-12-18 04:51:23 -08:00
jaina heartles cac2b014c5 Update README.md
ci/woodpecker/push/woodpecker Pipeline failed Details
2022-12-18 04:46:55 -08:00
jaina heartles 7e6110fbfe Setup unit test CI
ci/woodpecker/push/woodpecker Pipeline failed Details
2022-12-18 04:44:56 -08:00
jaina heartles 951bb90ad8 Fix link href for upload button 2022-12-17 12:10:17 -08:00
jaina heartles f35d52f287 Basic file details page 2022-12-17 12:05:17 -08:00
jaina heartles 71a03b30f0 Allow printing optionals 2022-12-17 12:05:08 -08:00
jaina heartles af396a0cb6 Basic upload form 2022-12-17 07:46:54 -08:00
jaina heartles d4703a2127 Add delete button to drive page 2022-12-16 02:37:13 -08:00
jaina heartles 6dc8447343 Use body_tag_from_query_param 2022-12-16 02:05:20 -08:00
jaina heartles 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
jaina heartles e2281f7c14 rename parseBodyFromRequest to parseBodyFromReader 2022-12-16 02:01:26 -08:00
jaina heartles 471ca527bb Rename mkcol -> mkdir 2022-12-16 02:00:26 -08:00
jaina heartles f47c1ee751 Format query strings properly 2022-12-16 01:05:36 -08:00
jaina heartles b015bb8356 Use new serialization format 2022-12-16 01:04:58 -08:00
jaina heartles 91edd17801 Handle partial union matches 2022-12-16 01:04:01 -08:00
jaina heartles cd311cfa3c Deduplicate union fields 2022-12-16 01:03:23 -08:00