Commit graph

467 commits

Author SHA1 Message Date
Joseph Schorr
be0fba276f Bug fixes:
- Report proper errors when trying to change permissions
  - Turn off the auto-caps of the team names
  - Fix the is_org_member checks everywhere
  - Fix resetting of roles if the change was not successful
2013-11-07 23:35:27 -05:00
yackob03
9f1bf1499d Merge branch 'orgs' of ssh://bitbucket.org/yackob03/quay into orgs
Conflicts:
	static/partials/new-organization.html
2013-11-07 22:47:27 -05:00
Joseph Schorr
ecd09358ee Cache bust the search box when the user changes and fix an NPE in the landing page controller 2013-11-07 22:44:34 -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
Joseph Schorr
fe69ba5ec1 - Fix a bug with subscribing in the new repo view
- Have conversion to organization update its plan to a business plan
- Fix bug in the repo donut usage graph thingy where it had zero size when not in the default tab
2013-11-07 22:08:23 -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
Joseph Schorr
a7415ef4d3 Have the org plans on the plans page link to new organization, with the selected plan, well… selected :) 2013-11-07 15:33:56 -05:00
Joseph Schorr
44f1ff0ef1 Add ability to create a new organization 2013-11-07 15:19:52 -05:00
Joseph Schorr
70c02eae16 Work in progress: Organizations page (with a fake tour) and start on the locations for the create new org and convert to org forms 2013-11-07 01:48:58 -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
4b460be4dd Update repo list and landing page to support choosing the list of repos to see (org or personal) 2013-11-06 21:52:31 -05:00
Joseph Schorr
ce91190a7e Fix race condition in the plan manager 2013-11-06 19:19:21 -05:00
Joseph Schorr
56f777448a Add the members tab to the org admin 2013-11-06 19:06:59 -05:00
Joseph Schorr
fb1732d069 Fix it so the user admin page shows the plan pay dialog when loaded with the proper parameter 2013-11-06 18:14:22 -05:00
Joseph Schorr
10db2884ac Redo user admin page to match the style of the org admin page 2013-11-06 17:59:16 -05:00
Joseph Schorr
dba806fd97 Merge branch 'orgs' of https://bitbucket.org/yackob03/quay into orgs 2013-11-06 17:30:26 -05:00
Joseph Schorr
a6a225dd5f Check in all new plan manager directive and add a nice donut chart for the repository usage by the user/org 2013-11-06 17:30:20 -05:00
yackob03
fb5fa4b15a Add a quay logo to the stripe checkout process. 2013-11-06 14:55:40 -05:00
Joseph Schorr
e356a10378 Add support for org-based subscriptions 2013-11-06 14:19:56 -05:00
Joseph Schorr
b145f72369 Start on org admin page 2013-11-05 18:39:27 -05:00
Joseph Schorr
91806ee252 Merge branch 'orgs' of https://bitbucket.org/yackob03/quay into orgs 2013-11-05 17:20:56 -05:00
Joseph Schorr
237614dcef Finish up create team 2013-11-05 17:20:43 -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
Joseph Schorr
221a7d4998 Work on adding new team button 2013-11-05 16:15:04 -05:00
Joseph Schorr
2f78a4d6ea Fix errors introduced by recent CLs 2013-11-05 15:31:49 -05:00
Joseph Schorr
6e2b2126a6 Merge branch 'orgs' of https://bitbucket.org/yackob03/quay into orgs 2013-11-05 14:47:56 -05:00
yackob03
ac72a8d86d Pass whether an orgazanition is creating the plan to the plan service to calculate the next minimum plan. 2013-11-05 14:47:48 -05:00
Joseph Schorr
a79b181496 Add a roles directive and properly recolor the roles 2013-11-05 14:47:46 -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
Joseph Schorr
97fa69a361 Add ability to display and edit the team's description 2013-11-04 20:17:58 -05:00
Joseph Schorr
fd68564b3f Add a markdown input directive and convert both uses of the editor to the directive 2013-11-04 19:59:28 -05:00
Joseph Schorr
9beb627ab0 Add a markdown-view directive and change all uses of markdown in the partials to use the directive 2013-11-04 19:36:56 -05:00
Joseph Schorr
e70f863350 Work in progress: Continue on org view 2013-11-04 19:11:13 -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
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
Joseph Schorr
61e9b1629d Work in progress: Start on org view and finish up the team members view 2013-11-04 16:21:49 -05:00
Joseph Schorr
e6fadbca05 Add ability to change the members of a team 2013-11-04 15:31:38 -05:00
Joseph Schorr
633f603f9d Merge branch 'master' into orgs
Conflicts:
	endpoints/api.py
	static/partials/new-repo.html
2013-11-04 14:59:00 -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
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
Joseph Schorr
1f0b142535 Add a namespace selector for choosing the namespace in the new repo view 2013-11-01 17:35:26 -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
Joseph Schorr
c3b10c12bb Add check for existing repo with the same name 2013-10-31 15:04:07 -04:00
yackob03
65aad1a2d9 Merge remote-tracking branch 'origin/dockerbuild'
Conflicts:
	static/css/quay.css
2013-10-30 18:42:17 -04:00
Joseph Schorr
ac88ca4ac2 Add dispose to the correct tree 2013-10-30 16:13:34 -04:00
Joseph Schorr
6a4341e2cf Show a please sign in message instead of redirecting on the new repo page 2013-10-30 15:44:01 -04:00
Joseph Schorr
e047b5e11e Dispose of the existing image tree so that a new one can be drawn in its place 2013-10-30 13:55:44 -04:00
Joseph Schorr
8a0d6d05b4 Fix case where image changes load results in a 404 2013-10-30 13:03:44 -04:00
Joseph Schorr
081041b85f - Update the repo page when a build is complete
- Change the polling to be 5s
- Show a message on an empty repo when building
2013-10-29 20:54:36 -04:00
Joseph Schorr
dbbec5a853 Fix description handling in new repo view 2013-10-29 20:21:18 -04:00
Joseph Schorr
da71aa7254 Clear the timer that watches build status when the page is changed 2013-10-29 18:56:56 -04:00
yackob03
a313a77a6b Switch some unnecessary button calls over to links. 2013-10-29 13:41:26 -04:00
Joseph Schorr
1ee21318d4 Have the private option in the new repo form alert the user about needing to purchase a plan and let them do so 2013-10-28 17:08:26 -04:00
Joseph Schorr
bb2446c45c Actually, there is a simpler way to do this 2013-10-28 13:33:19 -04:00
Joseph Schorr
59543a2e51 Add the image push percent to the progress bar 2013-10-28 13:31:43 -04:00
Joseph Schorr
5175364e62 Add a create repo button in a few places 2013-10-28 13:22:18 -04:00
Joseph Schorr
8cb177128b Fixes to the new repo and build status:
- make the new repo icon gray
  - have the build status properly center (this is a hack, unfortunately)
  - have the build status update when open
2013-10-28 13:09:22 -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
Joseph Schorr
fc6e3258a8 Work in progress: Add the UI for the build status and start on the file drop stuff 2013-10-26 16:03:11 -04:00
yackob03
e418d21d31 Fix the header links when we're on a non-angular page. 2013-10-24 23:56:08 -04:00
Joseph Schorr
2113fcf54f Merge branch 'dockerbuild' of https://bitbucket.org/yackob03/quay into dockerbuild 2013-10-24 17:42:17 -04:00
Joseph Schorr
70fd9afb2b Start on new repo page 2013-10-24 17:41:55 -04:00
yackob03
b4d916bcc5 Update to Font Awesome 4. 2013-10-24 17:41:37 -04:00
Joseph Schorr
4b25d2458b Change the filename to .dockercfg 2013-10-22 22:46:43 -04:00
Joseph Schorr
08c365be28 Add a "Download dockercfg" link to the token view 2013-10-22 22:39:36 -04:00
Joseph Schorr
d51ab5952b - Add a repo-circle directive and change all repo icons uses to it
- Have the repo-circle directive show the padlock in all places
- Mention SSL on the landing page and the pricing page
2013-10-22 01:26:14 -04:00
Joseph Schorr
7884fef5f3 Fix animation reset in Firefox 2013-10-22 00:40:33 -04:00
yackob03
b2315a4331 Allow the signin page to be snapshotted. 2013-10-20 13:54:00 -04:00
Joseph Schorr
065ad64e78 Add resizing support to the image diff tree 2013-10-20 13:46:24 -04:00
Joseph Schorr
000e5ceaa4 Fix source of the links drawn in the image changes tree view 2013-10-19 20:03:22 -04:00
Joseph Schorr
3a134c7ab1 Add a tree view to the image changes view 2013-10-19 19:46:30 -04:00
Joseph Schorr
0afea3a779 Add the image view page with the changes view, filterable by typing into a field. Still needs pagination or some other mechanism for getting an overview 2013-10-18 22:28:46 -04:00
Joseph Schorr
9541bfad5d Fix remaining calculation 2013-10-18 20:23:41 -04:00
Joseph Schorr
262634555a Work in progress: Show the diff information in the UI 2013-10-18 17:59:26 -04:00
yackob03
99eedb14d1 Wait until the image container is really already shown before calling resize. 2013-10-17 17:59:34 -04:00
Joseph Schorr
e382fa1e58 Add a status page to /v1/ so that people don't get confused by the message that docker emits 2013-10-17 17:45:08 -04:00
yackob03
4f0dced8e7 Merge branch 'tokenauth'
Conflicts:
	test.db
2013-10-17 16:52:26 -04:00
yackob03
982fdd4c5f Fix some tabs and some spelling errors, prevent empty tokens, move the tooltips to the left. 2013-10-17 16:50:58 -04:00
Joseph Schorr
d6216dcc5f Fix the collapsed node title to show the correct number of images 2013-10-17 15:39:24 -04:00
Joseph Schorr
ce458f93ef Have the image tree update itself in response to resizing 2013-10-17 15:20:27 -04:00
Joseph Schorr
faf6a5c497 Add UI polishing to the token auth stuff 2013-10-17 14:46:23 -04:00
yackob03
7c289beba5 Notify the tree when the container was probably resized. 2013-10-17 14:29:47 -04:00
Joseph Schorr
898210065e Fix issue with changing the tag right after selecting the tag's image 2013-10-16 23:55:11 -04:00
Joseph Schorr
58aaf41430 Merge branch 'master' of https://bitbucket.org/yackob03/quay 2013-10-16 23:12:00 -04:00
Joseph Schorr
f798345d1c Have the view repo page's URL be updated for the currently selected tag automatically. 2013-10-16 23:09:43 -04:00
yackob03
ace813d88d Call setTag in the right place. Remove spurious console logging. 2013-10-16 22:49:37 -04:00
yackob03
6d75c28ecd Merge branch 'master' of bitbucket.org:yackob03/quay 2013-10-16 22:44:48 -04:00
yackob03
98cb902cf8 Actually set the proposed tag to the current tag. 2013-10-16 22:44:44 -04:00
yackob03
8987f32d9d Fix some tabs. 2013-10-16 22:44:29 -04:00
Joseph Schorr
0c3c1b9e0e Properly handle empty repos 2013-10-16 22:42:35 -04:00
yackob03
6ae725eace Merge branch 'master' of bitbucket.org:yackob03/quay 2013-10-16 22:37:34 -04:00
yackob03
d6e89f76ad Select a sane default tag. 2013-10-16 22:37:29 -04:00
Joseph Schorr
50929102b5 Have the image tree allow a state with no selected image nor so selected tag. 2013-10-16 22:33:35 -04:00
yackob03
283f9b81ae First stab at token auth. The UI could use a little bit of polishing. 2013-10-16 14:24:10 -04:00
yackob03
4c15072c5a Move signin to use AJAX. Render all flask templates with the common header. Move the header to a partial. Add account recovery. 2013-10-14 17:50:07 -04:00
yackob03
e3db0398ce Add routes specifically for all angular subroutes so that 404s will start working again. Add a warning in app.js to hopefully ensure that new routes get created when necessary. 2013-10-13 22:06:31 -04:00
yackob03
124c31fb36 Fix broken links that were still using fragment. 2013-10-12 13:24:55 -04:00
yackob03
4040bb37c6 Tweak drawing.js to have a better default margin that never truncates image ids on the left in small widths. Tweak the screenshot generator to use the smallest possible width. Remove tabs from several files. Add the browser-chrome plugin to wrap phantomjs screenshots with browser chrome. Add some repository descriptions to the dataset generator. Switch to using our own screenshots vs those hosted on blogger. 2013-10-11 21:28:02 -04:00
Joseph Schorr
04b8a009da - Add a debug mode to the casper script
- Have the casper script generate screenshots for the repo view and repo admin
2013-10-11 15:02:08 -04:00
yackob03
076ef34ff2 Merge branch 'master' of ssh://bitbucket.org/yackob03/quay 2013-10-11 01:17:57 -04:00
yackob03
3f4d49213c Merge branch 'prerender' 2013-10-11 01:17:33 -04:00
Joseph Schorr
44eef148e7 Skip the first encountered node (since it is the root of the collapsed tree) 2013-10-11 01:10:23 -04:00
Joseph Schorr
04d4024d8c Make the horrific tree look half decent. Also adds a nice scrolling feature to the tree 2013-10-11 01:06:04 -04:00
yackob03
da29da5c66 More updates to allow for static snapshotting. 2013-10-10 23:42:03 -04:00
yackob03
785995b473 First stab at trying to pre-render content for search crawlers. 2013-10-10 20:53:14 -04:00
Joseph Schorr
2ae4dbd9fa Merge branch 'master' of https://bitbucket.org/yackob03/quay 2013-10-10 20:48:33 -04:00
Joseph Schorr
90759e0cb2 New view repo UI 2013-10-10 20:43:37 -04:00
yackob03
ce81431cd3 Enable HTML5 mode for routing. 2013-10-10 19:06:04 -04:00
yackob03
5cca40e41d Merge branch 'master' of ssh://bitbucket.org/yackob03/quay 2013-10-10 17:32:39 -04:00
yackob03
32b28df2d2 Send a registration even for github created users. Alias their new username to their old mixpanel ID passed in the OAuth state parameter. 2013-10-10 17:32:32 -04:00
Joseph Schorr
a7f5b5e033 Reverse the direction of the tree and make it dynamically change the current tag. 2013-10-10 17:13:42 -04:00
yackob03
b9a5060882 Set the created variable in a set_once on the user service. This will make it work for github logins as well. 2013-10-10 16:34:59 -04:00
yackob03
669b3fcde1 Add login with GitHub to the landing page. 2013-10-10 14:42:14 -04:00
yackob03
5b25d8db5b Reset the form back to a pristine state on a successful password change. 2013-10-10 14:02:28 -04:00
yackob03
16ee147eae Add a form for changing the password and prompt the user to do so when there is no password on the account. 2013-10-10 13:44:34 -04:00
Joseph Schorr
bb5fea6a5f Add tree view for image history 2013-10-10 02:09:17 -04:00
Joseph Schorr
b924fa5336 Merge branch 'master' of https://bitbucket.org/yackob03/quay 2013-10-10 00:40:30 -04:00
Joseph Schorr
9f094af1b2 Begin work on an image history tree view 2013-10-10 00:40:18 -04:00
yackob03
8dcfe412e8 Tweak the titles a bit. 2013-10-09 18:33:25 -04:00
Joseph Schorr
d7ea1944e3 Make the landing page show the arrow on smaller resolutions, as well as some basic SEO fixes 2013-10-09 17:57:29 -04:00
yackob03
12e91022cc Use the stripe publishable key for prod in prod. Track when a user signs up for a plan. 2013-10-08 13:57:48 -04:00
yackob03
5d977f5299 Track users across registration. Send people analytics with a created date on first registration. 2013-10-08 11:52:02 -04:00
yackob03
810b711fc4 Fix a tab and remove some console.logs 2013-10-08 11:36:45 -04:00
yackob03
3eca5f65e1 Add a visible free plan. Tweak the plans and pricing page. Move all plans to a central plans service to have a single point for editing. Support the free plan on the user admin page. Tweak the landing page. 2013-10-04 14:35:51 -04:00
yackob03
e5d100842d Fix tabs. 2013-10-03 16:16:10 -04:00
Joseph Schorr
be1582ba29 Add mix panel analytics to Quay 2013-10-03 15:46:22 -04:00
yackob03
237b0418f9 Rip out spinjs in favor of a font-awesome + css spinner. 2013-10-03 12:27:39 -04:00
Joseph Schorr
0ce2252d1d Add a plans/pricing page 2013-10-02 18:14:51 -04:00
Joseph Schorr
dc3ec72432 Fix handling of repositories list when not signed in 2013-10-02 13:29:18 -04:00
yackob03
35c1e6e53b Allow user to unsubscribe and change their plan. 2013-10-02 02:05:53 -04:00
yackob03
da8eccef11 Merge branch 'master' of ssh://bitbucket.org/yackob03/quay
Conflicts:
	static/partials/view-repo.html
2013-10-02 01:41:12 -04:00
yackob03
c044893ff9 Add some feedback about the number of private repositories used. 2013-10-02 01:40:11 -04:00
Joseph Schorr
060f3a9ff2 Add the tag count to the tag icon in the repo view 2013-10-02 01:05:36 -04:00
yackob03
c7e83c4d41 Show a loading spinner while we're waiting for subscription information. 2013-10-02 01:03:48 -04:00
yackob03
20765b7e37 Merge branch 'master' of ssh://bitbucket.org/yackob03/quay
Conflicts:
	static/js/app.js
2013-10-02 00:48:48 -04:00
yackob03
7bd18c1bab Checkpointing stripe work. 2013-10-02 00:48:03 -04:00
Joseph Schorr
927b280f1a Redo the landing page to:
- Show the user's top repos if they have any
  - Show a link to the guide and the repos list if they do not

- Add a getting starting guide
- Redo the repos list to show the user's repos and the top 10 public repos separately
2013-10-02 00:28:24 -04:00
Joseph Schorr
f12ed9859c Change it so the front page does appear for signed in users, with a welcome message and a browse button 2013-10-01 22:28:39 -04:00
Joseph Schorr
31914da4ca - Better error messages for sign up
- Show a throbber while working on sign up
- Have the front page redirect to the repositories view when logged in
2013-10-01 22:13:43 -04:00
yackob03
211fd6bcd7 Merge branch 'master' of ssh://bitbucket.org/yackob03/quay
Conflicts:
	static/js/controllers.js
2013-10-01 19:39:28 -04:00
yackob03
0d6d463fc1 Allow a user to register from the landing page. Fix spacing issues. 2013-10-01 19:37:33 -04:00
Joseph Schorr
d09c402675 Add ability to search for repos by their full path 2013-10-01 17:02:49 -04:00
Joseph Schorr
76d9cbc14f Add spin.js-based throbber for all loading 2013-10-01 16:42:20 -04:00
Joseph Schorr
1b844c10a6 Immediately null out the repo so that the user cannot take other actions while delete is processing 2013-10-01 14:17:51 -04:00
Joseph Schorr
71547e09b1 Merge branch 'master' of https://bitbucket.org/yackob03/quay 2013-10-01 14:14:36 -04:00
Joseph Schorr
c75bd732ce Add deletion UI for repos 2013-10-01 14:14:30 -04:00
yackob03
e81a24a9ce Move zeroclipboard and typeahead to the lib directory. 2013-10-01 13:27:38 -04:00
Joseph Schorr
461f324e09 Add markdown support for comments and repo descriptions 2013-09-30 19:08:24 -04:00
Joseph Schorr
4382ebfd20 Add ability to change the visibility of a repo, and show whether the repo is private in the repo-view screen 2013-09-28 17:11:10 -04:00
Joseph Schorr
7d44326618 Add ability to add new users to the permissions list and remove existing users 2013-09-28 01:23:00 -04:00
Joseph Schorr
edaad6eea2 Add repo autocomplete for searching. 2013-09-27 19:21:54 -04:00
Joseph Schorr
bf926aceee Get the tabs working and the UI for the image history. Note that the model changes for the image history are WRONG and need to be fixed 2013-09-27 17:01:45 -04:00
Joseph Schorr
94cba8a0bc Add notification that clipboard copy was successful 2013-09-27 16:28:21 -04:00
Joseph Schorr
c466bca32d Add clipboard copy support for the pull command 2013-09-27 16:12:51 -04:00
Joseph Schorr
479e23b09d Finish up admin permissions 2013-09-27 15:48:54 -04:00
Joseph Schorr
4500619ca7 Merge branch 'master' of https://bitbucket.org/yackob03/quay 2013-09-27 15:26:21 -04:00
yackob03
4354b32288 Integrate moment.js and its angular bindings. 2013-09-27 15:26:30 -04:00
Joseph Schorr
240cf243ac Get permission changing working 2013-09-27 15:26:16 -04:00
yackob03
f2ee7772f4 Stub out the repo admin view. 2013-09-26 20:34:58 -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
Joseph Schorr
27ce5c00b2 Start on UI for Quay 2013-09-26 17:59:20 -04:00
yackob03
995ad8b679 Initial version of the angular app. 2013-09-24 18:21:14 -04:00