Commit graph

2733 commits

Author SHA1 Message Date
Joseph Schorr
5bbf1d0c14 Make sure the ac-discovery URL is generated properly from config values 2015-01-13 18:00:01 -05:00
Joseph Schorr
d8817a2965 Fix ACI conversion handling of relative exec commands 2015-01-13 17:55:27 -05:00
Joseph Schorr
6ed28930b2 Work in progress: Docker -> ACI conversion 2015-01-13 17:46:11 -05:00
Jimmy Zelinskie
6cbd4ee4fe Add rate limiting to nginx.
The only caveat is that "One megabyte zone can keep about 16 thousand
64-byte states. If the zone storage is exhausted, the server will return
the 503 (Service Temporarily Unavailable) error to all further
requests."
  -- nginx documentation
2015-01-13 15:59:04 -05:00
Jimmy Zelinskie
53e9e514d5 Add vim nginx ft to nginx config files 2015-01-13 15:19:42 -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
42ea3b835c Fix NPE 2015-01-12 11:42:09 -05:00
Joseph Schorr
0d2c42ad03 Fix tests 2015-01-09 17:11:51 -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
47fb10b79f Merge branch 'master' into ackbar 2015-01-08 13:57:39 -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
Joseph Schorr
7933bd44fd Add tests for the new super user config API and make sure both super user API endpoint sets are all guarded against being used in production 2015-01-08 12:53:36 -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
f125efa8ca Fix broken check 2015-01-07 16:42:09 -05:00
Joseph Schorr
508bc10a58 Fix broken test due to the permissions change 2015-01-07 16:31:16 -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
Jimmy Zelinskie
f4d078e87a vendor pygithub
It's going to be a long time before the developer decides to merge our
changes upstream.
2015-01-06 15:41:29 -05:00
Jimmy Zelinskie
216e14c63f Merge pull request #4 from coreos-inc/mysql-index-len
Explicitly declare length of large MySQL indices.
2015-01-06 15:38:10 -05:00
Jimmy Zelinskie
b18986c72b Continuation of baa4918d89. 2015-01-06 15:11:37 -05:00
Jimmy Zelinskie
baa4918d89 Explicitly declare length of large MySQL indices.
Most MySQL installs silently truncate indices at a specific number of bytes.
This value is 767 bytes unless either the innodb_large_prefix option is turned
on or the innodb_page_size has been changed. This change explicitly limits the
size of large indices to 767 characters due to the latin1 charset being 1 byte
per char.
2015-01-06 14:55:31 -05:00
Joseph Schorr
825455ea6c Get the contacts field partially working 2015-01-05 17:10:01 -05:00
Jake Moshenko
fc757fecad Tag the EC2 instances with the build uuid. 2015-01-05 15:35:14 -05:00
Joseph Schorr
32c0a14d96 Get mapped fields (Github and Redis) working 2015-01-05 15:18:01 -05:00
Jake Moshenko
dd7664328c Make the build manager ports configurable. 2015-01-05 15:09:03 -05:00
Jimmy Zelinskie
88a60d05b6 fix shadowed variable
'tag' was being used for both a string value and a boolean value
2015-01-05 14:51:00 -05:00
Jake Moshenko
8037962716 Change the severity of a log message which is actually expected in the happy case. 2015-01-05 14:44:54 -05:00
Jake Moshenko
f58b09a064 Remove the loop argument from the call to build_component_ready. 2015-01-05 13:08:25 -05:00
Joseph Schorr
219730c341 Better config defaults and remove some unneeded code 2015-01-05 13:01:32 -05:00
Joseph Schorr
40d2b1748f Fix handling of secret key: We now generate it on app startup if it doesn't exist in the config (which it doesn't anymore in the base config.py). 2015-01-05 12:31:02 -05:00