jaina heartles heartles
  • fae/she @heartles@egirls.gay on fedi

  • Joined on 2022-08-05
heartles pushed to woodpecker-ci at heartles/fediglam 2022-12-18 12:03:14 +00:00
71d5fba7b2 dependencies
heartles pushed to woodpecker-ci at heartles/fediglam 2022-12-18 12:01:17 +00:00
85a7352ad9 dependencies
heartles pushed to woodpecker-ci at heartles/fediglam 2022-12-18 12:00:15 +00:00
14c43bc110 dependencies
heartles pushed to woodpecker-ci at heartles/fediglam 2022-12-18 11:59:41 +00:00
9aea89b03e dependencies
heartles pushed to woodpecker-ci at heartles/fediglam 2022-12-18 10:57:34 +00:00
19585a295d skip lfs
heartles pushed to woodpecker-ci at heartles/fediglam 2022-12-18 10:23:30 +00:00
9fd8effba6 Add .woodpecker.yml
heartles created branch woodpecker-ci in heartles/fediglam 2022-12-18 10:23:30 +00:00
heartles commented on issue heartles/fediglam#66 2022-12-17 20:17:15 +00:00
Drive edit pages

At this point the following pages exist (in an ugly form):

  • Drive directory listing
  • Drive file details

And the following functionality is implemented:

  • Make directory -…
heartles pushed to main at heartles/fediglam 2022-12-17 20:10:27 +00:00
951bb90ad8 Fix link href for upload button
f35d52f287 Basic file details page
71a03b30f0 Allow printing optionals
af396a0cb6 Basic upload form
Compare 4 commits »
heartles opened issue heartles/fediglam#89 2022-12-17 20:00:50 +00:00
Make file metadata fields non-optional
heartles opened issue heartles/fediglam#88 2022-12-17 20:00:07 +00:00
Track file class in db layer for file uploads
heartles opened issue heartles/fediglam#87 2022-12-17 19:51:19 +00:00
Add url field to src/api/services/files.zig:FileUpload
heartles closed issue heartles/fediglam#86 2022-12-16 10:40:45 +00:00
Union deserialization behavior is confusing
heartles commented on issue heartles/fediglam#86 2022-12-16 10:40:44 +00:00
Union deserialization behavior is confusing

The solution i went with for the webpge POST thing i mentioned was to put the action in the query string, then add a thing that lets the body deserialization type come from that.

heartles pushed to main at heartles/fediglam 2022-12-16 10:37:32 +00:00
d4703a2127 Add delete button to drive page
6dc8447343 Use body_tag_from_query_param
57f2bd821e Add body_tag_from_query_param option
e2281f7c14 rename parseBodyFromRequest to parseBodyFromReader
471ca527bb Rename mkcol -> mkdir
Compare 5 commits »
heartles commented on issue heartles/fediglam#86 2022-12-16 09:06:37 +00:00
Union deserialization behavior is confusing

I fixed the deserialization syntax to work like std.json as of f47c1ee

heartles pushed to main at heartles/fediglam 2022-12-16 09:06:14 +00:00
f47c1ee751 Format query strings properly
b015bb8356 Use new serialization format
91edd17801 Handle partial union matches
cd311cfa3c Deduplicate union fields
8b1ff1149f Mirror std.json behavior for unions
Compare 7 commits »
heartles commented on issue heartles/fediglam#86 2022-12-16 07:40:08 +00:00
Union deserialization behavior is confusing

Another issue is for the handling of some of the webpage POST calls (especially within the drive system).

There are a number of actions the user can take on a drive entry (delete, move, create…

heartles commented on issue heartles/fediglam#86 2022-12-16 07:29:06 +00:00
Union deserialization behavior is confusing

While this may seem important for parsing ActivityPub types, we will need to handle them specially without using the serialization library. This is because, while they do have defined fields in…

heartles commented on issue heartles/fediglam#86 2022-12-16 07:26:26 +00:00
Union deserialization behavior is confusing

This behavior was originally written for pagination code, which often has the following idiom:

const Args = struct {
    const OrderBy = enum { created_at, name, ... };
    ....
   …