Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes #1049. Upload images before form submission. #1053

Merged
merged 9 commits into from
May 20, 2016
Merged

Conversation

miketaylr
Copy link
Member

No description provided.

@miketaylr
Copy link
Member Author

Ah yeah, need to update python tests.

@miketaylr
Copy link
Member Author

OK! Just deployed this to staging if anyone wants to test.

So far, my tests are good! Basically, reporting an issue with a screenshot as an authed GitHub user works again. And it's soooo much faster thanks to @karlcow.

r? @karlcow

@karlcow
Copy link
Member

karlcow commented May 20, 2016

This is working.

127.0.0.1 - - [20/May/2016 11:04:32] "POST /issues/new HTTP/1.1" 302 -
127.0.0.1 - - [20/May/2016 11:04:32] "GET /login HTTP/1.1" 302 -
127.0.0.1 - - [20/May/2016 11:04:42] "GET /callback?code=******* HTTP/1.1" 302 -
127.0.0.1 - - [20/May/2016 11:04:44] "GET /file HTTP/1.1" 302 -
127.0.0.1 - - [20/May/2016 11:04:44] "GET /thanks/397 HTTP/1.1" 200 -
127.0.0.1 - - [20/May/2016 11:05:22] "GET /issues/397 HTTP/1.1" 200 -
127.0.0.1 - - [20/May/2016 11:05:22] "GET /js/vendor/qr.min.js HTTP/1.1" 200 -
127.0.0.1 - - [20/May/2016 11:05:22] "GET /js/lib/models/comment.js HTTP/1.1" 200 -
127.0.0.1 - - [20/May/2016 11:05:22] "GET /js/lib/issues.js HTTP/1.1" 200 -
127.0.0.1 - - [20/May/2016 11:05:22] "GET /js/lib/qrcode.js HTTP/1.1" 200 -
127.0.0.1 - - [20/May/2016 11:05:22] "GET /js/lib/comments.js HTTP/1.1" 200 -
127.0.0.1 - - [20/May/2016 11:05:24] "GET /api/issues/labels?per_page=100 HTTP/1.1" 200 -
127.0.0.1 - - [20/May/2016 11:05:24] "GET /api/issues/397 HTTP/1.1" 200 -
127.0.0.1 - - [20/May/2016 11:05:24] "GET /uploads/2016/5/c701a0ad-0652-4325-b237-bf072a08b675.jpg HTTP/1.1" 200 -

// Note: this could fail in weird ways depending on how
// the user has edited the descField.
this.descField.val(function(idx, value) {
return value.replace(/!\[.+\.jpe*g\)$/, '');

This comment was marked as abuse.

This comment was marked as abuse.

This comment was marked as abuse.

@karlcow
Copy link
Member

karlcow commented May 20, 2016

r+ @miketaylr

@karlcow
Copy link
Member

karlcow commented May 20, 2016

Super extra with the two latest pull requests I have the feeling with suddenly bumped our UX ;) or at least unbroke it.

@karlcow karlcow merged commit da1e2a6 into master May 20, 2016
@miketaylr
Copy link
Member Author

I have the feeling with suddenly bumped our UX ;) or at least unbroke it.

Little bit from Column A, little bit from Column B. :p

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants