[PR #357] [MERGED] Add archive #791

Closed
opened 2026-02-25 21:36:15 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/cypht-org/cypht/pull/357
Author: @yvesdaxmaz
Created: 10/17/2019
Status: Merged
Merged: 11/13/2019
Merged by: @jasonmunro

Base: masterHead: add_archive


📝 Commits (7)

  • 86b74d3 Add ajax_imap_archive_message handler
  • ff04d17 update archive_message handler to move message to archive folder
  • 469632d move archived message to it respective mailbox
  • 649bead add archive dialog output in imap_folder module
  • 16cdc7c add set archive folder select handler
  • f4c1da3 allow user to set archive folder
  • 5d7514e use specific imap delimiter when generate archive mailbox name

📊 Changes

7 files changed (+178 additions, -4 deletions)

View changed files

📝 modules/imap/handler_modules.php (+77 -1)
📝 modules/imap/output_modules.php (+1 -0)
📝 modules/imap/setup.php (+11 -0)
📝 modules/imap/site.js (+41 -0)
📝 modules/imap_folders/modules.php (+33 -3)
📝 modules/imap_folders/setup.php (+1 -0)
📝 modules/imap_folders/site.js (+14 -0)

📄 Description

Pullrequest

Allow to archive mail by moving it in an archive folder, If the archive folder doesn't exists it's create first time a message is been archived.

Issues

  • Archive message #228

Checklist

  • None

How2Test

  • Open any message and click on the Archive button in message header
  • [X ] Verify if Archive folder have been created and the archived message is in that folder

Todo

  • Create submailbox with the name of the mailbox where the message was before he been archived and place the message and that mailbox and not in the Archive message.
    When I try to create a submailbox I can't get access to the real name of the mailbox where the mail was before he been archived instead of that I am getting some random sequence of character which is completely differente from the name which is in the list of mailbox

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/cypht-org/cypht/pull/357 **Author:** [@yvesdaxmaz](https://github.com/yvesdaxmaz) **Created:** 10/17/2019 **Status:** ✅ Merged **Merged:** 11/13/2019 **Merged by:** [@jasonmunro](https://github.com/jasonmunro) **Base:** `master` ← **Head:** `add_archive` --- ### 📝 Commits (7) - [`86b74d3`](https://github.com/cypht-org/cypht/commit/86b74d36a876dd7f21879a2c09e97a08d0003ded) Add ajax_imap_archive_message handler - [`ff04d17`](https://github.com/cypht-org/cypht/commit/ff04d17ed159cca81dfb0e6598473e14fe387c1e) update archive_message handler to move message to archive folder - [`469632d`](https://github.com/cypht-org/cypht/commit/469632df96c548ee047da0046616c4f9cb174557) move archived message to it respective mailbox - [`649bead`](https://github.com/cypht-org/cypht/commit/649beadc36bcb1c80e660b16dff1b5c7fcb5c392) add archive dialog output in imap_folder module - [`16cdc7c`](https://github.com/cypht-org/cypht/commit/16cdc7cb5d2ef99dcbde97d36f0055b697f3a4eb) add set archive folder select handler - [`f4c1da3`](https://github.com/cypht-org/cypht/commit/f4c1da3b2a8377f6bb8310863e3f2d8221e0011e) allow user to set archive folder - [`5d7514e`](https://github.com/cypht-org/cypht/commit/5d7514ec21378ef1f470c81da066586d1e20b806) use specific imap delimiter when generate archive mailbox name ### 📊 Changes **7 files changed** (+178 additions, -4 deletions) <details> <summary>View changed files</summary> 📝 `modules/imap/handler_modules.php` (+77 -1) 📝 `modules/imap/output_modules.php` (+1 -0) 📝 `modules/imap/setup.php` (+11 -0) 📝 `modules/imap/site.js` (+41 -0) 📝 `modules/imap_folders/modules.php` (+33 -3) 📝 `modules/imap_folders/setup.php` (+1 -0) 📝 `modules/imap_folders/site.js` (+14 -0) </details> ### 📄 Description ## Pullrequest <!-- Describe the Pullrequest. --> Allow to archive mail by moving it in an archive folder, If the archive folder doesn't exists it's create first time a message is been archived. ### Issues <!-- Which Issues does this fix, which are related? - fixes #XXX - relates #XXX --> - [X] Archive message #228 ### Checklist <!-- Anything important to be thought of when deploying? - [ ] Config Update - [ ] Breaking/critical change --> - [X] None ### How2Test <!-- Give a detailed description how to test your PR and confirm it is working as expected. --> <!-- Maintainers will check the Tests - [ ] Test1 - [ ] Test2 --> - [X] Open any message and click on the Archive button in message header - [X ] Verify if Archive folder have been created and the archived message is in that folder ### Todo <!-- In case some parts are still missing, list them here. - [ ] Changelog --> - [X] Create submailbox with the name of the mailbox where the message was before he been archived and place the message and that mailbox and not in the Archive message. When I try to create a submailbox I can't get access to the real name of the mailbox where the mail was before he been archived instead of that I am getting some random sequence of character which is completely differente from the name which is in the list of mailbox --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-25 21:36:15 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/cypht#791
No description provided.