Commit graph

461 commits

Author SHA1 Message Date
Joseph Schorr
3a356c6aab Make sure the team add UI handles the no mailing case as well 2014-09-23 11:19:50 -04:00
Joseph Schorr
f3b03ebc34 Add a feature flag for disabling all emails 2014-09-22 19:11:48 -04:00
Joseph Schorr
dc685b2387 Merge branch 'huggies' 2014-09-22 13:41:29 -04:00
Joseph Schorr
a90aab4665 Switch to using straight docker IDs instead of a hashing scheme 2014-09-18 17:16:10 -04:00
Joseph Schorr
05bb710830 - Add a shared AUFS utility lib and change both changes and streamlayerformat to use it
- Add UI for selecting whether to pull the tag, the repo, or the squashed tag
2014-09-18 15:56:59 -04:00
Joseph Schorr
f93dd63e81 Change the .dockercfg generator to not include the protocol or /v1 2014-09-17 18:20:44 -04:00
Joseph Schorr
77bf10323c Fix JS error due to merge and show a spinner in the sign in form when signing in 2014-09-16 00:23:56 -04:00
Jake Moshenko
75d2ef377e Merge remote-tracking branch 'origin/master' into comewithmeifyouwanttowork
Conflicts:
	data/model/legacy.py
2014-09-15 17:52:17 -04:00
Joseph Schorr
e8ad01cb41 Lots of small NPE and other exception fixes 2014-09-15 11:27:33 -04:00
Jake Moshenko
b55e79e5d3 Merge remote-tracking branch 'origin/master' into waltermitty 2014-09-12 11:45:07 -04:00
Jake Moshenko
c5ca46a14b Merge remote-tracking branch 'origin/master' into comewithmeifyouwanttowork
Conflicts:
	data/model/legacy.py
	static/js/app.js
2014-09-12 11:03:30 -04:00
Jake Moshenko
5388633f9a Merge remote-tracking branch 'origin/master' into pullfail 2014-09-12 10:36:38 -04:00
Joseph Schorr
8a94e38028 - Add an AngularPollChannel class for easier handling of HTTP polling.
- Convert the build view page over to use the new class
- Add code so that if the builds logs returned by the API start in the set we already have, we only add the new ones
2014-09-11 19:59:44 -04:00
Joseph Schorr
8d3ce44682 Address comments on code review 2014-09-11 15:45:41 -04:00
Joseph Schorr
11b690cba9 Fix slack help url 2014-09-10 14:17:39 -04:00
Joseph Schorr
7c45aca405 Code review changes 2014-09-08 17:20:01 -04:00
Joseph Schorr
63628678b8 Instead of sending DB IDs, send "internal IDs" which are DB IDs hashed. This way, we can still calculate the ancestors without hitting the DB further, but without leaking the size of the images table 2014-09-08 15:02:26 -04:00
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
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
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
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
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
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
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
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
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
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
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
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
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
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
76165b5d2b Add API and UI support for displaying image locations 2014-06-24 18:48:42 -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
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
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
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
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
91f9987d41 Fix NPE 2014-05-19 12:35:16 -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
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
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
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
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
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
Joseph Schorr
a3bd2a065a Merge branch 'githublogin' 2014-04-16 22:48:03 -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
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
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
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
5f98bf8dab Merge remote-tracking branch 'origin/master' into swaggerlikeus
Conflicts:
	endpoints/api.py
2014-03-25 15:50:03 -04:00