Commit graph

57 commits

Author SHA1 Message Date
jakedt
910fabe103 Disable that pesky browser cache in the ways that matter. 2014-03-26 18:36:59 -04:00
jakedt
5d2274fb05 Add CORS headers to all error responses. 2014-03-25 15:38:31 -04:00
jakedt
092e236694 Write a flask-restful version of cache-control. Remove the comments to add back in post methods. 2014-03-14 18:39:31 -04:00
jakedt
e74eb3ee87 Add scope ordinality and translations. Process oauth tokens and limit scopes accordingly. 2014-03-12 16:31:37 -04:00
Joseph Schorr
61ca29de04 Move the auth context methods into their own file so that we don't have auth trying to import itself 2014-02-25 15:07:24 -05:00
Joseph Schorr
a120f6c64a Make sure all aborts have message information 2014-02-25 14:15:12 -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
yackob03
0e2adf7a30 Empty tar files should be interepreted as no diffs. 2014-01-31 11:29:55 -05:00
Joseph Schorr
392e0d7c58 Change docs url 2014-01-29 15:38:25 -05:00
Joseph Schorr
3dc3af9eb2 The CLI can be… odd… when handling errors. Make them nicer for the CLI 2014-01-29 14:08:14 -05:00
Joseph Schorr
2b134158f5 Add issue URLs to most errors. The corresponding issue pages will be checked into the public docs repo 2014-01-28 18:29:45 -05:00
Joseph Schorr
c7e616edb9 Add the request URL to the reported error info 2014-01-24 20:40:22 -05:00
Joseph Schorr
aef719c71a Add the status code and message to the mix panel reported error 2014-01-24 20:37:44 -05:00
Joseph Schorr
b1ec9c4469 Typo fix 2014-01-24 20:34:18 -05:00
Joseph Schorr
c18212f477 Meant update, not copy 2014-01-24 20:33:42 -05:00
Joseph Schorr
9650c1867b Merge branch 'better-error' of https://bitbucket.org/yackob03/quay into better-error
Conflicts:
	util/http.py
2014-01-24 20:32:14 -05:00
Joseph Schorr
8d074d8f3a Add mix panel reporting to http error codes 2014-01-24 20:29:25 -05:00
yackob03
f585430399 Make abort return a json block, which is apparently what the client expects. Remove unused imports. Fix line length and kwarg problems. 2014-01-24 17:00:42 -05:00
Joseph Schorr
0d84cfdf17 Add more default messages 2014-01-24 15:26:32 -05:00
Joseph Schorr
374754c9c9 Handle if message is a non-string 2014-01-24 15:24:26 -05:00
Joseph Schorr
4cea2a6449 Nicer error formatting 2014-01-24 15:17:00 -05:00
Joseph Schorr
229eeec1be Don’t have a headers var anymore 2014-01-24 15:12:11 -05:00
Joseph Schorr
fd4ac04b5a HTTPException import 2014-01-24 15:10:51 -05:00
Joseph Schorr
efcbe4421d Fix logger 2014-01-24 15:09:35 -05:00
Joseph Schorr
77f2706a19 Properly use the auth’ed objects 2014-01-24 15:06:35 -05:00
Joseph Schorr
30a26d099f Have the index use the same abort method 2014-01-24 15:01:40 -05:00
Joseph Schorr
a363ada41c Add ability to view and change an account’s email address 2014-01-17 17:04:05 -05:00
yackob03
8e4bbdf1dd Add no-cache as a response header. 2014-01-02 18:01:34 -05:00
yackob03
52bee66c9f Update the checksums to a version that supports empty layers. 2013-12-06 14:23:26 -05:00
yackob03
354a03c499 Remove the logger basicConfig from the seo module. 2013-12-02 15:23:15 -05:00
Joseph Schorr
43f2dd80a0 Merge branch 'master' into looksirdroids 2013-11-22 18:22:29 -05:00
yackob03
026ed7ffb4 Start fleshing out support for robots. 2013-11-20 16:13:03 -05:00
yackob03
f5e6af37cf Fix the nginx config to work with the new snapshots. Fix the snapshot creator to correctly create the request path. 2013-11-18 19:17:58 -05:00
yackob03
6355b4a217 Fix some things with the seo snapshots and use the pep8 style guite. 2013-11-18 18:42:27 -05:00
Joseph Schorr
738973cf39 Add the snapshot endpoint to web.py and have the phantomjs running only load the page's HTML once there are no further pending XHR requests 2013-11-18 17:11:06 -05:00
Joseph Schorr
4c6012f756 Add ability to download receipts in PDF form 2013-11-18 14:49:54 -05:00
Joseph Schorr
6a2b439863 Merge branch 'master' of https://bitbucket.org/yackob03/quay 2013-11-15 15:31:11 -05:00
Joseph Schorr
04780cb3fa Fix token bug in stripe payments 2013-11-15 15:31:05 -05:00
Joseph Schorr
457b619647 Add receipt/invoice email support and option to Quay 2013-11-15 14:42:31 -05:00
yackob03
96921c2a29 Update the username validation to match the Docker CLI rules. 2013-11-15 12:31:39 -05:00
yackob03
13b457c440 Add caching to the changes api since it is so expensive and can return large results. 2013-10-20 01:18:31 -04:00
yackob03
4679b0dfcc Fix bugs and clean up data in the way diffs are generated. 2013-10-18 20:19:05 -04:00
yackob03
63ffa52245 Make the diffs absolute and sort them. 2013-10-18 17:05:51 -04:00
yackob03
a1164269be Complete the diff generating functionality. 2013-10-18 14:31:14 -04:00
yackob03
93b856bdb3 First few changes for the image diffs feature. 2013-10-17 18:25:19 -04:00
yackob03
4c15072c5a Move signin to use AJAX. Render all flask templates with the common header. Move the header to a partial. Add account recovery. 2013-10-14 17:50:07 -04:00
yackob03
16ee147eae Add a form for changing the password and prompt the user to do so when there is no password on the account. 2013-10-10 13:44:34 -04:00
yackob03
0c9937ec5e Forgot the new analytics library. 2013-10-03 16:21:37 -04:00
yackob03
ee41f79bcc Switch the confirmation email from fluxmonkey to quay. 2013-10-01 15:48:53 -04:00
yackob03
a0adffdc8e PEP8 fixes. 2013-09-27 20:03:07 -04:00