Commit graph

344 commits

Author SHA1 Message Date
Joseph Schorr
44d0505990 getMinimumPlan should ignore deprecated plans 2013-12-20 22:41:00 -05:00
Joseph Schorr
c20e7dbcf7 - Add some more analytics events
- Enable business features for personal users on business plans
- Fix a bug in the credit card image view
2013-12-20 22:38:53 -05:00
Joseph Schorr
8bfc0ac48d Update the plans page to make it a single row (and work in general) 2013-12-20 21:25:06 -05:00
Joseph Schorr
3f062ee602 NOTE: The plans page is still broken
- Change the subscribe method to allow for subscribing to the free plan, even when an org
- Change the frontend to no longer have different plan groups
- Change the frontend to display the proper plans (i.e. hide the deprecated plans unless it is the current plan, etc)
2013-12-19 21:51:46 -05:00
Joseph Schorr
c26d56a31f Fix >= to > 2013-12-19 15:29:39 -05:00
Joseph Schorr
ed82d65dd1 - Add API for returning the user’s used private repos and available private repos
- Fix the same API for orgs
- Change the chosen plan in the create repo view to use the API
- Add an account indicator if the user is over their plan
2013-12-18 23:03:19 -05:00
Joseph Schorr
95a8915546 Temporarily disable Google Analytics until such time as angulartics supports multiple providers 2013-12-18 18:16:32 -05:00
yackob03
ec01b47608 Merge remote-tracking branch 'origin/loading-bar'
Conflicts:
	static/js/app.js
2013-12-18 17:26:56 -05:00
Joseph Schorr
b5dfabaaa3 Bug fixes 2013-12-18 17:04:07 -05:00
Joseph Schorr
b2e4b8152e Add a loading bar and convert to using the new ApiService and resource-view (part #2) 2013-12-17 22:56:28 -05:00
Joseph Schorr
46a13706fa Make it so mix panel is the last installed and remove the unneeded call in the analytics snippet 2013-12-17 18:41:30 -05:00
yackob03
7c93688e30 Plumbing for the contact us page. 2013-12-17 17:02:37 -05:00
Joseph Schorr
777cc45fcb Add Google Analytics 2013-12-17 15:21:14 -05:00
Joseph Schorr
cc8e0e5ea5 Add a new cookie service and have it properly use permanent cookies when needed. 2013-12-17 15:03:34 -05:00
Joseph Schorr
8725b7a87c Store the selected namespace in a persistent cookie, not a session cookie 2013-12-17 14:48:13 -05:00
Joseph Schorr
414bd34d52 Work in progress: add a loading bar and convert to using the new ApiService and resource-view 2013-12-17 13:19:59 -05:00
Joseph Schorr
a53106be3b No need to clear the plan since the redirect is now only if the user is signed in 2013-12-13 15:50:57 -05:00
Joseph Schorr
242f844055 Have user setup use a cookie to determine which section to have open by default 2013-12-11 18:27:35 -05:00
Joseph Schorr
9dbbd33afc Switch to using a common directive for user setup (sign in, sign up, recover account) everywhere 2013-12-11 18:20:24 -05:00
Joseph Schorr
abe6db334d Make the pricing page ask for signup and, if completed, redirect to the proper page to subscribe to a plan. Also fixes a redirect issue with Github signin on the new org page 2013-12-11 17:50:48 -05:00
Joseph Schorr
d41f651a38 Merge branch 'master' of https://bitbucket.org/yackob03/quay 2013-12-11 16:50:36 -05:00
Joseph Schorr
c24a14b402 Move the signup form into its own directive 2013-12-11 16:50:10 -05:00
Joseph Schorr
3302b58cc3 Switch to using the UserService’s cache of org information for whether a user is an admin of a namespace/org (#2) 2013-12-10 15:49:34 -05:00
Joseph Schorr
df1500b6d0 Switch to using the UserService’s cache of org information for whether a user is an admin of a namespace/org 2013-12-10 15:22:22 -05:00
Joseph Schorr
9197a20a77 Add a dropdown next to the entity search which shows all the user’s teams and robot accounts, and lets them create new ones on the fly 2013-12-10 01:38:05 -05:00
Joseph Schorr
ecabcc3fc6 Add support for deep linking of tabs 2013-12-09 23:33:28 -05:00
Joseph Schorr
6cc0482bfb Make sure to properly load the entries for the last day 2013-12-09 21:13:21 -05:00
Joseph Schorr
a3b834cd66 Add ability to pick the dates of the logs viewed 2013-12-09 17:28:23 -05:00
Joseph Schorr
17372b89be Fix title and description for the new page 2013-12-06 19:30:55 -05:00
Joseph Schorr
a0f9e1646a Add a logs view for specific members of an organization 2013-12-06 19:25:27 -05:00
Joseph Schorr
59046b2e79 Add ability to download logs 2013-12-06 15:59:59 -05:00
Joseph Schorr
d80015276b Make sure the graph uses UTC date range 2013-12-03 20:08:02 -05:00
Joseph Schorr
fc7d319c7c Fix reference error on the team view page 2013-12-03 17:44:51 -05:00
yackob03
abc1a7b4d0 Merge branch 'lumberjack' of ssh://bitbucket.org/yackob03/quay into lumberjack 2013-12-02 19:13:28 -05:00
yackob03
ab7f0835ba Rename web hooks to webhooks universally. 2013-12-02 19:13:18 -05:00
Joseph Schorr
91c2ab074a Add test log entries to initdb 2013-12-02 19:07:14 -05:00
Joseph Schorr
37c07c3ac0 Allow clicking on chart elements to toggle back to the full view 2013-12-02 18:21:15 -05:00
Joseph Schorr
5778f91fbe Allow clicking on chart elements to toggle back to the full view 2013-12-02 18:20:42 -05:00
Joseph Schorr
ddc4896351 Make sure we raise the proper external event when clicking on elements 2013-12-02 17:58:45 -05:00
Joseph Schorr
ba03b7ff04 Make it so clicking on a bar in the chart filters down to events of that type 2013-12-02 17:52:20 -05:00
Joseph Schorr
8cc4a5ef90 Make org name clickable in the org admin view 2013-12-02 17:19:19 -05:00
Joseph Schorr
782405fe65 - Add log view under repos
- Make the logs a bit nicer by adding context-sensitive icons
- Fix some of the log descriptions
2013-12-02 14:55:04 -05:00
Joseph Schorr
64c9081587 Make sure functions work in the description map as well 2013-12-02 14:05:19 -05:00
Joseph Schorr
b77dabd586 Move log descriptions into the client side 2013-11-29 00:04:50 -05:00
Joseph Schorr
6c1d2afc0f CL fixes 2013-11-27 16:56:07 -05:00
Joseph Schorr
cca5daf097 Add support for full logging of all actions in Quay, and the ability to view and filter these logs in the org’s admin view 2013-11-27 02:29:31 -05:00
Joseph Schorr
d5c0f768c2 Abstract out the display of entities (users, robot accounts, and teams) into a nice directive to ensure that we always display the correctly formatted entity information (icon and name) 2013-11-26 14:37:55 -05:00
Joseph Schorr
72acc8769b Merge branch 'looksirdroids' 2013-11-24 22:43:19 -05:00
Joseph Schorr
6692fdf41c Ensure that the footer appears properly on the repo pages 2013-11-23 20:03:08 -05:00
Joseph Schorr
12eb932da1 Get robots UI working 2013-11-22 20:14:44 -05:00
Joseph Schorr
43f2dd80a0 Merge branch 'master' into looksirdroids 2013-11-22 18:22:29 -05:00
Joseph Schorr
098b3b1b33 Start on robots UI 2013-11-22 18:20:51 -05:00
yackob03
b00f58d164 Add a security page and link it from the landing page and footer. 2013-11-22 15:54:23 -05:00
yackob03
e69591c7d6 Add the ability to login with a robot, use the wrench icon for robots all over the place. 2013-11-20 19:43:19 -05:00
yackob03
b407c1d9fb Add robots to the entity search. 2013-11-20 18:23:59 -05:00
Joseph Schorr
45680d4a8e Fix the footer to be on all pages (except the repo view page due to an issue), fix the double body tag issue and add padding to content pages 2013-11-20 16:17:47 -05:00
Joseph Schorr
b0ac7883e3 Fix so that credit card issues are displayed to the user 2013-11-19 17:06:17 -05:00
yackob03
c7355f5509 Remove the old seo-snapshots instrumentation. 2013-11-19 10:52:06 -05:00
Joseph Schorr
c6f2132094 - Convert to Angular 1.2.1
- Change the header into a directive
- Change the repo search into a directive
- Fix ZeroClipboard issue that occurs in the new Chrome beta
- Add support for dynamic <meta description>
2013-11-18 19:03:35 -05:00
Joseph Schorr
738973cf39 Add the snapshot endpoint to web.py and have the phantomjs running only load the page's HTML once there are no further pending XHR requests 2013-11-18 17:11:06 -05:00
yackob03
f55e4074e0 Merge branch 'master' of ssh://bitbucket.org/yackob03/quay into webhooks 2013-11-16 14:47:29 -05:00
Joseph Schorr
b6be962bf3 Change the rules about when to show the subscribe dialog 2013-11-15 18:58:47 -05:00
Joseph Schorr
4efc5968c6 Fix missing check 2013-11-15 18:34:54 -05:00
Joseph Schorr
cc0f042c00 Add ability to view and change the credit card associated with an account 2013-11-15 18:17:12 -05:00
yackob03
ecc5f8fba7 Wire up webhooks to the UI. 2013-11-15 17:45:37 -05:00
Joseph Schorr
04780cb3fa Fix token bug in stripe payments 2013-11-15 15:31:05 -05:00
Joseph Schorr
457b619647 Add receipt/invoice email support and option to Quay 2013-11-15 14:42:31 -05:00
Joseph Schorr
51dc9c9132 Add all plans to the map in the org admin 2013-11-13 18:00:51 -05:00
Joseph Schorr
e649e669e1 Check in a basic invoice view for organizations 2013-11-13 17:47:45 -05:00
Joseph Schorr
b8dc051705 Change 403 handling to 401 and have a modal dialog (that cannot be removed) display when the user's session has expired. This forces them to reload the page, and thus reset all the state. 2013-11-11 19:26:56 -05:00
Joseph Schorr
07b9128ab6 Return 403 if the user logged in is now an org and handle it on the client 2013-11-11 19:03:18 -05:00
Joseph Schorr
0f473a3a82 Support the additional stripe callbacks 2013-11-08 20:32:56 -05:00
Joseph Schorr
68e1658849 Add automatic email loading to the stripe dialog 2013-11-08 17:50:42 -05:00
Joseph Schorr
466e030247 Handle the case where there isn't only a single root image in the history 2013-11-08 16:30:18 -05:00
Joseph Schorr
9f7b1347ef Add support for having the 'namespace' URL param override the cookie in the namespace selector 2013-11-08 15:58:21 -05:00
Joseph Schorr
5656e8503d Remove unnecessary call 2013-11-08 14:06:57 -05:00
Joseph Schorr
3b9d13c42f One more fix needed 2013-11-07 23:38:34 -05:00
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