-
Notifications
You must be signed in to change notification settings - Fork 72
Added show raw mail function #739
base: master
Are you sure you want to change the base?
Conversation
Hi @eikeniebuhr and @krunoknego, Thanks a lot for working on this.
Thanks again, |
@mnandri Thanks for the reply. We'll resolve the issues as soon as possible. :) |
@krunoknego |
Conflicts: web-ui/app/locales/de_DE/translation.json web-ui/app/locales/es_ES/translation.json
Hello @eikeniebuhr and @krunoknego, Thanks a lot for working on this. Recently we moved to Transifex for managing our translations. It's easier for maintenance and receiving non-developers contributions. We decided not to work with translations using git commits. So could you please submit your sv_SE translation to https://www.transifex.com/pixelated/pixelated-user-agent/dashboard/. The only thing you need to git commit is the en_US new tag Please feel free to contact me if you need any help. |
Hey @eikeniebuhr and @krunoknego, How are you doing? I just installed your fork in my machine and I loved your contribution! (I'm bit late :P) |
Hello @thaissiqueira, Sorry for taking it so long to respond. We will resolve all the issues that are still remaining and hopefully we'll have something that is merge ready either today or tomorrow. |
Cool! Glad for hear it. Thanks for the collaboration. |
It would seem that the CI build is failing because of the code style. I've used autopep8 to automatically fix it (https://pypi.python.org/pypi/autopep8). Can you guide me with what library/command I should fix the code style? |
Actually, @krunoknego , this is because we changed how we run tests in our snap-ci and your PR wasn't updated. I'm fixing that and you should have a better feedback in a few minutes. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @krunoknego and @eikeniebuhr , again, thanks so much for the PR and we really hope to merge it soon.
I fixed snap-ci, so it should be okay now (sorry about that), but I still have a few small comments. These should be quick fixes (mostly just about plain text).
Lastly, I just wanted to ask if you could add a functional test for this. How does that sound?
@@ -1,4 +1,4 @@ | |||
Pixelated User Agent Service | |||
ixelated User Agent Service |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The "P" here has been removed, I believe, accidentally.
if not os.path.isdir(path): | ||
os.makedirs(path, 0700) | ||
os.makedirs(path, 0o700) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Any reason this changed?
@@ -4,7 +4,7 @@ | |||
from twisted.web.resource import Resource | |||
from twisted.web.server import NOT_DONE_YET | |||
|
|||
from pixelated.resources import respond_json_deferred, BaseResource, handle_error_deferred | |||
from pixelated.resources import respond_json_deferred, respond_json, BaseResource, handle_error_deferred |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I believe the import that was added here wasn't actually needed or used. Or is it just not in the diff?
@@ -145,7 +152,8 @@ def getChild(self, action, request): | |||
if action == 'unread': | |||
return MailsUnreadResource(_mail_service) | |||
|
|||
def _build_mails_response(self, (mails, total)): | |||
def _build_mails_response(self, xxx_todo_changeme): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this variable name supposed to have been changed? hehe
@@ -28,6 +28,7 @@ | |||
"mark-as-read": "Marcar como lida", | |||
"mark-as-unread": "Marcar como não lida", | |||
"delete": "Deletar", | |||
"get-raw-mail": "Get raw mail", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This can be "Mostrar original"
@@ -28,6 +28,7 @@ | |||
"mark-as-read": "Mark as read", | |||
"mark-as-unread": "Mark as unread", | |||
"delete": "Delete", | |||
"get-raw-mail": "Get raw mail", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This can be "View raw email"
No description provided.