-
Notifications
You must be signed in to change notification settings - Fork 76
Conversation
Looks promising! |
(copied from #1500) Account settings - Aliases #122
|
I'd like to talk about the DB schema design. What was the motivation to model it that way? I'm pretty sure we should re-think that and create a true 1:n relation of account:alias. Hence, the alias table would look like |
Correct, email is a duplicate. @tahaalibra You agree? |
@tahaalibra what would we need the
please use this PR so we have the whole alias feature in one single PR. |
@ChristophWurst yes i mean update in the next commit, my bad ;)....i think you are right user_id does seem redundant. |
when adding new commits, please try to use meaningful commit messages. That makes reviewing easier ;-) |
<notnull>true</notnull> | ||
<length>255</length> | ||
</field> | ||
</declaration> |
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.
👍 schema looks good
new commit, this is still very unstable, fixed most of the previous bugs |
sending mail with aliases is working (tested using mail setting provide by @Gomez ) to send mail using alias
|
@tahaalibra Is something blocking you? We are near to merge, would be cool to get in done soon. (Btw. i use this branch nearly every day :))) |
@@ -509,6 +509,11 @@ define(function(require) { | |||
alias = _.find(this.aliases, function(alias) { | |||
return alias.emailAddress === require('state').currentAccount.get('email'); | |||
}); | |||
} else { | |||
var firstAccount = this.accounts.at(1); |
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.
if you add one account and then another, the accounts are ususally ordered as account1, unified account, account2. Therefore you'd select the unified inbox, although you actually want the first account. Use something like this.accounts.filter(…accountId not -1…).at(0)
.
please fix CI errors, otherwise this can not be merged |
I can not delete aliases: |
tested with a single account configured and it still does not select an email address by default :-( |
It would be good to merge this PR as soon as possible and work on the additional stuff in follow up pull requests. Otherwise it gets too big! |
add aliases feature
add aliases feature
mapper entity service and controller for aliases
comments and fixes
minor bug fix
minor changes
aliases js service, database update and some security fixes
minor fixes for saving and loading aliases
send mail from composer using alias
small fixes
fix most test, delete alias work, better ui
set an alias name with alias id
using alias name when sending email works
big fixes
big fixes
reply composer using aliases
bug fixes and aliases collection
minor bug fixes
minor fix
radio for aliases controller and service
fix for when refrshing settings page
fix email length in the database
[tx-robot] updated from transifex
change to secure connection
remove secure http: false
[tx-robot] updated from transifex
Correct return for getFolderById - fixes #1514
account !== folder
fetch UIDs and DATEs of all messages and do the pagination client side
use search strategy only if SORT is not supported
update changelog for 0.5.2
Update composerlock to https
remove more message button is obsolete with infinite scroll
[tx-robot] updated from transifex
[tx-robot] updated from transifex
[tx-robot] updated from transifex
refactor message 'load' event parameters
messagecontent -> foldercontent
pass account/folder via constructor
also use the new collection when refreshing
inject messages collection
Fix jscs errors
sync karma require config with runtime require config
open first mailbox when clicking the account's email address
fix jscs error
update grunt
0.5.3 version bump
update/unify license headers
use underscore to debounce search filters; do not re-search the same term
remove obsolete folder reset event + event handler
smoother transition when adding another account
remove user id from alias table and js bug fix and optimization
add new keyboard channel and port existing key listener
allow navigation with j, k
allow left/right arrow to switch messages
use 'mail' instead of 'Mail' for bower to prevent warning
merge conflict resolve
squash and rebase commits
fix AccountsControllerTest::testIndex
travis js fix
alias collection update
adding aliases collection and bug fixes
big fixes
show you when mail is sent to an alias or email
select current account as default in composer
fix for selecting default account on composer
fix grunt issues
fixes and improvments
remove old code that prevented selecting default account on composer
ui improvment
Small enhancement for a follow-up PR:
|
👍 from my side. Nice job @tahaalibra! @jancborchardt another quick testing/review? |
When opening an email with multiple people in recipients or cc, only the first person is shown in the »to« field of the reply. In master, all people are shown correctly in to/cc. 👎 til that’s fixed. |
And in the settings, the placeholder for the input field should be called »Mail address« instead of »Alias«. If those 2 things are fixed then we can merge. :) |
@jancborchardt @ChristophWurst can you review the fixes... |
What did you merge there? |
ah, you merged my commit |
@tahaalibra the cc issue still exists. Only the person whom the mail is from will be put in the »to«, but all people from cc just vanish. |
@jancborchardt its working fine on my side, the cc list is showing. Still pushed another commit, try if its working? |
Works now, but one last issue:
|
Can't reproduce ->merge |
Ok, guess it might have been only my issue. |
this will solve #122
this will allow sending email from aliases
Note:
much of it is incompleteTime to review
@ChristophWurst @Gomez