Commit Graph

75 Commits

Author SHA1 Message Date
Lucy Cifferello
ffaac04e8f code logic for version checkpoints instead of env vars for more optionality 2023-05-15 11:23:35 -06:00
Lucy Cifferello
fa40f6f7a2 fix whitelist logic and default it to empty 2023-04-12 17:01:19 -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
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
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
db3beadd6c adds list-unindexed 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
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
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
Keagan McClelland
f0b958e6df reorder routes file, change error logs endpoint 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
bcc3f01086 builds 2022-02-26 23:27:27 -07:00
Keagan McClelland
32de58979c cleanup usages of removed appmgr call 2022-02-26 23:27:27 -07:00
Keagan McClelland
66e19a727e rename AppIdentifier to PkgId to save typing and reflect new name terminology 2022-02-26 23:27:27 -07:00
Lucy Cifferello
16251afd35 revert dev settings and incorrect fix 2022-02-26 23:27:27 -07:00
Lucy Cifferello
47c971de99 update to not use fs read for versions, just previous db call metadata 2022-02-26 23:27:27 -07:00
Lucy Cifferello
aadbc385d0 fix tests 2022-02-26 23:27:27 -07:00
Lucy Cifferello
7b2684acd5 aggregate query functions 2022-02-26 23:27:27 -07:00
Lucy Cifferello
ac5acaa685 fix icon endpoint 2022-02-26 23:27:27 -07:00
Keagan McClelland
f2364e742e implements error log reporting 2022-02-26 23:27:27 -07:00
Lucy Cifferello
8a675b48fe update lts and log headers 2022-02-26 23:27:27 -07:00
Lucy Cifferello
eca229116b fix release notes route 2022-02-26 23:27:27 -07:00
Lucy Cifferello
723602e6f7 fix urls for static files 2022-02-26 23:27:27 -07:00
Lucy Cifferello
aa88306ee1 fix routes 2022-02-26 23:27:27 -07:00
Lucy Cifferello
99dba0e273 rename endpoints 2022-02-26 23:27:27 -07:00
Lucy Cifferello
96b194f615 reorder 2022-02-26 23:27:27 -07:00
Lucy Cifferello
9f4a344c04 pass through manifest as raw json value 2022-02-26 23:27:27 -07:00
Lucy Cifferello
9c8f236095 fix version in service detail path 2022-02-26 23:27:27 -07:00
Lucy Cifferello
2ee06007c7 rework package list endpoint, version latest, and release notes 2022-02-26 23:27:27 -07:00
Lucy Cifferello
0d27703b33 eos endpoint, lowercase categories, sdk get instructions and license 2022-02-26 23:27:27 -07:00
Lucy Cifferello
47d945f9c5 remove system status endpoint 2022-02-26 23:27:27 -07:00
Lucy Cifferello
09e188e9d8 rename apps endpoints to package and add header to addl endpoint 2022-02-26 23:27:27 -07:00
Lucy Cifferello
d2f8db82cf add architecture to version table; refactor to remove dependency on apps.yaml 2022-02-26 23:27:27 -07:00
Lucy Cifferello
8f20f68c5e merge add package header 2022-02-26 23:27:27 -07:00
Lucy Cifferello
c4929b4a61 change apps to package in routes 2022-02-26 23:27:27 -07:00
Lucy Cifferello
64fc16813f categories refactor 2022-02-26 23:27:27 -07:00
Lucy Cifferello
cd4d392a74 route ordering 2021-05-12 09:11:10 -06:00
Lucy Cifferello
1fa68a0ad8 get system status endpoint 2021-05-11 22:16:25 -06:00
Keagan McClelland
28edfc2f87 emver for registry appears complete, more testing required but should be ready for beta testing 2020-10-28 17:43:36 -06:00
Lucy Cifferello
d275a06310 white space 2020-10-10 19:09:47 -06:00
Lucy Cifferello
e4d3e9a713 alter endpoints to support dynamic versions 2020-10-10 19:08:43 -06:00
Lucy Cifferello
3adbe64622 fix whitespace 2020-10-09 14:30:39 -06:00
Lucy Cifferello
27a02091bc put keys back 2020-10-09 14:29:48 -06:00
Lucy Cifferello
f7482cbc76 refactor config/manifest endpoint path with appId 2020-10-09 14:16:57 -06:00
Lucy Cifferello
1017d5a363 correct static bin path 2020-10-08 15:35:45 -06:00
Lucy Cifferello
846b1d7754 static path for appmgr and other feedback 2020-10-07 16:47:05 -06:00
Lucy Cifferello
0e1e77f4b6 add notes to routes 2020-10-07 15:27:13 -06:00