Activity

Some1

Changes

  • Did big refactors so code is no longer ugly and some better performance (hopefully) yay
    -> API documentation is in its seperate file
    -> The openapi schema is served at its own url (improves performance)
    -> Striped out the yucky utoipa-scalar dep and make the html that the doc page serves a static `(performance increases!)
  • Added proper logging, now can set desired log level and logs to a file!

PS: Most changes are code changes, have a code screenshot as well as the logging output :p

Commit Changelog

Attachment
Attachment
0
Some1

Changes

  • Worked on the /pull route
    omgggg this stupid ouppy decided to not use her eyes and put the client identifier as the lookup key for the session table… i then proceeded to spend 1hr debugging trying to figure out what was wrong and why it couldn’t find a match heaviersob

PS: No notable UI changes this devlog so code screenshot (enjoy my pretty editor :3)

Commit Changelog

Attachment
0
Some1

Changes

  • Tweaked payloads to serialise to Rc’s instead for performance? (hopefully…)
  • Implemented testing the /login route with the cli testing client
  • Added code sample for the /login route
  • Drafted the payloads and responses for the /pull and /push routes
  • Added size limits to each existing endpoint by switching to actix_web_lab
  • Changed the database a little bit

Next I’ll completely implement the /pull and /push routes

Commit Changelog

Attachment
Attachment
0
Some1

Changes

  • Fixed response codes being returned (i was returning 200 for everything)
  • Document api responses on response code 500
  • Clippy and formatting
  • Updated the licensing headers to be AGPL-3.0 only

Next I’m going to work on the cli test-client for the /login route and then add code sample to the api doc for the /login route

ps: not very much changed visually so im just uploading a screenshot showing the new 500 response code

Commit Changelog

Attachment
Attachment
0
Some1

Changes

  • Added OpenAPI spec generation via utoipa
  • Added a frontend to view the spec via Scalar
  • Added OpenAPI documentation to /register_start, /login
  • Added macro so I can easily add code examples for each route
  • Add code example for /register_start
  • Make Scalar static by committing a 30k line file yay

PS: Now I can show pretty API doc screenshots!!

Commit Changelog

Attachment
0
Some1

DENY THIS SHIP!

(also meow :3)

Attachment
0
Some1

First devlog as I originally intended to submit this to #scraps

Ok done:

  • Both stages of registration on the server according to OPAQUE
  • Cli parsing
  • Config parsing & writing
  • First stage of login on the server according to OPAQUE
  • Logging

Currently working on a small cli client to test the routes and make sure everything is working ok

ps photo wanted my projects output so enjoy literally just help text

Commit Changelog

Attachment
0
Some1

First devlog as I originally intended to submit this to #scraps

Implemented Features

  • Database specification
  • Database implementations (create, new entry, modify entry, etc)
  • Config serialisation & deserialisation ( config keys are still todo)

What else did i do

well, those features obviously dont make 20 hrs of work

I initially started this as a tauri app (embedded webview), but then decided to switch to the iced library. I spent a while writing tauri stuff, then refactoring all the tauri stuff out, then writing iced boilerplate. I also spent some time writing tests for the database and drafting the overall architecture

ps code screenshot is there because it wont let me devlog w/out photo and i dont have output / ui yet (except for my unit tests :c)

Attachment
0