Commit Graph

6 Commits

Author SHA1 Message Date
gearnode
b41f417af6 Fix unauthenticate user not redirect to login page
fix #31

Signed-off-by: gearnode <bryan@frimin.fr>
2025-03-11 14:33:24 +01:00
gearnode
123a538d82 Embded frontend inside go binary
This will simplify the self hosting of the platform.

Signed-off-by: gearnode <bryan@frimin.fr>
2025-03-09 15:30:28 +01:00
gearnode
05160a1618 Style
Signed-off-by: gearnode <bryan@frimin.fr>
2025-02-28 20:16:55 +01:00
gearnode
7329039b32 Simplify file upload processing logic
Streamline the file upload handling in RelayEnvironment by removing
redundant hasOwnProperty checks when processing uploadables. These
checks were unnecessary since we're already iterating through the keys
of the object. This change reduces code verbosity while maintaining
the same functionality.

Signed-off-by: gearnode <bryan@frimin.fr>
2025-02-28 11:18:47 +01:00
gearnode
fc5a97cb64 Add support for file uploads in Relay Environment
Add support for file uploads in RelayEnvironment by implementing
multipart form[1] handling via FormData when uploadables are
present. Maintain backward compatibility for standard GraphQL queries.

[1] https://github.com/jaydenseric/graphql-multipart-request-spec

Signed-off-by: gearnode <bryan@frimin.fr>
2025-02-28 10:57:35 +01:00
gearnode
b3dcfc6b53 Add react setup
Signed-off-by: gearnode <bryan@frimin.fr>
2025-01-31 21:01:21 -08:00