Commit Graph

323 Commits

Author SHA1 Message Date
Shadowy Super Coder
10fb552c30 add further context for building the registry and setting up the embassy-publish tool 2023-02-27 13:52:12 -07:00
Lucy C
b7155e3139 default to 030 if eos-version param missing (#130) 2023-01-08 17:06:18 -07:00
Lucy Cifferello
2ba9b71df6 default to raspberrypi if arch does not exit 2022-12-19 11:16:27 -05:00
Lucy Cifferello
487bb97170 add parse case for mispelling; clean up imports 2022-12-19 10:25:20 -05: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
d83ea36d93 add cabal build for current fix for m1 devices (#129)
Co-authored-by: Start9 Labs <start9@Start9s-Air.start9.dev>
2022-11-10 15:39:49 -07:00
Dread
27376f0e76 dread and keagan edits to stack.yaml 2022-10-27 15:29:04 -04: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
ProofOfKeags
d8f667e41a content ranges implemented (#114)
* content ranges implemented

* formatting

Co-authored-by: Lucy Cifferello <12953208+elvece@users.noreply.github.com>
2022-09-01 16:03:09 -06:00
Aiden McClelland
6127135a4d add published-at to registry response (#120)
* add published-at to registry response

* ensure we get the timestamp for the version being returned

* cleaup import

Co-authored-by: Lucy Cifferello <12953208+elvece@users.noreply.github.com>
2022-08-10 11:52:02 -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
Lucy Cifferello
18b951388b fix release note json serialization 2022-07-01 14:25:53 -06:00
Dread
04f7f7bbf6 Updated README.md with verbose instructions (#115)
Included more verbose instructions for setting up Haskell and the registry.
2022-07-01 12:30:31 -06:00
Aiden McClelland
1a98a82a82 Update README.md 2022-06-30 10:26:47 -06:00
Lucy C
b636aebfa3 Update publish install command 2022-06-29 16:03:55 -06:00
Keagan McClelland
221ea133fa tracks user requests to registry 2022-06-27 15:14:48 -06:00
Keagan McClelland
e96fe6424f README update 2022-06-27 13:02:06 -06:00
Keagan McClelland
5a590f0f4d Feature/data url images (#107)
* changes serialization scheme for v1 api

* removes dependent types
2022-06-20 10:44:21 -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
Keagan McClelland
bb0488f1dd version bump 2022-06-06 17:05:59 -06:00
Keagan McClelland
a2f7b97942 adds category managment to embassy-publish and admin API 2022-06-06 17:02:23 -06:00
Keagan McClelland
f3b9e78fca group non-categorical searches properly 2022-05-31 14:02:47 -06:00
Keagan McClelland
6367da9c3b fix autoinstall of zsh completer 2022-05-27 16:18:53 -06:00
Keagan McClelland
a1ca3a5eaf fix cross device link 2022-05-27 14:42:00 -06:00
Keagan McClelland
f761677420 bang patterns optimization to avoid unnecessary laziness 2022-05-27 10:53:09 -06:00
Keagan McClelland
2105c58182 mass clean up of warnings, hints, errors 2022-05-26 18:26:32 -06:00
Keagan McClelland
3d8b4057df adds bash, fish, and zsh completions 2022-05-26 18:26:32 -06:00
Keagan McClelland
649a86fd5f add comments about cli output 2022-05-26 18:26:32 -06:00
Keagan McClelland
db3beadd6c adds list-unindexed 2022-05-26 18:26:32 -06:00
Keagan McClelland
07b151150a add todo about matrix bot 2022-05-26 18:26:32 -06:00
Keagan McClelland
460177d242 clean up question + todo 2022-05-26 18:26:32 -06:00
Keagan McClelland
fc8f671e3d fix migration issues 2022-05-26 18:26:32 -06:00
Keagan McClelland
285989caf5 document magic number 2022-05-26 18:26:32 -06:00
Keagan McClelland
772708dd73 send out password hash on reg add 2022-05-26 18:26:32 -06:00
Keagan McClelland
23863bb96d fix bug where packages with unknown dependencies won't be accepted 2022-05-26 18:26:32 -06:00
Keagan McClelland
d350e8538b fix bug with unspecified package uploads 2022-05-26 18:26:32 -06:00
Keagan McClelland
3395db8604 cleans up docs 2022-05-26 18:26:32 -06:00
Keagan McClelland
11e361fc5b log uploads 2022-05-26 18:26:32 -06:00
Keagan McClelland
4c8cba18a2 Implements uploads, index, and deindex 2022-05-26 18:26:32 -06:00
Keagan McClelland
79323465db implements multi registry management 2022-05-26 18:26:32 -06:00
Keagan McClelland
1cd0b78fa6 migrations 2022-05-26 18:26:32 -06:00
Keagan McClelland
fe423f1ed2 adds index/deindex endpoints 2022-05-26 18:26:32 -06:00
Keagan McClelland
411d186517 add index and deindex endpoints 2022-05-26 18:26:32 -06:00
Keagan McClelland
729e9bf507 apply hint suggestions 2022-05-26 18:26:32 -06:00
Keagan McClelland
87b5a6e4a1 implements upload on server
actually move extracted dir to resource location
2022-05-26 18:26:32 -06:00
Keagan McClelland
d2aee89cda implements basic authentication for admins 2022-05-26 18:26:32 -06:00
Keagan McClelland
e5efb877d3 implements release notes filtering 2022-03-30 18:01:22 -06:00
Lucy Cifferello
9938913358 make get info a json response 2022-03-23 12:51:13 -06:00
Keagan McClelland
cdadae707c remove category enum (#97)
* remove category enum

* priority inversion, 0 is always first

* set marketplace name default to something more obviously wrong.
2022-03-01 16:39:13 -07:00