Commit graph

7309 commits

Author SHA1 Message Date
Charlton Austin
d32453ec25 Merge pull request #2509 from charltonaustin/fix_custom_git_trigger
fix(custom git trigger): fix subdir input
2017-04-04 17:24:52 -04:00
Joseph Schorr
30d5f2a138 Better UX for indicating upgrade is necessary to users 2017-04-04 16:15:33 -04:00
Charlton Austin
4760ea33f5 fix(custom git trigger): fix subdir input
### Description of Changes

  custom git triggers were being created incorrectly this creates them correctly
2017-04-04 15:13:42 -04:00
josephschorr
1243350d30 Merge pull request #2507 from coreos-inc/allow-null-avatars
Allow null avatars from Gitlab
2017-04-04 14:35:55 -04:00
josephschorr
255d71afa2 Merge pull request #2508 from coreos-inc/appr-push-to-image
Change appr error if you try to push to an image repository
2017-04-04 14:02:32 -04:00
josephschorr
d000cc656f Merge pull request #2505 from coreos-inc/superuser-buildlogs-internal
Display full error information for build errors in superuser view
2017-04-04 13:59:39 -04:00
Joseph Schorr
8c10b0787d Change appr error if you try to push to an image repository
501 was confusing to the users, so change to 405 and add an error explaining why the push failed

Fixes https://github.com/app-registry/helm-plugin/issues/8#issuecomment-291553739
2017-04-04 13:57:35 -04:00
Joseph Schorr
eae151ff96 Allow null avatars from Gitlab
Not all gitlab repositories have defined owners, meaning we cannot always get an avatar_url for the namespace

Fixes https://sentry.io/coreos/backend-production/issues/241774339/
2017-04-04 13:41:38 -04:00
josephschorr
1bfca871ec Merge pull request #2387 from coreos-inc/team-sync
Team synchronization support in Quay Enterprise
2017-04-03 18:26:29 -04:00
josephschorr
0597c9876b Merge pull request #2503 from coreos-inc/better-dn-error
Better handling of inability to load external frontend dependencies
2017-04-03 17:23:48 -04:00
Joseph Schorr
55b1ad49ed Make team API decorators more descriptive for better readability 2017-04-03 15:35:44 -04:00
Joseph Schorr
21d86597cf Display full error information for build errors in superuser view
Allows for easier debugging of build failures

Fixes https://www.pivotaltracker.com/story/show/142883625
2017-04-03 15:30:15 -04:00
josephschorr
880bcebd6c Merge pull request #2504 from coreos-inc/qemu-caching
Break QEMU image cache to update vulns
2017-04-03 15:01:35 -04:00
Joseph Schorr
5e248c76de Break QEMU image cache to update vulns 2017-04-03 14:56:15 -04:00
Joseph Schorr
83320c2868 Have CDN use be off by default
We only use the CDN now for testing and local development, and having it on by default breaks when doing initial setup for QE behind a corporate firewall that doesn't allow loading of the external libraries we need
2017-04-03 14:31:28 -04:00
Joseph Schorr
708afe2dc9 Display a real error if JavaScript could not be loaded in Quay
Better to display a real, actionable error instead of a fake "Session Expired" div which is only visible because CSS hasn't loaded
2017-04-03 14:29:26 -04:00
Joseph Schorr
b10608e277 Change teamsync config to be a UTF8 field 2017-04-03 14:16:34 -04:00
josephschorr
3f0f8159b7 Merge pull request #2499 from coreos-inc/docker-400
Better error messages for Docker errors
2017-04-03 11:39:07 -04:00
Joseph Schorr
bdd07d4f39 Fix flakiness in team sync tests 2017-04-03 11:36:42 -04:00
Joseph Schorr
b26bd3c9c5 Regenerate test.db after merge 2017-04-03 11:36:42 -04:00
Joseph Schorr
bd22fb255e Rename get_federated_user to get_and_link_federated_user_info
Better to be explicit wherever possible
2017-04-03 11:36:42 -04:00
Joseph Schorr
1a31d98c44 Clarify variable name in Keystone auth 2017-04-03 11:36:41 -04:00
Joseph Schorr
8c07f733eb Add pagination tests for LDAP 2017-04-03 11:36:41 -04:00
Joseph Schorr
541aa722c2 Add sleeps to make test non-flaky
Sucks, but MySQL only has second-level timing, so we need this to be sure
2017-04-03 11:36:41 -04:00
Joseph Schorr
103186f5e8 Small renames to make team syncing code more clear 2017-04-03 11:36:41 -04:00
Joseph Schorr
7f0aa19292 Code cleanup and style improvements in team sync 2017-04-03 11:36:41 -04:00
Joseph Schorr
84e37b68ee Change if statement to be more readable 2017-04-03 11:31:30 -04:00
Joseph Schorr
71d52d45ba Add a test for same user returned twice in team sync 2017-04-03 11:31:30 -04:00
Joseph Schorr
0b6c062e32 Add superuser panel config for team syncing 2017-04-03 11:31:30 -04:00
Joseph Schorr
d7825c6720 Add group iteration and syncing support to Keystone auth 2017-04-03 11:31:30 -04:00
Joseph Schorr
47278cc559 Cleanup test fixtures 2017-04-03 11:31:30 -04:00
Joseph Schorr
df603462b8 Add database migration for TeamSync 2017-04-03 11:31:29 -04:00
Joseph Schorr
04225f2d25 Add feature flag for team syncing 2017-04-03 11:31:29 -04:00
Joseph Schorr
96b9d6b0cd Add end-to-end test for team sync 2017-04-03 11:31:29 -04:00
Joseph Schorr
4055158fc4 Fix indentation 2017-04-03 11:31:29 -04:00
Joseph Schorr
938730c076 Move sync team into its own module and add tests 2017-04-03 11:31:29 -04:00
Joseph Schorr
b683088f87 Update tests for teams API 2017-04-03 11:31:29 -04:00
Joseph Schorr
eeadeb9383 Initial interfaces and support for team syncing worker 2017-04-03 11:31:29 -04:00
Joseph Schorr
94b07e6de9 Allow nulls in last_updated field to accurately report the last updated time to users for newly sync teams 2017-04-03 11:31:29 -04:00
Joseph Schorr
8ea3977140 Add ability to enable, disable and view team syncing in UI and API
Also extracts out some common testing infrastructure to make testing APIs easier now using pytest
2017-04-03 11:31:29 -04:00
Joseph Schorr
a17b637032 Fix ordering in LDAP test 2017-04-03 11:31:28 -04:00
Joseph Schorr
bb20422260 Fix pagination disabling in LDAP with mockldap
Since mockldap doesn't support pagination, just disable it globally
2017-04-03 11:31:28 -04:00
Joseph Schorr
ecfac81721 Add check_group_lookup_args and service_metadata to auth providers 2017-04-03 11:31:28 -04:00
Joseph Schorr
1cfc4a8341 Change max size of LDAP pages and add filtering to reduce attributes returned 2017-04-03 11:31:28 -04:00
Joseph Schorr
f5a854c189 Add TeamSync database and API support
Teams can now have a TeamSync entry in the database, indicating how they are synced via an external group. If found, then the user membership of the team cannot be changed via the API.
2017-04-03 11:31:28 -04:00
Joseph Schorr
d718829f5d Initial LDAP group member iteration support
Add interface for group member iteration on internal auth providers and implement support in the LDAP interface.
2017-04-03 11:31:28 -04:00
Joseph Schorr
cae9d69376 Better error messages for Docker errors 2017-03-31 17:15:14 -04:00
Alec Merdler
df235d9315 Merge pull request #2501 from alecmerdler/fix-buildservice
Handle undefined case in BuildService#getBuildMessage
2017-03-31 13:56:15 -07:00
alecmerdler
57beee6c69 handle undefined case in BuildService#getBuildMessage 2017-03-31 13:53:42 -07:00
Charlton Austin
484ecd961e Merge pull request #2497 from charltonaustin/add_in_dockerfile_path
feat(add dockerfile_path to build api): added param to specify path
2017-03-30 16:30:44 -04:00