Commit graph

6927 commits

Author SHA1 Message Date
Joseph Schorr
df1e7f90e0 Add verb security tests and fix small issues 2017-03-22 18:29:53 -04:00
Jimmy Zelinskie
d5fa2ad0c0 endpoints.verbs: abort 405 for non-container repos 2017-03-22 17:50:58 -04:00
Jimmy Zelinskie
40b638a981 data.migrations: rebase to HEAD of migration tree 2017-03-22 17:26:59 -04:00
Joseph Schorr
dcb970b783 Add registry app repository failure test 2017-03-22 17:26:59 -04:00
Jimmy Zelinskie
ca7a0f14d8 endpoints.v1: return 405 for non-docker repos 2017-03-22 17:26:59 -04:00
Jimmy Zelinskie
48ba59d615 endpoints.v2: only work on docker repositories 2017-03-22 17:26:59 -04:00
Jimmy Zelinskie
72751592a3 data.interfaces.v1: document types 2017-03-22 15:51:19 -04:00
Joseph Schorr
178373293d Disable web endpoints for app repos 2017-03-22 15:51:19 -04:00
Joseph Schorr
54efed62ee Make sure start_build cannot be called for app repos 2017-03-22 15:51:19 -04:00
Jimmy Zelinskie
45f14f220d data.model.repository: optimize by using kind_id 2017-03-22 15:51:19 -04:00
Joseph Schorr
30b532254c Disallow non-apps-supported APIs for application repositories 2017-03-22 15:51:19 -04:00
Joseph Schorr
c3402fff5a Add test to ensure we cannot create repos with the same name but different kinds 2017-03-22 14:34:32 -04:00
Jimmy Zelinskie
a2bac7dabd endpoints.v1: only work on docker repositories 2017-03-22 14:31:22 -04:00
Jimmy Zelinskie
f086eea754 data.interfaces.v1: explicitly use kwargs
This fixes the function from accidentally using the wrong arguments
positionally for the new `repo_kind` kwarg.
2017-03-22 13:58:50 -04:00
Jimmy Zelinskie
dae2cc8c3a initdb: add beta class data 2017-03-22 13:58:50 -04:00
Jimmy Zelinskie
d2a4c9d05a data.model.repository: audited for repo_kind usage 2017-03-22 13:58:50 -04:00
Jimmy Zelinskie
074c1bc4a8 data.model._basequery: audited for repo_kind usage 2017-03-22 13:58:49 -04:00
Jimmy Zelinskie
f842bc3a82 data.migrations.migration.sh: wait 25s for mysql
Without this, there are frequent race conditions wheres the client fails
to connect to the server when using Docker For Mac.
2017-03-21 15:38:39 -04:00
Jimmy Zelinskie
4492d2f210 data.migrations: add repository kind 2017-03-21 15:38:38 -04:00
Jimmy Zelinskie
5b362da8ac data.database: add RepositoryKind 2017-03-21 15:38:38 -04:00
Jimmy Zelinskie
0ea600628b Merge pull request #2436 from jzelinskie/cnr-step1
CNR - Step 1
2017-03-17 15:37:29 -04:00
Jimmy Zelinskie
ad029fb331 data.migrations: don't use UTF-8 for unique fields
Unique indexes must have less than 767 bytes and UTF-8 encoding with 255
chars is beyond this maximum. Since this is an internal identifier, we
can be confident that we will not require UTF-8 for it in the future.
2017-03-17 15:21:24 -04:00
josephschorr
990c60af37 Merge pull request #2440 from coreos-inc/fix_search_group_by_clause
Fix search group_by clause for PG
2017-03-17 14:50:20 -04:00
Jimmy Zelinskie
c915a40531 data.database: rm tag_kind from Tag indexes
These shouldn't be necessary.
2017-03-17 11:35:16 -04:00
Jimmy Zelinskie
0e32e77e99 data.database: document all CNR/OCI models 2017-03-17 11:35:16 -04:00
Jimmy Zelinskie
f94d5c7684 initdb: skip data checks for beta classes & regen 2017-03-17 11:35:16 -04:00
Jimmy Zelinskie
2a117f2d24 data.migrations: change CNR mimetypes to v0
Our initial CNR support is of a pre-v1 implementation of the
specification.
2017-03-17 11:33:16 -04:00
Jimmy Zelinskie
1e9ce85af6 data.database/migrations: remove repo_id from db
This also manually organizes and removes broken parts of the migration.
2017-03-17 11:33:16 -04:00
Antoine Legrand
8f323154ce data.migrations: add OCI/CNR models 2017-03-17 11:33:16 -04:00
Antoine Legrand
c61024586d data.database: add CNR/OCI models 2017-03-17 11:33:16 -04:00
Antoine Legrand
718aeeead8 Fix search group_by clause for PG 2017-03-17 16:30:24 +01:00
Alec Merdler
f08e4921f2 Merge pull request #2437 from alecmerdler/add-lockfile
Add Yarn Lockfile to Docker Build
2017-03-16 18:30:21 -07:00
alecmerdler
639741fe8e remove package.json and yarn.lock from Docker image after install 2017-03-16 15:45:57 -07:00
alecmerdler
d8658d905a add yarn.lock to Dockerfile 2017-03-16 14:52:16 -07:00
Alec Merdler
cd61482ff1 Merge pull request #2426 from alecmerdler/frontend-refactoring
More Front-end TypeScript Refactoring
2017-03-16 14:19:13 -07:00
josephschorr
77bb7b62ca Merge pull request #2434 from coreos-inc/blob-upload-cleanup
Add a cleanup worker for blob uploads
2017-03-16 15:30:10 -04:00
Joseph Schorr
e25c989fef Add a cleanup worker for blob uploads 2017-03-16 13:36:59 -04:00
josephschorr
4c7f3819f9 Merge pull request #2433 from coreos-inc/secscan-chart-percent
Make sure all sections of the sec scan donut chart are visible
2017-03-16 13:10:45 -04:00
Joseph Schorr
85ce944189 Make sure all sections of the sec scan donut chart are visible
Sets a minimum chart % for all entries
2017-03-16 13:05:53 -04:00
Jimmy Zelinskie
ce7a9d550d Merge pull request #2429 from jzelinskie/licenses
document our deps and licenses in one place
2017-03-15 17:35:20 -04:00
josephschorr
b61291aeab Merge pull request #2431 from coreos-inc/sec-scan-col
Small UI fixes
2017-03-15 17:35:12 -04:00
Joseph Schorr
2759e08902 Fix bug in adding date entries in tag history view 2017-03-15 17:32:00 -04:00
Joseph Schorr
685bdf6814 Change security scanner column to be more informative 2017-03-15 17:14:59 -04:00
josephschorr
d89dfdd22c Merge pull request #2430 from coreos-inc/fix-filter-box-css
Further fixes to the filter box positioning
2017-03-15 16:42:19 -04:00
Joseph Schorr
a60440eb88 Further fixes to the filter box positioning 2017-03-15 15:07:17 -04:00
Jimmy Zelinskie
05d1b4df61 document our deps and licenses in one place 2017-03-15 13:40:57 -04:00
josephschorr
9297373bd6 Merge pull request #2416 from coreos-inc/new-tags-ui
Updated Tags and Tag History UI
2017-03-14 17:11:21 -04:00
Joseph Schorr
0f9a79f274 Fix CSS class name on tags input 2017-03-14 17:10:17 -04:00
Joseph Schorr
f56f94b9e2 Fix font size on sec scan column 2017-03-14 11:39:07 -04:00
Joseph Schorr
129986c0f1 Change to single directional binding on new directives 2017-03-14 11:38:17 -04:00