mirror of
https://github.com/cypht-org/cypht.git
synced 2026-04-25 13:05:53 +03:00
[PR #1252] [MERGED] Improve messages caching to ensure a message isn't fetched more than once when viewing its content #1379
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#1379
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?
📋 Pull Request Information
Original PR: https://github.com/cypht-org/cypht/pull/1252
Author: @mercihabam
Created: 9/24/2024
Status: ✅ Merged
Merged: 9/30/2024
Merged by: @kroky
Base:
master← Head:enh-perf📝 Commits (6)
ce1bf6fWIP: Improve messages caching to ensure a message doesn't get fetched more than once when viewing the content30707e2Ensure that prefetching messages does not flag them as seen and instead call the "read" action on a particular message when it is opened6094214WIP: Implement a message store object for an explicit and better messages caching692d5faInstant updating of the messages unread count when a message is updated and fetch siblings of a message from the store for displaying the next and prev links30fbe06Ensure the config "unread_on_open_setting" is not overlooked when opening a message63ebbfaFix unit tests📊 Changes
9 files changed (+326 additions, -109 deletions)
View changed files
📝
modules/core/output_modules.php(+5 -0)📝
modules/core/site.js(+27 -20)📝
modules/imap/handler_modules.php(+1 -0)📝
modules/imap/hm-imap.php(+3 -3)➕
modules/imap/js_modules/Hm_Message.js(+172 -0)📝
modules/imap/output_modules.php(+1 -0)📝
modules/imap/setup.php(+1 -0)📝
modules/imap/site.js(+115 -85)📝
tests/phpunit/modules/core/output_modules_debug.php(+1 -1)📄 Description
https://github.com/cypht-org/cypht/issues/1144
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.