Delete a single email or thread from hyperkitty archive
How can one do this? Raw database access gets you involved in all the usual foreign key constraints.
I don't know how to make use of this information:
https://gitlab.com/mailman/hyperkitty/commit/6e3e6a5270f37543a757d76c0aee127...
After a very large import of decades of data, I need to delete just one wrong mail that is corrupt. I think it is a valid case. I could run the import again after fixing the import mbox, but it takes many hours to load.
Andrew
On 6/21/19 6:54 AM, andrew.bernard@gmail.com wrote:
How can one do this? Raw database access gets you involved in all the usual foreign key constraints.
In the HyperKitty thread view there is a link to "Delete this thread". In the message view there is a link to "Delete this message".
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
On Fri, Jun 21, 2019, at 2:07 PM, Mark Sapiro wrote:
On 6/21/19 6:54 AM, andrew.bernard@gmail.com wrote:
How can one do this? Raw database access gets you involved in all the usual foreign key constraints.
In the HyperKitty thread view there is a link to "Delete this thread". In the message view there is a link to "Delete this message".
Do note that this option is only visible to "Superuser" in Django, i.e. Admin accounts.
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
Mailman-users mailing list -- mailman-users@mailman3.org To unsubscribe send an email to mailman-users-leave@mailman3.org https://lists.mailman3.org/mailman3/lists/mailman-users.mailman3.org/
-- thanks, Abhilash Raj (maxking)
What is the message view? How to display that? [Pardon my ignorance - I can't see it.] I am logged in as superuser.
Andrew
On 7/15/19 4:08 AM, Andrew Bernard wrote:
What is the message view? How to display that? [Pardon my ignorance - I can't see it.] I am logged in as superuser.
An example of thread view is <https://lists.mailman3.org/archives/list/mailman-users@mailman3.org/thread/LMMFATCJCKD2QS25ZZV2GNHUQCUS7SA7/>, and a message view is <https://lists.mailman3.org/archives/list/mailman-users@mailman3.org/message/Q3RX3FLLPEU3XZQGCQJXXMKVHOYRCAQM/>
You won't see the Reattach this thread, Delete this thread or Delete this message links on those pages because you must be a superuser to see them, but they are in the right sidebar just above TAGS.
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
Logged in a superuser, Mailman3, I am unable to see delete message above tags, only delete thread. I am unable to view a reply as a single message. What I am fundamentally missing?
Andrew
On 16/07/2019 3:02 am, Mark Sapiro wrote:
An example of thread view is <https://lists.mailman3.org/archives/list/mailman-users@mailman3.org/thread/LMMFATCJCKD2QS25ZZV2GNHUQCUS7SA7/>, and a message view is <https://lists.mailman3.org/archives/list/mailman-users@mailman3.org/message/Q3RX3FLLPEU3XZQGCQJXXMKVHOYRCAQM/>
You won't see the Reattach this thread, Delete this thread or Delete this message links on those pages because you must be a superuser to see them, but they are in the right sidebar just above TAGS.
On 7/15/19 3:52 PM, Andrew Bernard wrote:
Logged in a superuser, Mailman3, I am unable to see delete message above tags, only delete thread. I am unable to view a reply as a single message. What I am fundamentally missing?
You are looking at a thread view. To see a message view, follow the "Permalink for this message" link at the bottom of the message (the chain-link icon to the right of the up/down votes and the "A' icons).
Or you can go to the URL in the Archived-At: header in the email message received from the list.
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
On 16/07/2019 9:22 am, Mark Sapiro wrote:
You are looking at a thread view. To see a message view, follow the "Permalink for this message" link at the bottom of the message (the chain-link icon to the right of the up/down votes and the "A' icons).
Or you can go to the URL in the Archived-At: header in the email message received from the list.
Ah! Thanks Mark. Solved.
Andrew
participants (4)
-
Abhilash Raj
-
Andrew Bernard
-
andrew.bernard@gmail.com
-
Mark Sapiro