Commit graph

440 commits

Author SHA1 Message Date
Joseph Schorr
b8e873b00b Add support to the build system for tracking if/when the build manager crashes and make sure builds are restarted within a few minutes 2014-11-21 14:27:06 -05:00
Jake Moshenko
f4681f2c18 Merge branch 'master' into nomenclature
Conflicts:
	test/data/test.db
2014-11-17 17:59:59 -05:00
Joseph Schorr
58ca76239b Add ability to one-click generate an authorization access token in the applications panel 2014-11-17 14:54:07 -05:00
Joseph Schorr
4322b5f81c Get the new build system working for enterprise 2014-11-13 19:41:17 -05:00
Joseph Schorr
870d5ed0c5 Fix NPE 2014-11-10 11:37:52 -05:00
Joseph Schorr
9408138230 Fix NPE 2014-11-10 11:36:47 -05:00
Joseph Schorr
9d1b6d829a Make sure the external login link for GHE links to the enterprise GitHub and not the hosted version 2014-11-06 20:35:52 -05:00
Joseph Schorr
3e79379942 - Make the OAuth config system centralized
- Add support for Github Enterprise login
2014-11-05 16:43:37 -05:00
Joseph Schorr
6dfdb2fe03 Make sure to filter out the build-related notification events when build support is turned off 2014-11-03 17:12:39 -05:00
Joseph Schorr
c1398c6d2b - Add a log entry for repo verb handling and make the container usage calculation take it into account
- Move all the repo push/pull/verb logging into a central track_and_log method
- Readd images accidentally deleted in the last CL
- Make the uncompressed size migration script better handle exceptions
2014-10-29 15:42:44 -04:00
Joseph Schorr
109850b428 Add a basic usage counter for enterprise 2014-10-28 16:33:13 -04:00
Joseph Schorr
93cd7de0e0 Handle email errors in a better manner 2014-10-28 12:10:44 -04:00
Joseph Schorr
793b6f543c Make github trigger setup a bit nicer when there are a lot of repos 2014-10-27 17:05:16 -04:00
Joseph Schorr
fb2470615b Add support for filtering based on tags, in addition to branches 2014-10-23 16:39:10 -04:00
Jake Moshenko
1461310ab8 Merge remote-tracking branch 'origin/master' into nomenclature
Conflicts:
	endpoints/common.py
	endpoints/notificationhelper.py
	test/data/test.db
	workers/dockerfilebuild.py
2014-10-23 13:25:37 -04:00
Joseph Schorr
8b331b453e Make the contact page dynamic so that enterprise customers can configure it however they like 2014-10-22 14:49:33 -04:00
Joseph Schorr
efeb0dc655 Fix bug introduced with the dialog change for github setup. We properly read the pull entity again. 2014-10-20 17:41:48 -04:00
Joseph Schorr
c3171a2690 Redo the UI for the trigger setup dialog and add the ability for github triggers to be filtered using a regex on their branch name. 2014-10-14 15:46:35 -04:00
Jake Moshenko
a0d94f9d59 Merge remote-tracking branch 'origin/laffa' into nomenclature
Conflicts:
	test/data/test.db
2014-10-07 15:56:28 -04:00
Jake Moshenko
ee9973a395 Merge remote-tracking branch 'origin/master' into nomenclature 2014-10-07 15:43:59 -04:00
Joseph Schorr
f38ce51943 Merge master into laffa 2014-10-07 14:03:17 -04:00
Joseph Schorr
9d898bca65 Make Hipchat token messaging more clear 2014-10-06 12:17:05 -04:00
Jake Moshenko
ed8bcff39e Merge remote-tracking branch 'origin/master' into nomenclature
Conflicts:
	test/data/test.db
	workers/dockerfilebuild.py
2014-10-06 10:29:39 -04:00
Joseph Schorr
e0993b26af Make query params only read from query params, not JSON as well 2014-10-03 15:05:34 -04:00
Jake Moshenko
e8b3d1cc4a Phase 4 of the namespace to user migration: actually remove the column from the db and remove the dependence on serialized namespaces in the workers and queues 2014-10-01 14:23:46 -04:00
Joseph Schorr
d9c7e92637 Add superuser abilities: create user, show logs. Also fix the super users UI to show the user drop down and make all superuser API calls require fresh login 2014-10-01 13:55:09 -04:00
Joseph Schorr
039d53ea6c - Fix initdb
- Add ability to specific custom fields for manual running of build triggers and add a "branch name" selector for running github builds
2014-09-30 16:29:32 -04:00
Joseph Schorr
e11c140fc8 Fix the org members logs view 2014-09-29 14:08:16 -04:00
Joseph Schorr
f938f3fa43 NPE fixes 2014-09-23 14:13:55 -04:00
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