Commit Graph

154 Commits

Author SHA1 Message Date
Keagan McClelland
221ea133fa tracks user requests to registry 2022-06-27 15:14:48 -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
a2f7b97942 adds category managment to embassy-publish and admin API 2022-06-06 17:02:23 -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
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
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
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
87b5a6e4a1 implements upload on server
actually move extracted dir to resource location
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
Keagan McClelland
75663b65e4 autohash eos 2022-03-01 14:36:24 -07:00
Keagan McClelland
4cab448846 tolerate empty list of os versions 2022-02-28 20:18:01 -07:00
Keagan McClelland
9da5c1e9b3 switch from conduit responses to file responses 2022-02-26 23:27:27 -07:00
Keagan McClelland
d526eda69c rewire the api to be clean and consistent (#92)
fix route documentation

fix sorting scheme to be more clear for release notes
2022-02-26 23:27:27 -07:00
Lucy C
14d7adc0c9 Feature/encode icons (#91)
* base64 encode icon in package response

* adds icons to dependencies

* swap arguments for loadIcon

* remove redundant constraint

Co-authored-by: Keagan McClelland <keagan.mcclelland@gmail.com>
2022-02-26 23:27:27 -07:00
Keagan McClelland
0d7fab5789 adds name to /package/data 2022-02-26 23:27:27 -07:00
Keagan McClelland
b43d85ea63 implements query parameter for prioritizing lower versions 2022-02-26 23:27:27 -07:00
Keagan McClelland
796128d78a makes relative urls and uses route types to generate them 2022-02-26 23:27:27 -07:00
Lucy Cifferello
d0b7b1f044 resolve PR feedback - add record type for package and dependency metadata 2022-02-26 23:27:27 -07:00
Lucy Cifferello
649f876692 organization refactor separating database actions, data transformations, and api type constructs into separate components 2022-02-26 23:27:27 -07:00
Lucy Cifferello
fe5218925d reprganize database calls and marketplaces types 2022-02-26 23:27:27 -07:00
Lucy Cifferello
b0453e1d4a rename all references from services to packages 2022-02-26 23:27:27 -07:00
Lucy Cifferello
94a1c66f6c always get package dependencies when querying for a specified package 2022-02-26 23:27:27 -07:00
Lucy Cifferello
c0279fcae8 handle errors in either cases 2022-02-26 23:27:27 -07:00
Lucy Cifferello
328bf30eea fix handling of using index endpoint to fetch package at specific version 2022-02-26 23:27:27 -07:00
Keagan McClelland
c2af96f9de changes log epoch to use text instead of word64 due to overflow issues (#81) 2022-02-26 23:27:27 -07:00
Keagan McClelland
7b402d4039 add check for directory existence during package version enumeration (#80)
* add check for directory existence during package version enumeration

* cleanup

* error consistency

* errmsg cleanup
2022-02-26 23:27:27 -07:00
Keagan McClelland
eb7b777cf0 conflict resolution (#77) 2022-02-26 23:27:27 -07:00
Keagan McClelland
158f0cbec7 adds x-eos-hash header to eos.img response 2022-02-26 23:27:27 -07:00
Keagan McClelland
c6acbd383c sends 404s if we can't find the package rather than just blowing up and going 500 2022-02-26 23:27:27 -07:00
Keagan McClelland
2a3069818f rename get parameter 2022-02-26 23:27:27 -07:00
Keagan McClelland
bf9e3e313f refactor registry to include OS version filtering on the package index (#64)
* refactor registry to include OS version filtering on the package index

* remove commented code, clean up tests

* removed unused types

* remove disabled test

* remove unused type

* fix query parsing

* remove unused code

* more purging

* MOAR PURGING

* normalize data model, fix all type errors

* rename get parameter
2022-02-26 23:27:27 -07:00
Keagan McClelland
39462a166a remove unnecessary import 2022-02-26 23:27:27 -07:00
Keagan McClelland
edc091b93f fixes lack of content length in eos image download 2022-02-26 23:27:27 -07:00
Keagan McClelland
107cf20503 puts newlines at the end of log statement if missing 2022-02-26 23:27:27 -07:00
Keagan McClelland
2c9320899d always sorts versions outside sql 2022-02-26 23:27:27 -07:00
Keagan McClelland
d6ae703915 more cleanup 2022-02-26 23:27:27 -07:00
Keagan McClelland
c485dce4a8 send back release notes for eos 2022-02-26 23:27:27 -07:00
Keagan McClelland
99dea51f7d reduce io dependence 2022-02-26 23:27:27 -07:00
Keagan McClelland
468b65f43c Apply suggestions from code review
Remove unused code

Co-authored-by: Lucy C <12953208+elvece@users.noreply.github.com>
2022-02-26 23:27:27 -07:00
Keagan McClelland
e364e55a26 remove prelude import 2022-02-26 23:27:27 -07:00
Keagan McClelland
46c079fe25 delete unused code 2022-02-26 23:27:27 -07:00
Keagan McClelland
fb94a03909 fix type 2022-02-26 23:27:27 -07:00