Commit graph

7788 commits

Author SHA1 Message Date
yackob03
53f2a31547 Fix some bugs with the permissions API. Prevent the user from removing themelves as admin. 2013-09-27 15:53:39 -04:00
Joseph Schorr
479e23b09d Finish up admin permissions 2013-09-27 15:48:54 -04:00
Joseph Schorr
4a80100f8f Merge branch 'master' of https://bitbucket.org/yackob03/quay 2013-09-27 15:28:06 -04:00
yackob03
57d6d349f9 Oops, forgot the new lib directory. 2013-09-27 15:28:30 -04:00
yackob03
4354b32288 Integrate moment.js and its angular bindings. 2013-09-27 15:26:30 -04:00
Joseph Schorr
4500619ca7 Merge branch 'master' of https://bitbucket.org/yackob03/quay 2013-09-27 15:26:21 -04:00
Joseph Schorr
240cf243ac Get permission changing working 2013-09-27 15:26:16 -04:00
yackob03
98dc20542c Merge branch 'master' of ssh://bitbucket.org/yackob03/quay
Conflicts:
	endpoints/api.py
2013-09-27 14:57:03 -04:00
yackob03
1883014ad9 Flesh out the API for managing permissions. 2013-09-27 14:56:14 -04:00
Joseph Schorr
685479da7b Slightly better repo list screen 2013-09-27 13:49:50 -04:00
yackob03
6bcb5cfcaa Flesh out some permissions APIs. 2013-09-27 13:24:07 -04:00
yackob03
f2ee7772f4 Stub out the repo admin view. 2013-09-26 20:34:58 -04:00
yackob03
539275d04e Add sign in and sign out. 2013-09-26 20:18:36 -04:00
yackob03
2f98c95d21 Add a user service and load the user information dynamically from the backend. 2013-09-26 19:59:58 -04:00
yackob03
ccc6e3bd2e Retab files. 2013-09-26 19:07:25 -04:00
yackob03
2fbd016595 Switch glyphicon to font awesome. 2013-09-26 18:48:22 -04:00
Joseph Schorr
68cc25b197 Add UI for a pull command box. ZeroClipboard will come next. 2013-09-26 18:21:29 -04:00
Joseph Schorr
2e476625de Merge and add tag descriptions for the latest image 2013-09-26 18:10:09 -04:00
Joseph Schorr
27ce5c00b2 Start on UI for Quay 2013-09-26 17:59:20 -04:00
yackob03
fa1fc7f9a2 Fix the tag image fetch model method. 2013-09-26 17:58:41 -04:00
yackob03
9278871381 Load flask principal permissions even for web and api endpoints. 2013-09-26 16:32:09 -04:00
yackob03
23cbcb2979 Make images belong to one repository only. Add a description field to the repository. Fix a bug with access tokens. Fix an embarrasing bug with multiple select criteria in peewee. Update the test db. 2013-09-26 15:58:11 -04:00
yackob03
5caa54ffb3 Fix a bug with pulls and repeate pushes, add permissions checks to all repository endpoints. 2013-09-26 13:42:24 -04:00
yackob03
44255421df Namespace the storage in the registry to prevent leaking images if one acquires the image id. 2013-09-25 20:00:22 -04:00
yackob03
deee70d53b Add the registry code. 2013-09-25 17:50:03 -04:00
yackob03
5151ea4412 Update the model and test db to fix tag support. 2013-09-25 17:46:42 -04:00
yackob03
08446ef59e Fix some stuff with logins and permissions, add tags to the mode. 2013-09-25 16:46:28 -04:00
yackob03
744c73509b Add a test db with one repository, one user, and several images. 2013-09-25 14:11:25 -04:00
yackob03
ee5ea51532 Refactor the code into modules, it was getting unweildy. 2013-09-25 12:45:12 -04:00
yackob03
2611d70185 Need to unwrap the flask user to get the db user for api queries. 2013-09-24 18:38:58 -04:00
yackob03
cc58b970d6 Decouple the db user from the flask login user. 2013-09-24 18:21:27 -04:00
yackob03
995ad8b679 Initial version of the angular app. 2013-09-24 18:21:14 -04:00
yackob03
e107d79612 Add some login machinery. 2013-09-23 12:37:40 -04:00
yackob03
366907b08d Fix a typo. 2013-09-20 19:35:35 -04:00
yackob03
4d5de096ab Check that the user name is the same as the namespace. 2013-09-20 18:48:18 -04:00
yackob03
81d73d434f Add missing read need from read repo permission. 2013-09-20 18:43:43 -04:00
yackob03
458b69953a Integrate flask-principal in order to provide RBAC. 2013-09-20 18:38:17 -04:00
yackob03
8e169b1026 Index that kinda works and is backed by a database. Still lots to do. 2013-09-20 11:55:44 -04:00