Commit graph

998 commits

Author SHA1 Message Date
yackob03
7d593b1078 Switch the delete tag response code to match the registry spect. 2014-02-06 17:33:50 -05:00
yackob03
c3cb1dfa87 Add a tool to fix the images that were wrong before c8f0780 fixed tags. 2014-02-06 15:34:19 -05:00
yackob03
c8f0780aaf Fix a subtle bug with create_or_update_tag. 2014-02-06 14:49:53 -05:00
yackob03
ec8f599a11 First half of pylint fixes for the unit tests. 2014-02-06 14:40:36 -05:00
yackob03
2a89c2bb35 Refactor the garbage collection code a tiny bit. 2014-02-06 14:22:13 -05:00
yackob03
f5fff3657c Merge remote-tracking branch 'origin/unittesting' 2014-02-06 14:16:34 -05:00
yackob03
1012daf303 Remove the tests for the now removed method: delete all repository tags. 2014-02-06 14:15:59 -05:00
yackob03
ef68982728 Garbage collect repositories on push and on tag deletion. 2014-02-06 14:13:35 -05:00
Joseph Schorr
732ce83795 Move JSON pretty print config flag to the proper place 2014-02-05 17:05:06 -05:00
Joseph Schorr
4c9a1c1621 Disable pretty printing of JSON, since it can break Docker CLI 2014-02-05 17:00:33 -05:00
yackob03
8b8084f484 Add a mostly working cloud init script and a bitbucket deploy key. The docker run of logstash isn't working for some reason and still must be done manually. 2014-02-04 19:01:04 -05:00
yackob03
9c20560e91 Merge branch 'master' of ssh://bitbucket.org/yackob03/quay 2014-02-04 15:09:00 -05:00
yackob03
a6f98570a1 Send everything in production through the gunicorn logger (allows rotation using USR1). Add a gunicorn logger that emits the logstash format. Move the gunicorn config to the conf subdir. Update the postrotate script to hopefully work. 2014-02-04 15:08:49 -05:00
Joseph Schorr
808b2e24d8 Merge branch 'master' of https://bitbucket.org/yackob03/quay 2014-02-03 21:18:55 -05:00
Joseph Schorr
1f8c66512f Add a tool for manually resending a confirmation email 2014-02-03 21:18:39 -05:00
Joseph Schorr
83a34c0ef3 Fix the few broken security tests after the error code fixes 2014-02-03 18:30:06 -05:00
Joseph Schorr
08160afdde Finish API endpoint unit tests 2014-02-03 18:18:33 -05:00
yackob03
f2fef9fcde Update the logrotate config to use the right permissions for the file, and to call USR1 on nginx after rotation. Update the readme to use the nginx pidfile. 2014-02-03 11:57:29 -05:00
Joseph Schorr
e3eee958a4 Continue on API unit tests: Now 60% (or so) coverage 2014-01-31 19:45:44 -05:00
yackob03
cd1e1ec3b0 Merge remote-tracking branch 'origin/logcabin'
Conflicts:
	application.py
	requirements.txt
2014-01-31 19:33:38 -05:00
yackob03
f2e132871f Change the bounce command in the readme to use the pidfile for gunicorn. 2014-01-31 19:30:50 -05:00
yackob03
b48748d957 Have gunicorn publish its pid and have logrotate bounce it so that the file handle migrates. 2014-01-31 19:23:37 -05:00
yackob03
23fa91c75b Update the readme with information on starting the log pusher. 2014-01-31 19:21:05 -05:00
yackob03
b128701ed6 Forgot to move one of the nginx dirs. 2014-01-31 19:20:35 -05:00
Joseph Schorr
36d37e839b Continue on API unit tests: Now 50% (or so) coverage 2014-01-31 18:54:31 -05:00
yackob03
9db63a505f Add logrotate config and installation instructions to the readme. 2014-01-31 18:17:11 -05:00
yackob03
2b6c9149e8 Configure nginx to emit logstash logs for access logs. Move all nginx config to a conf subdir. Rework nginx config to share common parts. 2014-01-31 18:13:46 -05:00
Joseph Schorr
8fede11620 Fix broken API routes 2014-01-31 17:54:56 -05:00
Joseph Schorr
05b33dced4 Continue on API unit tests 2014-01-31 17:54:01 -05:00
Joseph Schorr
900ccd4c47 Start on unit tests for the API endpoint 2014-01-31 16:19:29 -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
0e2adf7a30 Empty tar files should be interepreted as no diffs. 2014-01-31 11:29:55 -05:00
yackob03
4000632829 Merge branch 'faster-testing' 2014-01-31 11:14:30 -05:00
yackob03
acbb075d13 Fix the imports for the model db. 2014-01-31 11:14:07 -05:00
Joseph Schorr
62deddce24 Upgrade peewee 2014-01-30 21:35:39 -05:00
Joseph Schorr
0833c88065 Make testing much faster by using a save point, rather than recreating the database every test 2014-01-30 20:57:40 -05:00
yackob03
85e1c96147 Disable DEBUG logging for boto. 2014-01-30 19:48:39 -05:00
yackob03
31ff854031 Fix the permissions for the build status tests. Fix a problem with logging the csrf token information when the user is anonymous. 2014-01-30 19:36:21 -05:00
yackob03
f840592b6e Merge branch 'master' of bitbucket.org:yackob03/quay 2014-01-30 19:07:22 -05:00
yackob03
7412fae9dc Fix the tests to use blueprints. 2014-01-30 19:06:26 -05:00
yackob03
fff5da6354 Fix the response codes for errors. 2014-01-30 19:06:10 -05:00
Joseph Schorr
6d412c726b Change the image 404 to a flask_abort to avoid logging it 2014-01-30 17:44:12 -05:00
Joseph Schorr
1af43735d0 Merge branch 'master' of https://bitbucket.org/yackob03/quay 2014-01-30 17:24:13 -05:00
Joseph Schorr
4ffb86314b Fix all non-test url_for’s 2014-01-30 17:23:21 -05:00
yackob03
2ddbad3d39 url_for must reference the blueprint name now. 2014-01-30 17:23:14 -05:00
yackob03
f908791154 Make the messaging around conversion even clearer. 2014-01-30 16:06:48 -05:00
yackob03
19545d580c Update the screenshots with the new Documentation link. 2014-01-30 13:50:05 -05:00
yackob03
96a97f667c Merge remote-tracking branch 'origin/better-error' 2014-01-30 13:44:33 -05:00
yackob03
05febb1a0c Switch the CSRF token to logging only to test for a little while in prod. 2014-01-30 13:42:25 -05:00