Commit graph

379 commits

Author SHA1 Message Date
yackob03
55f95932a8 Merge branch 'master' into federation 2014-01-15 12:09:44 -05:00
Joseph Schorr
edbfe22ea8 Fix commands that have HTML characters in them 2014-01-14 16:01:37 -05:00
Joseph Schorr
e7e39e6146 Make sure we use the sanitized command everywhere we are injecting HTML 2014-01-14 15:26:31 -05:00
yackob03
f311885e2a Underpinnings of the ability to connect a GitHub account to an existing Quay account. 2014-01-14 15:23:44 -05:00
Joseph Schorr
6ae9485038 Add the command view to the tooltips in the tree, the image side bar and the image view page 2014-01-14 15:19:47 -05:00
Joseph Schorr
8a492a9d56 Fix MySQL issue and enable sorting by description 2014-01-13 15:27:05 -05:00
Joseph Schorr
a53a0a44a9 Merge branch 'master' of https://bitbucket.org/yackob03/quay 2014-01-13 14:49:19 -05:00
Joseph Schorr
58b3ce2647 Add page support to the public repo list 2014-01-13 14:49:05 -05:00
yackob03
5918082e6d Fix the duplicate meta description problem reported by webmaster tools. 2014-01-13 12:57:02 -05:00
yackob03
3040d0c546 Add user information to the olark buddy list. 2014-01-10 14:29:18 -05:00
yackob03
223d2ebaf1 Prevent organizations from attempting an account recovery. 2014-01-10 13:30:17 -05:00
yackob03
b0d995392b Add a polyfill for the bind function. Update the screenshots script to stop worrying about olark and to wait for the logs to animate in. 2014-01-09 20:22:22 -05:00
Joseph Schorr
58b663e19b Use a hacked click element to make it work in PhantomJS 2014-01-09 20:17:28 -05:00
Joseph Schorr
c6989e735b Conditional the click 2014-01-09 20:14:38 -05:00
Joseph Schorr
d7dc03cf7a fix fetchImage 2014-01-09 20:11:52 -05:00
Joseph Schorr
3222712c2a Phantom fixes 2014-01-09 20:09:56 -05:00
Joseph Schorr
7337adf498 Switch to a new single-selected-context layout and system in the view repository screen. Now selecting tags or images changes the context 2014-01-09 18:54:59 -05:00
Joseph Schorr
b584d74bf0 Sort images by date in tag deletion window, since DB IDs are not always increasing 2014-01-09 17:09:54 -05:00
Joseph Schorr
d2b9e0d65a Shows the images that will be deleted when removing a tag 2014-01-09 15:15:06 -05:00
yackob03
393343bda4 Merge branch 'master' of ssh://bitbucket.org/yackob03/quay
Conflicts:
	initdb.py
2014-01-09 11:33:28 -05:00
Joseph Schorr
988c4cfffe Fix null log key values 2014-01-08 18:44:50 -05:00
yackob03
4234ceabe6 Merge remote-tracking branch 'origin/spartan'
Conflicts:
	test/data/test.db
2014-01-08 17:04:40 -05:00
Joseph Schorr
971dd7dd3a Get tag deletion working 2014-01-07 15:21:24 -05:00
Joseph Schorr
e011fc6fe5 CSS fixes for Firefox 2014-01-06 17:15:46 -05:00
Joseph Schorr
9da93c7caf Add frontend and API support for deleting tags. Model support is needed. 2014-01-06 15:20:58 -05:00
Joseph Schorr
e7904f0a9e - Fix image size saving to occur before the return of the response
- Make the image size say ‘Unknown’ if it is not known
2014-01-03 16:42:38 -05:00
Joseph Schorr
0a63690e25 Add code for saving and displaying the size of images 2014-01-03 16:32:00 -05:00
yackob03
96fdae4f0d Merge branch 'master' into fix_build 2014-01-02 14:33:23 -05:00
yackob03
06e03b1260 Make the data block returned by the server mirror that of the build server. Make the UI respond to the new status format for pushing. 2014-01-02 14:13:16 -05:00
Joseph Schorr
b598c7ec85 Style fixes 2013-12-28 19:56:23 -05:00
Joseph Schorr
21ac1c9210 Add CSRF protection to every API call 2013-12-28 14:07:44 -05:00
Joseph Schorr
1303877da0 Fix popovers 2013-12-27 18:05:04 -05:00
Joseph Schorr
619f3abc16 Fix change password to not reload the user on every keystroke 2013-12-27 14:14:21 -05:00
Joseph Schorr
56bb46ffb2 - Make the discovery information be preloaded via a bootstrap.js file before angular runs
- Have ApiService generate all the api methods specified by the API discovery information
- Change all call sites (except for a select few when it does not make sense) to use ApiService
2013-12-26 17:45:16 -05:00
yackob03
19d7125253 Distinguish the discontinued plans. 2013-12-24 14:23:53 -05:00
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