Bug: wwwlisting doesn't get css styling

2021-08-17 Thread Konstantin Ryabitsev
Hello: Just noticed that the wwwlisting page doesn't apply any css stylesheets (currently still on https://x-lore.kernel.org/lists.html ). It should do the same thing as any other page view, e.g. so it can properly respect the client prefers-color-scheme choices. -K

Re: [PATCH] view: remove mbox.gz and Atom from topic view

2021-08-17 Thread Konstantin Ryabitsev
On Mon, Aug 16, 2021 at 11:35:20PM +, Eric Wong wrote: > > - I don't think most people would choose to download mbox.gz or click on the > > "Atom" link from the thread listing page -- there is a thread view for > > this > > purpose. > > Agreed, I don't think I've ever used them from the t

Re: [PATCH] Duplicate base css definitions in stylesheets

2021-08-17 Thread Konstantin Ryabitsev
On Mon, Aug 16, 2021 at 10:21:48PM +, Eric Wong wrote: > > However, site security policies may deliberately prohibit execution of > > inline content such as scripts and stylesheets as an extra layer of > > protection against XSS vulnerabilities. For example, with the following > > HTTP headers

[PATCH 0/3] lei: some mail sync stuff

2021-08-17 Thread Eric Wong
Still trying to wrap my head around some other stuff related to mail_sync.sqlite3, but 3/3 is a necessary fix and 2/3 is an obvious cleanup. The ipc_do('done') stuff could probably be made faster, but probably after the 1.7 release... Eric Wong (3): lei: add ->lms shortcut for LeiMailSync ipc

[PATCH 2/3] ipc: remove WQ_MAX_WORKERS

2021-08-17 Thread Eric Wong
We no longer rely on IO::FDPass, so there's no longer a reason to limit this internally. --- lib/PublicInbox/IPC.pm | 5 - 1 file changed, 5 deletions(-) diff --git a/lib/PublicInbox/IPC.pm b/lib/PublicInbox/IPC.pm index d909dc1c..9efe551b 100644 --- a/lib/PublicInbox/IPC.pm +++ b/lib/PublicI

[PATCH 3/3] lei forget-mail-sync: rely on lei/store process

2021-08-17 Thread Eric Wong
As implied in commit 6ff03ba2be9247f1 ("lei export-kw: do not write directly to mail_sync.sqlite3"), modifying mail_sync.sqlite3 directly can lead to conflicts and making everything go through lei/store is easier. --- lib/PublicInbox/LeiForgetMailSync.pm | 8 lib/PublicInbox/LeiStore.pm

[PATCH 1/3] lei: add ->lms shortcut for LeiMailSync

2021-08-17 Thread Eric Wong
We access this read-only in many places (and will in more), so provide a shortcut to simplify callers. --- lib/PublicInbox/LEI.pm | 9 + lib/PublicInbox/LeiBlob.pm | 3 +-- lib/PublicInbox/LeiForgetMailSync.pm | 3 +-- lib/PublicInbox/LeiInspect.pm| 3 +-