Closed Bug 1173519 Opened 9 years ago Closed 9 years ago

Mention event channels in new video emails

Categories

(Webtools Graveyard :: Air Mozilla, defect)

defect
Not set
normal

Tracking

(firefox41 affected)

RESOLVED FIXED
Tracking Status
firefox41 --- affected

People

(Reporter: peterbe, Assigned: anjalymehla51)

Details

(Whiteboard: [good first bug])

Attachments

(2 files)

There's no mention of which channel your recently uploaded video landed in.
Whiteboard: [good first bug]
Hey!
I would like to take up this bug if its fine?
(In reply to anjaly from comment #1)
> Hey!
> I would like to take up this bug if its fine?

Go for it! I suggest you study the README on github and then make a GitHub Pull Request. If it goes into review for inclusion, we'll assign this bug to you.
Hey 

I couldn't identify the flow as in what are the step that need to be followed which leads to email to be sent. I tried uploading videos (once submitted ,an email is sent out?) but it failed.
I'm sorry the README is so long. It gets boring to read :)

See the section about how you have to set up::

    EMAIL_BACKEND = 'django.core.mail.backends.console.EmailBackend'

That'll make sure emails are sent to the console rather than being sent over SMTP.
Attached image error_screenshot.JPG
Yes i did change the settings. But the problem here is the error while uploading a video :\
To be able to upload a video you need an AWS S3 account. Do you have that?
No I don't. I have made some changes to include channels in the email , so I thought uploading and testing if it works well was right thing to do. 
Is there any workaround for test?
(In reply to anjaly from comment #7)
> No I don't. I have made some changes to include channels in the email , so I
> thought uploading and testing if it works well was right thing to do. 
> Is there any workaround for test?

At the moment there is no way to add videos without a AWS S3 account. Sorry. And you'd need to fake the Vidly submission too.
Hi 
Here is link to git pull request

https://github.com/mozilla/airmozilla/pull/497
I tried writing test to see if the channel links are there in html body and ran it but it is failing saying there is no such pattern . Here is the link :-https://gist.github.com/anjalymehla/38ced32ab9d99660cb8c

Could you tell me what is wrong here?
It needs to be `reverse('main:home_channels', args=(channel.slug,)` not `reverse('main:home_channels', args=(channel.slug)`

The difference is that ('one',) is a tuple but ('one') is just a single string in brackets. 
When you ask to iterate over a string it splits it up in one character at a time. Try this in a python shell:

>>> for each in 'astring':
>>> ....print each

>>> for each in ('astring'):
>>> ....print each

>>> for each in ('astring',):
>>> ....print each
Hi 
I have updated the branch here :- https://github.com/mozilla/airmozilla/pull/497
Commits pushed to master at https://github.com/mozilla/airmozilla

https://github.com/mozilla/airmozilla/commit/78643bf377ef11ca57a75fae669d7be782ae62d6
Bug 1173519 Mention event channels in new video emails fixing

https://github.com/mozilla/airmozilla/commit/cb14701c797c559a60bae9b766022baa1fa79c7d
Merge pull request #497 from anjalymehla/1173519-Mention-event-channels-in-new-video-emails

Bug 1173519 Mention event channels in new video emails fixing
Thanks anjaly!

Do you have a Mozillians account? The next thing you need to do is to create an account there and click to request to join this group: https://mozillians.org/en-US/group/air-mozilla-contributors/

If you do that, and if you upload a picture I'll make it so that you appear on this page: https://air.mozilla.org/contributors/
Assignee: nobody → anjalymehla51
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Yes I do have but I am not yet vouched so can't make request to join groups :|
(In reply to anjaly from comment #15)
> Yes I do have but I am not yet vouched so can't make request to join groups
> :|

What's your username on mozillias? Richard and I can vouch for you.
Oh that would be great ! This is me here :)
https://mozillians.org/en-US/u/anjalymehla/
Vouched for now! See comment #14 above :)
Product: Webtools → Webtools Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: