Commit graph

111 commits

Author SHA1 Message Date
yackob03
e787d8b2d8 Make the worker post json. Add a retry timeout after an incompletel queue item is processed. Submit webhook jobs to the queue on a successful push. 2013-11-16 15:05:26 -05:00
yackob03
ecc5f8fba7 Wire up webhooks to the UI. 2013-11-15 17:45:37 -05:00
yackob03
7ae78e5370 Merge branch 'master' of ssh://bitbucket.org/yackob03/quay into webhooks
Conflicts:
	endpoints/api.py
	test/data/test.db
2013-11-15 16:48:55 -05:00
yackob03
c1ea6263e1 Flesh out the webworkers a bit. 2013-11-15 16:45:02 -05:00
yackob03
7a071fa731 Query for and take a queue item in a transaction. 2013-11-15 16:44:33 -05:00
yackob03
f07690956d Add a fixed number of retries to each item that gets put in the work queue.: 2013-11-15 15:49:26 -05:00
Joseph Schorr
457b619647 Add receipt/invoice email support and option to Quay 2013-11-15 14:42:31 -05:00
yackob03
0f3d942b5e Re-add the missing method for getting repository builds. Add more logging to try to see why some builds are not getting removed from the queue. 2013-11-13 17:29:26 -05:00
yackob03
d7592fd133 Update the diffs worker to not fail if the repository is removed before diffs are computed. 2013-11-13 14:41:20 -05:00
yackob03
d63e75ddd2 Fix the mega query. 2013-11-08 14:04:03 -05:00
yackob03
5fe1a6806e Fix the team results for the entities query. 2013-11-07 23:35:20 -05:00
yackob03
d524559bce Fix the repo search to include repos that you get through a team and repos for which you have admin on the org. 2013-11-07 22:44:18 -05:00
yackob03
294d4849a2 Prevent login on accounts that have been converted to organizations. Fix a bug in the tags api. 2013-11-07 18:08:38 -05:00
yackob03
71f7320532 Merge branch 'orgs' of ssh://bitbucket.org/yackob03/quay into orgs 2013-11-07 17:11:10 -05:00
yackob03
603ad53f6a Fix some bugs in the tags registry api. 2013-11-07 17:09:15 -05:00
Joseph Schorr
3f2d51651e Start on organization conversion. Note that this does not yet move over the user's plan to an org plan 2013-11-07 16:33:56 -05:00
yackob03
2663a534d7 Merge branch 'orgs' of ssh://bitbucket.org/yackob03/quay into orgs 2013-11-07 12:55:35 -05:00
yackob03
ff7cd2f0a5 Subtle tweaks to the api and a fix for one bug where teams could be added to repository permissions through the API even if they were not part of the org. 2013-11-07 12:54:21 -05:00
Joseph Schorr
0c4dec6de4 - Fix namespace drop down to save the namespace last selected (and validate)
- Add a "can_create_repo" entry to the organization and have orgs grayed out in the new repo view if the user cannot create a repo
- Fix the multiple-orgs bug in the model
- Have the "create new repository" button disappear on landing if the org is selected and the user does not have create permissions for that org
2013-11-07 00:49:13 -05:00
Joseph Schorr
56f777448a Add the members tab to the org admin 2013-11-06 19:06:59 -05:00
yackob03
db59b5bf9c Add some tests to verify we're not leaking anything to completely public users (we're not) 2013-11-06 17:09:22 -05:00
yackob03
e3a3ce0f80 Prevent the user from revoking their own admin privileges. 2013-11-05 18:37:28 -05:00
yackob03
a1476b32ea Fix the problem where users in normal repos are marked as outside of the organization. 2013-11-05 17:10:14 -05:00
yackob03
427ffea6b7 Fill in the remove team methods. 2013-11-05 15:50:56 -05:00
yackob03
296695cb87 Fix the call that determines if an organization has enough private repositories. 2013-11-05 14:55:05 -05:00
yackob03
b11ab44285 Add the business plans in. 2013-11-05 14:40:45 -05:00
Joseph Schorr
1cd4fa8d9b Add team permissions support 2013-11-04 22:58:21 -05:00
yackob03
3a11ea4229 Made a stupid assumption about when users belonged to an organization, now paying for my terrible ways. 2013-11-04 18:52:38 -05:00
yackob03
109f09f0d0 Merge branch 'orgs' of ssh://bitbucket.org/yackob03/quay into orgs 2013-11-04 16:57:26 -05:00
yackob03
ac71822352 Add a description field to teams. 2013-11-04 16:57:20 -05:00
Joseph Schorr
b56bb92801 Work in progress: Continue on org view 2013-11-04 16:51:25 -05:00
Joseph Schorr
ba7360f2a9 Work in progress: Start on org view 2013-11-04 16:39:29 -05:00
yackob03
ad4e227aff Merge branch 'orgs' of ssh://bitbucket.org/yackob03/quay into orgs
Conflicts:
	data/model.py
	endpoints/api.py
	test/data/test.db
2013-11-04 15:47:27 -05:00
yackob03
dd77ebd64f Next batch of backend permissions for orgs. 2013-11-04 15:42:08 -05:00
Joseph Schorr
ecbd1f1ef3 Work in progress: Add the team management page 2013-11-04 14:56:54 -05:00
Joseph Schorr
100ec563fa - Add an entity-search directive for adding a nice search box for users or teams
- Add support for team-based permissions to the repos
2013-11-01 21:48:10 -04:00
yackob03
1aaefe6053 Merge branch 'orgs' of ssh://bitbucket.org/yackob03/quay into orgs
Conflicts:
	data/model.py
2013-11-01 19:34:58 -04:00
yackob03
4c0f987af3 Flesh out some of the organization methods and fix the models. 2013-11-01 19:34:17 -04:00
Joseph Schorr
9fa77aaa48 Add proper messaging if an organization has gone over the repo limit. This change also moves plan information into the server 2013-11-01 19:13:58 -04:00
yackob03
ecc4ad6e0f Merge branch 'orgs' of ssh://bitbucket.org/yackob03/quay into orgs 2013-11-01 14:44:22 -04:00
Joseph Schorr
d7148b1711 Start on controllers and the API for organizations. Also adds fake model methods 2013-10-31 18:17:26 -04:00
yackob03
b92fe17e3c Remove some unused model methods. 2013-10-31 17:36:53 -04:00
yackob03
621f89f826 Prepare the underlying data model for organizations. 2013-10-31 16:46:04 -04:00
yackob03
b96f678df8 User the secure s3 endpoint and store our files encrypted. 2013-10-31 11:32:08 -04:00
yackob03
6f105326aa Return unfinished items to the queue when they can be retried. 2013-10-29 15:42:19 -04:00
yackob03
d7f51fb764 Bug fixes and associated changes involved with spinning up build nodes and sending jobs to them. 2013-10-27 19:06:20 -04:00
yackob03
0ff19d5401 Filter the inactive builds when computing the is_building flag. 2013-10-27 16:00:44 -04:00
yackob03
b1a5b9c343 Fix CORS s3 upload. 2013-10-26 18:37:53 -04:00
Joseph Schorr
28f6ff1605 Get file dropping working and wire it up to call the build repo endpoint 2013-10-26 17:20:59 -04:00
yackob03
1ff67f688d Fix the content-type for S3 uploads of user data. 2013-10-25 18:18:06 -04:00