Commit Graph

62 Commits

Author SHA1 Message Date
Lucy
e4cd1bae09 Update/root url (#136)
* handle root url

* add handler file

* fix compilation bug

* fix compilation error

* attempt redirect

* add query param of hostname

* add name to root query params

* cleanup
2023-06-19 14:53:06 -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
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
2105c58182 mass clean up of warnings, hints, errors 2022-05-26 18:26:32 -06:00
Keagan McClelland
fc8f671e3d fix migration issues 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
1cd0b78fa6 migrations 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
75663b65e4 autohash eos 2022-03-01 14:36:24 -07:00
Keagan McClelland
5e807f5c91 set tcp hang up time to 60s instead of default 30s 2022-02-26 23:27:27 -07:00
Keagan McClelland
ac94aa9f88 gzip eos.img and s9pks 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
139ba20e2f fixes file descriptor leak 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
Keagan McClelland
d6ae703915 more cleanup 2022-02-26 23:27:27 -07:00
Keagan McClelland
0da59d225d improves logging 2022-02-26 23:27:27 -07:00
Keagan McClelland
da240f35ee fsnotify extraction attempt 2022-02-26 23:27:27 -07:00
Lucy Cifferello
d8143067b2 fix bug wto show multiple versions in metadata 2022-02-26 23:27:27 -07:00
Keagan McClelland
eda753551a Cleanup/warnings (#53)
* implements error log reporting

* removes redundant imports
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
72bc7e01ae account for icon types 2022-02-26 23:27:27 -07:00
Lucy Cifferello
0cfc8d0d40 disable http2 2022-02-26 23:27:27 -07:00
Lucy Cifferello
64fc16813f categories refactor 2022-02-26 23:27:27 -07:00
Lucy Cifferello
57dbd62bcb dynamic cors 2021-05-21 12:19:34 -06:00
Lucy Cifferello
eb0df7f355 fix sorting and starting web sans ssl 2021-01-19 15:45:24 -07: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
Keagan McClelland
d2b68f2fd9 fixes missing dependency info 2020-09-23 11:38:13 -06:00
Keagan McClelland
a192bce08c removes compatibility dependency, filters apps/versions based off of user agent header 2020-09-21 17:45:23 -06:00
Lucy Cifferello
b772440145 log starting both web servers 2020-08-19 13:27:40 -06:00
Lucy Cifferello
74564d3170 uncomment line 2020-08-19 11:52:41 -06:00
Lucy Cifferello
38b65166a9 fix port 2020-08-19 11:21:32 -06:00
Lucy Cifferello
b29ed6cade fork process 2020-08-14 14:48:25 -06:00
Lucy Cifferello
1592ff55ce log tor setting 2020-08-12 16:21:49 -06:00
Lucy Cifferello
44626aace9 add configurable setting to enable running app for tor 2020-08-12 16:19:58 -06:00
Keagan McClelland
e307c14c6f removes unnecessary webserver kill 2020-08-04 18:52:08 -06:00
Keagan McClelland
0624e6667a revert printf debugging 2020-08-04 18:51:00 -06:00
Keagan McClelland
cf2bdf1e57 printf debugging 2020-08-04 18:45:57 -06:00
Keagan McClelland
d8a3ace841 restart semantics 2020-08-04 18:41:15 -06:00
Keagan McClelland
364a4433cd line buffering for journald 2020-08-04 17:55:01 -06:00
Keagan McClelland
64c35f3807 friendly messaging 2020-08-04 17:44:06 -06:00
Keagan McClelland
f9bba3b65b testing complete 2020-08-04 17:01:51 -06:00
Keagan McClelland
5df3523f87 fixes key issues 2020-08-04 16:34:46 -06:00
Keagan McClelland
c75c9fd250 test setup 2020-08-04 16:25:00 -06:00
Keagan McClelland
949f2f867c print check 2020-08-04 15:50:42 -06:00
Keagan McClelland
7c008f321c fixes path dependence 2020-08-04 13:18:43 -06:00