Commit graph

816 commits

Author SHA1 Message Date
Jimmy Zelinskie
498d0af6a4 directives: add optional placeholder for markdown 2015-02-23 16:43:59 -05:00
Jimmy Zelinskie
6bff3449aa js: continue merging pagesnew 2015-02-23 15:22:41 -05:00
Jimmy Zelinskie
3dbaafbd60 Merge branch 'pagesnew' into star 2015-02-23 15:07:49 -05:00
Joseph Schorr
5cc1c90021 Remove unused param 2015-02-23 14:55:55 -05:00
Joseph Schorr
83d25d8c2b Add a page for toggling the cookie used for the new layout experiment 2015-02-23 14:48:33 -05:00
Joseph Schorr
b66551ec48 Add titles and descriptions to the pages 2015-02-23 14:23:54 -05:00
Joseph Schorr
078f9c206f Add back in the about and security pages 2015-02-23 11:51:07 -05:00
Joseph Schorr
d6d11644d8 Move all controllers into page definitions and add support for layout profiles 2015-02-20 18:15:48 -05:00
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
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
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
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
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
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
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
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
511c607bbb Check for 502s as well 2015-01-13 14:33:29 -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
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
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
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
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
e8cd24781a remove 'include_starred' option on repo listings 2014-12-29 14:11:46 -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
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
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
Jake Moshenko
b3886570eb Merge remote-tracking branch 'origin/master' into nomenclature 2014-11-19 10:40:52 -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
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
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
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
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
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
Joseph Schorr
e5055763f6 Make the squashed path smaller and handle failure cases on the curl side 2014-09-19 12:54:52 -04:00
Joseph Schorr
e273dca4b4 Change back to using a docker load format 2014-09-19 12:22:54 -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
913b3e472f Add ability to detach external login services 2014-09-15 12:01:02 -04:00
Joseph Schorr
e8ad01cb41 Lots of small NPE and other exception fixes 2014-09-15 11:27:33 -04:00
Joseph Schorr
10faa7de84 Only allow users matching the team invite to accept, if the invite was specified for a user (rather than an email) 2014-09-12 14:29:01 -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
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