Commit graph

1125 commits

Author SHA1 Message Date
Joseph Schorr
9b87999c1c Code cleanup part #1: move all the services and directive JS code in the app.js file into its own files 2015-02-19 16:21:54 -05:00
Jimmy Zelinskie
917dd6b674 Merge branch 'master' into star 2015-02-18 17:36:58 -05:00
Joseph Schorr
89eb5bdcc5 Merge branch 'quark' 2015-02-18 15:59:36 -05:00
Joseph Schorr
ea5b998168 Fix missed container 2015-02-18 15:51:57 -05:00
Joseph Schorr
45ee81af18 Fix landing page 2015-02-18 14:42:50 -05:00
Joseph Schorr
9d91226cff Fix padding on page views: the container class interacts oddly now with the new bootstrap 2015-02-18 14:37:59 -05:00
Jake Moshenko
2dd03f1bed Merge remote-tracking branch 'origin/master' into rockyhorror
Conflicts:
	test/data/test.db
2015-02-18 10:56:01 -05:00
Jake Moshenko
2cd5bdb563 Address concerns from pull request. 2015-02-18 10:43:08 -05:00
Joseph Schorr
ee4930b4bf Fix checkbox padding 2015-02-17 19:41:33 -05:00
Joseph Schorr
c642cada00 Adjust CSS for new version of bootstrap 2015-02-17 19:37:37 -05:00
Joseph Schorr
ff7e97faf7 Merge branch 'master' into quark 2015-02-17 19:16:12 -05:00
Joseph Schorr
524705b88c Get dashboard working and upgrade bootstrap. Note: the bootstrap fixes will be coming in the followup CL 2015-02-17 19:15:54 -05:00
Joseph Schorr
83e05d2342 Add tracking of the kind of temporary access tokens, so we can display if a pull/push by token is for a build worker 2015-02-17 12:35:16 -05:00
Joseph Schorr
79f39697fe - Fix superuser panel for debugging
- Start work on the gauges panel
2015-02-17 11:31:50 -05:00
Joseph Schorr
fbdbc21eb1 Merge branch 'master' into quark 2015-02-13 16:24:53 -05:00
Joseph Schorr
81ce4c771e Add ability to cancel builds that are in the waiting state 2015-02-13 15:54:01 -05:00
Jake Moshenko
5aedd1fabc Merge remote-tracking branch 'origin/master' into rockyhorror
Conflicts:
	test/data/test.db
2015-02-13 13:17:10 -05:00
Joseph Schorr
ae8bb5fc13 Add preparing build node status item and change the build status colors to be variations on a blue color 2015-02-12 16:38:43 -05:00
Jake Moshenko
b154e7acef Merge remote-tracking branch 'origin/master' into rockyhorror 2015-02-12 15:27:28 -05:00
Joseph Schorr
e8458267fd Add missing phase info 2015-02-12 15:27:05 -05:00
Joseph Schorr
7a199f63eb Various small fixes and add support for subjectAltName to the SSL cert check 2015-02-12 14:00:26 -05:00
Jake Moshenko
d81e6c7a4d Prune images that are only referenced by tags which are not currently alive. 2015-02-11 16:24:19 -05:00
Joseph Schorr
b91930dba2 Have DB setup warn about "localhost" 2015-02-09 17:55:46 -05:00
Joseph Schorr
045614c6c8 Merge branch 'master' into ackbar 2015-02-09 17:16:42 -05:00
Joseph Schorr
83c676f3f7 Fix blog link 2015-02-05 17:17:00 -05:00
Joseph Schorr
9dfe523615 Merge master changes 2015-02-05 13:11:16 -05:00
Joseph Schorr
400ffa73e6 Add SSL cert and key validation 2015-02-05 13:06:56 -05:00
Joseph Schorr
1255cb94ea Add force_ssl support 2015-02-04 12:03:07 -05:00
Joseph Schorr
98d63e00ee Some small fixes and start on handling SSL better 2015-02-04 11:48:25 -05:00
Jimmy Zelinskie
8efdd95f6d partials: correct missing > 2015-01-29 12:45:34 -05:00
Jimmy Zelinskie
4ed9cc8c7f partials: fix ER logo not showing up 2015-01-29 12:29:42 -05:00
Joseph Schorr
d359c849cd Add the build worker and job count information to the charts 2015-01-28 17:12:33 -05:00
Joseph Schorr
63cd6ffcc3 Start on adding usage charts 2015-01-28 12:35:01 -05:00
Joseph Schorr
30209e2bda Fix dialog formatting 2015-01-27 15:27:37 -05:00
Joseph Schorr
a98b9ca1a7 Fix URI encoding on the csrf token 2015-01-26 14:16:46 -05:00
Joseph Schorr
8e0c1a7d74 Fix restart callback 2015-01-26 14:06:39 -05:00
Joseph Schorr
0cea847f27 Add missing status check call 2015-01-26 13:52:56 -05:00
Joseph Schorr
6a0158d361 Show a warning in the superuser panel if a container restart is required, and provide a button to do so. This change also moves the restart and monitoring code into a service 2015-01-26 13:46:57 -05:00
Joseph Schorr
c88d97cf8b Fix typo 2015-01-26 12:19:45 -05:00
Joseph Schorr
30b895b795 Merge branch 'grunt-js-folder' of https://github.com/coreos-inc/quay into ackbar 2015-01-23 17:26:14 -05:00
Joseph Schorr
c8229b9c8a Implement new step-by-step setup 2015-01-23 17:19:15 -05:00
Joseph Schorr
28d319ad26 Add an in-memory superusermanager, which stores the current list of superusers in a process-shared Value. We do this because in the ER, when we add a new superuser, we need to ensure that ALL workers have their lists updated (otherwise we get the behavior that some workers validate the new permission and others do not). 2015-01-20 12:43:11 -05:00
Joseph Schorr
da4bcbbee0 Add help text on the username and password fields 2015-01-16 21:02:12 -05:00
Joseph Schorr
ca350f9808 Better styling for the updated build dialog. This is temporary until we redo the UI 2015-01-16 17:06:20 -05:00
Joseph Schorr
473a141835 Allow for building of Dockerfiles with pull robots 2015-01-16 17:01:14 -05:00
Joseph Schorr
3a3945779d Add checking for localhost in hostname fields. 2015-01-15 14:36:05 -05:00
Joseph Schorr
cc453e7d10 Fix some issues around validation in the config forms 2015-01-14 17:04:02 -05:00
Joseph Schorr
90b724d3a0 Fix add button in team view on medium sized devices 2015-01-14 14:27:37 -05:00
Joseph Schorr
511c607bbb Check for 502s as well 2015-01-13 14:33:29 -05:00
Jimmy Zelinskie
1b34ea13c9 Merge branch 'master' of github.com:coreos-inc/quay 2015-01-13 11:03:16 -05:00
Jimmy Zelinskie
f268a5d661 Fix twitter-view once and for all!
One image URL was broken and it was accidentally using the avatar
directive, so the class has been changed to 'twitter-avatar' and made
explicit.
2015-01-13 11:02:08 -05:00
Jimmy Zelinskie
3da0228aaa Add repo-list-grid directive 2015-01-12 17:43:36 -05:00
Joseph Schorr
df9a417207 Fix NPE 2015-01-12 12:37:01 -05:00
Joseph Schorr
7d412a5b68 Fix plans manager on mobile 2015-01-12 12:35:06 -05:00
Joseph Schorr
2878fd28c6 Fix header and some other minor fixes on mobile 2015-01-12 12:26:57 -05:00
Joseph Schorr
5a0277b465 Fix plans table on mobile 2015-01-12 12:17:00 -05:00
Jimmy Zelinskie
5f2bff43e7 Use avatars instead of fontawesome in repo list. 2015-01-12 12:08:08 -05:00
Jimmy Zelinskie
2ed56f04c9 gruntfile: recursively include *.js in js dir
This CL also begins placing controllers into their own directory and
individual files.
2015-01-12 12:05:58 -05:00
Joseph Schorr
6d604a656a Move config handling into a provider class to make testing much easier 2015-01-09 16:23:31 -05:00
Jimmy Zelinskie
5ed0e162a7 fix empty repo listings & indentation 2015-01-09 15:56:06 -05:00
Jimmy Zelinskie
897cfbefd6 comment and cleanup repolistctrl 2015-01-09 15:55:20 -05:00
Jimmy Zelinskie
0aae47fa7c remove public repo code;redirect to signin instead 2015-01-08 17:31:18 -05:00
Jimmy Zelinskie
5a05c6560b Always use default twitter image for twitter-view.
It was generating a very low resolution (16x16) avatar for the null user
and blowing it up to fit. It's much better to just use what would've
been the fallback.
2015-01-08 16:23:43 -05:00
Joseph Schorr
c0c27648ea Clarify where the configuration is saved 2015-01-08 16:16:22 -05:00
Joseph Schorr
65989ac1fb Fix bug where deleting the server hostname removed the entire form 2015-01-08 16:06:20 -05:00
Jimmy Zelinskie
9384133897 update starring without reloading repos 2015-01-08 16:03:06 -05:00
Joseph Schorr
0a82f669ae Require that all form fields marked 'required' are filled out before we allow config validation 2015-01-08 15:58:35 -05:00
Joseph Schorr
bfd273d16f - Make validation a bit nicer:
- Add timeout to the DB validation
  - Make DB validation exception handling a bit nicer
  - Move the DB validation error message

- Fix bug around RADOS config default for Is Secure
- Allow hiding of the validation box
2015-01-08 15:27:49 -05:00
Joseph Schorr
5ac2c4970a Add Google auth validation and fix the case where no config is specified at all for Google auth or Github auth 2015-01-08 13:56:17 -05:00
Joseph Schorr
5e0ce4eea9 Add validation of github to the config tool 2015-01-08 13:26:24 -05:00
Jimmy Zelinskie
ea79967e49 Add associated styles for 023f40c. 2015-01-07 17:45:59 -05:00
Jimmy Zelinskie
023f40c06f Hide <p> for empty text from markdown. 2015-01-07 17:42:52 -05:00
Joseph Schorr
575d4c5062 Fix file uploading 2015-01-07 16:50:08 -05:00
Joseph Schorr
63504c87fb Get end-to-end configuration setup working, including verification (except for Github, which is in progress) 2015-01-07 16:20:51 -05:00
Joseph Schorr
825455ea6c Get the contacts field partially working 2015-01-05 17:10:01 -05:00
Joseph Schorr
32c0a14d96 Get mapped fields (Github and Redis) working 2015-01-05 15:18:01 -05:00
Joseph Schorr
219730c341 Better config defaults and remove some unneeded code 2015-01-05 13:01:32 -05:00
Joseph Schorr
1bf25f25c1 WIP 2015-01-04 14:38:41 -05:00
Jimmy Zelinskie
8464b54ad9 star status shown in normal repo listings 2014-12-30 15:07:14 -05:00
Jimmy Zelinskie
17751eced9 css overflow ellipsis to titles and descriptions 2014-12-29 15:39:04 -05:00
Jimmy Zelinskie
e8cd24781a remove 'include_starred' option on repo listings 2014-12-29 14:11:46 -05:00
Joseph Schorr
77278f0391 Some UI improvements 2014-12-26 19:18:00 -05:00
Joseph Schorr
1142b1bc18 Start on config setup tool. This tool is not yet functional. 2014-12-26 16:54:36 -05:00
Joseph Schorr
cac19cac57 Add back in the ability to create users 2014-12-23 14:25:04 -05:00
Joseph Schorr
4ca877c1d4 Add ability to download system logs 2014-12-23 14:01:00 -05:00
Joseph Schorr
5c7a9d0daf Add the ability to view the system logs in the superuser endpoint 2014-12-23 11:40:51 -05:00
Joseph Schorr
1f9f4ef26b - Switch font to Source Sans Pro, like CoreUpdate
- Add support for the new cor-tabs
- Add support for title-based layouts
- Switch super user layout to the new tabs UI in prep for adding setup support
2014-12-22 15:13:23 -05:00
Joseph Schorr
107847a4bb Fix Slack notification setup to support the new slack web hook format and convert all existing data to use the new format (so we only have one code path) 2014-12-16 14:34:43 +02:00
Jake Moshenko
79b61e7709 Allow for configurable logo in the top left corner using ENTERPRISE_LOGO_URL parameter. 2014-12-12 18:25:30 -05:00
Jimmy Zelinskie
5a484cfe11 Initial redesigned UI for repo listings w/ stars. 2014-12-11 15:07:41 -05:00
Joseph Schorr
73131e57cc Remove "Quay.io" from the team-view-add dialog 2014-12-10 00:19:56 +02:00
Joseph Schorr
bab1b183e6 Make the add member dialog in the team view more clear about email addresses 2014-12-09 23:39:08 +02:00
Jimmy Zelinskie
f3259c862b Merge branch 'koh'
Conflicts:
	auth/scopes.py
	requirements-nover.txt
	requirements.txt
	static/css/quay.css
	static/directives/namespace-selector.html
	static/js/app.js
	static/partials/manage-application.html
	templates/oauthorize.html
2014-12-01 12:30:09 -08:00
Joseph Schorr
72d613614d Merge branch 'bagger' 2014-12-01 12:48:59 -05:00
Joseph Schorr
52b7896835 Further fixes to make everything work nicely with Github Enterprise 2014-11-26 12:54:02 -05:00
Joseph Schorr
b7a489813a Fix build system to work with Github Enterprise 2014-11-26 12:37:20 -05:00
Joseph Schorr
0e13ef3ff8 Fix various bugs and styling issues 2014-11-24 19:40:03 -05:00
Joseph Schorr
7bf96c506f Merge branch 'bees' into koh 2014-11-24 19:25:53 -05:00
Joseph Schorr
e9cac407df Add a configurable avatar system and add an internal avatar system for enterprise 2014-11-24 19:25:13 -05:00
Jimmy Zelinskie
716d7a737b Strip whitespace from ALL the things. 2014-11-24 16:07:38 -05:00
Jimmy Zelinskie
c48559ee3d Better status message for internal error.
This also trims whitespace in app.js.
2014-11-23 15:45:55 -05:00
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
Joseph Schorr
300473e7ad Partial fix for high CPU on build status pages 2014-11-20 17:30:57 -05:00
Jake Moshenko
2b8c246476 Temporarily put user rename behind a feature flag. Switch queue names back to using the username for namespace while we figure out a real migration strategy. 2014-11-20 15:36:39 -05:00
Jake Moshenko
b3886570eb Merge remote-tracking branch 'origin/master' into nomenclature 2014-11-19 10:40:52 -05:00
Joseph Schorr
871f4b0d69 Change the stripe icon to match our new icon 2014-11-18 15:43:06 -05:00
Joseph Schorr
d476b35a6e Make sure to reload the user information when joining a team. This makes sure the org drop down is updated 2014-11-18 14:23:53 -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
4eedd54b66 - Make usage language more accurate by stating "repositories"
- Have usage counter be based on a 4 weeks TTL
- Add a simple usage counter breakage test
2014-10-30 13:26:02 -04:00
Joseph Schorr
aba48c5f42 The initialize block in the new repo view should be behind the build feature flag as well. 2014-10-29 19:01:01 -04: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
c65031eea5 Add a throbber when loading repo permissions 2014-10-29 14:21:08 -04:00
Joseph Schorr
57810ba36f Fix bug when viewing the repo view in smaller browser windows 2014-10-29 12:07:39 -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
6e25eaaa99 Add a faster and more accurate level size calculation to the tree. This (hopefully) fixes the problems with super wide trees in prod. 2014-10-27 14:54:10 -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
5db9cd948b Add better (jinja-based) messaging to the notifications and add some fixes for the email templates 2014-10-22 19:01:56 -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
ddab067ebf jQuery requires a string to make this an update call 2014-10-17 11:33:33 -04:00
Joseph Schorr
28e31150b9 Fix small possible NPE 2014-10-17 11:33:03 -04:00
Joseph Schorr
6cac237075 Make the curl command for pulling follow redirects 2014-10-14 16:46:11 -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
773c9ac0ee Clarify the language around default permissions 2014-10-06 16:56:43 -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
Joseph Schorr
c682899861 Add a feature flag to disable user creation 2014-10-02 14:49:18 -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
7fd3c7d31b Fix title of the org members logs view 2014-09-29 14:10:11 -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