Brad Ison
8e5c67e207
Use get_or_create in place of create_or_get
...
Peewee v2.9.0 removes the create_or_get method.
2018-04-04 14:21:16 -04:00
Brad Ison
c2ad6c5060
Check for null model objects
...
As of v2.8.2, peewee will not create model objects with all null
fields when an FK reference is null. We have to check the model
instances for None. See:
https://github.com/coleifer/peewee/issues/1012
2018-04-04 14:19:45 -04:00
josephschorr
a0d0e42d7a
Merge pull request #3048 from coreos-inc/image-model-tests
...
Add tests for image model, fix a small bug and remove an unused function
2018-04-04 13:29:43 -04:00
Joseph Schorr
82da2042fd
Add tests for image model, fix a small bug and remove an unused function
2018-04-04 13:13:52 -04:00
josephschorr
cc72d86fa2
Merge pull request #3045 from coreos-inc/remove-placements-query
...
Simplifying queries around images and placements
2018-04-03 17:33:24 -04:00
Joseph Schorr
8146646761
Simplifying queries around images and placements
...
Only verbs needs to load placements for multiple images, so we can vastly simplify and optimize most queries by making it two-step, and having the rest of the image loads not worry about placements
2018-04-03 16:23:49 -04:00
josephschorr
ba812bb794
Merge pull request #3047 from coreos-inc/2.9.0-release
...
CHANGELOG for v2.9.0
2018-04-03 13:57:42 -04:00
Joseph Schorr
fc2db5b78b
CHANGELOG for v2.9.0
2018-04-03 12:22:21 -04:00
Jimmy Zelinskie
1041481ff3
Merge pull request #3046 from jzelinskie/torrent-validator
...
util/config/validators: ensure endpoint isn't prom
2018-04-03 12:10:56 -04:00
Jimmy Zelinskie
58072f8673
util/config/validators: ensure endpoint isn't prom
2018-04-02 17:59:48 -04:00
josephschorr
0c7c9a7a0a
Merge pull request #3042 from coreos-inc/fix-robot-metadata-json-default
...
Default for robot account metadata should be an empty dict, not a string
2018-03-27 17:31:34 -04:00
Joseph Schorr
f6b647bd61
Default for robot account metadata should be an empty dict, not a string
2018-03-27 17:29:55 -04:00
josephschorr
0e7e08564f
Merge pull request #3041 from coreos-inc/missing-license
...
Changes missing from removal of the license code
2018-03-27 16:21:07 -04:00
nstielau
f376db91f5
Merge pull request #3040 from coreos-inc/entitytypo
...
Fix minor typo in new entity creation dialog
2018-03-27 13:20:41 -07:00
Joseph Schorr
111ba8f7ee
Changes missing from the license removal code
2018-03-27 16:18:56 -04:00
nstielau
d1455b2f8e
Fix minor typo in new entity creation dialog
...
`extran` => `extra`
2018-03-27 13:15:05 -07:00
josephschorr
6f0b2f9a90
Merge pull request #3039 from coreos-inc/fix-fontawesome
...
Match loaded fontawesome fonts to the CSS version
2018-03-27 14:45:52 -04:00
Joseph Schorr
bb675a5123
Match loaded fontawesome fonts to the CSS version
2018-03-27 14:45:07 -04:00
josephschorr
e5103c8f71
Merge pull request #3037 from coreos-inc/dep-update-version
...
Break apt-get cache to update dependencies
2018-03-27 12:29:50 -04:00
Joseph Schorr
82d1d0152d
Break apt-get cache to update dependencies
2018-03-27 12:28:50 -04:00
josephschorr
323eb63747
Merge pull request #3032 from coreos-inc/joseph.schorr/QUAY-885/squashed-sym
...
Retarget broken hard links in squashed images
2018-03-26 17:59:52 -04:00
josephschorr
8c2936c452
Merge pull request #3036 from coreos-inc/joseph.schorr/QUAY-896/torrent-unicode-error
...
Fix error with unicode URLs in torrent creation
2018-03-26 17:10:52 -04:00
Joseph Schorr
747819fbd2
Fix error with unicode URLs in torrent creation
...
Fixes https://jira.coreos.com/browse/QUAY-896
2018-03-26 17:07:00 -04:00
Joseph Schorr
dd470bdc9d
Add a reporter for verbs to track number of storage streams are needed
2018-03-26 17:02:39 -04:00
josephschorr
49659fc3dd
Merge pull request #3034 from coreos-inc/fix-dockerfiles
...
Fix Dockerfiles for broken Go compile and remove temp memcache install
2018-03-26 11:38:36 -04:00
Joseph Schorr
46b0c075f6
Fix Dockerfiles for broken Go compile and remove temp memcache install
2018-03-26 11:38:14 -04:00
Joseph Schorr
110366f656
Retarget hard links pointing to deleted files by emitting the deleted file contents under the first hard link instance. This fixes a breakage in the squashed TAR where we were pointing hard links to missing data.
...
Fixes https://jira.coreos.com/browse/QUAY-885
2018-03-23 14:00:46 -04:00
josephschorr
7b5c22c699
Merge pull request #1205 from coreos-inc/apiimprov
...
Remove 404 when an entity is not a member of a team, but is a robot u…
2018-03-22 21:41:16 -04:00
josephschorr
b897d896d7
Merge pull request #2876 from coreos-inc/blocking-logs-fix
...
Decrease redis timeouts to within the WAMP message window
2018-03-22 21:40:47 -04:00
josephschorr
3da8dda19e
Merge pull request #3033 from coreos-inc/limit-json
...
Limit the size of then payload for creating robot accounts
2018-03-22 14:08:03 -04:00
Joseph Schorr
6d365418b7
Limit the size of then payload for creating robot accounts
2018-03-22 13:54:56 -04:00
josephschorr
6c43b7ff0d
Merge pull request #3024 from coreos-inc/manageable-robots
...
Manageable robots epic
2018-03-21 18:50:17 -04:00
Joseph Schorr
2ea13e86a0
Add last_accessed information to User and expose for robot accounts
...
Fixes https://jira.coreos.com/browse/QUAY-848
2018-03-21 15:28:34 -04:00
josephschorr
d7b015492c
Merge pull request #3031 from coreos-inc/joseph.schorr/QUAY-833/no-more-licenses
...
Remove license code in Quay
2018-03-20 18:22:40 -04:00
josephschorr
6a4550daea
Merge pull request #3029 from coreos-inc/joseph.schorr/QUAY-880/invite-bug
...
Fix team add/invite logic around when an invite is required
2018-03-20 17:06:38 -04:00
Joseph Schorr
3586955669
Remove license code in Quay
...
No longer needed under Red Hat rules \o/
Fixes https://jira.coreos.com/browse/QUAY-883
2018-03-20 17:03:35 -04:00
josephschorr
041a7fcd36
Merge pull request #3030 from coreos-inc/schema-cleanup
...
Small fixes for config schema validator in response to customer logs
2018-03-20 14:55:12 -04:00
Joseph Schorr
8e6ede4ac7
Small fixes for config schema validator in response to customer logs
2018-03-20 13:35:26 -04:00
Joseph Schorr
c4debe011c
Fix team add/invite logic around when an invite is required
...
We were accidentally skipping the invite if the user was a member of *any* organization, rather than the specific organization (as intended)
Fixes https://jira.coreos.com/browse/QUAY-880
2018-03-16 17:13:27 -04:00
josephschorr
019ad01e70
Merge pull request #3028 from coreos-inc/joseph.schorr/QUAY-841/munchkin-error-fix
...
Fix `Munchkin` lookup check
2018-03-16 14:28:55 -04:00
josephschorr
ca0772e1b5
Merge pull request #3027 from coreos-inc/joseph.schorr/QUAY-871/oauth-scopes
...
Fix OAuth scopes display
2018-03-16 14:28:40 -04:00
Joseph Schorr
783ed4ef26
Fix Munchkin
lookup check
...
Fixes https://jira.coreos.com/browse/QUAY-841
2018-03-16 13:12:33 -04:00
Joseph Schorr
86f898d9bd
Fix OAuth scopes display
...
Before, we were sending the wrong kind of data (namedtuple instead of dict) in the non-superuser case, which broke prod. Now, we always explicitly send a standard dictionary.
Fixes https://jira.coreos.com/browse/QUAY-871
2018-03-16 13:03:42 -04:00
josephschorr
6212e552eb
Merge pull request #3026 from coreos-inc/joseph.schorr/QUAY-840/markdown-error-fix
...
Fix bug in the markdown viewer
2018-03-16 12:34:38 -04:00
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