mirror of
https://github.com/cypht-org/cypht.git
synced 2026-04-25 04:56:03 +03:00
[GH-ISSUE #397] New User Experience (NUX) module should also set special folders #329
Labels
No labels
2fa
I18N
PGP
Security
Security
account
advanced_search
advanced_search
announcement
api_login
authentication
awaiting feedback
blocker
bug
bug
bug
calendar
config
contacts
core
core
devops
docker
docs
duplicate
dynamic_login
enhancement
epic
feature
feeds
framework
github
github
gmail_contacts
good first issue
help wanted
history
history
imap
imap_folders
inline_message
installation
keyboard_shortcuts
keyboard_shortcuts
ldap_contacts
mobile
need-ssh-access
new module set
nux
pop3
profiles
pull-request
question
refactor
release
research
saved_searches
smtp
strategic
tags
tests
themes
website
wordpress
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/cypht#329
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @marclaporte on GitHub (May 5, 2020).
Original GitHub issue: https://github.com/cypht-org/cypht/issues/397
Originally assigned to: @jasonmunro on GitHub.
We have special folder support (Sent, Trash): https://github.com/jasonmunro/cypht/issues/128
And we have the "New User Experience" (NUX) module:
https://github.com/jasonmunro/cypht/tree/master/modules/nux
https://github.com/jasonmunro/cypht/blob/master/modules/nux/services.php
Most (all?) providers have a predictable name for special folders. Let's use that. And create the folder if it doesn't exists yet (which the ISP's webmail will do if we use it first)
This is somewhat related to https://github.com/jasonmunro/cypht/issues/380 in the sense that Cypht should warn about actions that will fail. A missing special folder leads to weirdness.
Thanks!
@dumblob commented on GitHub (May 5, 2020):
In that case we should have a really good fallback if the guess was wrong. Suggestions?
@jasonmunro commented on GitHub (May 5, 2020):
Guessing is going to be a bit hard I think. Localization throws an immediate obstacle into the mix. One option is to start with the more limited but fool proof method: Ask the IMAP server. Some IMAP servers support exposing "special" folders (sent/trash/drafts) via the protocol (pretty sure Gmail does) so that might be good place to start. Cypht has methods for this already in the IMAP lib.
EDIT: We could also make this interactive. Once you add a service, you could be prompted to accept the special folders assignments depending on what we can determine from the IMAP server either through scanning the existing folders or via the special folder IMAP response.
@marclaporte commented on GitHub (Jun 25, 2020):
And for Spam folder as well: https://github.com/jasonmunro/cypht/issues/412
@marclaporte commented on GitHub (Oct 16, 2020):
Related: https://github.com/roundcube/roundcubemail/issues/3565