Commit Graph

9 Commits

Author SHA1 Message Date
Lucy C
683b9d1712 code logic for version checkpoints instead of env vars for more optionality (#135) 2023-05-16 16:55:35 -06:00
Lucy C
c3dab78718 Fix/misc (#134)
* 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
2023-04-12 15:39:59 -06:00
Lucy C
35500cfc02 Feat/local packages (#133)
* 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
2023-04-11 19:08:53 -06:00
Lucy C
6df87e9873 Update/eos 033 (#128)
* 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
2022-12-07 12:05:07 -07:00
Lucy C
648d69c14a Feature/zip upload (#124)
* zip eos image on upload

* fix warning

* revert content length as its already set by module

* move stream zipping to cli upload

* refactor upload with simple gzip approach - progress bar broken

* increase timeout

* fix request body and unzip once uploaded

* unzipped in wrong fn; cleanup

* add progress bar for hashing and zipping, cleanup files

* add messaging to progress bars
2022-09-19 15:18:14 -06:00
Aiden McClelland
3aef9dbf09 hash on upload (#123)
* 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>
2022-09-08 10:29:01 -06:00
Lucy C
e42cd787b4 filter packages for os compatibility before fetching metadata (#117)
* filter packages for os compatibility before fetching metadata

* address PR feedback and add os filtering to get package latest version endpoint

* additional test suite data

* filter empty version sets

* attempt to fix leak

Co-authored-by: Keagan McClelland <keagan.mcclelland@gmail.com>
2022-07-12 15:06:21 -06:00
Keagan McClelland
221ea133fa tracks user requests to registry 2022-06-27 15:14:48 -06:00
Keagan McClelland
dbd73fae7f Feature/api versioning (#106)
* wip

* finishes initial refactor

* prune unused code

* finished massive refactor

* remove commented deps

* fix import

* fix bug
2022-06-20 10:28:28 -06:00