portal/CHANGELOG.md

13 KiB

0.1.0-develop.3 (2023-09-09)

Bug Fixes

  • handle failure on verifying token (a06b79a)

0.1.0-develop.2 (2023-08-15)

Bug Fixes

  • need to change dnslink route registration to use a path param based route (ae071a3)
  • need to string off forward slash at beginning to match manifest file paths (2f64f18)

0.1.0-develop.1 (2023-08-15)

Bug Fixes

  • abort if we don't have a password for the account, assume its pubkey only (c20dec0)
  • add a check for a 500 error (df08fc9)
  • add missing request connection close (dff3ca4)
  • add shutdown signal and flag for renterd (fb65690)
  • auth: eager load the account relation to return it (a23d165)
  • change jwtKey to ed25519.PrivateKey (bf576df)
  • close db on shutdown (78ee15c)
  • Ctx must be public (a0d747f)
  • ctx needs to be public in AuthService (a3cfeba)
  • db: need to set charset, parseTime and loc in connection for mysql (5d15ca3)
  • disable client warnings (9b8cb38)
  • dont try to stream if we have an error (b21a425)
  • encode size as uint64 to the end of the cid (5aca66d)
  • ensure all models auto increment the id field (934f8e6)
  • ensure we store the pubkey in lowercase (def1b50)
  • handle duplicate tus uploads by hash (f3172b0)
  • hasher needs the size set to 32 (294370d)
  • if upload status code isn't 200, make it an err based on the body (039a4a3)
  • if uploading returns a 500 and its a slab error, treat as a 404 (6ddef03)
  • if we have an existing upload, just return it as if successful (90170e5)
  • iris context.User needs to be embedded in our User struct for type checking to properly work (1cfc222)
  • just use the any route (e100429)
  • load config before db (58165e0)
  • make an attempt to look for the token before adding to db (f11b285)
  • missing setting SetTusComposer (80561f8)
  • newer gorm version causes db rebuilds every boot (72255eb)
  • only panic if the error is other than a missing config file (6e0ec8a)
  • output error info (cfa7ceb)
  • PostPubkeyChallenge should be lowercasing the pubkey for consistency (d680f06)
  • PostPubkeyChallenge should be using ChallengeRequest (36745bb)
  • PostPubkeyChallenge should not be checking email, but pubkey (db3ba1f)
  • PostPubkeyLogin should be lowercasing the pubkey and signature (09d53ff)
  • PostPubkeyLogin should not preload any model (27e7ea7)
  • properly handle missing size bytes (c0df04d)
  • public_key should be pubkey (09b9f19)
  • register LoginSession model (48164ec)
  • register request validation (c197b14)
  • remove PrivateKey, rename PublicKey in Key model (00f2b96)
  • rewrite gorm query logic for tus uploads (f8aaeff)
  • rewrite sql logic (ce1b5e3)
  • rewrite streaming logic and centralize in a helper function (bb26cfc)
  • save upload info after every chunk (038d2c4)
  • temp workaround on race condition (e2db880)
  • tus: switch to normal clone package, not generic (faaec64)
  • update default flag values (241db4d)
  • update model relationships (628f1b4)
  • upload: add account to upload record (e018a4b)
  • uploading of main file (7aea462)
  • upstream renterd updates (5ad91ad)
  • use AccountID not Account (f5e4377)
  • use bufio reader (90e4ce6)
  • use challengeObj (9b82fa7)
  • use database.path over database.name (25c7d6d)
  • use getWorkerObjectUrl (4ff1334)
  • Use gorm save, and return nil if successful (26042b6)
  • we can't use AddHandler inside BeginRequest (f941ee4)
  • wrap Register api in an atomic transaction to avoid dead locks (e09e51b)
  • wrong algo (86380c7)

Features

  • add a status endpoint and move cid validation to a utility method (38b7615)
  • add a Status method for uploads (1f195cf)
  • add auth status endpoint (1dd4fa2)
  • add bao package and rust bao wasm library (4c649bf)
  • add cid package (706f7a0)
  • add ComputeFile bao RPC method (687f26c)
  • add debug mode logging support (99d7b83)
  • add download endpoint (79fd550)
  • add EncodeString function (488f873)
  • add files service with upload endpoint (b16beeb)
  • add files/upload/limit endpoint (b77bebe)
  • add getCurrentUserId helper function (29d6db2)
  • add global cors (1f5a3d1)
  • add jwt package (ea99108)
  • add more validation, and put account creation, with optional pubkey in a transaction (699e424)
  • add new user service object that implements iris context User interface (a14dad4)
  • add newrelic support (06b3ab8)
  • add pin model (aaa2c17)
  • add pin service method (8692a02)
  • add PostPinBy controller endpoint for pinning a file (be03a6c)
  • add pprof support (ee17409)
  • add proof download (3b1e860)
  • add StringHash (118c679)
  • add swagger support (49c3844)
  • add upload model (f73a04b)
  • add Valid, and Decode methods, and create CID struct (4e6c29f)
  • add validation to account register (7257b5d)
  • generate and/or load an ed25519 private key for jwt token generation (85a0295)
  • initial dnslink support (cd2f63e)
  • pin file after basic upload (892f093)
  • pin file after tus upload (5579ab8)
  • tus support (3005be6)
  • wip version (9a4c3d5)