Commit graph

6929 commits

Author SHA1 Message Date
Joseph Schorr
1d3af2b0bd Fix take ownership of organizations
Take ownership code got moved into its own directive in Oct, but we forgot we have a call in superuser panel for orgs as well. Fix this, and simplify the call sites
2017-03-22 12:25:20 -04:00
josephschorr
789e35668c Merge pull request #2388 from coreos-inc/max-layer-size
Make maximum layer size configurable
2017-03-21 13:17:24 -04:00
Joseph Schorr
ff7f78e990 Have blob uploads be checked against configurable max layer size 2017-03-21 13:16:55 -04:00
Joseph Schorr
239b6d7cf8 Make LayerTooLarge error more informative 2017-03-21 13:14:11 -04:00
Joseph Schorr
dd7f254f96 Have blob uploads be checked against configurable max layer size 2017-03-21 13:14:11 -04:00
Joseph Schorr
dd35677712 Add configurable maximum layer size in nginx 2017-03-21 13:14:11 -04:00
Joseph Schorr
76de324ca8 Change blob upload ints into bigints 2017-03-21 13:14:11 -04:00
Charlton Austin
3502d9f61c Merge pull request #2438 from charltonaustin/phase_one_config
refactor(data): add in new config for builder
2017-03-21 10:16:51 -04:00
josephschorr
b2be241379 Merge pull request #2448 from coreos-inc/fix-transitive-test
Transitive query checks need to be for updates, not just deletes
2017-03-20 21:17:52 -04:00
Joseph Schorr
a047257656 Transitive query checks need to be for updates, not just deletes
MySQL doesn't support transitive updates either, so we need to extend the testing to prevent the recent breakage from occurring again
2017-03-20 21:06:37 -04:00
Jimmy Zelinskie
81b01aa263 Merge pull request #2446 from jzelinskie/fix-deletes
data.database: beta classes skip transitive delete
2017-03-20 18:48:08 -04:00
Jimmy Zelinskie
6a538647e4 data.database: beta classes skip transitive delete 2017-03-20 18:41:39 -04:00
josephschorr
9cbd645088 Merge pull request #2445 from coreos-inc/fix-trigger-bugs
Fix some small build trigger bugs
2017-03-20 18:37:26 -04:00
Joseph Schorr
6476488221 Skip bitbucket pushes without any commits
Fixes https://sentry.io/coreos/backend-production/issues/178220183/
2017-03-20 18:23:21 -04:00
Joseph Schorr
4cb8412fd8 Fix NoneType error in GH trigger when it has no pushed_at field
This appears to occur in new repositories that have not yet been pushed.

Fixes https://sentry.io/coreos/backend-production/issues/234686591/
2017-03-20 18:14:50 -04:00
josephschorr
4bee4dbfff Merge pull request #2443 from coreos-inc/build-webhook-tests
Add tests for build web hooks endpoint
2017-03-20 16:26:57 -04:00
josephschorr
27aa12de7a Merge pull request #2439 from coreos-inc/remove_redis_log_expiration
Switch from expire to delete redis log_entries
2017-03-20 13:41:57 -04:00
josephschorr
a77f8f913f Merge pull request #2442 from coreos-inc/manual-robot-select
Always allow robot accounts to be selected by admins in trigger setup
2017-03-20 13:39:52 -04:00
Joseph Schorr
8bbe0e5e9b Always allow robot accounts to be selected by admins in trigger setup
Currently during trigger setup, if we don't know for sure that a robot account is necessary, we don't show the option to select one. This fails if the user has a Dockerfile in a branch or tag with a private base image *or* they *intend* to add a private base image once the trigger is setup. Following this change, we always show the option to select a robot account, even if it isn't determined to be strictly necessary.
2017-03-20 13:24:55 -04:00
Joseph Schorr
6f567e0850 Add tests for build web hooks endpoint 2017-03-20 13:22:59 -04:00
Charlton Austin
f701677a8e refactor(data): add in new config for builder
we are doing phase one of the four phase migration on the builder config
2017-03-20 13:03:41 -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
Antoine Legrand
ec847ce613 Switch from expire to delete redis log_entries 2017-03-17 15:35:47 +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