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

Added all junk #704

Merged
merged 2 commits into from
Sep 15, 2023
Merged

Added all junk #704

merged 2 commits into from
Sep 15, 2023

Conversation

josaphatim
Copy link
Member

Added all spam. Also added Junk as special folder.

modules/imap/functions.php Outdated Show resolved Hide resolved
modules/imap/handler_modules.php Outdated Show resolved Hide resolved
@kroky
Copy link
Member

kroky commented Jun 23, 2023

@josaphatim the PR looks good to me. Please address Henrique's comments and we can merge.

@kroky
Copy link
Member

kroky commented Jun 23, 2023

Btw, #681 and #697 repeat a lot of the code in this PR... shouldn't we just combine 3 of them into one MR and reuse whatever functions we can? Having the same code copy-pasted in so many places is not desirable. E.g. Hm_Handler_imap_trash and related methods - each one does exactly the same thing, just receives the folder name as parameter. We can combine into one method and one ajax page to list these. Pretty sure the JS code can be combined as well.

@josaphatim
Copy link
Member Author

josaphatim commented Jul 10, 2023

Btw, #681 and #697 repeat a lot of the code in this PR... shouldn't we just combine 3 of them into one MR and reuse whatever functions we can? Having the same code copy-pasted in so many places is not desirable. E.g. Hm_Handler_imap_trash and related methods - each one does exactly the same thing, just receives the folder name as parameter. We can combine into one method and one ajax page to list these. Pretty sure the JS code can be combined as well.

@kroky, I combined #697 and #681 in this pull request.

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.

None yet

3 participants