Commit graph

1032 commits

Author SHA1 Message Date
Joseph Schorr
dd4037e324 Allow github trigger setup folder paths to be specified even if a Dockerfile is not found 2014-09-08 12:17:00 -04:00
Joseph Schorr
9eccdb7696 Fix NPE 2014-09-08 12:00:20 -04:00
Jake Moshenko
64480fd4ed Merge remote-tracking branch 'origin/master' into yellowalert
Conflicts:
	data/migrations/versions/82297d834ad_add_us_west_location.py
	test/data/test.db
2014-09-05 11:30:30 -04:00
Jake Moshenko
3c57e612b3 Merge remote-tracking branch 'origin/zegooglesdosomething' 2014-09-04 20:10:16 -04:00
Joseph Schorr
4e04ad5ca7 Move the password check before we hide the modal 2014-09-04 20:05:21 -04:00
Joseph Schorr
f746eb3381 Make the fresh login dialog autofocus the input and make it handle the enter key properly. 2014-09-04 20:04:49 -04:00
Joseph Schorr
e028d4ae0a Merge master into branch 2014-09-04 18:08:18 -04:00
Joseph Schorr
e783df31e0 Add the concept of require_fresh_login to both the backend and frontend. Sensitive methods will now be marked with the annotation, which requires that the user has performed a login within 10 minutes or they are asked to do so in the UI before running the operation again. 2014-09-04 14:24:20 -04:00
Joseph Schorr
1e7e012b92 Add a requirement for the current password to change the user's password or email address 2014-09-03 15:41:25 -04:00
Joseph Schorr
6c60e078fc Fix NPE 2014-09-03 15:35:29 -04:00
Jake Moshenko
58b244ca8c Merge remote-tracking branch 'origin/master' into whogoesthere 2014-09-03 12:34:07 -04:00
Joseph Schorr
232e3cc1da Move cancelInterval into its own method to remove code duplication 2014-09-03 12:10:36 -04:00
Joseph Schorr
53939f596d Properly escape the $ in $token for the auth dialog command 2014-09-02 16:45:25 -04:00
Joseph Schorr
2cfab6e252 Reshow the sign in button when the username is changed 2014-09-02 15:28:56 -04:00
Joseph Schorr
066b3ed8f0 Add client side handling of user login throttling 2014-09-02 14:26:35 -04:00
Joseph Schorr
07c7cdd51d Fix PingService when loading results from cache 2014-08-29 16:25:11 -04:00
Joseph Schorr
417fec0b68 Fix namespace selector bug from the landing page and make the namespace selector update the URL if need be 2014-08-29 15:46:43 -04:00
Joseph Schorr
584f6b9635 Add a spinner when a tag is being deleted 2014-08-29 13:59:54 -04:00
Joseph Schorr
4a2a4d1b4c Add email invite support 2014-08-28 23:46:27 -04:00
Joseph Schorr
3b72b26836 Merge branch 'master' into comewithmeifyouwanttowork 2014-08-28 20:50:13 -04:00
Joseph Schorr
ae92098b23 Add invite by email (WIP) 2014-08-28 20:49:11 -04:00
Joseph Schorr
f15b3f345e Review updates 2014-08-28 19:07:22 -04:00
Joseph Schorr
5028172c51 Fix Stripe dialog in IE and mobile safari 2014-08-28 16:10:06 -04:00
Joseph Schorr
97aa2c5aaa Make sure the regen confirm dialog result is actually used :-/ 2014-08-27 13:04:31 -04:00
Joseph Schorr
6ec89bb179 Add Slack notification support 2014-08-26 22:09:56 -04:00
Joseph Schorr
d76d4704a0 Add pagination to the notifications API and make the UI only show a maximum of 5 notifications (beyond that, it shows "5+"). 2014-08-26 15:19:39 -04:00
Joseph Schorr
a129aac94b Add ability to regenerate robot account credentials 2014-08-25 17:19:23 -04:00
Joseph Schorr
837630359c Really fix ZeroClipboard 2014-08-25 15:59:50 -04:00
Joseph Schorr
4b2a0b5063 Fix ZeroClipboard path for the new version 2014-08-25 15:33:48 -04:00
Joseph Schorr
99d75bede7 Handle error cases better for external services 2014-08-25 15:30:29 -04:00
Joseph Schorr
ee3ad9e7c3 Enable invoice views on all plans 2014-08-22 19:48:58 -04:00
Joseph Schorr
34c6d7f5b4 Change the auth dialog to copy a full docker login command 2014-08-22 16:54:53 -04:00
Joseph Schorr
2a3094cfde - Fix zero clipboard integration to properly hide the clipboard controls when flash is not available.
- Hide the download .dockercfg link in Safari, since it doesn't work there anyway
2014-08-22 15:24:56 -04:00
Joseph Schorr
d2880807b2 - Further fixes for license stuff
- Small fixes to ensure Quay works for Postgres
2014-08-21 19:21:20 -04:00
Joseph Schorr
32ea1d194f Add support for the Hipchat room notification API 2014-08-19 17:40:36 -04:00
Joseph Schorr
35bd28a77e Add support for the Flowdock Team chat API: https://www.flowdock.com/api/push 2014-08-19 14:33:33 -04:00
Joseph Schorr
daa43c3bb9 Add better messaging around pulling of base images when they fail due to invalid or missing credentials 2014-08-18 20:34:39 -04:00
Joseph Schorr
c4a27b2c7a Add a unified error display method to make the code cleaner. Also fixes a UI issue in create org 2014-08-18 18:21:53 -04:00
Joseph Schorr
43b6695f9c Get team invite confirmation working and fully tested 2014-08-18 17:24:00 -04:00
Joseph Schorr
9c560e8d7f Fix possible NPE 2014-08-18 13:30:47 -04:00
Joseph Schorr
eefb7e1ec9 Add notification actions support 2014-08-15 21:56:29 -04:00
Joseph Schorr
c026782abb Add new log event metadata 2014-08-15 21:25:41 -04:00
Joseph Schorr
de8bd4a92e ng-include was breaking things, so we create a new ng-if to match based on media queries 2014-08-15 21:09:02 -04:00
Joseph Schorr
7d7cca39cc New team view interface 2014-08-15 20:51:31 -04:00
Joseph Schorr
8681dd9cb9 Add a new exposed 'unpacking' phase to the build and make sure that the unzip/untar/etc always occurs under a try-except 2014-08-15 17:58:11 -04:00
Joseph Schorr
56d7a3524d Work in progress: Require invite acceptance to join an org 2014-08-15 17:47:43 -04:00
Joseph Schorr
f6f857eec2 Add US West region 2014-08-15 15:02:26 -04:00
Joseph Schorr
d1f6a815bd Switch the ping view on the view repo page to always use HTTPS 2014-08-13 18:48:24 -04:00
Joseph Schorr
61bde6bb90 Fix tag-specific-image-view when moving a tag within its own ancestor path 2014-08-13 18:47:07 -04:00
Joseph Schorr
e7daca5d95 Add better messaging and UI around repos and images that are currently being pushed 2014-08-13 17:54:15 -04:00
Joseph Schorr
6517a4ed7f Tweak the Angular view array threshold to make it slightly slower but better for the UI thread 2014-08-12 17:09:51 -04:00
Joseph Schorr
8db889e2d4 Prevent the logs view table from normally growing too large 2014-08-12 14:30:59 -04:00
Joseph Schorr
ab68126d8a Initial work in restyling Quay to be more like CoreOS styles 2014-08-11 21:47:04 -04:00
Joseph Schorr
389c88a7c4 Update federated login to store metadata and have the UI pull the information from the metadata 2014-08-11 18:25:01 -04:00
Joseph Schorr
2597bcef3f Add support for login with Google. Note that this CL is not complete 2014-08-11 15:47:44 -04:00
Joseph Schorr
b9c6c4c2f2 Add missing kind of notification 2014-08-10 18:51:06 -04:00
Joseph Schorr
6f804c222a Replace references seen in the enterprise version to "Quay.io" with a config-pulled value 2014-08-08 13:50:04 -04:00
Joseph Schorr
b8979c0499 Be more resistant to invalid notification kinds 2014-08-05 18:20:04 -04:00
Joseph Schorr
eee6a38c5f Auto-focus the tag name field in the add tag dialog 2014-08-05 18:16:30 -04:00
Joseph Schorr
7e8713171e - Change updated_tags into the expected dict, not a list
- Update the event code on both sides to expect the dict
- Add filter support to the string builder
2014-08-05 17:45:40 -04:00
Jake Moshenko
0372013f70 Merge remote-tracking branch 'origin/redalert'
Conflicts:
	app.py
2014-08-04 16:56:34 -04:00
Joseph Schorr
af32b53a4e Fix create token form in the repo-admin view. We had to add type="button" to the delete-ui button so that clicking it doesn't submit the form (and keep the focus there) 2014-07-29 18:53:23 -04:00
Joseph Schorr
a2f0f57414 - Small title fix
- Make sure sample event data uses the real event data generation code
2014-07-29 13:39:26 -04:00
Joseph Schorr
32b2ecdfa6 Add ability to dismiss notifications 2014-07-28 18:23:46 -04:00
Joseph Schorr
34fc279092 Add e-mail authorization to the repository notification flow. Also validates the creation of the other notification methods. 2014-07-28 14:58:12 -04:00
Joseph Schorr
54ee94754e - Add support for orgs in the entity search and the notification system
- Fix the titles/names of the different notification types
- Fix the styling of the options buttons on the notifications
2014-07-22 13:39:41 -04:00
Joseph Schorr
d5d9cb7a45 UI improvements to entity-search and the create-external-notification-dialog 2014-07-18 16:51:05 -04:00
Joseph Schorr
591cd020b8 Merge branch 'master' into redalert 2014-07-18 15:58:56 -04:00
Joseph Schorr
af31bde997 Add support for the remaining events to the frontend and the backend 2014-07-18 15:58:18 -04:00
Joseph Schorr
f7c154abb5 Get Quay notification support working in the notification methods 2014-07-18 14:12:20 -04:00
Joseph Schorr
3865e3b1b7 Refactor the entity-search directive/control to make its interface much cleaner and to add support for ng-model validity checking 2014-07-18 13:45:08 -04:00
Joseph Schorr
afebb7780d Add an NPE check to lookup up a tag's image's ancestors 2014-07-17 23:02:18 -04:00
Joseph Schorr
566fda9351 Add an NPE check to loadImageChanges 2014-07-17 23:00:25 -04:00
Joseph Schorr
fc384b20a6 Fix missing change to code handling tags and images 2014-07-17 22:59:17 -04:00
Joseph Schorr
8d7493cb86 Convert over to notifications system. Note this is incomplete 2014-07-17 22:51:58 -04:00
Joseph Schorr
a45054bf2e Change tag_view to avoid a DB lookup and only return the tag's image ID. We map the ID in the frontend based on the image data returned 2014-07-17 15:16:22 -04:00
Joseph Schorr
126371f8a1 Fix non-library Dockerhub links 2014-07-17 14:36:06 -04:00
Joseph Schorr
de8e898ad0 Add UI for managing repo notifications 2014-07-17 13:32:39 -04:00
Joseph Schorr
85ce3c6bb2 Remove the HTML escaping in the dockerfile-view directive; the text escaping is handled by the nested controls and Angular itself 2014-07-16 16:47:59 -04:00
Joseph Schorr
8502b590a3 The "visible" attribute name is getting removed by the grunt angular lib; rename it to fix the problem temporarily and filed a bug: https://github.com/ericclemmons/grunt-angular-templates/issues/97 2014-07-15 14:17:57 -04:00
Joseph Schorr
c9a33c60b2 Make sure the applications array is defined so that a new app can be created even before the existing list has loaded 2014-07-15 11:57:46 -04:00
Joseph Schorr
4abd1e8a9d Add missing $scope to the on error callback 2014-07-14 17:24:25 -04:00
Joseph Schorr
a1755cfbf7 Fix linking to Docker Registry since their own redirects are messed up 2014-07-14 16:34:21 -04:00
Joseph Schorr
18ec8c0f93 Make build package UI a bit nicer and make sure it always executes via a scope apply 2014-07-14 16:33:00 -04:00
Joseph Schorr
75ec80ee6c Fix TAR parsing by using a custom lib written based off of a public lib 2014-07-14 16:26:20 -04:00
Joseph Schorr
bebb02c800 Make sure all scope applies occur outside of the main digest loop 2014-07-10 16:38:41 -04:00
Joseph Schorr
c7cc3f72f8 - Fix error messages in new org creation
- Add the org name regex to the name field
2014-07-09 13:35:59 -04:00
Jake Moshenko
c338b7d621 Merge remote-tracking branch 'origin/touchdown'
Conflicts:
	static/css/quay.css
	static/js/controllers.js
	test/data/test.db
2014-07-07 15:33:51 -04:00
Joseph Schorr
64fe29698c Add a PingService and make sure we use the average of at least three pings 2014-07-03 17:55:53 -04:00
Jake Moshenko
e68d6a7302 Merge branch 'master' of ssh://bitbucket.org/yackob03/quay 2014-06-27 19:18:35 -04:00
Jake Moshenko
4e5e8a08de Add a maintenance notification kind and make it of the level warning. 2014-06-27 19:18:27 -04:00
Joseph Schorr
ee0d483efd Fix "Run Build Again" to send the tags to which we should push. 2014-06-26 19:55:16 -04:00
Joseph Schorr
76165b5d2b Add API and UI support for displaying image locations 2014-06-24 18:48:42 -04:00
Joseph Schorr
2bf12996f5 Fix the case where someone tries the tour with an unsupported browser 2014-06-16 14:05:27 -04:00
Joseph Schorr
257b66fa2a Make sure the repo exists when setting a tag 2014-06-10 14:43:52 -04:00
Joseph Schorr
bbb48b1235 Handle the case where the plans do not load correctly. 2014-06-04 16:27:45 -04:00
Joseph Schorr
4282977e90 Check on the builds array; it may not be present if the page has changed or the builds have not yet loaded 2014-06-04 16:08:26 -04:00
Joseph Schorr
c630d7e948 Merge branch 'master' into touchdown
Conflicts:
	static/js/app.js
	static/partials/organizations.html
	test/data/test.db
2014-06-03 13:22:26 -04:00
Jake Moshenko
0057ced98c Move GitHub build trigger behind a feature flag. 2014-05-30 18:28:18 -04:00
Jake Moshenko
8e6328a5f0 Merge branch 'driversed' of ssh://bitbucket.org/yackob03/quay into driversed 2014-05-29 11:24:44 -04:00
Jake Moshenko
0ba4201020 Add a module which will create notifications for all users when the license is at its expiration period, and terminate the process when the license expires. 2014-05-29 11:24:10 -04:00
Joseph Schorr
69be86be97 Add extra seat check in the user API call and turn off user->org conversion when authentication is LDAP 2014-05-28 15:53:53 -04:00
Joseph Schorr
205362bc7b Add UI for handling the case when an enterprise has reached its maximum seat count 2014-05-28 15:22:36 -04:00
Joseph Schorr
404055decc Make sure we always have a valid container element before calculating the dimensions of the various charts 2014-05-27 12:38:18 -04:00
Joseph Schorr
a9a8105fbc Add credit card expiration date to the billing info screen 2014-05-22 16:52:51 -04:00
Joseph Schorr
d209929133 Make sure the scroll is at the top of the page on every route change 2014-05-21 15:28:38 -04:00
Jake Moshenko
8c3448080c Merge remote-tracking branch 'origin/master' into touchdown
Conflicts:
	test/data/test.db
2014-05-21 14:43:57 -04:00
Joseph Schorr
701033751e Fix the robot pattern to make sure it does a length check 2014-05-20 17:58:39 -04:00
Joseph Schorr
c8a450cdf0 Make sure the create robot account error dialog shows a proper message 2014-05-20 17:52:03 -04:00
Joseph Schorr
abfb86ccce Change button on the tour page to "Start free trial" and have it start the plan signup process 2014-05-19 12:53:30 -04:00
Joseph Schorr
91f9987d41 Fix NPE 2014-05-19 12:35:16 -04:00
Joseph Schorr
ee37cf2f4e - Default to private repo in new repo view
- Make it even more clear when you choose public vs private
2014-05-16 14:19:54 -04:00
Joseph Schorr
8327d9fdbf Fix URLs of the generated build status badges 2014-05-12 19:03:42 -04:00
Joseph Schorr
b4e091badd Fix the build view controller to always search for the build to update 2014-05-09 17:54:11 -04:00
Joseph Schorr
e2992d08bb Further JS fixes 2014-05-09 17:23:35 -04:00
Joseph Schorr
78f6523068 Add handling of twitter avatars: if they do not load, then a default image will be used 2014-05-08 19:52:21 -04:00
Joseph Schorr
278c28f350 Fix NPE in user service 2014-05-08 19:09:43 -04:00
Jake Moshenko
73a0cc791b Merge remote-tracking branch 'origin/master' into touchdown
Conflicts:
	static/js/app.js
2014-05-07 15:32:27 -04:00
Joseph Schorr
d9ca1a4fd9 Fix bug in tour with chromify 2014-05-07 13:37:13 -04:00
Joseph Schorr
2c2c4d111b Extra null check when loading plans 2014-05-05 12:54:54 -04:00
Joseph Schorr
5f8fc6375f Fix Stripe checkout dialog now that they've closed our hack 2014-05-02 21:42:36 -04:00
Joseph Schorr
7fc204fe70 Further handle cases in the graphing library where the container element is no longer avaliable 2014-05-02 13:39:22 -04:00
Joseph Schorr
e336185a22 Make sure that we only save the tree reference if we have actually rendered it (properly this time, since apparently d3 will append to.. nothing…) 2014-05-01 16:15:01 -04:00
Joseph Schorr
8da4104e7b Make sure that we only save the tree reference if we have actually rendered it. 2014-05-01 16:11:50 -04:00
Joseph Schorr
bcc6caa9df Fix $sanitize issue in the build logs view 2014-05-01 13:59:25 -04:00
Joseph Schorr
65e6041f55 Fix handling of larger build packs and straight Dockerfiles 2014-05-01 01:48:39 -04:00
Joseph Schorr
2d18117e68 Change the screenshots section to be a single screenshot with clickable sections 2014-04-30 21:00:07 -04:00
Jake Moshenko
6067dcf3d5 Merge branch 'master' of ssh://bitbucket.org/yackob03/quay 2014-04-30 18:48:56 -04:00
Jake Moshenko
450928674b Use a new caching algorithm which can limit the size for the build nodes. Stop treating public images as special. Add a new phase to the builder for pulling. 2014-04-30 18:48:36 -04:00
Joseph Schorr
dc8765b590 Fix potential NPE in graphing class 2014-04-30 17:12:42 -04:00
Joseph Schorr
b9bcc99663 Fix NPE if the current route is null 2014-04-29 23:48:06 -04:00
Joseph Schorr
c244f367ba Start on tour UI and make some small changes to the overall Quay UI 2014-04-29 00:45:42 -04:00
Jake Moshenko
fe665118bb Add sentry exception monitoring. 2014-04-28 18:59:22 -04:00
Joseph Schorr
283050e159 Fix bug in creating organizations 2014-04-27 16:35:48 -04:00
Joseph Schorr
ad8b72b3aa Switch the twitter view to use a carousel 2014-04-24 01:18:47 -04:00
Joseph Schorr
4480d2d8e2 Merge branch 'master' into touchdown 2014-04-24 00:40:01 -04:00
Joseph Schorr
c6a189001a Make the title of the stripe dialog's subscribe button say "Start Free Trial" if there isn't already a valid credit card on file 2014-04-23 13:01:27 -04:00
Joseph Schorr
8f66c39ff5 Use the customer information, not an existing subscription, to determine whether the button should say "Start Free Trial" or "Subscribe" 2014-04-23 01:17:34 -04:00
Joseph Schorr
a5c2fc7185 Add a display alert that shows when the trial period ends (if applicable). Also change the name of the Subscribe buttons to "Start Trial" when no existing subscription is found 2014-04-23 01:10:31 -04:00
Joseph Schorr
d8efb399b0 Merge branch 'tagyourit' 2014-04-17 14:20:28 -04:00
jakedt
56a19aa24e Merge remote-tracking branch 'origin/peon'
Conflicts:
	Dockerfile
2014-04-17 13:03:40 -04:00
Joseph Schorr
a3bd2a065a Merge branch 'githublogin' 2014-04-16 22:48:03 -04:00
Joseph Schorr
5da3ffcb66 Add a null check to make sure we don't try to update the tree before it has rendered 2014-04-16 22:43:13 -04:00
Joseph Schorr
63cf8beb26 - Fix trigger setup to… work…
- Make sure new manual builds are added to the repo build list immediately
2014-04-16 17:50:25 -04:00
jakedt
3f42d15335 Merge remote-tracking branch 'origin/master' into tagyourit
Conflicts:
	static/css/quay.css
	static/js/graphing.js
	static/partials/view-repo.html
	test/data/test.db
2014-04-15 15:58:30 -04:00
Joseph Schorr
7aab6a9fdd Get basic grunt-ified CSS and JS working. Note that this currently uses the dist bundles for both prod and debug. 2014-04-15 15:51:32 -04:00
jakedt
5a1bb9988f Merge remote-tracking branch 'origin/master' into ncc1701 2014-04-15 14:14:56 -04:00
Joseph Schorr
a518a7ed3e Have the last log entries open in the Dockerfile build view when an error occurred 2014-04-15 13:56:31 -04:00
jakedt
0827e0fbac Merge remote-tracking branch 'origin/master' into ncc1701
Conflicts:
	endpoints/web.py
	static/directives/signup-form.html
	static/js/app.js
	static/js/controllers.js
	static/partials/landing.html
	static/partials/view-repo.html
	test/data/test.db
2014-04-14 19:37:22 -04:00
jakedt
52fdd60779 Merge remote-tracking branch 'origin/detective'
Conflicts:
	static/partials/repo-admin.html
2014-04-14 16:15:32 -04:00
Joseph Schorr
50545236e3 New experimental landing page design 2014-04-13 18:33:32 -04:00
Joseph Schorr
5e9448b450 Handle the description tag handle descriptions set async after the controller has loaded 2014-04-11 17:15:03 -04:00
Joseph Schorr
a114a887b7 Make the meta description tag have a good static default value 2014-04-11 17:06:09 -04:00
jakedt
14fba3ae7c Rename SERVER_NAME to SERVER_HOSTNAME to fix the subdomain routing problems. 2014-04-11 11:17:45 -04:00
Joseph Schorr
0e320c964f - Add support for super users
- Add a super user API
- Add a super user interface
2014-04-10 00:26:55 -04:00
Joseph Schorr
c20b04d072 Remove all mix panel code and calls when no mix panel key is specified 2014-04-08 21:10:33 -04:00
Joseph Schorr
3a3758654c - Move all quay.io domain references to config and add new methods for easy construction of URLs
- Make the Olark chat live behind a feature flag
2014-04-08 20:33:20 -04:00
Joseph Schorr
da859203f7 - Add a config whitelist
- Send the config values to the frontend
- Add a service class for exposing the config values
- Change the directives to inject both Features and Config
- Change directive users to make use of the new scope
2014-04-08 19:14:24 -04:00
Joseph Schorr
a71c682abe Add ability to expand collapsed nodes in the image history view 2014-04-07 20:11:41 -04:00
Joseph Schorr
f7b1087ef9 Add tooltip titles to tags and show the tags in the image hover tooltip 2014-04-07 19:53:25 -04:00
Joseph Schorr
3d18ddf2a5 Fix form error popovers in all forms 2014-04-07 18:55:39 -04:00
Joseph Schorr
6e2b8d96b8 Add a simplified landing page for the case where billing is disabled 2014-04-06 14:48:58 -04:00
Joseph Schorr
badf002e92 Turn off all references and API calls to github login if the feature is disabled 2014-04-06 00:50:30 -04:00
Joseph Schorr
19a20a6c94 Turn off all references and API calls to billing if the feature is disabled 2014-04-06 00:36:19 -04:00
Joseph Schorr
c374e8146a - Add code for placing the features information on the frontend
- Add a Features service for examining feature flags on the frontend
- Add a directive (quay-requires) that matches feature flags and, if any one does not match, removes the element from the DOM
- Add a directive (quay-show) that injects the features into the scope so that expressions of the form "Features.BILLING || something" work out of the box to show/hide the element
- Add a directive (quay-classes) that allows for setting of CSS classes on an element based on feature expression(s) such as {"!BILLING": "active"} (e.g. the BILLING flag is set to false, add the class "active".
2014-04-04 23:26:10 -04:00
Joseph Schorr
7c466dab7d - Add an analyze method on triggers that, when given trigger config, will attempt to analyze the trigger's Dockerfile and determine what pull credentials, if any, are needed and available
- Move the build trigger setup UI into its own directive (makes things cleaner)
- Fix a bug in the entitySearch directive around setting the current entity
- Change the build trigger setup UI to use the new analyze method and flow better
2014-04-02 23:33:58 -04:00
Joseph Schorr
9fb5ef9ecd Add missing client side IDs for github login 2014-04-01 22:59:43 -04:00
Joseph Schorr
193824a196 Change Github Login to use its own application/client ID so that we don't accidentally lower valid trigger tokens 2014-04-01 22:49:18 -04:00
Joseph Schorr
9a79d1562a Change to store the pull robot on the repository build and only add the credentials to the queue item. This prevents the credentials from being exposed to the end user. Also fixes the restart build option 2014-04-01 21:49:06 -04:00
Joseph Schorr
2a72e91bdb Prevent the entity search typeahead "no users found" message from being displayed when the entity is set from code 2014-04-01 19:33:11 -04:00
jakedt
d768b60a3c Merge remote-tracking branch 'origin/master' into tagyourit
Conflicts:
	test/data/test.db
2014-04-01 19:09:41 -04:00
jakedt
3525e383df Merge remote-tracking branch 'origin/master' into pullinprivate
Conflicts:
	test/data/test.db
2014-04-01 18:28:48 -04:00
Joseph Schorr
4f1ae25128 Make sure the TAR import system handles TAR paths with local directory references 2014-04-01 13:00:26 -04:00
Joseph Schorr
35f69b9f5b Add support for .tar.gz build packs in the build package viewer 2014-04-01 00:23:53 -04:00
Joseph Schorr
2006917e03 Add support for pull credentials on builds and build triggers 2014-03-27 18:33:13 -04:00
jakedt
302bfb27ae Merge remote-tracking branch 'origin/master' into tagyourit
Conflicts:
	endpoints/api.py
	static/js/app.js
	static/partials/view-repo.html
	test/data/test.db
	test/specs.py
	test/test_api_usage.py
2014-03-26 19:42:29 -04:00
jakedt
41cfadac23 Protect the search and repository list endpoints appropriately. Add more differentiating data to some need types. Remove the notification about password change from the user admin page. Select the dependent models for the visible repo list. 2014-03-25 17:26:45 -04:00
jakedt
5f98bf8dab Merge remote-tracking branch 'origin/master' into swaggerlikeus
Conflicts:
	endpoints/api.py
2014-03-25 15:50:03 -04:00
Joseph Schorr
16d3ddd8cc Nicely handle the case where we cannot connect to Redis 2014-03-25 13:29:06 -04:00
Joseph Schorr
c82d1ffe98 Add ability for users to see their authorized applications and revoke the access 2014-03-24 20:57:02 -04:00
Joseph Schorr
10004192d7 Don't send null fields in app management and clarify the fields 2014-03-24 18:18:35 -04:00
Joseph Schorr
f7c27f250b Add full application management API, UI and test cases 2014-03-20 15:46:13 -04:00
Joseph Schorr
e07670613e Get app information dialog working 2014-03-20 12:06:29 -04:00
jakedt
c93c62600d Merge remote-tracking branch 'origin/master' into swaggerlikeus
Conflicts:
	data/database.py
	endpoints/api.py
	endpoints/common.py
	templates/base.html
	test/data/test.db
	test/specs.py
2014-03-19 15:39:44 -04:00
Joseph Schorr
8f3b87c866 - Handle the case when the user is not logged in on the oath form
- Have the sign in form properly redirect back to the current page for GitHub login
2014-03-19 14:27:33 -04:00
Joseph Schorr
8ac67e3061 Fix handling of retrieving the user information and session expiration 2014-03-19 14:04:42 -04:00
Joseph Schorr
9ae4506a0d Add OAuth usage information the API logs, have it be displayed in the logs UI and start on the code to display application information when clicked. Note that this does not (yet) do anything with the information returned as we need to wait for the mainline merge of Angular 1.2.9 (which is in master) before I can continue on the display 2014-03-18 16:45:18 -04:00
Joseph Schorr
877427378d Fix the log view performance issues in the build history view by creating a specialized collection class that asynchronously adds the items to be displayed in a batch-like manner. 2014-03-18 15:08:46 -04:00
jakedt
eef17ae7d4 Merge remote-tracking branch 'origin/heyyouthere' 2014-03-17 22:33:27 -04:00
Joseph Schorr
d4cf7df9cf Change permissions adding from a POST to a PUT 2014-03-17 15:05:55 -04:00
Joseph Schorr
d0d8ce9057 Only specify activating_user field if one is actually needed 2014-03-17 15:04:12 -04:00
Joseph Schorr
05261c8455 New API is more strict on the fields being present in change user information, so we have to delete them, not merely set them to empty strings 2014-03-17 14:59:40 -04:00
Joseph Schorr
14182a94f2 Fix build package viewer to use the archive url from the status API call 2014-03-17 14:53:05 -04:00
jakedt
3542a520f5 Fix bugs, mostly related to date formatting. 2014-03-17 13:10:12 -04:00
Joseph Schorr
e759066ae0 Change ApiService to use the new swagger-backed discovery and the new /v1/ API endpoints. Also changes all other /api/ calls (the few that are still manually invoked) 2014-03-14 23:40:41 -04:00
Joseph Schorr
638463671a Add ability for new repositories to be linked to Github 2014-03-13 15:25:38 -04:00
Joseph Schorr
e5a461989f Add a check_repository_usage method which adds (or removes) a notification on the user/org when they go over their plan usage 2014-03-12 19:19:39 -04:00
Joseph Schorr
525ef8d14f Add support for targeting notifications to organizations and remove the password_required notification for new orbs 2014-03-12 19:00:24 -04:00
Joseph Schorr
578add3b9e Finish basic notifications system and verify it works for the "password_required" notification. 2014-03-12 16:05:32 -04:00
Joseph Schorr
f186fa2888 - Convert Quay over to Angular 1.2.9 and the new angular-strap
- Add the beginnings of a notification service
- Add the beginnings of a notification UI
2014-03-12 00:49:46 -04:00
Joseph Schorr
9ca41dec95 Add a 500 error page and make it automatically display if there is a 500 error as a result of an API call 2014-03-10 17:01:36 -04:00
Joseph Schorr
2a8669b2f4 - Switch to new typeahead (based on our own branch of it until such time as it gets pulled into the mainline) and add an informative empty message on entity search
- Add better messaging around pushing to empty repos
2014-03-07 21:06:31 -05:00
Joseph Schorr
dbb234c76c Better upwell messaging for everyone and show the upsell for organization admins 2014-03-06 18:36:52 -05:00
jakedt
0d4c66312b Merge branch 'master' of ssh://bitbucket.org/yackob03/quay 2014-03-06 12:51:34 -05:00
jakedt
372224b19f Select the most recent build. 2014-03-06 12:51:20 -05:00
Joseph Schorr
a9f70c6e3a Show a spinner when loading the build info 2014-03-05 18:13:04 -05:00
Joseph Schorr
9f2841d40b Fix case typos 2014-03-05 18:07:50 -05:00
Joseph Schorr
256503ca75 Fix the build package path handling 2014-03-05 18:04:01 -05:00
jakedt
9c8de90378 New builds go at the beginning of the build list. 2014-03-05 17:44:02 -05:00
Joseph Schorr
773701b14d Merge branch 'master' of https://bitbucket.org/yackob03/quay 2014-03-05 17:01:22 -05:00
Joseph Schorr
5115292bf8 Load repo info on the image view page so we can display the proper visibility status in the repo circle 2014-03-05 17:01:04 -05:00
jakedt
af97ed1464 Merge branch 'master' of ssh://bitbucket.org/yackob03/quay 2014-03-05 16:51:15 -05:00
jakedt
a633fa47aa Only reload the view when canceling the timer if a build recently finished. 2014-03-05 16:50:32 -05:00
Joseph Schorr
c75921498c Merge branch 'master' of https://bitbucket.org/yackob03/quay 2014-03-05 16:34:38 -05:00
Joseph Schorr
de72487f34 Always show the repo circle in the image view without the lock. To determine whether to show the lock, we'd need another lookup. 2014-03-05 16:34:19 -05:00
jakedt
63bfde1036 Merge branch 'master' of ssh://bitbucket.org/yackob03/quay 2014-03-05 16:33:29 -05:00
jakedt
7fc5888bb0 Load the recent builds every time the repo loads. 2014-03-05 16:33:24 -05:00
Joseph Schorr
89d9bcd894 - Make sure to send the subdirectory when restarting a build
- Make sure to use the subdirectory to read the Dockerfile's location in a build package, and display the path
- Nicer UI for showing the trigger description in the build view
- Fix an NPE in the file change tree
2014-03-05 16:27:56 -05:00
Joseph Schorr
9e6e4b6a7c Fix build UI in the repo view to only show the number of current builds 2014-03-05 15:53:00 -05:00
jakedt
2ea59c8555 Allow for special config for staging. 2014-03-04 19:40:29 -05:00
jakedt
972e706d9c Update the Markdown generator for badges to have alt text. 2014-03-04 16:45:02 -05:00
Joseph Schorr
3f806b10c2 Add support for build status tags, which link to the Quay.io repo 2014-02-28 16:23:36 -05:00
Joseph Schorr
20ad666308 Add ability to tag images from the UI, including moving existing tags to different images 2014-02-28 00:12:09 -05:00
Joseph Schorr
39eaca346d Add an icon for build triggers and properly handle build trigger activation errors 2014-02-26 18:43:16 -05:00
Joseph Schorr
206049dbf8 - Add a build now command to the trigger
- Have the trigger description use the master_branch in the config
2014-02-25 19:53:41 -05:00
Joseph Schorr
a6128978cb Merge branch 'rustedbuilds' of https://bitbucket.org/yackob03/quay into rustedbuilds 2014-02-25 18:22:59 -05:00
Joseph Schorr
e687b4d2d4 Add logging descriptions for the new trigger logs 2014-02-25 18:22:55 -05:00
jakedt
de49ce151b Merge remote-tracking branch 'origin/master' into rustedbuilds 2014-02-25 17:00:38 -05:00
Joseph Schorr
c3c26ba199 - Add a build trigger link to the builds menu in the repo view
- Have the dialog dismiss auto-delete the trigger
- Have the github trigger setup choose the first directory, if any
2014-02-25 15:25:24 -05:00
Joseph Schorr
1100e72d9e Make robot accounts clickable if they are accessible to the user 2014-02-25 12:32:56 -05:00
Joseph Schorr
77c2e7fa5e Warn if the docker file directory entered does not match any of those found 2014-02-25 00:42:33 -05:00
Joseph Schorr
def56c971c Fix entering of docker file folders manually, and show the linked docker file in the build trigger view 2014-02-25 00:19:38 -05:00
Joseph Schorr
d1fdc31549 - Add a dropdown-select directive and use it in the git trigger setup dialog both times
- Add a dropdown-select for the docker file folder
- Add an API method for listing the build source sub directories
2014-02-24 20:36:54 -05:00
Joseph Schorr
5519d93a64 Get UI for activating github build triggers in place and working. Note that the actual server-side activation is still not done (but the proper method is invoked) 2014-02-20 18:57:49 -05:00
Joseph Schorr
c494c889f5 Add info to the build pane that shows if a trigger started the build 2014-02-20 13:27:59 -05:00
Joseph Schorr
5b0300ab62 Get initial build trigger UI working 2014-02-19 17:38:00 -05:00
jakedt
ed38bcdafc Merge remote-tracking branch 'origin/master' into rustedbuilds
Conflicts:
	test/data/test.db
2014-02-18 16:13:34 -05:00
jakedt
b5d4919364 Split out callbacks into their own blueprint. Add build trigger DB information and connect it with some APIs. Stub out the UI to allow for generation of triggers. Split out the triggers into a plugin-ish architecture for easily adding new triggers. 2014-02-18 15:50:15 -05:00
Joseph Schorr
0e566b63cf Fix resize issue on build pack tree 2014-02-17 21:21:55 -05:00
Joseph Schorr
d1922c6fd2 Have the docker file view in the build pack tab use a nice formatter 2014-02-17 18:31:45 -05:00
Joseph Schorr
509ba2f4f7 Add ability to download the build pack 2014-02-17 17:36:58 -05:00
Joseph Schorr
bc0d51656a Add ability to see a build's build pack, including browsing and downloading of the contents if it is a zip 2014-02-17 17:28:20 -05:00
Joseph Schorr
7bf6936154 - New UI for the repo view, which shows the build status and admin button on the top bar, and allows for creation of new builds as well as linking to build history
- Add a new build button to the build history page
-
2014-02-14 22:59:44 -05:00
Joseph Schorr
0ceeb6f8e7 Always show the current build at the top of the list 2014-02-14 18:46:20 -05:00
Joseph Schorr
55d846061e Add ability to re-run a dockerfile build 2014-02-14 18:37:06 -05:00
Joseph Schorr
540da00c64 Add ANSI support to the build log view 2014-02-13 22:01:26 -05:00
Joseph Schorr
6776924ee7 Better breadcrumbs 2014-02-13 18:58:28 -05:00
Joseph Schorr
895a00de31 Handle the case where the user has not selected the correct namespace in the repo list 2014-02-13 18:15:19 -05:00
jakedt
10aafcf10a Fix the duplicate firing of events on tour continuations. 2014-02-13 17:39:01 -05:00
jakedt
41a173ae85 Add mixpanel events to the tutorial. 2014-02-13 17:27:50 -05:00
jakedt
8135e0266e Merge branch 'master' into tutorial
Conflicts:
	static/directives/header-bar.html
2014-02-13 16:54:02 -05:00
Joseph Schorr
934b131f7b UI improvements for the tutorial:
- Have a show sudo checkbox which defaults to on for linux
  - Have the repository name be highlighted in a light blue bubble/chit
2014-02-13 15:59:37 -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
889d178336 Add access denied messages to the repo admin and repo build pages when applicable 2014-02-12 21:39:23 -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
yackob03
85694dd110 Add a build display name, set it from the etag reported by s3 for file uploads. 2014-02-12 13:52:12 -05:00
Joseph Schorr
8af8ae7ddd Fix command duplication bug 2014-02-11 17:12:48 -05:00
Joseph Schorr
fadf4001c0 Make sure to always load initial logs and to only ask for the latest log entries on initial load 2014-02-11 16:56:39 -05:00
Joseph Schorr
ea45c3b77f Get full build interface working 2014-02-10 22:43:48 -05:00
Joseph Schorr
59e15465bb Get build page ready for logs 2014-02-10 19:13:28 -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
798b6fd1bc Tour fixes/improvements:
- Use a placeholder for the container id and repo name
- Add a skip button for docker login
- Add better messaging around permissions
2014-02-07 12:47:53 -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
Joseph Schorr
fa1bf94af1 Get the basic tutorial working completely, including reacting to server-side events 2014-02-06 20:58:26 -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
yackob03
96a97f667c Merge remote-tracking branch 'origin/better-error' 2014-01-30 13:44:33 -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
Joseph Schorr
98109a28cd Better error messages when using the API, index and registry 2014-01-24 14:12:04 -05:00
yackob03
845985c859 Merge branch 'security'
Conflicts:
	endpoints/api.py
	endpoints/web.py
2014-01-23 14:51:43 -05:00
yackob03
459f30c123 Merge remote-tracking branch 'origin/master' into umask
Conflicts:
	initdb.py
	test/data/test.db
2014-01-22 11:53:20 -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
ca9317c71a Fix chart bug with 0-prefixed dates 2014-01-21 17:07:22 -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
d71b50d6b1 Make error disappear when email box is edited 2014-01-20 18:27:17 -05:00
Joseph Schorr
8081680947 Hide popover on button click 2014-01-20 18:23:15 -05:00
Joseph Schorr
6548b251be Fix UI for duplicate emails 2014-01-20 18:17:03 -05:00
Joseph Schorr
4054ead45d Fix tree graph when there are many branches and they do not have a common root node. Also adds a test repo to check this case 2014-01-20 17:38:33 -05:00
Joseph Schorr
0bfa172543 Better UX feedback when deleting repos 2014-01-20 17:03:16 -05:00
Joseph Schorr
cbf80281ba Add ability to change an organization’s email address 2014-01-20 16:12:23 -05:00
Joseph Schorr
a363ada41c Add ability to view and change an account’s email address 2014-01-17 17:04:05 -05:00
Joseph Schorr
9d26c79db0 Better messaging in create repo 2014-01-15 19:15:38 -05:00
Joseph Schorr
7e8f4ab07b Merge branch 'master' of https://bitbucket.org/yackob03/quay 2014-01-15 16:11:31 -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
Joseph Schorr
87f4c18c49 Set the default namespace to the new org when created 2014-01-15 14:20:39 -05:00
yackob03
b6d4459080 Complete the login with GitHub functionality. 2014-01-15 13:55:57 -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
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
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