Commit Graph

241 Commits

Author SHA1 Message Date
Sergio C. Arteaga f5e3d2b3de
Update packages tsdoc when transferring repository (#1652)
Closes #1648

Signed-off-by: Sergio Castaño Arteaga <tegioz@icloud.com>
2021-10-25 15:20:10 +02:00
Sergio C. Arteaga 008ebc8d50
Do not scan versions released more than 1 year ago (#1614)
Signed-off-by: Sergio Castaño Arteaga <tegioz@icloud.com>
2021-10-14 10:34:41 +02:00
Sergio C. Arteaga 4ae09dd489
Bump version to 1.3.0 (#1597)
Signed-off-by: Sergio Castaño Arteaga <tegioz@icloud.com>
2021-10-06 14:20:47 +02:00
Sergio C. Arteaga 841b2bc6a4
Fix issue comparing Helm chart dep repo url (#1590)
Signed-off-by: Sergio Castaño Arteaga <tegioz@icloud.com>
2021-10-05 08:40:13 +02:00
Sergio C. Arteaga 35f25a6885
Allow publishers to include screenshots in packages (#1582)
Closes #1574

Signed-off-by: Sergio Castaño Arteaga <tegioz@icloud.com>
Signed-off-by: Cintia Sanchez Garcia <cynthiasg@icloud.com>
Co-authored-by: Sergio Castaño Arteaga <tegioz@icloud.com>
Co-authored-by: Cintia Sanchez Garcia <cynthiasg@icloud.com>
2021-10-04 13:52:12 +02:00
Sergio C. Arteaga 2f5a2ea79f
Handle Helm charts deps using file://.. repo urls (#1583)
Signed-off-by: Sergio Castaño Arteaga <tegioz@icloud.com>
2021-10-04 13:27:31 +02:00
Sergio C. Arteaga 220defd13d
Link Helm charts deps to packages in the hub (#1581)
Closes #1579

Signed-off-by: Sergio Castaño Arteaga <tegioz@icloud.com>
Signed-off-by: Cintia Sanchez Garcia <cynthiasg@icloud.com>
Co-authored-by: Sergio Castaño Arteaga <tegioz@icloud.com>
Co-authored-by: Cintia Sanchez Garcia <cynthiasg@icloud.com>
2021-10-01 14:38:45 +02:00
Sergio C. Arteaga 95e36d4b14
Add support for Tekton pipelines (#1552)
Closes #1485

Signed-off-by: Sergio Castaño Arteaga <tegioz@icloud.com>
Signed-off-by: Cintia Sanchez Garcia <cynthiasg@icloud.com>
Co-authored-by: Sergio Castaño Arteaga <tegioz@icloud.com>
Co-authored-by: Cintia Sanchez Garcia <cynthiasg@icloud.com>
2021-09-17 13:58:18 +02:00
Sergio C. Arteaga 59ae8d9e05
Improve packages search results facets (#1547)
Signed-off-by: Sergio Castaño Arteaga <tegioz@icloud.com>
Signed-off-by: Cintia Sanchez Garcia <cynthiasg@icloud.com>
Co-authored-by: Sergio Castaño Arteaga <tegioz@icloud.com>
Co-authored-by: Cintia Sanchez Garcia <cynthiasg@icloud.com>
2021-09-15 10:04:42 +02:00
Sergio C. Arteaga 64c123a69f
Add API endpoint for Helm exporter tool (#1544)
Related to: sstarcher/helm-exporter#66

Signed-off-by: Sergio Castaño Arteaga <tegioz@icloud.com>
Signed-off-by: Cintia Sanchez Garcia <cynthiasg@icloud.com>
Co-authored-by: Sergio Castaño Arteaga <tegioz@icloud.com>
Co-authored-by: Cintia Sanchez Garcia <cynthiasg@icloud.com>
2021-09-13 15:57:42 +02:00
Sergio C. Arteaga e52c19c140
Bump Go version to 1.17 (#1511)
Signed-off-by: Sergio Castaño Arteaga <tegioz@icloud.com>
2021-08-30 10:08:59 +02:00
Sergio C. Arteaga 00d89b28fe
Minor update to search packages db function (#1507)
Signed-off-by: Sergio Castaño Arteaga <tegioz@icloud.com>
2021-08-20 13:00:58 +02:00
Sergio C. Arteaga 062df42b9e
Fix index used by get random packages query (#1502)
Signed-off-by: Sergio Castaño Arteaga <tegioz@icloud.com>
2021-08-19 10:14:50 +02:00
Sergio C. Arteaga f9d1effae5
Use tablesample in get random packages query (#1501)
Related to #1497

Signed-off-by: Sergio Castaño Arteaga <tegioz@icloud.com>
2021-08-19 10:04:17 +02:00
Sergio C. Arteaga ce3e820d5d
Add some missing database indexes (#1500)
Related to #1497

Signed-off-by: Sergio Castaño Arteaga <tegioz@icloud.com>
2021-08-19 09:52:05 +02:00
Sergio C. Arteaga db224d156c
Add support for Keptn integrations (#1459)
Signed-off-by: Sergio Castaño Arteaga <tegioz@icloud.com>
Signed-off-by: Cintia Sanchez Garcia <cynthiasg@icloud.com>
Co-authored-by: Sergio Castaño Arteaga <tegioz@icloud.com>
Co-authored-by: Cintia Sanchez Garcia <cynthiasg@icloud.com>
2021-07-29 09:32:20 +02:00
Sergio C. Arteaga 60049ccaed
Store generic annotations in snapshot data field (#1461)
Signed-off-by: Sergio Castaño Arteaga <tegioz@icloud.com>
2021-07-29 01:07:17 +02:00
Sergio C. Arteaga 20d65c3748
Add annotations field to package metadata (#1460)
Signed-off-by: Sergio Castaño Arteaga <tegioz@icloud.com>
2021-07-29 00:11:46 +02:00
Sergio C. Arteaga 759288e35d
Bump Alpine to 3.14 (#1451)
Signed-off-by: Sergio Castaño Arteaga <tegioz@icloud.com>
2021-07-22 13:16:19 +02:00
Sergio C. Arteaga 5b94f70b9f
Bump Trivy to 0.19.1 + some refactoring in scanner (#1437)
Trivy is [migrating to a new JSON schema](https://github.com/aquasecurity/trivy/discussions/1050). Artifact Hub stores the reports generated by Trivy in JSON format in the database, so we are migrating to the new format as well. Even though new security reports will use the new format, there might be reports stored in the database still using the previous format that may never be updated. The UI will know how to handle both, but users using the security report API endpoint need to be aware that they might receive any of them.

Signed-off-by: Sergio Castaño Arteaga <tegioz@icloud.com>
Signed-off-by: Cintia Sanchez Garcia <cynthiasg@icloud.com>
Co-authored-by: Sergio Castaño Arteaga <tegioz@icloud.com>
Co-authored-by: Cintia Sanchez Garcia <cynthiasg@icloud.com>
2021-07-16 21:39:36 +02:00
Sergio C. Arteaga 02e7cb2403
Allow sorting search results by relevance or stars (#1425)
Signed-off-by: Sergio Castaño Arteaga <tegioz@icloud.com>
Signed-off-by: Cintia Sanchez Garcia <cynthiasg@icloud.com>
Co-authored-by: Sergio Castaño Arteaga <tegioz@icloud.com>
Co-authored-by: Cintia Sanchez Garcia <cynthiasg@icloud.com>
2021-06-30 17:09:53 +02:00
Sergio C. Arteaga 3a266bf12a
Fix issue with packages' stars when user is deleted (#1420)
Signed-off-by: Sergio Castaño Arteaga <tegioz@icloud.com>
2021-06-28 10:53:36 +02:00
Sergio C. Arteaga 0a76c5afce
Allow users deleting their accounts (#1417)
Closes #1331

Signed-off-by: Sergio Castaño Arteaga <tegioz@icloud.com>
Signed-off-by: Cintia Sanchez Garcia <cynthiasg@icloud.com>
Co-authored-by: Sergio Castaño Arteaga <tegioz@icloud.com>
Co-authored-by: Cintia Sanchez Garcia <cynthiasg@icloud.com>
2021-06-23 19:00:53 +02:00
Sergio C. Arteaga 05b77b5bfc
Reset repository's digest when it is disabled (#1414)
Signed-off-by: Sergio Castaño Arteaga <tegioz@icloud.com>
2021-06-21 11:59:33 +02:00
Sergio C. Arteaga 8bc5b5779f
Display Helm charts sign key information (#1408)
Closes #1308

Signed-off-by: Sergio Castaño Arteaga <tegioz@icloud.com>
Signed-off-by: Cintia Sanchez Garcia <cynthiasg@icloud.com>
Co-authored-by: Sergio Castaño Arteaga <tegioz@icloud.com>
Co-authored-by: Cintia Sanchez Garcia <cynthiasg@icloud.com>
2021-06-18 09:34:54 +02:00
Sergio C. Arteaga de48fe5c4a
Coalesce get organization members results (#1397)
Signed-off-by: Sergio Castaño Arteaga <tegioz@icloud.com>
2021-06-15 14:36:06 +02:00
Sergio C. Arteaga 1d8fbded4c
Add pagination support to some endpoints (#1386)
Related to #1295

Signed-off-by: Sergio Castaño Arteaga <tegioz@icloud.com>
Signed-off-by: Cintia Sanchez Garcia <cynthiasg@icloud.com>
Co-authored-by: Sergio Castaño Arteaga <tegioz@icloud.com>
Co-authored-by: Cintia Sanchez Garcia <cynthiasg@icloud.com>
2021-06-14 11:19:26 +02:00
Sergio C. Arteaga db528dad04
Consolidate some repositories API endpoints (#1382)
The following repositories endpoints have been removed:

- Get all repositories
- Get repositories by kind
- Get repositories owned by an organization
- Get repositories owned by an user

The functionality the methods above provided is now covered by the new
repositories search endpoint, which also supports pagination.

Related to #1295

Signed-off-by: Sergio Castaño Arteaga <tegioz@icloud.com>
Signed-off-by: Cintia Sanchez Garcia <cynthiasg@icloud.com>
Co-authored-by: Sergio Castaño Arteaga <tegioz@icloud.com>
Co-authored-by: Cintia Sanchez Garcia <cynthiasg@icloud.com>
2021-06-10 20:01:02 +02:00
Sergio C. Arteaga 5bbd06a73f
Refactor packages search API endpoint (#1379)
Related to #1295

Signed-off-by: Sergio Castaño Arteaga <tegioz@icloud.com>
Signed-off-by: Cintia Sanchez Garcia <cynthiasg@icloud.com>
Co-authored-by: Sergio Castaño Arteaga <tegioz@icloud.com>
Co-authored-by: Cintia Sanchez Garcia <cynthiasg@icloud.com>
2021-06-08 09:07:43 +02:00
Sergio C. Arteaga ab4671aa61
Adjust search results ranking (#1370)
Signed-off-by: Sergio Castaño Arteaga <tegioz@icloud.com>
2021-06-01 12:33:43 +02:00
Sergio C. Arteaga 24f0e0b3fa
Add `all containers images whitelisted` field to pkg (#1347)
Signed-off-by: Sergio Castaño Arteaga <tegioz@icloud.com>
2021-05-24 13:25:03 +02:00
Sergio C. Arteaga 16f655bd93
Include scanner disabled field in repo summary (#1335)
Signed-off-by: Sergio Castaño Arteaga <tegioz@icloud.com>
2021-05-21 10:42:24 +02:00
Sergio C. Arteaga 5e3817c76f
Add security vulnerabilities alerts (#1307)
Closes #1304

Signed-off-by: Sergio Castaño Arteaga <tegioz@icloud.com>
Signed-off-by: Cintia Sanchez Garcia <cynthiasg@icloud.com>
Co-authored-by: Sergio Castaño Arteaga <tegioz@icloud.com>
Co-authored-by: Cintia Sanchez Garcia <cynthiasg@icloud.com>
2021-05-10 13:09:06 +02:00
Sergio C. Arteaga 9726b926ed
Some refactoring in user manager and handlers (#1291)
Signed-off-by: Sergio Castaño Arteaga <tegioz@icloud.com>
2021-05-06 22:40:37 +02:00
Sergio C. Arteaga bf58fc2a1b
Improve packages changelog (#1286)
Closes #1209

Signed-off-by: Sergio Castaño Arteaga <tegioz@icloud.com>
Signed-off-by: Cintia Sanchez Garcia <cynthiasg@icloud.com>
Co-authored-by: Sergio Castaño Arteaga <tegioz@icloud.com>
Co-authored-by: Cintia Sanchez Garcia <cynthiasg@icloud.com>
2021-05-03 20:31:12 +02:00
Sergio C. Arteaga d11932fa79
Add two-factor authentication support (#1273)
Closes #1222

Signed-off-by: Sergio Castaño Arteaga <tegioz@icloud.com>
Signed-off-by: Cintia Sanchez Garcia <cynthiasg@icloud.com>
Co-authored-by: Sergio Castaño Arteaga <tegioz@icloud.com>
Co-authored-by: Cintia Sanchez Garcia <cynthiasg@icloud.com>
2021-04-28 13:25:15 +02:00
Sergio C. Arteaga 6b5188cd88
Add support for CoreDNS plugins (#1278)
Closes #1275

Signed-off-by: Sergio Castaño Arteaga <tegioz@icloud.com>
Signed-off-by: Cintia Sanchez Garcia <cynthiasg@icloud.com>
Co-authored-by: Sergio Castaño Arteaga <tegioz@icloud.com>
Co-authored-by: Cintia Sanchez Garcia <cynthiasg@icloud.com>
2021-04-28 09:07:12 +02:00
Sergio C. Arteaga daafabc5ae
Add subscriptions and webhooks stats to pkg details (#1274)
Related to #1247

Signed-off-by: Sergio Castaño Arteaga <tegioz@icloud.com>
2021-04-26 18:40:01 +02:00
Sergio C. Arteaga b3559bf3cd
Add endpoint to get package's summary (#1241)
Related to #1228

Signed-off-by: Sergio Castaño Arteaga <tegioz@icloud.com>
2021-04-12 13:31:24 +02:00
Sergio C. Arteaga 011b4eeb6a
Add support for KEDA scalers (#1231)
Closes #1227

Signed-off-by: Sergio Castaño Arteaga <tegioz@icloud.com>
Signed-off-by: Cintia Sanchez Garcia <cynthiasg@icloud.com>
Co-authored-by: Sergio Castaño Arteaga <tegioz@icloud.com>
Co-authored-by: Cintia Sanchez Garcia <cynthiasg@icloud.com>
2021-04-09 14:21:50 +02:00
Sergio C. Arteaga dbff470854
Store sessions ids hashed (#1236)
Signed-off-by: Sergio Castaño Arteaga <tegioz@icloud.com>
2021-04-09 14:07:18 +02:00
Sergio C. Arteaga c3d34c81bc
Store password reset code hashed (#1235)
Signed-off-by: Sergio Castaño Arteaga <tegioz@icloud.com>
2021-04-08 16:33:32 +02:00
Sergio C. Arteaga b6a2f8615b
Hash API keys secret using sha512 instead of bcrypt (#1226)
Signed-off-by: Sergio Castaño Arteaga <tegioz@icloud.com>
2021-04-06 19:19:01 +02:00
Sergio C. Arteaga 3f617c0dc6
Some improvements in API keys (#1221)
Signed-off-by: Sergio Castaño Arteaga <tegioz@icloud.com>
Signed-off-by: Cintia Sanchez Garcia <cynthiasg@icloud.com>
Co-authored-by: Sergio Castaño Arteaga <tegioz@icloud.com>
Co-authored-by: Cintia Sanchez Garcia <cynthiasg@icloud.com>
2021-04-05 11:00:38 +02:00
Sergio C. Arteaga b212b9f74f
Packages search now supports prefix matching (#1211)
Related to #1210

Signed-off-by: Sergio Castaño Arteaga <tegioz@icloud.com>
2021-03-26 09:44:07 +01:00
Sergio C. Arteaga 34ad6982f7
Add stats page (#1182)
Closes #1176

Signed-off-by: Sergio Castaño Arteaga <tegioz@icloud.com>
Signed-off-by: Cintia Sanchez Garcia <cynthiasg@icloud.com>
Co-authored-by: Sergio Castaño Arteaga <tegioz@icloud.com>
Co-authored-by: Cintia Sanchez Garcia <cynthiasg@icloud.com>
2021-03-17 13:53:30 +01:00
Sergio C. Arteaga d99b8ed582
Store creation timestamp of some entities (#1179)
Signed-off-by: Sergio Castaño Arteaga <tegioz@icloud.com>
Signed-off-by: Cintia Sanchez Garcia <cynthiasg@icloud.com>
Co-authored-by: Sergio Castaño Arteaga <tegioz@icloud.com>
Co-authored-by: Cintia Sanchez Garcia <cynthiasg@icloud.com>
2021-03-15 19:20:41 +01:00
Sergio C. Arteaga e5bba8ba34
Move logo image id and url to snapshot entity (#1167)
Signed-off-by: Sergio Castaño Arteaga <tegioz@icloud.com>
2021-03-04 13:04:02 +01:00
Sergio C. Arteaga 9bc0e151f6
Fix issue sorting results with official packages (#1166)
Signed-off-by: Sergio Castaño Arteaga <tegioz@icloud.com>
2021-03-03 14:58:05 +01:00
Sergio C. Arteaga 53ea08f846
Scan package latest version images daily (#1165)
Signed-off-by: Sergio Castaño Arteaga <tegioz@icloud.com>
2021-03-03 12:03:00 +01:00