Commit graph

541 commits

Author SHA1 Message Date
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