Commit graph

273 commits

Author SHA1 Message Date
jakedt
8135e0266e Merge branch 'master' into tutorial
Conflicts:
	static/directives/header-bar.html
2014-02-13 16:54:02 -05:00
jakedt
c856908161 Make the docs link and the repo links in the build logs open in new tabs. 2014-02-13 15:08:10 -05:00
yackob03
ade20952e2 Merge branch 'master' into tutorial
Conflicts:
	config.py
	static/js/app.js
	test/data/test.db
2014-02-13 14:35:20 -05:00
yackob03
8f6cdabde3 Merge branch 'bobthe'
Conflicts:
	test/data/test.db
2014-02-13 12:47:59 -05:00
Joseph Schorr
dbb0dcface Fix repository linking 2014-02-12 21:32:46 -05:00
Joseph Schorr
46991e47a6 Redo the build log view as per discussions 2014-02-12 21:16:11 -05:00
Joseph Schorr
ea45c3b77f Get full build interface working 2014-02-10 22:43:48 -05:00
Joseph Schorr
35cfdcaa8c Start on builds page for repos 2014-02-10 15:15:23 -05:00
Joseph Schorr
9e8f765040 Redo the build status box on the repo page to be a much nicer drop down 2014-02-10 01:18:14 -05:00
Joseph Schorr
98e57b9d2b Merge branch 'master' into tutorial
Conflicts:
	endpoints/index.py
	static/css/quay.css
	static/js/app.js
	static/js/controllers.js
	test/data/test.db
2014-02-06 21:23:27 -05:00
yackob03
bd47b9adf4 Add an about page. Change the terms in the footer. Add colors to the icons for the contact options. Update the sitemap. Remove empty controllers. 2014-02-06 19:20:19 -05:00
yackob03
f5fff3657c Merge remote-tracking branch 'origin/unittesting' 2014-02-06 14:16:34 -05:00
Joseph Schorr
b7afc83204 Merge branch 'bobthe' into tutorial 2014-02-06 13:37:41 -05:00
Joseph Schorr
dbed1300ad Start on work towards the tutorial. Note that this code is BROKEN 2014-02-05 21:00:04 -05:00
yackob03
c919b9321b Better messaging around build status. 2014-02-05 19:59:57 -05:00
Joseph Schorr
a049fc57c6 Start on tour infrastructure. Note that this code works but is NOT STYLED and has a FAKE TEMP TOUR in it 2014-02-04 20:50:13 -05:00
yackob03
5270066d6d Switch to the redis backed build logs and status. 2014-02-03 19:08:37 -05:00
Joseph Schorr
08160afdde Finish API endpoint unit tests 2014-02-03 18:18:33 -05:00
Joseph Schorr
407ef7ad3c Switch to using the ?namespace param instead of cookie changes 2014-01-31 14:00:42 -05:00
Joseph Schorr
fdb628a0b0 Make the repo breadcrumb bar clickable 2014-01-31 13:52:35 -05:00
Joseph Schorr
a87e5ba9ae Only send the CSRF token on mutable HTTP methods (where it is needed) 2014-01-27 13:58:12 -05:00
yackob03
845985c859 Merge branch 'security'
Conflicts:
	endpoints/api.py
	endpoints/web.py
2014-01-23 14:51:43 -05:00
Joseph Schorr
b91f9125db Fix logs for organization-wide default permissions 2014-01-21 18:39:42 -05:00
Joseph Schorr
3da5a77e33 Add support for org-wide default permissions 2014-01-21 18:34:54 -05:00
Joseph Schorr
3864fc3e88 Add logs support for the new default permissions model 2014-01-21 17:04:00 -05:00
Joseph Schorr
74df6b1df7 Streamline and cleanup the entity-reference so it can be used everywhere in a simple fashion. Also changes the entity-search to use the reference as its icon source when in persistent mode 2014-01-21 16:23:00 -05:00
Joseph Schorr
ca934ac162 Get create permission working 2014-01-21 15:09:47 -05:00
Joseph Schorr
e17c3590a7 - Add model functions for working with prototypes
- Add API calls for working with prototypes
- Get UI for prototypes working (minus add)
2014-01-21 14:18:20 -05:00
Joseph Schorr
cbf80281ba Add ability to change an organization’s email address 2014-01-20 16:12:23 -05:00
Joseph Schorr
9d26c79db0 Better messaging in create repo 2014-01-15 19:15:38 -05:00
yackob03
0b7dfffb42 Update to font-awesome 3.0. Fix instances of fa-hdd to fa-hdd-o. Make contact option bubbles large and centered. 2014-01-15 15:40:37 -05:00
yackob03
82c4c8a28b Merge branch 'master' into contact
Conflicts:
	static/js/controllers.js
	templates/base.html
2014-01-15 14:32:51 -05:00
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
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
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
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
3222712c2a Phantom fixes 2014-01-09 20:09:56 -05:00
Joseph Schorr
988c4cfffe Fix null log key values 2014-01-08 18:44:50 -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
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
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
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
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
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
91c2ab074a Add test log entries to initdb 2013-12-02 19:07:14 -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
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
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
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
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
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
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
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
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
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
ce91190a7e Fix race condition in the plan manager 2013-11-06 19:19:21 -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
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
6e2b2126a6 Merge branch 'orgs' of https://bitbucket.org/yackob03/quay into orgs 2013-11-05 14:47:56 -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
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
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
ba7360f2a9 Work in progress: Start on org view 2013-11-04 16:39:29 -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
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
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
Joseph Schorr
70fd9afb2b Start on new repo page 2013-10-24 17:41:55 -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
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
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
7c289beba5 Notify the tree when the container was probably resized. 2013-10-17 14:29:47 -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
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
ce81431cd3 Enable HTML5 mode for routing. 2013-10-10 19:06:04 -04:00