* update admin endpoints to check if authorized to upload pkg
* add auth route for package to check in cli prior to upload
* fix param parsing
* remove uneeded log
* add case for when package is new
* move insert auth admin to pkg check
* send 200 response on successful insert
* invert logic
* retype AdminPkgs since PkgRecord id as key will not yet exist
* cleanup
* add ability to specify package architectures for publish script, as well as deindex them
* implement and adjust filtering for package hardware requirements; adjust for legacy and new query params paths
* augment test manifest and fix ram query
* fixes
* fix ram for other routes
* rework filtering logic to eliminate hack db call
* fix hanging issue and other dataset consistency issues
* adjust arch param
* cleanup
* fix package manifest parsing
* make index package arches optional
* rename from embassy-sdk to start-sdk and embassy-publish to registr-publish
* fix ram comparison
* increase upload timeout
* fix serialization and deserialization of devices jsonb database field
* cleanup
* another deserialization fix
* revert change; better error message and test case
* fix jsonb serialization freal
* cleanup
* fix jsonb deserialization
* fix lookup of device value
* parse empty device object as null
* use latest version of dependency for metadata if best version is unsatisfied
* cleanup
* add config setting to allow protections around package uploads to specific registries
* change to whitelist
* properly parse whitelist
* enable deleting deprecated admin users
* enable packages to be marked as unavailable locally
* change isLocal column to hidden
* add option to deprecate a service version based on a min os version
* add marketplace icon to info response
* fix max eos version available logic; toggle migrations
* only send icon if it exists
* increase upload timeout
* persist eos version and arch for user activity
* filter eos versions available based on arch
* remove registry icon
* remove eos upload from publish script
* filter package index response by arch
* remove arch from version record in favor of join table
* allow previous user activity records to contain null values
* make arch optional for backwards compatability
* make arch optional for backwards compatability on version latest endpoint
* not ideal but functional solution for backwards compatible arch filter
* insert version platform when index on publish upload
* add migration for dropping arch from package version table
* upsert all version platform records
* insert user activity even if version and arch do not exist
* increase http timeout to 10 minutes jic
* remove user metrics from latest endpoint
* hash on upload
* Update src/Cli/Cli.hs
* fix import and clean up error response
* remove content length limit
* remove import
* lift version
* slow af but works
Co-authored-by: Lucy C <12953208+elvece@users.noreply.github.com>