Joseph Schorr
3ebcc07fec
Fix bug in the markdown viewer
...
Fixes https://jira.coreos.com/browse/QUAY-840
2018-03-16 12:28:32 -04:00
Brad Ison
d6905a0081
Merge pull request #3025 from bison/outside-collaborators
...
Add outside collaborators view to team manager interface
2018-03-16 12:13:21 -04:00
Brad Ison
452379c603
Add collaborators view to teams manager
...
Adds a view of an organization's outside collaborators to the team
manager interface.
2018-03-15 15:26:37 -04:00
Brad Ison
e8429f9194
Add organization collaborators API endpoint
...
Adds an API endpoint, `/v1/organization/<orgname>/collaborators`, that
lists an organization's "outside collaborators", i.e. users that have
direct permissions on one or more repositories belonging to the
organization, but who aren't members of any teams in the organization.
2018-03-14 16:11:53 -04:00
Joseph Schorr
f1da3c452f
Remove unused code
2018-03-12 20:32:05 -04:00
Joseph Schorr
96fafcdffb
Add UI for viewing and setting the description of a robot account
2018-03-12 20:32:05 -04:00
Joseph Schorr
254cdfe43a
Add support for metadata on robot accounts
...
Fixes https://jira.coreos.com/browse/QUAY-847
Fixes https://jira.coreos.com/browse/QUAY-816
2018-03-12 20:32:05 -04:00
Joseph Schorr
a693771345
Add creation date information to robots API and UI
...
Fixes https://jira.coreos.com/browse/QUAY-846
2018-03-09 13:55:19 -05:00
Joseph Schorr
c4a6273e00
Add creation date to User table
2018-03-09 13:31:29 -05:00
Joseph Schorr
2d34b89203
Decrease redis timeouts to within the WAMP message window
...
This ensures that if the builder sends a heartbeat, but redis is down, we don't time out the build while waiting to connect or receive. Since Redis data is ephemeral anyway, this should give us more stability in builds if/when redis is down
2018-03-02 16:53:37 -05:00
Joseph Schorr
da45bedcdb
Remove 404 when an entity is not a member of a team, but is a robot under the org.
...
Fixes #1200
2018-03-02 16:07:03 -05:00
josephschorr
32a473d23c
Merge pull request #3022 from coreos-inc/cache-serialization-fix
...
Fix serialization of blobs to/from the cache
2018-03-02 14:26:46 -05:00
Joseph Schorr
24b77bbc10
Fix serialization of blobs to/from the cache
...
Also makes sure the test checks that serialization
2018-03-02 14:22:55 -05:00
josephschorr
0bc1a06f4c
Merge pull request #3021 from coreos-inc/temp-fix
...
Add missing update on temp memcached install
2018-03-02 13:44:58 -05:00
Joseph Schorr
22fa44cf1a
Add missing update on temp memcached install
2018-03-02 13:43:14 -05:00
josephschorr
ae4b2d377a
Merge pull request #3020 from coreos-inc/temp-add-memcached-to-dockerfile
...
Add memcached install temporarily to the top-level Dockerfile
2018-03-02 13:38:03 -05:00
Joseph Schorr
c2099c3578
Add memcached install temporarily to the top-level Dockerfile
...
The quay-base Dockerfile is broken (great...), and so we cannot update it with the memcached dependency
2018-03-02 13:35:57 -05:00
josephschorr
d2069a4bba
Merge pull request #3019 from coreos-inc/mysql-field
...
Change name field back to a normal string
2018-03-02 13:26:16 -05:00
Joseph Schorr
ff1773bd28
Change name field back to a normal string
...
Our prod MySQL does not support an index on a UTF8 field of this size; thankfully, we don't need UTF8 here
2018-03-02 13:23:30 -05:00
josephschorr
e992e576b2
Merge pull request #3018 from coreos-inc/missing-default-value
...
Add missing server_default on enabled col in repositorybuildtrigger
2018-03-02 13:15:32 -05:00
Joseph Schorr
4db4a44491
Add missing server_default on enabled col in repositorybuildtrigger
...
Without it, we'll default all existing triggers to disabled
2018-03-02 13:13:32 -05:00
josephschorr
dbe4258fc4
Merge pull request #2892 from coreos-inc/joseph.schorr/QS-21/autodisable-triggers
...
Automatic disabling of failing build triggers
2018-03-02 11:37:38 -05:00
Joseph Schorr
ed84835d23
Changes for code review
2018-03-01 16:49:52 -05:00
Joseph Schorr
3438c1bfad
Add new config fields to the schema
2018-03-01 16:49:51 -05:00
Joseph Schorr
de2469ccdc
Add warning that triggers will be auto-disabled
2018-03-01 16:49:51 -05:00
Joseph Schorr
3837a7c2ed
Add datetime of when a trigger was disabled
2018-03-01 16:49:51 -05:00
Joseph Schorr
93d79e777e
Automatically disable build triggers with successive failures or internal errors
...
We allow users to reenable them manually once disabled
2018-03-01 16:49:51 -05:00
Joseph Schorr
c35eec0615
Add ability for triggers to be disabled
...
Will be used in the followup commit to automatically disable broken triggers
2018-03-01 16:49:28 -05:00
josephschorr
1e54a4d9e9
Merge pull request #2949 from coreos-inc/joseph.schorr/QS-91/memcached
...
Switch Quay to using an in-container memcached for data model caching
2018-03-01 16:48:52 -05:00
josephschorr
fd3117f217
Merge pull request #3017 from coreos-inc/superuser-api
...
Remove internal_only from superuser APIs for users and orgs
2018-03-01 15:25:01 -05:00
Joseph Schorr
4be3594ec8
Remove internal_only from superuser APIs for users and orgs
2018-03-01 15:14:39 -05:00
Joseph Schorr
ab0172d2fd
Switch Quay to using an in-container memcached for data model caching
2018-02-27 16:55:22 -05:00
josephschorr
5cecc54bd5
Merge pull request #3014 from coreos-inc/joseph.schorr/QUAY-838/async-delete
...
Make namespace deletion asynchronous
2018-02-27 14:01:32 -05:00
Joseph Schorr
8bc55a5676
Make namespace deletion asynchronous
...
Instead of deleting a namespace synchronously as before, we now mark the namespace for deletion, disable it, and rename it. A worker then comes along and deletes the namespace in the background. This results in a *significantly* better user experience, as the namespace deletion operation now "completes" in under a second, where before it could take 10s of minutes at the worse.
Fixes https://jira.coreos.com/browse/QUAY-838
2018-02-27 13:12:51 -05:00
Brad Ison
d9015a1863
Merge pull request #3000 from bison/update-deps
...
Update dependencies
2018-02-26 14:57:22 -05:00
Brad Ison
6cfa96bdeb
Update all dependencies
2018-02-26 13:09:40 -05:00
Brad Ison
d4ee938a5d
Fix license test in Dockerfile
2018-02-26 12:56:01 -05:00
Brad Ison
d1ba2dcfc3
Add labels to test cases for invalid JWTs
2018-02-26 12:55:49 -05:00
Brad Ison
5da8744ddf
Reject JWTs with future issued-at times
...
PyJWT stopped doing this in 1.5.0 because it's not part of the spec,
and there are legitimate reasons to issue future tokens. We still
want to reject these though as we don't have that need.
2018-02-26 12:55:32 -05:00
Brad Ison
f0d6b69729
Pin cnr_server version
2018-02-26 12:55:16 -05:00
Brad Ison
77e894d958
Remove old cnr from requirements-nover.txt
2018-02-26 12:55:01 -05:00
Brad Ison
cb729d0dfd
Merge pull request #3015 from bison/blobupload-byte-count
...
Make byte_count on BlobUpload table not nullable
2018-02-26 12:33:40 -05:00
Brad Ison
f89a16a64d
Make byte_count on BlobUpload table not nullable
...
The byte_count field on the BlobUpload model is marked as not
nullable, but the migration to make the field a big integer removed
that restriction (#2388 :: 76de324
) in the database. It's still in
the model though, which means they are out of sync. This adds a
migration to mark the field as not nullable in the database again.
2018-02-26 11:36:56 -05:00
Brad Ison
f458307ffd
Merge pull request #3009 from bison/drop-image-checksum
...
Drop checksum from ImageStorage table
2018-02-24 17:27:13 -05:00
Brad Ison
5bd826e7b5
Drop checksum from ImageStorage table
...
The checksum field was removed from the ImageStorage model in #815 ,
but was never dropped from the database. This adds a migration to
drop the unused column.
2018-02-24 17:00:07 -05:00
josephschorr
823ce52466
Merge pull request #3013 from coreos-inc/joseph.schorr/QUAY-837/filtered-check
...
Have cor-checkable-menus reflect the filtered set of items
2018-02-21 16:43:32 -05:00
Joseph Schorr
e857c676db
Have cor-checkable-menus reflect the filtered set of items
...
Fixes https://jira.coreos.com/browse/QUAY-837
2018-02-21 16:38:21 -05:00
josephschorr
6220df4f88
Merge pull request #3012 from coreos-inc/access-control-header
...
Add X-Requested-With header to allowed CORS headers
2018-02-21 14:27:36 -05:00
josephschorr
f851693095
Merge pull request #3011 from coreos-inc/mysql-queue-tests
...
Switch build queue limiter query to use total number of alive jobs
2018-02-21 14:21:57 -05:00
Joseph Schorr
bcd9b680fa
Add X-Requested-With header to allowed CORS headers
...
Will fix the API explorer
2018-02-21 14:21:27 -05:00